@lionad/safe-npx 0.3.0 → 0.3.1

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/dist/index.js +5 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1889,7 +1889,11 @@ async function main() {
1889
1889
  console.log(version);
1890
1890
  return;
1891
1891
  }
1892
- await runNpx([`${pkgName}@${version}`, ...restArgs]);
1892
+ await runNpx([
1893
+ ...npxPrefixArgs,
1894
+ `${pkgName}@${version}`,
1895
+ ...restArgs
1896
+ ]);
1893
1897
  }
1894
1898
  main().catch((err) => {
1895
1899
  console.error(`[snpx] Fatal: ${err.message}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lionad/safe-npx",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Safe npx wrapper - lock to latest-1 version with 24h cache",
5
5
  "type": "module",
6
6
  "bin": {