@abtnode/timemachine 1.16.11-next-ca5f18b5 → 1.16.11-next-3e55bc95
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/lib/index.js +2 -2
- package/package.json +3 -3
package/lib/index.js
CHANGED
|
@@ -199,7 +199,7 @@ class Timemachine {
|
|
|
199
199
|
});
|
|
200
200
|
}
|
|
201
201
|
|
|
202
|
-
|
|
202
|
+
getLastSnapshot(shallow = false) {
|
|
203
203
|
return new Promise((resolve, reject) => {
|
|
204
204
|
this.repo.readRef(REF_NAME, (err, commitHash) => {
|
|
205
205
|
if (err) {
|
|
@@ -276,7 +276,7 @@ class Timemachine {
|
|
|
276
276
|
}, {});
|
|
277
277
|
}
|
|
278
278
|
|
|
279
|
-
|
|
279
|
+
_createNewTree(contents, parentTreeHash) {
|
|
280
280
|
return new Promise((resolve, reject) => {
|
|
281
281
|
let changes;
|
|
282
282
|
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "1.16.11-next-
|
|
7
|
+
"version": "1.16.11-next-3e55bc95",
|
|
8
8
|
"main": "lib/index.js",
|
|
9
9
|
"files": [
|
|
10
10
|
"lib"
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"author": "wangshijun <wangshijun2010@gmail.com> (http://github.com/wangshijun)",
|
|
20
20
|
"license": "Apache-2.0",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@abtnode/logger": "1.16.11-next-
|
|
22
|
+
"@abtnode/logger": "1.16.11-next-3e55bc95",
|
|
23
23
|
"fs-extra": "^10.1.0",
|
|
24
24
|
"js-git": "^0.7.8",
|
|
25
25
|
"readable-stream": "^3.6.0",
|
|
@@ -28,5 +28,5 @@
|
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"jest": "^27.5.1"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "cf0251c2d85c617b03151495b5944061ceb373e5"
|
|
32
32
|
}
|