cross-spawn-cb 2.4.11 → 2.4.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/Users/kevin/Dev/OpenSource/compat/cross-spawn-cb/src/polyfills/spawnSync.ts"],"sourcesContent":["import Module from 'module';\nimport path from 'path';\nimport url from 'url';\nimport type { SpawnResult } from '../types.ts';\n\n// CJS/ESM compatibility\nconst _require = typeof require === 'undefined' ? Module.createRequire(import.meta.url) : require;\nconst __dirname = path.dirname(typeof __filename !== 'undefined' ? __filename : url.fileURLToPath(import.meta.url));\n\n// Path is relative to dist/cjs/polyfills/ at runtime\nconst workerPath = path.join(__dirname, '..', '..', 'cjs', 'spawn.js');\n\nlet functionExec
|
|
1
|
+
{"version":3,"sources":["/Users/kevin/Dev/OpenSource/compat/cross-spawn-cb/src/polyfills/spawnSync.ts"],"sourcesContent":["import Module from 'module';\nimport path from 'path';\nimport url from 'url';\nimport type { SpawnResult } from '../types.ts';\n\n// CJS/ESM compatibility\nconst _require = typeof require === 'undefined' ? Module.createRequire(import.meta.url) : require;\nconst __dirname = path.dirname(typeof __filename !== 'undefined' ? __filename : url.fileURLToPath(import.meta.url));\n\n// Path is relative to dist/cjs/polyfills/ at runtime\nconst workerPath = path.join(__dirname, '..', '..', 'cjs', 'spawn.js');\n\nlet functionExec = null; // break dependencies\nexport default function spawnSyncPolyfill(cmd: string, args: string[], options?: object): SpawnResult {\n if (!functionExec) functionExec = _require('function-exec-sync');\n return functionExec?.({ callbacks: true }, workerPath, cmd, args, options || {});\n}\n"],"names":["spawnSyncPolyfill","_require","require","Module","createRequire","__dirname","path","dirname","__filename","url","fileURLToPath","workerPath","join","functionExec","cmd","args","options","callbacks"],"mappings":";;;;+BAaA;;;eAAwBA;;;6DAbL;2DACF;0DACD;;;;;;AAGhB,wBAAwB;AACxB,IAAMC,WAAW,OAAOC,YAAY,cAAcC,eAAM,CAACC,aAAa,CAAC,uDAAmBF;AAC1F,IAAMG,YAAYC,aAAI,CAACC,OAAO,CAAC,OAAOC,eAAe,cAAcA,aAAaC,YAAG,CAACC,aAAa,CAAC;AAElG,qDAAqD;AACrD,IAAMC,aAAaL,aAAI,CAACM,IAAI,CAACP,WAAW,MAAM,MAAM,OAAO;AAE3D,IAAIQ,eAAe,MAAM,qBAAqB;AAC/B,SAASb,kBAAkBc,GAAW,EAAEC,IAAc,EAAEC,OAAgB;IACrF,IAAI,CAACH,cAAcA,eAAeZ,SAAS;IAC3C,OAAOY,yBAAAA,mCAAAA,aAAe;QAAEI,WAAW;IAAK,GAAGN,YAAYG,KAAKC,MAAMC,WAAW,CAAC;AAChF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/Users/kevin/Dev/OpenSource/compat/cross-spawn-cb/src/polyfills/spawnSync.ts"],"sourcesContent":["import Module from 'module';\nimport path from 'path';\nimport url from 'url';\nimport type { SpawnResult } from '../types.ts';\n\n// CJS/ESM compatibility\nconst _require = typeof require === 'undefined' ? Module.createRequire(import.meta.url) : require;\nconst __dirname = path.dirname(typeof __filename !== 'undefined' ? __filename : url.fileURLToPath(import.meta.url));\n\n// Path is relative to dist/cjs/polyfills/ at runtime\nconst workerPath = path.join(__dirname, '..', '..', 'cjs', 'spawn.js');\n\nlet functionExec
|
|
1
|
+
{"version":3,"sources":["/Users/kevin/Dev/OpenSource/compat/cross-spawn-cb/src/polyfills/spawnSync.ts"],"sourcesContent":["import Module from 'module';\nimport path from 'path';\nimport url from 'url';\nimport type { SpawnResult } from '../types.ts';\n\n// CJS/ESM compatibility\nconst _require = typeof require === 'undefined' ? Module.createRequire(import.meta.url) : require;\nconst __dirname = path.dirname(typeof __filename !== 'undefined' ? __filename : url.fileURLToPath(import.meta.url));\n\n// Path is relative to dist/cjs/polyfills/ at runtime\nconst workerPath = path.join(__dirname, '..', '..', 'cjs', 'spawn.js');\n\nlet functionExec = null; // break dependencies\nexport default function spawnSyncPolyfill(cmd: string, args: string[], options?: object): SpawnResult {\n if (!functionExec) functionExec = _require('function-exec-sync');\n return functionExec?.({ callbacks: true }, workerPath, cmd, args, options || {});\n}\n"],"names":["Module","path","url","_require","require","createRequire","__dirname","dirname","__filename","fileURLToPath","workerPath","join","functionExec","spawnSyncPolyfill","cmd","args","options","callbacks"],"mappings":"AAAA,OAAOA,YAAY,SAAS;AAC5B,OAAOC,UAAU,OAAO;AACxB,OAAOC,SAAS,MAAM;AAGtB,wBAAwB;AACxB,MAAMC,WAAW,OAAOC,YAAY,cAAcJ,OAAOK,aAAa,CAAC,YAAYH,GAAG,IAAIE;AAC1F,MAAME,YAAYL,KAAKM,OAAO,CAAC,OAAOC,eAAe,cAAcA,aAAaN,IAAIO,aAAa,CAAC,YAAYP,GAAG;AAEjH,qDAAqD;AACrD,MAAMQ,aAAaT,KAAKU,IAAI,CAACL,WAAW,MAAM,MAAM,OAAO;AAE3D,IAAIM,eAAe,MAAM,qBAAqB;AAC9C,eAAe,SAASC,kBAAkBC,GAAW,EAAEC,IAAc,EAAEC,OAAgB;IACrF,IAAI,CAACJ,cAAcA,eAAeT,SAAS;IAC3C,OAAOS,yBAAAA,mCAAAA,aAAe;QAAEK,WAAW;IAAK,GAAGP,YAAYI,KAAKC,MAAMC,WAAW,CAAC;AAChF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cross-spawn-cb",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.12",
|
|
4
4
|
"description": "Cross spawn with a completion callback",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cross-spawn",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"cross-spawn": "^7.0.6",
|
|
40
|
-
"function-exec-sync": "^1.5.
|
|
40
|
+
"function-exec-sync": "^1.5.2",
|
|
41
41
|
"on-one": "^1.0.8"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
@@ -45,13 +45,13 @@
|
|
|
45
45
|
"@types/node": "^25.0.1",
|
|
46
46
|
"cr": "^0.1.0",
|
|
47
47
|
"is-version": "^1.0.7",
|
|
48
|
-
"node-install-release": "^1.16.
|
|
48
|
+
"node-install-release": "^1.16.2",
|
|
49
49
|
"node-resolve-versions": "^1.3.11",
|
|
50
|
-
"node-version-use": "^2.1.
|
|
50
|
+
"node-version-use": "^2.1.5",
|
|
51
51
|
"node-version-utils": "^1.3.15",
|
|
52
52
|
"pinkie-promise": "^2.0.1",
|
|
53
53
|
"ts-dev-stack": "^1.21.3",
|
|
54
|
-
"tsds-config": "^0.2.
|
|
54
|
+
"tsds-config": "^0.2.1"
|
|
55
55
|
},
|
|
56
56
|
"engines": {
|
|
57
57
|
"node": ">=0.8"
|