Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix npm-force-resolutions on npm7 by also patching the packages field…
… on the new package-lock version
- Loading branch information
1 parent
a3a98a9
commit 68cc61f
Showing
5 changed files
with
160 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
{ | ||
"name": "npm-force-resolutions", | ||
"version": "0.0.1", | ||
"lockfileVersion": 2, | ||
"requires": true, | ||
"packages": { | ||
"": { | ||
"name": "npm-force-resolutions", | ||
"version": "0.0.1", | ||
"license": "MIT", | ||
"dependencies": { | ||
"boom": "^2.1.0" | ||
} | ||
}, | ||
"node_modules/boom": { | ||
"version": "2.10.1", | ||
"resolved": "https://registry.npmjs.org/boom/-/boom-2.10.1.tgz", | ||
"integrity": "sha1-OciRjO/1eZ+D+UkqhI9iWt0Mdm8=", | ||
"deprecated": "This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).", | ||
"dependencies": { | ||
"hoek": "2.x.x" | ||
}, | ||
"engines": { | ||
"node": ">=0.10.40" | ||
} | ||
}, | ||
"node_modules/hoek": { | ||
"version": "4.2.1", | ||
"resolved": "https://registry.npmjs.org/hoek/-/hoek-4.2.1.tgz", | ||
"integrity": "sha512-QLg82fGkfnJ/4iy1xZ81/9SIJiq1NGFUMGs6ParyjBZr6jW2Ufj/snDqTHixNlHdPNwN2RLVD0Pi3igeK9+JfA==", | ||
"deprecated": "This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).", | ||
"engines": { | ||
"node": ">=0.10.40" | ||
} | ||
} | ||
}, | ||
"dependencies": { | ||
"boom": { | ||
"version": "2.10.1", | ||
"resolved": "https://registry.npmjs.org/boom/-/boom-2.10.1.tgz", | ||
"integrity": "sha1-OciRjO/1eZ+D+UkqhI9iWt0Mdm8=", | ||
"requires": { | ||
"hoek": "4.2.1" | ||
}, | ||
"dependencies": { | ||
"hoek": { | ||
"version": "4.2.1", | ||
"resolved": "https://registry.npmjs.org/hoek/-/hoek-4.2.1.tgz", | ||
"integrity": "sha512-QLg82fGkfnJ/4iy1xZ81/9SIJiq1NGFUMGs6ParyjBZr6jW2Ufj/snDqTHixNlHdPNwN2RLVD0Pi3igeK9+JfA==" | ||
} | ||
} | ||
}, | ||
"hoek": { | ||
"version": "4.2.1", | ||
"resolved": "https://registry.npmjs.org/hoek/-/hoek-4.2.1.tgz", | ||
"integrity": "sha512-QLg82fGkfnJ/4iy1xZ81/9SIJiq1NGFUMGs6ParyjBZr6jW2Ufj/snDqTHixNlHdPNwN2RLVD0Pi3igeK9+JfA==" | ||
} | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,16 @@ | ||
{ | ||
"name": "npm-force-resolutions", | ||
"version": "0.0.1", | ||
"description": "", | ||
"main": "index.js", | ||
"scripts": {}, | ||
"author": "", | ||
"license": "MIT", | ||
"dependencies": { | ||
"boom": "^2.1.0" | ||
}, | ||
"resolutions": { | ||
"hoek": "4.2.1", | ||
"webpack": "5.23.0" | ||
} | ||
} |
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 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