Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6bc4bfe

Browse files
RafaelGSSpull[bot]
authored andcommittedSep 25, 2024
lib,src: remove --experimental-policy
Signed-off-by: RafaelGSS <rafael.nunu@hotmail.com> PR-URL: #52583 Refs: #52575 Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io> Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
1 parent 1d62ab1 commit 6bc4bfe

File tree

90 files changed

+116
-5720
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+116
-5720
lines changed
 

‎benchmark/policy/policy-startup.js

-51
This file was deleted.

‎doc/api/cli.md

-25
Original file line numberDiff line numberDiff line change
@@ -881,16 +881,6 @@ following permissions are restricted:
881881
* Child Process - manageable through [`--allow-child-process`][] flag
882882
* Worker Threads - manageable through [`--allow-worker`][] flag
883883

884-
### `--experimental-policy`
885-
886-
<!-- YAML
887-
added: v11.8.0
888-
-->
889-
890-
> Stability: 0 - Deprecated: Will be removed shortly.
891-
892-
Use the specified file as a security policy.
893-
894884
### `--experimental-require-module`
895885

896886
<!-- YAML
@@ -1508,18 +1498,6 @@ unless either the `--pending-deprecation` command-line flag, or the
15081498
are used to provide a kind of selective "early warning" mechanism that
15091499
developers may leverage to detect deprecated API usage.
15101500

1511-
### `--policy-integrity=sri`
1512-
1513-
<!-- YAML
1514-
added: v12.7.0
1515-
-->
1516-
1517-
> Stability: 0 - Deprecated: Will be removed shortly.
1518-
1519-
Instructs Node.js to error prior to running any code if the policy does not have
1520-
the specified integrity. It expects a [Subresource Integrity][] string as a
1521-
parameter.
1522-
15231501
### `--preserve-symlinks`
15241502

15251503
<!-- YAML
@@ -2622,7 +2600,6 @@ one is included in the list below.
26222600
* `--experimental-modules`
26232601
* `--experimental-network-imports`
26242602
* `--experimental-permission`
2625-
* `--experimental-policy`
26262603
* `--experimental-print-required-tla`
26272604
* `--experimental-require-module`
26282605
* `--experimental-shadow-realm`
@@ -2664,7 +2641,6 @@ one is included in the list below.
26642641
* `--openssl-legacy-provider`
26652642
* `--openssl-shared-config`
26662643
* `--pending-deprecation`
2667-
* `--policy-integrity`
26682644
* `--preserve-symlinks-main`
26692645
* `--preserve-symlinks`
26702646
* `--prof-process`
@@ -3136,7 +3112,6 @@ node --stack-trace-limit=12 -p -e "Error.stackTraceLimit" # prints 12
31363112
[ScriptCoverage]: https://chromedevtools.github.io/devtools-protocol/tot/Profiler#type-ScriptCoverage
31373113
[ShadowRealm]: https://github.com/tc39/proposal-shadowrealm
31383114
[Source Map]: https://sourcemaps.info/spec.html
3139-
[Subresource Integrity]: https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity
31403115
[V8 JavaScript code coverage]: https://v8project.blogspot.com/2017/12/javascript-code-coverage.html
31413116
[V8 code cache]: https://v8.dev/blog/code-caching-for-devs
31423117
[`"type"`]: packages.md#type

0 commit comments

Comments
 (0)
Please sign in to comment.