Socket
Socket
Sign inDemoInstall

react-uicomp

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-uicomp - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

9

dist/index.js

@@ -700,4 +700,2 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }

var _prevValue = React.useRef(_initialValue);
var _ref = config !== undefined && config,

@@ -739,9 +737,2 @@ onAnimationEnd = _ref.onAnimationEnd,

React.useEffect(function () {
if (initialValue !== _prevValue.current) {
_update(_initialValue);
_prevValue.current = _initialValue;
}
}, [initialValue]);
var _targetObject = {

@@ -748,0 +739,0 @@ value: props.value

11

dist/index.modern.js

@@ -1,2 +0,2 @@

import React, { useContext, useMemo, useRef, useEffect, useState } from 'react';
import React, { useContext, useMemo, useRef, useState, useEffect } from 'react';
import { Route, Redirect, HashRouter, BrowserRouter, Switch, NavLink, useHistory, useLocation, useParams } from 'react-router-dom';

@@ -697,4 +697,2 @@ import { useTransition, animated, interpolate as interpolate$1, useSpring, config } from 'react-spring';

var _prevValue = useRef(_initialValue);
var _ref = config$1 !== undefined && config$1,

@@ -736,9 +734,2 @@ onAnimationEnd = _ref.onAnimationEnd,

useEffect(function () {
if (initialValue !== _prevValue.current) {
_update(_initialValue);
_prevValue.current = _initialValue;
}
}, [initialValue]);
var _targetObject = {

@@ -745,0 +736,0 @@ value: props.value

2

package.json
{
"name": "react-uicomp",
"version": "1.1.1",
"version": "1.1.2",
"description": "Utility library for creating complex routing with beautiful animated ui components.",

@@ -5,0 +5,0 @@ "author": "dipeshrai123",

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