Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@compiled/react

Package Overview
Dependencies
Maintainers
1
Versions
143
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@compiled/react - npm Package Compare versions

Comparing version 0.6.10 to 0.6.11

6

CHANGELOG.md
# @compiled/react
## 0.6.11
### Patch Changes
- ee3363e: Fix HTML characters escapes in style tags on SSR.
## 0.6.10

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

4

dist/browser/runtime/style.js

@@ -30,3 +30,5 @@ import React from 'react';

}
return (React.createElement("style", { "data-cmpld": true, nonce: props.nonce }, styleBucketOrdering.map(function (bucket) { return bucketedSheets_1[bucket]; }).join('')));
return (React.createElement("style", { "data-cmpld": true, nonce: props.nonce, dangerouslySetInnerHTML: {
__html: styleBucketOrdering.map(function (bucket) { return bucketedSheets_1[bucket]; }).join(''),
} }));
}

@@ -33,0 +35,0 @@ else {

@@ -54,3 +54,5 @@ "use strict";

}
return (react_1.default.createElement("style", { "data-cmpld": true, nonce: props.nonce }, sheet_1.styleBucketOrdering.map(function (bucket) { return bucketedSheets_1[bucket]; }).join('')));
return (react_1.default.createElement("style", { "data-cmpld": true, nonce: props.nonce, dangerouslySetInnerHTML: {
__html: sheet_1.styleBucketOrdering.map(function (bucket) { return bucketedSheets_1[bucket]; }).join(''),
} }));
}

@@ -57,0 +59,0 @@ else {

@@ -30,3 +30,5 @@ import React from 'react';

}
return (React.createElement("style", { "data-cmpld": true, nonce: props.nonce }, styleBucketOrdering.map(function (bucket) { return bucketedSheets_1[bucket]; }).join('')));
return (React.createElement("style", { "data-cmpld": true, nonce: props.nonce, dangerouslySetInnerHTML: {
__html: styleBucketOrdering.map(function (bucket) { return bucketedSheets_1[bucket]; }).join(''),
} }));
}

@@ -33,0 +35,0 @@ else {

{
"name": "@compiled/react",
"version": "0.6.10",
"version": "0.6.11",
"description": "A familiar and performant compile time CSS-in-JS library for React.",

@@ -48,3 +48,3 @@ "author": "Michael Dougall",

"dependencies": {
"csstype": "^3.0.7"
"csstype": "^3.0.8"
},

@@ -55,8 +55,8 @@ "peerDependencies": {

"devDependencies": {
"@testing-library/react": "^11.2.5",
"@testing-library/react": "^11.2.6",
"@types/jscodeshift": "^0.11.0",
"jscodeshift": "^0.11.0",
"react": "^17.0.1",
"react-dom": "^17.0.1"
"jscodeshift": "^0.12.0",
"react": "^17.0.2",
"react-dom": "^17.0.2"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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