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:
4
node_modules/webpack/lib/sharing/resolveMatchedConfigs.js
generated
vendored
4
node_modules/webpack/lib/sharing/resolveMatchedConfigs.js
generated
vendored
@@ -54,7 +54,7 @@ module.exports.resolveMatchedConfigs = (compilation, configs) => {
|
||||
return Promise.all(
|
||||
// eslint-disable-next-line array-callback-return
|
||||
configs.map(([request, config]) => {
|
||||
if (/^\.\.?(\/|$)/.test(request)) {
|
||||
if (/^\.\.?(?:\/|$)/.test(request)) {
|
||||
// relative request
|
||||
return new Promise((resolve) => {
|
||||
resolver.resolve(
|
||||
@@ -77,7 +77,7 @@ module.exports.resolveMatchedConfigs = (compilation, configs) => {
|
||||
}
|
||||
);
|
||||
});
|
||||
} else if (/^(\/|[A-Za-z]:\\|\\\\)/.test(request)) {
|
||||
} else if (/^(?:\/|[a-z]:\\|\\\\)/i.test(request)) {
|
||||
// absolute path
|
||||
resolved.set(request, config);
|
||||
} else if (request.endsWith("/")) {
|
||||
|
||||
Reference in New Issue
Block a user