x_ite-node 1.1.1 → 1.1.3

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 -2
  2. package/src/index.js +1 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "x_ite-node",
3
- "version": "1.1.1",
3
+ "version": "1.1.3",
4
4
  "description": "Pure Node.js wrapper of X_ITE",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -59,7 +59,7 @@
59
59
  "node-localstorage": "^3.0.5",
60
60
  "nogl": "^1.1.0",
61
61
  "skia-canvas": "^2.0.2",
62
- "x_ite": "^12.0.8"
62
+ "x_ite": "^12.0.9"
63
63
  },
64
64
  "devDependencies": {
65
65
  "jest": "^30.1.3",
package/src/index.js CHANGED
@@ -227,7 +227,6 @@ Object .defineProperties (global,
227
227
  {
228
228
  value: window [name],
229
229
  configurable: true,
230
- writable: true,
231
230
  }])),
232
231
  // functions and properties
233
232
  ... Object .fromEntries ([
@@ -235,13 +234,13 @@ Object .defineProperties (global,
235
234
  "customElements",
236
235
  "fetch",
237
236
  "localStorage",
237
+ ... global .navigator ? [ ] : ["navigator"],
238
238
  "sessionStorage",
239
239
  ]
240
240
  .map (name => [name,
241
241
  {
242
242
  value: window [name],
243
243
  configurable: true,
244
- writable: true,
245
244
  enumerable: true,
246
245
  }])),
247
246
  });