Socket
Socket
Sign inDemoInstall

@aws-sdk/md5-js

Package Overview
Dependencies
Maintainers
5
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/md5-js - npm Package Compare versions

Comparing version 3.226.0 to 3.254.0

13

dist-cjs/index.js

@@ -8,7 +8,3 @@ "use strict";

constructor() {
this.state = Uint32Array.from(constants_1.INIT);
this.buffer = new DataView(new ArrayBuffer(constants_1.BLOCK_SIZE));
this.bufferLength = 0;
this.bytesHashed = 0;
this.finished = false;
this.reset();
}

@@ -133,2 +129,9 @@ update(sourceData) {

}
reset() {
this.state = Uint32Array.from(constants_1.INIT);
this.buffer = new DataView(new ArrayBuffer(constants_1.BLOCK_SIZE));
this.bufferLength = 0;
this.bytesHashed = 0;
this.finished = false;
}
}

@@ -135,0 +138,0 @@ exports.Md5 = Md5;

@@ -5,7 +5,3 @@ import { fromUtf8 } from "@aws-sdk/util-utf8-node";

constructor() {
this.state = Uint32Array.from(INIT);
this.buffer = new DataView(new ArrayBuffer(BLOCK_SIZE));
this.bufferLength = 0;
this.bytesHashed = 0;
this.finished = false;
this.reset();
}

@@ -130,2 +126,9 @@ update(sourceData) {

}
reset() {
this.state = Uint32Array.from(INIT);
this.buffer = new DataView(new ArrayBuffer(BLOCK_SIZE));
this.bufferLength = 0;
this.bytesHashed = 0;
this.finished = false;
}
}

@@ -132,0 +135,0 @@ function cmn(q, a, b, x, s, t) {

@@ -1,3 +0,3 @@

import { Hash, SourceData } from "@aws-sdk/types";
export declare class Md5 implements Hash {
import { Checksum, SourceData } from "@aws-sdk/types";
export declare class Md5 implements Checksum {
private state;

@@ -8,5 +8,7 @@ private buffer;

private finished;
constructor();
update(sourceData: SourceData): void;
digest(): Promise<Uint8Array>;
private hashBuffer;
reset(): void;
}

@@ -1,3 +0,3 @@

import { Hash, SourceData } from "@aws-sdk/types";
export declare class Md5 implements Hash {
import { Checksum, SourceData } from "@aws-sdk/types";
export declare class Md5 implements Checksum {
private state;

@@ -8,5 +8,7 @@ private buffer;

private finished;
constructor();
update(sourceData: SourceData): void;
digest(): Promise<Uint8Array>;
private hashBuffer;
reset(): void;
}
{
"name": "@aws-sdk/md5-js",
"version": "3.226.0",
"version": "3.254.0",
"scripts": {

@@ -35,3 +35,3 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",

"dependencies": {
"@aws-sdk/types": "3.226.0",
"@aws-sdk/types": "3.254.0",
"@aws-sdk/util-utf8-browser": "3.188.0",

@@ -38,0 +38,0 @@ "@aws-sdk/util-utf8-node": "3.208.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