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): bump webpack and @decidim/webpacker #94

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 18, 2024

Bumps webpack to 5.94.0 and updates ancestor dependency @decidim/webpacker. These dependencies need to be updated together.

Updates webpack from 5.88.2 to 5.94.0

Release notes

Sourced from webpack's releases.

v5.94.0

Bug Fixes

  • Added runtime condition for harmony reexport checked
  • Handle properly data/http/https protocols in source maps
  • Make bigint optimistic when browserslist not found
  • Move @​types/eslint-scope to dev deps
  • Related in asset stats is now always an array when no related found
  • Handle ASI for export declarations
  • Mangle destruction incorrect with export named default properly
  • Fixed unexpected asi generation with sequence expression
  • Fixed a lot of types

New Features

  • Added new external type "module-import"
  • Support webpackIgnore for new URL() construction
  • [CSS] @import pathinfo support

Security

  • Fixed DOM clobbering in auto public path

v5.93.0

Bug Fixes

  • Generate correct relative path to runtime chunks
  • Makes DefinePlugin quieter under default log level
  • Fixed mangle destructuring default in namespace import
  • Fixed consumption of eager shared modules for module federation
  • Strip slash for pretty regexp
  • Calculate correct contenthash for CSS generator options

New Features

  • Added the binary generator option for asset modules to explicitly keep source maps produced by loaders
  • Added the modern-module library value for tree shakable output
  • Added the overrideStrict option to override strict or non-strict mode for javascript modules

v5.92.1

Bug Fixes

  • Doesn't crash with an error when the css experiment is enabled and contenthash is used

v5.92.0

Bug Fixes

  • Correct tidle range's comutation for module federation
  • Consider runtime for pure expression dependency update hash
  • Return value in the subtractRuntime function for runtime logic

... (truncated)

Commits
  • eabf85d chore(release): 5.94.0
  • 955e057 security: fix DOM clobbering in auto public path
  • 9822387 test: fix
  • cbb86ed test: fix
  • 5ac3d7f fix: unexpected asi generation with sequence expression
  • 2411661 security: fix DOM clobbering in auto public path
  • b8c03d4 fix: unexpected asi generation with sequence expression
  • f46a03c revert: do not use heuristic fallback for "module-import"
  • 60f1898 fix: do not use heuristic fallback for "module-import"
  • 66306aa Revert "fix: module-import get fallback from externalsPresets"
  • Additional commits viewable in compare view

Updates @decidim/webpacker from 0.27.5 to 0.29.0

Release notes

Sourced from @​decidim/webpacker's releases.

v0.29.0

Security fixes

This release addresses two security issues:

One of these security issues (CVE-2024-32034) was already available in v0.27.7 and v0.28.2, so it will be published on September 16th 2024.

The other security issue (CVE-2024-45594) will be published on November 10th 2024, which is two months after the release date of this version. For more information, please refer to our Security Policy.

Upgrade notes

As usual, we recommend that you have a full backup, of the database, application code and static files.

To update, follow these steps:

1.1. Update your ruby version

If you're using rbenv, this is done with the following commands:

rbenv install 3.2.2
rbenv local 3.2.2

You may need to change your .ruby-version file too.

If not, you need to adapt it to your environment. See "2.1. Ruby update to 3.2"

1.2. Update your Gemfile

gem "decidim", "0.29.0"
gem "decidim-dev", "0.29.0"

1.3. Run these commands

rm config/initializers/carrierwave.rb # see "3.1. CarrierWave removal"
rm babel.config.json # see "3.3. esbuild migration"
wget https://raw.githubusercontent.com/decidim/decidim/develop/decidim-core/lib/decidim/webpacker/webpack/custom.js -O config/webpack/custom.js # see "3.3. esbuild migration"
wget https://raw.githubusercontent.com/decidim/decidim/c626489ea235e644e281ecf4bdbcdf112ca6b3d7/decidim-core/db/migrate/20181025082245_add_timestamps_to_components.rb -O $(ls db/migrate/*_add_timestamps_to_components.decidim.rb) # see "2.7. Clean-up invalid resources"
rm Gemfile.lock package-lock.json
sudo apt install p7zip # or the alternative installation process for your operating system. See "2.5. 7zip dependency introduction"
bundle remove spring spring-watcher-listen # see "3.7. Remove spring and spring-watcher-listen from your Gemfile"
bundle remove decidim-elections # see "2.6. Deprecation of the decidim-elections module"
bundle install
</tr></table> 

