@e-mc/core 0.6.0 → 0.7.0

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 (2) hide show
  1. package/index.js +2 -2
  2. package/package.json +4 -4
package/index.js CHANGED
@@ -685,8 +685,8 @@ class Client extends module_1.default {
685
685
  this.permission = result;
686
686
  }
687
687
  }
688
- if ((0, types_1.isArray)(extensions)) {
689
- this._extensions || (this._extensions = extensions.slice(0));
688
+ if (!this._extensions && (0, types_1.isArray)(extensions)) {
689
+ this._extensions = extensions.slice(0);
690
690
  }
691
691
  if (cache_dir) {
692
692
  this.cacheDir = cache_dir;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e-mc/core",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
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.6.0",
24
- "@e-mc/types": "0.6.0",
25
- "picomatch": "^2.3.1"
23
+ "@e-mc/module": "0.7.0",
24
+ "@e-mc/types": "0.7.0",
25
+ "picomatch": "^3.0.1"
26
26
  }
27
27
  }