css-animation
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -1,3 +0,2 @@ | ||
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; | ||
import _typeof from 'babel-runtime/helpers/typeof'; | ||
import Event from './Event'; | ||
@@ -174,2 +173,4 @@ import classes from 'component-classes'; | ||
export { isCssAnimationSupported }; | ||
export default cssAnimation; |
@@ -6,5 +6,8 @@ 'use strict'; | ||
}); | ||
exports.isCssAnimationSupported = undefined; | ||
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; | ||
var _typeof2 = require('babel-runtime/helpers/typeof'); | ||
var _typeof3 = _interopRequireDefault(_typeof2); | ||
var _Event = require('./Event'); | ||
@@ -64,3 +67,3 @@ | ||
var cssAnimation = function cssAnimation(node, transitionName, endCallback) { | ||
var nameIsObj = (typeof transitionName === 'undefined' ? 'undefined' : _typeof(transitionName)) === 'object'; | ||
var nameIsObj = (typeof transitionName === 'undefined' ? 'undefined' : (0, _typeof3['default'])(transitionName)) === 'object'; | ||
var className = nameIsObj ? transitionName.name : transitionName; | ||
@@ -189,3 +192,3 @@ var activeClassName = nameIsObj ? transitionName.active : transitionName + '-active'; | ||
exports['default'] = cssAnimation; | ||
module.exports = exports['default']; | ||
exports.isCssAnimationSupported = isCssAnimationSupported; | ||
exports['default'] = cssAnimation; |
{ | ||
"name": "css-animation", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "css-animation", | ||
@@ -25,9 +25,16 @@ "keywords": [ | ||
"config": { | ||
"port": 9001 | ||
"port": 9001, | ||
"entry": { | ||
"css-animation": [ | ||
"./src/index.js" | ||
] | ||
} | ||
}, | ||
"scripts": { | ||
"dist": "rc-tools run dist --babel-runtime", | ||
"build": "rc-tools run build", | ||
"gh-pages": "rc-tools run gh-pages", | ||
"start": "rc-tools run server", | ||
"pub": "rc-tools run pub", | ||
"pub": "rc-tools run pub --babel-runtime", | ||
"compile": "rc-tools run compile --babel-runtime", | ||
"lint": "rc-tools run lint" | ||
@@ -46,4 +53,5 @@ }, | ||
"dependencies": { | ||
"babel-runtime": "6.x", | ||
"component-classes": "^1.2.5" | ||
} | ||
} |
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
438
18309
2
+ Addedbabel-runtime@6.x
+ Addedbabel-runtime@6.26.0(transitive)
+ Addedcore-js@2.6.12(transitive)
+ Addedregenerator-runtime@0.11.1(transitive)