Skip to content

Deny scripts for two npm packages.#3035

Open
drgrice1 wants to merge 1 commit into
openwebwork:WeBWorK-2.21from
drgrice1:deny-scripts
Open

Deny scripts for two npm packages.#3035
drgrice1 wants to merge 1 commit into
openwebwork:WeBWorK-2.21from
drgrice1:deny-scripts

Conversation

@drgrice1

@drgrice1 drgrice1 commented Jul 1, 2026

Copy link
Copy Markdown
Member

Any time that a package has certain scripts defined (such as install or postinstall), npm now warns about them and tells you to "Run npm approve-scripts --allow-scripts-pending to review, or npm approve-scripts <pkg> to allow." Note that doing so just adds the section to the package.json file that you see in this pull request.

The package @parcel/watcher has an install script that rebuilds its distribution code if an environment variable is set. This script is harmless, but does not need to be run.

The package iframe-resizer has a postinstall script that gives a message about the newer versions of the iframe resizer begin split into parts. This script also does not need to be run.

Any time that a package has certain scripts defined (such as `install`
or `postinstall`), npm now warns about them and tells you to "Run `npm
approve-scripts --allow-scripts-pending` to review, or `npm
approve-scripts <pkg>` to allow."  Note that doing so just adds the
section to the `package.json` file that you see in this pull request.

The package `@parcel/watcher` has an `install` script that rebuilds its
distribution code if an environment variable is set. This script is
harmless, but does not need to be run.

The package `iframe-resizer` has a `postinstall` script that gives a
message about the newer versions of the iframe resizer begin split into
parts. This script also does not need to be run.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant