hypercore-storage 2.5.3 → 2.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -2
- package/package.json +10 -2
package/index.js
CHANGED
|
@@ -1195,8 +1195,7 @@ async function fileExists(path) {
|
|
|
1195
1195
|
}
|
|
1196
1196
|
|
|
1197
1197
|
function shouldRecover(err) {
|
|
1198
|
-
|
|
1199
|
-
return false // disabled for now, can reenable when needed
|
|
1198
|
+
return err.message.toLowerCase().indexOf('sequence number is being set backwards') > -1
|
|
1200
1199
|
}
|
|
1201
1200
|
|
|
1202
1201
|
function noop() {}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hypercore-storage",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.5",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"files": [
|
|
6
6
|
"index.js",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"test:generate": "brittle -r test/all.js test/*.js",
|
|
17
17
|
"test:node": "brittle-node test/all.js"
|
|
18
18
|
},
|
|
19
|
-
"author": "Holepunch
|
|
19
|
+
"author": "Holepunch",
|
|
20
20
|
"license": "Apache-2.0",
|
|
21
21
|
"description": "Storage engine for Hypercore",
|
|
22
22
|
"imports": {
|
|
@@ -29,6 +29,14 @@
|
|
|
29
29
|
"default": "path"
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
|
+
"repository": {
|
|
33
|
+
"type": "git",
|
|
34
|
+
"url": "git+https://github.com/holepunchto/hypercore-storage.git"
|
|
35
|
+
},
|
|
36
|
+
"bugs": {
|
|
37
|
+
"url": "https://github.com/holepunchto/hypercore-storage/issues"
|
|
38
|
+
},
|
|
39
|
+
"homepage": "https://github.com/holepunchto/hypercore-storage#readme",
|
|
32
40
|
"dependencies": {
|
|
33
41
|
"b4a": "^1.6.7",
|
|
34
42
|
"bare-fs": "^4.0.1",
|