... (truncated)

Changelog

Sourced from @​decidim/webpacker's changelog.

0.29.0

Added

Nothing.

Changed

Nothing.

Fixed

  • decidim-admin: Backport 'Overwrite admin "Cell" -helper method' to v0.29 #13261
  • Backport 'Lock Chrome and ChromeDriver to 126.0.6478.182' to v0.29 #13305
  • decidim-proposals: Backport 'Fix proposals' preview spacing' to v0.29 #13304
  • decidim-dev: Backport 'Disable search engine choice window for ChromeDriver in system specs' to v0.29 #13307
  • decidim-dev, decidim-generators: Backport 'Add spring as dependency' to v0.29 #13301
  • Backport 'Add overwrite parameter to upload-artifact' to v0.29 #13311
  • decidim-core: Backport 'Fix deprecation warnings from SASS' to v0.29 #13299
  • decidim-admin: Backport 'Fix deleting a component which has reminders associated with it' to v0.29 #13306
  • decidim-core, decidim-proposals: Backport 'Fix character counter disposition and spacing with WYSIWYG' to v0.29 #13303
  • decidim-admin, decidim-generators, decidim-proposals, decidim-templates: Backport 'Fix exceptions with decidim-templates when not added explicitly ' to v0.29 #13302
  • decidim-admin, decidim-assemblies, decidim-blogs, decidim-comments, decidim-conferences, decidim-core, decidim-initiatives, decidim-participatory processes, decidim-proposals: Backport 'Remove pagination configuration initializer' to v0.29 #13300
  • Backport 'Fix google-chrome-stable installation in CI' to v0.29 #13318
  • decidim-core: Backport 'Prevent malformed URLs in online/hybrid meetings' to v0.29 #13319
  • decidim-core: Backport 'Fix DOMSubtreeModified deprecation warning' to v0.29 #13332
  • decidim-core: Backport 'Fix exporting of the open data file' to v0.29 #13341
  • decidim-core: Backport 'Fix results per page display in pagination' to v0.29 #13343
  • decidim-assemblies, decidim-budgets, decidim-conferences, decidim-core, decidim-debates, decidim-initiatives, decidim-meetings, decidim-participatory processes, decidim-proposals: Backport 'Fix flaky spec with follow button in participatory spaces' to v0.29 #13344
  • decidim-proposals: Backport 'Fix ProposalStates migration' to v0.29 #13348
  • decidim-accountability, decidim-core, decidim-meetings: Backport 'Fix tab navigation on filters' to v0.29 #13357
  • decidim-core, decidim-dev: Backport 'Add manifest name check for spaces and components' to v0.29 #13358

Removed

Nothing.

Developer improvements

Nothing.

Internal

Nothing.

0.29.0.rc4

Added

Nothing.

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [webpack](https://github.com/webpack/webpack) to 5.94.0 and updates ancestor dependency [@decidim/webpacker](https://github.com/decidim/decidim/tree/HEAD/packages/webpacker). These dependencies need to be updated together.


Updates `webpack` from 5.88.2 to 5.94.0
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](webpack/webpack@v5.88.2...v5.94.0)

Updates `@decidim/webpacker` from 0.27.5 to 0.29.0
- [Release notes](https://github.com/decidim/decidim/releases)
- [Changelog](https://github.com/decidim/decidim/blob/v0.29.0/CHANGELOG.md)
- [Commits](https://github.com/decidim/decidim/commits/v0.29.0/packages/webpacker)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
- dependency-name: "@decidim/webpacker"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants