Skip to content

Commit f89d4ca

Browse files
authored
Update angular to v13.0.0 (#181)
1 parent 62d82fe commit f89d4ca

File tree

4 files changed

+19
-28
lines changed

4 files changed

+19
-28
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ speed-measure-plugin.json
3333
.history/*
3434

3535
# misc
36+
/.angular/cache
3637
/.sass-cache
3738
/connect.lock
3839
/coverage

package.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,25 @@
1212
},
1313
"private": true,
1414
"dependencies": {
15-
"@angular/animations": "12.0.2",
16-
"@angular/cdk": "12.0.2",
17-
"@angular/common": "12.0.2",
18-
"@angular/compiler": "12.0.2",
19-
"@angular/core": "12.0.2",
20-
"@angular/forms": "12.0.2",
21-
"@angular/material": "12.0.2",
22-
"@angular/platform-browser": "12.0.2",
23-
"@angular/platform-browser-dynamic": "12.0.2",
24-
"@angular/router": "12.0.2",
25-
"@angular/service-worker": "12.0.2",
15+
"@angular/animations": "13.0.0",
16+
"@angular/cdk": "13.0.0",
17+
"@angular/common": "13.0.0",
18+
"@angular/compiler": "13.0.0",
19+
"@angular/core": "13.0.0",
20+
"@angular/forms": "13.0.0",
21+
"@angular/material": "13.0.0",
22+
"@angular/platform-browser": "13.0.0",
23+
"@angular/platform-browser-dynamic": "13.0.0",
24+
"@angular/router": "13.0.0",
25+
"@angular/service-worker": "13.0.0",
2626
"rxjs": "6.6.7",
2727
"tslib": "2.2.0",
2828
"zone.js": "0.11.4"
2929
},
3030
"devDependencies": {
31-
"@angular-devkit/build-angular": "12.0.2",
32-
"@angular/cli": "12.0.2",
33-
"@angular/compiler-cli": "12.0.2",
31+
"@angular-devkit/build-angular": "13.0.1",
32+
"@angular/cli": "13.0.1",
33+
"@angular/compiler-cli": "13.0.0",
3434
"@types/jasmine": "3.7.6",
3535
"@types/node": "14.17.1",
3636
"all-contributors-cli": "6.20.0",
@@ -42,6 +42,6 @@
4242
"karma-jasmine-html-reporter": "1.6.0",
4343
"karma-coverage-istanbul-reporter": "3.0.3",
4444
"jasmine-spec-reporter": "7.0.0",
45-
"typescript": "4.2.4"
45+
"typescript": "4.4.4"
4646
}
4747
}

src/polyfills.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,6 @@
1818
* BROWSER POLYFILLS
1919
*/
2020

21-
/**
22-
* IE11 requires the following for NgClass support on SVG elements
23-
*/
24-
// import 'classlist.js'; // Run `npm install --save classlist.js`.
25-
26-
/**
27-
* Web Animations `@angular/platform-browser/animations`
28-
* Only required if AnimationBuilder is used within the application and using IE/Edge or Safari.
29-
* Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0).
30-
*/
31-
// import 'web-animations-js'; // Run `npm install --save web-animations-js`.
32-
3321
/**
3422
* By default, zone.js will patch all possible macroTask and DomEvents
3523
* user can disable parts of macroTask/DomEvents patch by setting following flags

src/test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ declare const require: {
1717
// First, initialize the Angular testing environment.
1818
getTestBed().initTestEnvironment(
1919
BrowserDynamicTestingModule,
20-
platformBrowserDynamicTesting()
20+
platformBrowserDynamicTesting(), {
21+
teardown: { destroyAfterEach: false }
22+
}
2123
);
2224
// Then we find all the tests.
2325
const context = require.context('./', true, /\.spec\.ts$/);

0 commit comments

Comments
 (0)