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

babel-plugin-styled-components

Package Overview
Dependencies
Maintainers
3
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-styled-components - npm Package Compare versions

Comparing version 1.10.4 to 1.10.5-gatsby

2

lib/utils/detectors.js

@@ -20,3 +20,3 @@ "use strict";

if (!bypassCache && localNameCache[cacheKey]) {
if (!bypassCache && cacheKey in localNameCache) {
return localNameCache[cacheKey];

@@ -23,0 +23,0 @@ }

@@ -38,3 +38,3 @@ "use strict";

if (!importName || !bindings[importName.name]) {
if (!importName || !bindings[importName.name] || !bindings[importName]) {
(0, _helperModuleImports.addDefault)(path, 'styled-components', {

@@ -41,0 +41,0 @@ nameHint: 'styled'

{
"version": "1.10.4",
"version": "1.10.5-gatsby",
"name": "babel-plugin-styled-components",

@@ -4,0 +4,0 @@ "description": "Improve the debugging experience and add server-side rendering support to styled-components",

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