babel-plugin-emotion
Advanced tools
Comparing version 10.0.21 to 10.0.22
# babel-plugin-emotion | ||
## 10.0.22 | ||
### Patch Changes | ||
- [`1bb3efe3`](https://github.com/emotion-js/emotion/commit/1bb3efe399ddf0f3332187f3c751fbba9326d02c) [#1554](https://github.com/emotion-js/emotion/pull/1554) Thanks [@Andarist](https://github.com/Andarist)! - Prepend appended label string with semicolon to avoid problems with declaration blocks without a final semicolon | ||
- Updated dependencies [[`4fc5657a`](https://github.com/emotion-js/emotion/commit/4fc5657ac8d0002322321cfbfc254b7196d27387), [`10211951`](https://github.com/emotion-js/emotion/commit/10211951051729b149930a8646de14bae9ae1bbc), [`57a767ea`](https://github.com/emotion-js/emotion/commit/57a767ea3dd18eefbbdc7269cc13128caad65286)]: | ||
- @emotion/serialize@0.11.12 | ||
## 10.0.21 | ||
@@ -4,0 +13,0 @@ |
@@ -498,3 +498,3 @@ 'use strict'; | ||
if (label) { | ||
appendStringToArguments(path, "label:" + label + ";", t); | ||
appendStringToArguments(path, ";label:" + label + ";", t); | ||
} | ||
@@ -501,0 +501,0 @@ } |
@@ -235,3 +235,3 @@ "use strict"; | ||
var label = getLabelFromPath(path, state, t); | ||
label && appendStringToArguments(path, "label:" + label + ";", t); | ||
label && appendStringToArguments(path, ";label:" + label + ";", t); | ||
} | ||
@@ -238,0 +238,0 @@ var isPure = !0; |
@@ -492,3 +492,3 @@ import nodePath from 'path'; | ||
if (label) { | ||
appendStringToArguments(path, "label:" + label + ";", t); | ||
appendStringToArguments(path, ";label:" + label + ";", t); | ||
} | ||
@@ -495,0 +495,0 @@ } |
{ | ||
"name": "babel-plugin-emotion", | ||
"version": "10.0.21", | ||
"version": "10.0.22", | ||
"description": "A recommended babel preprocessing plugin for emotion, The Next Generation of CSS-in-JS.", | ||
@@ -16,3 +16,3 @@ "main": "dist/babel-plugin-emotion.cjs.js", | ||
"@emotion/memoize": "0.7.3", | ||
"@emotion/serialize": "^0.11.11", | ||
"@emotion/serialize": "^0.11.12", | ||
"babel-plugin-macros": "^2.0.0", | ||
@@ -19,0 +19,0 @@ "babel-plugin-syntax-jsx": "^6.18.0", |
@@ -56,3 +56,3 @@ // @flow | ||
if (label) { | ||
appendStringToArguments(path, `label:${label};`, t) | ||
appendStringToArguments(path, `;label:${label};`, t) | ||
} | ||
@@ -59,0 +59,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
142398
Updated@emotion/serialize@^0.11.12