@bedrock/app-identity
Advanced tools
Comparing version 3.0.1 to 4.0.0
@@ -5,7 +5,5 @@ /*! | ||
import * as bedrock from '@bedrock/core'; | ||
import {createRequire} from 'node:module'; | ||
import {decodeSecretKeySeed} from 'bnid'; | ||
import {driver} from '@digitalbazaar/did-method-key'; | ||
import {logger} from './logger.js'; | ||
const require = createRequire(import.meta.url); | ||
const {driver} = require('@digitalbazaar/did-method-key'); | ||
@@ -12,0 +10,0 @@ import './config.js'; |
{ | ||
"name": "@bedrock/app-identity", | ||
"version": "3.0.1", | ||
"version": "4.0.0", | ||
"type": "module", | ||
"description": "Bedrock HTTP API", | ||
"main": "./lib/index.js", | ||
"files": [ | ||
"lib/**/*.js", | ||
"util/**/*.js" | ||
], | ||
"scripts": { | ||
"lint": "eslint .", | ||
"generate-seed": "node ./util/generate-seed" | ||
"generate-seed": "node ./util/generate-seed.js" | ||
}, | ||
@@ -28,7 +32,7 @@ "repository": { | ||
"dependencies": { | ||
"@digitalbazaar/did-method-key": "^2.0.0", | ||
"@digitalbazaar/did-method-key": "^3.0.0", | ||
"bnid": "^3.0.0" | ||
}, | ||
"peerDependencies": { | ||
"@bedrock/core": "^6.0.0" | ||
"@bedrock/core": "^6.0.1" | ||
}, | ||
@@ -39,10 +43,11 @@ "directories": { | ||
"devDependencies": { | ||
"eslint": "^8.12.0", | ||
"eslint-config-digitalbazaar": "^2.8.0", | ||
"eslint-plugin-jsdoc": "^37.9.7", | ||
"eslint": "^8.18.0", | ||
"eslint-config-digitalbazaar": "^3.0.0", | ||
"eslint-plugin-jsdoc": "^39.3.3", | ||
"eslint-plugin-unicorn": "^42.0.0", | ||
"jsdoc-to-markdown": "^7.1.1" | ||
}, | ||
"engines": { | ||
"node": ">=14" | ||
"node": ">=16" | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
# bedrock-app-identity | ||
# @bedrock/app-identity | ||
@@ -3,0 +3,0 @@ ### Generate an app seed |
/*! | ||
* Copyright (c) 2020-2022 Digital Bazaar, Inc. All rights reserved. | ||
*/ | ||
import {createRequire} from 'module'; | ||
import {driver} from '@digitalbazaar/did-method-key'; | ||
import {generateSecretKeySeed, decodeSecretKeySeed} from 'bnid'; | ||
const require = createRequire(import.meta.url); | ||
const {driver} = require('@digitalbazaar/did-method-key'); | ||
@@ -9,0 +7,0 @@ const didKeyDriver = driver(); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
0
11912
5
7
161
1
+ Added@digitalbazaar/did-io@2.0.0(transitive)
+ Added@digitalbazaar/did-method-key@3.0.0(transitive)
+ Added@digitalbazaar/ed25519-verification-key-2020@4.2.0(transitive)
+ Added@digitalbazaar/lru-memoize@3.0.2(transitive)
+ Added@digitalbazaar/x25519-key-agreement-key-2019@6.0.0(transitive)
+ Added@digitalbazaar/x25519-key-agreement-key-2020@3.0.1(transitive)
+ Addedbase64url-universal@2.0.0(transitive)
+ Addedcrypto-ld@7.0.0(transitive)
- Removed@digitalbazaar/did-io@1.1.0(transitive)
- Removed@digitalbazaar/did-method-key@2.0.0(transitive)
- Removed@digitalbazaar/ed25519-verification-key-2020@3.3.0(transitive)
- Removed@digitalbazaar/lru-memoize@2.2.0(transitive)
- Removed@digitalbazaar/x25519-key-agreement-key-2019@5.2.0(transitive)
- Removed@digitalbazaar/x25519-key-agreement-key-2020@2.1.0(transitive)
- Removedbase58-universal@1.0.0(transitive)
- Removedbase64url-universal@1.1.0(transitive)
- Removedcrypto-ld@5.1.0(transitive)
- Removedesm@3.2.25(transitive)