🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

tinper-bee-core

Package Overview
Dependencies
Maintainers
3
Versions
132
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tinper-bee-core - npm Package Compare versions

Comparing version

to
0.3.0

16

lib/splitComponent.js
"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