@peersyst/react-utils
Advanced tools
Comparing version 2.4.1 to 2.4.2
@@ -0,1 +1,2 @@ | ||
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray"; | ||
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; | ||
@@ -13,7 +14,18 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; } | ||
}; | ||
Object.entries(Component).forEach(function (_ref) { | ||
var _ref2 = _slicedToArray(_ref, 2), | ||
key = _ref2[0], | ||
value = _ref2[1]; | ||
if (key !== "name") Object.defineProperty(Slot, key, { | ||
value: value, | ||
writable: false, | ||
enumerable: true | ||
}); | ||
}); | ||
Object.defineProperty(Slot, "name", { | ||
value: slot, | ||
writable: false | ||
writable: true, | ||
enumerable: true | ||
}); | ||
return Slot; | ||
} |
@@ -46,3 +46,4 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; | ||
value: factory.name, | ||
writable: false | ||
writable: true, | ||
enumerable: true | ||
}); | ||
@@ -55,3 +56,4 @@ for (var _i = 0, _Object$entries = Object.entries(extensions); _i < _Object$entries.length; _i++) { | ||
value: createSlot(name, element), | ||
writable: false | ||
writable: false, | ||
enumerable: true | ||
}); | ||
@@ -66,3 +68,4 @@ } | ||
value: createSlot(slot), | ||
writable: false | ||
writable: false, | ||
enumerable: true | ||
}); | ||
@@ -69,0 +72,0 @@ } |
@@ -0,1 +1,2 @@ | ||
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray"; | ||
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; | ||
@@ -13,7 +14,18 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; } | ||
}; | ||
Object.entries(Component).forEach(function (_ref) { | ||
var _ref2 = _slicedToArray(_ref, 2), | ||
key = _ref2[0], | ||
value = _ref2[1]; | ||
if (key !== "name") Object.defineProperty(Slot, key, { | ||
value: value, | ||
writable: false, | ||
enumerable: true | ||
}); | ||
}); | ||
Object.defineProperty(Slot, "name", { | ||
value: slot, | ||
writable: false | ||
writable: true, | ||
enumerable: true | ||
}); | ||
return Slot; | ||
} |
@@ -46,3 +46,4 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; | ||
value: factory.name, | ||
writable: false | ||
writable: true, | ||
enumerable: true | ||
}); | ||
@@ -55,3 +56,4 @@ for (var _i = 0, _Object$entries = Object.entries(extensions); _i < _Object$entries.length; _i++) { | ||
value: createSlot(name, element), | ||
writable: false | ||
writable: false, | ||
enumerable: true | ||
}); | ||
@@ -66,3 +68,4 @@ } | ||
value: createSlot(slot), | ||
writable: false | ||
writable: false, | ||
enumerable: true | ||
}); | ||
@@ -69,0 +72,0 @@ } |
@@ -0,1 +1,2 @@ | ||
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray"; | ||
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; | ||
@@ -13,7 +14,18 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; } | ||
}; | ||
Object.entries(Component).forEach(function (_ref) { | ||
var _ref2 = _slicedToArray(_ref, 2), | ||
key = _ref2[0], | ||
value = _ref2[1]; | ||
if (key !== "name") Object.defineProperty(Slot, key, { | ||
value: value, | ||
writable: false, | ||
enumerable: true | ||
}); | ||
}); | ||
Object.defineProperty(Slot, "name", { | ||
value: slot, | ||
writable: false | ||
writable: true, | ||
enumerable: true | ||
}); | ||
return Slot; | ||
} |
@@ -46,3 +46,4 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; | ||
value: factory.name, | ||
writable: false | ||
writable: true, | ||
enumerable: true | ||
}); | ||
@@ -55,3 +56,4 @@ for (var _i = 0, _Object$entries = Object.entries(extensions); _i < _Object$entries.length; _i++) { | ||
value: createSlot(name, element), | ||
writable: false | ||
writable: false, | ||
enumerable: true | ||
}); | ||
@@ -66,3 +68,4 @@ } | ||
value: createSlot(slot), | ||
writable: false | ||
writable: false, | ||
enumerable: true | ||
}); | ||
@@ -69,0 +72,0 @@ } |
@@ -8,2 +8,3 @@ "use strict"; | ||
exports["default"] = _default; | ||
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray")); | ||
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty")); | ||
@@ -21,7 +22,18 @@ var _react = require("react"); | ||
}; | ||
Object.entries(Component).forEach(function (_ref) { | ||
var _ref2 = (0, _slicedToArray2["default"])(_ref, 2), | ||
key = _ref2[0], | ||
value = _ref2[1]; | ||
if (key !== "name") Object.defineProperty(Slot, key, { | ||
value: value, | ||
writable: false, | ||
enumerable: true | ||
}); | ||
}); | ||
Object.defineProperty(Slot, "name", { | ||
value: slot, | ||
writable: false | ||
writable: true, | ||
enumerable: true | ||
}); | ||
return Slot; | ||
} |
@@ -52,3 +52,4 @@ "use strict"; | ||
value: factory.name, | ||
writable: false | ||
writable: true, | ||
enumerable: true | ||
}); | ||
@@ -61,3 +62,4 @@ for (var _i = 0, _Object$entries = Object.entries(extensions); _i < _Object$entries.length; _i++) { | ||
value: (0, _createSlot["default"])(name, element), | ||
writable: false | ||
writable: false, | ||
enumerable: true | ||
}); | ||
@@ -72,3 +74,4 @@ } | ||
value: (0, _createSlot["default"])(slot), | ||
writable: false | ||
writable: false, | ||
enumerable: true | ||
}); | ||
@@ -75,0 +78,0 @@ } |
{ | ||
"name": "@peersyst/react-utils", | ||
"author": "Peersyst", | ||
"version": "2.4.1", | ||
"version": "2.4.2", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "main": "./node/index.js", |
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
175770
3746