You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

styled-svelte

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

styled-svelte - npm Package Compare versions

Comparing version

to
1.1.2

3

lib/parseCss.js

@@ -11,2 +11,5 @@ export function parseCssFromTemplateStrings(args) {

}
else if (typeof args[i] === 'string') {
result.push(args[0][i - 1], args[i]);
}
else {

@@ -13,0 +16,0 @@ result.push(args[0][i]);

2

package.json
{
"name": "styled-svelte",
"version": "1.1.1",
"version": "1.1.2",
"description": "Svelte styled components package",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -12,2 +12,4 @@ export function parseCssFromTemplateStrings<T = any>(args: any) {

result.push(args[0][i - 1], (args[i] as (props: T) => any)(props));
} else if (typeof args[i] === 'string') {
result.push(args[0][i - 1], args[i]);
} else {

@@ -14,0 +16,0 @@ result.push(args[0][i]);

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet