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/ObjectMatcherRulePlugin.js
generated
vendored
6
node_modules/webpack/lib/rules/ObjectMatcherRulePlugin.js
generated
vendored
@@ -18,18 +18,22 @@
|
||||
*/
|
||||
|
||||
/** @typedef {KeysOfTypes<RuleSetRule, { [k: string]: RuleSetConditionOrConditions }>} ObjectMatcherRuleKeys */
|
||||
/** @typedef {keyof EffectData} DataProperty */
|
||||
|
||||
const PLUGIN_NAME = "ObjectMatcherRulePlugin";
|
||||
|
||||
class ObjectMatcherRulePlugin {
|
||||
/**
|
||||
* @param {ObjectMatcherRuleKeys} ruleProperty the rule property
|
||||
* @param {keyof EffectData=} dataProperty the data property
|
||||
* @param {DataProperty=} dataProperty the data property
|
||||
* @param {RuleConditionFunction=} additionalConditionFunction need to check
|
||||
*/
|
||||
constructor(ruleProperty, dataProperty, additionalConditionFunction) {
|
||||
/** @type {ObjectMatcherRuleKeys} */
|
||||
this.ruleProperty = ruleProperty;
|
||||
/** @type {DataProperty | ObjectMatcherRuleKeys} */
|
||||
this.dataProperty = dataProperty || ruleProperty;
|
||||
/** @type {RuleConditionFunction | undefined} */
|
||||
this.additionalConditionFunction = additionalConditionFunction;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user