-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1556 from nxhack/dev_22.03
[22.03] node: v14.x EoL, add v20.x
- Loading branch information
Showing
14 changed files
with
196 additions
and
289 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
node/patches/v14.x/012-changing-default-npm-settings.patch
This file was deleted.
Oops, something went wrong.
21 changes: 0 additions & 21 deletions
21
node/patches/v14.x/013-npm-unsafe-override-for-global-install.patch
This file was deleted.
Oops, something went wrong.
8 changes: 4 additions & 4 deletions
8
node/patches/v14.x/003-path.patch → node/patches/v20.x/003-path.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
--- a/lib/internal/modules/cjs/loader.js | ||
+++ b/lib/internal/modules/cjs/loader.js | ||
@@ -1231,7 +1231,8 @@ Module._initPaths = function() { | ||
@@ -1404,7 +1404,8 @@ Module._initPaths = function() { | ||
path.resolve(process.execPath, '..') : | ||
path.resolve(process.execPath, '..', '..'); | ||
|
||
- let paths = [path.resolve(prefixDir, 'lib', 'node')]; | ||
+ let paths = [path.resolve(prefixDir, 'lib', 'node'), | ||
+ path.resolve(prefixDir, 'lib', 'node_modules')]; | ||
- const paths = [path.resolve(prefixDir, 'lib', 'node')]; | ||
+ const paths = [path.resolve(prefixDir, 'lib', 'node'), | ||
+ path.resolve(prefixDir, 'lib', 'node_modules')]; | ||
|
||
if (homeDir) { | ||
ArrayPrototypeUnshift(paths, path.resolve(homeDir, '.node_libraries')); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...s/v14.x/007-fix_host_build_on_macos.patch → ...s/v20.x/007-fix_host_build_on_macos.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
node/patches/v20.x/012-changing-default-npm-settings.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- a/deps/npm/lib/utils/config/definitions.js | ||
+++ b/deps/npm/lib/utils/config/definitions.js | ||
@@ -1266,7 +1266,7 @@ define('lockfile-version', { | ||
}) | ||
|
||
define('loglevel', { | ||
- default: 'notice', | ||
+ default: 'info', | ||
type: [ | ||
'silent', | ||
'error', | ||
@@ -2045,7 +2045,7 @@ define('strict-peer-deps', { | ||
}) | ||
|
||
define('strict-ssl', { | ||
- default: true, | ||
+ default: false, | ||
type: Boolean, | ||
description: ` | ||
Whether or not to do SSL key validation when making requests to the |
Oops, something went wrong.