[Pkg-javascript-commits] [node-ripemd160] 12/71: removed bower and component

Bastien Roucariès rouca at moszumanska.debian.org
Thu May 4 10:25:37 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-ripemd160.

commit 82805e14f9c366c74dc287411255dc6ecae574c5
Author: JP Richardson <jprichardson at gmail.com>
Date:   Sun Mar 9 11:03:39 2014 -0500

    removed bower and component
---
 .npmignore       |  3 ---
 CHANGELOG.md     |  4 ++++
 bower.json       | 26 --------------------------
 component.json   | 22 ----------------------
 lib/ripemd160.js | 19 +++++++------------
 5 files changed, 11 insertions(+), 63 deletions(-)

diff --git a/.npmignore b/.npmignore
index 5f4d900..f547b9c 100644
--- a/.npmignore
+++ b/.npmignore
@@ -1,6 +1,3 @@
 .gitignore
 test/
 .DS_Store
-references/
-component.json
-bower.json
\ No newline at end of file
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 62810bd..654d551 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,7 @@
+0.2.0 / 2014-03-09
+------------------
+* removed bower.json and component.json
+
 0.1.0 / 2013-11-20
 ------------------
 * changed package name 
diff --git a/bower.json b/bower.json
deleted file mode 100644
index 881bf2b..0000000
--- a/bower.json
+++ /dev/null
@@ -1,26 +0,0 @@
-{
-  "name": "ripemd160",
-  "version": "0.1.0",
-  "description": "Compute RIPEMD160 of bytes or strings",
-  "keywords": [
-    "string",
-    "strings",
-    "ripemd160",
-    "bytes",
-    "cryptography",
-    "bitcoin"
-  ],
-  "ignore": [
-    "node_modules",
-    ".DS_Store",
-    "references",
-    "component.json",
-    "packabe.json"
-  ],
-  "dependencies": {
-    "convert-hex": "0.1.x",
-    "convert-string": "0.1.x"
-  },
-  "repo": "https://github.com/cryptocoinjs/ripemd160",
-  "main": "./lib/ripemd160.js"
-}
\ No newline at end of file
diff --git a/component.json b/component.json
deleted file mode 100644
index f794c9f..0000000
--- a/component.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
-  "name": "ripemd160",
-  "version": "0.1.0",
-  "description": "Compute RIPEMD160 of bytes or strings.",
-  "keywords": [
-    "string",
-    "strings",
-    "ripemd160",
-    "bytes",
-    "cryptography",
-    "bitcoin"
-  ],
-  "repo": "cryptocoinjs/ripemd160",
-  "scripts": [
-    "./lib/ripemd160.js"
-  ],
-  "main": "./lib/ripemd160.js",
-  "dependencies": {
-    "cryptocoinjs/convert-hex": "0.1.x",
-    "cryptocoinjs/convert-string": "0.1.x"
-  }
-}
\ No newline at end of file
diff --git a/lib/ripemd160.js b/lib/ripemd160.js
index 03d75ca..e80eec5 100644
--- a/lib/ripemd160.js
+++ b/lib/ripemd160.js
@@ -1,17 +1,12 @@
-!function(globals) {
-'use strict'
+
 
 var _imports = {}
 
-if (typeof module !== 'undefined' && module.exports) { //CommonJS
-    _imports.bytesToHex = require('convert-hex').bytesToHex
-    _imports.convertString = require('convert-string')
-  module.exports = ripemd160
-} else {
-  _imports.convertString = globals.convertString
-  _imports.bytesToHex = globals.convertHex.bytesToHex
-  globals.ripemd160 = ripemd160
-}
+
+_imports.bytesToHex = require('convert-hex').bytesToHex
+_imports.convertString = require('convert-string')
+module.exports = ripemd160
+
 
 
 /*
@@ -218,4 +213,4 @@ function ripemd160(message, options) {
         _imports.bytesToHex(digestbytes);
 };
 
-}(this);
\ No newline at end of file
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-ripemd160.git



More information about the Pkg-javascript-commits mailing list