Browse Source

[PM-26454] Undo removal of core-js to fix dynamic import errors (#890)

* Undo removal of core-js to fix dynamic import errors

* chore: update package-lock with npm install

---------

Co-authored-by: Vincent Salucci <vincesalucci21@gmail.com>
googleapi-failure-test
Thomas Rittson 3 months ago committed by GitHub
parent
commit
7c27202dab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 16
      package-lock.json
  2. 1
      package.json
  3. 3
      src/app/app.module.ts

16
package-lock.json generated

@ -1,12 +1,12 @@ @@ -1,12 +1,12 @@
{
"name": "@bitwarden/directory-connector",
"version": "2025.8.0",
"version": "2025.9.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@bitwarden/directory-connector",
"version": "2025.8.0",
"version": "2025.9.0",
"hasInstallScript": true,
"license": "GPL-3.0",
"dependencies": {
@ -26,6 +26,7 @@ @@ -26,6 +26,7 @@
"browser-hrtime": "1.1.8",
"chalk": "4.1.2",
"commander": "14.0.0",
"core-js": "3.44.0",
"form-data": "4.0.4",
"google-auth-library": "10.3.0",
"googleapis": "153.0.0",
@ -11508,6 +11509,17 @@ @@ -11508,6 +11509,17 @@
"webpack": "^5.1.0"
}
},
"node_modules/core-js": {
"version": "3.44.0",
"resolved": "https://registry.npmjs.org/core-js/-/core-js-3.44.0.tgz",
"integrity": "sha512-aFCtd4l6GvAXwVEh3XbbVqJGHDJt0OZRa+5ePGx3LLwi12WfexqQxcsohb2wgsa/92xtl19Hd66G/L+TaAxDMw==",
"hasInstallScript": true,
"license": "MIT",
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/core-js"
}
},
"node_modules/core-js-compat": {
"version": "3.44.0",
"resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.44.0.tgz",

1
package.json

@ -157,6 +157,7 @@ @@ -157,6 +157,7 @@
"browser-hrtime": "1.1.8",
"chalk": "4.1.2",
"commander": "14.0.0",
"core-js": "3.44.0",
"form-data": "4.0.4",
"google-auth-library": "10.3.0",
"googleapis": "153.0.0",

3
src/app/app.module.ts

@ -1,3 +1,6 @@ @@ -1,3 +1,6 @@
// core-js is required for bwdc cli which appears to require these pollyfills for dynamic imports
// see https://github.com/bitwarden/directory-connector/issues/878
import "core-js/stable";
import "zone.js";
import { NgModule } from "@angular/core";

Loading…
Cancel
Save