@compiled/react
Advanced tools
Comparing version 0.6.10 to 0.6.11
# @compiled/react | ||
## 0.6.11 | ||
### Patch Changes | ||
- ee3363e: Fix HTML characters escapes in style tags on SSR. | ||
## 0.6.10 | ||
@@ -4,0 +10,0 @@ |
@@ -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
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
327314
6474
Updatedcsstype@^3.0.8