Comparing version 0.0.7 to 0.0.8
{ | ||
"name": "@suid/css", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "CSS render in JS.", | ||
@@ -31,7 +31,9 @@ "keywords": [ | ||
"license": "MIT", | ||
"author": { | ||
"name": "Juanra GM", | ||
"email": "juanrgm724@gmail.com", | ||
"url": "https://github.com/juanrgm" | ||
}, | ||
"contributors": [ | ||
{ | ||
"name": "Juanra GM", | ||
"email": "juanrgm724@gmail.com", | ||
"url": "https://github.com/juanrgm" | ||
} | ||
], | ||
"files": [ | ||
@@ -43,6 +45,5 @@ "**/*.js", | ||
"dependencies": { | ||
"@suid/utils": "0.0.7", | ||
"csstype": "^3.0.11" | ||
"@suid/utils": "0.0.8" | ||
}, | ||
"readme": "# @suid/css\n\n![GitHub Workflow Status](https://img.shields.io/github/workflow/status/swordev/suid/CI) ![npm (scoped)](https://img.shields.io/npm/v/@suid/css?label=@suid/css)\n\n## Installation\n\n```sh\nnpm install @suid/css\n```\n\n## Documentation\n\nhttps://suid.io\n\n## License\n\nDistributed under the MIT License. See LICENSE for more information.\n" | ||
} |
@@ -6,3 +6,3 @@ import { isGlobalSelector, isKeyframes, isMediaQuery, isSelector, isVar, } from "./assert"; | ||
v = v.trim(); | ||
return v.startsWith("&") ? v : `& ${v}`; | ||
return v.includes("&") ? v : `& ${v}`; | ||
}); | ||
@@ -9,0 +9,0 @@ return render(propValue, (selectors.length ? selectors : [""]).flatMap((selector) => subselectors.map((v) => v.replace(/&/g, selector).trim())), { |
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
1
13352
+ Added@suid/types@0.0.7(transitive)
+ Added@suid/utils@0.0.8(transitive)
- Removedcsstype@^3.0.11
- Removed@suid/types@0.0.6(transitive)
- Removed@suid/utils@0.0.7(transitive)
Updated@suid/utils@0.0.8