@bearei/react-util
Advanced tools
Comparing version 0.0.21 to 0.0.22
@@ -5,1 +5,2 @@ export * from './event'; | ||
export * from './platform'; | ||
export * from './array'; |
/******/ var __webpack_modules__ = ({ | ||
/***/ 405: | ||
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { | ||
/* harmony export */ __webpack_require__.d(__webpack_exports__, { | ||
/* harmony export */ "X": function() { return /* binding */ isEqual; } | ||
/* harmony export */ }); | ||
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); } | ||
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } | ||
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } | ||
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } | ||
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); } | ||
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } | ||
var isEqual = function isEqual(a, b) { | ||
return JSON.stringify(_toConsumableArray(new Set(a)).sort()) === JSON.stringify(_toConsumableArray(new Set(b)).sort()); | ||
}; | ||
/***/ }), | ||
/***/ 875: | ||
@@ -161,2 +179,3 @@ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { | ||
/* harmony export */ "Su": function() { return /* reexport safe */ _pickAttributes__WEBPACK_IMPORTED_MODULE_1__.S; }, | ||
/* harmony export */ "Xy": function() { return /* reexport safe */ _array__WEBPACK_IMPORTED_MODULE_3__.X; }, | ||
/* harmony export */ "sQ": function() { return /* reexport safe */ _event__WEBPACK_IMPORTED_MODULE_0__.s; }, | ||
@@ -168,2 +187,3 @@ /* harmony export */ "tq": function() { return /* reexport safe */ _platform__WEBPACK_IMPORTED_MODULE_2__.t; } | ||
/* harmony import */ var _platform__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(492); | ||
/* harmony import */ var _array__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(405); | ||
@@ -173,8 +193,10 @@ | ||
}(); | ||
var __webpack_exports__bindEvents = __webpack_exports__.sQ; | ||
var __webpack_exports__handleDefaultEvent = __webpack_exports__.OV; | ||
var __webpack_exports__isEqual = __webpack_exports__.Xy; | ||
var __webpack_exports__isMobile = __webpack_exports__.tq; | ||
var __webpack_exports__pickHTMLAttributes = __webpack_exports__.JB; | ||
var __webpack_exports__pickNativeAttributes = __webpack_exports__.Su; | ||
export { __webpack_exports__bindEvents as bindEvents, __webpack_exports__handleDefaultEvent as handleDefaultEvent, __webpack_exports__isMobile as isMobile, __webpack_exports__pickHTMLAttributes as pickHTMLAttributes, __webpack_exports__pickNativeAttributes as pickNativeAttributes }; | ||
export { __webpack_exports__bindEvents as bindEvents, __webpack_exports__handleDefaultEvent as handleDefaultEvent, __webpack_exports__isEqual as isEqual, __webpack_exports__isMobile as isMobile, __webpack_exports__pickHTMLAttributes as pickHTMLAttributes, __webpack_exports__pickNativeAttributes as pickNativeAttributes }; |
@@ -5,1 +5,2 @@ export * from './event'; | ||
export * from './platform'; | ||
export * from './array'; |
@@ -5,2 +5,24 @@ /******/ (function() { // webpackBootstrap | ||
/***/ 405: | ||
/***/ (function(__unused_webpack_module, exports) { | ||
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); } | ||
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } | ||
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } | ||
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } | ||
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); } | ||
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } | ||
Object.defineProperty(exports, "__esModule", ({ | ||
value: true | ||
})); | ||
exports.isEqual = void 0; | ||
var isEqual = function isEqual(a, b) { | ||
return JSON.stringify(_toConsumableArray(new Set(a)).sort()) === JSON.stringify(_toConsumableArray(new Set(b)).sort()); | ||
}; | ||
exports.isEqual = isEqual; | ||
/***/ }), | ||
/***/ 875: | ||
@@ -72,2 +94,3 @@ /***/ (function(__unused_webpack_module, exports) { | ||
__exportStar(__webpack_require__(492), exports); | ||
__exportStar(__webpack_require__(405), exports); | ||
@@ -74,0 +97,0 @@ /***/ }), |
{ | ||
"name": "@bearei/react-util", | ||
"version": "0.0.21", | ||
"version": "0.0.22", | ||
"main": "./lib/index.js", | ||
@@ -5,0 +5,0 @@ "types": "./lib/index.d.ts", |
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
97871
27
1022