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:
6
node_modules/webpack/lib/rules/RuleSetCompiler.js
generated
vendored
6
node_modules/webpack/lib/rules/RuleSetCompiler.js
generated
vendored
@@ -9,6 +9,7 @@ const { SyncHook } = require("tapable");
|
||||
|
||||
/** @typedef {import("enhanced-resolve").ResolveRequest} ResolveRequest */
|
||||
/** @typedef {import("../../declarations/WebpackOptions").Falsy} Falsy */
|
||||
/** @typedef {import("../../declarations/WebpackOptions").RuleSetUseItem} RuleSetUseItem */
|
||||
/** @typedef {import("../../declarations/WebpackOptions").RuleSetLoaderOptions} RuleSetLoaderOptions */
|
||||
/** @typedef {import("../../declarations/WebpackOptions").RuleSetRule} RuleSetRule */
|
||||
|
||||
@@ -87,6 +88,9 @@ const { SyncHook } = require("tapable");
|
||||
|
||||
/** @typedef {Set<string>} UnhandledProperties */
|
||||
|
||||
/** @typedef {(data: EffectData) => (RuleSetUseItem | (Falsy | RuleSetUseItem)[])} RuleSetUseFn */
|
||||
/** @typedef {(value: string) => boolean} RuleSetConditionFn */
|
||||
|
||||
/** @typedef {{ apply: (ruleSetCompiler: RuleSetCompiler) => void }} RuleSetPlugin */
|
||||
|
||||
class RuleSetCompiler {
|
||||
@@ -116,6 +120,7 @@ class RuleSetCompiler {
|
||||
* @returns {RuleSet} compiled RuleSet
|
||||
*/
|
||||
compile(ruleSet) {
|
||||
/** @type {References} */
|
||||
const refs = new Map();
|
||||
const rules = this.compileRules("ruleSet", ruleSet, refs);
|
||||
|
||||
@@ -327,6 +332,7 @@ class RuleSetCompiler {
|
||||
);
|
||||
}
|
||||
|
||||
/** @type {Condition[]} */
|
||||
const conditions = [];
|
||||
for (const key of Object.keys(condition)) {
|
||||
const value = condition[key];
|
||||
|
||||
Reference in New Issue
Block a user