security audit (#123)

Co-authored-by: Marcus Netz <marcus.netz@godyo.com>
This commit is contained in:
2021-12-23 10:06:36 +01:00
committed by GitHub
parent 8531755426
commit aa89a0458e
2 changed files with 13 additions and 18 deletions

26
package-lock.json generated
View File

@ -6,6 +6,7 @@
"packages": { "packages": {
"": { "": {
"version": "1.6.5", "version": "1.6.5",
"hasInstallScript": true,
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"discord.js": "^12.5.3", "discord.js": "^12.5.3",
@ -4791,9 +4792,7 @@
} }
}, },
"node_modules/normalize-url": { "node_modules/normalize-url": {
"version": "4.5.0", "version": ">=4.5.1",
"resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.0.tgz",
"integrity": "sha512-2s47yzUxdexf1OhyRi4Em83iQk0aPvwTddtFz4hnSSw9dCEsLEGf6SwIO8ss/19S9iBb5sJaOuTvTGDeZI00BQ==",
"engines": { "engines": {
"node": ">=8" "node": ">=8"
} }
@ -5056,9 +5055,7 @@
} }
}, },
"node_modules/path-parse": { "node_modules/path-parse": {
"version": "1.0.6", "version": ">=1.0.7",
"resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz",
"integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==",
"dev": true "dev": true
}, },
"node_modules/picomatch": { "node_modules/picomatch": {
@ -6647,8 +6644,7 @@
}, },
"dependencies": { "dependencies": {
"argparse": { "argparse": {
"version": "2.0.1", "version": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
"resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
"integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
"dev": true "dev": true
}, },
@ -9903,9 +9899,7 @@
"dev": true "dev": true
}, },
"normalize-url": { "normalize-url": {
"version": "4.5.0", "version": ">=4.5.1"
"resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.0.tgz",
"integrity": "sha512-2s47yzUxdexf1OhyRi4Em83iQk0aPvwTddtFz4hnSSw9dCEsLEGf6SwIO8ss/19S9iBb5sJaOuTvTGDeZI00BQ=="
}, },
"npm-run-path": { "npm-run-path": {
"version": "4.0.1", "version": "4.0.1",
@ -10093,9 +10087,7 @@
"dev": true "dev": true
}, },
"path-parse": { "path-parse": {
"version": "1.0.6", "version": ">=1.0.7",
"resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz",
"integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==",
"dev": true "dev": true
}, },
"picomatch": { "picomatch": {
@ -10141,8 +10133,7 @@
} }
}, },
"locate-path": { "locate-path": {
"version": "3.0.0", "version": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",
"integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",
"dev": true, "dev": true,
"requires": { "requires": {
@ -10160,8 +10151,7 @@
} }
}, },
"path-exists": { "path-exists": {
"version": "3.0.0", "version": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz",
"resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz",
"integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=",
"dev": true "dev": true
} }

View File

@ -5,6 +5,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"lint": "eslint commands/", "lint": "eslint commands/",
"preinstall": "npx npm-force-resolutions",
"start": "node index.js", "start": "node index.js",
"test": "jest --collectCoverage" "test": "jest --collectCoverage"
}, },
@ -52,5 +53,9 @@
"<rootDir>/__mocks__/" "<rootDir>/__mocks__/"
], ],
"coverageDirectory": "coverage" "coverageDirectory": "coverage"
},
"resolutions": {
"normalize-url": ">=4.5.1",
"path-parse": ">=1.0.7"
} }
} }