Update npm packages (73 packages including @jqhtml 2.3.36)
Update npm registry domain from privatenpm.hanson.xyz to npm.internal.hanson.xyz 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
16
node_modules/webpack/lib/RuntimePlugin.js
generated
vendored
16
node_modules/webpack/lib/RuntimePlugin.js
generated
vendored
@@ -111,6 +111,8 @@ const TREE_DEPENDENCIES = {
|
||||
[RuntimeGlobals.shareScopeMap]: [RuntimeGlobals.hasOwnProperty]
|
||||
};
|
||||
|
||||
const FULLHASH_REGEXP = /\[(?:full)?hash(?::\d+)?\]/;
|
||||
|
||||
const PLUGIN_NAME = "RuntimePlugin";
|
||||
|
||||
class RuntimePlugin {
|
||||
@@ -266,7 +268,7 @@ class RuntimePlugin {
|
||||
|
||||
if (
|
||||
typeof publicPath !== "string" ||
|
||||
/\[(full)?hash\]/.test(publicPath)
|
||||
/\[(?:full)?hash\]/.test(publicPath)
|
||||
) {
|
||||
module.fullHash = true;
|
||||
}
|
||||
@@ -314,9 +316,7 @@ class RuntimePlugin {
|
||||
.tap(PLUGIN_NAME, (chunk, set, { chunkGraph }) => {
|
||||
if (
|
||||
typeof compilation.outputOptions.chunkFilename === "string" &&
|
||||
/\[(full)?hash(:\d+)?\]/.test(
|
||||
compilation.outputOptions.chunkFilename
|
||||
)
|
||||
FULLHASH_REGEXP.test(compilation.outputOptions.chunkFilename)
|
||||
) {
|
||||
set.add(RuntimeGlobals.getFullHash);
|
||||
}
|
||||
@@ -342,9 +342,7 @@ class RuntimePlugin {
|
||||
.tap(PLUGIN_NAME, (chunk, set, { chunkGraph }) => {
|
||||
if (
|
||||
typeof compilation.outputOptions.cssChunkFilename === "string" &&
|
||||
/\[(full)?hash(:\d+)?\]/.test(
|
||||
compilation.outputOptions.cssChunkFilename
|
||||
)
|
||||
FULLHASH_REGEXP.test(compilation.outputOptions.cssChunkFilename)
|
||||
) {
|
||||
set.add(RuntimeGlobals.getFullHash);
|
||||
}
|
||||
@@ -374,7 +372,7 @@ class RuntimePlugin {
|
||||
.for(RuntimeGlobals.getChunkUpdateScriptFilename)
|
||||
.tap(PLUGIN_NAME, (chunk, set) => {
|
||||
if (
|
||||
/\[(full)?hash(:\d+)?\]/.test(
|
||||
FULLHASH_REGEXP.test(
|
||||
compilation.outputOptions.hotUpdateChunkFilename
|
||||
)
|
||||
) {
|
||||
@@ -396,7 +394,7 @@ class RuntimePlugin {
|
||||
.for(RuntimeGlobals.getUpdateManifestFilename)
|
||||
.tap(PLUGIN_NAME, (chunk, set) => {
|
||||
if (
|
||||
/\[(full)?hash(:\d+)?\]/.test(
|
||||
FULLHASH_REGEXP.test(
|
||||
compilation.outputOptions.hotUpdateMainFilename
|
||||
)
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user