styled-jsx
Advanced tools
Comparing version 5.0.7 to 5.1.0
@@ -0,1 +1,2 @@ | ||
require('client-only'); | ||
var React = require('react'); | ||
@@ -387,3 +388,3 @@ | ||
}) : []; | ||
var cssRules1 = this._sheet.cssRules(); | ||
var cssRules = this._sheet.cssRules(); | ||
return fromServer.concat(Object.keys(this._indices).map(function(styleId) { | ||
@@ -393,3 +394,3 @@ return [ | ||
_this._indices[styleId].map(function(index) { | ||
return cssRules1[index].cssText; | ||
return cssRules[index].cssText; | ||
}).join(_this._optimizeForSpeed ? "" : "\n") | ||
@@ -488,3 +489,4 @@ ]; | ||
return null; | ||
}JSXStyle.dynamic = function(info) { | ||
} | ||
JSXStyle.dynamic = function(info) { | ||
return info.map(function(tagInfo) { | ||
@@ -491,0 +493,0 @@ var baseId = tagInfo[0]; |
{ | ||
"name": "styled-jsx", | ||
"version": "5.0.7", | ||
"version": "5.1.0", | ||
"license": "MIT", | ||
@@ -82,3 +82,3 @@ "repository": "vercel/styled-jsx", | ||
"babel-plugin-macros": "2.8.0", | ||
"bunchee": "2.0.4", | ||
"bunchee": "2.1.5", | ||
"convert-source-map": "1.7.0", | ||
@@ -126,3 +126,6 @@ "eslint": "7.32.0", | ||
"css" | ||
] | ||
], | ||
"dependencies": { | ||
"client-only": "0.0.1" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
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
1009335
27744
2
+ Addedclient-only@0.0.1
+ Addedclient-only@0.0.1(transitive)