Socket
Socket
Sign inDemoInstall

styled-jsx

Package Overview
Dependencies
Maintainers
3
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

styled-jsx - npm Package Compare versions

Comparing version 5.0.7 to 5.1.0

8

dist/index/index.js

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

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