Socket
Socket
Sign inDemoInstall

@dxos/crypto

Package Overview
Dependencies
Maintainers
13
Versions
3003
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dxos/crypto - npm Package Compare versions

Comparing version 1.0.0-beta.4 to 1.0.0-beta.5

4

dist/es/keys.d.ts

@@ -12,6 +12,6 @@ /**

/**
* @param {Buffer|Uint8Array} value
* @param {Buffer} value
* @return {string|Buffer}
*/
export function humanize(value: Buffer | Uint8Array): string | Buffer;
export function humanize(value: Buffer): string | Buffer;
/**

@@ -18,0 +18,0 @@ * Return random bytes of length.

@@ -47,9 +47,6 @@ "use strict";

/**
* @param {Buffer|Uint8Array} value
* @param {Buffer} value
* @return {string|Buffer}
*/
function humanize(value) {
if (value instanceof Uint8Array) {
value = Buffer.from(value);
}
if (value instanceof Buffer) {

@@ -56,0 +53,0 @@ value = keyToString(value);

{
"name": "@dxos/crypto",
"version": "1.0.0-beta.4",
"version": "1.0.0-beta.5",
"description": "Basic crypto key utils",

@@ -5,0 +5,0 @@ "files": [

@@ -48,9 +48,6 @@ //

/**
* @param {Buffer|Uint8Array} value
* @param {Buffer} value
* @return {string|Buffer}
*/
export function humanize (value) {
if (value instanceof Uint8Array) {
value = Buffer.from(value);
}
if (value instanceof Buffer) {

@@ -57,0 +54,0 @@ value = keyToString(value);

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