Socket
Socket
Sign inDemoInstall

aesthetic-react

Package Overview
Dependencies
19
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.1 to 2.1.2

6

esm/index.js
import React, { useRef, useContext, useEffect, useLayoutEffect } from 'react';
import getDirection from 'direction';
import aesthetic from 'aesthetic';
import uuid from 'uuid/v4';
import { v4 } from 'uuid';
import hoistNonReactStatics from 'hoist-non-react-statics';

@@ -154,3 +154,3 @@

} else {
styleName = customName || uuid();
styleName = customName || v4();
ref.current = styleName;

@@ -209,3 +209,3 @@

var baseName = WrappedComponent.displayName || WrappedComponent.name;
var styleName = baseName + "-" + uuid();
var styleName = baseName + "-" + v4();
aesthetic.registerStyleSheet(styleName, styleSheet, extendFrom);

@@ -212,0 +212,0 @@ var WithStyles = React.memo(function WithStyles(_ref) {

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

var aesthetic = _interopDefault(require('aesthetic'));
var uuid = _interopDefault(require('uuid/v4'));
var uuid = require('uuid');
var hoistNonReactStatics = _interopDefault(require('hoist-non-react-statics'));

@@ -162,3 +162,3 @@

} else {
styleName = customName || uuid();
styleName = customName || uuid.v4();
ref.current = styleName;

@@ -217,3 +217,3 @@

var baseName = WrappedComponent.displayName || WrappedComponent.name;
var styleName = baseName + "-" + uuid();
var styleName = baseName + "-" + uuid.v4();
aesthetic.registerStyleSheet(styleName, styleSheet, extendFrom);

@@ -220,0 +220,0 @@ var WithStyles = React__default.memo(function WithStyles(_ref) {

{
"name": "aesthetic-react",
"version": "2.1.1",
"version": "2.1.2",
"description": "React hooks, composers, and more for styling components with Aesthetic.",

@@ -28,3 +28,3 @@ "keywords": [

"prop-types": "^15.7.2",
"uuid": "^3.4.0"
"uuid": "^7.0.1"
},

@@ -36,4 +36,4 @@ "peerDependencies": {

"devDependencies": {
"react": "^16.12.0",
"react-dom": "^16.12.0"
"react": "^16.13.0",
"react-dom": "^16.13.0"
},

@@ -44,3 +44,3 @@ "funding": {

},
"gitHead": "464508115172da900d3d14ea1a5b255c982649f8"
"gitHead": "49404fc03a8f67e9a23b5151701f79f170d4207b"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc