Skip to content

Commit d09d37f

Browse files
Merge pull request #158 from krishnprakash/dependabot/npm_and_yarn/types/react-19.0.12
[Docs Site] Bump @types/react from 19.0.7 to 19.0.12
2 parents 5718d14 + 0f917e7 commit d09d37f

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"@types/hast": "3.0.4",
4949
"@types/he": "1.2.3",
5050
"@types/node": "22.13.13",
51-
"@types/react": "19.0.7",
51+
"@types/react": "19.0.12",
5252
"@types/react-dom": "19.0.4",
5353
"@typescript-eslint/parser": "8.28.0",
5454
"algoliasearch": "5.23.0",

public/cloudflare-one/static/authenticated-doh.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ def request_doh_token(account_tag, user_id, client_id, client_secret):
6969
'-H', f"Cf-Access-Client-Id: {client_id}",
7070
'-H', f"Cf-Access-Client-Secret: {client_secret}"]
7171
if verbose:
72-
print(f"Issuing request {' '.join(command)}")
72+
sanitized_command = [part if "Cf-Access-Client-Secret" not in part else "Cf-Access-Client-Secret: [REDACTED]" for part in command]
73+
print(f"Issuing request {' '.join(sanitized_command)}")
7374
response = json.loads(subprocess.check_output(command))
7475
if verbose:
7576
print("Got response:")
@@ -145,8 +146,7 @@ def request(method, url, body):
145146
if client_id == "new":
146147
service_token_name = input('Please input name for service token > ')
147148
client_id, client_secret = request_create_service_token(service_token_name)
148-
print(
149-
f"Created service token with client_id {client_id} and client_secret {client_secret}. You may want to save these secrets.")
149+
print("Created service token. You may want to save the client_id and client_secret securely.")
150150

151151

152152
if len(client_secret) == 0:

0 commit comments

Comments
 (0)