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:
12
node_modules/webpack/lib/dependencies/WorkerDependency.js
generated
vendored
12
node_modules/webpack/lib/dependencies/WorkerDependency.js
generated
vendored
@@ -23,20 +23,26 @@ const ModuleDependency = require("./ModuleDependency");
|
||||
/** @typedef {import("../util/Hash")} Hash */
|
||||
/** @typedef {import("../util/runtime").RuntimeSpec} RuntimeSpec */
|
||||
|
||||
/**
|
||||
* @typedef {object} WorkerDependencyOptions
|
||||
* @property {string=} publicPath public path for the worker
|
||||
* @property {boolean=} needNewUrl true when need generate `new URL(...)`, otherwise false
|
||||
*/
|
||||
|
||||
class WorkerDependency extends ModuleDependency {
|
||||
/**
|
||||
* @param {string} request request
|
||||
* @param {Range} range range
|
||||
* @param {object} workerDependencyOptions options
|
||||
* @param {string=} workerDependencyOptions.publicPath public path for the worker
|
||||
* @param {boolean=} workerDependencyOptions.needNewUrl need generate `new URL(...)`
|
||||
* @param {WorkerDependencyOptions} workerDependencyOptions options
|
||||
*/
|
||||
constructor(request, range, workerDependencyOptions) {
|
||||
super(request);
|
||||
this.range = range;
|
||||
// If options are updated, don't forget to update the hash and serialization functions
|
||||
/** @type {WorkerDependencyOptions} */
|
||||
this.options = workerDependencyOptions;
|
||||
/** Cache the hash */
|
||||
/** @type {undefined | string} */
|
||||
this._hashUpdate = undefined;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user