@e-mc/file-manager 0.13.6 → 0.13.7
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 +10 -10
- package/index.js +7 -14
- 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.
|
|
12
|
+
* [View Source](https://www.unpkg.com/@e-mc/types@0.13.7/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.
|
|
301
|
-
- https://www.unpkg.com/@e-mc/types@0.13.
|
|
302
|
-
- https://www.unpkg.com/@e-mc/types@0.13.
|
|
303
|
-
- https://www.unpkg.com/@e-mc/types@0.13.
|
|
304
|
-
- https://www.unpkg.com/@e-mc/types@0.13.
|
|
305
|
-
- https://www.unpkg.com/@e-mc/types@0.13.
|
|
306
|
-
- https://www.unpkg.com/@e-mc/types@0.13.
|
|
307
|
-
- https://www.unpkg.com/@e-mc/types@0.13.
|
|
308
|
-
- https://www.unpkg.com/@e-mc/types@0.13.
|
|
300
|
+
- https://www.unpkg.com/@e-mc/types@0.13.7/lib/squared.d.ts
|
|
301
|
+
- https://www.unpkg.com/@e-mc/types@0.13.7/lib/asset.d.ts
|
|
302
|
+
- https://www.unpkg.com/@e-mc/types@0.13.7/lib/core.d.ts
|
|
303
|
+
- https://www.unpkg.com/@e-mc/types@0.13.7/lib/filemanager.d.ts
|
|
304
|
+
- https://www.unpkg.com/@e-mc/types@0.13.7/lib/logger.d.ts
|
|
305
|
+
- https://www.unpkg.com/@e-mc/types@0.13.7/lib/module.d.ts
|
|
306
|
+
- https://www.unpkg.com/@e-mc/types@0.13.7/lib/node.d.ts
|
|
307
|
+
- https://www.unpkg.com/@e-mc/types@0.13.7/lib/request.d.ts
|
|
308
|
+
- https://www.unpkg.com/@e-mc/types@0.13.7/lib/settings.d.ts
|
|
309
309
|
|
|
310
310
|
* https://www.npmjs.com/package/@types/node
|
|
311
311
|
|
package/index.js
CHANGED
|
@@ -3133,16 +3133,9 @@ class FileManager extends core_1.Host {
|
|
|
3133
3133
|
this.resetAssets();
|
|
3134
3134
|
break;
|
|
3135
3135
|
}
|
|
3136
|
-
if (this.queued) {
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
for (let i = 0; i < length; ++i) {
|
|
3140
|
-
args[i] = arguments[i];
|
|
3141
|
-
}
|
|
3142
|
-
if (this.joinQueue({ args })) {
|
|
3143
|
-
this.finalizeState = 4;
|
|
3144
|
-
return;
|
|
3145
|
-
}
|
|
3136
|
+
if (this.queued && this.joinQueue({ args: Array.from(arguments) })) {
|
|
3137
|
+
this.finalizeState = 4;
|
|
3138
|
+
return;
|
|
3146
3139
|
}
|
|
3147
3140
|
if (targeted) {
|
|
3148
3141
|
this.using(true, ...targeted);
|
|
@@ -3308,10 +3301,10 @@ class FileManager extends core_1.Host {
|
|
|
3308
3301
|
item.flags |= 128;
|
|
3309
3302
|
if (!etag || item.fetchType !== 1 || checksumOutput) {
|
|
3310
3303
|
if (bundleIndex === 0 && !(0, types_1.isEmpty)(bundleId)) {
|
|
3311
|
-
assets.filter(child => child.bundleId === bundleId && child.bundleIndex > 0)
|
|
3312
|
-
setBuffer(
|
|
3313
|
-
|
|
3314
|
-
}
|
|
3304
|
+
for (const target of assets.filter(child => child.bundleId === bundleId && child.bundleIndex > 0)) {
|
|
3305
|
+
setBuffer(target);
|
|
3306
|
+
target.invalid = true;
|
|
3307
|
+
}
|
|
3315
3308
|
}
|
|
3316
3309
|
continue;
|
|
3317
3310
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@e-mc/file-manager",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.7",
|
|
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.
|
|
23
|
-
"@e-mc/compress": "0.13.
|
|
24
|
-
"@e-mc/core": "0.13.
|
|
25
|
-
"@e-mc/document": "0.13.
|
|
26
|
-
"@e-mc/image": "0.13.
|
|
27
|
-
"@e-mc/request": "0.13.
|
|
28
|
-
"@e-mc/task": "0.13.
|
|
29
|
-
"@e-mc/types": "0.13.
|
|
30
|
-
"@e-mc/watch": "0.13.
|
|
22
|
+
"@e-mc/cloud": "0.13.7",
|
|
23
|
+
"@e-mc/compress": "0.13.7",
|
|
24
|
+
"@e-mc/core": "0.13.7",
|
|
25
|
+
"@e-mc/document": "0.13.7",
|
|
26
|
+
"@e-mc/image": "0.13.7",
|
|
27
|
+
"@e-mc/request": "0.13.7",
|
|
28
|
+
"@e-mc/task": "0.13.7",
|
|
29
|
+
"@e-mc/types": "0.13.7",
|
|
30
|
+
"@e-mc/watch": "0.13.7",
|
|
31
31
|
"chalk": "4.1.2",
|
|
32
|
-
"diff": "^8.0.
|
|
32
|
+
"diff": "^8.0.3",
|
|
33
33
|
"picomatch": "^4.0.3"
|
|
34
34
|
}
|
|
35
35
|
}
|