@stylelint/postcss-css-in-js
Advanced tools
Comparing version 0.37.3 to 0.38.0
@@ -162,2 +162,13 @@ 'use strict'; | ||
// avoid conflicting with the legacy decorators plugin | ||
if (opts.plugins && opts.plugins.some((p) => p.key === 'proposal-decorators')) { | ||
const index = opts.parserOpts.plugins.findIndex( | ||
(p) => Array.isArray(p) && p[0] === 'decorators', | ||
); | ||
if (index > -1) { | ||
opts.parserOpts.plugins.splice(index, 1); | ||
} | ||
} | ||
return opts; | ||
@@ -164,0 +175,0 @@ } |
@@ -29,6 +29,2 @@ 'use strict'; | ||
if (prop === 'float') { | ||
prop = 'cssFloat'; | ||
} | ||
let string = prop; | ||
@@ -35,0 +31,0 @@ |
{ | ||
"name": "@stylelint/postcss-css-in-js", | ||
"version": "0.37.3", | ||
"version": "0.38.0", | ||
"description": "PostCSS syntax for parsing CSS in JS literals", | ||
@@ -78,2 +78,3 @@ "keywords": [ | ||
"devDependencies": { | ||
"@babel/plugin-proposal-decorators": "^7.17.9", | ||
"@stylelint/prettier-config": "^2.0.0", | ||
@@ -80,0 +81,0 @@ "@stylelint/remark-preset": "^2.0.0", |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
40497
1242
0
22