Skip to content

Bump esbuild from 0.14.2 to 0.14.11#1271

Merged
LukeSheard merged 4 commits intomainfrom
dependabot/npm_and_yarn/esbuild-0.14.11
Jan 13, 2022
Merged

Bump esbuild from 0.14.2 to 0.14.11#1271
LukeSheard merged 4 commits intomainfrom
dependabot/npm_and_yarn/esbuild-0.14.11

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 10, 2022

Bumps esbuild from 0.14.2 to 0.14.11.

Release notes

Sourced from esbuild's releases.

v0.14.11

  • Fix a bug with enum inlining (#1903)

    The new TypeScript enum inlining behavior had a bug where it worked correctly if you used export enum Foo but not if you used enum Foo and then later export { Foo }. This release fixes the bug so enum inlining now works correctly in this case.

  • Warn about module.exports.foo = ... in ESM (#1907)

    The module variable is treated as a global variable reference instead of as a CommonJS module reference in ESM code, which can cause problems for people that try to use both CommonJS and ESM exports in the same file. There has been a warning about this since version 0.14.9. However, the warning only covered cases like exports.foo = bar and module.exports = bar but not module.exports.foo = bar. This last case is now handled;

    ▲ [WARNING] The CommonJS "module" variable is treated as a global variable in an ECMAScript module and may not work as expected
    
    example.ts:2:0:
      2 │ module.exports.b = 1
        ╵ ~~~~~~
    

    This file is considered to be an ECMAScript module because of the "export" keyword here:

    example.ts:1:0:
      1 │ export let a = 1
        ╵ ~~~~~~
    

  • Enable esbuild's CLI with Deno (#1913)

    This release allows you to use Deno as an esbuild installer, without also needing to use esbuild's JavaScript API. You can now use esbuild's CLI with Deno:

    deno run --allow-all "https://deno.land/x/esbuild@v0.14.11/mod.js" --version
    

v0.14.10

  • Enable tree shaking of classes with lowered static fields (#175)

    If the configured target environment doesn't support static class fields, they are converted into a call to esbuild's __publicField function instead. However, esbuild's tree-shaking pass treated this call as a side effect, which meant that all classes with static fields were ineligible for tree shaking. This release fixes the problem by explicitly ignoring calls to the __publicField function during tree shaking side-effect determination. Tree shaking is now enabled for these classes:

    // Original code
    class Foo { static foo = 'foo' }
    class Bar { static bar = 'bar' }
    new Bar()
    // Old output (with --tree-shaking=true --target=es6)
    class Foo {
    }
    __publicField(Foo, "foo", "foo");
    class Bar {
    }
    __publicField(Bar, "bar", "bar");
    new Bar();

... (truncated)

Changelog

Sourced from esbuild's changelog.

0.14.11

  • Fix a bug with enum inlining (#1903)

    The new TypeScript enum inlining behavior had a bug where it worked correctly if you used export enum Foo but not if you used enum Foo and then later export { Foo }. This release fixes the bug so enum inlining now works correctly in this case.

  • Warn about module.exports.foo = ... in ESM (#1907)

    The module variable is treated as a global variable reference instead of as a CommonJS module reference in ESM code, which can cause problems for people that try to use both CommonJS and ESM exports in the same file. There has been a warning about this since version 0.14.9. However, the warning only covered cases like exports.foo = bar and module.exports = bar but not module.exports.foo = bar. This last case is now handled;

    ▲ [WARNING] The CommonJS "module" variable is treated as a global variable in an ECMAScript module and may not work as expected
    
    example.ts:2:0:
      2 │ module.exports.b = 1
        ╵ ~~~~~~
    

    This file is considered to be an ECMAScript module because of the "export" keyword here:

    example.ts:1:0:
      1 │ export let a = 1
        ╵ ~~~~~~
    

  • Enable esbuild's CLI with Deno (#1913)

    This release allows you to use Deno as an esbuild installer, without also needing to use esbuild's JavaScript API. You can now use esbuild's CLI with Deno:

    deno run --allow-all "https://deno.land/x/esbuild@v0.14.11/mod.js" --version
    

0.14.10

  • Enable tree shaking of classes with lowered static fields (#175)

    If the configured target environment doesn't support static class fields, they are converted into a call to esbuild's __publicField function instead. However, esbuild's tree-shaking pass treated this call as a side effect, which meant that all classes with static fields were ineligible for tree shaking. This release fixes the problem by explicitly ignoring calls to the __publicField function during tree shaking side-effect determination. Tree shaking is now enabled for these classes:

    // Original code
    class Foo { static foo = 'foo' }
    class Bar { static bar = 'bar' }
    new Bar()
    // Old output (with --tree-shaking=true --target=es6)
    class Foo {
    }
    __publicField(Foo, "foo", "foo");
    class Bar {
    }

... (truncated)

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 dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jan 10, 2022
@changeset-bot
Copy link

changeset-bot bot commented Jan 10, 2022

🦋 Changeset detected

Latest commit: 643cf2c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
modular-scripts Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/esbuild-0.14.11 branch 3 times, most recently from a185bcc to 02770f8 Compare January 13, 2022 12:41
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.14.2 to 0.14.11.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/master/CHANGELOG.md)
- [Commits](evanw/esbuild@v0.14.2...v0.14.11)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/esbuild-0.14.11 branch from 02770f8 to 87b3401 Compare January 13, 2022 12:49
@LukeSheard LukeSheard merged commit bd8ed69 into main Jan 13, 2022
@LukeSheard LukeSheard deleted the dependabot/npm_and_yarn/esbuild-0.14.11 branch January 13, 2022 14:25
@github-actions github-actions bot mentioned this pull request Jan 13, 2022
LukeSheard added a commit that referenced this pull request Jan 14, 2022
* Bump esbuild from 0.14.2 to 0.14.11

Bumps [esbuild](https://github.com/evanw/esbuild) from 0.14.2 to 0.14.11.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/master/CHANGELOG.md)
- [Commits](evanw/esbuild@v0.14.2...v0.14.11)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Create rare-cycles-cry.md

* fix failing tests

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Luke Sheard <LukeSheard@users.noreply.github.com>
Co-authored-by: Luke Sheard <me@lukesheard.com>
LukeSheard added a commit that referenced this pull request Jan 17, 2022
* upgrade @babel scope

* Bump resolve from 1.20.0 to 1.21.0 (#1252)

* Bump resolve from 1.20.0 to 1.21.0

Bumps [resolve](https://github.com/browserify/resolve) from 1.20.0 to 1.21.0.
- [Release notes](https://github.com/browserify/resolve/releases)
- [Commits](browserify/resolve@v1.20.0...v1.21.0)

---
updated-dependencies:
- dependency-name: resolve
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Create quick-readers-boil.md

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Luke Sheard <LukeSheard@users.noreply.github.com>

* Bump postcss from 8.4.4 to 8.4.5 (#1176)

* Bump postcss from 8.4.4 to 8.4.5

Bumps [postcss](https://github.com/postcss/postcss) from 8.4.4 to 8.4.5.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](postcss/postcss@8.4.4...8.4.5)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Create tiny-jobs-grow.md

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Luke Sheard <LukeSheard@users.noreply.github.com>

* Bump esbuild-loader from 2.16.0 to 2.17.0 (#1171)

* Bump esbuild-loader from 2.16.0 to 2.17.0

Bumps [esbuild-loader](https://github.com/privatenumber/esbuild-loader) from 2.16.0 to 2.17.0.
- [Release notes](https://github.com/privatenumber/esbuild-loader/releases)
- [Commits](privatenumber/esbuild-loader@v2.16.0...v2.17.0)

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

Signed-off-by: dependabot[bot] <support@github.com>

* Create violet-geese-cheer.md

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Luke Sheard <LukeSheard@users.noreply.github.com>

* Bump babel-preset-react-app from 10.0.0 to 10.0.1 (#1200)

* Bump babel-preset-react-app from 10.0.0 to 10.0.1

Bumps [babel-preset-react-app](https://github.com/facebook/create-react-app/tree/HEAD/packages/babel-preset-react-app) from 10.0.0 to 10.0.1.
- [Release notes](https://github.com/facebook/create-react-app/releases)
- [Changelog](https://github.com/facebook/create-react-app/blob/main/CHANGELOG-1.x.md)
- [Commits](https://github.com/facebook/create-react-app/commits/babel-preset-react-app@10.0.1/packages/babel-preset-react-app)

---
updated-dependencies:
- dependency-name: babel-preset-react-app
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Create wise-suits-melt.md

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Luke Sheard <LukeSheard@users.noreply.github.com>

* Bump esbuild from 0.14.2 to 0.14.11 (#1271)

* Bump esbuild from 0.14.2 to 0.14.11

Bumps [esbuild](https://github.com/evanw/esbuild) from 0.14.2 to 0.14.11.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/master/CHANGELOG.md)
- [Commits](evanw/esbuild@v0.14.2...v0.14.11)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Create rare-cycles-cry.md

* fix failing tests

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Luke Sheard <LukeSheard@users.noreply.github.com>
Co-authored-by: Luke Sheard <me@lukesheard.com>

* Bump esbuild-loader from 2.17.0 to 2.18.0 (#1286)

Bumps [esbuild-loader](https://github.com/privatenumber/esbuild-loader) from 2.17.0 to 2.18.0.
- [Release notes](https://github.com/privatenumber/esbuild-loader/releases)
- [Commits](privatenumber/esbuild-loader@v2.17.0...v2.18.0)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @svgr/core from 6.1.1 to 6.1.2 (#1173)

* Bump @svgr/core from 6.1.1 to 6.1.2

Bumps [@svgr/core](https://github.com/gregberge/svgr) from 6.1.1 to 6.1.2.
- [Release notes](https://github.com/gregberge/svgr/releases)
- [Changelog](https://github.com/gregberge/svgr/blob/main/CHANGELOG.md)
- [Commits](gregberge/svgr@v6.1.1...v6.1.2)

---
updated-dependencies:
- dependency-name: "@svgr/core"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Create rich-eagles-bow.md

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Luke Sheard <LukeSheard@users.noreply.github.com>

* Bump react-error-overlay from 6.0.9 to 6.0.10 (#1194)

Bumps [react-error-overlay](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-error-overlay) from 6.0.9 to 6.0.10.
- [Release notes](https://github.com/facebook/create-react-app/releases)
- [Changelog](https://github.com/facebook/create-react-app/blob/main/CHANGELOG-1.x.md)
- [Commits](https://github.com/facebook/create-react-app/commits/react-error-overlay@6.0.10/packages/react-error-overlay)

---
updated-dependencies:
- dependency-name: react-error-overlay
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Luke Sheard <LukeSheard@users.noreply.github.com>

* Bump @rollup/plugin-node-resolve from 13.0.6 to 13.1.3 (#1262)

* Bump @rollup/plugin-node-resolve from 13.0.6 to 13.1.3

Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins/tree/HEAD/packages/node-resolve) from 13.0.6 to 13.1.3.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/node-resolve/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/node-resolve-v13.1.3/packages/node-resolve)

---
updated-dependencies:
- dependency-name: "@rollup/plugin-node-resolve"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Create curvy-donkeys-check.md

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Luke Sheard <LukeSheard@users.noreply.github.com>

* Support yarn v3 (#1112)

Co-authored-by: Luke Sheard <LukeSheard@users.noreply.github.com>

* Bump @types/tmp from 0.2.2 to 0.2.3 (#1204)

Bumps [@types/tmp](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/tmp) from 0.2.2 to 0.2.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/tmp)

---
updated-dependencies:
- dependency-name: "@types/tmp"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Luke Sheard <LukeSheard@users.noreply.github.com>

* Bump @types/node from 16.11.11 to 17.0.8 (#1258)

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.11.11 to 17.0.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Luke Sheard <LukeSheard@users.noreply.github.com>

* fix patch-package (#1289)

* regenerate yarn.lock

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Josh Wooding <12938082+joshwooding@users.noreply.github.com>
This was referenced Mar 16, 2022
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.

1 participant