From c6c5b49a997f67d05b6a1ef3e1a0ee94b377e30d Mon Sep 17 00:00:00 2001 From: Mariotaku Date: Tue, 2 Apr 2024 22:14:43 +0900 Subject: [PATCH] fixed adding device #212 --- package-lock.json | 6 +----- package.json | 1 + src/polyfills.ts | 1 + 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index fc7fd6e5..c235c28f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,6 +13,7 @@ "@angular/compiler": "^17.3.2", "@angular/core": "^17.3.2", "@angular/forms": "^17.3.2", + "@angular/localize": "^17.3.2", "@angular/platform-browser": "^17.3.2", "@angular/platform-browser-dynamic": "^17.3.2", "@angular/router": "^17.3.2", @@ -757,7 +758,6 @@ "version": "17.3.2", "resolved": "https://registry.npmjs.org/@angular/localize/-/localize-17.3.2.tgz", "integrity": "sha512-8DMdpWqBZwj367jdT2fSnD406wyNP6WD9wmZr1gzDyViGsM6xUM4udbIJHQ+EABkriSKj3usHqZw6LAzO9kepw==", - "peer": true, "dependencies": { "@babel/core": "7.23.9", "@types/babel__core": "7.20.5", @@ -4712,7 +4712,6 @@ "version": "7.20.5", "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz", "integrity": "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==", - "peer": true, "dependencies": { "@babel/parser": "^7.20.7", "@babel/types": "^7.20.7", @@ -4725,7 +4724,6 @@ "version": "7.6.8", "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.8.tgz", "integrity": "sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw==", - "peer": true, "dependencies": { "@babel/types": "^7.0.0" } @@ -4734,7 +4732,6 @@ "version": "7.4.4", "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz", "integrity": "sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==", - "peer": true, "dependencies": { "@babel/parser": "^7.1.0", "@babel/types": "^7.0.0" @@ -4744,7 +4741,6 @@ "version": "7.20.5", "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.20.5.tgz", "integrity": "sha512-WXCyOcRtH37HAUkpXhUduaxdm82b4GSlyTqajXviN4EfiuPgNYR109xMCKvpl6zPIpua0DGlMEDCq+g8EdoheQ==", - "peer": true, "dependencies": { "@babel/types": "^7.20.7" } diff --git a/package.json b/package.json index f94c678f..b9fb261b 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,7 @@ "@angular/compiler": "^17.3.2", "@angular/core": "^17.3.2", "@angular/forms": "^17.3.2", + "@angular/localize": "^17.3.2", "@angular/platform-browser": "^17.3.2", "@angular/platform-browser-dynamic": "^17.3.2", "@angular/router": "^17.3.2", diff --git a/src/polyfills.ts b/src/polyfills.ts index 97f20a55..fef41770 100644 --- a/src/polyfills.ts +++ b/src/polyfills.ts @@ -61,6 +61,7 @@ import 'zone.js'; // Included with Angular CLI. /*************************************************************************************************** * APPLICATION IMPORTS */ +import '@angular/localize/init'; // Fixing "global is not defined" (window as any).global = window;