pxnpm 6.0.7 → 6.0.9

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/bin/pxnpm.cjs CHANGED
@@ -9,13 +9,13 @@ if (isPublish) {
9
9
  }
10
10
 
11
11
  const [major, minor] = process.version.slice(1).split('.')
12
- const COMPATIBILITY_PAGE = `Visit https://r.pnpm.io/comp to see the list of past pnpm versions with respective Node.js version support.`
12
+ const COMPATIBILITY_PAGE = `Visit https://r.pxnpm.io/comp to see the list of past pxnpm versions with respective Node.js version support.`
13
13
 
14
14
  // We don't use the semver library here because:
15
- // 1. it is already bundled to dist/pnpm.cjs, so we would load it twice
15
+ // 1. it is already bundled to dist/pxnpm.cjs, so we would load it twice
16
16
  // 2. we want this file to support potentially older Node.js versions than what semver supports
17
- if (major < 18 || major == 18 && minor < 12) {
18
- console.error(`ERROR: This version of pnpm requires at least Node.js v18.12
17
+ if (major < 18 || major === 18 && minor < 12) {
18
+ console.error(`ERROR: This version of pxnpm requires at least Node.js v18.12
19
19
  The current version of Node.js is ${process.version}
20
20
  ${COMPATIBILITY_PAGE}`)
21
21
  process.exit(1)
@@ -34,8 +34,8 @@ try {
34
34
  // We don't have/need to care about v8-compile-cache failed
35
35
  }
36
36
 
37
- global['pnpm__startedAt'] = Date.now()
38
- require('../dist/pnpm.cjs')
37
+ global['pxnpm__startedAt'] = Date.now()
38
+ require('../dist/pxnpm.cjs')
39
39
 
40
40
  // if you want to debug at your local env, you can use this
41
- // require('../lib/pnpm')
41
+ // require('../lib/pxnpm')
package/bin/pxnpx.cjs CHANGED
@@ -2,4 +2,4 @@
2
2
 
3
3
  process.argv = [...process.argv.slice(0, 2), 'dlx', ...process.argv.slice(2)]
4
4
 
5
- require('./pnpm.cjs')
5
+ require('./pxnpm.cjs')
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pxnpm",
3
3
  "description": "Fast, disk space efficient package manager",
4
- "version": "6.0.7",
4
+ "version": "6.0.9",
5
5
  "bin": {
6
6
  "pxnpm": "bin/pxnpm.cjs",
7
7
  "pxnpx": "bin/pxnpx.cjs"
File without changes