@e-mc/module 0.11.0 → 0.11.1
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 +2 -2
- package/package.json +2 -2
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.11.
|
|
12
|
+
* [View Source](https://www.unpkg.com/@e-mc/types@0.11.1/lib/index.d.ts)
|
|
13
13
|
|
|
14
14
|
```typescript
|
|
15
15
|
import type { LogStatus } from "./squared";
|
|
@@ -407,11 +407,11 @@ interface LoggerModule {
|
|
|
407
407
|
|
|
408
408
|
## References
|
|
409
409
|
|
|
410
|
-
- https://www.unpkg.com/@e-mc/types@0.11.
|
|
411
|
-
- https://www.unpkg.com/@e-mc/types@0.11.
|
|
412
|
-
- https://www.unpkg.com/@e-mc/types@0.11.
|
|
413
|
-
- https://www.unpkg.com/@e-mc/types@0.11.
|
|
414
|
-
- https://www.unpkg.com/@e-mc/types@0.11.
|
|
410
|
+
- https://www.unpkg.com/@e-mc/types@0.11.1/lib/core.d.ts
|
|
411
|
+
- https://www.unpkg.com/@e-mc/types@0.11.1/lib/logger.d.ts
|
|
412
|
+
- https://www.unpkg.com/@e-mc/types@0.11.1/lib/module.d.ts
|
|
413
|
+
- https://www.unpkg.com/@e-mc/types@0.11.1/lib/node.d.ts
|
|
414
|
+
- https://www.unpkg.com/@e-mc/types@0.11.1/lib/settings.d.ts
|
|
415
415
|
|
|
416
416
|
* https://www.npmjs.com/package/@types/node
|
|
417
417
|
|
package/index.js
CHANGED
|
@@ -139,7 +139,7 @@ const MEMORY_CACHE_DISK = {
|
|
|
139
139
|
include: null,
|
|
140
140
|
exclude: null
|
|
141
141
|
};
|
|
142
|
-
const SUPPORTED_CANPARSE = (0, types_1.supported)(19, 9) || (0, types_1.supported)(18, 17,
|
|
142
|
+
const SUPPORTED_CANPARSE = (0, types_1.supported)(19, 9) || (0, types_1.supported)(18, 17, true);
|
|
143
143
|
const REGEXP_TORRENT = /^(?:magnet:\?xt=|(?:https?|s?ftp):\/\/[^/][^\n]*?\.(?:torrent|metalink|meta4)(?:\?[^\n]*)?$)/i;
|
|
144
144
|
const REGEXP_PROTOCOL = /^([a-z][a-z\d+-.]*):\/\/[^@:[\]\\^<>|\s]/i;
|
|
145
145
|
const REGEXP_CLIESCAPE = /[^\w+-.,/:@]/g;
|
|
@@ -979,7 +979,7 @@ class Module extends EventEmitter {
|
|
|
979
979
|
this[_g] = null;
|
|
980
980
|
}
|
|
981
981
|
static get VERSION() {
|
|
982
|
-
return "0.11.
|
|
982
|
+
return "0.11.1";
|
|
983
983
|
}
|
|
984
984
|
static get LOG_TYPE() {
|
|
985
985
|
return types_1.LOG_TYPE;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@e-mc/module",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.1",
|
|
4
4
|
"description": "Module base class for E-mc.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"license": "BSD-3-Clause",
|
|
21
21
|
"homepage": "https://github.com/anpham6/e-mc#readme",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@e-mc/types": "0.11.
|
|
23
|
+
"@e-mc/types": "0.11.1",
|
|
24
24
|
"chalk": "4.1.2",
|
|
25
25
|
"file-type": "^18.7.0",
|
|
26
26
|
"js-yaml": "^4.1.0",
|