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.6.2 to 1.6.3

8

lib/utils/options.js

@@ -8,8 +8,2 @@ "use strict";

var _semver = _interopRequireDefault(require("semver"));
var _package = _interopRequireDefault(require("styled-components/package.json"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function getOption(_ref, name) {

@@ -58,5 +52,5 @@ var opts = _ref.opts;

var useNoTags = function useNoTags() {
return _semver.default.satisfies(_package.default.version, '>= 4');
return parseInt(require('styled-components/package.json').version.split('.')[0], 10) >= 4;
};
exports.useNoTags = useNoTags;

5

package.json
{
"version": "1.6.2",
"version": "1.6.3",
"name": "babel-plugin-styled-components",

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

"dependencies": {
"lodash": "^4.17.10",
"semver": "^5.5.1"
"lodash": "^4.17.10"
},

@@ -33,0 +32,0 @@ "resolutions": {

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