diff --git a/.gitignore b/.gitignore index 8212487..b651fdd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ db.txt -h-db.txt \ No newline at end of file +h-db.txt +customdb.txt \ No newline at end of file diff --git a/dbcreator.js b/dbcreator.js index 5879dc7..aa1fd6d 100644 --- a/dbcreator.js +++ b/dbcreator.js @@ -18,7 +18,7 @@ var text = outputdata; processInput() function processInput () { - fs.open('dbcreator.txt', 'a', 666, function( e, id ) { + fs.open('customdb.txt', 'a', 666, function( e, id ) { fs.write( id, text + os.EOL, null, 'utf8', function(){ fs.close(id, function(){ console.log('Custom database is updated, check the dbcreator.txt file'); diff --git a/dbcreator2.js b/dbcreator2.js index 982bc72..f99a2ee 100644 --- a/dbcreator2.js +++ b/dbcreator2.js @@ -44,7 +44,7 @@ while(true) { //const directoryPath = '/path/to/directory'; // Replace with your directory path function processInput() { - fs.open('dbcreator.txt', 'a', 666, function (e, id) { + fs.open('customdb.txt', 'a', 666, function (e, id) { fs.write(id, text + os.EOL, null, 'utf8', function () { fs.close(id, function () { arraynumber = arraynumber + 1 diff --git a/node_modules/crypto/README.md b/node_modules/crypto/README.md deleted file mode 100644 index 5437f14..0000000 --- a/node_modules/crypto/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# Deprecated Package - -This package is no longer supported and has been deprecated. To avoid malicious use, npm is hanging on to the package name. - -It's now a built-in Node module. If you've depended on crypto, you should switch to the one that's built-in. - -Please contact support@npmjs.com if you have questions about this package. diff --git a/node_modules/crypto/package.json b/node_modules/crypto/package.json deleted file mode 100644 index 01aa4d3..0000000 --- a/node_modules/crypto/package.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "name": "crypto", - "version": "1.0.1", - "description": "", - "main": "index.js", - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/npm/deprecate-holder.git" - }, - "author": "", - "license": "ISC", - "bugs": { - "url": "https://github.com/npm/deprecate-holder/issues" - }, - "homepage": "https://github.com/npm/deprecate-holder#readme" -} diff --git a/node_modules/fs/README.md b/node_modules/fs/README.md deleted file mode 100644 index 5e9a74c..0000000 --- a/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/node_modules/fs/package.json b/node_modules/fs/package.json deleted file mode 100644 index 11661b0..0000000 --- a/node_modules/fs/package.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "name": "fs", - "version": "0.0.1-security", - "description": "", - "main": "index.js", - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/npm/security-holder.git" - }, - "keywords": [], - "author": "", - "license": "ISC", - "bugs": { - "url": "https://github.com/npm/security-holder/issues" - }, - "homepage": "https://github.com/npm/security-holder#readme" -} diff --git a/package.json b/package.json index 35a8f7d..f0c6b12 100644 --- a/package.json +++ b/package.json @@ -11,8 +11,6 @@ "author": "Boofdev", "license": "ISC", "dependencies": { - "crypto": "^1.0.1", - "fs": "^0.0.1-security", "prompt-sync": "^4.2.0" } } \ No newline at end of file