cdnjs / api-server

📡 API server for api.cdnjs.com - The #1 free and open source CDN built to make life easier for developers.
https://api.cdnjs.com
MIT License
89 stars 38 forks source link

Bump undici, miniflare and wrangler #93

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps undici to 5.20.0 and updates ancestor dependencies undici, miniflare and wrangler. These dependencies need to be updated together.

Updates undici from 5.9.1 to 5.20.0

Release notes

Sourced from undici's releases.

v5.20.0

What's Changed

Full Changelog: https://github.com/nodejs/undici/compare/v5.19.1...v5.20.0

v5.19.1

⚠️ Security Release ⚠️

This release is part of the Node.js security release train: https://nodejs.org/en/blog/vulnerability/february-2023-security-releases/

v5.19.0

What's Changed

New Contributors

Full Changelog: https://github.com/nodejs/undici/compare/v5.18.0...v5.19.0

v5.18.0

What's Changed

Full Changelog: https://github.com/nodejs/undici/compare/v5.17.1...v5.18.0

v5.17.1

What's Changed

... (truncated)

Commits


Updates miniflare from 2.9.0 to 2.13.0

Release notes

Sourced from miniflare's releases.

v2.13.0

Features

  • Add support for DurableObjectNamespace#jurisdiction() method. Note the passed jurisdiction is validated but otherwise ignored. IDs generated by sub-namespaces in different jurisdictions will be the same. Thanks @​DaniFoldi for the PR.
  • Add support for the non-standard crypto.subtle.timingSafeEqual() function. Thanks @​DaniFoldi for the PR.
  • Remove requirement for experimental compatibility flag alongside nodejs_compat to use node:assert, node:buffer and node:util modules. Closes [issue #547](cloudflare/miniflare#547), thanks @​Skye-31 and @​DaniFoldi for the PR.

Fixes

v2.12.2

Fixes

v2.12.1

⚠️ Security Update

Fixes

v2.12.0

Features

  • Add support for R2 multipart upload bindings.

  • Add support for dynamic import()s. Closes [issue #456](cloudflare/miniflare#456), thanks @​calebmer.

  • Add support for the new WebSocket() constructor. This is an alternative standard API to fetch-with-Upgrade: websocket for creating WebSocket clients.

  • Add support for the nodejs_compat compatibility flag, specifically the node:assert, node:async_hooks, node:buffer, node:events, and node:util modules. For now, the experimental compatibility flag must also be enabled to use node:assert, node:buffer or node:events. Thanks @​GregBrimble for the PR.

  • Extract out types for test environment global helper functions. Add either jest-environment-miniflare/globals or vitest-environment-miniflare/globals to your tsconfig.json's types array to include them. Closes [issue #94](cloudflare/miniflare#94), thanks @​ryan-mars.

    // tsconfig.json
    {
      "compilerOptions": {
        // ...
        "types": [
          "@cloudflare/workers-types",
          // For Jest...
          "jest",
          "jest-environment-miniflare/globals"
          // ...or for Vitest
          "vitest-environment-miniflare/globals"
        ]
    

... (truncated)

Commits


Updates wrangler from 2.1.9 to 2.20.0

Release notes

Sourced from wrangler's releases.

wrangler@2.20.0

Minor Changes

  • #2966 e351afcf Thanks @​GregBrimble! - feat: Add support for the undocumented _worker.js/ directory in Pages

  • #3095 133c0423 Thanks @​zebp! - feat: add support for placement in wrangler config

    Allows a placement object in the wrangler config with a mode of off or smart to configure Smart placement. Enabling Smart Placement can be done in your wrangler.toml like:

    [placement]
    mode = "smart"
    
  • #3140 5fd080c8 Thanks @​penalosa! - feat: Support sourcemaps in DevTools

    Intercept requests from DevTools in Wrangler to inject sourcemaps and enable folders in the Sources Panel of DevTools. When errors are thrown in your Worker, DevTools should now show your source file in the Sources panel, rather than Wrangler's bundled output.

Patch Changes

wrangler@2.19.0

Minor Changes

wrangler@2.18.0

Minor Changes

  • #3098 8818f551 Thanks @​mrbbot! - fix: improve Workers Sites asset upload reliability

    • Wrangler no longer buffers all assets into memory before uploading. This should prevent out-of-memory errors when publishing sites with many large files.
    • Wrangler now limits the number of in-flight asset upload requests to 5, fixing the Too many bulk operations already in progress error.
    • Wrangler now correctly logs upload progress. Previously, the reported percentage was per upload request group, not across all assets.
    • Wrangler no longer logs all assets to the console by default. Instead, it will just log the first 100. The rest can be shown by setting the WRANGLER_LOG=debug environment variable. A splash of colour has also been added.

wrangler@2.17.0

Minor Changes

... (truncated)

Changelog

Sourced from wrangler's changelog.

2.20.0

Minor Changes

  • #3095 133c0423 Thanks @​zebp! - feat: add support for placement in wrangler config

    Allows a placement object in the wrangler config with a mode of off or smart to configure Smart placement. Enabling Smart Placement can be done in your wrangler.toml like:

    [placement]
    mode = "smart"
    
  • #3140 5fd080c8 Thanks @​penalosa! - feat: Support sourcemaps in DevTools

    Intercept requests from DevTools in Wrangler to inject sourcemaps and enable folders in the Sources Panel of DevTools. When errors are thrown in your Worker, DevTools should now show your source file in the Sources panel, rather than Wrangler's bundled output.

Patch Changes

2.19.0

Minor Changes

2.18.0

Minor Changes

  • #3098 8818f551 Thanks @​mrbbot! - fix: improve Workers Sites asset upload reliability

    • Wrangler no longer buffers all assets into memory before uploading. This should prevent out-of-memory errors when publishing sites with many large files.
    • Wrangler now limits the number of in-flight asset upload requests to 5, fixing the Too many bulk operations already in progress error.
    • Wrangler now correctly logs upload progress. Previously, the reported percentage was per upload request group, not across all assets.
    • Wrangler no longer logs all assets to the console by default. Instead, it will just log the first 100. The rest can be shown by setting the WRANGLER_LOG=debug environment variable. A splash of colour has also been added.

2.17.0

Minor Changes

... (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 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](https://github.com/cdnjs/api-server/network/alerts).