File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 9191 "merge-options" : " ^3.0.4" ,
9292 "mortice" : " ^2.0.1" ,
9393 "multiformats" : " ^9.0.4" ,
94- "p-queue" : " ^7.1 .0" ,
94+ "p-queue" : " ^6.0 .0" ,
9595 "proper-lockfile" : " ^4.0.0" ,
9696 "sort-keys" : " ^5.0.0" ,
9797 "uint8arrays" : " ^3.0.0"
Original file line number Diff line number Diff line change 11
22import { Key } from 'interface-datastore/key'
3- import Queue from 'p-queue'
3+ import PQueue from 'p-queue'
44import _get from 'just-safe-get'
55import _set from 'just-safe-set'
66import errCode from 'err-code'
@@ -9,6 +9,10 @@ import { toString as uint8ArrayToString } from 'uint8arrays/to-string'
99import { fromString as uint8ArrayFromString } from 'uint8arrays/from-string'
1010import { getWithFallback , hasWithFallback } from './utils/level.js'
1111
12+ // @ts -ignore types are broken in [email protected] - also, if we imported via esm 13+ // we can use the default, if via cjs we need to get the default via prop access
14+ const Queue = PQueue . default ? PQueue . default : PQueue
15+
1216const configKey = new Key ( 'config' )
1317
1418/**
You can’t perform that action at this time.
0 commit comments