@secrez/fs 1.0.4 → 1.0.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.
Files changed (3) hide show
  1. package/README.md +8 -10
  2. package/coverage.report +16 -13
  3. package/package.json +10 -10
package/README.md CHANGED
@@ -31,23 +31,21 @@ API documentation
31
31
  ## Test coverage
32
32
 
33
33
  ```
34
- 97 passing (3s)
35
- 1 pending
34
+ 98 passing (3s)
36
35
 
37
36
  ---------------|---------|----------|---------|---------|-------------------------------------------
38
37
  File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
39
38
  ---------------|---------|----------|---------|---------|-------------------------------------------
40
- All files | 80.92 | 68.1 | 85.21 | 80.54 |
41
- DataCache.js | 89.41 | 74.07 | 90.91 | 89.29 | 17-23,122-123,149
42
- ExternalFs.js | 94.03 | 76.92 | 100 | 93.94 | 9,29,35,54
43
- FileCipher.js | 88.64 | 73.33 | 100 | 88.64 | 8,52,80,85,94
39
+ All files | 82.9 | 68.72 | 86.61 | 82.56 |
40
+ DataCache.js | 89.41 | 74.07 | 90.9 | 89.28 | 17-23,122-123,149
41
+ ExternalFs.js | 94.02 | 76.92 | 100 | 93.93 | 9,29,35,54
42
+ FileCipher.js | 88.63 | 73.33 | 100 | 88.63 | 8,52,80,85,94
44
43
  FsUtils.js | 100 | 100 | 100 | 100 |
45
- InternalFs.js | 86.99 | 72.63 | 88.46 | 86.89 | ...25,257,274,283,328,339,359,418-423,455
44
+ InternalFs.js | 86.99 | 72.63 | 88.46 | 86.88 | ...25,257,274,283,328,339,359,418-423,455
46
45
  Messages.js | 100 | 100 | 100 | 100 |
47
- Node.js | 65.82 | 55.19 | 78.72 | 65.03 | ...67,579-605,644-648,666,669,683-720,729
48
- Tree.js | 83.65 | 70.48 | 81.08 | 83.19 | ...72,417-439,466,476,530,622,630,661-672
46
+ Node.js | 66.1 | 54.81 | 78.72 | 65.31 | ...67,579-605,644-648,666,669,683-720,729
47
+ Tree.js | 89.91 | 74.09 | 86.48 | 89.63 | ...72,417-439,466,476,530,622,630,661-672
49
48
  ---------------|---------|----------|---------|---------|-------------------------------------------
50
-
51
49
  ```
52
50
 
53
51
  ## Copyright
package/coverage.report CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
- > @secrez/fs@1.0.4 test /Users/francescosullo/Projects/Personal/secrez/packages/fs
2
+ > @secrez/fs@1.0.5 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
 
@@ -145,26 +145,29 @@
145
145
  getEntryDetails
146
146
  ✓ should return the entry details of a node
147
147
  #Fix
148
- ✓ should load a tree with tags
149
- ✓ should simulate a conflict in the repo and recover lost entries (1844ms)
150
- - should simulate a lost index in the repo and recover the entries
148
+ ✓ should load a tree with tags (48ms)
149
+ ✓ should simulate a conflict in the repo and recover lost entries when a valid tree exists (1162ms)
150
+ ✓ should simulate a lost index in the repo and recover the entries when no valid tree is found (70ms)
151
151
  Multi data sets
152
152
  ✓ should load the trees of two data sets
153
153
 
154
154
 
155
- 97 passing (3s)
156
- 1 pending
155
+ 98 passing (3s)
157
156
 
158
157
  ---------------|---------|----------|---------|---------|-------------------------------------------
159
158
  File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
160
159
  ---------------|---------|----------|---------|---------|-------------------------------------------
161
- All files | 80.92 | 68.1 | 85.21 | 80.54 |
162
- DataCache.js | 89.41 | 74.07 | 90.91 | 89.29 | 17-23,122-123,149
163
- ExternalFs.js | 94.03 | 76.92 | 100 | 93.94 | 9,29,35,54
164
- FileCipher.js | 88.64 | 73.33 | 100 | 88.64 | 8,52,80,85,94
160
+ All files | 82.9 | 68.72 | 86.61 | 82.56 |
161
+ DataCache.js | 89.41 | 74.07 | 90.9 | 89.28 | 17-23,122-123,149
162
+ ExternalFs.js | 94.02 | 76.92 | 100 | 93.93 | 9,29,35,54
163
+ FileCipher.js | 88.63 | 73.33 | 100 | 88.63 | 8,52,80,85,94
165
164
  FsUtils.js | 100 | 100 | 100 | 100 |
166
- InternalFs.js | 86.99 | 72.63 | 88.46 | 86.89 | ...25,257,274,283,328,339,359,418-423,455
165
+ InternalFs.js | 86.99 | 72.63 | 88.46 | 86.88 | ...25,257,274,283,328,339,359,418-423,455
167
166
  Messages.js | 100 | 100 | 100 | 100 |
168
- Node.js | 65.82 | 55.19 | 78.72 | 65.03 | ...67,579-605,644-648,666,669,683-720,729
169
- Tree.js | 83.65 | 70.48 | 81.08 | 83.19 | ...72,417-439,466,476,530,622,630,661-672
167
+ Node.js | 66.1 | 54.81 | 78.72 | 65.31 | ...67,579-605,644-648,666,669,683-720,729
168
+ Tree.js | 89.91 | 74.09 | 86.48 | 89.63 | ...72,417-439,466,476,530,622,630,661-672
170
169
  ---------------|---------|----------|---------|---------|-------------------------------------------
170
+
171
+ > @secrez/fs@1.0.5 posttest /Users/francescosullo/Projects/Secrez/secrez/packages/fs
172
+ > nyc check-coverage --statements 80 --branches 65 --functions 80 --lines 80
173
+
package/package.json CHANGED
@@ -1,23 +1,23 @@
1
1
  {
2
2
  "name": "@secrez/fs",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
8
8
  "dependencies": {
9
- "@secrez/core": "~1.0.4",
10
- "@secrez/crypto": "~1.0.3",
11
- "@secrez/utils": "~1.0.3",
12
- "command-line-args": "^5.1.1",
9
+ "@secrez/core": "~1.0.5",
10
+ "@secrez/crypto": "~1.0.4",
11
+ "@secrez/utils": "~1.0.4",
12
+ "command-line-args": "^5.2.1",
13
13
  "fs-extra": "^9.1.0",
14
- "lodash": "^4.17.15"
14
+ "lodash": "^4.17.21"
15
15
  },
16
16
  "devDependencies": {
17
- "@secrez/test-helpers": "~2.0.0",
18
- "chai": "^4.2.0",
19
- "cross-env": "^7.0.2",
20
- "mocha": "^7.1.1",
17
+ "@secrez/test-helpers": "~2.0.1",
18
+ "chai": "^4.5.0",
19
+ "cross-env": "^7.0.3",
20
+ "mocha": "^7.2.0",
21
21
  "nyc": "^15.1.0"
22
22
  },
23
23
  "description": "The Secrez fs library.",