diff --git a/CHANGELOG.md b/CHANGELOG.md index f7302d9..58cbb61 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # @digitalbazaar/ed25519-signature-2018 Changelog +## 4.1.0 - 2024-10-dd + +### Changed +- Update dependencies. + ## 4.0.0 - 2022-10-25 ### Changed diff --git a/lib/Ed25519Signature2018.js b/lib/Ed25519Signature2018.js index c1cf100..3d9cc5e 100644 --- a/lib/Ed25519Signature2018.js +++ b/lib/Ed25519Signature2018.js @@ -1,15 +1,15 @@ /*! - * Copyright (c) 2020-2022 Digital Bazaar, Inc. All rights reserved. + * Copyright (c) 2020-2024 Digital Bazaar, Inc. All rights reserved. */ import * as base58btc from 'base58-universal'; -import jsonld from 'jsonld'; -import {JwsLinkedDataSignature} from '@digitalbazaar/jws-linked-data-signature'; import { Ed25519VerificationKey2018 } from '@digitalbazaar/ed25519-verification-key-2018'; import { Ed25519VerificationKey2020 } from '@digitalbazaar/ed25519-verification-key-2020'; +import jsonld from 'jsonld'; +import {JwsLinkedDataSignature} from '@digitalbazaar/jws-linked-data-signature'; import ed25519Signature2018SuiteContext from 'ed25519-signature-2018-context'; import ed25519Signature2020SuiteContext from 'ed25519-signature-2020-context'; diff --git a/package.json b/package.json index 003eb26..75af729 100644 --- a/package.json +++ b/package.json @@ -24,12 +24,12 @@ ], "dependencies": { "@digitalbazaar/ed25519-verification-key-2018": "^4.0.0", - "@digitalbazaar/ed25519-verification-key-2020": "^4.0.0", + "@digitalbazaar/ed25519-verification-key-2020": "^4.2.0", "@digitalbazaar/jws-linked-data-signature": "^3.0.0", "base58-universal": "^2.0.0", "ed25519-signature-2018-context": "^1.1.0", "ed25519-signature-2020-context": "^1.1.0", - "jsonld": "^8.1.0" + "jsonld": "^8.3.2" }, "devDependencies": { "c8": "^7.11.3", @@ -38,16 +38,16 @@ "cross-env": "^7.0.3", "did-context": "^3.1.1", "eslint": "^8.17.0", - "eslint-config-digitalbazaar": "^3.0.0", - "eslint-plugin-jsdoc": "^39.3.2", - "eslint-plugin-unicorn": "^42.0.0", + "eslint-config-digitalbazaar": "^5.2.0", + "eslint-plugin-jsdoc": "^50.4.1", + "eslint-plugin-unicorn": "^56.0.0", "jsonld-signatures": "^11.0.0", "karma": "^6.3.20", "karma-chai": "^0.1.0", "karma-chrome-launcher": "^3.1.1", "karma-mocha": "^2.0.1", "karma-mocha-reporter": "^2.2.5", - "karma-sourcemap-loader": "^0.3.8", + "karma-sourcemap-loader": "^0.4.0", "karma-webpack": "^5.0.0", "mocha": "^10.0.0", "mocha-lcov-reporter": "^1.3.0", diff --git a/test/Ed25519Signature2018.spec.js b/test/Ed25519Signature2018.spec.js index 143e573..2c5660e 100644 --- a/test/Ed25519Signature2018.spec.js +++ b/test/Ed25519Signature2018.spec.js @@ -1,5 +1,5 @@ /*! - * Copyright (c) 2021 Digital Bazaar, Inc. All rights reserved. + * Copyright (c) 2021-2024 Digital Bazaar, Inc. All rights reserved. */ import chai from 'chai'; chai.should(); @@ -8,13 +8,11 @@ const {expect} = chai; import jsigs from 'jsonld-signatures'; const {purposes: {AssertionProofPurpose}} = jsigs; -import {Ed25519VerificationKey2018} from - '@digitalbazaar/ed25519-verification-key-2018'; +import {credential, mockKeyPair} from './mock-data.js'; import {Ed25519Signature2018, suiteContext} from '../lib/index.js'; -import { - credential, mockKeyPair -} from './mock-data.js'; import documentLoader from './documentLoader.js'; +import {Ed25519VerificationKey2018} from + '@digitalbazaar/ed25519-verification-key-2018'; /* mockPublicKey, controllerDoc diff --git a/test/documentLoader.js b/test/documentLoader.js index 1a0529b..73cf4cb 100644 --- a/test/documentLoader.js +++ b/test/documentLoader.js @@ -1,12 +1,10 @@ -import didContext from 'did-context'; import * as ed25519 from 'ed25519-signature-2018-context'; import * as exampleV1 from './contexts/example-v1.js'; import * as odrlV1 from './contexts/odrl-v1.js'; -import { - mockPublicKey, controllerDoc -} from './mock-data.js'; +import {controllerDoc, mockPublicKey} from './mock-data.js'; import credentialsContext from 'credentials-context'; +import didContext from 'did-context'; const context = { [didContext.constants.DID_CONTEXT_URL]: //