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

build(deps-dev): bump worker-plugin from 3.2.0 to 5.0.1 #5

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

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Aug 31, 2021

Bumps worker-plugin from 3.2.0 to 5.0.1.

Release notes

Sourced from worker-plugin's releases.

5.0.1

  • Fixed crash on malformed new Worker() options object (#94, thanks @​jebbench)

5.0.0

  • Webpack 5 compatibility (in addition to Webpack 4) (#84, thanks @​gluck & @​dkozma!)

  • New filename and chunkFilename options (#82):

    new WorkerPlugin({
        filename: '[name].[hash:5].js',
        chunkFilename: '[name].[hash:5].js',
    })
  • Reduce non-actionable warnings (#73)

  • Fix support for output filenames with querystring parameters (#74, thanks @​brn!)

4.0.3

  • Fixed a bug parsing worker init options containing trailing commas (#66, thanks @​alan-agius4)

Worker Plugin 4.0

Worker Plugin 4 brings a few nice new features:

🚓 Support for Webpack's strict ES Modules mode:

Using .mjs now works properly with worker-plugin, and actually produces better output than the default CommonJS internals (#61).

🏗 A new worker-plugin/loader variant:

If you need to compile a module as a standalone set of bundles but don't need the new Worker parsing stuff, it's now possible to use this plugin's internal functionality as a loader! Just prefix your import with worker-plugin/loader! and you'll get back the bundle's URL. This is useful for bundling things like Worklets:

import workerUrl from 'worker-plugin/loader!./my-paint-worklet';
CSS.paintWorklet.addModule(workerUrl);

🎛 Support for SharedWorker

Pass the {sharedWorker:true} option to enable automatic bundling of SharedWorker. (#42 - thanks @​stutrek!).

Similarly, you can also now pass {worker:false} to disable automatic bundling of Worker. (#57 - thanks @​gbmatt!)

🐞 Bugfix for trailing commas in worker init options

Previously, new Worker("./foo.js", { type:"module", }) would result in invalid JavaScript output. This has now been fixed. Unless configured to keep the type option around, the output is simply new Worker(bundleUrl). (#49 - thanks @​arturovt!)

Commits

Dependabot compatibility score

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 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 dependabot bot added the dependencies Pull requests that update a dependency file label Aug 31, 2021
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/worker-plugin-5.0.1 branch from c63c649 to 172c73b Compare October 20, 2021 20:26
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/worker-plugin-5.0.1 branch from 172c73b to 81f3b99 Compare November 4, 2021 23:35
Bumps [worker-plugin](https://github.com/GoogleChromeLabs/worker-plugin) from 3.2.0 to 5.0.1.
- [Release notes](https://github.com/GoogleChromeLabs/worker-plugin/releases)
- [Commits](GoogleChromeLabs/worker-plugin@3.2.0...5.0.1)

---
updated-dependencies:
- dependency-name: worker-plugin
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/worker-plugin-5.0.1 branch from 81f3b99 to 27de17a Compare November 5, 2021 17:29
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.

0 participants