New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

uxcore-crumb

Package Overview
Dependencies
Maintainers
3
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uxcore-crumb - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

.eslintrc.json

20

build/Crumb.js
'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 _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { 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 +11,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); }

@@ -14,3 +18,3 @@ /**

*
* Copyright 2014-2015, Uxcore Team, Alinw.
* Copyright 2014-2017, Uxcore Team, Alinw.
* All rights reserved.

@@ -22,3 +26,2 @@ */

var React = require('react');
var ReactDOM = require('react-dom');

@@ -28,6 +31,6 @@ var Crumb = function (_React$Component) {

function Crumb(props) {
function Crumb() {
_classCallCheck(this, Crumb);
return _possibleConstructorReturn(this, _React$Component.call(this, props));
return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));
}

@@ -42,3 +45,5 @@

'div',
{ className: classnames((_classnames = {}, _classnames[me.props.prefixCls] = true, _classnames[me.props.className] = !!me.props.className, _classnames)) },
{
className: classnames((_classnames = {}, _defineProperty(_classnames, me.props.prefixCls, true), _defineProperty(_classnames, me.props.className, !!me.props.className), _classnames))
},
me.props.children

@@ -52,3 +57,4 @@ );

Crumb.defaultProps = {
prefixCls: 'kuma-uxcrumbs'
prefixCls: 'kuma-uxcrumbs',
className: ''
};

@@ -55,0 +61,0 @@

@@ -7,3 +7,3 @@ 'use strict';

*
* Copyright 2014-2015, Uxcore Team, Alinw.
* Copyright 2014-2017, Uxcore Team, Alinw.
* All rights reserved.

@@ -10,0 +10,0 @@ */

HISTORY
---
## 0.2.2
* `CHANGED` new style
## 0.2.1
`NEW` add visual engine support
`CHANGED` CrumbItem depends on `uxcore-crumb-item`
* `NEW` add visual engine support
* `CHANGED` CrumbItem depends on `uxcore-crumb-item`
## 0.2.0
`CHANGED` apply new style
* `CHANGED` apply new style
## 0.1.1
`CHANGED` update scaffold
* `CHANGED` update scaffold
{
"name": "uxcore-crumb",
"version": "0.2.1",
"version": "0.2.2",
"description": "crumb-uxcore component for uxcore.",

@@ -9,3 +9,15 @@ "repository": "https://github.com/uxcore/uxcore-crumb.git",

"scripts": {
"dev": "gulp server"
"start": "uxcore-tools run start",
"server": "uxcore-tools run server",
"lint": "uxcore-tools run lint",
"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",
"tnpm-dep": "uxcore-tools run tnpm-dep",
"chrome": "uxcore-tools run chrome",
"browsers": "uxcore-tools run browsers",
"saucelabs": "uxcore-tools run saucelabs",
"update": "uxcore-tools run update"
},

@@ -23,31 +35,14 @@ "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": "~6.3.13",
"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",
"cross-spawn": "^2.1.5",
"es3ify-loader": "~0.1.0",
"es5-shim": "~4.1.10",
"gulp": "~3.9.0",
"gulp-babel": "~6.1.1",
"gulp-concat": "~2.6.0",
"gulp-es3ify": "0.0.0",
"gulp-just-replace": "~1.0.2",
"gulp-less": "~3.0.3",
"gulp-sourcemaps": "~1.5.2",
"html-wiring": "~1.2.0",
"inquirer": "^0.12.0",
"kuma-base": "~1.0.1",
"react": "~0.14.0",
"react-dom": "~0.14.0",
"console-polyfill": "^0.2.2",
"enzyme": "^2.7.1",
"es5-shim": "^4.5.8",
"expect.js": "~0.3.1",
"kuma-base": "1.x",
"react": "0.14.x",
"react-addons-test-utils": "0.14.x",
"react-dom": "0.14.x",
"sinon": "^1.17.7",
"uxcore-crumb-item": "~0.1.3",
"uxcore-kuma": "~2.0.0",
"webpack": "^1.10.5"
"uxcore-kuma": "2.x",
"uxcore-tools": "0.2.x"
},

@@ -54,0 +49,0 @@ "dependencies": {

@@ -5,6 +5,6 @@ /**

*
* Copyright 2014-2015, Uxcore Team, Alinw.
* Copyright 2014-2017, Uxcore Team, Alinw.
* All rights reserved.
*/
module.exports = require('./Crumb');
module.exports = require('./Crumb');

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