babel-plugin-styled-components
Advanced tools
Comparing version 1.6.2 to 1.6.3
@@ -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; |
{ | ||
"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": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2
31823
634
- Removedsemver@^5.5.1
- Removedsemver@5.7.2(transitive)