Socket
Socket
Sign inDemoInstall

babel-plugin-emotion

Package Overview
Dependencies
Maintainers
3
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-emotion - npm Package Compare versions

Comparing version 10.0.21 to 10.0.22

9

CHANGELOG.md
# 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 @@

2

dist/babel-plugin-emotion.cjs.dev.js

@@ -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 @@ }

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