Skip to content

[DOCS] Missing mention of breaking change lifecycle script block in npm@12.0.0 release notes #9750

Description

@MikeMcC399

Situation

The release notes for npm@12.0.0 and the CHANGELOG 12.0.0 entry contain no mention of the breaking change to block lifecycle scripts by default.


In npm@11.18.0, a default npm configuration results in the following warning when a dependency with a lifecycle script is installed. The lifecycle script is executed:

npm warn allow-scripts 1 package has install scripts not yet covered by allowScripts:


In npm@12.0.0 this changes to a block by default. The lifecycle script is not executed. This is a breaking change:

npm warn install-scripts 1 package had install scripts blocked because they are not covered by allowScripts:


Suggestion

Add the breaking change for npm@12.0.0 to the release notes, corresponding to the warning:

npm warn install-scripts 1 package had install scripts blocked because they are not covered by allowScripts:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions