tinper-bee-core
Advanced tools
Comparing version 0.2.9 to 0.3.0
"use strict"; | ||
exports.__esModule = true; | ||
(exports.__esModule = true, exports.default = splitComponentProps, function _objectEntries(obj) { | ||
var entries = []; | ||
var keys = Object.keys(obj); | ||
var _entries = require("babel-runtime/core-js/object/entries"); | ||
for (var k = 0; k < keys.length; ++k) entries.push([keys[k], obj[keys[k]]]); | ||
var _entries2 = _interopRequireDefault(_entries); | ||
exports.default = splitComponentProps; | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
return entries; | ||
}) | ||
/** | ||
@@ -25,3 +23,3 @@ * 分割要传入父元素和子元素的props | ||
(0, _entries2.default)(props).forEach(function (_ref) { | ||
_objectEntries(props).forEach(function (_ref) { | ||
var propName = _ref[0], | ||
@@ -28,0 +26,0 @@ propValue = _ref[1]; |
{ | ||
"name": "tinper-bee-core", | ||
"version": "0.2.9", | ||
"version": "0.3.0", | ||
"description": "style core and js util for tinper-bee", | ||
@@ -28,4 +28,5 @@ "main": "lib/index.js", | ||
"babel-plugin-istanbul": "^3.0.0", | ||
"babel-plugin-transform-es2017-object-entries": "0.0.4", | ||
"babel-plugin-transform-object-assign": "^6.8.0", | ||
"babel-plugin-transform-object-entries": "^1.0.0", | ||
"babel-plugin-transform-runtime": "^6.23.0", | ||
"babel-preset-es2015": "^6.18.0", | ||
@@ -32,0 +33,0 @@ "babel-preset-es2015-loose": "^8.0.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
868049
2676
10