@e-mc/file-manager 0.13.9 → 0.13.10

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 +11 -11
package/README.md CHANGED
@@ -9,7 +9,7 @@
9
9
 
10
10
  ## Interface
11
11
 
12
- * [View Source](https://www.unpkg.com/@e-mc/types@0.13.9/lib/index.d.ts)
12
+ * [View Source](https://www.unpkg.com/@e-mc/types@0.13.10/lib/index.d.ts)
13
13
 
14
14
  ```typescript
15
15
  import type { ChecksumValue, DataSource, IncrementalMatch, TaskAction } from "./squared";
@@ -297,15 +297,15 @@ NOTE: **FileManager** is a sub-class of [Host](https://www.npmjs.com/package/@e-
297
297
 
298
298
  ## References
299
299
 
300
- - https://www.unpkg.com/@e-mc/types@0.13.9/lib/squared.d.ts
301
- - https://www.unpkg.com/@e-mc/types@0.13.9/lib/asset.d.ts
302
- - https://www.unpkg.com/@e-mc/types@0.13.9/lib/core.d.ts
303
- - https://www.unpkg.com/@e-mc/types@0.13.9/lib/filemanager.d.ts
304
- - https://www.unpkg.com/@e-mc/types@0.13.9/lib/logger.d.ts
305
- - https://www.unpkg.com/@e-mc/types@0.13.9/lib/module.d.ts
306
- - https://www.unpkg.com/@e-mc/types@0.13.9/lib/node.d.ts
307
- - https://www.unpkg.com/@e-mc/types@0.13.9/lib/request.d.ts
308
- - https://www.unpkg.com/@e-mc/types@0.13.9/lib/settings.d.ts
300
+ - https://www.unpkg.com/@e-mc/types@0.13.10/lib/squared.d.ts
301
+ - https://www.unpkg.com/@e-mc/types@0.13.10/lib/asset.d.ts
302
+ - https://www.unpkg.com/@e-mc/types@0.13.10/lib/core.d.ts
303
+ - https://www.unpkg.com/@e-mc/types@0.13.10/lib/filemanager.d.ts
304
+ - https://www.unpkg.com/@e-mc/types@0.13.10/lib/logger.d.ts
305
+ - https://www.unpkg.com/@e-mc/types@0.13.10/lib/module.d.ts
306
+ - https://www.unpkg.com/@e-mc/types@0.13.10/lib/node.d.ts
307
+ - https://www.unpkg.com/@e-mc/types@0.13.10/lib/request.d.ts
308
+ - https://www.unpkg.com/@e-mc/types@0.13.10/lib/settings.d.ts
309
309
 
310
310
  * https://www.npmjs.com/package/@types/node
311
311
 
package/index.js CHANGED
@@ -4432,7 +4432,7 @@ class FileManager extends core_1.Host {
4432
4432
  #tryPackage(target, name, type) {
4433
4433
  if ((0, types_1.isString)(target)) {
4434
4434
  try {
4435
- target = require(target);
4435
+ target = (0, types_1.requireESM)(target);
4436
4436
  }
4437
4437
  catch (err) {
4438
4438
  this.checkPackage(err, target, ["Unable to load handler", this.moduleName], type);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e-mc/file-manager",
3
- "version": "0.13.9",
3
+ "version": "0.13.10",
4
4
  "description": "FileManager constructor for E-mc.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -19,17 +19,17 @@
19
19
  "license": "BSD-3-Clause",
20
20
  "homepage": "https://github.com/anpham6/e-mc#readme",
21
21
  "dependencies": {
22
- "@e-mc/cloud": "0.13.9",
23
- "@e-mc/compress": "0.13.9",
24
- "@e-mc/core": "0.13.9",
25
- "@e-mc/document": "0.13.9",
26
- "@e-mc/image": "0.13.9",
27
- "@e-mc/request": "0.13.9",
28
- "@e-mc/task": "0.13.9",
29
- "@e-mc/types": "0.13.9",
30
- "@e-mc/watch": "0.13.9",
22
+ "@e-mc/cloud": "0.13.10",
23
+ "@e-mc/compress": "0.13.10",
24
+ "@e-mc/core": "0.13.10",
25
+ "@e-mc/document": "0.13.10",
26
+ "@e-mc/image": "0.13.10",
27
+ "@e-mc/request": "0.13.10",
28
+ "@e-mc/task": "0.13.10",
29
+ "@e-mc/types": "0.13.10",
30
+ "@e-mc/watch": "0.13.10",
31
31
  "chalk": "4.1.2",
32
32
  "diff": "^8.0.3",
33
- "picomatch": "^4.0.3"
33
+ "picomatch": "^4.0.4"
34
34
  }
35
35
  }