rc-virtual-list
Advanced tools
Comparing version 3.4.1 to 3.4.2
@@ -10,2 +10,4 @@ import * as React from 'react'; | ||
var intervalRef = useRef(null); | ||
/* eslint-disable prefer-const */ | ||
var cleanUpEvents; | ||
@@ -12,0 +14,0 @@ |
@@ -17,3 +17,3 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } | ||
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } | ||
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); } | ||
@@ -20,0 +20,0 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } |
@@ -13,4 +13,3 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } | ||
this.maps = void 0; | ||
this.maps = {}; | ||
this.maps.prototype = null; | ||
this.maps = Object.create(null); | ||
} | ||
@@ -17,0 +16,0 @@ |
@@ -24,2 +24,4 @@ "use strict"; | ||
var intervalRef = (0, React.useRef)(null); | ||
/* eslint-disable prefer-const */ | ||
var cleanUpEvents; | ||
@@ -26,0 +28,0 @@ |
@@ -36,3 +36,3 @@ "use strict"; | ||
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } | ||
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); } | ||
@@ -39,0 +39,0 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } |
@@ -6,4 +6,4 @@ "use strict"; | ||
}); | ||
exports.findListDiffIndex = findListDiffIndex; | ||
exports.getIndexByStartLoc = getIndexByStartLoc; | ||
exports.findListDiffIndex = findListDiffIndex; | ||
@@ -10,0 +10,0 @@ /** |
@@ -20,4 +20,3 @@ "use strict"; | ||
this.maps = void 0; | ||
this.maps = {}; | ||
this.maps.prototype = null; | ||
this.maps = Object.create(null); | ||
} | ||
@@ -24,0 +23,0 @@ |
{ | ||
"name": "rc-virtual-list", | ||
"version": "3.4.1", | ||
"version": "3.4.2", | ||
"description": "React Virtual List Component", | ||
@@ -5,0 +5,0 @@ "engines": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
133448