@secrez/fs 1.0.7 → 1.0.8
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/coverage.report +14 -14
- package/package.json +4 -4
package/coverage.report
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @secrez/fs@1.0.
|
|
2
|
+
> @secrez/fs@1.0.8 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
|
|
|
@@ -67,10 +67,10 @@
|
|
|
67
67
|
✓ should not detect conflict risk in non-git repository
|
|
68
68
|
with real GitHub repository
|
|
69
69
|
✓ should detect git repository
|
|
70
|
-
✓ should get git status when up to date with remote (
|
|
71
|
-
✓ should detect conflict risk when behind remote (
|
|
70
|
+
✓ should get git status when up to date with remote (3228ms)
|
|
71
|
+
✓ should detect conflict risk when behind remote (5175ms)
|
|
72
72
|
✓ should get warning message for conflict risk
|
|
73
|
-
✓ should not show alert again after user proceeds (
|
|
73
|
+
✓ should not show alert again after user proceeds (3137ms)
|
|
74
74
|
✓ should reset cache
|
|
75
75
|
|
|
76
76
|
#InternalFs
|
|
@@ -157,29 +157,29 @@
|
|
|
157
157
|
getEntryDetails
|
|
158
158
|
✓ should return the entry details of a node
|
|
159
159
|
#Fix
|
|
160
|
-
✓ should load a tree with tags
|
|
160
|
+
✓ should load a tree with tags
|
|
161
161
|
1) should simulate a conflict in the repo and recover lost entries when a valid tree exists
|
|
162
|
-
✓ should simulate a lost index in the repo and recover the entries when no valid tree is found (
|
|
162
|
+
✓ should simulate a lost index in the repo and recover the entries when no valid tree is found (45ms)
|
|
163
163
|
Multi data sets
|
|
164
164
|
✓ should load the trees of two data sets
|
|
165
165
|
|
|
166
166
|
|
|
167
|
-
106 passing (
|
|
167
|
+
106 passing (39s)
|
|
168
168
|
1 failing
|
|
169
169
|
|
|
170
170
|
1) #Tree
|
|
171
171
|
#Fix
|
|
172
172
|
should simulate a conflict in the repo and recover lost entries when a valid tree exists:
|
|
173
173
|
|
|
174
|
-
AssertionError: expected [ '/B/D/g', '/
|
|
174
|
+
AssertionError: expected [ '/B/D/g', '/E/L/N', '/E/c', …(1) ] to deeply equal [ '/B/D/g', '/B/b', '/E/L/N', '/E/c' ]
|
|
175
175
|
+ expected - actual
|
|
176
176
|
|
|
177
177
|
[
|
|
178
178
|
"/B/D/g"
|
|
179
|
-
|
|
179
|
+
+ "/B/b"
|
|
180
180
|
"/E/L/N"
|
|
181
|
-
|
|
182
|
-
|
|
181
|
+
"/E/c"
|
|
182
|
+
- "/REC_20251010150924/d"
|
|
183
183
|
]
|
|
184
184
|
|
|
185
185
|
at Context.<anonymous> (test/Tree.test.js:306:14)
|
|
@@ -189,15 +189,15 @@
|
|
|
189
189
|
-----------------------|---------|----------|---------|---------|-----------------------------------
|
|
190
190
|
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
|
|
191
191
|
-----------------------|---------|----------|---------|---------|-----------------------------------
|
|
192
|
-
All files |
|
|
192
|
+
All files | 80.57 | 67.11 | 86.27 | 80.21 |
|
|
193
193
|
DataCache.js | 89.41 | 74.07 | 90.9 | 89.28 | 17-23,122-123,149
|
|
194
194
|
ExternalFs.js | 94.02 | 76.92 | 100 | 93.93 | 9,29,35,54
|
|
195
195
|
FileCipher.js | 88.63 | 73.33 | 100 | 88.63 | 8,52,80,85,94
|
|
196
196
|
FsUtils.js | 100 | 100 | 100 | 100 |
|
|
197
197
|
GitConflictChecker.js | 72.81 | 61.9 | 90 | 72.81 | ...95,204,222,254,259,277,289,308
|
|
198
|
-
InternalFs.js |
|
|
198
|
+
InternalFs.js | 82.35 | 70.83 | 85.18 | 82.21 | ...64,377-385,423-428,460,470-487
|
|
199
199
|
Messages.js | 100 | 100 | 100 | 100 |
|
|
200
200
|
Node.js | 66.1 | 54.81 | 78.72 | 65.31 | ...05,644-648,666,669,683-720,729
|
|
201
|
-
Tree.js |
|
|
201
|
+
Tree.js | 87.46 | 71.68 | 86.48 | 87.11 | ...39,466,476,530,622,630,661-672
|
|
202
202
|
-----------------------|---------|----------|---------|---------|-----------------------------------
|
|
203
203
|
ELIFECYCLE Test failed. See above for more details.
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@secrez/fs",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@secrez/core": "~1.0.
|
|
10
|
-
"@secrez/crypto": "~1.0.
|
|
11
|
-
"@secrez/utils": "~1.0.
|
|
9
|
+
"@secrez/core": "~1.0.6",
|
|
10
|
+
"@secrez/crypto": "~1.0.5",
|
|
11
|
+
"@secrez/utils": "~1.0.5",
|
|
12
12
|
"command-line-args": "^5.2.1",
|
|
13
13
|
"fs-extra": "^9.1.0",
|
|
14
14
|
"lodash": "^4.17.21"
|