Socket
Socket
Sign inDemoInstall

@angular/platform-browser-dynamic

Package Overview
Dependencies
Maintainers
2
Versions
829
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@angular/platform-browser-dynamic - npm Package Versions

23
83

18.2.1

Diff

google-wombot
published 19.0.0-next.1 •

Changelog

Source

19.0.0-next.1 (2024-08-22)

Breaking Changes

core

  • The autoDetect feature of ComponentFixture will now attach the fixture to the ApplicationRef. As a result, errors during automatic change detection of the fixture be reported to the ErrorHandler. This change may cause custom error handlers to observe new failures that were previously unreported.

compiler-cli

| Commit | Type | Description | | -- | -- | -- | | 9e87593055 | feat | ensure template style elements are preprocessed as inline styles (#57429) |

core

| Commit | Type | Description | | -- | -- | -- | | b063468027 | feat | support TypeScript 5.6 (#57424) | | 3b0dca75d6 | fix | Allow zoneless scheduler to run inside fakeAsync (#56932) | | f03d274e87 | fix | ComponentFixture autoDetect feature works like production (#55228) | | d4449fce21 | fix | handle hydration of components that project content conditionally (#57383) |

migrations

| Commit | Type | Description | | -- | -- | -- | | 4ae66f25d0 | fix | account for members with doc strings and no modifiers (#57389) | | ac93839d69 | fix | avoid migrating route component in tests (#57317) | | 58a79b6e43 | fix | preserve type when using inject decorator (#57389) |

<!-- CHANGELOG SPLIT MARKER -->

<a name="19.0.0-next.0"></a>

google-wombot
published 19.0.0-next.0 •

Changelog

Source

19.0.0-next.0 (2024-08-14)

Breaking Changes

core

  • Errors that are thrown during ApplicationRef.tick will now be rethrown when using TestBed. These errors should be resolved by ensuring the test environment is set up correctly to complete change detection successfully. There are two alternatives to catch the errors:

    • Instead of waiting for automatic change detection to happen, trigger it synchronously and expect the error. For example, a jasmine test could write expect(() => TestBed.inject(ApplicationRef).tick()).toThrow()
    • TestBed will reject any outstanding ComponentFixture.whenStable promises. A jasmine test, for example, could write expectAsync(fixture.whenStable()).toBeRejected().

    As a last resort, you can configure errors to not be rethrown by setting rethrowApplicationErrors to false in TestBed.configureTestingModule.

router

  • The Router.errorHandler property has been removed. Adding an error handler should be configured in either withNavigationErrorHandler with provideRouter or the errorHandler property in the extra options of RouterModule.forRoot. In addition, the error handler cannot be used to change the return value of the router navigation promise or prevent it from rejecting. Instead, if you want to prevent the promise from rejecting, use resolveNavigationPromiseOnError.
  • The return type of the Resolve interface now includes RedirectCommand.

core

| Commit | Type | Description | | -- | -- | -- | | 468d3fb9b1 | fix | rethrow errors during ApplicationRef.tick in TestBed (#57200) |

router

| Commit | Type | Description | | -- | -- | -- | | f271021e19 | feat | Add routerOutletData input to RouterOutlet directive (#57051) | | b2790813a6 | fix | Align RouterModule.forRoot errorHandler with provider error handler (#57050) | | 7436d3180e | fix | Update Resolve interface to include RedirectCommand like ResolveFn (#57309) |

<!-- CHANGELOG SPLIT MARKER -->

<a name="18.2.0"></a>

google-wombot
published 18.2.0 •

Changelog

Source

18.2.0-next.4 (2024-08-05)

compiler-cli

| Commit | Type | Description | | -- | -- | -- | | e2259c7b09 | fix | support JIT transforms before other transforms modifying classes (#57262) |

core

| Commit | Type | Description | | -- | -- | -- | | 827070e331 | fix | Do not run image performance warning checks on server (#57234) |

language-service

| Commit | Type | Description | | -- | -- | -- | | 4bb9d0f923 | fix | avoid generating TS suggestion diagnostics for templates (#56241) |

router

| Commit | Type | Description | | -- | -- | -- | | 6c76c91e15 | feat | Add defaultQueryParamsHandling to router configuration (#57198) |

<!-- CHANGELOG SPLIT MARKER -->

<a name="18.2.0-next.3"></a>

google-wombot
published 18.1.5 •

Changelog

Source

18.1.5 (2024-08-14)

compiler-cli

| Commit | Type | Description | | -- | -- | -- | | 5401332b0e | fix | generate valid TS 5.6 type checking code (#57303) |

core

| Commit | Type | Description | | -- | -- | -- | | e39b22a932 | fix | Account for addEventListener to be passed a Window or Document. (#57282) | | db65bc25ca | fix | Account for addEventListener to be passed a Window or Document. (#57354) | | 0e024ecc27 | fix | complete post-hydration cleanup in components that use ViewContainerRef (#57300) | | 822db64b93 | fix | skip hydration for i18n nodes that were not projected (#57356) | | 810f76f574 | fix | take skip hydration flag into account while hydrating i18n blocks (#57299) |

<!-- CHANGELOG SPLIT MARKER -->

<a name="18.1.4"></a>

google-wombot
published 18.2.0-rc.0 •

google-wombot
published 18.1.4 •

Changelog

Source

18.1.4 (2024-08-07)

compiler

| Commit | Type | Description | | -- | -- | -- | | 6a99f83659 | fix | reduce chance of conflicts between generated factory and local variables (#57181) |

compiler-cli

| Commit | Type | Description | | -- | -- | -- | | afb05ff1cb | fix | support JIT transforms before other transforms modifying classes (#57262) | | bae54a1621 | perf | improve performance of interpolatedSignalNotInvoked extended diagnostic (#57291) |

language-service

| Commit | Type | Description | | -- | -- | -- | | 6ac209c24f | fix | avoid generating TS suggestion diagnostics for templates (#56241) |

<!-- CHANGELOG SPLIT MARKER -->

<a name="18.2.0-next.4"></a>

google-wombot
published 18.2.0-next.4 •

Changelog

Source

18.2.0-next.4 (2024-08-05)

compiler-cli

| Commit | Type | Description | | -- | -- | -- | | e2259c7b09 | fix | support JIT transforms before other transforms modifying classes (#57262) |

core

| Commit | Type | Description | | -- | -- | -- | | 827070e331 | fix | Do not run image performance warning checks on server (#57234) |

language-service

| Commit | Type | Description | | -- | -- | -- | | 4bb9d0f923 | fix | avoid generating TS suggestion diagnostics for templates (#56241) |

router

| Commit | Type | Description | | -- | -- | -- | | 6c76c91e15 | feat | Add defaultQueryParamsHandling to router configuration (#57198) |

<!-- CHANGELOG SPLIT MARKER -->

<a name="18.2.0-next.3"></a>

google-wombot
published 18.2.0-next.3 •

Changelog

Source

18.2.0-next.3 (2024-07-31)

compiler

| Commit | Type | Description | | -- | -- | -- | | 67e09404db | fix | reduce chance of conflicts between generated factory and local variables (#57181) |

compiler-cli

| Commit | Type | Description | | -- | -- | -- | | 0f0a1f2836 | fix | emitting references to ngtypecheck files (#57138) | | e11c0c42d2 | fix | run JIT transforms on @NgModule classes with jit: true (#57212) |

core

| Commit | Type | Description | | -- | -- | -- | | 3459289ef0 | feat | bootstrapModule can configure NgZone in providers (#57060) | | 3a63c9ebbe | fix | errors during ApplicationRef.tick should be rethrown for zoneless tests (#56993) | | ca89ef9141 | fix | handle shorthand assignment in the inject migration (#57134) | | a752178f28 | fix | hydration error in some let declaration setups (#57173) | | 2a4f488a6c | fix | warnings for oversized images and lazy-lcp present with bootstrapModule (#57060) |

migrations

| Commit | Type | Description | | -- | -- | -- | | 147eee4253 | feat | add migration to convert standalone component routes to be lazy loaded (#56428) | | cb442a0ce7 | fix | account for parameters with union types (#57127) | | 166166d79e | fix | add alias to inject migration (#57127) | | 1cf616f671 | fix | remove generic arguments from the injected type reference (#57127) | | ba0df30ef6 | fix | remove unused imports in inject migration (#57179) | | aae9646a1b | fix | unwrap injected forwardRef (#57127) |

<!-- CHANGELOG SPLIT MARKER -->

<a name="18.1.3"></a>

google-wombot
published 18.1.3 •

Changelog

Source

18.1.3 (2024-07-31)

compiler

| Commit | Type | Description | | -- | -- | -- | | 31dea066d6 | fix | reduce chance of conflicts between generated factory and local variables (#57181) |

compiler-cli

| Commit | Type | Description | | -- | -- | -- | | 1f9e090910 | fix | emitting references to ngtypecheck files (#57138) (#57202) |

core

| Commit | Type | Description | | -- | -- | -- | | f7ab04018e | fix | errors during ApplicationRef.tick should be rethrown for zoneless tests (#56993) | | eaa83f9d27 | fix | hydration error in some let declaration setups (#57173) |

<!-- CHANGELOG SPLIT MARKER -->

<a name="18.2.0-next.2"></a>

23
83
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc