create-node-lib 2.19.1 → 2.19.2

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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [2.19.2](https://github.com/lirantal/create-node-lib/compare/v2.19.1...v2.19.2) (2026-05-15)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * descriptions for npmrc file ([dce8594](https://github.com/lirantal/create-node-lib/commit/dce8594d4d5a14b1f14e2ac39745de6d64aaf97c))
7
+
1
8
  ## [2.19.1](https://github.com/lirantal/create-node-lib/compare/v2.19.0...v2.19.1) (2026-05-15)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-node-lib",
3
- "version": "2.19.1",
3
+ "version": "2.19.2",
4
4
  "description": "Scaffolding out a Node.js library module",
5
5
  "bin": "./bin/cli.js",
6
6
  "engines": {
package/template/npmrc CHANGED
@@ -1,11 +1,20 @@
1
1
  # npm security best practices
2
2
  # Source: https://github.com/lirantal/npm-security-best-practices
3
3
 
4
- # Do not run any lifecycle hook scripts such as postinstall for packages
4
+ # SECURITY: do not run any lifecycle scripts (preinstall, install,
5
+ # postinstall, etc.) for dependencies. Postinstall scripts are the
6
+ # classic malware delivery vector — a transitive dep can execute
7
+ # arbitrary code on your machine during `npm install` without you
8
+ # ever running its code at runtime.
5
9
  ignore-scripts=true
6
10
 
7
- # Do not allow Git / GitHub related sources for packages
11
+ # SECURITY: reject git-source dependencies (git+ssh://, github:owner/repo,
12
+ # etc.). Git deps can ship their own .npmrc that overrides the path to
13
+ # the npm binary, achieving arbitrary code execution at install time —
14
+ # bypassing ignore-scripts entirely. This will be the default in npm 12.
8
15
  allow-git=none
9
16
 
10
- # Require at least 30 days since package release
17
+ # SECURITY: refuse to install package versions younger than 30 days.
18
+ # Gives the community time to spot and yank hijacked releases before
19
+ # they reach your install. Value is in days.
11
20
  min-release-age=30