npm-needs-publish 0.1.2 → 0.1.3

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.
@@ -1 +1 @@
1
- {"version":3,"sources":["/Users/kevin/Dev/OpenSource/npm/npm-needs-publish/src/compat.ts"],"sourcesContent":["/**\n * Compatibility Layer for Node.js 0.12+\n * Local to this package - contains only needed functions.\n */\n\n/**\n * String.prototype.startsWith wrapper for Node.js 0.12+\n * - Uses native startsWith on Node 4.0+ / ES2015+\n * - Falls back to indexOf on Node 0.12-3.x\n */\nvar hasStartsWith = typeof String.prototype.startsWith === 'function';\n\nexport function stringStartsWith(str: string, search: string, position?: number): boolean {\n if (hasStartsWith) {\n return str.startsWith(search, position);\n }\n position = position || 0;\n return str.indexOf(search, position) === position;\n}\n"],"names":["stringStartsWith","hasStartsWith","String","prototype","startsWith","str","search","position","indexOf"],"mappings":";;;;+BAYgBA;;;eAAAA;;;AAZhB;;;CAGC,GAED;;;;CAIC,GACD,IAAIC,gBAAgB,OAAOC,OAAOC,SAAS,CAACC,UAAU,KAAK;AAEpD,SAASJ,iBAAiBK,GAAW,EAAEC,MAAc,EAAEC,QAAiB;IAC7E,IAAIN,eAAe;QACjB,OAAOI,IAAID,UAAU,CAACE,QAAQC;IAChC;IACAA,WAAWA,YAAY;IACvB,OAAOF,IAAIG,OAAO,CAACF,QAAQC,cAAcA;AAC3C"}
1
+ {"version":3,"sources":["/Users/kevin/Dev/OpenSource/npm/npm-needs-publish/src/compat.ts"],"sourcesContent":["/**\n * Compatibility Layer for Node.js 0.12+\n * Local to this package - contains only needed functions.\n */\n\n/**\n * String.prototype.startsWith wrapper for Node.js 0.12+\n * - Uses native startsWith on Node 4.0+ / ES2015+\n * - Falls back to indexOf on Node 0.12-3.x\n */\nconst hasStartsWith = typeof String.prototype.startsWith === 'function';\n\nexport function stringStartsWith(str: string, search: string, position?: number): boolean {\n if (hasStartsWith) {\n return str.startsWith(search, position);\n }\n position = position || 0;\n return str.indexOf(search, position) === position;\n}\n"],"names":["stringStartsWith","hasStartsWith","String","prototype","startsWith","str","search","position","indexOf"],"mappings":";;;;+BAYgBA;;;eAAAA;;;AAZhB;;;CAGC,GAED;;;;CAIC,GACD,IAAMC,gBAAgB,OAAOC,OAAOC,SAAS,CAACC,UAAU,KAAK;AAEtD,SAASJ,iBAAiBK,GAAW,EAAEC,MAAc,EAAEC,QAAiB;IAC7E,IAAIN,eAAe;QACjB,OAAOI,IAAID,UAAU,CAACE,QAAQC;IAChC;IACAA,WAAWA,YAAY;IACvB,OAAOF,IAAIG,OAAO,CAACF,QAAQC,cAAcA;AAC3C"}
@@ -5,7 +5,7 @@
5
5
  * String.prototype.startsWith wrapper for Node.js 0.12+
6
6
  * - Uses native startsWith on Node 4.0+ / ES2015+
7
7
  * - Falls back to indexOf on Node 0.12-3.x
