From 2446eaca4bcaf79dcd9278a4d63a97227a2e6495 Mon Sep 17 00:00:00 2001 From: Hudson Worden Date: Fri, 23 Aug 2024 00:38:26 -0400 Subject: [PATCH 1/2] Run npm install to correct package-lock.json from previous version. --- package-lock.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 84f80fff4..94e5c45e0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "auth0-lock", - "version": "12.5.0", + "version": "12.5.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "auth0-lock", - "version": "12.5.0", + "version": "12.5.1", "license": "MIT", "dependencies": { "auth0-js": "^9.26.0", From 0f3141b3930eb284c488e9ce55f53d9fdd73cbdd Mon Sep 17 00:00:00 2001 From: Hudson Worden Date: Fri, 23 Aug 2024 00:41:41 -0400 Subject: [PATCH 2/2] Fix the invalid reference by making events a dependency so when a consumer package installs, events is installed as well. The EventEmitter api is a node api and this package makes it for the browser. --- package-lock.json | 3 +-- package.json | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 94e5c45e0..caec47a10 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,6 +14,7 @@ "blueimp-md5": "^2.19.0", "classnames": "^2.3.2", "dompurify": "^2.3.12", + "events": "^3.3.0", "immutable": "^3.7.6", "jsonp": "^0.2.1", "password-sheriff": "^1.1.1", @@ -68,7 +69,6 @@ "eslint-config-prettier": "^8.8.0", "eslint-plugin-react": "^7.32.2", "esm": "^3.2.25", - "events": "^3.3.0", "expect.js": "^0.3.1", "flat": "^5.0.2", "glob": "^7.1.7", @@ -8972,7 +8972,6 @@ "version": "3.3.0", "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", - "dev": true, "engines": { "node": ">=0.8.x" } diff --git a/package.json b/package.json index 3832d32e6..e5ba38155 100644 --- a/package.json +++ b/package.json @@ -81,7 +81,6 @@ "eslint-config-prettier": "^8.8.0", "eslint-plugin-react": "^7.32.2", "esm": "^3.2.25", - "events": "^3.3.0", "expect.js": "^0.3.1", "flat": "^5.0.2", "glob": "^7.1.7", @@ -126,6 +125,7 @@ "blueimp-md5": "^2.19.0", "classnames": "^2.3.2", "dompurify": "^2.3.12", + "events": "^3.3.0", "immutable": "^3.7.6", "jsonp": "^0.2.1", "password-sheriff": "^1.1.1", @@ -189,4 +189,4 @@ "prettier --write" ] } -} +} \ No newline at end of file