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

Bump json5, webpack, file-loader, html-webpack-plugin, karma-webpack and style-loader #802

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 2, 2023

Bumps json5 to 2.2.3 and updates ancestor dependencies json5, webpack, file-loader, html-webpack-plugin, karma-webpack and style-loader. These dependencies need to be updated together.

Updates json5 from 2.2.1 to 2.2.3

Release notes

Sourced from json5's releases.

v2.2.3

v2.2.2

  • Fix: Properties with the name __proto__ are added to objects and arrays. (#199) This also fixes a prototype pollution vulnerability reported by Jonathan Gregson! (#295).
Changelog

Sourced from json5's changelog.

v2.2.3 [code, diff]

v2.2.2 [code, diff]

  • Fix: Properties with the name __proto__ are added to objects and arrays. (#199) This also fixes a prototype pollution vulnerability reported by Jonathan Gregson! (#295).
Commits
  • c3a7524 2.2.3
  • 94fd06d docs: update CHANGELOG for v2.2.3
  • 3b8cebf docs(security): use GitHub security advisories
  • f0fd9e1 docs: publish a security policy
  • 6a91a05 docs(template): bug -> bug report
  • 14f8cb1 2.2.2
  • 10cc7ca docs: update CHANGELOG for v2.2.2
  • 7774c10 fix: add proto to objects and arrays
  • edde30a Readme: slight tweak to intro
  • 97286f8 Improve example in readme
  • Additional commits viewable in compare view

Updates webpack from 4.46.0 to 5.75.0

Release notes

Sourced from webpack's releases.

v5.75.0

Bugfixes

  • experiments.* normalize to false when opt-out
  • avoid NaN%
  • show the correct error when using a conflicting chunk name in code
  • HMR code tests existance of window before trying to access it
  • fix eval-nosources-* actually exclude sources
  • fix race condition where no module is returned from processing module
  • fix position of standalong semicolon in runtime code

Features

  • add support for @import to extenal CSS when using experimental CSS in node
  • add i64 support to the deprecated WASM implementation

Developer Experience

  • expose EnableWasmLoadingPlugin
  • add more typings
  • generate getters instead of readonly properties in typings to allow overriding them

v5.74.0

Features

  • add resolve.extensionAlias option which allows to alias extensions
    • This is useful when you are forced to add the .js extension to imports when the file really has a .ts extension (typescript + "type": "module")
  • add support for ES2022 features like static blocks
  • add Tree Shaking support for ProvidePlugin

Bugfixes

  • fix persistent cache when some build dependencies are on a different windows drive
  • make order of evaluation of side-effect-free modules deterministic between concatenated and non-concatenated modules
  • remove left-over from debugging in TLA/async modules runtime code
  • remove unneeded extra 1s timestamp offset during watching when files are actually untouched
    • This sometimes caused an additional second build which are not really needed
  • fix shareScope option for ModuleFederationPlugin
  • set "use-credentials" also for same origin scripts

Performance

  • Improve memory usage and performance of aggregating needed files/directories for watching
    • This affects rebuild performance

Extensibility

  • export HarmonyImportDependency for plugins

v5.73.0

... (truncated)

Commits

Updates file-loader from 1.1.11 to 6.2.0

Release notes

Sourced from file-loader's releases.

v6.2.0

6.2.0 (2020-10-27)

Features

  • added the sourceFilename property to asset info with original filename (#393) (654e0d6)

Bug Fixes

  • immutable flag when the name option have hash in query string (#392) (381d8bd)

v6.1.1

6.1.1 (2020-10-09)

Chore

  • update schema-utils

v6.1.0

6.1.0 (2020-08-31)

Features

v6.0.0

6.0.0 (2020-03-17)

⚠ BREAKING CHANGES

v5.1.0

5.1.0 (2020-02-19)

Features

  • support the query template for the name option (#366) (cd8698b)

v5.0.2

5.0.2 (2019-11-25)

Chore

... (truncated)

Changelog

Sourced from file-loader's changelog.

6.2.0 (2020-10-27)

Features

  • added the sourceFilename property to asset info with original filename (#393) (654e0d6)

Bug Fixes

  • immutable flag when the name option have hash in query string (#392) (381d8bd)

6.1.1 (2020-10-09)

Chore

  • update schema-utils

6.1.0 (2020-08-31)

Features

6.0.0 (2020-03-17)

⚠ BREAKING CHANGES

5.1.0 (2020-02-19)

Features

  • support the query template for the name option (#366) (cd8698b)

5.0.2 (2019-11-25)

Chore

  • add the funding field in package.json

5.0.1 (2019-11-25)

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by evilebottnawi, a new releaser for file-loader since your current version.


Updates html-webpack-plugin from 4.5.2 to 5.5.0

Changelog

Sourced from html-webpack-plugin's changelog.

5.5.0 (2021-10-25)

Features

  • Support type=module via scriptLoading option (1e42625), closes #1663

5.4.0 (2021-10-15)

Features

5.3.2 (2021-06-22)

Bug Fixes

  • update lodash and pretty error (9c7fba0

5.3.1 (2021-03-09)

Bug Fixes

  • remove loader-utils from plugin core (82d0ee8)

5.3.0 (2021-03-07)

Features

  • allow to modify the interpolation options in webpack config (d654f5b)
  • drop loader-utils dependency (41d7a50)

5.2.0 (2021-02-19)

Features

5.1.0 (2021-02-12)

Features

  • omit html tag attribute with null/undefined/false value (aa6e78d), closes #1598

5.0.0 (2021-02-03)

... (truncated)

Commits

Updates karma-webpack from 4.0.2 to 5.0.0

Release notes

Sourced from karma-webpack's releases.

v5.0.0

No release notes provided.

v5.0.0-alpha.6

Bug Fixes

  • automatically fix missing webpack framework and report a warning (ea5dc8e)
  • fix an issue where multiple karma-webpack processes could not run in parallel (ea3dabe)
  • bump hotfix dependencies (98b3ec9)

v5.0.0-alpha.5

Bug Fixes

  • change the webpack peer dependency to webpack v5 (2e0ca74)

v5.0.0-alpha.4

Bug Fixes

  • fix compatibility issues for webpack v5 (8d7366f), closes #452
  • remove deprecation warning for .watch() (4fe1f60)
Changelog

Sourced from karma-webpack's changelog.

5.0.0 (2021-02-02)

No changes, just a new stable release.

5.0.0-alpha.6 (2021-01-30)

Bug Fixes

  • automatically fix missing webpack framework and report a warning (ea5dc8e)
  • fix an issue where multiple karma-webpack processes could not run in parallel (ea3dabe)
  • bump hotfix dependencies (98b3ec9)

5.0.0-alpha.5 (2020-12-06)

Bug Fixes

  • change the webpack peer dependency to webpack v5 (2e0ca74)

5.0.0-alpha.4 (2020-12-06)

Bug Fixes

  • fix compatibility issues for webpack v5 (8d7366f), closes #452
  • remove deprecation warning for .watch() (4fe1f60)

5.0.0-alpha.3.0 (2019-03-07)

Bug Fixes

5.0.0-alpha.2 (2019-02-13)

Bug Fixes

  • karma-webpack: normalize paths to be compatible with windows (b783e1c)

5.0.0-alpha.1 (2019-01-01)

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by ryanclark, a new releaser for karma-webpack since your current version.


Updates style-loader from 0.23.1 to 3.3.1

Release notes

Sourced from style-loader's releases.

v3.3.1

3.3.1 (2021-10-21)

Bug Fixes

v3.3.0

3.3.0 (2021-09-21)

Features

  • added support for supports(), layer() and media from @import at-rules (b9a600c)
  • allow to pass options to insert function through style.use() (#535) (f8ef63b)

v3.2.1

3.2.1 (2021-07-20)

Bug Fixes

  • added the styletagtransform option when it is a module to addBuildDependency (#528) (270513f)

v3.2.0

3.2.0 (2021-07-20)

Features

Bug Fixes

  • added the insert option when it is a module to addBuildDependency (#527) (3963c0b)

v3.1.0

3.1.0 (2021-07-12)

Features

  • allow to specify the insert option from file, we strongly recommend do it, using the insert option from file will reduce your bundle size, example (#521) (56fc8f0)
  • allow to specify the styleTagTransform option from file, we strongly recommend do it, using the styleTagTransform option from file will reduce your bundle size, example

Bug Fixes

... (truncated)

Changelog

Sourced from style-loader's changelog.

3.3.1 (2021-10-21)

Bug Fixes

3.3.0 (2021-09-21)

Features

  • added support for supports(), layer() and media from @import at-rules (b9a600c)
  • allow to pass options to insert function through style.use() (#535) (f8ef63b)

3.2.1 (2021-07-20)

Bug Fixes

  • added the styletagtransform option when it is a module to addBuildDependency (#528) (270513f)

3.2.0 (2021-07-20)

Features

Bug Fixes

  • added the insert option when it is a module to addBuildDependency (#527) (3963c0b)

3.1.0 (2021-07-12)

Features

  • allow to specify the insert option from file, we strongly recommend do it, using the insert option from file will reduce your bundle size, example (#521) (56fc8f0)
  • allow to specify the styleTagTransform option from file, we strongly recommend do it, using the styleTagTransform option from file will reduce your bundle size, example

Bug Fixes

3.0.0 (2021-06-24)

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by evilebottnawi, a new releaser for style-loader since your current version.


You can trigger a rebase of this PR 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 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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 2, 2023
@amotl
Copy link
Member

amotl commented Jan 3, 2023

I've added two commits which made progress on resolving incompatibilities after updating to Webpack5, only to find out that there is no way around this error from PhantomJS 1:

PhantomJS 2.1.1 (Mac OS 0.0.0) ERROR
  SyntaxError: Unexpected token ')'
  at /var/folders/06/w9pzygdj7vx53n_0l9q_lhph0000gn/T/_karma_webpack_571271/runtime.js:9:0

A similar error is outlined at ariya/phantomjs#14650, where there would have been a hope that it would work again after upgrading to a more recent version of PhantomJS:

PhantomJS 2.5 will support full specification of ES2015.

However, it looks like further development has been suspended, see also ariya/phantomjs#15344:

With that, all the earlier plans regarding PhantomJS 2.5 or 2.1.x will be abandoned effective immediately.

On the NPM registry, the most recent release of PhantomJS is 5 years old already 23.

Footnotes

  1. https://github.com/crate/crate-admin/actions/runs/3831437785/jobs/6520565765#step:5:32

  2.  https://www.npmjs.com/package/phantomjs

  3.  https://www.npmjs.com/package/phantomjs-prebuilt

@amotl amotl force-pushed the dependabot/npm_and_yarn/json5-and-webpack-and-file-loader-and-html-webpack-plugin-and-karma-webpack-and-style-loader-2.2.3 branch from 5ca9bde to 296131d Compare January 12, 2024 04:56
@amotl amotl changed the base branch from main to amo/phantomjs-to-chromium January 12, 2024 04:57
Base automatically changed from amo/phantomjs-to-chromium to main January 12, 2024 22:22
dependabot bot and others added 2 commits January 12, 2024 23:31
…and style-loader

Bumps [json5](https://github.com/json5/json5) to 2.2.3 and updates ancestor dependencies [json5](https://github.com/json5/json5), [webpack](https://github.com/webpack/webpack), [file-loader](https://github.com/webpack-contrib/file-loader), [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin), [karma-webpack](https://github.com/webpack-contrib/karma-webpack) and [style-loader](https://github.com/webpack-contrib/style-loader). These dependencies need to be updated together.

Updates `json5` from 2.2.1 to 2.2.3
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](json5/json5@v2.2.1...v2.2.3)

Updates `webpack` from 4.46.0 to 5.75.0
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](webpack/webpack@v4.46.0...v5.75.0)

Updates `file-loader` from 1.1.11 to 6.2.0
- [Release notes](https://github.com/webpack-contrib/file-loader/releases)
- [Changelog](https://github.com/webpack-contrib/file-loader/blob/master/CHANGELOG.md)
- [Commits](webpack-contrib/file-loader@v1.1.11...v6.2.0)

Updates `html-webpack-plugin` from 4.5.2 to 5.5.0
- [Release notes](https://github.com/jantimon/html-webpack-plugin/releases)
- [Changelog](https://github.com/jantimon/html-webpack-plugin/blob/main/CHANGELOG.md)
- [Commits](jantimon/html-webpack-plugin@v4.5.2...v5.5.0)

Updates `karma-webpack` from 4.0.2 to 5.0.0
- [Release notes](https://github.com/webpack-contrib/karma-webpack/releases)
- [Changelog](https://github.com/ryanclark/karma-webpack/blob/master/CHANGELOG.md)
- [Commits](codymikol/karma-webpack@v4.0.2...v5.0.0)

Updates `style-loader` from 0.23.1 to 3.3.1
- [Release notes](https://github.com/webpack-contrib/style-loader/releases)
- [Changelog](https://github.com/webpack-contrib/style-loader/blob/master/CHANGELOG.md)
- [Commits](webpack-contrib/style-loader@v0.23.1...v3.3.1)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
- dependency-name: webpack
  dependency-type: direct:development
- dependency-name: file-loader
  dependency-type: direct:development
- dependency-name: html-webpack-plugin
  dependency-type: direct:development
- dependency-name: karma-webpack
  dependency-type: direct:development
- dependency-name: style-loader
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
Error: Compiling RuleSet failed: Query arguments on 'loader' has been
removed in favor of the 'options' property.
(at ruleSet[1].rules[2].loader: url-loader?limit=10000)
@amotl amotl force-pushed the dependabot/npm_and_yarn/json5-and-webpack-and-file-loader-and-html-webpack-plugin-and-karma-webpack-and-style-loader-2.2.3 branch from 296131d to 139f730 Compare January 12, 2024 22:31
@@ -77,17 +77,18 @@ module.exports = {
test: /\.(sa|sc|c)ss$/,
use: [
{ loader: 'style-loader' },
{ loader: MiniCssExtractPlugin.loader },
{ loader: MiniCssExtractPlugin.loader, options: { esModule: false } },
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please explain why we need this esModule: false now?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Marios. Thank you for asking. I can barely remember it, but I think it was needed to make the code compatible with the update of corresponding components bumped here. Both 2eca85b and bef815f were needed to satisfy CI on the original patch submitted by Dependabot, the latter being responsible to update the configuration for the MiniCssExtractPlugin, which includes the spot you have been asking about.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this quirk is no longer needed when also updating mini-css-extract-plugin to a more recent version? I will give it a try...

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check, the flag was set to true by default long time ago: webpack-contrib/mini-css-extract-plugin#486

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But I don't know exactly what's its purpose, if issue is still there and you think it's safe to disable it, go ahead.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This quirk is no longer needed when also updating mini-css-extract-plugin to a more recent version.

Implemented by replacing bef815f with c726626. Thanks.

@amotl amotl force-pushed the dependabot/npm_and_yarn/json5-and-webpack-and-file-loader-and-html-webpack-plugin-and-karma-webpack-and-style-loader-2.2.3 branch from 139f730 to c726626 Compare January 16, 2024 21:06
@amotl amotl merged commit a2813fd into main Jan 16, 2024
5 checks passed
@amotl amotl deleted the dependabot/npm_and_yarn/json5-and-webpack-and-file-loader-and-html-webpack-plugin-and-karma-webpack-and-style-loader-2.2.3 branch January 16, 2024 21:10
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants