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

Merged
merged 2 commits into from
Jun 28, 2021
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 27, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
esbuild 0.12.9 -> 0.12.11 age adoption passing confidence
terser (source) 5.7.0 -> 5.7.1 age adoption passing confidence

Release Notes

evanw/esbuild

v0.12.11

Compare Source

  • Enable faster synchronous transforms with the JS API by default (#​1000)

    Currently the synchronous JavaScript API calls transformSync and buildSync spawn a new child process on every call. This is due to limitations with node's child_process API. Doing this means transformSync and buildSync are much slower than transform and build, which share the same child process across calls.

    This release improves the performance of transformSync and buildSync by up to 20x. It enables a hack where node's worker_threads API and atomics are used to block the main thread while asynchronous communication with a single long-lived child process happens in a worker. Previously this was only enabled when the ESBUILD_WORKER_THREADS environment variable was set to 1. But this experiment has been available for a while (since version 0.9.6) without any reported issues. Now this hack will be enabled by default. It can be disabled by setting ESBUILD_WORKER_THREADS to 0 before running node.

  • Fix nested output directories with WebAssembly on Windows (#​1399)

    Many functions in Go's standard library have a bug where they do not work on Windows when using Go with WebAssembly. This is a long-standing bug and is a fault with the design of the standard library, so it's unlikely to be fixed. Basically Go's standard library is designed to bake "Windows or not" decision into the compiled executable, but WebAssembly is platform-independent which makes "Windows or not" is a run-time decision instead of a compile-time decision. Oops.

    I have been working around this by trying to avoid using path-related functions in the Go standard library and doing all path manipulation by myself instead. This involved completely replacing Go's path/filepath library. However, I missed the os.MkdirAll function which is also does path manipulation but is outside of the path/filepath package. This meant that nested output directories failed to be created on Windows, which caused a build error. This problem only affected the esbuild-wasm package.

    This release manually reimplements nested output directory creation to work around this bug in the Go standard library. So nested output directories should now work on Windows with the esbuild-wasm package.

v0.12.10

Compare Source

  • Add a target for ES2021

    It's now possible to use --target=es2021 to target the newly-released JavaScript version ES2021. The only difference between that and --target=es2020 is that logical assignment operators such as a ||= b are not converted to regular assignment operators such as a || (a = b).

  • Minify the syntax Infinity to 1 / 0 (#​1385)

    The --minify-syntax flag (automatically enabled by --minify) will now minify the expression Infinity to 1 / 0, which uses fewer bytes:

    // Original code
    const a = Infinity;
    
    // Output with "--minify-syntax"
    const a = 1 / 0;

    This change was contributed by @​Gusted.

  • Minify syntax in the CSS transform property (#​1390)

    This release includes various size reductions for CSS transform matrix syntax when minification is enabled:

    /* Original code */
    div {
      transform: translate3d(0, 0, 10px) scale3d(200%, 200%, 1) rotate3d(0, 0, 1, 45deg);
    }
    
    /* Output with "--minify-syntax" */
    div {
      transform: translateZ(10px) scale(2) rotate(45deg);
    }

    The translate3d to translateZ conversion was contributed by @​steambap.

  • Support for the case-sensitive flag in CSS attribute selectors (#​1397)

    You can now use the case-sensitive CSS attribute selector flag s such as in [type="a" s] { list-style: lower-alpha; }. Previously doing this caused a warning about unrecognized syntax.

terser/terser

v5.7.1

Compare Source

  • Avoided collapsing assignments together if it would place a chain assignment on the left hand side, which is invalid syntax (a?.b = c)
  • Removed undefined from object expansions ({ ...void 0 } -> {})
  • Fix crash when checking if something is nullish or undefined (#​1009)
  • Fixed comparison of private class properties (#​1015)
  • Minor performance improvements (#​993)
  • Fixed scope of function defs in strict mode (they are block scoped)

Configuration

📅 Schedule: "after 10pm every weekday,before 4am every weekday,every weekend" in timezone America/Tijuana.

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

Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.

👻 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 WhiteSource Renovate. View repository job log here.

@renovate renovate bot added action: merge The PR is ready for merge by the caretaker target: minor This PR is targeted for the next minor release labels Jun 27, 2021
@google-cla google-cla bot added the cla: yes label Jun 27, 2021
@renovate renovate bot changed the title build: update all non-major dependencies build: update all non-major dependencies - autoclosed Jun 27, 2021
@renovate renovate bot closed this Jun 27, 2021
@renovate renovate bot deleted the renovate/all-minor-patch branch June 27, 2021 14:03
@renovate renovate bot changed the title build: update all non-major dependencies - autoclosed build: update all non-major dependencies Jun 27, 2021
@renovate renovate bot reopened this Jun 27, 2021
@renovate renovate bot restored the renovate/all-minor-patch branch June 27, 2021 16:45
@renovate renovate bot changed the title build: update all non-major dependencies build: update dependency esbuild to v0.12.10 Jun 27, 2021
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 6409e3c to 4ae9864 Compare June 27, 2021 16:46
@renovate renovate bot changed the title build: update dependency esbuild to v0.12.10 build: update dependency esbuild to v0.12.11 Jun 28, 2021
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from 77293eb to 89bb325 Compare June 28, 2021 11:02
@renovate renovate bot changed the title build: update dependency esbuild to v0.12.11 build: update all non-major dependencies Jun 28, 2021
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 89bb325 to 44bb1ca Compare June 28, 2021 14:17
This is a workaround for `TypeError [Error]: Cannot read property 'workerPort' of undefined`.
@alan-agius4 alan-agius4 merged commit 47a1ccc into master Jun 28, 2021
@renovate renovate bot deleted the renovate/all-minor-patch branch June 28, 2021 15:58
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Jul 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker 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

3 participants