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: update all non-major dependencies #27708

Merged
merged 1 commit into from
May 27, 2024

Conversation

angular-robot
Copy link
Collaborator

@angular-robot angular-robot commented May 24, 2024

This PR contains the following updates:

Package Type Update Change
@babel/core (source) dependencies patch 7.24.5 -> 7.24.6
@babel/core (source) devDependencies patch 7.24.5 -> 7.24.6
@babel/generator (source) dependencies patch 7.24.5 -> 7.24.6
@babel/generator (source) devDependencies patch 7.24.5 -> 7.24.6
@babel/helper-annotate-as-pure (source) dependencies minor 7.22.5 -> 7.24.6
@babel/helper-annotate-as-pure (source) devDependencies minor 7.22.5 -> 7.24.6
@babel/helper-split-export-declaration (source) dependencies patch 7.24.5 -> 7.24.6
@babel/helper-split-export-declaration (source) devDependencies patch 7.24.5 -> 7.24.6
@babel/plugin-transform-async-generator-functions (source) dependencies patch 7.24.3 -> 7.24.6
@babel/plugin-transform-async-generator-functions (source) devDependencies patch 7.24.3 -> 7.24.6
@babel/plugin-transform-async-to-generator (source) dependencies patch 7.24.1 -> 7.24.6
@babel/plugin-transform-async-to-generator (source) devDependencies patch 7.24.1 -> 7.24.6
@babel/plugin-transform-runtime (source) dependencies patch 7.24.3 -> 7.24.6
@babel/plugin-transform-runtime (source) devDependencies patch 7.24.3 -> 7.24.6
@babel/preset-env (source) dependencies patch 7.24.5 -> 7.24.6
@babel/preset-env (source) devDependencies patch 7.24.5 -> 7.24.6
@babel/runtime (source) dependencies patch 7.24.5 -> 7.24.6
@babel/runtime (source) devDependencies patch 7.24.5 -> 7.24.6
@bazel/buildifier devDependencies patch 7.1.1 -> 7.1.2
ajv (source) dependencies minor 8.13.0 -> 8.14.0
ajv (source) devDependencies minor 8.13.0 -> 8.14.0
aspect_bazel_lib http_archive patch v2.7.3 -> v2.7.6
esbuild optionalDependencies patch 0.21.3 -> 0.21.4
esbuild dependencies patch 0.21.3 -> 0.21.4
esbuild devDependencies patch 0.21.3 -> 0.21.4
esbuild-wasm dependencies patch 0.21.3 -> 0.21.4
esbuild-wasm devDependencies patch 0.21.3 -> 0.21.4

Release Notes

babel/babel (@​babel/core)

v7.24.6

Compare Source

🐛 Bug Fix
  • babel-helper-create-class-features-plugin, babel-plugin-transform-class-properties
  • babel-core, babel-generator, babel-plugin-transform-modules-commonjs
  • babel-helper-create-class-features-plugin, babel-plugin-proposal-decorators
  • babel-helpers, babel-plugin-proposal-decorators, babel-runtime-corejs3
  • babel-parser, babel-plugin-transform-typescript
🏠 Internal
  • babel-core, babel-helpers, babel-plugin-transform-runtime, babel-preset-env, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime
  • babel-helpers
  • babel-cli, babel-helpers, babel-plugin-external-helpers, babel-plugin-proposal-decorators, babel-plugin-transform-class-properties, babel-plugin-transform-modules-commonjs, babel-plugin-transform-modules-systemjs, babel-plugin-transform-runtime, babel-preset-env, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime
  • babel-parser, babel-traverse
  • Other
bazelbuild/buildtools (@​bazel/buildifier)

v7.1.2: Release 7.1.2 (2024-05-23)

Compare Source

What's Changed

Full Changelog: bazelbuild/buildtools@v7.1.1...v7.1.2

ajv-validator/ajv (ajv)

v8.14.0

Compare Source

What's Changed
New Contributors

Full Changelog: ajv-validator/ajv@v8.13.0...v8.14.0

aspect-build/bazel-lib (aspect_bazel_lib)

v2.7.6

Compare Source

Using Bzlmod with Bazel 6:

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "aspect_bazel_lib", version = "2.7.6")

Read more about bzlmod: https://blog.aspect.dev/bzlmod

Using WORKSPACE

Paste this snippet into your WORKSPACE file:

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "aspect_bazel_lib",
    sha256 = "b59781939f40c8bf148f4a71bd06e3027e15e40e98143ea5688b83531ec8528f",
    strip_prefix = "bazel-lib-2.7.6",
    url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.7.6/bazel-lib-v2.7.6.tar.gz",
)

load("@​aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies", "aspect_bazel_lib_register_toolchains")

### Required bazel-lib dependencies

aspect_bazel_lib_dependencies()

### Register bazel-lib toolchains

aspect_bazel_lib_register_toolchains()

Full Changelog: aspect-build/bazel-lib@v2.7.3...v2.7.6

What's Changed

New Contributors

Full Changelog: aspect-build/bazel-lib@v2.7.3...v2.7.6

v2.7.5

Compare Source

Broken, do not use.
Release integrity shas are expected in the wrong format.

v2.7.4

Compare Source

Broken, do not use.
The integrity hashes for release binaries in the artifact don't match the ones fetched from GitHub.

evanw/esbuild (esbuild)

v0.21.4

Compare Source

  • Update support for import assertions and import attributes in node (#​3778)

    Import assertions (the assert keyword) have been removed from node starting in v22.0.0. So esbuild will now strip them and generate a warning with --target=node22 or above:

    ▲ [WARNING] The "assert" keyword is not supported in the configured target environment ("node22") [assert-to-with]
    
        example.mjs:1:40:
          1 │ import json from "esbuild/package.json" assert { type: "json" }
            │                                         ~~~~~~
            ╵                                         with
    
      Did you mean to use "with" instead of "assert"?
    

    Import attributes (the with keyword) have been backported to node 18 starting in v18.20.0. So esbuild will no longer strip them with --target=node18.N if N is 20 or greater.

  • Fix for await transform when a label is present

    This release fixes a bug where the for await transform, which wraps the loop in a try statement, previously failed to also move the loop's label into the try statement. This bug only affects code that uses both of these features in combination. Here's an example of some affected code:

    // Original code
    async function test() {
      outer: for await (const x of [Promise.resolve([0, 1])]) {
        for (const y of x) if (y) break outer
        throw 'fail'
      }
    }
    
    // Old output (with --target=es6)
    function test() {
      return __async(this, null, function* () {
        outer: try {
          for (var iter = __forAwait([Promise.resolve([0, 1])]), more, temp, error; more = !(temp = yield iter.next()).done; more = false) {
            const x = temp.value;
            for (const y of x) if (y) break outer;
            throw "fail";
          }
        } catch (temp) {
          error = [temp];
        } finally {
          try {
            more && (temp = iter.return) && (yield temp.call(iter));
          } finally {
            if (error)
              throw error[0];
          }
        }
      });
    }
    
    // New output (with --target=es6)
    function test() {
      return __async(this, null, function* () {
        try {
          outer: for (var iter = __forAwait([Promise.resolve([0, 1])]), more, temp, error; more = !(temp = yield iter.next()).done; more = false) {
            const x = temp.value;
            for (const y of x) if (y) break outer;
            throw "fail";
          }
        } catch (temp) {
          error = [temp];
        } finally {
          try {
            more && (temp = iter.return) && (yield temp.call(iter));
          } finally {
            if (error)
              throw error[0];
          }
        }
      });
    }
  • Do additional constant folding after cross-module enum inlining (#​3416, #​3425)

    This release adds a few more cases where esbuild does constant folding after cross-module enum inlining.

    // Original code: enum.ts
    export enum Platform {
      WINDOWS = 'windows',
      MACOS = 'macos',
      LINUX = 'linux',
    }
    
    // Original code: main.ts
    import { Platform } from './enum';
    declare const PLATFORM: string;
    export function logPlatform() {
      if (PLATFORM == Platform.WINDOWS) console.log('Windows');
      else if (PLATFORM == Platform.MACOS) console.log('macOS');
      else if (PLATFORM == Platform.LINUX) console.log('Linux');
      else console.log('Other');
    }
    
    // Old output (with --bundle '--define:PLATFORM="macos"' --minify --format=esm)
    function n(){"windows"=="macos"?console.log("Windows"):"macos"=="macos"?console.log("macOS"):"linux"=="macos"?console.log("Linux"):console.log("Other")}export{n as logPlatform};
    
    // New output (with --bundle '--define:PLATFORM="macos"' --minify --format=esm)
    function n(){console.log("macOS")}export{n as logPlatform};
  • Pass import attributes to on-resolve plugins (#​3384, #​3639, #​3646)

    With this release, on-resolve plugins will now have access to the import attributes on the import via the with property of the arguments object. This mirrors the with property of the arguments object that's already passed to on-load plugins. In addition, you can now pass with to the resolve() API call which will then forward that value on to all relevant plugins. Here's an example of a plugin that can now be written:

    const examplePlugin = {
      name: 'Example plugin',
      setup(build) {
        build.onResolve({ filter: /.*/ }, args => {
          if (args.with.type === 'external')
            return { external: true }
        })
      }
    }
    
    require('esbuild').build({
      stdin: {
        contents: `
          import foo from "./foo" with { type: "external" }
          foo()
        `,
      },
      bundle: true,
      format: 'esm',
      write: false,
      plugins: [examplePlugin],
    }).then(result => {
      console.log(result.outputFiles[0].text)
    })
  • Formatting support for the @position-try rule (#​3773)

    Chrome shipped this new CSS at-rule in version 125 as part of the CSS anchor positioning API. With this release, esbuild now knows to expect a declaration list inside of the @position-try body block and will format it appropriately.

  • Always allow internal string import and export aliases (#​3343)

    Import and export names can be string literals in ES2022+. Previously esbuild forbid any usage of these aliases when the target was below ES2022. Starting with this release, esbuild will only forbid such usage when the alias would otherwise end up in output as a string literal. String literal aliases that are only used internally in the bundle and are "compiled away" are no longer errors. This makes it possible to use string literal aliases with esbuild's inject feature even when the target is earlier than ES2022.


Configuration

📅 Schedule: Branch creation - "after 10:00pm every weekday,before 4:00am every weekday,every weekend" in timezone America/Tijuana, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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 has been generated by Renovate Bot.

@angular-robot angular-robot added action: merge The PR is ready for merge by the caretaker target: minor This PR is targeted for the next minor release labels May 24, 2024
@angular-robot angular-robot bot added the area: build & ci Related the build and CI infrastructure of the project label May 24, 2024
@angular-robot angular-robot force-pushed the ng-renovate/all-minor-patch branch 2 times, most recently from 850cca2 to 303dd92 Compare May 25, 2024 02:25
@alan-agius4 alan-agius4 merged commit 84cb277 into angular:main May 27, 2024
30 checks passed
@angular-robot angular-robot deleted the ng-renovate/all-minor-patch branch May 27, 2024 06:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project target: minor This PR is targeted for the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants