@e-mc/core 0.11.7 → 0.11.8
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 +8 -8
- package/index.js +3 -3
- package/package.json +3 -3
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.8/lib/index.d.ts)
|
|
13
13
|
|
|
14
14
|
```typescript
|
|
15
15
|
import type { DataSource, LogStatus } from "./squared";
|
|
@@ -232,13 +232,13 @@ NOTE: **@e-mc/core** is mostly a collection of abstract base classes which canno
|
|
|
232
232
|
|
|
233
233
|
## References
|
|
234
234
|
|
|
235
|
-
- https://www.unpkg.com/@e-mc/types@0.11.
|
|
236
|
-
- https://www.unpkg.com/@e-mc/types@0.11.
|
|
237
|
-
- https://www.unpkg.com/@e-mc/types@0.11.
|
|
238
|
-
- https://www.unpkg.com/@e-mc/types@0.11.
|
|
239
|
-
- https://www.unpkg.com/@e-mc/types@0.11.
|
|
240
|
-
- https://www.unpkg.com/@e-mc/types@0.11.
|
|
241
|
-
- https://www.unpkg.com/@e-mc/types@0.11.
|
|
235
|
+
- https://www.unpkg.com/@e-mc/types@0.11.8/lib/squared.d.ts
|
|
236
|
+
- https://www.unpkg.com/@e-mc/types@0.11.8/lib/core.d.ts
|
|
237
|
+
- https://www.unpkg.com/@e-mc/types@0.11.8/lib/db.d.ts
|
|
238
|
+
- https://www.unpkg.com/@e-mc/types@0.11.8/lib/dom.d.ts
|
|
239
|
+
- https://www.unpkg.com/@e-mc/types@0.11.8/lib/logger.d.ts
|
|
240
|
+
- https://www.unpkg.com/@e-mc/types@0.11.8/lib/node.d.ts
|
|
241
|
+
- https://www.unpkg.com/@e-mc/types@0.11.8/lib/settings.d.ts
|
|
242
242
|
|
|
243
243
|
## LICENSE
|
|
244
244
|
|
package/index.js
CHANGED
|
@@ -51,7 +51,7 @@ const HOST = {
|
|
|
51
51
|
const HOST_USERNAME = new WeakMap();
|
|
52
52
|
let STORE_RESULT_COUNT = 0;
|
|
53
53
|
let PICOMATCH_OPTIONS = { nocase: module_1.PLATFORM_WIN32 };
|
|
54
|
-
let MINIMATCH_OPTIONS = {
|
|
54
|
+
let MINIMATCH_OPTIONS = { nocase: module_1.PLATFORM_WIN32, matchBase: true };
|
|
55
55
|
let MINIMATCH;
|
|
56
56
|
let PERMISSION;
|
|
57
57
|
function closeHostThread(host) {
|
|
@@ -304,13 +304,13 @@ class Host extends module_1 {
|
|
|
304
304
|
if (perm.settings) {
|
|
305
305
|
const { picomatch: pico, minimatch: mini } = perm.settings;
|
|
306
306
|
if ((0, types_1.isPlainObject)(pico)) {
|
|
307
|
-
PICOMATCH_OPTIONS = {
|
|
307
|
+
PICOMATCH_OPTIONS = { nocase: module_1.PLATFORM_WIN32, matchBase: true, ...pico };
|
|
308
308
|
}
|
|
309
309
|
if ((0, types_1.isPlainObject)(mini)) {
|
|
310
310
|
try {
|
|
311
311
|
const pkg = require('minimatch');
|
|
312
312
|
MINIMATCH = 'minimatch' in pkg ? pkg.minimatch : pkg;
|
|
313
|
-
MINIMATCH_OPTIONS = {
|
|
313
|
+
MINIMATCH_OPTIONS = { nocase: module_1.PLATFORM_WIN32, matchBase: true, ...mini };
|
|
314
314
|
}
|
|
315
315
|
catch {
|
|
316
316
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@e-mc/core",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.8",
|
|
4
4
|
"description": "Core modules for E-mc.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"license": "BSD-3-Clause",
|
|
21
21
|
"homepage": "https://github.com/anpham6/e-mc#readme",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@e-mc/module": "0.11.
|
|
24
|
-
"@e-mc/types": "0.11.
|
|
23
|
+
"@e-mc/module": "0.11.8",
|
|
24
|
+
"@e-mc/types": "0.11.8",
|
|
25
25
|
"ipaddr.js": "^2.2.0",
|
|
26
26
|
"picomatch": "^4.0.2"
|
|
27
27
|
}
|