Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: angular/angular-cli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 13.0.1
Choose a base ref
...
head repository: angular/angular-cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 13.0.2
Choose a head ref
  • 12 commits
  • 16 files changed
  • 4 contributors

Commits on Nov 4, 2021

  1. fix(@angular-devkit/build-angular): don't restore input of type `fi…

    …le` during HMR
    
    ```
    Uncaught DOMException: Failed to set the 'value' property on 'HTMLInputElement': This input element accepts a filename, which may only be programmatically set to the empty string.
    ```
    
    Closes #22084
    
    (cherry picked from commit 47fd128)
    alan-agius4 authored and clydin committed Nov 4, 2021
    Configuration menu
    Copy the full SHA
    35164bf View commit details
    Browse the repository at this point in the history
  2. fix(@angular-devkit/build-angular): update Angular peer dependencies …

    …to 13.0 stable
    
    Only stable versions are officially supported.
    clydin committed Nov 4, 2021
    Configuration menu
    Copy the full SHA
    1cdc24d View commit details
    Browse the repository at this point in the history
  3. fix(@angular-devkit/build-angular): don't show `[NG HMR] Unknown inpu…

    …t type` when restoring file type input
    
    (cherry picked from commit 3a89358)
    alan-agius4 authored and clydin committed Nov 4, 2021
    Configuration menu
    Copy the full SHA
    facb5d8 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2021

  1. fix(@angular/cli): avoid redirecting @angular/core in Angular migrations

    Files should not redirect `@angular/core` and instead use the direct dependency of the `@schematics/angular` package. This allows old major version migrations to continue to function even though the latest major version may have breaking changes in `@angular/core`.
    
    (cherry picked from commit 4a5ca16)
    clydin committed Nov 8, 2021
    Configuration menu
    Copy the full SHA
    34047b1 View commit details
    Browse the repository at this point in the history
  2. fix(@angular-devkit/build-angular): suppress "@charset" must be the f…

    …irst rule in the file warning
    
    esbuild will issue a warning when `@charset` is in the middle of the file. This is caused by css-loader will concats the file and doesn't hoist `@charset`, (webpack/css-loader#1212).
    
    While, esbuild will issue a warning regarding the above, it will hoist to the very top.
    
    In many cases, this warning is not actionable by the users as the `@charset` would be likely specified in 3rd party libs.
    
    Closes #22097
    
    (cherry picked from commit b3e5888)
    alan-agius4 authored and clydin committed Nov 8, 2021
    Configuration menu
    Copy the full SHA
    966a133 View commit details
    Browse the repository at this point in the history
  3. fix(@schematics/angular): show warning when migrating ng-packagr JS c…

    …onfigurations
    
    Our migrations only handle JSON configs.
    
    Closes #22107
    
    (cherry picked from commit 950b430)
    alan-agius4 authored and clydin committed Nov 8, 2021
    Configuration menu
    Copy the full SHA
    9ea74a1 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2021

  1. fix(@angular/cli): favor ng-update packageGroupName in ng update ou…

    …tput
    
    With this change we favor the `packageGroupName` name when specified and only fallback to use the first item in in the `packageGroup` array when it is not specified.
    
    Closes #22087
    
    (cherry picked from commit b7b1325)
    alan-agius4 authored and clydin committed Nov 9, 2021
    Configuration menu
    Copy the full SHA
    ff4538e View commit details
    Browse the repository at this point in the history
  2. fix(@angular-devkit/build-angular): improve sourcemap fidelity during…

    … code-coverage
    
    We now pass the input sourcemap to istanbul babel plugin, since this is used directly by the instrumenter https://github.com/istanbuljs/babel-plugin-istanbul/blob/d58c92a7de5e8ac84c598e02325b05f5b9800107/src/index.js#L126-L129 and is needed to remapped instrumented code back to the original source.
    
    Previously, the lack of this caused incorrect reports of uncovered and coverage code and also incorrectly mappings in the HTML report.
    
    Closes #22118
    
    (cherry picked from commit 5990ed9)
    alan-agius4 authored and clydin committed Nov 9, 2021
    Configuration menu
    Copy the full SHA
    ef8815d View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2021

  1. refactor: fix ng-new template pointing to Angular animations with Mat…

    …erial logo
    
    Fixes that the `new new` generated app component template currently
    provides a link to Angular Animations with the Angular Material logo,
    according to: https://angular.io/presskit.
    
    This commit switches the link to Angular Material with the assumption
    that this was intended to point to Angular Material from the
    beginning.
    
    (cherry picked from commit b230d35)
    devversion authored and clydin committed Nov 10, 2021
    Configuration menu
    Copy the full SHA
    57ae543 View commit details
    Browse the repository at this point in the history
  2. fix(@schematics/angular): migrate ng-packagr configurations in packag…

    …e.json
    
    Currently ng-packagr, can be configured used in package.json. Previously, the migration didn't handle this case.
    
    Closes #22129
    
    (cherry picked from commit e9d2d98)
    alan-agius4 authored and clydin committed Nov 10, 2021
    Configuration menu
    Copy the full SHA
    1bc00b6 View commit details
    Browse the repository at this point in the history
  3. build: update to latest @angular/dev-infra-private to address issues …

    …related to verifying environment
    
    Update to the latest package which properly checks if the running version of ng-dev is the version
    described in yarn lock.
    josephperrott committed Nov 10, 2021
    Configuration menu
    Copy the full SHA
    f977351 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2021

  1. Configuration menu
    Copy the full SHA
    d185cf8 View commit details
    Browse the repository at this point in the history
Loading