File tree Expand file tree Collapse file tree 6 files changed +7
-22
lines changed Expand file tree Collapse file tree 6 files changed +7
-22
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import * as brEdvStorage from '@bedrock/edv-storage';
55import * as database from '@bedrock/mongodb' ;
66import * as helpers from './helpers.js' ;
77import { mockData } from './mock.data.js' ;
8- import { v4 as uuid } from 'uuid ' ;
8+ import { randomUUID as uuid } from 'node:crypto ' ;
99
1010describe ( 'edvs.insert API' , ( ) => {
1111 before ( async ( ) => {
Original file line number Diff line number Diff line change 11/*!
2- * Copyright (c) 2018-2022 Digital Bazaar, Inc. All rights reserved.
2+ * Copyright (c) 2018-2025 Digital Bazaar, Inc. All rights reserved.
33 */
44import * as brEdvStorage from '@bedrock/edv-storage' ;
55import * as helpers from './helpers.js' ;
66import { config } from '@bedrock/core' ;
77import { EdvClient } from '@digitalbazaar/edv-client' ;
88import { httpsAgent } from '@bedrock/https-agent' ;
99import { mockData } from './mock.data.js' ;
10- import { v4 as uuid } from 'uuid ' ;
10+ import { randomUUID as uuid } from 'node:crypto ' ;
1111import { constants as zcapConstants } from '@digitalbazaar/zcap' ;
1212
1313const { ZCAP_CONTEXT_URL } = zcapConstants ;
Original file line number Diff line number Diff line change 11/*!
2- * Copyright (c) 2018-2022 Digital Bazaar, Inc. All rights reserved.
2+ * Copyright (c) 2018-2025 Digital Bazaar, Inc. All rights reserved.
33 */
44import * as base58 from 'base58-universal' ;
55import * as bedrock from '@bedrock/core' ;
@@ -24,7 +24,7 @@ import {httpsAgent} from '@bedrock/https-agent';
2424import jsigs from 'jsonld-signatures' ;
2525import { mockData } from './mock.data.js' ;
2626import { promisify } from 'node:util' ;
27- import { v4 as uuid } from 'uuid ' ;
27+ import { randomUUID as uuid } from 'node:crypto ' ;
2828import { ZcapClient } from '@digitalbazaar/ezcap' ;
2929
3030const { sign} = jsigs ;
Original file line number Diff line number Diff line change 6262 "base58-universal" : " ^2.0.0" ,
6363 "c8" : " ^10.1.3" ,
6464 "cross-env" : " ^7.0.3" ,
65- "jsonld-signatures" : " ^11.5.0" ,
66- "uuid" : " ^11.1.0" ,
67- "web-streams-polyfill" : " ^4.1.0"
65+ "jsonld-signatures" : " ^11.5.0"
6866 },
6967 "c8" : {
7068 "excludeNodeModules" : false ,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11/*!
2- * Copyright (c) 2018-2022 Digital Bazaar, Inc. All rights reserved.
2+ * Copyright (c) 2018-2025 Digital Bazaar, Inc. All rights reserved.
33 */
4- import './polyfills.js' ;
5-
64import * as bedrock from '@bedrock/core' ;
75import { getServiceIdentities } from '@bedrock/app-identity' ;
86import { handlers } from '@bedrock/meter-http' ;
You can’t perform that action at this time.
0 commit comments