From a97de5c70374c9f10fb0eb0bdee0fdcb8cfa1fba Mon Sep 17 00:00:00 2001 From: Floris Bos Date: Fri, 24 Mar 2023 14:08:58 +0100 Subject: [PATCH] drivelist/mountutils remove package.json We are only cherry picking the C++ files from the drivelist and mountutils dependencies and are not using the node.js stuff that lives inside same directories. package.json (that is not being used) mentions node dependencies with version numbers that contain known vulnerabilties and that seems to make some uncomfortable. Delete files to avoid confusion. Closes #556 --- src/dependencies/drivelist/package.json | 66 ------------------------ src/dependencies/mountutils/package.json | 52 ------------------- 2 files changed, 118 deletions(-) delete mode 100644 src/dependencies/drivelist/package.json delete mode 100644 src/dependencies/mountutils/package.json diff --git a/src/dependencies/drivelist/package.json b/src/dependencies/drivelist/package.json deleted file mode 100644 index 7e342dd..0000000 --- a/src/dependencies/drivelist/package.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "name": "drivelist", - "version": "8.0.9", - "description": "List all connected drives in your computer, in all major operating systems", - "main": "js/index.js", - "homepage": "https://github.com/balena-io-modules/drivelist", - "gypfile": true, - "repository": { - "type": "git", - "url": "git://github.com/balena-io-modules/drivelist.git" - }, - "keywords": [ - "disk", - "cross", - "platform", - "physical", - "drive", - "list" - ], - "directories": { - "test": "tests" - }, - "scripts": { - "test": "mocha -r ts-node/register tests/**/*.spec.ts -R spec", - "lint": "npm run lint-cpp && npm run lint-ts", - "lint-cpp": "cpplint --recursive src", - "lint-ts": "resin-lint --typescript lib tests", - "prettier": "prettier --config ./node_modules/resin-lint/config/.prettierrc --write \"lib/**/*.ts\" \"tests/**/*.ts\"", - "readme": "jsdoc2md --template doc/README.hbs js/index.js > README.md", - "configure": "node-gyp configure", - "build": "node-gyp rebuild", - "build-ts": "tsc", - "rebuild": "node-gyp rebuild", - "install": "prebuild-install || node-gyp rebuild", - "prebuild-release": "prebuild --all --strip", - "prepublishOnly": "npm run build-ts && npm run readme" - }, - "author": "Juan Cruz Viotti ", - "license": "Apache-2.0", - "engines": { - "node": ">=6" - }, - "devDependencies": { - "@types/bindings": "^1.3.0", - "@types/chai": "^4.1.7", - "@types/mocha": "^5.2.6", - "@types/mz": "0.0.32", - "@types/sinon": "^7.0.6", - "chai": "^4.2.0", - "eslint": "^4.19.1", - "jsdoc-to-markdown": "^4.0.1", - "mocha": "^6.0.0", - "prebuild": "^8.1.2", - "resin-lint": "^3.0.1", - "sinon": "^7.2.4", - "ts-node": "^8.0.2", - "typescript": "^3.2.4" - }, - "dependencies": { - "bindings": "^1.3.0", - "debug": "^3.1.0", - "mz": "^2.7.0", - "nan": "^2.14.0", - "prebuild-install": "^5.2.4" - } -} diff --git a/src/dependencies/mountutils/package.json b/src/dependencies/mountutils/package.json deleted file mode 100644 index ff6f03a..0000000 --- a/src/dependencies/mountutils/package.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "name": "mountutils", - "version": "1.3.19", - "main": "index.js", - "description": "Cross platform mount related utilities", - "homepage": "https://github.com/resin-io-modules/mountutils", - "repository": { - "type": "git", - "url": "git://github.com/resin-io-modules/mountutils.git" - }, - "keywords": [ - "mount", - "utils", - "unmount", - "unmounDisk", - "cross", - "platform" - ], - "directories": { - "test": "tests" - }, - "scripts": { - "configure": "node-gyp configure", - "build": "node-gyp build", - "rebuild": "node-gyp rebuild", - "readme": "jsdoc2md --template docs/README.hbs index.js > README.md", - "lint-js": "eslint *.js", - "lint-cpp": "cpplint --recursive src", - "lint": "npm run lint-js && npm run lint-cpp", - "test": "mocha tests -R spec", - "install": "prebuild-install || node-gyp rebuild", - "prebuild-release": "prebuild --all --strip" - }, - "author": "Juan Cruz Viotti ", - "license": "Apache-2.0", - "devDependencies": { - "chai": "^4.1.2", - "eslint": "^4.19.1", - "jsdoc-to-markdown": "^4.0.1", - "mocha": "^5.2.0", - "prebuild": "^7.6.0" - }, - "dependencies": { - "bindings": "^1.3.0", - "nan": "^2.14.0", - "prebuild-install": "^4.0.0" - }, - "gypfile": true, - "bugs": { - "url": "https://github.com/resin-io-modules/mountutils/issues" - } -}