@gkiely/safe-install 0.1.9 → 0.1.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +14 -3
  2. package/package.json +5 -1
package/README.md CHANGED
@@ -25,6 +25,17 @@ behind a reviewed allowlist in `package.json`.
25
25
  ignore-scripts=true
26
26
  ```
27
27
 
28
+ Optionally enable:
29
+
30
+ ```txt
31
+ allow-git=root # npm 11.10.0+
32
+ allow-remote=root # npm 11.14.0+
33
+ ```
34
+
35
+ `allow-git=root` and `allow-remote=root` let your project use direct Git or
36
+ remote tarball dependencies when you intentionally declare them, while blocking
37
+ transitive packages from pulling in those sources.
38
+
28
39
  2. Add script to `package.json`:
29
40
 
30
41
  ```json
@@ -42,9 +53,9 @@ npm run safe-install -- review-deps
42
53
  ```
43
54
 
44
55
  5. Review the output, then add trusted packages to `package.json`. You can also
45
- enable `blockExoticSubDeps` to fail installs when transitive dependencies point
46
- outside the npm registry with `git:`, `file:`, `link:`, or remote tarball URL
47
- specifiers.
56
+ enable `blockExoticSubDeps` as a lockfile-level backstop for transitive
57
+ dependencies that point outside the npm registry with `git:`, `file:`, `link:`,
58
+ or remote tarball URL specifiers.
48
59
 
49
60
  ```json
50
61
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gkiely/safe-install",
3
- "version": "0.1.9",
3
+ "version": "0.1.12",
4
4
  "description": "Run npm installs with lifecycle scripts disabled, then rebuild explicitly trusted dependencies.",
5
5
  "author": "Grant Kiely <grant@youneedawiki.com>",
6
6
  "license": "MIT",
@@ -53,5 +53,9 @@
53
53
  "devDependencies": {
54
54
  "@types/node": "^25.7.0",
55
55
  "typescript": "latest"
56
+ },
57
+ "volta": {
58
+ "node": "24.14.1",
59
+ "npm": "11.14.1"
56
60
  }
57
61
  }