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-dev): bump the dev-deps group with 5 updates #148

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 20, 2023

Bumps the dev-deps group with 5 updates:

Package From To
@types/chai 4.3.8 4.3.10
@types/resize-observer-browser 0.1.8 0.1.10
esbuild 0.12.9 0.19.6
eslint-plugin-import 2.28.1 2.29.0
karma-esbuild 2.2.5 2.3.0

Updates @types/chai from 4.3.8 to 4.3.10

Commits

Updates @types/resize-observer-browser from 0.1.8 to 0.1.10

Commits

Updates esbuild from 0.12.9 to 0.19.6

Release notes

Sourced from esbuild's releases.

v0.19.6

  • Fix a constant folding bug with bigint equality

    This release fixes a bug where esbuild incorrectly checked for bigint equality by checking the equality of the bigint literal text. This is correct if the bigint doesn't have a radix because bigint literals without a radix are always in canonical form (since leading zeros are not allowed). However, this is incorrect if the bigint has a radix (e.g. 0x123n) because the canonical form is not enforced when a radix is present.

    // Original code
    console.log(!!0n, !!1n, 123n === 123n)
    console.log(!!0x0n, !!0x1n, 123n === 0x7Bn)
    // Old output
    console.log(false, true, true);
    console.log(true, true, false);
    // New output
    console.log(false, true, true);
    console.log(!!0x0n, !!0x1n, 123n === 0x7Bn);

  • Add some improvements to the JavaScript minifier

    This release adds more cases to the JavaScript minifier, including support for inlining String.fromCharCode and String.prototype.charCodeAt when possible:

    // Original code
    document.onkeydown = e => e.keyCode === 'A'.charCodeAt(0) && console.log(String.fromCharCode(55358, 56768))
    // Old output (with --minify)
    document.onkeydown=o=>o.keyCode==="A".charCodeAt(0)&&console.log(String.fromCharCode(55358,56768));
    // New output (with --minify)
    document.onkeydown=o=>o.keyCode===65&&console.log("🧀");

    In addition, immediately-invoked function expressions (IIFEs) that return a single expression are now inlined when minifying. This makes it possible to use IIFEs in combination with @__PURE__ annotations to annotate arbitrary expressions as side-effect free without the IIFE wrapper impacting code size. For example:

    // Original code
    const sideEffectFreeOffset = /* @__PURE__ */ (() => computeSomething())()
    use(sideEffectFreeOffset)
    // Old output (with --minify)
    const e=(()=>computeSomething())();use(e);
    // New output (with --minify)
    const e=computeSomething();use(e);

  • Automatically prefix the mask-composite CSS property for WebKit (#3493)

... (truncated)

Changelog

Sourced from esbuild's changelog.

Changelog: 2021

This changelog documents all esbuild versions published in the year 2021 (versions 0.8.29 through 0.14.10).

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 {
    }
    __publicField(Bar, "bar", "bar");
    new Bar();
    // New output (with --tree-shaking=true --target=es6)
    class Bar {
    }
    __publicField(Bar, "bar", "bar");
    new Bar();

  • Treat --define:foo=undefined as an undefined literal instead of an identifier (#1407)

    References to the global variable undefined are automatically replaced with the literal value for undefined, which appears as void 0 when printed. This allows for additional optimizations such as collapsing undefined ?? bar into just bar. However, this substitution was not done for values specified via --define:. As a result, esbuild could potentially miss out on certain optimizations in these cases. With this release, it's now possible to use --define: to substitute something with an undefined literal:

    // Original code
    let win = typeof window !== 'undefined' ? window : {}
    // Old output (with --define:window=undefined --minify)
    let win=typeof undefined!="undefined"?undefined:{};
    // New output (with --define:window=undefined --minify)
    let win={};

  • Add the --drop:debugger flag (#1809)

    Passing this flag causes all debugger; statements to be removed from the output. This is similar to the drop_debugger: true flag available in the popular UglifyJS and Terser JavaScript minifiers.

... (truncated)

Commits
  • 6073a3a publish 0.19.6 to npm
  • 19ff9d3 async arrow functions are not IIFEs
  • 9fa4e79 inline IIFEs that return a single expression
  • 6c4aa2c fix #3454: crash with jsx-dev before super() call
  • 4a1e576 fix #3467: formatMessages edge case perf hack
  • 20c2604 add some go tests for message formatting
  • 5271f82 silence new warnings within node_modules
  • 83e8c7f fix #3485: map subpath imports to node built-ins
  • 07e527d fix #3453: use Symbol.for for missing symbols
  • 50cead7 try adding a warning about suspicious uses of =>
  • Additional commits viewable in compare view

Updates eslint-plugin-import from 2.28.1 to 2.29.0

Release notes

Sourced from eslint-plugin-import's releases.

v2.29.0

Full Changelog: import-js/eslint-plugin-import@v2.28.1...v2.29.0

Changelog

Sourced from eslint-plugin-import's changelog.

[2.29.0] - 2023-10-22

Added

  • TypeScript config: add .cts and .mts extensions (#2851, thanks [@​Zamiell])
  • [newline-after-import]: new option exactCount and docs update (#1933, thanks [@​anikethsaha] and [@​reosarevok])
  • [newline-after-import]: fix exactCount with considerComments false positive, when there is a leading comment (#2884, thanks [@​kinland])
Commits
  • 6d34c88 Bump to 2.29.0
  • ec6a8ea [Refactor] use hasown instead of has
  • 78f50b8 [Deps] update array-includes, array.prototype.findlastindex, `array.proto...
  • 6d2540f [resolvers/webpack] v0.13.8
  • 30d61b6 [resolvers/webpack] [deps] update array.prototype.find, is-core-module, `...
  • 2c281d1 [resolvers/webpack] [refactor] use hasown instead of has
  • 66cb10f [Fix] newline-after-import: fix exactCount with considerComments false ...
  • 8705121 [New] newline-after-import: new option exactCount and docs update
  • 6b95a02 [resolvers/webpack] v0.13.7
  • 04e68a2 [resolvers/webpack] [fix] use the dirname of the configPath as basedir
  • Additional commits viewable in compare view

Updates karma-esbuild from 2.2.5 to 2.3.0

Release notes

Sourced from karma-esbuild's releases.

v2.3.0

What's Changed

Full Changelog: marvinhagemeister/karma-esbuild@v2.2.5...v2.3.0

Commits
Maintainer changes

This version was pushed to npm by jridgewell, a new releaser for karma-esbuild since your current version.


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 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

Bumps the dev-deps group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai) | `4.3.8` | `4.3.10` |
| [@types/resize-observer-browser](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/resize-observer-browser) | `0.1.8` | `0.1.10` |
| [esbuild](https://github.com/evanw/esbuild) | `0.12.9` | `0.19.6` |
| [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) | `2.28.1` | `2.29.0` |
| [karma-esbuild](https://github.com/marvinhagemeister/karma-esbuild) | `2.2.5` | `2.3.0` |


Updates `@types/chai` from 4.3.8 to 4.3.10
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chai)

Updates `@types/resize-observer-browser` from 0.1.8 to 0.1.10
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/resize-observer-browser)

Updates `esbuild` from 0.12.9 to 0.19.6
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG-2021.md)
- [Commits](evanw/esbuild@v0.12.9...v0.19.6)

Updates `eslint-plugin-import` from 2.28.1 to 2.29.0
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
- [Commits](import-js/eslint-plugin-import@v2.28.1...v2.29.0)

Updates `karma-esbuild` from 2.2.5 to 2.3.0
- [Release notes](https://github.com/marvinhagemeister/karma-esbuild/releases)
- [Commits](marvinhagemeister/karma-esbuild@v2.2.5...v2.3.0)

---
updated-dependencies:
- dependency-name: "@types/chai"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-deps
- dependency-name: "@types/resize-observer-browser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-deps
- dependency-name: esbuild
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-deps
- dependency-name: eslint-plugin-import
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-deps
- dependency-name: karma-esbuild
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-deps
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependency Pull requests that update a dependency file label Nov 20, 2023
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 27, 2023

Superseded by #153.

@dependabot dependabot bot closed this Nov 27, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/dev-deps-d2eb8dc9f5 branch November 27, 2023 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependency Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants