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LW11bHRpcGxlJyxcbiAgWl9JTkRFWDogOTk5OTksXG59O1xuXG5leHBvcnQgY29uc3QgUFJJTUFSWV9TUElOTkVSID0gJ3ByaW1hcnknO1xuXG5leHBvcnQgdHlwZSBTaXplID0gJ2RlZmF1bHQnIHwgJ3NtYWxsJyB8ICdtZWRpdW0nIHwgJ2xhcmdlJztcblxuZXhwb3J0IGludGVyZmFjZSBTcGlubmVyIHtcbiAgYmRDb2xvcj86IHN0cmluZztcbiAgc2l6ZT86IFNpemU7XG4gIGNvbG9yPzogc3RyaW5nO1xuICB0eXBlPzogc3RyaW5nO1xuICBmdWxsU2NyZWVuPzogYm9vbGVhbjtcbiAgekluZGV4PzogbnVtYmVyO1xuICB0ZW1wbGF0ZT86IHN0cmluZztcbiAgc2hvd1NwaW5uZXI/OiBib29sZWFuO1xufVxuXG5leHBvcnQgY2xhc3MgTmd4U3Bpbm5lciB7XG4gIG5hbWU6IHN0cmluZztcbiAgYmRDb2xvcjogc3RyaW5nO1xuICBzaXplOiBTaXplO1xuICBjb2xvcjogc3RyaW5nO1xuICB0eXBlOiBzdHJpbmc7XG4gIGNsYXNzOiBzdHJpbmc7XG4gIGRpdkNvdW50OiBudW1iZXI7XG4gIGRpdkFycmF5OiBBcnJheTxudW1iZXI+O1xuICBmdWxsU2NyZWVuOiBib29sZWFuO1xuICBzaG93OiBib29sZWFuO1xuICB6SW5kZXg6IG51bWJlcjtcbiAgdGVtcGxhdGU6IHN0cmluZztcbiAgc2hvd1NwaW5uZXI6IGJvb2xlYW47XG5cbiAgY29uc3RydWN0b3IoaW5pdD86IFBhcnRpYWw8Tmd4U3Bpbm5lcj4pIHtcbiAgICBPYmplY3QuYXNzaWduKHRoaXMsIGluaXQpO1xuICB9XG59XG4iXX0= |
@@ -0,1 +1,2 @@ | ||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; | ||
import { NgModule } from '@angular/core'; | ||
@@ -10,3 +11,4 @@ import { CommonModule } from '@angular/common'; | ||
imports: [ | ||
CommonModule | ||
CommonModule, | ||
BrowserAnimationsModule | ||
], | ||
@@ -17,2 +19,2 @@ declarations: [NgxSpinnerComponent, SafeHtmlPipe], | ||
]; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LXNwaW5uZXIubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LXNwaW5uZXIvc3JjL2xpYi9uZ3gtc3Bpbm5lci5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFDOUQsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGtCQUFrQixDQUFDO0FBU2hELE1BQU0sT0FBTyxnQkFBZ0I7OztZQVA1QixRQUFRLFNBQUM7Z0JBQ1IsT0FBTyxFQUFFO29CQUNQLFlBQVk7aUJBQ2I7Z0JBQ0QsWUFBWSxFQUFFLENBQUMsbUJBQW1CLEVBQUUsWUFBWSxDQUFDO2dCQUNqRCxPQUFPLEVBQUUsQ0FBQyxtQkFBbUIsQ0FBQzthQUMvQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBDb21tb25Nb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb21tb24nO1xuaW1wb3J0IHsgTmd4U3Bpbm5lckNvbXBvbmVudCB9IGZyb20gJy4vbmd4LXNwaW5uZXIuY29tcG9uZW50JztcbmltcG9ydCB7IFNhZmVIdG1sUGlwZSB9IGZyb20gJy4vc2FmZS1odG1s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lckFuaW1hdGlvbnNNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9wbGF0Zm9ybS1icm93c2VyL2FuaW1hdGlvbnMnO1xuaW1wb3J0IHsgTmdNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IENvbW1vbk1vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbic7XG5pbXBvcnQgeyBOZ3hTcGlubmVyQ29tcG9uZW50IH0gZnJvbSAnLi9uZ3gtc3Bpbm5lci5jb21wb25lbnQnO1xuaW1wb3J0IHsgU2FmZUh0bWxQaXBlIH0gZnJvbSAnLi9zYWZlLWh0bWwucGlwZSc7XG5cbkBOZ01vZHVsZSh7XG4gIGltcG9ydHM6IFtcbiAgICBDb21tb25Nb2R1bGUsXG4gICAgQnJvd3NlckFuaW1hdGlvbnNNb2R1bGVcbiAgXSxcbiAgZGVjbGFyYXRpb25zOiBbTmd4U3Bpbm5lckNvbXBvbmVudCwgU2FmZUh0bWxQaXBlXSxcbiAgZXhwb3J0czogW05neFNwaW5uZXJDb21wb25lbnRdXG59KVxuZXhwb3J0IGNsYXNzIE5neFNwaW5uZXJNb2R1bGUgeyB9XG4iXX0= |
@@ -33,4 +33,4 @@ import { Injectable } from '@angular/core'; | ||
show(name = PRIMARY_SPINNER, spinner) { | ||
setTimeout(() => { | ||
const showPromise = new Promise((resolve, _reject) => { | ||
return new Promise((resolve, _reject) => { | ||
setTimeout(() => { | ||
if (spinner && Object.keys(spinner).length) { | ||
@@ -45,5 +45,4 @@ spinner['name'] = name; | ||
} | ||
}); | ||
return showPromise; | ||
}, 10); | ||
}, 10); | ||
}); | ||
} | ||
@@ -56,9 +55,8 @@ /** | ||
hide(name = PRIMARY_SPINNER, debounce = 10) { | ||
setTimeout(() => { | ||
const hidePromise = new Promise((resolve, _reject) => { | ||
return new Promise((resolve, _reject) => { | ||
setTimeout(() => { | ||
this.spinnerObservable.next(new NgxSpinner({ name, show: false })); | ||
resolve(true); | ||
}); | ||
return hidePromise; | ||
}, debounce); | ||
}, debounce); | ||
}); | ||
} | ||
@@ -73,2 +71,2 @@ } | ||
NgxSpinnerService.ctorParameters = () => []; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LXNwaW5uZXIuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1zcGlubmVyL3NyYy9saWIvbmd4LXNwaW5uZXIuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBYyxlQUFlLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFDbkQsT0FBTyxFQUFFLE1BQU0sRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ3hDLE9BQU8sRUFBRSxVQUFVLEVBQUUsZUFBZSxFQUFXLE1BQU0sb0JBQW9CLENBQUM7O0FBSzFFLE1BQU0sT0FBTyxpQkFBaUI7SUFRNUI7OztPQUdHO0lBQ0g7UUFYQTs7OztXQUlHO1FBQ0gsZ0VBQWdFO1FBQ3hELHNCQUFpQixHQUFHLElBQUksZUFBZSxDQUFhLElBQUksQ0FBQyxDQUFDO0lBS2xELENBQUM7SUFDakI7OztPQUdHO0lBQ0gsVUFBVSxDQUFDLElBQVk7UUFDckIsT0FBTyxJQUFJLENBQUMsaUJBQWlCLENBQUMsWUFBWSxFQUFFLENBQUMsSUFBSSxDQUFDLE1BQU0sQ0FBQyxDQUFDLENBQWEsRUFBRSxFQUFFLENBQUMsQ0FBQyxJQUFJLENBQUMsQ0FBQyxJQUFJLEtBQUssSUFBSSxDQUFDLENBQUMsQ0FBQztJQUNyRyxDQUFDO0lBQ0Q7Ozs7T0FJRztJQUNILElBQUksQ0FBQyxPQUFlLGVBQWUsRUFBRSxPQUFpQj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3QpID0+IHtcbiAgICAgIHNldFRpbWVvdXQoKCkgPT4ge1xuICAgICAgICBpZiAoc3Bpbm5lciAmJiBPYmplY3Qua2V5cyhzcGlubmVyKS5sZW5ndGgpIHtcbiAgICAgICAgICBzcGlubmVyWyduYW1lJ10gPSBuYW1lO1xuICAgICAgICAgIHRoaXMuc3Bpbm5lck9ic2VydmFibGUubmV4dChuZXcgTmd4U3Bpbm5lcih7IC4uLnNwaW5uZXIsIHNob3c6IHRydWUgfSkpO1xuICAgICAgICAgIHJlc29sdmUodHJ1ZSk7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgdGhpcy5zcGlubmVyT2JzZXJ2YWJsZS5uZXh0KG5ldyBOZ3hTcGlubmVyKHsgbmFtZSwgc2hvdzogdHJ1ZSB9KSk7XG4gICAgICAgICAgcmVzb2x2ZSh0cnVlKTtcbiAgICAgICAgfVxuICAgICAgfSwgMTApO1xuICAgIH0pO1xuXG4gIH1cbiAgLyoqXG4gICogVG8gaGlkZSBzcGlubmVyXG4gICpcbiAgKiBAbWVtYmVyb2YgTmd4U3Bpbm5lclNlcnZpY2VcbiAgKi9cbiAgaGlkZShuYW1lOiBzdHJpbmcgPSBQUklNQVJZX1NQSU5ORVIsIGRlYm91bmNlOiBudW1iZXIgPSAxMCkge1xuICAgIHJldHVybiBuZXcgUHJvbWlzZSgocmVzb2x2ZSwgX3JlamVjdCkgPT4ge1xuICAgICAgc2V0VGltZW91dCgoKSA9PiB7XG4gICAgICAgIHRoaXMuc3Bpbm5lck9ic2VydmFibGUubmV4dChuZXcgTmd4U3Bpbm5lcih7IG5hbWUsIHNob3c6IGZhbHNlIH0pKTtcbiAgICAgICAgcmVzb2x2ZSh0cnVlKTtcbiAgICAgIH0sIGRlYm91bmNlKTtcbiAgICB9KTtcbiAgfVxufVxuIl19 |
@@ -7,2 +7,3 @@ /* | ||
export * from './lib/ngx-spinner.module'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL25neC1zcGlubmVyL3NyYy9wdWJsaWNfYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsY0FBYywyQkFBMkIsQ0FBQztBQUMxQyxjQUFjLDZCQUE2QixDQUFDO0FBQzVDLGNBQWMsMEJBQTBCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxuICogUHVibGljIEFQSSBTdXJmYWNlIG9mIG5neC1zcGlubmVyXG4gKi9cbmV4cG9ydCAqIGZyb20gJy4vbGliL25neC1zcGlubmVyLnNlcnZpY2UnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvbmd4LXNwaW5uZXIuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vbGliL25neC1zcGlubmVyLm1vZHVsZSc7XG4iXX0= | ||
export * from './lib/ngx-spinner.enum'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL25neC1zcGlubmVyL3NyYy9wdWJsaWNfYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsY0FBYywyQkFBMkIsQ0FBQztBQUMxQyxjQUFjLDZCQUE2QixDQUFDO0FBQzVDLGNBQWMsMEJBQTBCLENBQUM7QUFDekMsY0FBYyx3QkFBd0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qXG4gKiBQdWJsaWMgQVBJIFN1cmZhY2Ugb2Ygbmd4LXNwaW5uZXJcbiAqL1xuZXhwb3J0ICogZnJvbSAnLi9saWIvbmd4LXNwaW5uZXIuc2VydmljZSc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9uZ3gtc3Bpbm5lci5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvbmd4LXNwaW5uZXIubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL25neC1zcGlubmVyLmVudW0nO1xuIl19 |
@@ -57,2 +57,16 @@ import { OnDestroy, OnInit, OnChanges, SimpleChange, ChangeDetectorRef } from '@angular/core'; | ||
/** | ||
* Show/Hide the spinner | ||
* | ||
* @type {boolean} | ||
* @memberof NgxSpinnerComponent | ||
*/ | ||
showSpinner: boolean; | ||
/** | ||
* To enable/disable animation | ||
* | ||
* @type {boolean} | ||
* @memberof NgxSpinnerComponent | ||
*/ | ||
disableAnimation: boolean; | ||
/** | ||
* Spinner Object | ||
@@ -64,3 +78,3 @@ * | ||
/** | ||
* Array for spinner's divs | ||
* Array for spinner's div | ||
* | ||
@@ -90,2 +104,9 @@ * @memberof NgxSpinnerComponent | ||
/** | ||
* Element Reference | ||
* | ||
* @memberof NgxSpinnerComponent | ||
*/ | ||
spinnerDOM: any; | ||
handleKeyboardEvent(event: KeyboardEvent): void; | ||
/** | ||
* Creates an instance of NgxSpinnerComponent. | ||
@@ -92,0 +113,0 @@ * |
@@ -72,2 +72,3 @@ export declare const LOADERS: { | ||
template?: string; | ||
showSpinner?: boolean; | ||
} | ||
@@ -87,3 +88,4 @@ export declare class NgxSpinner { | ||
template: string; | ||
showSpinner: boolean; | ||
constructor(init?: Partial<NgxSpinner>); | ||
} |
@@ -1,2 +0,2 @@ | ||
import { Observable } from 'rxjs'; | ||
import { Observable, BehaviorSubject } from 'rxjs'; | ||
import { NgxSpinner, Spinner } from './ngx-spinner.enum'; | ||
@@ -9,3 +9,3 @@ export declare class NgxSpinnerService { | ||
*/ | ||
private spinnerObservable; | ||
spinnerObservable: BehaviorSubject<NgxSpinner>; | ||
/** | ||
@@ -26,3 +26,3 @@ * Creates an instance of NgxSpinnerService. | ||
*/ | ||
show(name?: string, spinner?: Spinner): void; | ||
show(name?: string, spinner?: Spinner): Promise<unknown>; | ||
/** | ||
@@ -33,3 +33,3 @@ * To hide spinner | ||
*/ | ||
hide(name?: string, debounce?: number): void; | ||
hide(name?: string, debounce?: number): Promise<unknown>; | ||
} |
{ | ||
"name": "ngx-spinner", | ||
"version": "10.0.1", | ||
"schematics": "./schematics/collection.json", | ||
"version": "11.0.0", | ||
"repository": { | ||
@@ -51,7 +50,8 @@ "type": "git", | ||
"peerDependencies": { | ||
"@angular/common": "^10.0.0", | ||
"@angular/core": "^10.0.0" | ||
"@angular/common": "^11.0.0", | ||
"@angular/core": "^11.0.0" | ||
}, | ||
"dependencies": { | ||
"tslib": "^2.0.0" | ||
"schematics": "./schematics/collection.json", | ||
"ng-add": { | ||
"save": "dependencies" | ||
}, | ||
@@ -65,3 +65,6 @@ "main": "bundles/ngx-spinner.umd.js", | ||
"metadata": "ngx-spinner.metadata.json", | ||
"sideEffects": false | ||
} | ||
"sideEffects": false, | ||
"dependencies": { | ||
"tslib": "^2.0.0" | ||
} | ||
} |
export * from './lib/ngx-spinner.service'; | ||
export * from './lib/ngx-spinner.component'; | ||
export * from './lib/ngx-spinner.module'; | ||
export * from './lib/ngx-spinner.enum'; |
@@ -1,2 +0,2 @@ | ||
A library with more than 50 different loading spinners for Angular 4/5/6/7/8/9/10. (https://napster2210.github.io/ngx-spinner/) | ||
A library with more than 50 different loading spinners for Angular 4 - 11. (https://napster2210.github.io/ngx-spinner/) | ||
@@ -15,2 +15,3 @@ <p align="center"> | ||
[![Support](https://img.shields.io/badge/Support-Angular%2010%2B-blue.svg?style=flat-square)]() | ||
[![Support](https://img.shields.io/badge/Support-Angular%2011%2B-blue.svg?style=flat-square)]() | ||
[![License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)]() | ||
@@ -22,12 +23,12 @@ [![devDependency Status](https://img.shields.io/david/expressjs/express.svg?style=flat-square)]() | ||
- Angular 10 support 🥳🥳🥳🥳 | ||
- Latest Angular Dependencies | ||
- `ng add` command to add `ngx-spinner` to the project | ||
- Bug Fixes | ||
- Angular 11 support 🥳🥳🥳🥳 | ||
- Option to disable fade animation | ||
- Show/Hide spinner from template using @Input() variable | ||
- Bug Fixes/Improvements | ||
Use appropriate version based on your Angular version. | ||
| Angular 4 | Angular 5 | Angular 6/7 | Angular 8 | Angular 9 | Angular 10 | | ||
| ----------- | ----------- | ----------- | --------- | ----------- | ------------ | | ||
| >= `v1.2.0` | >= `v2.0.0` | `v7.2.0` | `v8.1.0` | >=`v9.0.1` | >=`v10.0.1` | | ||
| Angular 4 | Angular 5 | Angular 6/7 | Angular 8 | Angular 9 | Angular 10 | Angular 11 | | ||
| ----------- | ----------- | ----------- | --------- | ---------- | ----------- | ----------- | | ||
| >= `v1.2.0` | >= `v2.0.0` | `v7.2.0` | `v8.1.0` | >=`v9.0.1` | >=`v10.0.1` | >=`v11.0.0` | | ||
@@ -67,3 +68,3 @@ ## Table of contents | ||
- **Angular 10** Support | ||
- **Angular 11** Support | ||
- Custom spinner image support(gif), you can pass `img` tag | ||
@@ -77,2 +78,4 @@ - Multiple Spinners | ||
- New updated DEMO website | ||
- Option to disable fade animation | ||
- Show/Hide spinner from template using @Input() variable | ||
@@ -185,2 +188,6 @@ ## Demo | ||
To set custom template for the custom spinner, default `null` | ||
- **[showSpinner]**: `true` or `false` | ||
To show/hide spinner from template using variable | ||
- **[disableAnimation]**: `true` or `false` | ||
To enable/disable fade animation of spinner, default `false` | ||
@@ -202,4 +209,5 @@ #### Using Spinner Type | ||
<ngx-spinner | ||
bdColor="rgba(0, 0, 0, 1)"> | ||
template="<img src='https://media.giphy.com/media/o8igknyuKs6aY/giphy.gif' />" | ||
bdColor="rgba(0, 0, 0, 1)" | ||
template="<img src='https://media.giphy.com/media/o8igknyuKs6aY/giphy.gif' />" | ||
> | ||
</ngx-spinner> | ||
@@ -258,4 +266,4 @@ ``` | ||
- Smaller bundle | ||
- Interceptor Implementation | ||
- Smaller bundle | ||
@@ -262,0 +270,0 @@ ## Ask Me |
@@ -6,3 +6,3 @@ { | ||
"description": "Add ngx-spinner to the project.", | ||
"factory": "./ng-add/index" | ||
"factory": "./ng-add/index#ngAdd" | ||
}, | ||
@@ -9,0 +9,0 @@ "ng-add-setup-project": { |
import { Rule } from '@angular-devkit/schematics'; | ||
export default function (options: any): Rule; | ||
export default function (_options: any): Rule; |
@@ -5,8 +5,8 @@ "use strict"; | ||
// Just return the tree | ||
function default_1(options) { | ||
return (_tree, context) => { | ||
const installTaskId = context.addTask(new tasks_1.NodePackageInstallTask()); | ||
context.addTask(new tasks_1.RunSchematicTask('ng-add-setup-project', options), [installTaskId]); | ||
// _context.addTask(new NodePackageInstallTask()); | ||
// return tree; | ||
function default_1(_options) { | ||
return (tree, context) => { | ||
// const installTaskId = context.addTask(new NodePackageInstallTask()); | ||
// context.addTask(new RunSchematicTask('ng-add-setup-project', options), [installTaskId]); | ||
context.addTask(new tasks_1.NodePackageInstallTask()); | ||
return tree; | ||
}; | ||
@@ -13,0 +13,0 @@ } |
"use strict"; | ||
// import { getWorkspace } from '@schematics/angular/utility/config'; | ||
/** | ||
@@ -12,3 +13,2 @@ * @license | ||
const schematics_2 = require("@angular/cdk/schematics"); | ||
const config_1 = require("@schematics/angular/utility/config"); | ||
/** Name of the ngx-spinner module */ | ||
@@ -18,3 +18,3 @@ const spinnerModuleName = 'NgxSpinnerModule'; | ||
return (host, _context) => { | ||
const workspace = config_1.getWorkspace(host); | ||
const workspace = ''; //getWorkspace(host); | ||
const project = schematics_2.getProjectFromWorkspace(workspace, options.project); | ||
@@ -32,3 +32,3 @@ if (project.projectType === 'application') { | ||
return (host, _context) => { | ||
const workspace = config_1.getWorkspace(host); | ||
const workspace = ''; //getWorkspace(host); | ||
const project = schematics_2.getProjectFromWorkspace(workspace, options.project); | ||
@@ -35,0 +35,0 @@ const appModulePath = schematics_2.getAppModulePath(host, schematics_2.getProjectMainFile(project)); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
676324
3106
275