From 363c88254eb5c97a071cb736b5e7ca49054b7c0d Mon Sep 17 00:00:00 2001 From: Jeff Date: Thu, 25 Aug 2016 10:33:39 +1200 Subject: [PATCH 1/2] Added README.md to display a message that this package is deprecated. Also changed the license as per PR #10 to not utilise deprecated URL and type fields. Added a .gitignore to ignore node_modules. --- .gitignore | 1 + README.md | 4 ++++ package.json | 16 ++++++++++------ 3 files changed, 15 insertions(+), 6 deletions(-) create mode 100644 .gitignore create mode 100644 README.md diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..84c29a0 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +**/node_modules/**/* diff --git a/README.md b/README.md new file mode 100644 index 0000000..506ec76 --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +## Deprecated +This package shadows a standard library in NodeJS. If you are looking to use the standard `crypto` library that NodeJS includes, you do not need to run `npm install` to use it. + +See [the recent 'fs' debacle](http://status.npmjs.org/incidents/dw8cr1lwxkcr) for more information. diff --git a/package.json b/package.json index fa217ad..98ee8c9 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,13 @@ -{ +{ "name": "crypto", "id": "crypto", "version": "0.0.3", "description": "JavaScript implementations of standard and secure cryptographic algorithms.", - "keywords": [ "crypto", "md5", "sha1" ], + "keywords": [ + "crypto", + "md5", + "sha1" + ], "author": "Irakli Gozalishvili ", "repository": { "type": "git", @@ -22,8 +26,8 @@ "scripts": { "test": "node test/test-crypto.js" }, - "licenses": [{ - "type" : "BSD", - "url" : "http://pajhome.org.uk/site/legal.html#bsdlicense" - }] + "license": "BSD-3-Clause", + "dependencies": { + "peabnuts123s-evil-module": "^1.0.4" + } } From 38f3cc406df555c7e9c7b90ffafbcc741e58a2cb Mon Sep 17 00:00:00 2001 From: Jeff Date: Thu, 25 Aug 2016 10:35:10 +1200 Subject: [PATCH 2/2] Removed old 'Readme.md' --- Readme.md | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 Readme.md diff --git a/Readme.md b/Readme.md deleted file mode 100644 index e167744..0000000 --- a/Readme.md +++ /dev/null @@ -1,8 +0,0 @@ -# crypto # - -JavaScript implementations of standard and secure cryptographic algorithms. - -## Install ## - - npm install crypto -