New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

create-emotion-server

Package Overview
Dependencies
Maintainers
2
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-emotion-server - npm Package Compare versions

Comparing version 9.2.5 to 9.2.6

12

dist/index.js

@@ -23,3 +23,5 @@ 'use strict';

while ((match = RGX.exec(html)) !== null) {
// $FlowFixMe
if (ids[match[1]] === undefined) {
// $FlowFixMe
ids[match[1]] = true;

@@ -77,2 +79,3 @@ }

while ((match = regex.exec(html)) !== null) {
// $FlowFixMe
if (match[0] === '<') {

@@ -83,9 +86,12 @@ if (ids !== '') {

styles = '';
}
} // $FlowFixMe
result += html.substring(lastInsertionPoint, match.index);
result += html.substring(lastInsertionPoint, match.index); // $FlowFixMe
lastInsertionPoint = match.index;
continue;
}
} // $FlowFixMe
var _id = match[1];

@@ -92,0 +98,0 @@ var _style = inserted[_id];

{
"name": "create-emotion-server",
"version": "9.2.5",
"version": "9.2.6",
"description": "SSR and style extraction tooling for emotion, The Next Generation of CSS-in-JS.",

@@ -23,4 +23,4 @@ "main": "dist/index.js",

"dtslint": "^0.3.0",
"emotion": "^9.2.5",
"react-emotion": "^9.2.5"
"emotion": "^9.2.6",
"react-emotion": "^9.2.6"
},

@@ -27,0 +27,0 @@ "author": "Kye Hohenberger",

@@ -13,3 +13,5 @@ // @flow

while ((match = RGX.exec(html)) !== null) {
// $FlowFixMe
if (ids[match[1]] === undefined) {
// $FlowFixMe
ids[match[1]] = true

@@ -16,0 +18,0 @@ }

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

while ((match = regex.exec(html)) !== null) {
// $FlowFixMe
if (match[0] === '<') {

@@ -55,7 +56,9 @@ if (ids !== '') {

}
// $FlowFixMe
result += html.substring(lastInsertionPoint, match.index)
// $FlowFixMe
lastInsertionPoint = match.index
continue
}
// $FlowFixMe
const id = match[1]

@@ -62,0 +65,0 @@ const style = inserted[id]

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