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

graphene-pk11

Package Overview
Dependencies
Maintainers
2
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphene-pk11 - npm Package Compare versions

Comparing version 2.0.21 to 2.0.22

2

package.json
{
"name": "graphene-pk11",
"version": "2.0.21",
"version": "2.0.22",
"description": "A simple layer for interacting with PKCS #11 / PKCS11 / CryptoKI for Node in TypeScript",

@@ -5,0 +5,0 @@ "main": "./build/graphene.js",

@@ -44,2 +44,11 @@ const namedCurves: INamedCurve[] = [

}
static getByBuffer(buf: Buffer): INamedCurve {
for (let i in namedCurves) {
let nc = namedCurves[i];
if (nc.value.equals(buf))
return nc;
}
throw new Error(`Can not find named curve by buffer value '${buf.toString("hex")}'`);
}
}

Sorry, the diff of this file is too big to display

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