From 212ebef801f20213b3a5ee6a0e8fee5819d01a7a Mon Sep 17 00:00:00 2001 From: Ira Hopkinson Date: Mon, 25 Nov 2024 07:57:29 +1300 Subject: [PATCH] - fix using npm `overrrides` --- package-lock.json | 68 ++++++++++++++++++----------------------------- package.json | 5 ++++ 2 files changed, 31 insertions(+), 42 deletions(-) diff --git a/package-lock.json b/package-lock.json index ff5f3ed014..629a4e2264 100644 --- a/package-lock.json +++ b/package-lock.json @@ -202,24 +202,6 @@ "react-dom": ">=18.3.1" } }, - "extensions/node_modules/@biblionexus-foundation/scripture-utilities": { - "version": "0.0.5", - "resolved": "https://registry.npmjs.org/@biblionexus-foundation/scripture-utilities/-/scripture-utilities-0.0.5.tgz", - "integrity": "sha512-YZjnoVBMH3nn3n1TvtiPhjvyE5675zJ6TWKPIl6QOxjLAIQLWnAupLD2L5joaO7/OkWngwoBMmNFcBNt0p4Ccg==", - "license": "MIT", - "dependencies": { - "@xmldom/xmldom": "^0.9.5" - } - }, - "extensions/node_modules/@xmldom/xmldom": { - "version": "0.9.5", - "resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.9.5.tgz", - "integrity": "sha512-6g1EwSs8cr8JhP1iBxzyVAWM6BIDvx9Y3FZRIQiMDzgG43Pxi8YkWOZ0nQj2NHgNzgXDZbJewFx/n+YAvMZrfg==", - "license": "MIT", - "engines": { - "node": ">=14.6" - } - }, "extensions/node_modules/brace-expansion": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", @@ -3837,12 +3819,21 @@ } }, "node_modules/@biblionexus-foundation/scripture-utilities": { - "version": "0.0.4", - "resolved": "https://registry.npmjs.org/@biblionexus-foundation/scripture-utilities/-/scripture-utilities-0.0.4.tgz", - "integrity": "sha512-EslK90TulsLaePMRhcJV/lClFC7NTdbQXbNCXbMN4rR07ES9ZSqKRKaMelNOtWh0eZgXa+glBf7mPC2vdwM6uQ==", - "dev": true, + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/@biblionexus-foundation/scripture-utilities/-/scripture-utilities-0.0.5.tgz", + "integrity": "sha512-YZjnoVBMH3nn3n1TvtiPhjvyE5675zJ6TWKPIl6QOxjLAIQLWnAupLD2L5joaO7/OkWngwoBMmNFcBNt0p4Ccg==", + "license": "MIT", "dependencies": { - "@xmldom/xmldom": "^0.8.10" + "@xmldom/xmldom": "^0.9.5" + } + }, + "node_modules/@biblionexus-foundation/scripture-utilities/node_modules/@xmldom/xmldom": { + "version": "0.9.5", + "resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.9.5.tgz", + "integrity": "sha512-6g1EwSs8cr8JhP1iBxzyVAWM6BIDvx9Y3FZRIQiMDzgG43Pxi8YkWOZ0nQj2NHgNzgXDZbJewFx/n+YAvMZrfg==", + "license": "MIT", + "engines": { + "node": ">=14.6" } }, "node_modules/@cspotcode/source-map-support": { @@ -34646,7 +34637,7 @@ "integrity": "sha512-F72Bq0LFEocVVlWLSQowM9K1uB9XZRa+dZtXGTMqdIDCUIwgnnQCqWAPl9J6r+i7Ff8ohE3bKA0c1FDGA8oQtw==", "dev": true, "requires": { - "@biblionexus-foundation/scripture-utilities": "^0.0.4", + "@biblionexus-foundation/scripture-utilities": "0.0.5", "@lexical/react": "^0.20.0", "@lexical/selection": "^0.20.0", "@lexical/text": "^0.20.0", @@ -34659,12 +34650,18 @@ } }, "@biblionexus-foundation/scripture-utilities": { - "version": "0.0.4", - "resolved": "https://registry.npmjs.org/@biblionexus-foundation/scripture-utilities/-/scripture-utilities-0.0.4.tgz", - "integrity": "sha512-EslK90TulsLaePMRhcJV/lClFC7NTdbQXbNCXbMN4rR07ES9ZSqKRKaMelNOtWh0eZgXa+glBf7mPC2vdwM6uQ==", - "dev": true, + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/@biblionexus-foundation/scripture-utilities/-/scripture-utilities-0.0.5.tgz", + "integrity": "sha512-YZjnoVBMH3nn3n1TvtiPhjvyE5675zJ6TWKPIl6QOxjLAIQLWnAupLD2L5joaO7/OkWngwoBMmNFcBNt0p4Ccg==", "requires": { - "@xmldom/xmldom": "^0.8.10" + "@xmldom/xmldom": "^0.9.5" + }, + "dependencies": { + "@xmldom/xmldom": { + "version": "0.9.5", + "resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.9.5.tgz", + "integrity": "sha512-6g1EwSs8cr8JhP1iBxzyVAWM6BIDvx9Y3FZRIQiMDzgG43Pxi8YkWOZ0nQj2NHgNzgXDZbJewFx/n+YAvMZrfg==" + } } }, "@cspotcode/source-map-support": { @@ -48775,19 +48772,6 @@ "zip-folder-promise": "^1.2.0" }, "dependencies": { - "@biblionexus-foundation/scripture-utilities": { - "version": "0.0.5", - "resolved": "https://registry.npmjs.org/@biblionexus-foundation/scripture-utilities/-/scripture-utilities-0.0.5.tgz", - "integrity": "sha512-YZjnoVBMH3nn3n1TvtiPhjvyE5675zJ6TWKPIl6QOxjLAIQLWnAupLD2L5joaO7/OkWngwoBMmNFcBNt0p4Ccg==", - "requires": { - "@xmldom/xmldom": "^0.9.5" - } - }, - "@xmldom/xmldom": { - "version": "0.9.5", - "resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.9.5.tgz", - "integrity": "sha512-6g1EwSs8cr8JhP1iBxzyVAWM6BIDvx9Y3FZRIQiMDzgG43Pxi8YkWOZ0nQj2NHgNzgXDZbJewFx/n+YAvMZrfg==" - }, "brace-expansion": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", diff --git a/package.json b/package.json index bebddf06d1..9ce0458065 100644 --- a/package.json +++ b/package.json @@ -103,6 +103,11 @@ "*.{html,md,yml}": ["prettier --single-quote --write"] }, "browserslist": ["extends browserslist-config-erb"], + "overrides": { + "@biblionexus-foundation/platform-editor": { + "@biblionexus-foundation/scripture-utilities": "0.0.5" + } + }, "dependencies": { "@emotion/react": "^11.11.4", "@emotion/styled": "^11.11.0",