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

@noble/ed25519

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@noble/ed25519 - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

lib/esm/index.js

53

package.json
{
"name": "@noble/ed25519",
"version": "1.3.0",
"version": "1.3.1",
"description": "Fastest JS implementation of ed25519 & ristretto255. Auditable, high-security, 0-dependency pubkey, scalarmult & EDDSA",
"main": "index.js",
"types": "index.d.ts",
"files": [
"index.js",
"index.d.ts"
"lib"
],
"main": "lib/index.js",
"module": "lib/esm/index.js",
"types": "lib/index.d.ts",
"scripts": {
"build": "tsc -d",
"build": "tsc -d && tsc -p tsconfig.esm.json",
"build-release": "rollup -c rollup.config.js",

@@ -18,10 +18,2 @@ "lint": "prettier --print-width 100 --single-quote --check index.ts",

},
"jest": {
"testRegex": "/test/.*.ts",
"transform": {
"^.+\\.ts$": "ts-jest"
},
"useStderr": true,
"bail": 2
},
"author": "Paul Miller (https://paulmillr.com)",

@@ -38,13 +30,12 @@ "homepage": "https://paulmillr.com/posts/noble-secp256k1-fast-ecc/",

"devDependencies": {
"@rollup/plugin-commonjs": "^19.0.0",
"@rollup/plugin-node-resolve": "^13.0.0",
"@types/jest": "^26.0.22",
"@types/node": "^14.14.41",
"@types/jest": "^27",
"@types/node": "^16",
"fast-check": "^2.14.0",
"jest": "^26.6.3",
"jest": "^27.4.5",
"micro-bmark": "^0.1.3",
"prettier": "^2.2.1",
"rollup": "^2.50.4",
"ts-jest": "^26.5.5",
"typescript": "^4.2.4"
"prettier": "^2.5.1",
"rollup": "^2.62.0",
"ts-jest": "^27.1.2",
"typescript": "^4.5"
},

@@ -61,2 +52,3 @@ "keywords": [

"curve",
"elligator",
"signature",

@@ -68,3 +60,18 @@ "ecc",

"security"
]
],
"exports": {
".": {
"import": "./lib/esm/index.js",
"default": "./lib/index.js"
},
"./index.d.ts": "./lib/index.d.ts"
},
"jest": {
"testRegex": "/test/.*.ts",
"transform": {
"^.+\\.ts$": "ts-jest"
},
"useStderr": true,
"bail": 2
}
}

@@ -31,4 +31,5 @@ # noble-ed25519 ![Node CI](https://github.com/paulmillr/noble-ed25519/workflows/Node%20CI/badge.svg) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)

```js
// Common.js and ECMAScript Modules (ESM)
import * as ed from '@noble/ed25519';
// if you're using single file, use global variable nobleEd25519
// If you're using single file, use global variable: nobleEd25519

@@ -35,0 +36,0 @@ const privateKey = ed.utils.randomPrivateKey(); // 32-byte Uint8Array or string.

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