From 053cb66543cdd3828b9e4606c9abf236cb0f96b8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 31 Aug 2024 07:13:44 +0000 Subject: [PATCH] build(deps-dev): bump webpack from 5.93.0 to 5.94.0 Bumps [webpack](https://github.com/webpack/webpack) from 5.93.0 to 5.94.0. - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](https://github.com/webpack/webpack/compare/v5.93.0...v5.94.0) --- updated-dependencies: - dependency-name: webpack dependency-type: direct:development ... Signed-off-by: dependabot[bot] --- .pnp.cjs | 449 ++++++++++++++++++++++++++------------------------- package.json | 2 +- yarn.lock | 45 ++---- 3 files changed, 244 insertions(+), 252 deletions(-) diff --git a/.pnp.cjs b/.pnp.cjs index a08d24e..f9693f7 100644 --- a/.pnp.cjs +++ b/.pnp.cjs @@ -32,7 +32,7 @@ const RAW_RUNTIME_STATE = ["ts-loader", "virtual:d2cc84c04699a408b58edec66f163206928889d0e27e4818188767212cfb2055d0e6f359a74685d420e4ca08c685b124e3a7ceae633c183efa1407bea528015e#npm:9.5.1"],\ ["typescript", "patch:typescript@npm%3A5.5.4#optional!builtin::version=5.5.4&hash=379a07"],\ ["vsce", "npm:2.15.0"],\ - ["webpack", "virtual:d2cc84c04699a408b58edec66f163206928889d0e27e4818188767212cfb2055d0e6f359a74685d420e4ca08c685b124e3a7ceae633c183efa1407bea528015e#npm:5.93.0"],\ + ["webpack", "virtual:d2cc84c04699a408b58edec66f163206928889d0e27e4818188767212cfb2055d0e6f359a74685d420e4ca08c685b124e3a7ceae633c183efa1407bea528015e#npm:5.94.0"],\ ["webpack-cli", "virtual:d2cc84c04699a408b58edec66f163206928889d0e27e4818188767212cfb2055d0e6f359a74685d420e4ca08c685b124e3a7ceae633c183efa1407bea528015e#npm:5.1.4"]\ ],\ "linkType": "SOFT"\ @@ -165,28 +165,6 @@ const RAW_RUNTIME_STATE = "linkType": "HARD"\ }]\ ]],\ - ["@types/eslint", [\ - ["npm:8.56.5", {\ - "packageLocation": "../../.yarn/berry/cache/@types-eslint-npm-8.56.5-b76bd08fbf-10c0.zip/node_modules/@types/eslint/",\ - "packageDependencies": [\ - ["@types/eslint", "npm:8.56.5"],\ - ["@types/estree", "npm:1.0.5"],\ - ["@types/json-schema", "npm:7.0.15"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ - ["@types/eslint-scope", [\ - ["npm:3.7.7", {\ - "packageLocation": "../../.yarn/berry/cache/@types-eslint-scope-npm-3.7.7-efa26592f6-10c0.zip/node_modules/@types/eslint-scope/",\ - "packageDependencies": [\ - ["@types/eslint-scope", "npm:3.7.7"],\ - ["@types/eslint", "npm:8.56.5"],\ - ["@types/estree", "npm:1.0.5"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ ["@types/estree", [\ ["npm:1.0.5", {\ "packageLocation": "../../.yarn/berry/cache/@types-estree-npm-1.0.5-5b7faed3b4-10c0.zip/node_modules/@types/estree/",\ @@ -417,7 +395,7 @@ const RAW_RUNTIME_STATE = ["@webpack-cli/configtest", "virtual:dd23f8d15781077fcdd1d9b913746d31956c60029b5a97e156ebc05f7bab33ba4126d2bd791eb9f27230545ce1a193eb740e9413b890d1c2cd5af8d104bfda99#npm:2.1.1"],\ ["@types/webpack", null],\ ["@types/webpack-cli", null],\ - ["webpack", "virtual:d2cc84c04699a408b58edec66f163206928889d0e27e4818188767212cfb2055d0e6f359a74685d420e4ca08c685b124e3a7ceae633c183efa1407bea528015e#npm:5.93.0"],\ + ["webpack", "virtual:d2cc84c04699a408b58edec66f163206928889d0e27e4818188767212cfb2055d0e6f359a74685d420e4ca08c685b124e3a7ceae633c183efa1407bea528015e#npm:5.94.0"],\ ["webpack-cli", "virtual:d2cc84c04699a408b58edec66f163206928889d0e27e4818188767212cfb2055d0e6f359a74685d420e4ca08c685b124e3a7ceae633c183efa1407bea528015e#npm:5.1.4"]\ ],\ "packagePeers": [\ @@ -443,7 +421,7 @@ const RAW_RUNTIME_STATE = ["@webpack-cli/info", "virtual:dd23f8d15781077fcdd1d9b913746d31956c60029b5a97e156ebc05f7bab33ba4126d2bd791eb9f27230545ce1a193eb740e9413b890d1c2cd5af8d104bfda99#npm:2.0.2"],\ ["@types/webpack", null],\ ["@types/webpack-cli", null],\ - ["webpack", "virtual:d2cc84c04699a408b58edec66f163206928889d0e27e4818188767212cfb2055d0e6f359a74685d420e4ca08c685b124e3a7ceae633c183efa1407bea528015e#npm:5.93.0"],\ + ["webpack", "virtual:d2cc84c04699a408b58edec66f163206928889d0e27e4818188767212cfb2055d0e6f359a74685d420e4ca08c685b124e3a7ceae633c183efa1407bea528015e#npm:5.94.0"],\ ["webpack-cli", "virtual:d2cc84c04699a408b58edec66f163206928889d0e27e4818188767212cfb2055d0e6f359a74685d420e4ca08c685b124e3a7ceae633c183efa1407bea528015e#npm:5.1.4"]\ ],\ "packagePeers": [\ @@ -470,7 +448,7 @@ const RAW_RUNTIME_STATE = ["@types/webpack", null],\ ["@types/webpack-cli", null],\ ["@types/webpack-dev-server", null],\ - ["webpack", "virtual:d2cc84c04699a408b58edec66f163206928889d0e27e4818188767212cfb2055d0e6f359a74685d420e4ca08c685b124e3a7ceae633c183efa1407bea528015e#npm:5.93.0"],\ + ["webpack", "virtual:d2cc84c04699a408b58edec66f163206928889d0e27e4818188767212cfb2055d0e6f359a74685d420e4ca08c685b124e3a7ceae633c183efa1407bea528015e#npm:5.94.0"],\ ["webpack-cli", "virtual:d2cc84c04699a408b58edec66f163206928889d0e27e4818188767212cfb2055d0e6f359a74685d420e4ca08c685b124e3a7ceae633c183efa1407bea528015e#npm:5.1.4"],\ ["webpack-dev-server", null]\ ],\ @@ -529,10 +507,10 @@ const RAW_RUNTIME_STATE = ],\ "linkType": "SOFT"\ }],\ - ["virtual:9e8d14adc34dd2140a751fcd82a8f85dcd5e577f9fd82c9ae994f634beddea298e40162959e810b26257f88269f7988fd984a97a0ae7f17f628b70d03792c4ed#npm:1.9.5", {\ - "packageLocation": "./.yarn/__virtual__/acorn-import-attributes-virtual-c7190cb3b2/3/.yarn/berry/cache/acorn-import-attributes-npm-1.9.5-d1e666eb35-10c0.zip/node_modules/acorn-import-attributes/",\ + ["virtual:3287884d766faeca7400a504b75f077d10aff1d3b3bb2a0f1d32db9817edb8848650a709803b84b55b05b423278e27fe83c6f45cd89242e5d9f2665672d2c2cb#npm:1.9.5", {\ + "packageLocation": "./.yarn/__virtual__/acorn-import-attributes-virtual-1f99da3951/3/.yarn/berry/cache/acorn-import-attributes-npm-1.9.5-d1e666eb35-10c0.zip/node_modules/acorn-import-attributes/",\ "packageDependencies": [\ - ["acorn-import-attributes", "virtual:9e8d14adc34dd2140a751fcd82a8f85dcd5e577f9fd82c9ae994f634beddea298e40162959e810b26257f88269f7988fd984a97a0ae7f17f628b70d03792c4ed#npm:1.9.5"],\ + ["acorn-import-attributes", "virtual:3287884d766faeca7400a504b75f077d10aff1d3b3bb2a0f1d32db9817edb8848650a709803b84b55b05b423278e27fe83c6f45cd89242e5d9f2665672d2c2cb#npm:1.9.5"],\ ["@types/acorn", null],\ ["acorn", "npm:8.11.3"]\ ],\ @@ -1192,10 +1170,10 @@ const RAW_RUNTIME_STATE = ],\ "linkType": "HARD"\ }],\ - ["npm:5.17.0", {\ - "packageLocation": "../../.yarn/berry/cache/enhanced-resolve-npm-5.17.0-60a1d3bc46-10c0.zip/node_modules/enhanced-resolve/",\ + ["npm:5.17.1", {\ + "packageLocation": "../../.yarn/berry/cache/enhanced-resolve-npm-5.17.1-296305b69f-10c0.zip/node_modules/enhanced-resolve/",\ "packageDependencies": [\ - ["enhanced-resolve", "npm:5.17.0"],\ + ["enhanced-resolve", "npm:5.17.1"],\ ["graceful-fs", "npm:4.2.11"],\ ["tapable", "npm:2.2.1"]\ ],\ @@ -3041,10 +3019,10 @@ const RAW_RUNTIME_STATE = ],\ "linkType": "SOFT"\ }],\ - ["virtual:9e8d14adc34dd2140a751fcd82a8f85dcd5e577f9fd82c9ae994f634beddea298e40162959e810b26257f88269f7988fd984a97a0ae7f17f628b70d03792c4ed#npm:5.3.10", {\ - "packageLocation": "./.yarn/__virtual__/terser-webpack-plugin-virtual-1b22380336/3/.yarn/berry/cache/terser-webpack-plugin-npm-5.3.10-3bde1920fb-10c0.zip/node_modules/terser-webpack-plugin/",\ + ["virtual:3287884d766faeca7400a504b75f077d10aff1d3b3bb2a0f1d32db9817edb8848650a709803b84b55b05b423278e27fe83c6f45cd89242e5d9f2665672d2c2cb#npm:5.3.10", {\ + "packageLocation": "./.yarn/__virtual__/terser-webpack-plugin-virtual-f04d0c32aa/3/.yarn/berry/cache/terser-webpack-plugin-npm-5.3.10-3bde1920fb-10c0.zip/node_modules/terser-webpack-plugin/",\ "packageDependencies": [\ - ["terser-webpack-plugin", "virtual:9e8d14adc34dd2140a751fcd82a8f85dcd5e577f9fd82c9ae994f634beddea298e40162959e810b26257f88269f7988fd984a97a0ae7f17f628b70d03792c4ed#npm:5.3.10"],\ + ["terser-webpack-plugin", "virtual:3287884d766faeca7400a504b75f077d10aff1d3b3bb2a0f1d32db9817edb8848650a709803b84b55b05b423278e27fe83c6f45cd89242e5d9f2665672d2c2cb#npm:5.3.10"],\ ["@jridgewell/trace-mapping", "npm:0.3.25"],\ ["@swc/core", null],\ ["@types/esbuild", null],\ @@ -3057,7 +3035,7 @@ const RAW_RUNTIME_STATE = ["serialize-javascript", "npm:6.0.2"],\ ["terser", "npm:5.29.1"],\ ["uglify-js", null],\ - ["webpack", "virtual:d2cc84c04699a408b58edec66f163206928889d0e27e4818188767212cfb2055d0e6f359a74685d420e4ca08c685b124e3a7ceae633c183efa1407bea528015e#npm:5.93.0"]\ + ["webpack", "virtual:d2cc84c04699a408b58edec66f163206928889d0e27e4818188767212cfb2055d0e6f359a74685d420e4ca08c685b124e3a7ceae633c183efa1407bea528015e#npm:5.94.0"]\ ],\ "packagePeers": [\ "@swc/core",\ @@ -3111,7 +3089,7 @@ const RAW_RUNTIME_STATE = ["semver", "npm:7.6.0"],\ ["source-map", "npm:0.7.4"],\ ["typescript", "patch:typescript@npm%3A5.5.4#optional!builtin::version=5.5.4&hash=379a07"],\ - ["webpack", "virtual:d2cc84c04699a408b58edec66f163206928889d0e27e4818188767212cfb2055d0e6f359a74685d420e4ca08c685b124e3a7ceae633c183efa1407bea528015e#npm:5.93.0"]\ + ["webpack", "virtual:d2cc84c04699a408b58edec66f163206928889d0e27e4818188767212cfb2055d0e6f359a74685d420e4ca08c685b124e3a7ceae633c183efa1407bea528015e#npm:5.94.0"]\ ],\ "packagePeers": [\ "@types/typescript",\ @@ -3307,7 +3285,7 @@ const RAW_RUNTIME_STATE = ["ts-loader", "virtual:d2cc84c04699a408b58edec66f163206928889d0e27e4818188767212cfb2055d0e6f359a74685d420e4ca08c685b124e3a7ceae633c183efa1407bea528015e#npm:9.5.1"],\ ["typescript", "patch:typescript@npm%3A5.5.4#optional!builtin::version=5.5.4&hash=379a07"],\ ["vsce", "npm:2.15.0"],\ - ["webpack", "virtual:d2cc84c04699a408b58edec66f163206928889d0e27e4818188767212cfb2055d0e6f359a74685d420e4ca08c685b124e3a7ceae633c183efa1407bea528015e#npm:5.93.0"],\ + ["webpack", "virtual:d2cc84c04699a408b58edec66f163206928889d0e27e4818188767212cfb2055d0e6f359a74685d420e4ca08c685b124e3a7ceae633c183efa1407bea528015e#npm:5.94.0"],\ ["webpack-cli", "virtual:d2cc84c04699a408b58edec66f163206928889d0e27e4818188767212cfb2055d0e6f359a74685d420e4ca08c685b124e3a7ceae633c183efa1407bea528015e#npm:5.1.4"]\ ],\ "linkType": "SOFT"\ @@ -3325,28 +3303,27 @@ const RAW_RUNTIME_STATE = }]\ ]],\ ["webpack", [\ - ["npm:5.93.0", {\ - "packageLocation": "../../.yarn/berry/cache/webpack-npm-5.93.0-10ee698c0b-10c0.zip/node_modules/webpack/",\ + ["npm:5.94.0", {\ + "packageLocation": "../../.yarn/berry/cache/webpack-npm-5.94.0-d1e43de389-10c0.zip/node_modules/webpack/",\ "packageDependencies": [\ - ["webpack", "npm:5.93.0"]\ + ["webpack", "npm:5.94.0"]\ ],\ "linkType": "SOFT"\ }],\ - ["virtual:d2cc84c04699a408b58edec66f163206928889d0e27e4818188767212cfb2055d0e6f359a74685d420e4ca08c685b124e3a7ceae633c183efa1407bea528015e#npm:5.93.0", {\ - "packageLocation": "./.yarn/__virtual__/webpack-virtual-9e8d14adc3/3/.yarn/berry/cache/webpack-npm-5.93.0-10ee698c0b-10c0.zip/node_modules/webpack/",\ + ["virtual:d2cc84c04699a408b58edec66f163206928889d0e27e4818188767212cfb2055d0e6f359a74685d420e4ca08c685b124e3a7ceae633c183efa1407bea528015e#npm:5.94.0", {\ + "packageLocation": "./.yarn/__virtual__/webpack-virtual-3287884d76/3/.yarn/berry/cache/webpack-npm-5.94.0-d1e43de389-10c0.zip/node_modules/webpack/",\ "packageDependencies": [\ - ["webpack", "virtual:d2cc84c04699a408b58edec66f163206928889d0e27e4818188767212cfb2055d0e6f359a74685d420e4ca08c685b124e3a7ceae633c183efa1407bea528015e#npm:5.93.0"],\ - ["@types/eslint-scope", "npm:3.7.7"],\ + ["webpack", "virtual:d2cc84c04699a408b58edec66f163206928889d0e27e4818188767212cfb2055d0e6f359a74685d420e4ca08c685b124e3a7ceae633c183efa1407bea528015e#npm:5.94.0"],\ ["@types/estree", "npm:1.0.5"],\ ["@types/webpack-cli", null],\ ["@webassemblyjs/ast", "npm:1.12.1"],\ ["@webassemblyjs/wasm-edit", "npm:1.12.1"],\ ["@webassemblyjs/wasm-parser", "npm:1.12.1"],\ ["acorn", "npm:8.11.3"],\ - ["acorn-import-attributes", "virtual:9e8d14adc34dd2140a751fcd82a8f85dcd5e577f9fd82c9ae994f634beddea298e40162959e810b26257f88269f7988fd984a97a0ae7f17f628b70d03792c4ed#npm:1.9.5"],\ + ["acorn-import-attributes", "virtual:3287884d766faeca7400a504b75f077d10aff1d3b3bb2a0f1d32db9817edb8848650a709803b84b55b05b423278e27fe83c6f45cd89242e5d9f2665672d2c2cb#npm:1.9.5"],\ ["browserslist", "npm:4.23.0"],\ ["chrome-trace-event", "npm:1.0.3"],\ - ["enhanced-resolve", "npm:5.17.0"],\ + ["enhanced-resolve", "npm:5.17.1"],\ ["es-module-lexer", "npm:1.4.1"],\ ["eslint-scope", "npm:5.1.1"],\ ["events", "npm:3.3.0"],\ @@ -3358,7 +3335,7 @@ const RAW_RUNTIME_STATE = ["neo-async", "npm:2.6.2"],\ ["schema-utils", "npm:3.3.0"],\ ["tapable", "npm:2.2.1"],\ - ["terser-webpack-plugin", "virtual:9e8d14adc34dd2140a751fcd82a8f85dcd5e577f9fd82c9ae994f634beddea298e40162959e810b26257f88269f7988fd984a97a0ae7f17f628b70d03792c4ed#npm:5.3.10"],\ + ["terser-webpack-plugin", "virtual:3287884d766faeca7400a504b75f077d10aff1d3b3bb2a0f1d32db9817edb8848650a709803b84b55b05b423278e27fe83c6f45cd89242e5d9f2665672d2c2cb#npm:5.3.10"],\ ["watchpack", "npm:2.4.1"],\ ["webpack-cli", "virtual:d2cc84c04699a408b58edec66f163206928889d0e27e4818188767212cfb2055d0e6f359a74685d420e4ca08c685b124e3a7ceae633c183efa1407bea528015e#npm:5.1.4"],\ ["webpack-sources", "npm:3.2.3"]\ @@ -3399,7 +3376,7 @@ const RAW_RUNTIME_STATE = ["import-local", "npm:3.1.0"],\ ["interpret", "npm:3.1.1"],\ ["rechoir", "npm:0.8.0"],\ - ["webpack", "virtual:d2cc84c04699a408b58edec66f163206928889d0e27e4818188767212cfb2055d0e6f359a74685d420e4ca08c685b124e3a7ceae633c183efa1407bea528015e#npm:5.93.0"],\ + ["webpack", "virtual:d2cc84c04699a408b58edec66f163206928889d0e27e4818188767212cfb2055d0e6f359a74685d420e4ca08c685b124e3a7ceae633c183efa1407bea528015e#npm:5.94.0"],\ ["webpack-bundle-analyzer", null],\ ["webpack-dev-server", null],\ ["webpack-merge", "npm:5.10.0"]\ @@ -3645,26 +3622,24 @@ function ERR_DIR_CLOSED() { const DEFAULT_MODE = S_IFREG | 420; class StatEntry { - constructor() { - this.uid = 0; - this.gid = 0; - this.size = 0; - this.blksize = 0; - this.atimeMs = 0; - this.mtimeMs = 0; - this.ctimeMs = 0; - this.birthtimeMs = 0; - this.atime = new Date(0); - this.mtime = new Date(0); - this.ctime = new Date(0); - this.birthtime = new Date(0); - this.dev = 0; - this.ino = 0; - this.mode = DEFAULT_MODE; - this.nlink = 1; - this.rdev = 0; - this.blocks = 1; - } + uid = 0; + gid = 0; + size = 0; + blksize = 0; + atimeMs = 0; + mtimeMs = 0; + ctimeMs = 0; + birthtimeMs = 0; + atime = /* @__PURE__ */ new Date(0); + mtime = /* @__PURE__ */ new Date(0); + ctime = /* @__PURE__ */ new Date(0); + birthtime = /* @__PURE__ */ new Date(0); + dev = 0; + ino = 0; + mode = DEFAULT_MODE; + nlink = 1; + rdev = 0; + blocks = 1; isBlockDevice() { return false; } @@ -3688,30 +3663,28 @@ class StatEntry { } } class BigIntStatsEntry { - constructor() { - this.uid = BigInt(0); - this.gid = BigInt(0); - this.size = BigInt(0); - this.blksize = BigInt(0); - this.atimeMs = BigInt(0); - this.mtimeMs = BigInt(0); - this.ctimeMs = BigInt(0); - this.birthtimeMs = BigInt(0); - this.atimeNs = BigInt(0); - this.mtimeNs = BigInt(0); - this.ctimeNs = BigInt(0); - this.birthtimeNs = BigInt(0); - this.atime = new Date(0); - this.mtime = new Date(0); - this.ctime = new Date(0); - this.birthtime = new Date(0); - this.dev = BigInt(0); - this.ino = BigInt(0); - this.mode = BigInt(DEFAULT_MODE); - this.nlink = BigInt(1); - this.rdev = BigInt(0); - this.blocks = BigInt(1); - } + uid = BigInt(0); + gid = BigInt(0); + size = BigInt(0); + blksize = BigInt(0); + atimeMs = BigInt(0); + mtimeMs = BigInt(0); + ctimeMs = BigInt(0); + birthtimeMs = BigInt(0); + atimeNs = BigInt(0); + mtimeNs = BigInt(0); + ctimeNs = BigInt(0); + birthtimeNs = BigInt(0); + atime = /* @__PURE__ */ new Date(0); + mtime = /* @__PURE__ */ new Date(0); + ctime = /* @__PURE__ */ new Date(0); + birthtime = /* @__PURE__ */ new Date(0); + dev = BigInt(0); + ino = BigInt(0); + mode = BigInt(DEFAULT_MODE); + nlink = BigInt(1); + rdev = BigInt(0); + blocks = BigInt(1); isBlockDevice() { return false; } @@ -3746,7 +3719,7 @@ function clearStats(stats) { } else if (typeof element === `bigint`) { stats[key] = BigInt(0); } else if (nodeUtils__namespace.types.isDate(element)) { - stats[key] = new Date(0); + stats[key] = /* @__PURE__ */ new Date(0); } } } @@ -3837,6 +3810,9 @@ const Filename = { manifest: `package.json`, lockfile: `yarn.lock`, virtual: `__virtual__`, + /** + * @deprecated + */ pnpJs: `.pnp.js`, pnpCjs: `.pnp.cjs`, pnpData: `.pnp.data.json`, @@ -4118,8 +4094,8 @@ class CustomDir { this.path = path; this.nextDirent = nextDirent; this.opts = opts; - this.closed = false; } + closed = false; throwIfClosed() { if (this.closed) { throw ERR_DIR_CLOSED(); @@ -4177,21 +4153,25 @@ function assertStatus(current, expected) { } } class CustomStatWatcher extends events.EventEmitter { + fakeFs; + path; + bigint; + status = "ready" /* Ready */; + changeListeners = /* @__PURE__ */ new Map(); + lastStats; + startTimeout = null; + static create(fakeFs, path, opts) { + const statWatcher = new CustomStatWatcher(fakeFs, path, opts); + statWatcher.start(); + return statWatcher; + } constructor(fakeFs, path, { bigint = false } = {}) { super(); - this.status = "ready" /* Ready */; - this.changeListeners = /* @__PURE__ */ new Map(); - this.startTimeout = null; this.fakeFs = fakeFs; this.path = path; this.bigint = bigint; this.lastStats = this.stat(); } - static create(fakeFs, path, opts) { - const statWatcher = new CustomStatWatcher(fakeFs, path, opts); - statWatcher.start(); - return statWatcher; - } start() { assertStatus(this.status, "ready" /* Ready */); this.status = "running" /* Running */; @@ -4219,6 +4199,11 @@ class CustomStatWatcher extends events.EventEmitter { return clearStats(statInstance); } } + /** + * Creates an interval whose callback compares the current stats with the previous stats and notifies all listeners in case of changes. + * + * @param opts.persistent Decides whether the interval should be immediately unref-ed. + */ makeInterval(opts) { const interval = setInterval(() => { const currentStats = this.stat(); @@ -4230,10 +4215,16 @@ class CustomStatWatcher extends events.EventEmitter { }, opts.interval); return opts.persistent ? interval : interval.unref(); } + /** + * Registers a listener and assigns it an interval. + */ registerChangeListener(listener, opts) { this.addListener("change" /* Change */, listener); this.changeListeners.set(listener, this.makeInterval(opts)); } + /** + * Unregisters the listener and clears the assigned interval. + */ unregisterChangeListener(listener) { this.removeListener("change" /* Change */, listener); const interval = this.changeListeners.get(listener); @@ -4241,6 +4232,9 @@ class CustomStatWatcher extends events.EventEmitter { clearInterval(interval); this.changeListeners.delete(listener); } + /** + * Unregisters all listeners and clears all assigned intervals. + */ unregisterAllChangeListeners() { for (const listener of this.changeListeners.keys()) { this.unregisterChangeListener(listener); @@ -4249,11 +4243,17 @@ class CustomStatWatcher extends events.EventEmitter { hasChangeListeners() { return this.changeListeners.size > 0; } + /** + * Refs all stored intervals. + */ ref() { for (const interval of this.changeListeners.values()) interval.ref(); return this; } + /** + * Unrefs all stored intervals. + */ unref() { for (const interval of this.changeListeners.values()) interval.unref(); @@ -4324,6 +4324,7 @@ function unwatchAllFiles(fakeFs) { } class FakeFS { + pathUtils; constructor(pathUtils) { this.pathUtils = pathUtils; } @@ -4932,6 +4933,7 @@ class ProxiedFS extends FakeFS { watch(p, a, b) { return this.baseFs.watch( this.mapToBase(p), + // @ts-expect-error a, b ); @@ -4939,6 +4941,7 @@ class ProxiedFS extends FakeFS { watchFile(p, a, b) { return this.baseFs.watchFile( this.mapToBase(p), + // @ts-expect-error a, b ); @@ -4962,6 +4965,7 @@ function direntToPortable(dirent) { return portableDirent; } class NodeFS extends BasePortableFakeFS { + realFs; constructor(realFs = fs__default.default) { super(); this.realFs = realFs; @@ -5357,6 +5361,7 @@ class NodeFS extends BasePortableFakeFS { watch(p, a, b) { return this.realFs.watch( npath.fromPortablePath(p), + // @ts-expect-error a, b ); @@ -5364,6 +5369,7 @@ class NodeFS extends BasePortableFakeFS { watchFile(p, a, b) { return this.realFs.watchFile( npath.fromPortablePath(p), + // @ts-expect-error a, b ); @@ -5384,16 +5390,25 @@ class NodeFS extends BasePortableFakeFS { const MOUNT_MASK = 4278190080; class MountFS extends BasePortableFakeFS { + baseFs; + mountInstances; + fdMap = /* @__PURE__ */ new Map(); + nextFd = 3; + factoryPromise; + factorySync; + filter; + getMountPoint; + magic; + maxAge; + maxOpenFiles; + typeCheck; + isMount = /* @__PURE__ */ new Set(); + notMount = /* @__PURE__ */ new Set(); + realPaths = /* @__PURE__ */ new Map(); constructor({ baseFs = new NodeFS(), filter = null, magicByte = 42, maxOpenFiles = Infinity, useCache = true, maxAge = 5e3, typeCheck = fs.constants.S_IFREG, getMountPoint, factoryPromise, factorySync }) { if (Math.floor(magicByte) !== magicByte || !(magicByte > 1 && magicByte <= 127)) throw new Error(`The magic byte must be set to a round value between 1 and 127 included`); super(); - this.fdMap = /* @__PURE__ */ new Map(); - this.nextFd = 3; - this.isMount = /* @__PURE__ */ new Set(); - this.notMount = /* @__PURE__ */ new Set(); - this.realPaths = /* @__PURE__ */ new Map(); - this.limitOpenFilesTimeout = null; this.baseFs = baseFs; this.mountInstances = useCache ? /* @__PURE__ */ new Map() : null; this.factoryPromise = factoryPromise; @@ -6049,12 +6064,14 @@ class MountFS extends BasePortableFakeFS { return this.makeCallSync(p, () => { return this.baseFs.watch( p, + // @ts-expect-error a, b ); }, (mountFs, { subPath }) => { return mountFs.watch( subPath, + // @ts-expect-error a, b ); @@ -6064,6 +6081,7 @@ class MountFS extends BasePortableFakeFS { return this.makeCallSync(p, () => { return this.baseFs.watchFile( p, + // @ts-expect-error a, b ); @@ -6129,6 +6147,7 @@ class MountFS extends BasePortableFakeFS { }; } } + limitOpenFilesTimeout = null; limitOpenFiles(max) { if (this.mountInstances === null) return; @@ -6218,6 +6237,7 @@ class MountFS extends BasePortableFakeFS { } class PosixFS extends ProxiedFS { + baseFs; constructor(baseFs) { super(npath); this.baseFs = baseFs; @@ -6234,10 +6254,7 @@ const NUMBER_REGEXP = /^[0-9]+$/; const VIRTUAL_REGEXP = /^(\/(?:[^/]+\/)*?(?:\$\$virtual|__virtual__))((?:\/((?:[^/]+-)?[a-f0-9]+)(?:\/([^/]+))?)?((?:\/.*)?))$/; const VALID_COMPONENT = /^([^/]+-)?[a-f0-9]+$/; class VirtualFS extends ProxiedFS { - constructor({ baseFs = new NodeFS() } = {}) { - super(ppath); - this.baseFs = baseFs; - } + baseFs; static makeVirtualPath(base, component, to) { if (ppath.basename(base) !== `__virtual__`) throw new Error(`Assertion failed: Virtual folders must be named "__virtual__"`); @@ -6267,6 +6284,10 @@ class VirtualFS extends ProxiedFS { const subpath = match[5] || `.`; return VirtualFS.resolveVirtual(ppath.join(target, backstep, subpath)); } + constructor({ baseFs = new NodeFS() } = {}) { + super(ppath); + this.baseFs = baseFs; + } getExtractHint(hints) { return this.baseFs.getExtractHint(hints); } @@ -6308,6 +6329,7 @@ class VirtualFS extends ProxiedFS { const URL = Number(process.versions.node.split('.', 1)[0]) < 20 ? url.URL : globalThis.URL; class NodePathFS extends ProxiedFS { + baseFs; constructor(baseFs) { super(npath); this.baseFs = baseFs; @@ -6335,7 +6357,6 @@ function isUtf8(buf, str) { return Buffer.byteLength(str) === buf.byteLength; } -var _a, _b, _c, _d; const kBaseFs = Symbol(`kBaseFs`); const kFd = Symbol(`kFd`); const kClosePromise = Symbol(`kClosePromise`); @@ -6345,11 +6366,13 @@ const kRefs = Symbol(`kRefs`); const kRef = Symbol(`kRef`); const kUnref = Symbol(`kUnref`); class FileHandle { + [kBaseFs]; + [kFd]; + [kRefs] = 1; + [kClosePromise] = void 0; + [kCloseResolve] = void 0; + [kCloseReject] = void 0; constructor(fd, baseFs) { - this[_a] = 1; - this[_b] = void 0; - this[_c] = void 0; - this[_d] = void 0; this[kBaseFs] = baseFs; this[kFd] = fd; } @@ -6387,9 +6410,11 @@ class FileHandle { createWriteStream(options) { return this[kBaseFs].createWriteStream(null, { ...options, fd: this.fd }); } + // FIXME: Missing FakeFS version datasync() { throw new Error(`Method not implemented.`); } + // FIXME: Missing FakeFS version sync() { throw new Error(`Method not implemented.`); } @@ -6454,6 +6479,7 @@ class FileHandle { this[kUnref](); } } + // FIXME: Missing FakeFS version utimes(atime, mtime) { throw new Error(`Method not implemented.`); } @@ -6482,6 +6508,7 @@ class FileHandle { this[kUnref](); } } + // TODO: Use writev from FakeFS when that is implemented async writev(buffers, position) { try { this[kRef](this.writev); @@ -6506,14 +6533,13 @@ class FileHandle { this[kUnref](); } } + // FIXME: Missing FakeFS version readv(buffers, position) { throw new Error(`Method not implemented.`); } close() { - if (this[kFd] === -1) - return Promise.resolve(); - if (this[kClosePromise]) - return this[kClosePromise]; + if (this[kFd] === -1) return Promise.resolve(); + if (this[kClosePromise]) return this[kClosePromise]; this[kRefs]--; if (this[kRefs] === 0) { const fd = this[kFd]; @@ -6533,7 +6559,7 @@ class FileHandle { } return this[kClosePromise]; } - [(_a = kRefs, _b = kClosePromise, _c = kCloseResolve, _d = kCloseReject, kRef)](caller) { + [kRef](caller) { if (this[kFd] === -1) { const err = new Error(`file closed`); err.code = `EBADF`; @@ -6793,8 +6819,7 @@ var libzipSync = {exports: {}}; var frozenFs = Object.assign({}, fs__default.default); var createModule = function() { var _scriptDir = void 0; - if (typeof __filename !== "undefined") - _scriptDir = _scriptDir || __filename; + if (typeof __filename !== "undefined") _scriptDir = _scriptDir || __filename; return function(createModule2) { createModule2 = createModule2 || {}; var Module = typeof createModule2 !== "undefined" ? createModule2 : {}; @@ -6829,10 +6854,8 @@ var createModule = function() { if (ret) { return binary ? ret : ret.toString(); } - if (!nodeFS) - nodeFS = frozenFs; - if (!nodePath) - nodePath = path__default.default; + if (!nodeFS) nodeFS = frozenFs; + if (!nodePath) nodePath = path__default.default; filename = nodePath["normalize"](filename); return nodeFS["readFileSync"](filename, binary ? null : "utf8"); }; @@ -6860,23 +6883,18 @@ var createModule = function() { } } moduleOverrides = null; - if (Module["arguments"]) - ; - if (Module["thisProgram"]) - ; - if (Module["quit"]) - ; + if (Module["arguments"]) ; + if (Module["thisProgram"]) ; + if (Module["quit"]) ; var wasmBinary; - if (Module["wasmBinary"]) - wasmBinary = Module["wasmBinary"]; + if (Module["wasmBinary"]) wasmBinary = Module["wasmBinary"]; Module["noExitRuntime"] || true; if (typeof WebAssembly !== "object") { abort("no native wasm support detected"); } function getValue(ptr, type, noSafe) { type = type || "i8"; - if (type.charAt(type.length - 1) === "*") - type = "i32"; + if (type.charAt(type.length - 1) === "*") type = "i32"; switch (type) { case "i1": return HEAP8[ptr >> 0]; @@ -6930,10 +6948,8 @@ var createModule = function() { } }; function convertReturnValue(ret2) { - if (returnType === "string") - return UTF8ToString(ret2); - if (returnType === "boolean") - return Boolean(ret2); + if (returnType === "string") return UTF8ToString(ret2); + if (returnType === "boolean") return Boolean(ret2); return ret2; } var func = getCFunc(ident); @@ -6943,8 +6959,7 @@ var createModule = function() { for (var i = 0; i < args.length; i++) { var converter = toC[argTypes[i]]; if (converter) { - if (stack === 0) - stack = stackSave(); + if (stack === 0) stack = stackSave(); cArgs[i] = converter(args[i]); } else { cArgs[i] = args[i]; @@ -6953,8 +6968,7 @@ var createModule = function() { } var ret = func.apply(null, cArgs); ret = convertReturnValue(ret); - if (stack !== 0) - stackRestore(stack); + if (stack !== 0) stackRestore(stack); return ret; } function cwrap(ident, returnType, argTypes, opts) { @@ -6972,16 +6986,13 @@ var createModule = function() { } var UTF8Decoder = new TextDecoder("utf8"); function UTF8ToString(ptr, maxBytesToRead) { - if (!ptr) - return ""; + if (!ptr) return ""; var maxPtr = ptr + maxBytesToRead; - for (var end = ptr; !(end >= maxPtr) && HEAPU8[end]; ) - ++end; + for (var end = ptr; !(end >= maxPtr) && HEAPU8[end]; ) ++end; return UTF8Decoder.decode(HEAPU8.subarray(ptr, end)); } function stringToUTF8Array(str, heap, outIdx, maxBytesToWrite) { - if (!(maxBytesToWrite > 0)) - return 0; + if (!(maxBytesToWrite > 0)) return 0; var startIdx = outIdx; var endIdx = outIdx + maxBytesToWrite - 1; for (var i = 0; i < str.length; ++i) { @@ -6991,23 +7002,19 @@ var createModule = function() { u = 65536 + ((u & 1023) << 10) | u1 & 1023; } if (u <= 127) { - if (outIdx >= endIdx) - break; + if (outIdx >= endIdx) break; heap[outIdx++] = u; } else if (u <= 2047) { - if (outIdx + 1 >= endIdx) - break; + if (outIdx + 1 >= endIdx) break; heap[outIdx++] = 192 | u >> 6; heap[outIdx++] = 128 | u & 63; } else if (u <= 65535) { - if (outIdx + 2 >= endIdx) - break; + if (outIdx + 2 >= endIdx) break; heap[outIdx++] = 224 | u >> 12; heap[outIdx++] = 128 | u >> 6 & 63; heap[outIdx++] = 128 | u & 63; } else { - if (outIdx + 3 >= endIdx) - break; + if (outIdx + 3 >= endIdx) break; heap[outIdx++] = 240 | u >> 18; heap[outIdx++] = 128 | u >> 12 & 63; heap[outIdx++] = 128 | u >> 6 & 63; @@ -7026,22 +7033,17 @@ var createModule = function() { var u = str.charCodeAt(i); if (u >= 55296 && u <= 57343) u = 65536 + ((u & 1023) << 10) | str.charCodeAt(++i) & 1023; - if (u <= 127) - ++len; - else if (u <= 2047) - len += 2; - else if (u <= 65535) - len += 3; - else - len += 4; + if (u <= 127) ++len; + else if (u <= 2047) len += 2; + else if (u <= 65535) len += 3; + else len += 4; } return len; } function allocateUTF8(str) { var size = lengthBytesUTF8(str) + 1; var ret = _malloc(size); - if (ret) - stringToUTF8Array(str, HEAP8, ret, size); + if (ret) stringToUTF8Array(str, HEAP8, ret, size); return ret; } function writeArrayToMemory(array, buffer2) { @@ -7258,8 +7260,7 @@ var createModule = function() { var start = Date.UTC(date.getUTCFullYear(), 0, 1, 0, 0, 0, 0); var yday = (date.getTime() - start) / (1e3 * 60 * 60 * 24) | 0; LE_HEAP_STORE_I32((tmPtr + 28 >> 2) * 4, yday); - if (!_gmtime_r.GMTString) - _gmtime_r.GMTString = allocateUTF8("GMT"); + if (!_gmtime_r.GMTString) _gmtime_r.GMTString = allocateUTF8("GMT"); LE_HEAP_STORE_I32((tmPtr + 40 >> 2) * 4, _gmtime_r.GMTString); return tmPtr; } @@ -7311,10 +7312,9 @@ var createModule = function() { return ret; } function _tzset() { - if (_tzset.called) - return; + if (_tzset.called) return; _tzset.called = true; - var currentYear = new Date().getFullYear(); + var currentYear = (/* @__PURE__ */ new Date()).getFullYear(); var winter = new Date(currentYear, 0, 1); var summer = new Date(currentYear, 6, 1); var winterOffset = winter.getTimezoneOffset(); @@ -7442,10 +7442,8 @@ var createModule = function() { Module["getValue"] = getValue; var calledRun; dependenciesFulfilled = function runCaller() { - if (!calledRun) - run(); - if (!calledRun) - dependenciesFulfilled = runCaller; + if (!calledRun) run(); + if (!calledRun) dependenciesFulfilled = runCaller; }; function run(args) { if (runDependencies > 0) { @@ -7456,16 +7454,13 @@ var createModule = function() { return; } function doRun() { - if (calledRun) - return; + if (calledRun) return; calledRun = true; Module["calledRun"] = true; - if (ABORT) - return; + if (ABORT) return; initRuntime(); readyPromiseResolve(Module); - if (Module["onRuntimeInitialized"]) - Module["onRuntimeInitialized"](); + if (Module["onRuntimeInitialized"]) Module["onRuntimeInitialized"](); postRun(); } if (Module["setStatus"]) { @@ -7499,7 +7494,9 @@ const createModule = libzipSync.exports; const number64 = [ `number`, + // low `number` + // high ]; var Errors = /* @__PURE__ */ ((Errors2) => { Errors2[Errors2["ZIP_ER_OK"] = 0] = "ZIP_ER_OK"; @@ -7537,6 +7534,7 @@ var Errors = /* @__PURE__ */ ((Errors2) => { return Errors2; })(Errors || {}); const makeInterface = (emZip) => ({ + // Those are getters because they can change after memory growth get HEAPU8() { return emZip.HEAPU8; }, @@ -7739,6 +7737,7 @@ function makeEmptyArchive() { ]); } class LibzipError extends Error { + code; constructor(message, code) { super(message); this.name = `Libzip Error`; @@ -7746,15 +7745,28 @@ class LibzipError extends Error { } } class ZipFS extends BasePortableFakeFS { + libzip; + baseFs; + path; + stats; + zip; + lzSource; + level; + listings = /* @__PURE__ */ new Map(); + entries = /* @__PURE__ */ new Map(); + /** + * A cache of indices mapped to file sources. + * Populated by `setFileSource` calls. + * Required for supporting read after write. + */ + fileSources = /* @__PURE__ */ new Map(); + symlinkCount; + fds = /* @__PURE__ */ new Map(); + nextFd = 0; + ready = false; + readOnly = false; constructor(source, opts = {}) { super(); - this.listings = /* @__PURE__ */ new Map(); - this.entries = /* @__PURE__ */ new Map(); - this.fileSources = /* @__PURE__ */ new Map(); - this.fds = /* @__PURE__ */ new Map(); - this.nextFd = 0; - this.ready = false; - this.readOnly = false; const pathOptions = opts; this.level = typeof pathOptions.level !== `undefined` ? pathOptions.level : DEFAULT_COMPRESSION_LEVEL; source ??= makeEmptyArchive(); @@ -8003,6 +8015,7 @@ class ZipFS extends BasePortableFakeFS { }, bytesRead: 0, path: p, + // "This property is `true` if the underlying file has not been opened yet" pending: false } ); @@ -8049,6 +8062,7 @@ class ZipFS extends BasePortableFakeFS { }, bytesWritten: 0, path: p, + // "This property is `true` if the underlying file has not been opened yet" pending: false } ); @@ -9188,6 +9202,8 @@ function hydrateRuntimeState(data, { basePath }) { packagePeers: new Set(packageInformationData.packagePeers), linkType: packageInformationData.linkType, discardFromLookup, + // we only need this for packages that are used by the currently running script + // this is a lazy getter because `ppath.join` has some overhead get packageLocation() { return resolvedPackageLocation || (resolvedPackageLocation = ppath.join(absolutePortablePath, packageInformationData.packageLocation)); } @@ -9449,8 +9465,7 @@ function resolvePackageTargetString(target, subpath, match, packageJSONUrl, base const packagePath = new URL(".", packageJSONUrl).pathname; if (!StringPrototypeStartsWith(resolvedPath, packagePath)) throwInvalidPackageTarget(match, target, packageJSONUrl, internal, base); - if (subpath === "") - return resolved; + if (subpath === "") return resolved; if (RegExpPrototypeExec(invalidSegmentRegEx, subpath) !== null) { const request = pattern ? StringPrototypeReplace(match, "*", () => subpath) : match + subpath; throwInvalidSubpath(request, packageJSONUrl, internal, base); @@ -9464,8 +9479,7 @@ function resolvePackageTargetString(target, subpath, match, packageJSONUrl, base } function isArrayIndex(key) { const keyNum = +key; - if (`${keyNum}` !== key) - return false; + if (`${keyNum}` !== key) return false; return keyNum >= 0 && keyNum < 4294967295; } function resolvePackageTarget(packageJSONUrl, target, subpath, packageSubpath, base, pattern, internal, conditions) { @@ -9542,8 +9556,7 @@ function resolvePackageTarget(packageJSONUrl, target, subpath, packageSubpath, b internal, conditions ); - if (resolveResult === void 0) - continue; + if (resolveResult === void 0) continue; return resolveResult; } } @@ -9564,25 +9577,17 @@ function patternKeyCompare(a, b) { const bPatternIndex = StringPrototypeIndexOf(b, "*"); const baseLenA = aPatternIndex === -1 ? a.length : aPatternIndex + 1; const baseLenB = bPatternIndex === -1 ? b.length : bPatternIndex + 1; - if (baseLenA > baseLenB) - return -1; - if (baseLenB > baseLenA) - return 1; - if (aPatternIndex === -1) - return 1; - if (bPatternIndex === -1) - return -1; - if (a.length > b.length) - return -1; - if (b.length > a.length) - return 1; + if (baseLenA > baseLenB) return -1; + if (baseLenB > baseLenA) return 1; + if (aPatternIndex === -1) return 1; + if (bPatternIndex === -1) return -1; + if (a.length > b.length) return -1; + if (b.length > a.length) return 1; return 0; } function isConditionalExportsMainSugar(exports, packageJSONUrl, base) { - if (typeof exports === "string" || ArrayIsArray(exports)) - return true; - if (typeof exports !== "object" || exports === null) - return false; + if (typeof exports === "string" || ArrayIsArray(exports)) return true; + if (typeof exports !== "object" || exports === null) return false; const keys = ObjectGetOwnPropertyNames(exports); let isConditionalSugar = false; let i = 0; @@ -9611,8 +9616,7 @@ function throwExportsNotFound(subpath, packageJSONUrl, base) { const emittedPackageWarnings = /* @__PURE__ */ new Set(); function emitTrailingSlashPatternDeprecation(match, pjsonUrl, base) { const pjsonPath = url.fileURLToPath(pjsonUrl); - if (emittedPackageWarnings.has(pjsonPath + "|" + match)) - return; + if (emittedPackageWarnings.has(pjsonPath + "|" + match)) return; emittedPackageWarnings.add(pjsonPath + "|" + match); process.emitWarning( `Use of deprecated trailing slash pattern mapping "${match}" in the "exports" field module resolution of the package at ${pjsonPath}${base ? ` imported from ${url.fileURLToPath(base)}` : ""}. Mapping specifiers ending in "/" is no longer supported.`, @@ -10881,9 +10885,9 @@ const defaultFsLayer = new VirtualFS({ }) }); class DynamicFS extends ProxiedFS { + baseFs = defaultFsLayer; constructor() { super(ppath); - this.baseFs = defaultFsLayer; } mapToBase(p) { return p; @@ -10898,6 +10902,11 @@ const defaultApi = Object.assign(makeApi(defaultRuntimeState, { fakeFs: dynamicFsLayer, pnpapiResolution: defaultPnpapiResolution }), { + /** + * Can be used to generate a different API than the default one (for example + * to map it on `/` rather than the local directory path, or to use a + * different FS layer than the default one). + */ makeApi: ({ basePath = void 0, fakeFs = dynamicFsLayer, @@ -10911,6 +10920,10 @@ const defaultApi = Object.assign(makeApi(defaultRuntimeState, { ...rest }); }, + /** + * Will inject the specified API into the environment, monkey-patching FS. Is + * automatically called when the hook is loaded through `--require`. + */ setup: (api) => { applyPatch(api || defaultApi, { fakeFs: defaultFsLayer, diff --git a/package.json b/package.json index 49aba0c..65a17bf 100644 --- a/package.json +++ b/package.json @@ -108,7 +108,7 @@ "ts-loader": "^9.5.1", "typescript": "^5.5.4", "vsce": "^2.15.0", - "webpack": "^5.93.0", + "webpack": "^5.94.0", "webpack-cli": "^5.1.4" }, "packageManager": "yarn@4.4.0" diff --git a/yarn.lock b/yarn.lock index 2573915..902b25a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -107,34 +107,14 @@ __metadata: languageName: node linkType: hard -"@types/eslint-scope@npm:^3.7.3": - version: 3.7.7 - resolution: "@types/eslint-scope@npm:3.7.7" - dependencies: - "@types/eslint": "npm:*" - "@types/estree": "npm:*" - checksum: 10c0/a0ecbdf2f03912679440550817ff77ef39a30fa8bfdacaf6372b88b1f931828aec392f52283240f0d648cf3055c5ddc564544a626bcf245f3d09fcb099ebe3cc - languageName: node - linkType: hard - -"@types/eslint@npm:*": - version: 8.56.5 - resolution: "@types/eslint@npm:8.56.5" - dependencies: - "@types/estree": "npm:*" - "@types/json-schema": "npm:*" - checksum: 10c0/1d5d70ea107c63adfaf63020f85859c404f90c21ada2a655376b8e76109df354643797e30c7afc3b2de84797d9f5ce9f03f53a5d29a186706a44afd90f76597c - languageName: node - linkType: hard - -"@types/estree@npm:*, @types/estree@npm:^1.0.5": +"@types/estree@npm:^1.0.5": version: 1.0.5 resolution: "@types/estree@npm:1.0.5" checksum: 10c0/b3b0e334288ddb407c7b3357ca67dbee75ee22db242ca7c56fe27db4e1a31989cb8af48a84dd401deb787fe10cc6b2ab1ee82dc4783be87ededbe3d53c79c70d languageName: node linkType: hard -"@types/json-schema@npm:*, @types/json-schema@npm:^7.0.8": +"@types/json-schema@npm:^7.0.8": version: 7.0.15 resolution: "@types/json-schema@npm:7.0.15" checksum: 10c0/a996a745e6c5d60292f36731dd41341339d4eeed8180bb09226e5c8d23759067692b1d88e5d91d72ee83dfc00d3aca8e7bd43ea120516c17922cbcb7c3e252db @@ -950,13 +930,13 @@ __metadata: languageName: node linkType: hard -"enhanced-resolve@npm:^5.17.0": - version: 5.17.0 - resolution: "enhanced-resolve@npm:5.17.0" +"enhanced-resolve@npm:^5.17.1": + version: 5.17.1 + resolution: "enhanced-resolve@npm:5.17.1" dependencies: graceful-fs: "npm:^4.2.4" tapable: "npm:^2.2.0" - checksum: 10c0/90065e58e4fd08e77ba47f827eaa17d60c335e01e4859f6e644bb3b8d0e32b203d33894aee92adfa5121fa262f912b48bdf0d0475e98b4a0a1132eea1169ad37 + checksum: 10c0/81a0515675eca17efdba2cf5bad87abc91a528fc1191aad50e275e74f045b41506167d420099022da7181c8d787170ea41e4a11a0b10b7a16f6237daecb15370 languageName: node linkType: hard @@ -2820,7 +2800,7 @@ __metadata: ts-loader: "npm:^9.5.1" typescript: "npm:^5.5.4" vsce: "npm:^2.15.0" - webpack: "npm:^5.93.0" + webpack: "npm:^5.94.0" webpack-cli: "npm:^5.1.4" languageName: unknown linkType: soft @@ -2885,11 +2865,10 @@ __metadata: languageName: node linkType: hard -"webpack@npm:^5.93.0": - version: 5.93.0 - resolution: "webpack@npm:5.93.0" +"webpack@npm:^5.94.0": + version: 5.94.0 + resolution: "webpack@npm:5.94.0" dependencies: - "@types/eslint-scope": "npm:^3.7.3" "@types/estree": "npm:^1.0.5" "@webassemblyjs/ast": "npm:^1.12.1" "@webassemblyjs/wasm-edit": "npm:^1.12.1" @@ -2898,7 +2877,7 @@ __metadata: acorn-import-attributes: "npm:^1.9.5" browserslist: "npm:^4.21.10" chrome-trace-event: "npm:^1.0.2" - enhanced-resolve: "npm:^5.17.0" + enhanced-resolve: "npm:^5.17.1" es-module-lexer: "npm:^1.2.1" eslint-scope: "npm:5.1.1" events: "npm:^3.2.0" @@ -2918,7 +2897,7 @@ __metadata: optional: true bin: webpack: bin/webpack.js - checksum: 10c0/f0c72f1325ff57a4cc461bb978e6e1296f2a7d45c9765965271aa686ccdd448512956f4d7fdcf8c164d073af046c5a0aba17ce85ea98e33e5e2bfbfe13aa5808 + checksum: 10c0/b4d1b751f634079bd177a89eef84d80fa5bb8d6fc15d72ab40fc2b9ca5167a79b56585e1a849e9e27e259803ee5c4365cb719e54af70a43c06358ec268ff4ebf languageName: node linkType: hard