Socket
Socket
Sign inDemoInstall

@emotion/sheet

Package Overview
Dependencies
Maintainers
3
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@emotion/sheet - npm Package Compare versions

Comparing version 1.0.0-next.4 to 1.0.0-next.5

6

CHANGELOG.md
# @emotion/sheet
## 1.0.0-next.5
### Patch Changes
- [`42df3f3b`](https://github.com/emotion-js/emotion/commit/42df3f3bc01526eed61cedba106d86b9e3807f9d) [#2028](https://github.com/emotion-js/emotion/pull/2028) Thanks [@Andarist](https://github.com/Andarist)! - Generated style elements got `data-s="1"` attribute so `@emotion/cache` can recognize them as being already owned by another Emotion copy to avoid messing up existing style elements when initializing a new copy.
## 1.0.0-next.4

@@ -4,0 +10,0 @@

1

dist/sheet.browser.cjs.js

@@ -54,2 +54,3 @@ 'use strict';

tag.appendChild(document.createTextNode(''));
tag.setAttribute('data-s', '');
return tag;

@@ -56,0 +57,0 @@ }

@@ -50,2 +50,3 @@ /*

tag.appendChild(document.createTextNode(''));
tag.setAttribute('data-s', '');
return tag;

@@ -52,0 +53,0 @@ }

@@ -54,2 +54,3 @@ 'use strict';

tag.appendChild(document.createTextNode(''));
tag.setAttribute('data-s', '');
return tag;

@@ -56,0 +57,0 @@ }

2

dist/sheet.cjs.prod.js

@@ -11,3 +11,3 @@ "use strict";

return tag.setAttribute("data-emotion", options.key), void 0 !== options.nonce && tag.setAttribute("nonce", options.nonce),
tag.appendChild(document.createTextNode("")), tag;
tag.appendChild(document.createTextNode("")), tag.setAttribute("data-s", ""), tag;
}

@@ -14,0 +14,0 @@

@@ -50,2 +50,3 @@ /*

tag.appendChild(document.createTextNode(''));
tag.setAttribute('data-s', '');
return tag;

@@ -52,0 +53,0 @@ }

{
"name": "@emotion/sheet",
"version": "1.0.0-next.4",
"version": "1.0.0-next.5",
"description": "emotion's stylesheet",

@@ -5,0 +5,0 @@ "main": "dist/sheet.cjs.js",

@@ -60,2 +60,3 @@ // @flow

tag.appendChild(document.createTextNode(''))
tag.setAttribute('data-s', '')
return tag

@@ -62,0 +63,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