New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

styled-token

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

styled-token - npm Package Compare versions

Comparing version 1.0.0-1 to 1.0.0-2

7

lib/index.esm.js

@@ -70,7 +70,4 @@ function _typeof(obj) {

for (var j = 0; j < properties.length && typeof currentValue !== 'undefined'; j += 1) {
var property = properties[j]; // Skip empty string properties
if (property) {
currentValue = currentValue[property];
}
var property = properties[j];
currentValue = currentValue[property];
} // Set outer value to the first defined value

@@ -77,0 +74,0 @@

@@ -72,7 +72,4 @@ 'use strict';

for (var j = 0; j < properties.length && typeof currentValue !== 'undefined'; j += 1) {
var property = properties[j]; // Skip empty string properties
if (property) {
currentValue = currentValue[property];
}
var property = properties[j];
currentValue = currentValue[property];
} // Set outer value to the first defined value

@@ -79,0 +76,0 @@

{
"name": "styled-token",
"version": "1.0.0-1",
"version": "1.0.0-2",
"description": "A helper function for accessing token values from a styled-components theme",

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

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