@nguniversal/common
Advanced tools
Comparing version 15.2.0 to 16.0.0-next.0
@@ -5,3 +5,3 @@ import { ApplicationRef } from '@angular/core'; | ||
import { ModuleWithProviders } from '@angular/core'; | ||
import { TransferState } from '@angular/platform-browser'; | ||
import { TransferState } from '@angular/core'; | ||
@@ -8,0 +8,0 @@ /** |
@@ -1,3 +0,4 @@ | ||
import type { StaticProvider } from '@angular/core'; | ||
import type { Type } from '@angular/core'; | ||
import { ApplicationRef } from '@angular/core'; | ||
import { StaticProvider } from '@angular/core'; | ||
import { Type } from '@angular/core'; | ||
@@ -10,3 +11,3 @@ /** | ||
export declare class CommonEngine { | ||
private module?; | ||
private bootstrap?; | ||
private providers; | ||
@@ -16,3 +17,3 @@ private readonly templateCache; | ||
private readonly pageExists; | ||
constructor(module?: Type<{}> | undefined, providers?: StaticProvider[]); | ||
constructor(bootstrap?: Type<{}> | (() => Promise<ApplicationRef>) | undefined, providers?: StaticProvider[]); | ||
/** | ||
@@ -27,5 +28,4 @@ * Render an HTML document for a specific URL with specified | ||
/** These are the allowed options for the render */ | ||
export declare interface RenderOptions { | ||
bootstrap?: Type<{}>; | ||
bootstrap?: Type<{}> | (() => Promise<ApplicationRef>); | ||
providers?: StaticProvider[]; | ||
@@ -32,0 +32,0 @@ url?: string; |
@@ -8,3 +8,3 @@ import { ApplicationRef } from '@angular/core'; | ||
import { Observable } from 'rxjs'; | ||
import { TransferState } from '@angular/platform-browser'; | ||
import { TransferState } from '@angular/core'; | ||
@@ -11,0 +11,0 @@ export declare class StateTransferInitializerModule { |
{ | ||
"name": "@nguniversal/common", | ||
"version": "15.2.0", | ||
"version": "16.0.0-next.0", | ||
"description": "Angular Universal common utilities", | ||
@@ -15,12 +15,12 @@ "license": "MIT", | ||
"engines": { | ||
"node": "^14.20.0 || ^16.13.0 || >=18.10.0" | ||
"node": "^16.13.0 || >=18.10.0" | ||
}, | ||
"dependencies": { | ||
"critters": "0.0.16", | ||
"jsdom": "21.1.0", | ||
"jsdom": "21.1.1", | ||
"tslib": "^2.3.0" | ||
}, | ||
"peerDependencies": { | ||
"@angular/common": "^15.0.0", | ||
"@angular/core": "^15.0.0" | ||
"@angular/common": "^16.0.0 || ^16.0.0-next.0", | ||
"@angular/core": "^16.0.0 || ^16.0.0-next.0" | ||
}, | ||
@@ -27,0 +27,0 @@ "schematics": "./schematics/collection.json", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
403086
3391
1
+ Added@angular/common@16.2.12(transitive)
+ Added@angular/core@16.2.12(transitive)
+ Addedcssstyle@3.0.0(transitive)
+ Addeddata-urls@4.0.0(transitive)
+ Addedjsdom@21.1.1(transitive)
+ Addedrrweb-cssom@0.6.0(transitive)
+ Addedtr46@4.1.1(transitive)
+ Addedwhatwg-url@12.0.1(transitive)
- Removed@angular/common@15.2.10(transitive)
- Removed@angular/core@15.2.10(transitive)
- Removedcssom@0.3.80.5.0(transitive)
- Removedcssstyle@2.3.0(transitive)
- Removeddata-urls@3.0.2(transitive)
- Removedjsdom@21.1.0(transitive)
- Removedtr46@3.0.0(transitive)
- Removedwhatwg-url@11.0.0(transitive)
Updatedjsdom@21.1.1