Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency webpack to v5 (2.x) #27216

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 14, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
webpack ^4.47.0 -> ^5.91.0 age adoption passing confidence
@types/webpack (source) ^4.41.38 -> ^5.28.5 age adoption passing confidence

Release Notes

webpack/webpack (webpack)

v5.91.0

Compare Source

Bug Fixes

  • Deserializer for ignored modules doesn't crash
  • Allow the unsafeCache option to be a proxy object
  • Normalize the snapshot.unmanagedPaths option
  • Fixed fs types
  • Fixed resolve's plugins types
  • Fixed wrongly calculate postOrderIndex
  • Fixed watching types
  • Output import attrbiutes/import assertions for external JS imports
  • Throw an error when DllPlugin needs to generate multiple manifest files, but the path is the same
  • [CSS] Output layer/supports/media for external CSS imports

New Features

  • Allow to customize the stage of BannerPlugin
  • [CSS] Support CSS exports convention
  • [CSS] support CSS local ident name
  • [CSS] Support __webpack_nonce__ for CSS chunks
  • [CSS] Support fetchPriority for CSS chunks
  • [CSS] Allow to use LZW to compress css head meta (enabled in the production mode by default)
  • [CSS] Support prefetch/preload for CSS chunks

v5.90.3

Compare Source

Bug Fixes

  • don't mangle when destructuring a reexport
  • types for Stats.toJson() and Stats.toString()
  • many internal types
  • [CSS] clean up export css local vars

Perf

  • simplify and optimize chunk graph creation

v5.90.2

Compare Source

Bug Fixes

  • use Math.imul in fnv1a32 to avoid loss of precision, directly hash UTF16 values
  • the setStatus() of the HMR module should not return an array, which may cause infinite recursion
  • __webpack_exports_info__.xxx.canMangle shouldn't always same as default
  • mangle export with destructuring
  • use new runtime to reconsider skipped connections activeState
  • make dynamic import optional in try/catch
  • improve auto publicPath detection

Dependencies & Maintenance

  • improve CI setup and include Node.js@21

v5.90.1

Compare Source

Bug Fixes

  • set unmanagedPaths in defaults
  • correct preOrderIndex and postOrderIndex
  • add fallback for MIME mismatch error in async wasm loading
  • browsers versions of ECMA features

Performance

  • optimize compareStringsNumeric
  • optimize numberHash using 32-bit FNV1a for small ranges, 64-bit for larger
  • reuse VM context across webpack magic comments

v5.90.0

Compare Source

Bug Fixes

  • Fixed inner graph for classes
  • Optimized RemoveParentModulesPlugin via bigint arithmetic
  • Fixed worklet detection in production mode
  • Fixed an error for cyclic importModule
  • Fixed types for Server and Dirent
  • Added the fetchPriority to hmr runtime's ensureChunk function
  • Don't warn about dynamic import for build dependencies
  • External module generation respects the output.environment.arrowFunction option
  • Fixed consumimng shared runtime module logic
  • Fixed a runtime logic of multiple chunks
  • Fixed destructing assignment of dynamic import json file
  • Passing errors array for a module hash
  • Added /*#__PURE__*/ to generated JSON.parse()
  • Generated a library manifest after clean plugin
  • Fixed non amd externals and amd library
  • Fixed a bug in SideEffectsFlagPlugin with namespace re-exports
  • Fixed an error message for condition or
  • The strictModuleErrorHandling is now working
  • Clean up child compilation chunk graph to avoid memory leak
  • [CSS] - Fixed CSS import prefer relative resolution
  • [CSS] - Fixed CSS runtime chunk loading error message

New Features

  • Allow to set false for dev server in webpack.config.js
  • Added a warning for async external when not supported
  • Added a warning for async module when not supported
  • Added the node-module option for the node.__filename/__dirname and enable it by default for ESM target
  • Added the snapshot.unmanagedPaths option
  • Exposed the MultiCompilerOptions type
  • [CSS] - Added CSS parser options to enable/disable named exports
  • [CSS] - Moved CSS the exportsOnly option to CSS generator options

Dependencies & Maintenance

  • use node.js LTS version for lint
  • bump actions/cache from 3 to 4
  • bump prettier from 3.2.1 to 3.2.3
  • bump assemblyscript
  • bump actions/checkout from 3 to 4

