New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

chain-hash

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chain-hash - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

8

dist/chain.js

@@ -32,3 +32,3 @@ "use strict";

for (var i = 0; i < 4; i++) {
for (var i = 0; i < 5; i++) {
this.chainHash.push(this.makeHash(this.chainHash[this.chainHash.length - 1]));

@@ -61,3 +61,3 @@ }

get: function get() {
return this.chainHash[1];
return this.chainHash[2];
}

@@ -71,3 +71,3 @@ /*

get: function get() {
return this.chainHash[2];
return this.chainHash[3];
}

@@ -81,3 +81,3 @@ /*

get: function get() {
return this.chainHash[3];
return this.chainHash[4];
}

@@ -84,0 +84,0 @@ }]);

{
"name": "chain-hash",
"description": "chain-hash package",
"version": "0.1.0",
"version": "0.1.1",
"main": "./dist/chain.js",

@@ -24,2 +24,7 @@ "types": "dist/chain.d.ts",

},
"dependencies": {
"@babel/runtime": "^7.4.5",
"@types/node": "^12.0.4",
"sha3": "^2.0.4"
},
"scripts": {

@@ -30,8 +35,3 @@ "babel-node": "babel-node --extensions \".ts,.tsx\"",

"product": "node ./dist/index.js"
},
"dependencies": {
"@babel/runtime": "^7.4.5",
"@types/node": "^12.0.4",
"sha3": "^2.0.4"
}
}

@@ -13,3 +13,3 @@ import SHA3 from "sha3";

for (var i = 0; i < 4; i++) {
for (var i = 0; i < 5; i++) {
this.chainHash.push(

@@ -32,3 +32,3 @@ this.makeHash(this.chainHash[this.chainHash.length - 1])

get GetKey(): string {
return this.chainHash[1];
return this.chainHash[2];
}

@@ -39,3 +39,3 @@ /*

get GetValidate(): string {
return this.chainHash[2];
return this.chainHash[3];
}

@@ -46,3 +46,3 @@ /*

get GetUniqueString(): string {
return this.chainHash[3];
return this.chainHash[4];
}

@@ -49,0 +49,0 @@

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