@e-mc/watch 0.12.13 → 0.12.15

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 +6 -6
  2. package/index.js +1 -1
  3. package/package.json +4 -4
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.12.13/lib/index.d.ts)
12
+ * [View Source](https://www.unpkg.com/@e-mc/types@0.12.15/lib/index.d.ts)
13
13
 
14
14
  ```typescript
15
15
  import type { IFileManager, ModuleConstructor } from "./index";
@@ -110,11 +110,11 @@ instance.start(assets, { disk_read: ["/path/workspace/output/**"] });
110
110
 
111
111
  ## References
112
112
 
113
- - https://www.unpkg.com/@e-mc/types@0.12.13/lib/asset.d.ts
114
- - https://www.unpkg.com/@e-mc/types@0.12.13/lib/core.d.ts
115
- - https://www.unpkg.com/@e-mc/types@0.12.13/lib/filemanager.d.ts
116
- - https://www.unpkg.com/@e-mc/types@0.12.13/lib/settings.d.ts
117
- - https://www.unpkg.com/@e-mc/types@0.12.13/lib/watch.d.ts
113
+ - https://www.unpkg.com/@e-mc/types@0.12.15/lib/asset.d.ts
114
+ - https://www.unpkg.com/@e-mc/types@0.12.15/lib/core.d.ts
115
+ - https://www.unpkg.com/@e-mc/types@0.12.15/lib/filemanager.d.ts
116
+ - https://www.unpkg.com/@e-mc/types@0.12.15/lib/settings.d.ts
117
+ - https://www.unpkg.com/@e-mc/types@0.12.15/lib/watch.d.ts
118
118
 
119
119
  * https://www.npmjs.com/package/@types/ws
120
120
 
package/index.js CHANGED
@@ -801,7 +801,7 @@ class Watch extends core_1.Client {
801
801
  return this.hasSecureProtocol();
802
802
  }
803
803
  setCA(value) {
804
- if ((0, types_1.isString)(value) && core_1.Client.isPath(value = path.resolve(value = value.trim())) && this.canRead(value, { ownPermissionOnly: true })) {
804
+ if ((0, types_1.isString)(value) && core_1.Client.isPath(value = path.resolve(value)) && this.canRead(value, { ownPermissionOnly: true })) {
805
805
  this.#ca = value;
806
806
  return true;
807
807
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e-mc/watch",
3
- "version": "0.12.13",
3
+ "version": "0.12.15",
4
4
  "description": "Watch constructor for E-mc.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -19,9 +19,9 @@
19
19
  "license": "BSD-3-Clause",
20
20
  "homepage": "https://github.com/anpham6/e-mc#readme",
21
21
  "dependencies": {
22
- "@e-mc/core": "0.12.13",
23
- "@e-mc/request": "0.12.13",
24
- "@e-mc/types": "0.12.13",
22
+ "@e-mc/core": "0.12.15",
23
+ "@e-mc/request": "0.12.15",
24
+ "@e-mc/types": "0.12.15",
25
25
  "picomatch": "^4.0.3",
26
26
  "ws": "^8.18.3"
27
27
  }