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

emotion

Package Overview
Dependencies
Maintainers
2
Versions
144
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

emotion - npm Package Compare versions

Comparing version 5.1.2 to 5.1.3

2

lib/react.js

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

var name = cls[0].split('-')[1];
var name = typeof cls[0] === 'string' ? cls[0].split('-')[1] : '';
var componentTag = tag.displayName || tag.name || 'Component';

@@ -28,0 +28,0 @@ Styled.displayName = 'styled(' + componentTag + name + ')';

{
"name": "emotion",
"version": "5.1.2",
"version": "5.1.3",
"description": "high performance css-in-js",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -30,3 +30,3 @@ import React from 'react'

const name = cls[0].split('-')[1]
const name = typeof cls[0] === 'string' ? cls[0].split('-')[1] : ''
const componentTag = tag.displayName || tag.name || 'Component'

@@ -33,0 +33,0 @@ Styled.displayName = `styled(${componentTag}${name})`

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