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

@stablelib/sha256

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stablelib/sha256 - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

2

lib/sha256.bench.js
// Copyright (C) 2016 Dmitry Chestnykh
// MIT License. See LICENSE file for details.
import { hash } from "./sha256";
import { hash } from "./sha256.js";
import { benchmark, report, byteSeq } from "@stablelib/benchmark";

@@ -5,0 +5,0 @@ let buf1M = byteSeq(1024 << 10);

// Copyright (C) 2016 Dmitry Chestnykh
// MIT License. See LICENSE file for details.
import { describe, expect, it } from 'vitest';
import { SHA256, hash } from "./sha256";
import { SHA256, hash } from "./sha256.js";
import { encode } from "@stablelib/base64";

@@ -6,0 +6,0 @@ const vectors = [

{
"name": "@stablelib/sha256",
"version": "2.0.0",
"version": "2.0.1",
"description": "SHA-256 cryptographic hash function",

@@ -23,11 +23,11 @@ "main": "./lib/sha256.js",

"dependencies": {
"@stablelib/binary": "^2.0.0",
"@stablelib/binary": "^2.0.1",
"@stablelib/hash": "^2.0.0",
"@stablelib/wipe": "^2.0.0"
"@stablelib/wipe": "^2.0.1"
},
"devDependencies": {
"@stablelib/base64": "^2.0.0",
"@stablelib/base64": "^2.0.1",
"@stablelib/benchmark": "^2.0.0"
},
"gitHead": "ecfe9109b3c05419fd3ffc16da6c8255b08ad64f"
"gitHead": "99bee56f6af6211d037c35e3eef749f3c1e84502"
}
// Copyright (C) 2016 Dmitry Chestnykh
// MIT License. See LICENSE file for details.
import { hash } from "./sha256";
import { hash } from "./sha256.js";
import { benchmark, report, byteSeq } from "@stablelib/benchmark";

@@ -6,0 +6,0 @@

@@ -5,3 +5,3 @@ // Copyright (C) 2016 Dmitry Chestnykh

import { describe, expect, it } from 'vitest';
import { SHA256, hash } from "./sha256";
import { SHA256, hash } from "./sha256.js";
import { encode } from "@stablelib/base64";

@@ -8,0 +8,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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