crypto-hash
Advanced tools
Comparing version 1.0.0 to 1.1.0
'use strict'; | ||
const crypto = require('crypto'); | ||
const create = algorithm => async (buffer, options) => { // eslint-disable-line require-await | ||
const create = algorithm => async (buffer, options) => { | ||
options = { | ||
@@ -6,0 +6,0 @@ outputFormat: 'hex', |
{ | ||
"name": "crypto-hash", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Tiny hashing module that uses the native crypto API in Node.js and the browser", | ||
@@ -16,6 +16,7 @@ "license": "MIT", | ||
"scripts": { | ||
"test": "xo && ava test.js && karmatic test-browser.js" | ||
"test": "xo && ava test.js && karmatic test-browser.js && tsd" | ||
}, | ||
"files": [ | ||
"index.js", | ||
"index.d.ts", | ||
"browser.js" | ||
@@ -37,9 +38,10 @@ ], | ||
"devDependencies": { | ||
"@sindresorhus/is": "^0.13.0", | ||
"ava": "^0.25.0", | ||
"@sindresorhus/is": "^0.15.0", | ||
"ava": "^1.4.1", | ||
"hash.js": "^1.1.5", | ||
"karmatic": "1.0.6", | ||
"xo": "^0.23.0" | ||
"karmatic": "1.0.7", | ||
"tsd": "^0.7.2", | ||
"xo": "^0.24.0" | ||
}, | ||
"browser": "browser.js" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7577
6
120
6