@antv/g-lite 1.0.57 → 1.0.58

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.
package/dist/index.esm.js CHANGED
@@ -6216,9 +6216,11 @@ var Node = /*#__PURE__*/function (_EventTarget) {
6216
6216
  // same node
6217
6217
  return 0;
6218
6218
  }
6219
- if (!(other instanceof Node)) {
6220
- throw new TypeError('Node.compareDocumentPosition: Argument 1 does not implement interface Node.');
6221
- }
6219
+ // if (!(other instanceof Node)) {
6220
+ // throw new TypeError(
6221
+ // 'Node.compareDocumentPosition: Argument 1 does not implement interface Node.',
6222
+ // );
6223
+ // }
6222
6224
  var node1Root = other;
6223
6225
  // eslint-disable-next-line @typescript-eslint/no-this-alias
6224
6226
  var node2Root = this;
package/dist/index.js CHANGED
@@ -6218,9 +6218,11 @@ var Node = /*#__PURE__*/function (_EventTarget) {
6218
6218
  // same node
6219
6219
  return 0;
6220
6220
  }
6221
- if (!(other instanceof Node)) {
6222
- throw new TypeError('Node.compareDocumentPosition: Argument 1 does not implement interface Node.');
6223
- }
6221
+ // if (!(other instanceof Node)) {
6222
+ // throw new TypeError(
6223
+ // 'Node.compareDocumentPosition: Argument 1 does not implement interface Node.',
6224
+ // );
6225
+ // }
6224
6226
  var node1Root = other;
6225
6227
  // eslint-disable-next-line @typescript-eslint/no-this-alias
6226
6228
  var node2Root = this;
package/dist/index.umd.js CHANGED
@@ -13197,9 +13197,11 @@
13197
13197
  // same node
13198
13198
  return 0;
13199
13199
  }
13200
- if (!(other instanceof Node)) {
13201
- throw new TypeError('Node.compareDocumentPosition: Argument 1 does not implement interface Node.');
13202
- }
13200
+ // if (!(other instanceof Node)) {
13201
+ // throw new TypeError(
13202
+ // 'Node.compareDocumentPosition: Argument 1 does not implement interface Node.',
13203
+ // );
13204
+ // }
13203
13205
  var node1Root = other;
13204
13206
  // eslint-disable-next-line @typescript-eslint/no-this-alias
13205
13207
  var node2Root = this;