Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

emotion-solid

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

emotion-solid - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

26

dist/index.cjs.js

@@ -1195,16 +1195,20 @@ 'use strict';

const ele = web.createComponent(web.Dynamic, web.mergeProps({
component: finalTag
}, newProps, {
get className() {
return className();
},
const ele = (() => {
const _c$ = web.memo(() => !!props.class, true);
ref(r$) {
const _ref$ = ref;
typeof _ref$ === "function" ? _ref$(r$) : ref = r$;
}
return web.createComponent(web.Dynamic, web.mergeProps({
component: finalTag
}, newProps, {
get className() {
return _c$() ? `${className()} ${props.class}` : className();
},
}));
ref(r$) {
const _ref$ = ref;
typeof _ref$ === "function" ? _ref$(r$) : ref = r$;
}
}));
})();
if (!isBrowser && getRules().rules !== undefined) {

@@ -1211,0 +1215,0 @@ const rulesSerialized = getRules();

@@ -1,2 +0,2 @@

import { createComponent, template, Dynamic, mergeProps as mergeProps$1, spread } from 'solid-js/web';
import { createComponent, template, memo, Dynamic, mergeProps as mergeProps$1, spread } from 'solid-js/web';
import { createContext, useContext, createMemo, mergeProps } from 'solid-js';

@@ -1191,16 +1191,20 @@

const ele = createComponent(Dynamic, mergeProps$1({
component: finalTag
}, newProps, {
get className() {
return className();
},
const ele = (() => {
const _c$ = memo(() => !!props.class, true);
ref(r$) {
const _ref$ = ref;
typeof _ref$ === "function" ? _ref$(r$) : ref = r$;
}
return createComponent(Dynamic, mergeProps$1({
component: finalTag
}, newProps, {
get className() {
return _c$() ? `${className()} ${props.class}` : className();
},
}));
ref(r$) {
const _ref$ = ref;
typeof _ref$ === "function" ? _ref$(r$) : ref = r$;
}
}));
})();
if (!isBrowser && getRules().rules !== undefined) {

@@ -1207,0 +1211,0 @@ const rulesSerialized = getRules();

@@ -11,4 +11,5 @@ import * as solid_js from 'solid-js';

as?: string | undefined;
class?: string | undefined;
}>;
export { styled };
{
"name": "emotion-solid",
"version": "1.1.0",
"version": "1.1.1",
"description": "Emotion JS support for Solid JS projects.",

@@ -5,0 +5,0 @@ "repository": "git@github.com:Acidic9/emotion-solid.git",

Sorry, the diff of this file is not supported yet

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