@secrez/fs 1.2.0 → 1.2.1

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.
Files changed (2) hide show
  1. package/coverage.report +9 -9
  2. package/package.json +3 -3
package/coverage.report CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
- > @secrez/fs@1.2.0 test /Users/francescosullo/Projects/Secrez/secrez/packages/fs
2
+ > @secrez/fs@1.2.1 test /Users/francescosullo/Projects/Secrez/secrez/packages/fs
3
3
  > cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text mocha test/*.test.js test/**/*.test.js --exit
4
4
 
5
5
 
@@ -73,10 +73,10 @@
73
73
  ✔ should not detect conflict risk in non-git repository
74
74
  with local git repository
75
75
  ✔ should detect git repository
76
- ✔ should get git status when up to date with remote (156ms)
77
- ✔ should detect conflict risk when behind remote (280ms)
76
+ ✔ should get git status when up to date with remote (62ms)
77
+ ✔ should detect conflict risk when behind remote (130ms)
78
78
  ✔ should get warning message for conflict risk
79
- ✔ should not show alert again after user proceeds (157ms)
79
+ ✔ should not show alert again after user proceeds (65ms)
80
80
  ✔ should reset cache
81
81
 
82
82
  #InternalFs
@@ -154,7 +154,7 @@
154
154
  ✔ should throw if looking for child of a file
155
155
 
156
156
  #recovery with three git clones
157
- ✔ keeps the added file, drops the deleted one, and ends on one commit (2708ms)
157
+ ✔ keeps the added file, drops the deleted one, and ends on one commit (1257ms)
158
158
 
159
159
  #Tree
160
160
  #constructor
@@ -167,7 +167,7 @@
167
167
  ✔ should return the entry details of a node
168
168
  #Fix
169
169
  ✔ should load a tree with tags
170
- ✔ should simulate a conflict in the repo and recover lost entries when a valid tree exists (1101ms)
170
+ ✔ should simulate a conflict in the repo and recover lost entries when a valid tree exists (1065ms)
171
171
  ✔ should not recover a deleted file when its blob is still on disk
172
172
  ✔ should keep a recreated file when the deleted blob reappears
173
173
  ✔ should simulate a lost index in the repo and recover the entries when no valid tree is found
@@ -175,7 +175,7 @@
175
175
  ✔ should load the trees of two data sets
176
176
 
177
177
 
178
- 113 passing (8s)
178
+ 113 passing (4s)
179
179
  3 failing
180
180
 
181
181
  1) #GitConflictChecker
@@ -249,7 +249,7 @@
249
249
  -----------------------|---------|----------|---------|---------|-----------------------------------
250
250
  File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
251
251
  -----------------------|---------|----------|---------|---------|-----------------------------------
252
- All files | 83.88 | 71.81 | 88.02 | 83.61 |
252
+ All files | 83.88 | 71.6 | 88.02 | 83.61 |
253
253
  DataCache.js | 89.53 | 74.07 | 90.9 | 89.41 | 18-24,123-124,150
254
254
  ExternalFs.js | 94.02 | 76.92 | 100 | 93.93 | 9,29,35,54
255
255
  FileCipher.js | 88.05 | 73.8 | 100 | 88.05 | 9,39,76,85,91,95,131,136
@@ -257,7 +257,7 @@ All files | 83.88 | 71.81 | 88.02 | 83.61 |
257
257
  GitConflictChecker.js | 84.87 | 81.65 | 100 | 84.87 | ...89,199,202,212,215,224,242,323
258
258
  InternalFs.js | 87.59 | 73.5 | 88.88 | 87.5 | ...89,334,345,365,425-430,462,473
259
259
  Messages.js | 100 | 100 | 100 | 100 |
260
- Node.js | 68.03 | 58.39 | 79.59 | 67.22 | ...22,661-665,683,686,700-737,746
260
+ Node.js | 68.03 | 57.69 | 79.59 | 67.22 | ...22,661-665,683,686,700-737,746
261
261
  Tree.js | 89.94 | 75.91 | 85.36 | 89.81 | ...79,506,516,570,662,670,701-712
262
262
  fileCipherLegacy.js | 100 | 100 | 100 | 100 |
263
263
  index.js | 100 | 100 | 100 | 100 |
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@secrez/fs",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
8
8
  "dependencies": {
9
- "@secrez/core": "~1.1.1",
10
- "@secrez/crypto": "~1.1.1",
9
+ "@secrez/core": "~2.0.0",
10
+ "@secrez/crypto": "~1.2.0",
11
11
  "@secrez/utils": "~1.1.2",
12
12
  "command-line-args": "^5.2.1",
13
13
  "fs-extra": "^9.1.0",