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 +7 -7
- package/bin/pxnpx.cjs +1 -1
- package/package.json +1 -1
- /package/dist/{pnpm.cjs → pxnpm.cjs} +0 -0
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.
|
|
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/
|
|
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
|
-
console.error(`ERROR: This version of
|
|
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['
|
|
38
|
-
require('../dist/
|
|
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/
|
|
41
|
+
// require('../lib/pxnpm')
|
package/bin/pxnpx.cjs
CHANGED
package/package.json
CHANGED
|
File without changes
|