Improve npm package installation security#16
Merged
Merged
Conversation
.npmrc: min-release-age=7 (cooldown; @microbit/* and @microbit-foundation/* exempt) allow-git/remote/file/directory=root (block transitive non-registry deps) strict-allow-scripts=true + engine-strict=true package.json: targetted allowScripts policy (esbuild, fsevents — the only deps with install scripts in our tree) engines: node >=24.0.0, npm >=11.18.0 CI workflows: grab latest v11 npm directly after setup-node so engine-strict is satisfied give build-docs its own node 24 setup (it had none and ran npm ci bare) bump GitHub-provided actions (checkout, Pages family to v5)
Deploying makecode-embed with
|
| Latest commit: |
9971ee8
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://4fe383b8.makecode-embed.pages.dev |
| Branch Preview URL: | https://npm-update.makecode-embed.pages.dev |
CloudFlare pages uses Corepack to manage package managers including npm. This hopefully will allow CloudFlare deployments to use a later version of npm than the corresponding node version defined in .node-version.
microbit-matt-hillsdon
approved these changes
Jul 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
.npmrc:
package.json:
.node-version:
CI workflows:
bump GitHub-provided actions (checkout, Pages family to v5)