From b73cba027e388b74795886c8ca75174cb6ff7db6 Mon Sep 17 00:00:00 2001 From: Tom Jenkinson Date: Tue, 24 Dec 2024 18:03:29 +0100 Subject: [PATCH] Move `regjsparser` to a dev dep Given it's built into the dist. --- package-lock.json | 10 ++++++---- package.json | 4 +--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index ebb159ab..e92a2293 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,9 +6,6 @@ "": { "name": "redos-detector", "license": "MIT", - "dependencies": { - "regjsparser": "0.12.0" - }, "bin": { "redos-detector": "bin.js" }, @@ -30,6 +27,7 @@ "lint-staged": "15.2.11", "micromatch": "4.0.8", "prettier": "3.4.2", + "regjsparser": "0.12.0", "rollup": "4.28.1", "ts-jest": "29.2.5", "tslib": "2.8.1", @@ -5111,6 +5109,7 @@ "version": "0.12.0", "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.12.0.tgz", "integrity": "sha512-cnE+y8bz4NhMjISKbgeVJtqNbtf5QpjZP+Bslo+UqkIt9QPnX9q095eiRRASJG1/tz6dlNr6Z5NsBiWYokp6EQ==", + "dev": true, "dependencies": { "jsesc": "~3.0.2" }, @@ -5122,6 +5121,7 @@ "version": "3.0.2", "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.0.2.tgz", "integrity": "sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==", + "dev": true, "bin": { "jsesc": "bin/jsesc" }, @@ -9634,6 +9634,7 @@ "version": "0.12.0", "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.12.0.tgz", "integrity": "sha512-cnE+y8bz4NhMjISKbgeVJtqNbtf5QpjZP+Bslo+UqkIt9QPnX9q095eiRRASJG1/tz6dlNr6Z5NsBiWYokp6EQ==", + "dev": true, "requires": { "jsesc": "~3.0.2" }, @@ -9641,7 +9642,8 @@ "jsesc": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.0.2.tgz", - "integrity": "sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==" + "integrity": "sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==", + "dev": true } } }, diff --git a/package.json b/package.json index 19b3eca8..c666b034 100644 --- a/package.json +++ b/package.json @@ -41,9 +41,6 @@ "url": "https://github.com/tjenkinson/redos-detector/issues" }, "homepage": "https://github.com/tjenkinson/redos-detector#readme", - "dependencies": { - "regjsparser": "0.12.0" - }, "devDependencies": { "@rollup/plugin-commonjs": "25.0.8", "@rollup/plugin-node-resolve": "15.3.1", @@ -62,6 +59,7 @@ "lint-staged": "15.2.11", "micromatch": "4.0.8", "prettier": "3.4.2", + "regjsparser": "0.12.0", "rollup": "4.28.1", "ts-jest": "29.2.5", "tslib": "2.8.1",