8
- */ var hasStartsWith = typeof String.prototype.startsWith === 'function';
8
+ */ const hasStartsWith = typeof String.prototype.startsWith === 'function';
9
9
  export function stringStartsWith(str, search, position) {
10
10
  if (hasStartsWith) {
11
11
  return str.startsWith(search, position);
@@ -1 +1 @@
1
- {"version":3,"sources":["/Users/kevin/Dev/OpenSource/npm/npm-needs-publish/src/compat.ts"],"sourcesContent":["/**\n * Compatibility Layer for Node.js 0.12+\n * Local to this package - contains only needed functions.\n */\n\n/**\n * String.prototype.startsWith wrapper for Node.js 0.12+\n * - Uses native startsWith on Node 4.0+ / ES2015+\n * - Falls back to indexOf on Node 0.12-3.x\n */\nvar hasStartsWith = typeof String.prototype.startsWith === 'function';\n\nexport function stringStartsWith(str: string, search: string, position?: number): boolean {\n if (hasStartsWith) {\n return str.startsWith(search, position);\n }\n position = position || 0;\n return str.indexOf(search, position) === position;\n}\n"],"names":["hasStartsWith","String","prototype","startsWith","stringStartsWith","str","search","position","indexOf"],"mappings":"AAAA;;;CAGC,GAED;;;;CAIC,GACD,IAAIA,gBAAgB,OAAOC,OAAOC,SAAS,CAACC,UAAU,KAAK;AAE3D,OAAO,SAASC,iBAAiBC,GAAW,EAAEC,MAAc,EAAEC,QAAiB;IAC7E,IAAIP,eAAe;QACjB,OAAOK,IAAIF,UAAU,CAACG,QAAQC;IAChC;IACAA,WAAWA,YAAY;IACvB,OAAOF,IAAIG,OAAO,CAACF,QAAQC,cAAcA;AAC3C"}
1
+ {"version":3,"sources":["/Users/kevin/Dev/OpenSource/npm/npm-needs-publish/src/compat.ts"],"sourcesContent":["/**\n * Compatibility Layer for Node.js 0.12+\n * Local to this package - contains only needed functions.\n */\n\n/**\n * String.prototype.startsWith wrapper for Node.js 0.12+\n * - Uses native startsWith on Node 4.0+ / ES2015+\n * - Falls back to indexOf on Node 0.12-3.x\n */\nconst hasStartsWith = typeof String.prototype.startsWith === 'function';\n\nexport function stringStartsWith(str: string, search: string, position?: number): boolean {\n if (hasStartsWith) {\n return str.startsWith(search, position);\n }\n position = position || 0;\n return str.indexOf(search, position) === position;\n}\n"],"names":["hasStartsWith","String","prototype","startsWith","stringStartsWith","str","search","position","indexOf"],"mappings":"AAAA;;;CAGC,GAED;;;;CAIC,GACD,MAAMA,gBAAgB,OAAOC,OAAOC,SAAS,CAACC,UAAU,KAAK;AAE7D,OAAO,SAASC,iBAAiBC,GAAW,EAAEC,MAAc,EAAEC,QAAiB;IAC7E,IAAIP,eAAe;QACjB,OAAOK,IAAIF,UAAU,CAACG,QAAQC;IAChC;IACAA,WAAWA,YAAY;IACvB,OAAOF,IAAIG,OAAO,CAACF,QAAQC,cAAcA;AAC3C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "npm-needs-publish",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Smart publish detection for npm packages - semantic package.json comparison with semver-aware dependency analysis",
5
5
  "keywords": [
6
6
  "npm",
@@ -67,17 +67,17 @@
67
67
  },
68
68
  "devDependencies": {
69
69
  "@types/mocha": "^10.0.10",
70
- "@types/node": "^24.10.1",
70
+ "@types/node": "^25.0.1",
71
71
  "@types/pacote": "^11.1.8",
72
72
  "@types/semver": "^7.7.1",
73
73
  "@types/tar": "^6.1.13",
74
74
  "module-link-unlink": "^1.0.9",
75
- "node-version-use": "^1.9.7",
75
+ "node-version-use": "^2.1.5",
76
76
  "os-shim": "^0.1.3",
77
77
  "queue-cb": "^1.6.1",
78
78
  "resolve": "^1.22.11",
79
79
  "short-hash": "^1.0.0",
80
- "ts-dev-stack": "^1.21.2",
80
+ "ts-dev-stack": "^1.21.3",
81
81
  "tsds-config": "^0.2.0",
82
82
  "tsds-lib-test": "^1.19.4"
83
83
  },