mirror of
https://github.com/emn178/js-sha1.git
synced 2026-11-17 14:18:44 +08:00
Fixed
- incorrect result when first bit is 1 of bytes. Changed - prevent webpack to require dependencies.
This commit is contained in:
+12
-7
@@ -1,20 +1,20 @@
|
||||
{
|
||||
"name": "js-sha1",
|
||||
"version": "0.5.0",
|
||||
"version": "0.6.0",
|
||||
"description": "A simple SHA1 hash function for JavaScript supports UTF-8 encoding.",
|
||||
"main": "src/sha1.js",
|
||||
"devDependencies": {
|
||||
"expect.js": "~0.3.1",
|
||||
"jscoverage": "~0.5.9",
|
||||
"mocha": "~2.3.4",
|
||||
"nyc": "^11.3.0",
|
||||
"requirejs": "^2.1.22",
|
||||
"uglifyjs": "~2.4.10"
|
||||
"uglify-js": "^3.1.9"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "mocha tests/node-test.js -r jscoverage",
|
||||
"report": "mocha tests/node-test.js -r jscoverage --covout=html",
|
||||
"coveralls": "mocha tests/node-test.js -R mocha-lcov-reporter -r jscoverage | coveralls",
|
||||
"build": "uglifyjs src/sha1.js --compress --mangle --comments --output build/sha1.min.js"
|
||||
"test": "nyc mocha tests/node-test.js",
|
||||
"report": "nyc --reporter=html --reporter=text mocha tests/node-test.js",
|
||||
"coveralls": "nyc report --reporter=text-lcov | coveralls",
|
||||
"build": "uglifyjs src/sha1.js -c -m eval --comments -o build/sha1.min.js"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -32,5 +32,10 @@
|
||||
"homepage": "https://github.com/emn178/js-sha1",
|
||||
"bugs": {
|
||||
"url": "https://github.com/emn178/js-sha1/issues"
|
||||
},
|
||||
"nyc": {
|
||||
"exclude": [
|
||||
"tests"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user