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

react-with-animation

Package Overview
Dependencies
Maintainers
3
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-with-animation - npm Package Compare versions

Comparing version 1.0.12 to 1.0.13

4

dist/index.js
import PropTypes from 'prop-types';
import React, { Component } from 'react';
import React from 'react';

@@ -18,3 +18,3 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };

function withAnimation(WrappedComponent) {
class ComponentWithAnimation extends Component {
class ComponentWithAnimation extends React.Component {
constructor() {

@@ -21,0 +21,0 @@ super();

{
"name": "react-with-animation",
"version": "1.0.12",
"version": "1.0.13",
"description": "A higher-order-component (HOC) to manage short-lived CSS animations in react",
"main": "dist/index.js",
"scripts": {
"build": "rollup -c"
"build": "rollup -c",
"prepublish": "npm run build"
},

@@ -9,0 +10,0 @@ "repository": {

@@ -6,4 +6,4 @@ import babel from 'rollup-plugin-babel';

input: 'src/withAnimation.js',
external: ['ms'],
targets: [{ dest: pkg.main, format: 'es' }],
external: ['react', 'prop-types'],
output: [{ file: pkg.main, format: 'es' }],
plugins: [

@@ -10,0 +10,0 @@ babel({

import PropTypes from 'prop-types';
import React, { Component } from 'react';
import React from 'react';

@@ -16,3 +16,3 @@ const propTypes = {

export default function withAnimation(WrappedComponent) {
class ComponentWithAnimation extends Component {
class ComponentWithAnimation extends React.Component {
constructor() {

@@ -19,0 +19,0 @@ super();

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