diff --git a/.gitignore b/.gitignore index 67a5f3a..2abb158 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +/.angular/cache dist node_modules .idea diff --git a/angular.json b/angular.json index 667492d..181d3de 100644 --- a/angular.json +++ b/angular.json @@ -52,7 +52,6 @@ "optimization": true, "outputHashing": "all", "sourceMap": false, - "extractCss": true, "namedChunks": false, "aot": true, "extractLicenses": true, diff --git a/package.json b/package.json index e4d52c2..a1f4776 100644 --- a/package.json +++ b/package.json @@ -12,15 +12,15 @@ }, "private": true, "dependencies": { - "@angular/animations": "^12.2.17", - "@angular/common": "^12.2.17", - "@angular/compiler": "^12.2.17", - "@angular/core": "^12.2.17", - "@angular/forms": "^12.2.17", - "@angular/platform-browser": "^12.2.17", - "@angular/platform-browser-dynamic": "^12.2.17", - "@angular/router": "^12.2.17", - "@angular/service-worker": "^12.2.17", + "@angular/animations": "^13.3.12", + "@angular/common": "^13.3.12", + "@angular/compiler": "^13.3.12", + "@angular/core": "^13.3.12", + "@angular/forms": "^13.3.12", + "@angular/platform-browser": "^13.3.12", + "@angular/platform-browser-dynamic": "^13.3.12", + "@angular/router": "^13.3.12", + "@angular/service-worker": "^13.3.12", "jquery": "^3.5.1", "js-base64": "^3.6.0", "ng-zorro-antd": "^11.2.0", @@ -30,9 +30,9 @@ "zone.js": "^0.11.3" }, "devDependencies": { - "@angular-devkit/build-angular": "^12.2.18", - "@angular/cli": "^12.2.18", - "@angular/compiler-cli": "^12.2.17", + "@angular-devkit/build-angular": "^13.3.10", + "@angular/cli": "^13.3.10", + "@angular/compiler-cli": "^13.3.12", "@angular/language-service": "^13.2.0", "@types/jasmine": "^3.6.2", "@types/jasminewd2": "~2.0.3", @@ -48,7 +48,7 @@ "nz-tslint-rules": "^0.901.2", "protractor": "^7.0.0", "ts-node": "^10.5.0", - "typescript": "~4.3.5", + "typescript": "~4.6.4", "eslint": "^7.6.0", "eslint-plugin-import": "2.26.0", "eslint-plugin-jsdoc": "35.4.1", diff --git a/src/polyfills.ts b/src/polyfills.ts index aa665d6..a1fb9ac 100644 --- a/src/polyfills.ts +++ b/src/polyfills.ts @@ -18,16 +18,6 @@ * BROWSER POLYFILLS */ -/** IE10 and IE11 requires the following for NgClass support on SVG elements */ -// import 'classlist.js'; // Run `npm install --save classlist.js`. - -/** - * Web Animations `@angular/platform-browser/animations` - * Only required if AnimationBuilder is used within the application and using IE/Edge or Safari. - * Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0). - */ -// import 'web-animations-js'; // Run `npm install --save web-animations-js`. - /** * By default, zone.js will patch all possible macroTask and DomEvents * user can disable parts of macroTask/DomEvents patch by setting following flags diff --git a/src/test.ts b/src/test.ts index 2785df7..f73daa5 100644 --- a/src/test.ts +++ b/src/test.ts @@ -12,7 +12,9 @@ declare const require: any; // First, initialize the Angular testing environment. getTestBed().initTestEnvironment( BrowserDynamicTestingModule, - platformBrowserDynamicTesting() + platformBrowserDynamicTesting(), { + teardown: { destroyAfterEach: false } +} ); // Then we find all the tests. const context = require.context('./', true, /\.spec\.ts$/);