@e-mc/compat-v4 0.9.9 → 0.10.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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/index.js +6 -4
  3. package/package.json +4 -4
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.9/lib/compat-v4.d.ts)
12
+ * [View Source](https://www.unpkg.com/@e-mc/types@0.10.1/lib/compat-v4.d.ts)
13
13
 
14
14
  ## LICENSE
15
15
 
package/index.js CHANGED
@@ -60,13 +60,13 @@ try {
60
60
  FileManager.defineDnsLookup = Request.defineDnsLookup.bind(FileManager);
61
61
  FileManager.getAria2Path = Request.getAria2Path.bind(FileManager);
62
62
  FileManager.clearHttpBuffer = function () {
63
- this.purgeMemory();
63
+ void this.purgeMemory();
64
64
  };
65
65
  FileManager.resetHttpHost = function (version) {
66
- Request.purgeMemory(version === 2 ? 1 : 0.5);
66
+ void Request.purgeMemory(version === 2 ? 1 : 0.5);
67
67
  };
68
68
  FileManager.clearDnsLookup = function () {
69
- Request.purgeMemory(0);
69
+ void Request.purgeMemory(0);
70
70
  };
71
71
  FileManager.defineHttpSettings = function ({ version, timeout, headers, certs }) {
72
72
  Request.loadSettings({ request: { timeout, use: { http_version: version }, headers, certs } });
@@ -279,4 +279,6 @@ catch {
279
279
  ["@squared-functions/watch/filegroup", "@e-mc/watch/filegroup"],
280
280
  ["@e-mc/compat-v4"]
281
281
  ]
282
- .forEach(item => setModule(item[0], item[1], item[2]));
282
+ .forEach(item => {
283
+ setModule(item[0], item[1], item[2]);
284
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e-mc/compat-v4",
3
- "version": "0.9.9",
3
+ "version": "0.10.1",
4
4
  "description": "Base class compatibility with squared-functions.",
5
5
  "main": "index.js",
6
6
  "publishConfig": {
@@ -22,8 +22,8 @@
22
22
  "license": "BSD 3-Clause",
23
23
  "homepage": "https://github.com/anpham6/e-mc#readme",
24
24
  "dependencies": {
25
- "@e-mc/module": "0.9.9",
26
- "@e-mc/request": "0.9.9",
27
- "@e-mc/types": "0.9.9"
25
+ "@e-mc/module": "0.10.1",
26
+ "@e-mc/request": "0.10.1",
27
+ "@e-mc/types": "0.10.1"
28
28
  }
29
29
  }