Full Changelog: webpack/webpack@v5.89.0...v5.90.0

v5.89.0

Compare Source

New Features

Dependencies & Maintenance

Full Changelog: webpack/webpack@v5.88.2...v5.89.0

v5.88.2

Compare Source

Bug Fixes

Full Changelog: webpack/webpack@v5.88.1...v5.88.2

v5.88.1

Compare Source

Developer Experience

Full Changelog: webpack/webpack@v5.88.0...v5.88.1

v5.88.0

Compare Source

New Features

Bug Fixes

Developer Experience

Dependencies & Maintenance

New Contributors

Full Changelog: webpack/webpack@v5.87.0...v5.88.0

v5.87.0

Compare Source

New Features

Bug Fixes

Developer Experience

Dependencies & Maintenance

New Contributors

@​aboktor made their first contribution in #​16991 #​16989
@​silverwind made their first contribution in #​17339 via #​17329

Full Changelog: webpack/webpack@v5.86.0...v5.87.0

v5.86.0

Compare Source

New Features

Bug Fixes

Developer Experience

Dependencies & Maintenance

New Contributors

Full Changelog: webpack/webpack@v5.85.1...v5.86.0

v5.85.1

Compare Source

Bug Fixes

Dependencies & Maintenance

Full Changelog: webpack/webpack@v5.85.0...v5.85.1

v5.85.0

Compare Source

New Features

Bug Fixes

Developer Experience

Dependencies & Maintenance

Full Changelog: webpack/webpack@v5.84.1...v5.85.0

v5.84.1

Compare Source

Bug Fixes

Dependencies & Maintenance

Full Changelog: webpack/webpack@v5.84.0...v5.84.1

v5.84.0

Compare Source

New Features

Bug Fixes

Developer Experience

Dependencies & Maintenance

New Contributors

Full Changelog: webpack/webpack@v5.83.1...v5.84.0

v5.83.1

Compare Source

Bug Fixes

Full Changelog: webpack/webpack@v5.83.0...v5.83.1

v5.83.0

Compare Source

New Features

Bug Fixes

Developer Experience

Dependencies & Maintenance

New Contributors

Full Changelog: webpack/webpack@v5.82.1...v5.83.0

v5.82.1

Compare Source

Bug Fixes

Developer Experience

Dependencies & Maintenance

New Contributors

Full Changelog: webpack/webpack@v5.82.0...v5.82.1

v5.82.0

Compare Source

New Features

Bug Fixes

Tests & Contributor Experience

Developer Experience

Dependencies & Maintenance

New Contributors

Full Changelog: webpack/webpack@v5.81.0...v5.82.0

v5.81.0

Compare Source

New Features

Bug Fixes

Tests & Contributor Experience

Developer Experience

Dependencies & Maintenance

New Contributors

Full Changelog: webpack/webpack@v5.80.0...v5.81.0

v5.80.0

Compare Source

New Features

Bug Fixes

Tests & Contributor Experience

Developer Experience

Dependencies & Maintenance

New Contributors

Full Changelog: webpack/webpack@v5.79.0...v5.80.0

v5.79.0

Compare Source

New Features

Bugfixes

Developer Experience


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

Copy link

