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

node-webcrypto-ossl

Package Overview
Dependencies
Maintainers
2
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-webcrypto-ossl - npm Package Compare versions

Comparing version 1.0.32 to 1.0.33

2

buildjs/subtle.js

@@ -23,3 +23,3 @@ "use strict";

else if (ArrayBuffer.isView(ab)) {
return new Buffer(ab.buffer);
return new Buffer(ab.buffer.slice(0, ab.byteLength));
}

@@ -26,0 +26,0 @@ else {

@@ -162,23 +162,26 @@ /// <reference types="node" />

*/
class WebCrypto implements NativeCrypto {
export class WebCrypto implements NativeCrypto {
keyStorage: KeyStorage;
subtle: SubtleCrypto;
public keyStorage: KeyStorage;
public subtle: SubtleCrypto;
/**
* Constructor
*/
constructor(options?: WebCryptoOptions);
/**
* Generates cryptographically random values
* @param array Initialize array
*/
getRandomValues(array: NodeBufferSource): NodeBufferSource;
getRandomValues(array: ArrayBufferView): ArrayBufferView;
public getRandomValues(array: NodeBufferSource): NodeBufferSource;
public getRandomValues(array: ArrayBufferView): ArrayBufferView;
/**
* Constructor
*/
constructor(options?: WebCryptoOptions);
}
}
declare const NodeWebCrypto: typeof NodeWebcryptoOpenSSL.WebCrypto;
declare module "node-webcrypto-ossl" {
export = NodeWebcryptoOpenSSL.WebCrypto;
}
export = NodeWebCrypto;
}
{
"name": "node-webcrypto-ossl",
"version": "1.0.32",
"version": "1.0.33",
"repository": {

@@ -41,14 +41,14 @@ "type": "git",

"mkdirp": "^0.5.1",
"nan": "^2.7.0",
"tslib": "^1.7.1",
"webcrypto-core": "^0.1.17"
"nan": "^2.8.0",
"tslib": "^1.8.1",
"webcrypto-core": "^0.1.18"
},
"devDependencies": {
"@types/mkdirp": "^0.3.29",
"@types/node": "^8",
"coveralls": "^2.13.1",
"mocha": "^3.4.2",
"@types/node": "^8.5.2",
"coveralls": "^2.13.3",
"mocha": "^3.5.3",
"nyc": "^10.1.2",
"typescript": "^2.5.2"
"typescript": "^2.6.2"
}
}
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