@storm-software/npm-tools 0.6.25 → 0.6.26
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 +8 -0
- package/dist/chunk-7YDCWNQR.js +1 -0
- package/dist/chunk-KBYTQHD2.js +1 -0
- package/dist/chunk-XMEPDKWH.cjs +1 -0
- package/dist/chunk-YLO7DD6B.cjs +1 -0
- package/dist/helpers/get-registry.cjs +1 -1
- package/dist/helpers/get-registry.js +1 -1
- package/dist/helpers/get-version.cjs +1 -1
- package/dist/helpers/get-version.js +1 -1
- package/dist/helpers/index.cjs +1 -1
- package/dist/helpers/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
- package/dist/chunk-6YRTJZQS.cjs +0 -1
- package/dist/chunk-O7SV5FVB.js +0 -1
- package/dist/chunk-TGETNJZY.js +0 -1
- package/dist/chunk-VIQH5G57.cjs +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Npm Tools
|
|
4
4
|
|
|
5
|
+
## [0.6.25](https://github.com/storm-software/storm-ops/releases/tag/npm-tools%400.6.25) (12/17/2025)
|
|
6
|
+
|
|
7
|
+
### Updated Dependencies
|
|
8
|
+
|
|
9
|
+
- Updated **testing-tools** to **v1.119.68**
|
|
10
|
+
- Updated **config-tools** to **v1.188.69**
|
|
11
|
+
- Updated **config** to **v1.134.69**
|
|
12
|
+
|
|
5
13
|
## [0.6.24](https://github.com/storm-software/storm-ops/releases/tag/npm-tools%400.6.24) (12/16/2025)
|
|
6
14
|
|
|
7
15
|
### Updated Dependencies
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {a,b}from'./chunk-B6PKMEQO.js';import {getConfig}from'@storm-software/config-tools/get-config';import {exec}from'node:child_process';async function T(r="npm"){return new Promise((g,n)=>{exec(`${r} config get registry`,(t,R,e)=>t&&!t.message.toLowerCase().trim().startsWith("npm warn")?n(t):e&&!e.toLowerCase().trim().startsWith("npm warn")?n(e):g(R.trim()));})}async function _(){if(process.env.STORM_REGISTRY_NPM)return process.env.STORM_REGISTRY_NPM;let r=await getConfig();return r?.registry?.npm?r?.registry?.npm:a}async function y(){if(process.env.STORM_REGISTRY_GITHUB)return process.env.STORM_REGISTRY_GITHUB;let r=await getConfig();return r?.registry?.github?r?.registry?.github:b}export{T as a,_ as b,y as c};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {a}from'./chunk-7YDCWNQR.js';import {f,c,d,e}from'./chunk-B6PKMEQO.js';import {exec}from'node:child_process';async function i(t,r=f,s={}){let o=s.executable||"npm",f=s.registry||await a(o);return new Promise((x,g)=>{exec(`${o} view ${t} version --registry=${f} --tag=${r}`,(e,y,n)=>e&&!e.message.toLowerCase().trim().startsWith("npm warn")?g(e):n&&!n.toLowerCase().trim().startsWith("npm warn")?g(n):x(y.trim()));})}async function w(t,r={}){return i(t,c,r)}async function E(t,r={}){return i(t,d,r)}async function L(t,r={}){return i(t,e,r)}export{i as a,w as b,E as c,L as d};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var chunkYLO7DD6B_cjs=require('./chunk-YLO7DD6B.cjs'),chunkQFGWM46Y_cjs=require('./chunk-QFGWM46Y.cjs'),child_process=require('child_process');async function i(t,r=chunkQFGWM46Y_cjs.f,s={}){let o=s.executable||"npm",f=s.registry||await chunkYLO7DD6B_cjs.a(o);return new Promise((x,g)=>{child_process.exec(`${o} view ${t} version --registry=${f} --tag=${r}`,(e,y,n)=>e&&!e.message.toLowerCase().trim().startsWith("npm warn")?g(e):n&&!n.toLowerCase().trim().startsWith("npm warn")?g(n):x(y.trim()));})}async function _(t,r={}){return i(t,chunkQFGWM46Y_cjs.c,r)}async function w(t,r={}){return i(t,chunkQFGWM46Y_cjs.d,r)}async function E(t,r={}){return i(t,chunkQFGWM46Y_cjs.e,r)}exports.a=i;exports.b=_;exports.c=w;exports.d=E;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var chunkQFGWM46Y_cjs=require('./chunk-QFGWM46Y.cjs'),getConfig=require('@storm-software/config-tools/get-config'),child_process=require('child_process');async function c(r="npm"){return new Promise((g,n)=>{child_process.exec(`${r} config get registry`,(t,R,e)=>t&&!t.message.toLowerCase().trim().startsWith("npm warn")?n(t):e&&!e.toLowerCase().trim().startsWith("npm warn")?n(e):g(R.trim()));})}async function T(){if(process.env.STORM_REGISTRY_NPM)return process.env.STORM_REGISTRY_NPM;let r=await getConfig.getConfig();return r?.registry?.npm?r?.registry?.npm:chunkQFGWM46Y_cjs.a}async function _(){if(process.env.STORM_REGISTRY_GITHUB)return process.env.STORM_REGISTRY_GITHUB;let r=await getConfig.getConfig();return r?.registry?.github?r?.registry?.github:chunkQFGWM46Y_cjs.b}exports.a=c;exports.b=T;exports.c=_;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkYLO7DD6B_cjs=require('../chunk-YLO7DD6B.cjs');require('../chunk-QFGWM46Y.cjs');Object.defineProperty(exports,"getGitHubRegistry",{enumerable:true,get:function(){return chunkYLO7DD6B_cjs.c}});Object.defineProperty(exports,"getNpmRegistry",{enumerable:true,get:function(){return chunkYLO7DD6B_cjs.b}});Object.defineProperty(exports,"getRegistry",{enumerable:true,get:function(){return chunkYLO7DD6B_cjs.a}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{c as getGitHubRegistry,b as getNpmRegistry,a as getRegistry}from'../chunk-
|
|
1
|
+
export{c as getGitHubRegistry,b as getNpmRegistry,a as getRegistry}from'../chunk-7YDCWNQR.js';import'../chunk-B6PKMEQO.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkXMEPDKWH_cjs=require('../chunk-XMEPDKWH.cjs');require('../chunk-YLO7DD6B.cjs'),require('../chunk-QFGWM46Y.cjs');Object.defineProperty(exports,"getCanaryVersion",{enumerable:true,get:function(){return chunkXMEPDKWH_cjs.c}});Object.defineProperty(exports,"getExperimentalVersion",{enumerable:true,get:function(){return chunkXMEPDKWH_cjs.d}});Object.defineProperty(exports,"getLatestVersion",{enumerable:true,get:function(){return chunkXMEPDKWH_cjs.b}});Object.defineProperty(exports,"getVersion",{enumerable:true,get:function(){return chunkXMEPDKWH_cjs.a}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{c as getCanaryVersion,d as getExperimentalVersion,b as getLatestVersion,a as getVersion}from'../chunk-
|
|
1
|
+
export{c as getCanaryVersion,d as getExperimentalVersion,b as getLatestVersion,a as getVersion}from'../chunk-KBYTQHD2.js';import'../chunk-7YDCWNQR.js';import'../chunk-B6PKMEQO.js';
|
package/dist/helpers/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';require('../chunk-OBOKFFDE.cjs');var
|
|
1
|
+
'use strict';require('../chunk-OBOKFFDE.cjs');var chunkXMEPDKWH_cjs=require('../chunk-XMEPDKWH.cjs'),chunkYLO7DD6B_cjs=require('../chunk-YLO7DD6B.cjs');require('../chunk-QFGWM46Y.cjs');Object.defineProperty(exports,"getCanaryVersion",{enumerable:true,get:function(){return chunkXMEPDKWH_cjs.c}});Object.defineProperty(exports,"getExperimentalVersion",{enumerable:true,get:function(){return chunkXMEPDKWH_cjs.d}});Object.defineProperty(exports,"getLatestVersion",{enumerable:true,get:function(){return chunkXMEPDKWH_cjs.b}});Object.defineProperty(exports,"getVersion",{enumerable:true,get:function(){return chunkXMEPDKWH_cjs.a}});Object.defineProperty(exports,"getGitHubRegistry",{enumerable:true,get:function(){return chunkYLO7DD6B_cjs.c}});Object.defineProperty(exports,"getNpmRegistry",{enumerable:true,get:function(){return chunkYLO7DD6B_cjs.b}});Object.defineProperty(exports,"getRegistry",{enumerable:true,get:function(){return chunkYLO7DD6B_cjs.a}});
|
package/dist/helpers/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import'../chunk-ZS7ZL333.js';export{c as getCanaryVersion,d as getExperimentalVersion,b as getLatestVersion,a as getVersion}from'../chunk-
|
|
1
|
+
import'../chunk-ZS7ZL333.js';export{c as getCanaryVersion,d as getExperimentalVersion,b as getLatestVersion,a as getVersion}from'../chunk-KBYTQHD2.js';export{c as getGitHubRegistry,b as getNpmRegistry,a as getRegistry}from'../chunk-7YDCWNQR.js';import'../chunk-B6PKMEQO.js';
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';require('./chunk-SFZRYJZ2.cjs'),require('./chunk-OBOKFFDE.cjs');var
|
|
1
|
+
'use strict';require('./chunk-SFZRYJZ2.cjs'),require('./chunk-OBOKFFDE.cjs');var chunkXMEPDKWH_cjs=require('./chunk-XMEPDKWH.cjs'),chunkYLO7DD6B_cjs=require('./chunk-YLO7DD6B.cjs'),chunkQFGWM46Y_cjs=require('./chunk-QFGWM46Y.cjs');Object.defineProperty(exports,"getCanaryVersion",{enumerable:true,get:function(){return chunkXMEPDKWH_cjs.c}});Object.defineProperty(exports,"getExperimentalVersion",{enumerable:true,get:function(){return chunkXMEPDKWH_cjs.d}});Object.defineProperty(exports,"getLatestVersion",{enumerable:true,get:function(){return chunkXMEPDKWH_cjs.b}});Object.defineProperty(exports,"getVersion",{enumerable:true,get:function(){return chunkXMEPDKWH_cjs.a}});Object.defineProperty(exports,"getGitHubRegistry",{enumerable:true,get:function(){return chunkYLO7DD6B_cjs.c}});Object.defineProperty(exports,"getNpmRegistry",{enumerable:true,get:function(){return chunkYLO7DD6B_cjs.b}});Object.defineProperty(exports,"getRegistry",{enumerable:true,get:function(){return chunkYLO7DD6B_cjs.a}});Object.defineProperty(exports,"CANARY_NPM_TAG",{enumerable:true,get:function(){return chunkQFGWM46Y_cjs.d}});Object.defineProperty(exports,"DEFAULT_GITHUB_REGISTRY",{enumerable:true,get:function(){return chunkQFGWM46Y_cjs.b}});Object.defineProperty(exports,"DEFAULT_NPM_REGISTRY",{enumerable:true,get:function(){return chunkQFGWM46Y_cjs.a}});Object.defineProperty(exports,"DEFAULT_NPM_TAG",{enumerable:true,get:function(){return chunkQFGWM46Y_cjs.f}});Object.defineProperty(exports,"EXPERIMENTAL_NPM_TAG",{enumerable:true,get:function(){return chunkQFGWM46Y_cjs.e}});Object.defineProperty(exports,"LATEST_NPM_TAG",{enumerable:true,get:function(){return chunkQFGWM46Y_cjs.c}});
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import'./chunk-GGNOJ77I.js';import'./chunk-ZS7ZL333.js';export{c as getCanaryVersion,d as getExperimentalVersion,b as getLatestVersion,a as getVersion}from'./chunk-
|
|
1
|
+
import'./chunk-GGNOJ77I.js';import'./chunk-ZS7ZL333.js';export{c as getCanaryVersion,d as getExperimentalVersion,b as getLatestVersion,a as getVersion}from'./chunk-KBYTQHD2.js';export{c as getGitHubRegistry,b as getNpmRegistry,a as getRegistry}from'./chunk-7YDCWNQR.js';export{d as CANARY_NPM_TAG,b as DEFAULT_GITHUB_REGISTRY,a as DEFAULT_NPM_REGISTRY,f as DEFAULT_NPM_TAG,e as EXPERIMENTAL_NPM_TAG,c as LATEST_NPM_TAG}from'./chunk-B6PKMEQO.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/npm-tools",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.26",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A set of tools and utilities for managing packages stored in the [npm](https://www.npmjs.com/) registry.",
|
|
6
6
|
"repository": {
|
|
@@ -87,5 +87,5 @@
|
|
|
87
87
|
},
|
|
88
88
|
"devDependencies": { "@types/node": "^24.10.4", "tsup": "8.4.0" },
|
|
89
89
|
"publishConfig": { "access": "public" },
|
|
90
|
-
"gitHead": "
|
|
90
|
+
"gitHead": "4112947f20b457333dec4771f9511eba161299f8"
|
|
91
91
|
}
|
package/dist/chunk-6YRTJZQS.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
'use strict';var chunkVIQH5G57_cjs=require('./chunk-VIQH5G57.cjs'),chunkQFGWM46Y_cjs=require('./chunk-QFGWM46Y.cjs'),child_process=require('child_process');async function e(t,r=chunkQFGWM46Y_cjs.f,n={}){let i=n.executable||"npm",f=n.registry||await chunkVIQH5G57_cjs.a(i);return new Promise((x,s)=>{child_process.exec(`${i} view ${t} version --registry=${f} --tag=${r}`,(o,y,g)=>o?s(o):g?s(g):x(y.trim()));})}async function _(t,r={}){return e(t,chunkQFGWM46Y_cjs.c,r)}async function E(t,r={}){return e(t,chunkQFGWM46Y_cjs.d,r)}async function N(t,r={}){return e(t,chunkQFGWM46Y_cjs.e,r)}exports.a=e;exports.b=_;exports.c=E;exports.d=N;
|
package/dist/chunk-O7SV5FVB.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import {a,b}from'./chunk-B6PKMEQO.js';import {getConfig}from'@storm-software/config-tools/get-config';import {exec}from'node:child_process';async function _(r="npm"){return new Promise((g,t)=>{exec(`${r} config get registry`,(e,R,n)=>e?t(e):n?t(n):g(R.trim()));})}async function y(){if(process.env.STORM_REGISTRY_NPM)return process.env.STORM_REGISTRY_NPM;let r=await getConfig();return r?.registry?.npm?r?.registry?.npm:a}async function G(){if(process.env.STORM_REGISTRY_GITHUB)return process.env.STORM_REGISTRY_GITHUB;let r=await getConfig();return r?.registry?.github?r?.registry?.github:b}export{_ as a,y as b,G as c};
|
package/dist/chunk-TGETNJZY.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import {a}from'./chunk-O7SV5FVB.js';import {f,c,d,e as e$1}from'./chunk-B6PKMEQO.js';import {exec}from'node:child_process';async function e(t,r=f,n={}){let i=n.executable||"npm",f=n.registry||await a(i);return new Promise((x,s)=>{exec(`${i} view ${t} version --registry=${f} --tag=${r}`,(o,y,g)=>o?s(o):g?s(g):x(y.trim()));})}async function E(t,r={}){return e(t,c,r)}async function N(t,r={}){return e(t,d,r)}async function M(t,r={}){return e(t,e$1,r)}export{e as a,E as b,N as c,M as d};
|
package/dist/chunk-VIQH5G57.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
'use strict';var chunkQFGWM46Y_cjs=require('./chunk-QFGWM46Y.cjs'),getConfig=require('@storm-software/config-tools/get-config'),child_process=require('child_process');async function m(r="npm"){return new Promise((g,t)=>{child_process.exec(`${r} config get registry`,(e,R,n)=>e?t(e):n?t(n):g(R.trim()));})}async function _(){if(process.env.STORM_REGISTRY_NPM)return process.env.STORM_REGISTRY_NPM;let r=await getConfig.getConfig();return r?.registry?.npm?r?.registry?.npm:chunkQFGWM46Y_cjs.a}async function y(){if(process.env.STORM_REGISTRY_GITHUB)return process.env.STORM_REGISTRY_GITHUB;let r=await getConfig.getConfig();return r?.registry?.github?r?.registry?.github:chunkQFGWM46Y_cjs.b}exports.a=m;exports.b=_;exports.c=y;
|