Socket
Socket
Sign inDemoInstall

babel-plugin-emotion-rename

Package Overview
Dependencies
17
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0-beta.25 to 1.0.0-beta.26

10

lib/index.js

@@ -148,2 +148,3 @@ "use strict";

if (!hasEmotionImport) {
path.stop();
return;

@@ -168,2 +169,3 @@ }

if (!hasEmotionImport) {
path.stop();
return;

@@ -202,2 +204,3 @@ }

if (!hasEmotionImport) {
path.stop();
return;

@@ -324,2 +327,9 @@ }

if (!hasEmotionImport) {
/**
* Prevent late require('emotion') call being stopped before marked as hasEmotionImport.
* We cannot stop until the last require(...) call.
*/
if (!isRequire) {
path.stop();
}
return;

@@ -326,0 +336,0 @@ }

2

package.json
{
"name": "babel-plugin-emotion-rename",
"version": "1.0.0-beta.25",
"version": "1.0.0-beta.26",
"description": "Babel plugin to rename old Emotion 9 import to new Emotion 10+ import",

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

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