Skip to content

Commit

Permalink
doc: deprecate --experimental-policy
Browse files Browse the repository at this point in the history
PR-URL: nodejs#52602
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
  • Loading branch information
RafaelGSS committed Apr 22, 2024
1 parent 5548928 commit 01c281f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -885,6 +885,8 @@ following permissions are restricted:
added: v11.8.0
-->

> Stability: 0 - Deprecated: Will be removed shortly.
Use the specified file as a security policy.

### `--experimental-require-module`
Expand Down Expand Up @@ -1524,7 +1526,7 @@ developers may leverage to detect deprecated API usage.
added: v12.7.0
-->

> Stability: 1 - Experimental
> Stability: 0 - Deprecated: Will be removed shortly.
Instructs Node.js to error prior to running any code if the policy does not have
the specified integrity. It expects a [Subresource Integrity][] string as a
Expand Down
2 changes: 1 addition & 1 deletion doc/api/permissions.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ If you find a potential security vulnerability, please refer to our

<!-- type=misc -->

> Stability: 1 - Experimental
> Stability: 0 - Deprecated: Will be removed shortly
<!-- name=policy -->

Expand Down

0 comments on commit 01c281f

Please sign in to comment.