From 5b6c9df9c835d203bda160e96505dcfe83be3d6d Mon Sep 17 00:00:00 2001 From: Simon Alling Date: Fri, 19 Jul 2024 23:27:09 +0200 Subject: [PATCH] Upgrade to Userscripter 4.0.0 (#270) --- package-lock.json | 108 ++++------------------------------------------ package.json | 2 +- 2 files changed, 10 insertions(+), 100 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6b4616b..e43374e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -39,7 +39,7 @@ "ts-type-guards": "^0.6.1", "typescript": "4.1.6", "userscript-metadata": "^1.0.0", - "userscripter": "3.0.5", + "userscripter": "4.0.0", "webpack": "^4.46.0", "webpack-cli": "^3.3.12" } @@ -3093,14 +3093,6 @@ "resolved": "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz", "integrity": "sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ==" }, - "node_modules/@types/fs-extra": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-8.1.1.tgz", - "integrity": "sha512-TcUlBem321DFQzBNuz8p0CLLKp0VvF/XH9E4KHNmgwyp4E3AfgI5cjiIVZWlbfThBop2qxFIh4+LeY6hVWWZ2w==", - "dependencies": { - "@types/node": "*" - } - }, "node_modules/@types/graceful-fs": { "version": "4.1.5", "resolved": "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.5.tgz", @@ -7443,24 +7435,6 @@ "readable-stream": "^2.0.0" } }, - "node_modules/fs-extra": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", - "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", - "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - }, - "engines": { - "node": ">=6 <7 || >=8" - } - }, - "node_modules/fs-extra/node_modules/graceful-fs": { - "version": "4.2.6", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.6.tgz", - "integrity": "sha512-nTnJ528pbqxYanhpDYsi4Rd8MAeaBA67+RZ10CM1m3bTAVFEDcd5AuA4a6W5YkGZ1iNXHzZz8T6TBKLeBuNriQ==" - }, "node_modules/fs-minipass": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", @@ -14502,14 +14476,6 @@ "json5": "lib/cli.js" } }, - "node_modules/jsonfile": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", - "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, "node_modules/jsprim": { "version": "1.4.2", "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.2.tgz", @@ -18364,18 +18330,14 @@ } }, "node_modules/userscripter": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/userscripter/-/userscripter-3.0.5.tgz", - "integrity": "sha512-yFCQSEWp+J25B+5/7dEF6txewMc7OYCvyeOt9cikwGqigA/PLhRF70RjnKq6MI5hJO/HgYVgVmXk5rgR+mHx+g==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/userscripter/-/userscripter-4.0.0.tgz", + "integrity": "sha512-KHdpe173p179cAYURkI1G251jxjhF7tTLX74TfRGRKL0MWqR2N+YpMDd5dUxqk2cU6aVv85igswEohPRsgD2cg==", "dependencies": { - "@types/fs-extra": "^8.0.1", - "@types/node": "^12.12.8", "@types/sass": "^1.16.0", "@types/terser-webpack-plugin": "^2.2.0", "@types/webpack": "^4.39.9", - "@types/yargs": "^13.0.3", "css-loader": "^3.2.0", - "fs-extra": "^8.1.0", "lines-unlines": "^1.0.0", "node-sass-utils": "^1.1.3", "raw-loader": "^4.0.0", @@ -18388,21 +18350,12 @@ "tsconfig-paths-webpack-plugin": "^3.2.0", "userscript-metadata": "^1.0.0", "webextension-manifest": "^1.0.0", - "webpack": "^4.41.2", - "yargs": "^15.0.2" - }, - "bin": { - "userscripter": "bin/cli.js" + "webpack": "^4.41.2" }, "peerDependencies": { "ts-preferences": "^2.0.0" } }, - "node_modules/userscripter/node_modules/@types/node": { - "version": "12.20.15", - "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.15.tgz", - "integrity": "sha512-F6S4Chv4JicJmyrwlDkxUdGNSplsQdGwp1A0AJloEVDirWdZOAiRHhovDlsFkKUrquUXhz1imJhXHsf59auyAg==" - }, "node_modules/userscripter/node_modules/cacache": { "version": "13.0.1", "resolved": "https://registry.npmjs.org/cacache/-/cacache-13.0.1.tgz", @@ -21767,14 +21720,6 @@ "resolved": "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz", "integrity": "sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ==" }, - "@types/fs-extra": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-8.1.1.tgz", - "integrity": "sha512-TcUlBem321DFQzBNuz8p0CLLKp0VvF/XH9E4KHNmgwyp4E3AfgI5cjiIVZWlbfThBop2qxFIh4+LeY6hVWWZ2w==", - "requires": { - "@types/node": "*" - } - }, "@types/graceful-fs": { "version": "4.1.5", "resolved": "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.5.tgz", @@ -25171,23 +25116,6 @@ "readable-stream": "^2.0.0" } }, - "fs-extra": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", - "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", - "requires": { - "graceful-fs": "^4.2.0", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - }, - "dependencies": { - "graceful-fs": { - "version": "4.2.6", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.6.tgz", - "integrity": "sha512-nTnJ528pbqxYanhpDYsi4Rd8MAeaBA67+RZ10CM1m3bTAVFEDcd5AuA4a6W5YkGZ1iNXHzZz8T6TBKLeBuNriQ==" - } - } - }, "fs-minipass": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", @@ -30550,14 +30478,6 @@ "minimist": "^1.2.0" } }, - "jsonfile": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", - "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", - "requires": { - "graceful-fs": "^4.1.6" - } - }, "jsprim": { "version": "1.4.2", "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.2.tgz", @@ -33526,18 +33446,14 @@ } }, "userscripter": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/userscripter/-/userscripter-3.0.5.tgz", - "integrity": "sha512-yFCQSEWp+J25B+5/7dEF6txewMc7OYCvyeOt9cikwGqigA/PLhRF70RjnKq6MI5hJO/HgYVgVmXk5rgR+mHx+g==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/userscripter/-/userscripter-4.0.0.tgz", + "integrity": "sha512-KHdpe173p179cAYURkI1G251jxjhF7tTLX74TfRGRKL0MWqR2N+YpMDd5dUxqk2cU6aVv85igswEohPRsgD2cg==", "requires": { - "@types/fs-extra": "^8.0.1", - "@types/node": "^12.12.8", "@types/sass": "^1.16.0", "@types/terser-webpack-plugin": "^2.2.0", "@types/webpack": "^4.39.9", - "@types/yargs": "^13.0.3", "css-loader": "^3.2.0", - "fs-extra": "^8.1.0", "lines-unlines": "^1.0.0", "node-sass-utils": "^1.1.3", "raw-loader": "^4.0.0", @@ -33550,15 +33466,9 @@ "tsconfig-paths-webpack-plugin": "^3.2.0", "userscript-metadata": "^1.0.0", "webextension-manifest": "^1.0.0", - "webpack": "^4.41.2", - "yargs": "^15.0.2" + "webpack": "^4.41.2" }, "dependencies": { - "@types/node": { - "version": "12.20.15", - "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.15.tgz", - "integrity": "sha512-F6S4Chv4JicJmyrwlDkxUdGNSplsQdGwp1A0AJloEVDirWdZOAiRHhovDlsFkKUrquUXhz1imJhXHsf59auyAg==" - }, "cacache": { "version": "13.0.1", "resolved": "https://registry.npmjs.org/cacache/-/cacache-13.0.1.tgz", diff --git a/package.json b/package.json index 0655423..d8fdc4a 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "ts-type-guards": "^0.6.1", "typescript": "4.1.6", "userscript-metadata": "^1.0.0", - "userscripter": "3.0.5", + "userscripter": "4.0.0", "webpack": "^4.46.0", "webpack-cli": "^3.3.12" }