Socket
Socket
Sign inDemoInstall

react-interval

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-interval - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

4

lib/ReactInterval.js

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

var _reactAddonsPureRenderMixin = require('react-addons-pure-render-mixin');
var _reactLibReactComponentWithPureRenderMixin = require('react/lib/ReactComponentWithPureRenderMixin');

@@ -48,3 +48,3 @@ var ReactInterval = _react2['default'].createClass({

shouldComponentUpdate: _reactAddonsPureRenderMixin.shouldComponentUpdate,
shouldComponentUpdate: _reactLibReactComponentWithPureRenderMixin.shouldComponentUpdate,

@@ -51,0 +51,0 @@ componentWillUnmount: function componentWillUnmount() {

{
"name": "react-interval",
"version": "1.2.0",
"version": "1.2.1",
"description": "Safe React wrapper for setInterval",

@@ -85,3 +85,2 @@ "main": "lib/index.js",

"react": "^0.14.0",
"react-addons-pure-render-mixin": "^0.14.0",
"react-dom": "^0.14.0",

@@ -88,0 +87,0 @@ "react-hot-loader": "^1.3.0",

import React from 'react';
import {shouldComponentUpdate} from 'react-addons-pure-render-mixin';
import {shouldComponentUpdate} from 'react/lib/ReactComponentWithPureRenderMixin';

@@ -4,0 +4,0 @@

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