@antv/g-lite 1.1.0 → 1.2.1

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.js CHANGED
@@ -7929,13 +7929,11 @@ var SyncWaterfallHook = /** @class */ (function () {
7929
7929
  this.callbacks.push(fn);
7930
7930
  };
7931
7931
  SyncWaterfallHook.prototype.call = function () {
7932
- var _a;
7933
- var args = [];
7934
- for (var _i = 0; _i < arguments.length; _i++) {
7935
- args[_i] = arguments[_i];
7936
- }
7937
7932
  if (this.callbacks.length) {
7938
- var result = (_a = this.callbacks)[0].apply(_a, tslib.__spreadArray([], tslib.__read(args), false));
7933
+ /* eslint-disable-next-line prefer-rest-params */
7934
+ var argsArr = arguments;
7935
+ /* eslint-disable-next-line prefer-spread */
7936
+ var result = this.callbacks[0].apply(void 0, argsArr);
7939
7937
  for (var i = 0; i < this.callbacks.length - 1; i++) {
7940
7938
  var callback = this.callbacks[i];
7941
7939
  // @ts-ignore