diff --git a/build-scripts/rspack.cjs b/build-scripts/rspack.cjs index 999fafc891..9d53293cc3 100644 --- a/build-scripts/rspack.cjs +++ b/build-scripts/rspack.cjs @@ -3,7 +3,7 @@ const path = require("path"); const rspack = require("@rspack/core"); const { RsdoctorRspackPlugin } = require("@rsdoctor/rspack-plugin"); const { StatsWriterPlugin } = require("webpack-stats-plugin"); -const filterStats = require("@bundle-stats/plugin-webpack-filter").default; +const filterStats = require("@bundle-stats/plugin-webpack-filter"); const TerserPlugin = require("terser-webpack-plugin"); const { WebpackManifestPlugin } = require("rspack-manifest-plugin"); const log = require("fancy-log"); diff --git a/package.json b/package.json index 0ddbe03e7d..374111a628 100644 --- a/package.json +++ b/package.json @@ -160,7 +160,7 @@ "@babel/plugin-transform-runtime": "7.26.9", "@babel/preset-env": "7.26.9", "@babel/preset-typescript": "7.26.0", - "@bundle-stats/plugin-webpack-filter": "4.18.3", + "@bundle-stats/plugin-webpack-filter": "4.19.0", "@lokalise/node-api": "14.0.0", "@octokit/auth-oauth-device": "7.1.3", "@octokit/plugin-retry": "7.1.4", diff --git a/yarn.lock b/yarn.lock index 4b36fc0a5f..cd86314e81 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1254,12 +1254,14 @@ __metadata: languageName: node linkType: hard -"@bundle-stats/plugin-webpack-filter@npm:4.18.3": - version: 4.18.3 - resolution: "@bundle-stats/plugin-webpack-filter@npm:4.18.3" +"@bundle-stats/plugin-webpack-filter@npm:4.19.0": + version: 4.19.0 + resolution: "@bundle-stats/plugin-webpack-filter@npm:4.19.0" + dependencies: + tslib: "npm:2.8.1" peerDependencies: core-js: ^3.0.0 - checksum: 10/0166b926254b8d213a2551f48c53b864bbc3baa7d7916ab75c3c541ecccfa35d0009431488d67949f1c0d9dab9e0bec4aa54737954d3630058fde09cf6eeee8f + checksum: 10/012fb49aefa0916c5aa94878c6b6b70c870a2bc1488549c1aa4f3ce391d649452986c88548661665e891475bb6c1b67590bf3c266d763fd7a23f3778d9c854d4 languageName: node linkType: hard @@ -9366,7 +9368,7 @@ __metadata: "@babel/preset-typescript": "npm:7.26.0" "@babel/runtime": "npm:7.26.9" "@braintree/sanitize-url": "npm:7.1.1" - "@bundle-stats/plugin-webpack-filter": "npm:4.18.3" + "@bundle-stats/plugin-webpack-filter": "npm:4.19.0" "@codemirror/autocomplete": "npm:6.18.6" "@codemirror/commands": "npm:6.8.0" "@codemirror/language": "npm:6.10.8"