New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@smithy/hash-node

Package Overview
Dependencies
Maintainers
3
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@smithy/hash-node - npm Package Compare versions

Comparing version
4.2.12
to
4.2.13
+6
-7
package.json
{
"name": "@smithy/hash-node",
"version": "4.2.12",
"version": "4.2.13",
"scripts": {
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
"build:cjs": "node ../../scripts/inline hash-node",
"build:es": "yarn g:tsc -p tsconfig.es.json",
"build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
"build:es:cjs": "yarn g:tsc -p tsconfig.es.json && node ../../scripts/inline hash-node",
"build:types": "yarn g:tsc -p tsconfig.types.json",
"build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
"stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
"clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
"format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
"format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
"stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
"test": "yarn g:vitest run",

@@ -35,3 +34,3 @@ "test:watch": "yarn g:vitest watch"

"dependencies": {
"@smithy/types": "^4.13.1",
"@smithy/types": "^4.14.0",
"@smithy/util-buffer-from": "^4.2.2",

@@ -38,0 +37,0 @@ "@smithy/util-utf8": "^4.2.2",

@@ -6,6 +6,13 @@ # @smithy/md5-node

> An internal package
### :warning: Internal API :warning:
## Usage
> This is an internal package.
> That means this is used as a dependency for other, public packages, but
> should not be taken directly as a dependency in your application's `package.json`.
You probably shouldn't, at least directly.
> If you are updating the version of this package, for example to bring in a
> bug-fix, you should do so by updating your application lockfile with
> e.g. `npm up @scope/package` or equivalent command in another
> package manager, rather than taking a direct dependency.
---
import { Checksum, SourceData } from "@smithy/types";
/**
* @internal
*/
export declare class Hash implements Checksum {
private readonly algorithmIdentifier;
private readonly secret?;
private hash;
constructor(algorithmIdentifier: string, secret?: SourceData);
update(toHash: SourceData, encoding?: "utf8" | "ascii" | "latin1"): void;
digest(): Promise<Uint8Array>;
reset(): void;
}