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

@bscotch/utility

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bscotch/utility - npm Package Compare versions

Comparing version 0.9.0 to 0.9.1

10

build/lib/crypto.d.ts
/// <reference types="node" />
import { BinaryLike, HexBase64Latin1Encoding } from "crypto";
export declare function createHash(algorithm: string, source: BinaryLike, encoding?: HexBase64Latin1Encoding): string;
export declare function sha1(source: BinaryLike, encoding?: HexBase64Latin1Encoding): string;
export declare function sha256(source: BinaryLike, encoding?: HexBase64Latin1Encoding): string;
export declare function md5(source: BinaryLike, encoding?: HexBase64Latin1Encoding): string;
import { BinaryLike, Encoding } from "crypto";
export declare function createHash(algorithm: string, source: BinaryLike, encoding?: Encoding): Buffer & string;
export declare function sha1(source: BinaryLike, encoding?: Encoding): Buffer & string;
export declare function sha256(source: BinaryLike, encoding?: Encoding): Buffer & string;
export declare function md5(source: BinaryLike, encoding?: Encoding): Buffer & string;
//# sourceMappingURL=crypto.d.ts.map

@@ -12,2 +12,3 @@ "use strict";

.update(source)
// @ts-ignore
.digest(encoding);

@@ -14,0 +15,0 @@ }

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

export declare function isPlainObject(something: any): boolean;
export declare function isPlainObjectOrArray(something: any): boolean;
export declare function isPlainObject(something: any): any;
export declare function isPlainObjectOrArray(something: any): any;
/**

@@ -4,0 +4,0 @@ * Convert an array into objects that use numeric

@@ -0,1 +1,10 @@

## [0.9.1](https://github.com/bscotch/node-util/compare/v0.9.0...v0.9.1) (2020-12-16)
### Bug Fixes
* Types for the crypto node module have a breaking change. ([e93a91a](https://github.com/bscotch/node-util/commit/e93a91a684747ce7de67601c869ff6536b1da2bd))
# [0.9.0](https://github.com/bscotch/node-util/compare/v0.8.3...v0.9.0) (2020-12-16)

@@ -2,0 +11,0 @@

{
"name": "@bscotch/utility",
"version": "0.9.0",
"version": "0.9.1",
"description": "Bscotch Utilities: Methods for common Node.js needs.",

@@ -42,16 +42,16 @@ "engines": {

"@types/chai": "^4.2.14",
"@types/fs-extra": "^9.0.4",
"@types/mocha": "^8.0.4",
"@types/node": "^14.14.7",
"@typescript-eslint/eslint-plugin": "^4.8.1",
"@typescript-eslint/parser": "^4.8.1",
"@types/fs-extra": "^9.0.5",
"@types/mocha": "^8.2.0",
"@types/node": "^14.14.14",
"@typescript-eslint/eslint-plugin": "^4.10.0",
"@typescript-eslint/parser": "^4.10.0",
"chai": "^4.2.0",
"conventional-changelog-cli": "^2.1.1",
"eslint": "^7.13.0",
"eslint": "^7.15.0",
"fs-extra": "^9.0.1",
"mocha": "^8.2.1",
"source-map-support": "^0.5.19",
"ts-node": "^9.0.0",
"typescript": "^4.0.5"
"ts-node": "^9.1.1",
"typescript": "^4.1.3"
}
}

Sorry, the diff of this file is not supported yet

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