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 all non-major dependencies #1959

Merged
merged 1 commit into from
Jan 10, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 9, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
deno (source) 2.1.4 -> 2.1.5 age adoption passing confidence
wrangler (source) 3.100.0 -> 3.101.0 age adoption passing confidence

Release Notes

denoland/deno (deno)

v2.1.5

Compare Source

  • feat(unstable): implement QUIC (#​21942)
  • feat(unstable): add JS linting plugin infrastructure (#​27416)
  • feat(unstable): add OTEL MeterProvider (#​27240)
  • feat(unstable): no config npm:@​opentelemetry/api integration (#​27541)
  • feat(unstable): replace SpanExporter with TracerProvider (#​27473)
  • feat(unstable): support selectors in JS lint plugins (#​27452)
  • fix(check): line-break between diagnostic message chain entries (#​27543)
  • fix(check): move module not found errors to typescript diagnostics (#​27533)
  • fix(compile): analyze modules in directory specified in --include (#​27296)
  • fix(compile): be more deterministic when compiling the same code in different
    directories (#​27395)
  • fix(compile): display embedded file sizes and total (#​27360)
  • fix(compile): output contents of embedded file system (#​27302)
  • fix(ext/fetch): better error message when body resource is unavailable
    (#​27429)
  • fix(ext/fetch): retry some http/2 errors (#​27417)
  • fix(ext/fs): do not throw for bigint ctime/mtime/atime (#​27453)
  • fix(ext/http): improve error message when underlying resource of request body
    unavailable (#​27463)
  • fix(ext/net): update moka cache to avoid potential panic in Deno.resolveDns
    on some laptops with Ryzen CPU (#​27572)
  • fix(ext/node): fix fs.access/fs.promises.access with X_OK mode parameter
    on Windows (#​27407)
  • fix(ext/node): fix os.cpus() on Linux (#​27592)
  • fix(ext/node): RangeError timingSafeEqual with different byteLength (#​27470)
  • fix(ext/node): add truncate method to the FileHandle class (#​27389)
  • fix(ext/node): add support of any length IV for aes-(128|256)-gcm ciphers
    (#​27476)
  • fix(ext/node): convert brotli chunks with proper byte offset (#​27455)
  • fix(ext/node): do not exit worker thread when there is pending async op
    (#​27378)
  • fix(ext/node): have process global available in Node context (#​27562)
  • fix(ext/node): make getCiphers return supported ciphers (#​27466)
  • fix(ext/node): sort list of built-in modules alphabetically (#​27410)
  • fix(ext/node): support createConnection option in node:http.request() (#​25470)
  • fix(ext/node): support private key export in JWK format (#​27325)
  • fix(ext/web): add [[ErrorData]] slot to DOMException (#​27342)
  • fix(ext/websocket): Fix close code without reason (#​27578)
  • fix(jsr): Wasm imports fail to load (#​27594)
  • fix(kv): improve backoff error message and inline documentation (#​27537)
  • fix(lint): fix single char selectors being ignored (#​27576)
  • fix(lockfile): include dependencies listed in external import map in lockfile
    (#​27337)
  • fix(lsp): css preprocessor formatting (#​27526)
  • fix(lsp): don't skip dirs with enabled subdirs (#​27580)
  • fix(lsp): include "node:" prefix for node builtin auto-imports (#​27404)
  • fix(lsp): respect "typescript.suggestionActions.enabled" setting (#​27373)
  • fix(lsp): rewrite imports for 'Move to a new file' action (#​27427)
  • fix(lsp): sql and component file formatting (#​27350)
  • fix(lsp): use verbatim specifier for URL auto-imports (#​27605)
  • fix(no-slow-types): handle rest param with internal assignments (#​27581)
  • fix(node/fs): add a chmod method to the FileHandle class (#​27522)
  • fix(node): add missing inspector/promises (#​27491)
  • fix(node): handle cjs exports with escaped chars (#​27438)
  • fix(npm): deterministically output tags to initialized file (#​27514)
  • fix(npm): search node_modules folder for package matching npm specifier
    (#​27345)
  • fix(outdated): ensure "Latest" version is greater than "Update" version
    (#​27390)
  • fix(outdated): support updating dependencies in external import maps (#​27339)
  • fix(permissions): implicit --allow-import when using --cached-only
    (#​27530)
  • fix(publish): infer literal types in const contexts (#​27425)
  • fix(task): properly handle task name wildcards with --recursive (#​27396)
  • fix(task): support tasks without commands (#​27191)
  • fix(unstable): don't error on non-existing attrs or type attr (#​27456)
  • fix: FastString v8_string() should error when cannot allocated (#​27375)
  • fix: deno_resolver crate without 'sync' feature (#​27403)
  • fix: incorrect memory info free/available bytes on mac (#​27460)
  • fix: upgrade deno_doc to 0.161.3 (#​27377)
  • perf(fs/windows): stat - only open file once (#​27487)
  • perf(node/fs/copy): reduce metadata lookups copying directory (#​27495)
  • perf: don't store duplicate info for ops in the snapshot (#​27430)
  • perf: remove now needless canonicalization getting closest package.json
    (#​27437)
  • perf: upgrade to deno_semver 0.7 (#​27426)
cloudflare/workers-sdk (wrangler)

v3.101.0

Compare Source

Minor Changes
  • #​7534 7c8ae1c Thanks @​cmackenzie1! - feat: Use OAuth flow to generate R2 tokens for Pipelines

  • #​7674 45d1d1e Thanks @​Ankcorn! - Add support for env files to wrangler secret bulk i.e. .dev.vars

    Run wrangler secret bulk .dev.vars to add the env file

    //.dev.vars
    KEY=VALUE
    KEY_2=VALUE

    This will upload the secrets KEY and KEY_2 to your worker

  • #​7442 e4716cc Thanks @​petebacondarwin! - feat: add support for redirecting Wrangler to a generated config when running deploy-related commands

    This new feature is designed for build tools and frameworks to provide a deploy-specific configuration,
    which Wrangler can use instead of user configuration when running deploy-related commands.
    It is not expected that developers of Workers will need to use this feature directly.

Affected commands

The commands that use this feature are:

  • wrangler deploy
  • wrangler dev
  • wrangler versions upload
  • wrangler versions deploy
  • wrangler pages deploy
  • wrangler pages build
  • wrangler pages build-env
Config redirect file

When running these commands, Wrangler will look up the directory tree from the current working directory for a file at the path .wrangler/deploy/config.json. This file must contain only a single JSON object of the form:

{ "configPath": "../../path/to/wrangler.json" }

When this file exists Wrangler will follow the configPath (relative to the .wrangler/deploy/config.json file) to find an alternative Wrangler configuration file to load and use as part of this command.

When this happens Wrangler will display a warning to the user to indicate that the configuration has been redirected to a different file than the user's configuration file.

Custom build tool example

A common approach that a build tool might choose to implement.

  • The user writes code that uses Cloudflare Workers resources, configured via a user wrangler.toml file.

    name = "my-worker"
    main = "src/index.ts"
    [[kv_namespaces]]
    binding = "<BINDING_NAME1>"
    id = "<NAMESPACE_ID1>"

    Note that this configuration points main at user code entry-point.

  • The user runs a custom build, which might read the wrangler.toml to find the entry-point:

    > my-tool build
  • This tool generates a dist directory that contains both compiled code and a new deployment configuration file, but also a .wrangler/deploy/config.json file that redirects Wrangler to this new deployment configuration file:

    - dist
      - index.js
    	- wrangler.json
    - .wrangler
      - deploy
    	  - config.json
    

    The dist/wrangler.json will contain:

    {
      "name": "my-worker",
      "main": "./index.js",
      "kv_namespaces": [
        { "binding": "<BINDING_NAME1>", "id": "<NAMESPACE_ID1>" }
      ]
    }

    And the .wrangler/deploy/config.json will contain:

    {
      "configPath": "../../dist/wrangler.json"
    }
  • #​7685 9d2740a Thanks @​vicb! - allow overriding the unenv preset.

    By default wrangler uses the bundled unenv preset.

    Setting WRANGLER_UNENV_RESOLVE_PATHS allow to use another version of the preset.
    Those paths are used when resolving the unenv module identifiers to absolute paths.
    This can be used to test a development version.

  • #​7694 f3c2f69 Thanks @​joshthoward! - Default wrangler d1 export to --local rather than failing

Patch Changes

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Jan 9, 2025
Copy link
Contributor

github-actions bot commented Jan 9, 2025

@benchmarks/node-fetch results (consumeBody)

   ✓ active_handles.................: avg=140.49259 min=13      med=141     max=182     p(90)=157     p(95)=162    
     data_received..................: 20 MB  677 kB/s
     data_sent......................: 13 MB  434 kB/s
     http_req_blocked...............: avg=2.97µs    min=671ns   med=1.41µs  max=6.58ms  p(90)=2.11µs  p(95)=2.43µs 
     http_req_connecting............: avg=1.08µs    min=0s      med=0s      max=3.94ms  p(90)=0s      p(95)=0s     
     http_req_duration..............: avg=22.53ms   min=2.65ms  med=22.04ms max=1.15s   p(90)=28.05ms p(95)=29.56ms
       { expected_response:true }...: avg=22.53ms   min=2.65ms  med=22.04ms max=1.15s   p(90)=28.05ms p(95)=29.56ms
     http_req_failed................: 0.00%  ✓ 0           ✗ 132703
     http_req_receiving.............: avg=36.96µs   min=10.57µs med=26.78µs max=29.28ms p(90)=40.87µs p(95)=47.66µs
     http_req_sending...............: avg=11.93µs   min=3.66µs  med=7.07µs  max=18.06ms p(90)=10.59µs p(95)=14.48µs
     http_req_tls_handshaking.......: avg=0s        min=0s      med=0s      max=0s      p(90)=0s      p(95)=0s     
     http_req_waiting...............: avg=22.48ms   min=2.6ms   med=21.99ms max=1.15s   p(90)=28ms    p(95)=29.5ms 
     http_reqs......................: 132703 4422.945773/s
     iteration_duration.............: avg=45.17ms   min=9.63ms  med=43.73ms max=1.18s   p(90)=48.48ms p(95)=54.78ms
     iterations.....................: 66325  2210.58965/s
     vus............................: 95     min=95        max=100 
     vus_max........................: 100    min=100       max=100 

Copy link
Contributor

github-actions bot commented Jan 9, 2025

@benchmarks/server results (ponyfill)

     ✓ no-errors
     ✓ expected-result

   ✓ checks.........................: 100.00% ✓ 296610      ✗ 0     
     data_received..................: 29 MB   974 kB/s
     data_sent......................: 12 MB   396 kB/s
     http_req_blocked...............: avg=1.39µs   min=891ns    med=1.18µs   max=177.16µs p(90)=1.88µs   p(95)=2.06µs  
     http_req_connecting............: avg=0ns      min=0s       med=0s       max=116.69µs p(90)=0s       p(95)=0s      
     http_req_duration..............: avg=140.02µs min=93.58µs  med=135.07µs max=5.72ms   p(90)=157.17µs p(95)=164.38µs
       { expected_response:true }...: avg=140.02µs min=93.58µs  med=135.07µs max=5.72ms   p(90)=157.17µs p(95)=164.38µs
     http_req_failed................: 0.00%   ✓ 0           ✗ 148305
     http_req_receiving.............: avg=24.7µs   min=12.51µs  med=23.29µs  max=3.17ms   p(90)=30.38µs  p(95)=33.04µs 
     http_req_sending...............: avg=6.26µs   min=4.03µs   med=5.44µs   max=174.58µs p(90)=8.04µs   p(95)=8.75µs  
     http_req_tls_handshaking.......: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting...............: avg=109.04µs min=68.59µs  med=103.74µs max=5.6ms    p(90)=122.69µs p(95)=128.63µs
     http_reqs......................: 148305  4943.330805/s
     iteration_duration.............: avg=197.8µs  min=141.74µs med=192.17µs max=6.17ms   p(90)=217.46µs p(95)=226.99µs
     iterations.....................: 148305  4943.330805/s
     vus............................: 1       min=1         max=1   
     vus_max........................: 1       min=1         max=1   

Copy link
Contributor

github-actions bot commented Jan 9, 2025

@benchmarks/server results (native)

     ✓ no-errors
     ✓ expected-result

   ✓ checks.........................: 100.00% ✓ 209574      ✗ 0     
     data_received..................: 21 MB   702 kB/s
     data_sent......................: 8.4 MB  279 kB/s
     http_req_blocked...............: avg=1.42µs   min=892ns    med=1.2µs    max=257.35µs p(90)=1.9µs    p(95)=2.05µs  
     http_req_connecting............: avg=1ns      min=0s       med=0s       max=118.26µs p(90)=0s       p(95)=0s      
     http_req_duration..............: avg=223.84µs min=168.89µs med=213.74µs max=8ms      p(90)=240.73µs p(95)=251.32µs
       { expected_response:true }...: avg=223.84µs min=168.89µs med=213.74µs max=8ms      p(90)=240.73µs p(95)=251.32µs
     http_req_failed................: 0.00%   ✓ 0           ✗ 104787
     http_req_receiving.............: avg=25.34µs  min=13.93µs  med=23.83µs  max=2.89ms   p(90)=30.25µs  p(95)=32.89µs 
     http_req_sending...............: avg=6.35µs   min=3.99µs   med=5.56µs   max=567.19µs p(90)=8.11µs   p(95)=8.83µs  
     http_req_tls_handshaking.......: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting...............: avg=192.14µs min=146.73µs med=182.21µs max=7.95ms   p(90)=206.53µs p(95)=215.96µs
     http_reqs......................: 104787  3492.730451/s
     iteration_duration.............: avg=281.8µs  min=210.63µs med=270.76µs max=8.46ms   p(90)=300.92µs p(95)=314.35µs
     iterations.....................: 104787  3492.730451/s
     vus............................: 1       min=1         max=1   
     vus_max........................: 1       min=1         max=1   

Copy link
Contributor

github-actions bot commented Jan 9, 2025

@benchmarks/node-fetch results (noConsumeBody)

   ✓ active_handles.................: avg=140.11715 min=27     med=140     max=189     p(90)=160     p(95)=165    
     data_received..................: 21 MB  711 kB/s
     data_sent......................: 14 MB  460 kB/s
     http_req_blocked...............: avg=3.81µs    min=621ns  med=1.39µs  max=10.32ms p(90)=2.08µs  p(95)=2.45µs 
     http_req_connecting............: avg=1.71µs    min=0s     med=0s      max=5.47ms  p(90)=0s      p(95)=0s     
     http_req_duration..............: avg=21.44ms   min=4.81ms med=20.8ms  max=1.12s   p(90)=27.04ms p(95)=28.91ms
       { expected_response:true }...: avg=21.44ms   min=4.81ms med=20.8ms  max=1.12s   p(90)=27.04ms p(95)=28.91ms
     http_req_failed................: 0.00%  ✓ 0           ✗ 139402
     http_req_receiving.............: avg=34.11µs   min=9.92µs med=23.91µs max=16.31ms p(90)=38.65µs p(95)=46.2µs 
     http_req_sending...............: avg=12.25µs   min=3.53µs med=6.84µs  max=16.82ms p(90)=10.23µs p(95)=14.58µs
     http_req_tls_handshaking.......: avg=0s        min=0s     med=0s      max=0s      p(90)=0s      p(95)=0s     
     http_req_waiting...............: avg=21.4ms    min=4.76ms med=20.76ms max=1.12s   p(90)=27ms    p(95)=28.84ms
     http_reqs......................: 139402 4645.964536/s
     iteration_duration.............: avg=43.01ms   min=19.8ms med=41.38ms max=1.16s   p(90)=48.62ms p(95)=53.17ms
     iterations.....................: 69680  2322.282384/s
     vus............................: 100    min=100       max=100 
     vus_max........................: 100    min=100       max=100 

Copy link
Contributor

github-actions bot commented Jan 9, 2025

🚀 Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets):

Package Version Info
@whatwg-node/fetch 0.10.2-alpha-20250109232708-2991d90eb21112e812c9058f8263208dd56c7280 npm ↗︎ unpkg ↗︎
@whatwg-node/node-fetch 0.7.6-alpha-20250109232708-2991d90eb21112e812c9058f8263208dd56c7280 npm ↗︎ unpkg ↗︎

Copy link
Contributor

github-actions bot commented Jan 9, 2025

@benchmarks/server results (undici)

     ✓ no-errors
     ✓ expected-result

   ✓ checks.........................: 100.00% ✓ 219122      ✗ 0     
     data_received..................: 22 MB   734 kB/s
     data_sent......................: 8.8 MB  292 kB/s
     http_req_blocked...............: avg=1.39µs   min=891ns    med=1.18µs   max=174.78µs p(90)=1.91µs   p(95)=2.06µs  
     http_req_connecting............: avg=1ns      min=0s       med=0s       max=126.99µs p(90)=0s       p(95)=0s      
     http_req_duration..............: avg=211.54µs min=155.75µs med=199.51µs max=42.69ms  p(90)=225.41µs p(95)=234.89µs
       { expected_response:true }...: avg=211.54µs min=155.75µs med=199.51µs max=42.69ms  p(90)=225.41µs p(95)=234.89µs
     http_req_failed................: 0.00%   ✓ 0           ✗ 109561
     http_req_receiving.............: avg=25.25µs  min=13.92µs  med=23.43µs  max=2.58ms   p(90)=30.48µs  p(95)=33.32µs 
     http_req_sending...............: avg=6.31µs   min=4.22µs   med=5.5µs    max=278.01µs p(90)=8.13µs   p(95)=8.72µs  
     http_req_tls_handshaking.......: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting...............: avg=179.97µs min=132.06µs med=168.04µs max=42.6ms   p(90)=190.82µs p(95)=199.47µs
     http_reqs......................: 109561  3651.908946/s
     iteration_duration.............: avg=269.37µs min=199.34µs med=256.43µs max=42.82ms  p(90)=285.79µs p(95)=297.28µs
     iterations.....................: 109561  3651.908946/s
     vus............................: 1       min=1         max=1   
     vus_max........................: 1       min=1         max=1   

@renovate renovate bot merged commit eb1ab5b into master Jan 10, 2025
24 checks passed
@renovate renovate bot deleted the renovate/all-minor-patch branch January 10, 2025 00:54
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