@e-mc/core 0.9.4 → 0.9.6

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 +8 -8
  2. package/index.js +5 -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.9.4/lib/index.d.ts)
12
+ * [View Source](https://www.unpkg.com/@e-mc/types@0.9.6/lib/index.d.ts)
13
13
 
14
14
  ```typescript
15
15
  import type { DataSource, LogStatus } from "./squared";
@@ -229,13 +229,13 @@ NOTE: **@e-mc/core** is mostly a collection of abstract base classes which canno
229
229
 
230
230
  ## References
231
231
 
232
- - https://www.unpkg.com/@e-mc/types@0.9.4/lib/squared.d.ts
233
- - https://www.unpkg.com/@e-mc/types@0.9.4/lib/core.d.ts
234
- - https://www.unpkg.com/@e-mc/types@0.9.4/lib/db.d.ts
235
- - https://www.unpkg.com/@e-mc/types@0.9.4/lib/dom.d.ts
236
- - https://www.unpkg.com/@e-mc/types@0.9.4/lib/logger.d.ts
237
- - https://www.unpkg.com/@e-mc/types@0.9.4/lib/node.d.ts
238
- - https://www.unpkg.com/@e-mc/types@0.9.4/lib/settings.d.ts
232
+ - https://www.unpkg.com/@e-mc/types@0.9.6/lib/squared.d.ts
233
+ - https://www.unpkg.com/@e-mc/types@0.9.6/lib/core.d.ts
234
+ - https://www.unpkg.com/@e-mc/types@0.9.6/lib/db.d.ts
235
+ - https://www.unpkg.com/@e-mc/types@0.9.6/lib/dom.d.ts
236
+ - https://www.unpkg.com/@e-mc/types@0.9.6/lib/logger.d.ts
237
+ - https://www.unpkg.com/@e-mc/types@0.9.6/lib/node.d.ts
238
+ - https://www.unpkg.com/@e-mc/types@0.9.6/lib/settings.d.ts
239
239
 
240
240
  ## LICENSE
241
241
 
package/index.js CHANGED
@@ -592,12 +592,15 @@ class Host extends module_1 {
592
592
  }
593
593
  }
594
594
  resumeLog() {
595
+ var _k;
595
596
  const delayed = this._logDelayed;
596
597
  if (delayed) {
598
+ this[kLogState] = 1;
597
599
  const trailing = {};
598
600
  for (const args of delayed) {
601
+ (_k = args[4]).statusType && (_k.statusType = 0);
599
602
  if (typeof args[4].progressBar !== 'boolean') {
600
- module_1.formatMessage(...args);
603
+ this.formatMessage(...args);
601
604
  }
602
605
  else {
603
606
  trailing[args[1]] = args;
@@ -606,9 +609,8 @@ class Host extends module_1 {
606
609
  for (const title in trailing) {
607
610
  const args = trailing[title];
608
611
  delete args[4].progressBar;
609
- module_1.formatMessage(...args);
612
+ this.formatMessage(...args);
610
613
  }
611
- this[kLogState] = 1;
612
614
  }
613
615
  }
614
616
  delayMessage(args) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e-mc/core",
3
- "version": "0.9.4",
3
+ "version": "0.9.6",
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.9.4",
24
- "@e-mc/types": "0.9.4",
23
+ "@e-mc/module": "0.9.6",
24
+ "@e-mc/types": "0.9.6",
25
25
  "picomatch": "^4.0.2"
26
26
  }
27
27
  }