uxcore-switch
Advanced tools
Comparing version 0.1.1 to 0.1.2
'use strict'; | ||
function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; } | ||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } | ||
@@ -7,3 +9,3 @@ | ||
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } | ||
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); } | ||
@@ -10,0 +12,0 @@ /** |
@@ -26,3 +26,3 @@ /** | ||
}}> | ||
<Switch checkedChildren="显示" unCheckedChildren="隐藏" disabled={false} /> | ||
<Switch checkedChildren="显示" unCheckedChildren="隐藏" disabled={false} onChange={function() {}}/> | ||
</div> | ||
@@ -29,0 +29,0 @@ ); |
{ | ||
"name": "uxcore-switch", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "uxcore-switch component for uxcore.", | ||
@@ -9,3 +9,9 @@ "repository": "https://github.com/uxcore/uxcore-switch.git", | ||
"scripts": { | ||
"dev": "gulp server" | ||
"start": "uxcore-tools run start", | ||
"server": "uxcore-tools run server", | ||
"build": "uxcore-tools run build", | ||
"test": "uxcore-tools run test", | ||
"coverage": "uxcore-tools run coverage", | ||
"pub": "uxcore-tools run pub", | ||
"dep": "uxcore-tools run dep" | ||
}, | ||
@@ -23,30 +29,9 @@ "bugs": { | ||
"devDependencies": { | ||
"babel": "~6.3.26", | ||
"babel-core": "~6.4.0", | ||
"babel-loader": "~6.2.1", | ||
"babel-plugin-add-module-exports": "~0.1.2", | ||
"babel-preset-es2015-loose": "~7.0.0", | ||
"babel-preset-react": "~6.3.13", | ||
"babel-preset-stage-1": "~6.3.13", | ||
"browser-sync": "~2.11.0", | ||
"colors": "^1.1.2", | ||
"console-polyfill": "~0.2.1", | ||
"es3ify-loader": "~0.1.0", | ||
"cross-spawn": "^2.1.5", | ||
"es5-shim": "~4.1.10", | ||
"gulp": "~3.9.0", | ||
"gulp-concat": "~2.6.0", | ||
"gulp-just-replace": "~1.0.2", | ||
"gulp-less": "~3.0.3", | ||
"gulp-es3ify": "0.0.0", | ||
"gulp-sourcemaps": "~1.5.2", | ||
"gulp-babel": "~6.1.1", | ||
"html-wiring": "~1.2.0", | ||
"inquirer": "^0.12.0", | ||
"webpack": "^1.10.5", | ||
"react": "~0.14.0", | ||
"react-dom": "~0.14.0", | ||
"git-rev": "~0.2.1", | ||
"kuma-base": "~1.0.1", | ||
"uxcore-kuma": "~2.0.0" | ||
"console-polyfill": "^0.2.2", | ||
"es5-shim": "^4.5.8", | ||
"kuma-base": "1.x", | ||
"react": "15.x", | ||
"react-dom": "15.x", | ||
"uxcore-kuma": "2.x", | ||
"uxcore-tools": "0.2.x" | ||
}, | ||
@@ -53,0 +38,0 @@ "dependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
7
1
9438
16
111
1