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): bump esbuild from 0.15.18 to 0.24.2 in the markdown group #1525

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

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 25, 2024

Bumps the markdown group with 1 update: esbuild.

Updates esbuild from 0.15.18 to 0.24.2

Release notes

Sourced from esbuild's releases.

v0.24.2

  • Fix regression with --define and import.meta (#4010, #4012, #4013)

    The previous change in version 0.24.1 to use a more expression-like parser for define values to allow quoted property names introduced a regression that removed the ability to use --define:import.meta=.... Even though import is normally a keyword that can't be used as an identifier, ES modules special-case the import.meta expression to behave like an identifier anyway. This change fixes the regression.

    This fix was contributed by @​sapphi-red.

v0.24.1

  • Allow es2024 as a target in tsconfig.json (#4004)

    TypeScript recently added es2024 as a compilation target, so esbuild now supports this in the target field of tsconfig.json files, such as in the following configuration file:

    {
      "compilerOptions": {
        "target": "ES2024"
      }
    }

    As a reminder, the only thing that esbuild uses this field for is determining whether or not to use legacy TypeScript behavior for class fields. You can read more in the documentation.

    This fix was contributed by @​billyjanitsch.

  • Allow automatic semicolon insertion after get/set

    This change fixes a grammar bug in the parser that incorrectly treated the following code as a syntax error:

    class Foo {
      get
      *x() {}
      set
      *y() {}
    }

    The above code will be considered valid starting with this release. This change to esbuild follows a similar change to TypeScript which will allow this syntax starting with TypeScript 5.7.

  • Allow quoted property names in --define and --pure (#4008)

    The define and pure API options now accept identifier expressions containing quoted property names. Previously all identifiers in the identifier expression had to be bare identifiers. This change now makes --define and --pure consistent with --global-name, which already supported quoted property names. For example, the following is now possible:

    // The following code now transforms to "return true;\n"
    console.log(esbuild.transformSync(
      `return process.env['SOME-TEST-VAR']`,
      { define: { 'process.env["SOME-TEST-VAR"]': 'true' } },
    ))

... (truncated)

Changelog

Sourced from esbuild's changelog.

Changelog: 2022

This changelog documents all esbuild versions published in the year 2022 (versions 0.14.11 through 0.16.12).

0.16.12

  • Loader defaults to js for extensionless files (#2776)

    Certain packages contain files without an extension. For example, the yargs package contains the file yargs/yargs which has no extension. Node, Webpack, and Parcel can all understand code that imports yargs/yargs because they assume that the file is JavaScript. However, esbuild was previously unable to understand this code because it relies on the file extension to tell it how to interpret the file. With this release, esbuild will now assume files without an extension are JavaScript files. This can be customized by setting the loader for "" (the empty string, representing files without an extension) to another loader. For example, if you want files without an extension to be treated as CSS instead, you can do that like this:

    • CLI:

      esbuild --bundle --loader:=css
      
    • JS:

      esbuild.build({
        bundle: true,
        loader: { '': 'css' },
      })
    • Go:

      api.Build(api.BuildOptions{
        Bundle: true,
        Loader: map[string]api.Loader{"": api.LoaderCSS},
      })

    In addition, the "type" field in package.json files now only applies to files with an explicit .js, .jsx, .ts, or .tsx extension. Previously it was incorrectly applied by esbuild to all files that had an extension other than .mjs, .mts, .cjs, or .cts including extensionless files. So for example an extensionless file in a "type": "module" package is now treated as CommonJS instead of ESM.

0.16.11

  • Avoid a syntax error in the presence of direct eval (#2761)

    The behavior of nested function declarations in JavaScript depends on whether the code is run in strict mode or not. It would be problematic if esbuild preserved nested function declarations in its output because then the behavior would depend on whether the output was run in strict mode or not instead of respecting the strict mode behavior of the original source code. To avoid this, esbuild transforms nested function declarations to preserve the intended behavior of the original source code regardless of whether the output is run in strict mode or not:

    // Original code
    if (true) {
      function foo() {}
      console.log(!!foo)
      foo = null
      console.log(!!foo)
    }

... (truncated)

Commits

Dependabot compatibility score

You can trigger a rebase of this PR 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot requested a review from jerensl as a code owner December 25, 2024 03:05
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Dec 25, 2024
Copy link

@jerensl-bot jerensl-bot bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto approved automated PR

@jerensl-bot jerensl-bot bot added the automerge To be merged automatically when adding label label Dec 25, 2024
Copy link
Contributor

Azure Static Web Apps: Your stage site is ready! Visit it here: https://orange-sky-0b7fc6700-1525.eastasia.5.azurestaticapps.net

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/markdown-c2660773f4 branch from b0138f2 to 211e858 Compare December 25, 2024 08:00
Copy link

@jerensl-bot jerensl-bot bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto approved automated PR

Copy link
Contributor

Azure Static Web Apps: Your stage site is ready! Visit it here: https://orange-sky-0b7fc6700-1525.eastasia.5.azurestaticapps.net

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/markdown-c2660773f4 branch from 211e858 to fecf13a Compare December 25, 2024 10:28
Copy link

@jerensl-bot jerensl-bot bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto approved automated PR

Copy link
Contributor

Azure Static Web Apps: Your stage site is ready! Visit it here: https://orange-sky-0b7fc6700-1525.eastasia.5.azurestaticapps.net

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/markdown-c2660773f4 branch from fecf13a to 31fc4f0 Compare December 25, 2024 10:32
Copy link

@jerensl-bot jerensl-bot bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto approved automated PR

Copy link
Contributor

Azure Static Web Apps: Your stage site is ready! Visit it here: https://orange-sky-0b7fc6700-1525.eastasia.5.azurestaticapps.net

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/markdown-c2660773f4 branch from 31fc4f0 to c730421 Compare December 26, 2024 03:50
Copy link

@jerensl-bot jerensl-bot bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto approved automated PR

Copy link
Contributor

Azure Static Web Apps: Your stage site is ready! Visit it here: https://orange-sky-0b7fc6700-1525.eastasia.5.azurestaticapps.net

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/markdown-c2660773f4 branch from c730421 to 3a783a9 Compare December 26, 2024 03:56
Copy link

@jerensl-bot jerensl-bot bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto approved automated PR

Copy link
Contributor

Azure Static Web Apps: Your stage site is ready! Visit it here: https://orange-sky-0b7fc6700-1525.eastasia.5.azurestaticapps.net

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/markdown-c2660773f4 branch from 3a783a9 to 39597fe Compare December 26, 2024 04:00
Copy link

@jerensl-bot jerensl-bot bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto approved automated PR

Copy link
Contributor

Azure Static Web Apps: Your stage site is ready! Visit it here: https://orange-sky-0b7fc6700-1525.eastasia.5.azurestaticapps.net

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/markdown-c2660773f4 branch from 39597fe to 1c67376 Compare December 26, 2024 04:06
Copy link

@jerensl-bot jerensl-bot bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto approved automated PR

Copy link
Contributor

Azure Static Web Apps: Your stage site is ready! Visit it here: https://orange-sky-0b7fc6700-1525.eastasia.5.azurestaticapps.net

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/markdown-c2660773f4 branch from 1c67376 to 38d1ca3 Compare December 26, 2024 04:10
Copy link

@jerensl-bot jerensl-bot bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto approved automated PR

Copy link
Contributor

Azure Static Web Apps: Your stage site is ready! Visit it here: https://orange-sky-0b7fc6700-1525.eastasia.5.azurestaticapps.net

Copy link
Contributor

kodiakhq bot commented Jan 23, 2025

This PR currently has a merge conflict. Please resolve this and then re-add the automerge label.

@kodiakhq kodiakhq bot removed the automerge To be merged automatically when adding label label Jan 23, 2025
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/markdown-c2660773f4 branch from 3cb9f51 to d6c3904 Compare January 23, 2025 03:48
@jerensl-bot jerensl-bot bot added the automerge To be merged automatically when adding label label Jan 23, 2025
Copy link

@jerensl-bot jerensl-bot bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto approved automated PR

Copy link
Contributor

Azure Static Web Apps: Your stage site is ready! Visit it here: https://orange-sky-0b7fc6700-1525.eastasia.5.azurestaticapps.net

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/markdown-c2660773f4 branch from d6c3904 to e2d2a1b Compare January 23, 2025 03:52
Copy link

@jerensl-bot jerensl-bot bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto approved automated PR

Copy link
Contributor

Azure Static Web Apps: Your stage site is ready! Visit it here: https://orange-sky-0b7fc6700-1525.eastasia.5.azurestaticapps.net

@kodiakhq kodiakhq bot removed the automerge To be merged automatically when adding label label Jan 24, 2025
Copy link
Contributor

kodiakhq bot commented Jan 24, 2025

This PR currently has a merge conflict. Please resolve this and then re-add the automerge label.

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/markdown-c2660773f4 branch from e2d2a1b to 1839591 Compare January 27, 2025 03:23
Copy link

@jerensl-bot jerensl-bot bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto approved automated PR

@jerensl-bot jerensl-bot bot added the automerge To be merged automatically when adding label label Jan 27, 2025
Copy link
Contributor

Azure Static Web Apps: Your stage site is ready! Visit it here: https://orange-sky-0b7fc6700-1525.eastasia.5.azurestaticapps.net

Copy link
Contributor

kodiakhq bot commented Jan 27, 2025

This PR currently has a merge conflict. Please resolve this and then re-add the automerge label.

@kodiakhq kodiakhq bot removed the automerge To be merged automatically when adding label label Jan 27, 2025
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/markdown-c2660773f4 branch from 1839591 to 79c5d22 Compare January 28, 2025 03:50
@jerensl-bot jerensl-bot bot added the automerge To be merged automatically when adding label label Jan 28, 2025
Copy link

@jerensl-bot jerensl-bot bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto approved automated PR

Copy link
Contributor

Azure Static Web Apps: Your stage site is ready! Visit it here: https://orange-sky-0b7fc6700-1525.eastasia.5.azurestaticapps.net

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/markdown-c2660773f4 branch from 79c5d22 to d65d0cc Compare January 30, 2025 03:49
Copy link

@jerensl-bot jerensl-bot bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto approved automated PR

Copy link
Contributor

Azure Static Web Apps: Your stage site is ready! Visit it here: https://orange-sky-0b7fc6700-1525.eastasia.5.azurestaticapps.net

Bumps the markdown group with 1 update: [esbuild](https://github.com/evanw/esbuild).


Updates `esbuild` from 0.15.18 to 0.24.2
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG-2022.md)
- [Commits](evanw/esbuild@v0.15.18...v0.24.2)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: markdown
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/markdown-c2660773f4 branch from d65d0cc to fabfed2 Compare January 31, 2025 03:51
Copy link

@jerensl-bot jerensl-bot bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto approved automated PR

Copy link
Contributor

Azure Static Web Apps: Your stage site is ready! Visit it here: https://orange-sky-0b7fc6700-1525.eastasia.5.azurestaticapps.net

@kodiakhq kodiakhq bot removed the automerge To be merged automatically when adding label label Jan 31, 2025
Copy link
Contributor

kodiakhq bot commented Jan 31, 2025

This PR currently has a merge conflict. Please resolve this and then re-add the automerge label.

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 javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants