mirror of
https://git.um-react.app/um/web.git
synced 2025-11-17 06:04:22 +00:00
build: support node v22
This commit is contained in:
13
patches/copy-webpack-plugin+5.1.2.patch
Normal file
13
patches/copy-webpack-plugin+5.1.2.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff --git a/node_modules/copy-webpack-plugin/dist/postProcessPattern.js b/node_modules/copy-webpack-plugin/dist/postProcessPattern.js
|
||||
index 8354f00..9bdf6ed 100644
|
||||
--- a/node_modules/copy-webpack-plugin/dist/postProcessPattern.js
|
||||
+++ b/node_modules/copy-webpack-plugin/dist/postProcessPattern.js
|
||||
@@ -69,7 +69,7 @@ function postProcessPattern(globalRef, pattern, file) {
|
||||
name: _package.name,
|
||||
version: _package.version,
|
||||
pattern,
|
||||
- hash: _crypto.default.createHash('md4').update(content).digest('hex')
|
||||
+ hash: _crypto.default.createHash('sha256').update(content).digest('hex')
|
||||
});
|
||||
return _cacache.default.get(globalRef.cacheDir, cacheKey).then(result => {
|
||||
logger.debug(`getting cached transformation for '${file.absoluteFrom}'`);
|
||||
Reference in New Issue
Block a user