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: 18.0.4
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: 18.0.5
Choose a head ref
  • 7 commits
  • 19 files changed
  • 4 contributors

Commits on Jun 13, 2024

  1. fix(@angular/build): automatically resolve .mjs files when using Vite

    Previously, ESM file resolution without extensions failed when using Vite, causing issues in module loading. This commit addresses the problem by automatically resolving `.mjs` files, aligning the behavior with the application builder and ensuring consistent module resolution across different build tools.
    
    **NB**:  This is a workaround as valid ESM imports should always have an extension.
    
    Closes #27841
    
    (cherry picked from commit 2324d5a)
    alan-agius4 committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    405c148 View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2024

  1. fix(@schematics/angular): update schematics to use RouterModule when …

    …--routing flag is present
    
    update schematics to use RouterModule instead of RouterTestingModule when generating a new project with the --routing flag
    
    Fixes #27691
    
    (cherry picked from commit e3b8b78)
    theonly1me authored and alan-agius4 committed Jun 17, 2024
    Configuration menu
    Copy the full SHA
    5c705e8 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2024

  1. ci: remove ci testing push trigger

    Remove ci testing pushing trigger as it no longer will work in the future and is unneccessary
    
    (cherry picked from commit a302d18)
    josephperrott authored and alan-agius4 committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    a0f7d15 View commit details
    Browse the repository at this point in the history
  2. fix(@angular/build): add CSP nonce to script with src tags

    Prior to this change, script tags with the `src` attribute were not being assigned a CSP nonce during the build process. This is useful
    strict-dynamic is a Content Security Policy (CSP) directive that simplifies the management of dynamically loaded scripts while maintaining a high level of security. It allows scripts that are initially trusted (through a nonce or hash) to load other scripts without additional restrictions.
    
    Closes #27874
    
    (cherry picked from commit c0ceddf)
    alan-agius4 committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    bdd168f View commit details
    Browse the repository at this point in the history
  3. fix(@angular-devkit/build-angular): use istanbul-lib-instrument direc…

    …tly for karma code coverage
    
    The `istanbul-lib-instrument` package provides the required functionality needed
    to instrument code for test coverage within the context of the Angular CLI.
    Since the build pipeline already contains a customized babel preset, this package
    can be integrated directly into the pipeline.
    This reduces the number of dependencies required for `@angular-devkit/build-angular`
    including the deprecated `inflight` package.
    
    (cherry picked from commit fb2981d)
    clydin authored and alan-agius4 committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    86e031d View commit details
    Browse the repository at this point in the history
  4. fix(@angular/build): use Node.js available parallelism for default wo…

    …rker count
    
    The Node.js `os.availableParallelism` API now provides more accurate values
    when used within containers such as many CI environments. This provides a
    better default when using resource limited CI setups. The value is still
    set to a maximum default of four. However, the `NG_BUILD_MAX_WORKERS`
    environment variable can be used to set the value to an explicit value
    if required.
    
    (cherry picked from commit dd07049)
    clydin authored and alan-agius4 committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    7360a34 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2024

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