x_ite-node 2.0.27 → 2.0.29

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/package.json +2 -3
  2. package/src/index.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "x_ite-node",
3
- "version": "2.0.27",
3
+ "version": "2.0.29",
4
4
  "description": "Pure Node.js Wrapper of X_ITE",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -55,11 +55,10 @@
55
55
  "filereader": "^0.10.3",
56
56
  "jsdom": "29.1.1",
57
57
  "jsdom-global": "^3.0.2",
58
- "node-fetch": "^2.7.0",
59
58
  "node-localstorage": "^3.0.5",
60
59
  "nogl": "^1.1.0",
61
60
  "skia-canvas": "^3.0.8",
62
- "x_ite": "^15.1.4"
61
+ "x_ite": "^15.1.7"
63
62
  },
64
63
  "devDependencies": {
65
64
  "@eslint/js": "^10.0.1",
package/src/index.js CHANGED
@@ -9,7 +9,7 @@ require ("jsdom-global") ();
9
9
  // Preparations
10
10
 
11
11
  const
12
- nodeFetch = require ("node-fetch"),
12
+ globalFetch = global .fetch,
13
13
  { LocalStorage } = require ("node-localstorage"),
14
14
  path = require ("path"),
15
15
  url = require ("url"),
@@ -188,7 +188,7 @@ Object .defineProperties (window,
188
188
  }
189
189
  default:
190
190
  {
191
- return nodeFetch (resource, options);
191
+ return globalFetch (resource, options);
192
192
  }
193
193
  }
194
194
  },