stackblitz bot commented May 14, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@babel/helper-compilation-targets@7.23.6 None +1 63.7 kB nicolo-ribaudo
npm/@gar/promisify@1.1.3 None 0 4.2 kB gar
npm/@types/babel__core@7.20.5 None 0 33 kB types
npm/@types/istanbul-lib-coverage@2.0.4 None 0 5.76 kB types
npm/@types/json-schema@7.0.12 None 0 32.2 kB types
npm/@types/parse-json@4.0.0 None 0 2.74 kB types
npm/@types/semver@7.5.0 None 0 23.7 kB types
npm/ansi-escapes@4.3.2 None +1 135 kB sindresorhus
npm/assert-plus@1.0.0 environment 0 11.4 kB pfmooney
npm/ci-info@3.8.0 environment 0 25.8 kB sibiraj-s
npm/create-require@1.1.1 filesystem, unsafe 0 6.25 kB pi0
npm/decimal.js@10.4.3 None 0 283 kB mikemcl
npm/esprima@4.0.1 None 0 314 kB ariya
npm/exit@0.1.2 None 0 59.8 kB cowboy
npm/extsprintf@1.3.0 None 0 22.8 kB dap
npm/has-unicode@2.0.1 environment 0 3.44 kB iarna
npm/he@1.2.0 None 0 124 kB mathias
npm/html-escaper@2.0.2 None 0 13.1 kB webreflection
npm/import-local@3.1.0 None +1 9.64 kB sindresorhus
npm/infer-owner@1.0.4 filesystem 0 4.29 kB isaacs
npm/is-docker@2.2.1 filesystem 0 3.01 kB sindresorhus
npm/is-plain-obj@1.1.0 None 0 2.62 kB sindresorhus
npm/istanbul-lib-coverage@3.2.0 None 0 29.3 kB oss-bot
npm/js-yaml@3.14.1 eval Transitive: environment, filesystem +2 443 kB vitaly
npm/json-parse-better-errors@1.0.2 None 0 6.7 kB zkat
npm/json-stringify-safe@5.0.1 None 0 12.7 kB isaacs
npm/jsonparse@1.3.1 None 0 36.8 kB creationix
npm/neo-async@2.6.2 None 0 298 kB suguru03
npm/p-map@4.0.0 None +3 25.3 kB sindresorhus
npm/postcss-value-parser@4.2.0 None 0 27.2 kB evilebottnawi
npm/psl@1.9.0 None 0 461 kB lupomontero
npm/repeat-string@1.6.1 None 0 9.09 kB jonschlinkert
npm/rollup@4.17.2 environment, filesystem 0 2.28 MB lukastaegert
npm/through@2.3.8 None 0 12.5 kB dominictarr
npm/tweetnacl@0.14.5 None 0 174 kB dchest

🚮 Removed packages: npm/@babel/helper-annotate-as-pure@7.22.5, npm/@babel/helper-define-polyfill-provider@0.6.2, npm/@babel/helper-skip-transparent-expression-wrappers@7.22.5, npm/@babel/plugin-proposal-class-properties@7.18.6, npm/@babel/plugin-proposal-nullish-coalescing-operator@7.18.6, npm/@babel/plugin-proposal-optional-chaining@7.21.0, npm/@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2, npm/@babel/plugin-transform-modules-commonjs@7.24.1, npm/@babel/plugin-transform-optional-chaining@7.24.5, npm/@types/connect@3.4.38, npm/accepts@1.3.8, npm/ajv-formats@2.1.1, npm/ansi-styles@4.3.0, npm/asn1.js@5.4.1, npm/babel-plugin-polyfill-corejs3@0.10.4, npm/body-parser@1.20.2, npm/buffer@5.7.1, npm/chalk@2.4.2, npm/combined-stream@1.0.8, npm/content-type@1.0.5, npm/core-js-compat@3.37.0, npm/cross-spawn@7.0.3, npm/destroy@1.2.0, npm/dotenv@16.4.5, npm/end-of-stream@1.4.4, npm/express@4.19.2, npm/finalhandler@1.2.0, npm/fs-extra@10.1.0, npm/iconv-lite@0.4.24, npm/is-builtin-module@3.2.1, npm/jsonfile@6.1.0, npm/mime-types@2.1.35, npm/minimalistic-assert@1.0.1, npm/object-assign@4.1.1, npm/on-finished@2.4.1, npm/regenerator-runtime@0.14.1, npm/serve-static@1.15.0, npm/strip-ansi@6.0.1, npm/supports-color@7.2.0, npm/typescript@5.4.5, npm/validate-npm-package-license@3.0.4, npm/wcwidth@1.0.1, npm/wrap-ansi@7.0.0

View full report↗︎

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 66.22%. Comparing base (b429d5c) to head (4e05ee9).

Additional details and impacted files
@@           Coverage Diff           @@
##              2.x   #27216   +/-   ##
=======================================
  Coverage   66.22%   66.22%           
=======================================
  Files          93       93           
  Lines        4121     4121           
  Branches     1169     1169           
=======================================
  Hits         2729     2729           
  Misses       1126     1126           
  Partials      266      266           
Flag Coverage Δ
unittests 66.22% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@danielroe danielroe closed this May 14, 2024
Copy link
Contributor Author

renovate bot commented May 14, 2024

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 5.x releases. But if you manually upgrade to 5.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/2.x-webpack-5.x branch May 14, 2024 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants