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

css-animation

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

css-animation - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

5

es/index.js

@@ -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;

11

lib/index.js

@@ -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"
}
}
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