Skip to content

Commit

Permalink
Bump @mdn/browser-compat-data from 5.6.38 to 5.6.40 (#2673)
Browse files Browse the repository at this point in the history
* Bump @mdn/browser-compat-data from 5.6.38 to 5.6.40

Bumps [@mdn/browser-compat-data](https://github.com/mdn/browser-compat-data) from 5.6.38 to 5.6.40.
- [Release notes](https://github.com/mdn/browser-compat-data/releases)
- [Changelog](https://github.com/mdn/browser-compat-data/blob/main/RELEASE_NOTES.md)
- [Commits](mdn/browser-compat-data@v5.6.38...v5.6.40)

---
updated-dependencies:
- dependency-name: "@mdn/browser-compat-data"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* `trusted-types`: Remove `Document.write()` and `Document.writeln()`

Both are discouraged by WHATWG.

* Refresh dist

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Daniel D. Beck <daniel@ddbeck.com>
  • Loading branch information
dependabot[bot] and ddbeck authored Feb 21, 2025
1 parent 0565dd2 commit 736b91f
Show file tree
Hide file tree
Showing 7 changed files with 63 additions and 25 deletions.
2 changes: 2 additions & 0 deletions features/draft/spec/webauthn-3.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ status:
baseline: false
support:
chrome: "132"
chrome_android: "132"
edge: "132"
compat_features:
- api.PublicKeyCredential.signalAllAcceptedCredentials_static
- api.PublicKeyCredential.signalCurrentUserDetails_static
Expand Down
16 changes: 6 additions & 10 deletions features/fetch-priority.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: false
baseline: low
baseline_low_date: 2024-10-29
support:
chrome: "103"
chrome_android: "103"
edge: "103"
firefox: "132"
firefox_android: "132"
safari: "17.2"
safari_ios: "17.2"
compat_features:
Expand All @@ -21,6 +24,7 @@ compat_features:
# safari: "17.2"
# safari_ios: "17.2"
- api.Request.Request.init_priority_parameter
- api.fetch.init_priority_parameter
- html.elements.img.fetchpriority
- html.elements.link.fetchpriority
- html.elements.script.fetchpriority
Expand All @@ -39,6 +43,7 @@ compat_features:
- api.HTMLLinkElement.fetchPriority
- api.HTMLScriptElement.fetchPriority

# ⬇️ Same status as overall feature ⬇️
# baseline: low
# baseline_low_date: 2024-10-29
# support:
Expand All @@ -50,12 +55,3 @@ compat_features:
# safari: "17.2"
# safari_ios: "17.2"
- http.headers.Link.fetchpriority

# baseline: false
# support:
# chrome: "101"
# chrome_android: "101"
# edge: "101"
# safari: "17.2"
# safari_ios: "17.2"
- api.fetch.init_priority_parameter
11 changes: 1 addition & 10 deletions features/magnetometer.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,11 @@ status:
baseline: false
support: {}
compat_features:
# baseline: false
# support:
# chrome: "88"
# chrome_android: "88"
# edge: "88"
- http.headers.Permissions-Policy.magnetometer

# ⬇️ Same status as overall feature ⬇️
# baseline: false
# support: {}
- api.Magnetometer
- api.Magnetometer.Magnetometer
- api.Magnetometer.x
- api.Magnetometer.y
- api.Magnetometer.z
- api.Permissions.permission_magnetometer
- html.elements.iframe.allow.magnetometer
- http.headers.Permissions-Policy.magnetometer
36 changes: 36 additions & 0 deletions features/trusted-types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,39 @@ caniuse: trusted-types
group: security
status:
compute_from: api.trustedTypes
compat_features:
- api.Element.innerHTML.accepts_TrustedHTML
- api.HTMLElement.innerText.scripts_accept_TrustedScript
- api.HTMLScriptElement.src.accepts_TrustedScriptURL
- api.HTMLScriptElement.text.accepts_TrustedScript
- api.Node.textContent.scripts_accept_TrustedScript
- api.ShadowRoot.innerHTML.accepts_TrustedHTML
- api.TrustedHTML
- api.TrustedHTML.toJSON
- api.TrustedHTML.toString
- api.TrustedScript
- api.TrustedScript.toJSON
- api.TrustedScript.toString
- api.TrustedScriptURL
- api.TrustedScriptURL.toJSON
- api.TrustedScriptURL.toString
- api.TrustedTypePolicy
- api.TrustedTypePolicy.createHTML
- api.TrustedTypePolicy.createScript
- api.TrustedTypePolicy.createScriptURL
- api.TrustedTypePolicy.name
- api.TrustedTypePolicyFactory
- api.TrustedTypePolicyFactory.createPolicy
- api.TrustedTypePolicyFactory.defaultPolicy
- api.TrustedTypePolicyFactory.emptyHTML
- api.TrustedTypePolicyFactory.emptyScript
- api.TrustedTypePolicyFactory.getAttributeType
- api.TrustedTypePolicyFactory.getPropertyType
- api.TrustedTypePolicyFactory.isHTML
- api.TrustedTypePolicyFactory.isScript
- api.TrustedTypePolicyFactory.isScriptURL
- api.setInterval.code_param_accepts_trustedScript
- api.setTimeout.code_param_accepts_trustedScript
- api.trustedTypes
- http.headers.Content-Security-Policy.require-trusted-types-for
- http.headers.Content-Security-Policy.trusted-types
13 changes: 13 additions & 0 deletions features/trusted-types.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ compat_features:
# chrome: "83"
# chrome_android: "83"
# edge: "83"
- api.Element.innerHTML.accepts_TrustedHTML
- api.HTMLScriptElement.src.accepts_TrustedScriptURL
- api.HTMLScriptElement.text.accepts_TrustedScript
- api.ShadowRoot.innerHTML.accepts_TrustedHTML
- api.TrustedHTML
- api.TrustedHTML.toString
- api.TrustedScript
Expand All @@ -35,6 +39,8 @@ compat_features:
- api.TrustedTypePolicyFactory.isHTML
- api.TrustedTypePolicyFactory.isScript
- api.TrustedTypePolicyFactory.isScriptURL
- api.setInterval.code_param_accepts_trustedScript
- api.setTimeout.code_param_accepts_trustedScript
- api.trustedTypes
- http.headers.Content-Security-Policy.require-trusted-types-for
- http.headers.Content-Security-Policy.trusted-types
Expand All @@ -47,3 +53,10 @@ compat_features:
- api.TrustedHTML.toJSON
- api.TrustedScript.toJSON
- api.TrustedScriptURL.toJSON

# baseline: false
# support:
# chrome: "83"
# chrome_android: "83"
- api.HTMLElement.innerText.scripts_accept_TrustedScript
- api.Node.textContent.scripts_accept_TrustedScript
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"devDependencies": {
"@eslint/js": "^9.20.0",
"@js-temporal/polyfill": "^0.4.4",
"@mdn/browser-compat-data": "^5.6.38",
"@mdn/browser-compat-data": "^5.6.40",
"@types/caniuse-lite": "^1.0.4",
"@types/diff": "^7.0.1",
"@types/node": "^18.19.76",
Expand Down

0 comments on commit 736b91f

Please sign in to comment.