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

styled-tools

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

styled-tools - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

7

dist/index.js

@@ -16,2 +16,6 @@ 'use strict';

var _values = require('lodash/values');
var _values2 = _interopRequireDefault(_values);
var _difference = require('lodash/difference');

@@ -46,3 +50,2 @@

*/
const ifProp = exports.ifProp = (needle, pass, fail) => (props = {}) => {

@@ -54,3 +57,3 @@ let result;

const needleKeys = Object.keys(needle);
const needleValues = Object.values(needle);
const needleValues = (0, _values2.default)(needle);
result = !(0, _difference2.default)((0, _at2.default)(props, needleKeys), needleValues).length;

@@ -57,0 +60,0 @@ } else {

{
"name": "styled-tools",
"version": "0.1.1",
"version": "0.1.2",
"description": "Utilities for styled-components",

@@ -5,0 +5,0 @@ "license": "MIT",

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