From 219b7d261cfdb2a19bc0c0860da0233f43c9fe6d Mon Sep 17 00:00:00 2001 From: "Jean M. Lescure" Date: Mon, 29 Apr 2024 15:28:22 -0600 Subject: [PATCH] chore: fix dev dependency vm2 warning --- package-lock.json | 33 +++++++++++++++++---------------- package.json | 3 +++ 2 files changed, 20 insertions(+), 16 deletions(-) diff --git a/package-lock.json b/package-lock.json index 75f599e..227a2dc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1285,6 +1285,23 @@ "node": ">= 14" } }, + "node_modules/degenerator/node_modules/vm2": { + "name": "vm2-fixed", + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/vm2-fixed/-/vm2-fixed-0.0.1.tgz", + "integrity": "sha512-OR6xu/sntqL1/q0smSvdyYvRUuO4WtCnCGTfgvcDSYCTMGw74UeKyuGrhpIHDez4Kzag/3ebJg8GWk2X9bYPJQ==", + "dev": true, + "dependencies": { + "acorn": "^8.7.0", + "acorn-walk": "^8.2.0" + }, + "bin": { + "vm2": "bin/vm2" + }, + "engines": { + "node": ">=6.0" + } + }, "node_modules/deprecation": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz", @@ -5090,22 +5107,6 @@ "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", "dev": true }, - "node_modules/vm2": { - "version": "3.9.19", - "resolved": "https://registry.npmjs.org/vm2/-/vm2-3.9.19.tgz", - "integrity": "sha512-J637XF0DHDMV57R6JyVsTak7nIL8gy5KH4r1HiwWLf/4GBbb5MKL5y7LpmF4A8E2nR6XmzpmMFQ7V7ppPTmUQg==", - "dev": true, - "dependencies": { - "acorn": "^8.7.0", - "acorn-walk": "^8.2.0" - }, - "bin": { - "vm2": "bin/vm2" - }, - "engines": { - "node": ">=6.0" - } - }, "node_modules/vscode-oniguruma": { "version": "1.7.0", "resolved": "https://registry.npmjs.org/vscode-oniguruma/-/vscode-oniguruma-1.7.0.tgz", diff --git a/package.json b/package.json index 8eecbdf..6272ba8 100644 --- a/package.json +++ b/package.json @@ -63,5 +63,8 @@ "typedoc-plugin-rename-defaults": "^0.7.0", "typedoc-plugin-script-inject": "^2.0.0", "typescript": "^5.4.5" + }, + "overrides": { + "vm2": "npm:vm2-fixed@0.0.1" } }