Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

crypto-hash

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crypto-hash - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

index.d.ts

2

index.js
'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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc