Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tinper-bee-core

Package Overview
Dependencies
Maintainers
14
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 0.4.1 to 1.0.0

scss/iconfont.css

11

js/splitComponent.js

@@ -1,10 +0,1 @@

function _objectEntries(obj) {
var entries = [];
var keys = Object.keys(obj);
for (var k = 0; k < keys.length; ++k) entries.push([keys[k], obj[keys[k]]]);
return entries;
}
/**

@@ -22,3 +13,3 @@ * 分割要传入父元素和子元素的props

_objectEntries(props).forEach(([propName, propValue]) => {
Object.entries(props).forEach(([propName, propValue]) => {
if (componentPropTypes[propName]) {

@@ -25,0 +16,0 @@ parentProps[propName] = propValue;

"use strict";
exports.__esModule = true;
exports.default = splitComponentProps;
function _objectEntries(obj) {
(exports.__esModule = true, exports.default = splitComponentProps, function _objectEntries(obj) {
var entries = [];
var keys = Object.keys(obj);
for (var k = 0; k < keys.length; ++k) {
entries.push([keys[k], obj[keys[k]]]);
}return entries;
}
for (var k = 0; k < keys.length; ++k) entries.push([keys[k], obj[keys[k]]]);
return entries;
})
/**

@@ -15,0 +12,0 @@ * 分割要传入父元素和子元素的props

{
"name": "tinper-bee-core",
"version": "0.4.1",
"version": "1.0.0",
"description": "style core and js util for tinper-bee",

@@ -13,3 +13,8 @@ "main": "lib/index.js",

"bugs": "https://github.com/tinper-bee/tinper-bee-core/issues",
"keywords": "tinper bee react util",
"keywords": [
"tinper",
"bee",
"react",
"til"
],
"scripts": {

@@ -33,5 +38,7 @@ "build": "rimraf lib && babel js -d lib"

"babel-cli": "^6.18.0",
"prop-types": "^15.5.10",
"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-runtime": "^6.23.0",
"babel-preset-es2015": "^6.18.0",

@@ -41,5 +48,4 @@ "babel-preset-es2015-loose": "^8.0.0",

"babel-register": "^6.18.0",
"prop-types": "^15.5.10",
"rimraf": "^2.6.1"
}
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc