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 worker-loader to v3 #166

Merged
merged 2 commits into from
Jul 12, 2023

Conversation

alexrudd2
Copy link
Contributor

Fixes the following warnings:

(node:20330) [DEP_WEBPACK_COMPILATION_CACHE] DeprecationWarning: 
Compilation.cache was removed in favor of Compilation.getCache()
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:20330) 
[DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_HASH] 
DeprecationWarning: [hash] is now [fullhash] (also consider using 
[chunkhash] or [contenthash], see documentation for details)
(node:20330) [DEP_WEBPACK_DEPRECATION_ARRAY_TO_SET_INDEXER] 
DeprecationWarning: chunk.files was changed from Array to Set (indexing 
Array is deprecated)

Note: it should be possible to drop this altogether but I couldn't quite get it to work:
https://webpack.js.org/guides/web-workers/

@alexrudd2
Copy link
Contributor Author

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
worker-loader ^2.0.0 -> ^3.0.0 age adoption passing confidence

Release Notes

webpack-contrib/worker-loader (worker-loader)

v3.0.8

Compare Source

v3.0.7

Compare Source

v3.0.6

Compare Source

v3.0.5

Compare Source

v3.0.4

Compare Source

v3.0.3

Compare Source

v3.0.2

Compare Source

v3.0.1

Compare Source

v3.0.0

Compare Source

⚠ BREAKING CHANGES
  • minimum supported Node.js version is 10.13
  • minimum supported webpack version is 4
  • the name option was renamed to the filename option
  • switch on ES module syntax by default, use the esModule option if you need backward compatibility with Common JS modules
  • the fallback option was removed in favor the inline option, the inline option accepts only fallback and no-fallback values
  • the publicPath option default value based on output.publicPath
  • the filename option default value based on output.filename
Features
  • added the worker option (replaces #​178) (#​247) (f03498d)
  • added the chunkFilename option, default value based on output.chunkFilename (905ed7b)
  • added the esModule option
  • allow to use any web worker constructor and options for constructor
  • the publicPath option can be Function
  • the filename (previously name) option can be Function
Bug Fixes
  • support WASM (152634c)
  • respect externals (#​264) (1e761ed)
  • memory leak for inline web workers (#​252) (f729e34)
  • source maps when inline using without fallback (#​269) (5047abb)
  • the publicPath options works fine with async web workers chunks
  • compatibility with webpack@5 (#​259) (e0d9887)
  • always use self as global object
  • compatibility with webpack-dev-server
  • increase performance

@nornagon nornagon merged commit f821a09 into nornagon:main Jul 12, 2023
3 checks passed
@alexrudd2 alexrudd2 deleted the worker-loader branch July 12, 2023 21:44
jedahan pushed a commit to jedahan/saxi that referenced this pull request Sep 1, 2023
* chore(deps): update dependency worker-loader to v3

* update package-lock

---------

Co-authored-by: Jeremy Rose <nornagon@nornagon.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants