@e-mc/file-manager 0.8.6 → 0.8.7

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 +10 -10
  2. package/index.js +1 -1
  3. package/package.json +10 -10
package/README.md CHANGED
@@ -9,7 +9,7 @@
9
9
 
10
10
  ## Interface
11
11
 
12
- - https://www.unpkg.com/@e-mc/types@0.8.6/lib/index.d.ts
12
+ - https://www.unpkg.com/@e-mc/types@0.8.7/lib/index.d.ts
13
13
 
14
14
  ```typescript
15
15
  import type { DataSource, IncrementalMatch, TaskAction } from "./squared";
@@ -191,15 +191,15 @@ interface FileManagerConstructor extends HostConstructor {
191
191
 
192
192
  ## References
193
193
 
194
- - https://www.unpkg.com/@e-mc/types@0.8.6/lib/squared.d.ts
195
- - https://www.unpkg.com/@e-mc/types@0.8.6/lib/asset.d.ts
196
- - https://www.unpkg.com/@e-mc/types@0.8.6/lib/core.d.ts
197
- - https://www.unpkg.com/@e-mc/types@0.8.6/lib/filemanager.d.ts
198
- - https://www.unpkg.com/@e-mc/types@0.8.6/lib/logger.d.ts
199
- - https://www.unpkg.com/@e-mc/types@0.8.6/lib/module.d.ts
200
- - https://www.unpkg.com/@e-mc/types@0.8.6/lib/node.d.ts
201
- - https://www.unpkg.com/@e-mc/types@0.8.6/lib/request.d.ts
202
- - https://www.unpkg.com/@e-mc/types@0.8.6/lib/settings.d.ts
194
+ - https://www.unpkg.com/@e-mc/types@0.8.7/lib/squared.d.ts
195
+ - https://www.unpkg.com/@e-mc/types@0.8.7/lib/asset.d.ts
196
+ - https://www.unpkg.com/@e-mc/types@0.8.7/lib/core.d.ts
197
+ - https://www.unpkg.com/@e-mc/types@0.8.7/lib/filemanager.d.ts
198
+ - https://www.unpkg.com/@e-mc/types@0.8.7/lib/logger.d.ts
199
+ - https://www.unpkg.com/@e-mc/types@0.8.7/lib/module.d.ts
200
+ - https://www.unpkg.com/@e-mc/types@0.8.7/lib/node.d.ts
201
+ - https://www.unpkg.com/@e-mc/types@0.8.7/lib/request.d.ts
202
+ - https://www.unpkg.com/@e-mc/types@0.8.7/lib/settings.d.ts
203
203
 
204
204
  ## LICENSE
205
205
 
package/index.js CHANGED
@@ -169,7 +169,7 @@ function checkHash(localUri, output, options, data) {
169
169
  data = fs.readFileSync(localUri);
170
170
  }
171
171
  catch (err) {
172
- if (output && err instanceof Error && err.code === 'ENOENT') {
172
+ if (output && core_1.Host.isErrorCode(err, 'ENOENT')) {
173
173
  this.addLog(this.statusType.WARN, algorithm + ' -> ENOENT -> No checksum performed', path.basename(localUri), value);
174
174
  return true;
175
175
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e-mc/file-manager",
3
- "version": "0.8.6",
3
+ "version": "0.8.7",
4
4
  "description": "FileManager constructor for E-mc.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -20,15 +20,15 @@
20
20
  "license": "BSD 3-Clause",
21
21
  "homepage": "https://github.com/anpham6/e-mc#readme",
22
22
  "dependencies": {
23
- "@e-mc/cloud": "0.8.6",
24
- "@e-mc/compress": "0.8.6",
25
- "@e-mc/core": "0.8.6",
26
- "@e-mc/document": "0.8.6",
27
- "@e-mc/image": "0.8.6",
28
- "@e-mc/request": "0.8.6",
29
- "@e-mc/task": "0.8.6",
30
- "@e-mc/types": "0.8.6",
31
- "@e-mc/watch": "0.8.6",
23
+ "@e-mc/cloud": "0.8.7",
24
+ "@e-mc/compress": "0.8.7",
25
+ "@e-mc/core": "0.8.7",
26
+ "@e-mc/document": "0.8.7",
27
+ "@e-mc/image": "0.8.7",
28
+ "@e-mc/request": "0.8.7",
29
+ "@e-mc/task": "0.8.7",
30
+ "@e-mc/types": "0.8.7",
31
+ "@e-mc/watch": "0.8.7",
32
32
  "picomatch": "^3.0.1"
33
33
  }
34
34
  }