diff --git a/app/index.js b/app/index.js index 7fec92b..649fc92 100644 --- a/app/index.js +++ b/app/index.js @@ -3,7 +3,6 @@ const exphbs = require('express-handlebars'); const path = require('path'); const cookieParser = require('cookie-parser'); const axios = require('axios'); -const fs = require('fs'); const bodyParser = require('body-parser'); const Wikiapi = require('wikiapi'); const wiki = new Wikiapi('fr'); diff --git a/app/node_modules/fs/README.md b/app/node_modules/fs/README.md deleted file mode 100644 index 5e9a74c..0000000 --- a/app/node_modules/fs/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# Security holding package - -This package name is not currently in use, but was formerly occupied -by another package. To avoid malicious use, npm is hanging on to the -package name, but loosely, and we'll probably give it to you if you -want it. - -You may adopt this package by contacting support@npmjs.com and -requesting the name. diff --git a/app/node_modules/fs/package.json b/app/node_modules/fs/package.json deleted file mode 100644 index 13d18f0..0000000 --- a/app/node_modules/fs/package.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "_from": "fs", - "_id": "fs@0.0.1-security", - "_inBundle": false, - "_integrity": "sha512-3XY9e1pP0CVEUCdj5BmfIZxRBTSDycnbqhIOGec9QYtmVH2fbLpj86CFWkrNOkt/Fvty4KZG5lTglL9j/gJ87w==", - "_location": "/fs", - "_phantomChildren": {}, - "_requested": { - "type": "tag", - "registry": true, - "raw": "fs", - "name": "fs", - "escapedName": "fs", - "rawSpec": "", - "saveSpec": null, - "fetchSpec": "latest" - }, - "_requiredBy": [ - "#USER", - "/" - ], - "_resolved": "https://registry.npmjs.org/fs/-/fs-0.0.1-security.tgz", - "_shasum": "8a7bd37186b6dddf3813f23858b57ecaaf5e41d4", - "_spec": "fs", - "_where": "/mnt/c/Users/docto/Downloads/Rappaurio", - "author": "", - "bugs": { - "url": "https://github.com/npm/security-holder/issues" - }, - "bundleDependencies": false, - "deprecated": false, - "description": "This package name is not currently in use, but was formerly occupied by another package. To avoid malicious use, npm is hanging on to the package name, but loosely, and we'll probably give it to you if you want it.", - "homepage": "https://github.com/npm/security-holder#readme", - "keywords": [], - "license": "ISC", - "main": "index.js", - "name": "fs", - "repository": { - "type": "git", - "url": "git+https://github.com/npm/security-holder.git" - }, - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" - }, - "version": "0.0.1-security" -} diff --git a/app/package-lock.json b/app/package-lock.json index 85ccaa8..2818189 100644 --- a/app/package-lock.json +++ b/app/package-lock.json @@ -395,11 +395,6 @@ "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==" }, - "fs": { - "version": "0.0.1-security", - "resolved": "https://registry.npmjs.org/fs/-/fs-0.0.1-security.tgz", - "integrity": "sha512-3XY9e1pP0CVEUCdj5BmfIZxRBTSDycnbqhIOGec9QYtmVH2fbLpj86CFWkrNOkt/Fvty4KZG5lTglL9j/gJ87w==" - }, "function-bind": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", diff --git a/app/package.json b/app/package.json index a4de779..3057ce3 100644 --- a/app/package.json +++ b/app/package.json @@ -6,7 +6,11 @@ "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, - "keywords": ["Wikipedia","Compare","API REST"], + "keywords": [ + "Wikipedia", + "Compare", + "API REST" + ], "author": "Dario WEINBERGER & Raphael PAYET", "license": "ISC", "dependencies": { @@ -15,7 +19,6 @@ "cookie-parser": "^1.4.6", "express": "^4.18.2", "express-handlebars": "^7.1.2", - "fs": "0.0.1-security", "hbs": "^4.2.0", "morgan": "^1.10.0", "wikiapi": "^1.19.4",