Skip to content

Commit 9f505c2

Browse files
committedFeb 22, 2021
build: apply v12 migrations for zone.js 0.11.x
- pin husky to 4.x since 5.x breaks on Windows
1 parent 4fac987 commit 9f505c2

File tree

4 files changed

+4
-25
lines changed

4 files changed

+4
-25
lines changed
 

‎package-lock.json

-21
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"firebase": "^8.2.9",
4141
"rxjs": "^6.6.3",
4242
"tslib": "^2.1.0",
43-
"zone.js": "^0.11.4"
43+
"zone.js": "~0.11.4"
4444
},
4545
"devDependencies": {
4646
"@angular-devkit/architect": "^0.1102.1",
@@ -56,7 +56,7 @@
5656
"gulp": "~4.0.2",
5757
"gulp-angular-templatecache": "~3.0.0",
5858
"gulp-htmlmin": "~5.0.1",
59-
"husky": "^4.3.6",
59+
"husky": "4.3.6",
6060
"lint-staged": "^10.5.4",
6161
"npm-check": "^5.9.2",
6262
"prettier": "^2.2.1",

‎src/environments/environment.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ export const environment = {
1616
* This import should be commented out in production mode because it will have a negative impact
1717
* on performance if an error is thrown.
1818
*/
19-
import 'zone.js/dist/zone-error'; // Included with Angular CLI.
19+
import 'zone.js/plugins/zone-error'; // Included with Angular CLI.

‎src/polyfills.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
/***************************************************************************************************
5959
* Zone JS is required by default for Angular itself.
6060
*/
61-
import 'zone.js/dist/zone'; // Included with Angular CLI.
61+
import 'zone.js'; // Included with Angular CLI.
6262

6363
/***************************************************************************************************
6464
* APPLICATION IMPORTS

0 commit comments

Comments
 (0)
Failed to load comments.