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 91
91
"merge-options" : " ^3.0.4" ,
92
92
"mortice" : " ^2.0.1" ,
93
93
"multiformats" : " ^9.0.4" ,
94
- "p-queue" : " ^7.1 .0" ,
94
+ "p-queue" : " ^6.0 .0" ,
95
95
"proper-lockfile" : " ^4.0.0" ,
96
96
"sort-keys" : " ^5.0.0" ,
97
97
"uint8arrays" : " ^3.0.0"
Original file line number Diff line number Diff line change 1
1
2
2
import { Key } from 'interface-datastore/key'
3
- import Queue from 'p-queue'
3
+ import PQueue from 'p-queue'
4
4
import _get from 'just-safe-get'
5
5
import _set from 'just-safe-set'
6
6
import errCode from 'err-code'
@@ -9,6 +9,10 @@ import { toString as uint8ArrayToString } from 'uint8arrays/to-string'
9
9
import { fromString as uint8ArrayFromString } from 'uint8arrays/from-string'
10
10
import { getWithFallback , hasWithFallback } from './utils/level.js'
11
11
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
+
12
16
const configKey = new Key ( 'config' )
13
17
14
18
/**
You can’t perform that action at this time.
0 commit comments