Skip to content

Commit

Permalink
INT-3274: Remove zone.js-11 dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
danoaky-tiny committed Mar 26, 2024
1 parent 25958a7 commit 2d68a66
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@
"tslib": "^2.6.2",
"typescript": "~5.4.3",
"webpack": "^5.91.0",
"zone.js": "~0.14.4",
"zone.js-11": "npm:zone.js@~0.11"
"zone.js": "~0.14.4"
},
"dependencies": {
"tinymce": "^5.10.7"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import 'core-js/features/reflect';
import 'zone.js-11';
// Angular 17 uses 0.14.x of Zone.js, but that version no longer exports these two modules. So this is a workaround for now.
import 'zone.js-11/dist/fake-async-test.js';
import 'zone.js-11/dist/zone';
import 'zone.js';
import 'zone.js/plugins/fake-async-test';

import { TestBed } from '@angular/core/testing';
import { BrowserDynamicTestingModule, platformBrowserDynamicTesting } from '@angular/platform-browser-dynamic/testing';
Expand Down
7 changes: 0 additions & 7 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14610,13 +14610,6 @@ zip-stream@^5.0.1:
compress-commons "^5.0.1"
readable-stream "^3.6.0"

"zone.js-11@npm:zone.js@~0.11":
version "0.11.8"
resolved "https://registry.yarnpkg.com/zone.js/-/zone.js-0.11.8.tgz#40dea9adc1ad007b5effb2bfed17f350f1f46a21"
integrity sha512-82bctBg2hKcEJ21humWIkXRlLBBmrc3nN7DFh5LGGhcyycO2S7FN8NmdvlcKaGFDNVL4/9kFLmwmInTavdJERA==
dependencies:
tslib "^2.3.0"

zone.js@~0.10.3:
version "0.10.3"
resolved "https://registry.yarnpkg.com/zone.js/-/zone.js-0.10.3.tgz#3e5e4da03c607c9dcd92e37dd35687a14a140c16"
Expand Down

0 comments on commit 2d68a66

Please sign in to comment.