x_ite-node 2.0.23 → 2.0.24

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 +3 -3
  2. package/src/index.js +16 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "x_ite-node",
3
- "version": "2.0.23",
3
+ "version": "2.0.24",
4
4
  "description": "Pure Node.js Wrapper of X_ITE",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -63,9 +63,9 @@
63
63
  },
64
64
  "devDependencies": {
65
65
  "@eslint/js": "^10.0.1",
66
- "eslint": "^10.4.1",
66
+ "eslint": "^10.5.0",
67
67
  "globals": "^17.6.0",
68
- "jest": "^30.2.0",
68
+ "jest": "^30.4.2",
69
69
  "shell-tools": "^1.1.9"
70
70
  }
71
71
  }
package/src/index.js CHANGED
@@ -393,6 +393,22 @@ HTMLCanvasElement .prototype .getContext = function (contextType, ... args)
393
393
  }
394
394
  };
395
395
 
396
+ Object .defineProperties (URL,
397
+ {
398
+ createObjectURL:
399
+ {
400
+ value: blob => "",
401
+ configurable: true,
402
+ writable: true,
403
+ },
404
+ revokeObjectURL:
405
+ {
406
+ value: Function .prototype,
407
+ configurable: true,
408
+ writable: true,
409
+ },
410
+ });
411
+
396
412
  // X_ITE
397
413
 
398
414
  const