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: bump terser and @angular-devkit/build-angular in /web #286

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 May 4, 2023

Bumps terser to 5.17.1 and updates ancestor dependency @angular-devkit/build-angular. These dependencies need to be updated together.

Updates terser from 4.5.1 to 5.17.1

Changelog

Sourced from terser's changelog.

v5.17.1

  • Fix evaluating .length when the source array might've been mutated

v5.17.0

  • Drop vestigial = undefined default argument in IIFE calls (#1366)
  • Evaluate known arrays' .length property when statically determinable
  • Add @__KEY__ annotation to mangle string literals (#1365)

v5.16.9

  • Fix parentheses in output of optional chains (a?.b) (#1374)
  • More documentation on source maps (#1368)
  • New lhs_constants option, allowing to stop Terser from swapping comparison operands (#1361)

v5.16.8

  • Become even less conservative around function definitions for reduce_vars
  • Fix parsing context of import.meta expressions such that method calls are allowed

v5.16.6

  • Become less conservative with analyzing function definitions for reduce_vars
  • Parse import.meta as a real AST node and not an object.property

v5.16.5

  • Correctly handle AST transform functions that mutate children arrays
  • Don't mutate the options object passed to Terser (#1342)
  • Do not treat BigInt like a number

v5.16.4

  • Keep (defaultArg = undefined) => ..., because default args don't count for function length
  • Prevent inlining variables into ?. optional chains
  • Avoid removing unused arguments while transforming
  • Optimize iterating AST node lists
  • Make sure catch and finally aren't children of try in the AST
  • Use modern unicode property escapes (\p{...}) to parse identifiers when available

v5.16.3

  • Ensure function definitions, don't assume the values of variables defined after them.

v5.16.2

  • Fix sourcemaps with non-ascii characters (#1318)
  • Support string module name and export * as (#1336)
  • Do not move let out of for initializers, as it can change scoping
  • Fix a corner case that would generate the invalid syntax if (something) let x ("let" in braceless if body)
  • Knowledge of more native object properties (#1330)
  • Got rid of Travis (#1323)

... (truncated)

Commits
  • 374073b 5.17.1
  • 2acb238 update changelog
  • dd6ebd3 Avoid computing the .length of referred arrays in case of mutations. Closes #...
  • 028514c Handle dropping var [] in unreachable code. Closes #1293
  • 4e88c3b 5.17.0
  • 81f0f22 update changelog
  • 0ddf63a drop undefined default parameter in IIFE. Closes #1366
  • 31753d0 safely evaluate .length of arrays and strings
  • 94ae068 fix: Also set annotations in AST_String ctor (#1375)
  • 3ab7bbf Add @KEY annotation to mangle string literals (#1365)
  • Additional commits viewable in compare view

Updates @angular-devkit/build-angular from 0.900.3 to 16.0.0

Release notes

Sourced from @​angular-devkit/build-angular's releases.

v16.0.0

16.0.0 (2023-05-03)

@​angular/cli

Commit Description
feat - 68024234e remove deprecated defaultCollection from workspace configuration
feat - d58428d3d remove deprecated defaultProject from workspace configuration
feat - 7cb5689e0 show optional migrations during update process
refactor - c29c8e18d remove Node.js v14 support

@​schematics/angular

Commit Description
feat - c2d2da41b add support to add service worker to standalone application
feat - 22fdd7da9 generate functional resolvers and guards by default
feat - a832c2028 Implement a standalone flag for new applications
feat - 5ceedcb11 remove deprecated CanLoad option for guards
feat - c9e84d024 remove generation of BrowserModule.withServerTransition
feat - 50b9e59a5 update app-shell schematic to support standalone applications
feat - dc5cc893d Update universal schematic to support standalone applications
fix - f98c9de80 add experimental message when using standalone application schematic.
fix - a5cb46124 add standalone option to library library
fix - b2ed7bd10 provide migration that disables build optimizer on dev server builds
fix - ba4414b2c reformat app.config.ts
fix - 202e9a50f remove compileComponents from component test schematic
fix - 0d58f73c5 rename app.server.module.ts to app.module.server.ts
fix - de6d30102 replace provideServerSupport with provideServerRendering
fix - bff634fe0 update private Components utilities to work with standalone project structure
fix - 85fe820b0 use same property order in standalone AppComponent

Commit Description
build - 5a171ddff update to TypeScript 5 and drop support for TypeScript 4.8

@​angular-devkit/architect

Commit Description
fix - 48871381a allow registered builder teardowns to execute

@​angular-devkit/build-angular

Commit Description
feat - ff5ebf9b1 add CSP support for inline styles
feat - ee8013f66 display build output table with esbuild
feat - 0eac98f61 implement progress option for esbuild builder
feat - f04859d16 initial autoprefixer support for CSS in esbuild builder
feat - 8c550302c initial development server for esbuild-based builder
feat - 52969db6b initial tailwindcss support for CSS in esbuild builder
feat - ce46ecae0 support module resolution with less stylesheets in esbuild builder
feat - 584b51907 support scripts option with esbuild builder
feat - e4883b0ee support SSL options with esbuild development server
feat - 290802060 support standalone app-shell generation

... (truncated)

Changelog

Sourced from @​angular-devkit/build-angular's changelog.

16.0.0 (2023-05-03)

Breaking Changes

@​angular/cli

  • The deprecated defaultCollection workspace option has been removed. Use schematicCollections instead.

    Before

    "defaultCollection": "@angular/material"

    After

    "schematicCollections": ["@angular/material"]
  • The deprecated defaultProject workspace option has been removed. The project to use will be determined from the current working directory.

  • Node.js v14 support has been removed

    Node.js v14 is planned to be End-of-Life on 2023-04-30. Angular will stop supporting Node.js v14 in Angular v16. Angular v16 will continue to officially support Node.js versions v16 and v18.

@​schematics/angular

  • ng g resolver and ng g guard now generate a functional resolver or guard by default. It is still possible to generate a (deprecated) class-based resolver or guard by using ng g resolver --no-functional or ng g guard --no-functional.
  • The CLI no longer allows to generate CanLoad guards. Use CanMatch instead.

    • TypeScript 4.8 is no longer supported.

@​angular-devkit/build-angular

  • Deprecated outputPath and outputPaths from the server and browser builder have been removed from the builder output. Use outputs instead.

    Note: this change does not effect application developers.

@​angular-devkit/core

  • Several changes to the SchemaRegistry.
    • compile method now returns a Promise.
    • Deprecated flatten has been removed without replacement.
    • ContentHasMutatedException, InvalidUpdateRecordException, UnimplementedException and MergeConflictException API from @angular-devkit/core have been removed in favor of the API from @angular-devkit/schematics.
    • UnsupportedPlatformException - A custom error exception should be created instead.

@​angular-devkit/schematics

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by google-wombot, a new releaser for @​angular-devkit/build-angular 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 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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [terser](https://github.com/terser/terser) to 5.17.1 and updates ancestor dependency [@angular-devkit/build-angular](https://github.com/angular/angular-cli). These dependencies need to be updated together.


Updates `terser` from 4.5.1 to 5.17.1
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](terser/terser@v4.5.1...v5.17.1)

Updates `@angular-devkit/build-angular` from 0.900.3 to 16.0.0
- [Release notes](https://github.com/angular/angular-cli/releases)
- [Changelog](https://github.com/angular/angular-cli/blob/main/CHANGELOG.md)
- [Commits](https://github.com/angular/angular-cli/commits/16.0.0)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
- dependency-name: "@angular-devkit/build-angular"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label May 4, 2023
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants