@e-mc/watch 0.8.28 → 0.8.29
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/README.md +6 -6
- package/index.js +1 -1
- package/package.json +4 -4
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.
|
|
12
|
+
- https://www.unpkg.com/@e-mc/types@0.8.29/lib/index.d.ts
|
|
13
13
|
|
|
14
14
|
```typescript
|
|
15
15
|
import type { IFileManager, ModuleConstructor } from "./index";
|
|
@@ -57,11 +57,11 @@ interface WatchConstructor extends ModuleConstructor {
|
|
|
57
57
|
|
|
58
58
|
## References
|
|
59
59
|
|
|
60
|
-
- https://www.unpkg.com/@e-mc/types@0.8.
|
|
61
|
-
- https://www.unpkg.com/@e-mc/types@0.8.
|
|
62
|
-
- https://www.unpkg.com/@e-mc/types@0.8.
|
|
63
|
-
- https://www.unpkg.com/@e-mc/types@0.8.
|
|
64
|
-
- https://www.unpkg.com/@e-mc/types@0.8.
|
|
60
|
+
- https://www.unpkg.com/@e-mc/types@0.8.29/lib/asset.d.ts
|
|
61
|
+
- https://www.unpkg.com/@e-mc/types@0.8.29/lib/core.d.ts
|
|
62
|
+
- https://www.unpkg.com/@e-mc/types@0.8.29/lib/filemanager.d.ts
|
|
63
|
+
- https://www.unpkg.com/@e-mc/types@0.8.29/lib/settings.d.ts
|
|
64
|
+
- https://www.unpkg.com/@e-mc/types@0.8.29/lib/watch.d.ts
|
|
65
65
|
|
|
66
66
|
## LICENSE
|
|
67
67
|
|
package/index.js
CHANGED
|
@@ -765,7 +765,7 @@ class Watch extends core_1.Client {
|
|
|
765
765
|
return this.hasSecureProtocol();
|
|
766
766
|
}
|
|
767
767
|
setCA(value) {
|
|
768
|
-
if ((0, types_1.isString)(value) && core_1.Client.isPath(value = path.resolve(value
|
|
768
|
+
if ((0, types_1.isString)(value) && core_1.Client.isPath(value = path.resolve(value)) && this.canRead(value, { ownPermissionOnly: true })) {
|
|
769
769
|
this[kCa] = value;
|
|
770
770
|
return true;
|
|
771
771
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@e-mc/watch",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.29",
|
|
4
4
|
"description": "Watch constructor for E-mc.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"homepage": "https://github.com/anpham6/e-mc#readme",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@e-mc/core": "0.8.
|
|
24
|
-
"@e-mc/request": "0.8.
|
|
25
|
-
"@e-mc/types": "0.8.
|
|
23
|
+
"@e-mc/core": "0.8.29",
|
|
24
|
+
"@e-mc/request": "0.8.29",
|
|
25
|
+
"@e-mc/types": "0.8.29",
|
|
26
26
|
"picomatch": "^3.0.1",
|
|
27
27
|
"ws": "^8.18.3"
|
|
28
28
|
}
|