@yao-pkg/pkg 5.11.1 → 5.11.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yao-pkg/pkg",
3
- "version": "5.11.1",
3
+ "version": "5.11.3",
4
4
  "description": "Package your Node.js project into an executable",
5
5
  "main": "lib-es5/index.js",
6
6
  "license": "MIT",
@@ -25,7 +25,7 @@
25
25
  "@babel/generator": "7.23.0",
26
26
  "@babel/parser": "7.23.0",
27
27
  "@babel/types": "7.23.0",
28
- "@yao-pkg/pkg-fetch": "3.5.7",
28
+ "@yao-pkg/pkg-fetch": "3.5.8",
29
29
  "chalk": "^4.1.2",
30
30
  "fs-extra": "^9.1.0",
31
31
  "globby": "^11.1.0",
@@ -1879,7 +1879,7 @@ function payloadFileSync(pointer) {
1879
1879
  im = require('internal/module');
1880
1880
  makeRequireFunction = im.makeRequireFunction;
1881
1881
  } else {
1882
- if (NODE_VERSION_MAJOR <= 18) {
1882
+ if (NODE_VERSION_MAJOR < 18) {
1883
1883
  im = require('internal/modules/cjs/helpers');
1884
1884
  } else {
1885
1885
  im = require('internal/modules/helpers');