@antv/g-svg 1.1.8 → 1.2.2

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
@@ -399,11 +399,10 @@ function _inheritsLoose(subClass, superClass) {
399
399
  }
400
400
 
401
401
  function _setPrototypeOf(o, p) {
402
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
402
+ _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
403
403
  o.__proto__ = p;
404
404
  return o;
405
405
  };
406
-
407
406
  return _setPrototypeOf(o, p);
408
407
  }
409
408
 
package/dist/index.js CHANGED
@@ -421,11 +421,10 @@ function _inheritsLoose(subClass, superClass) {
421
421
  }
422
422
 
423
423
  function _setPrototypeOf(o, p) {
424
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
424
+ _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
425
425
  o.__proto__ = p;
426
426
  return o;
427
427
  };
428
-
429
428
  return _setPrototypeOf(o, p);
430
429
  }
431
430