@ng-web-apis/common
Advanced tools
Comparing version 3.0.6 to 4.0.0
{ | ||
"name": "@ng-web-apis/common", | ||
"version": "3.0.6", | ||
"version": "4.0.0", | ||
"description": "A set of common utils for consuming Web APIs with Angular", | ||
@@ -29,16 +29,23 @@ "keywords": [ | ||
"peerDependencies": { | ||
"@angular/common": ">=12.0.0", | ||
"@angular/core": ">=12.0.0", | ||
"@angular/common": ">=16.0.0", | ||
"@angular/core": ">=16.0.0", | ||
"rxjs": ">=6.4.0" | ||
}, | ||
"main": "bundles/ng-web-apis-common.umd.js", | ||
"module": "fesm2015/ng-web-apis-common.js", | ||
"es2015": "fesm2015/ng-web-apis-common.js", | ||
"esm2015": "esm2015/ng-web-apis-common.js", | ||
"fesm2015": "fesm2015/ng-web-apis-common.js", | ||
"typings": "ng-web-apis-common.d.ts", | ||
"module": "fesm2022/ng-web-apis-common.mjs", | ||
"typings": "index.d.ts", | ||
"exports": { | ||
"./package.json": { | ||
"default": "./package.json" | ||
}, | ||
".": { | ||
"types": "./index.d.ts", | ||
"esm2022": "./esm2022/ng-web-apis-common.mjs", | ||
"esm": "./esm2022/ng-web-apis-common.mjs", | ||
"default": "./fesm2022/ng-web-apis-common.mjs" | ||
} | ||
}, | ||
"sideEffects": false, | ||
"dependencies": { | ||
"tslib": "^2.2.0" | ||
"tslib": "^2.3.0" | ||
} | ||
} |
import { InjectionToken } from '@angular/core'; | ||
/** | ||
* Use Window['CSS'], this is a workaround to support Angular 6+ | ||
*/ | ||
interface Css { | ||
escape(ident: string): string; | ||
supports(property: string, value: string): boolean; | ||
supports(conditionText: string): boolean; | ||
declare global { | ||
interface Window { | ||
CSS: typeof CSS; | ||
} | ||
} | ||
export declare const CSS: InjectionToken<Css>; | ||
export {}; | ||
declare const TOKEN_CSS: InjectionToken<typeof CSS>; | ||
export { TOKEN_CSS as CSS }; |
import { InjectionToken } from '@angular/core'; | ||
import { Observable } from 'rxjs'; | ||
import type { Observable } from 'rxjs'; | ||
export declare const PAGE_VISIBILITY: InjectionToken<Observable<boolean>>; |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
67166
45
303
1
Updatedtslib@^2.3.0