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

@dlightjs/emotion

Package Overview
Dependencies
Maintainers
2
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dlightjs/emotion - npm Package Compare versions

Comparing version 0.8.1 to 0.8.2

66

dist/index.js
var l = Object.defineProperty;
var a = (n, e, o) => e in n ? l(n, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : n[e] = o;
var $ = (n, e, o) => (a(n, typeof e != "symbol" ? e + "" : e, o), o);
import h, { View as f } from "@dlightjs/dlight";
import { css as y } from "@emotion/css";
import { css as N } from "@emotion/css";
const m = (n) => function(e, ...o) {
const i = (c, _) => {
const t = [...new Set(Object.getOwnPropertyNames(_).filter((r) => _[r] === "prop").map((r) => r.replace(/^_\$\$\$/, "")))];
c._$addProp("className", () => {
const r = {};
var h = (r, e, o) => e in r ? l(r, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : r[e] = o;
var c = (r, e, o) => (h(r, typeof e != "symbol" ? e + "" : e, o), o);
import y, { View as f } from "@dlightjs/dlight";
import { css as a } from "@emotion/css";
import { css as O } from "@emotion/css";
const P = (r) => function(e, ...o) {
const d = (i, $) => {
const t = [...new Set(Object.getOwnPropertyNames($).filter((n) => $[n] === "prop").map((n) => n.replace(/^_\$\$\$/, "")))];
i._$addProp("className", () => {
const n = {};
for (const s of t)
r[s] = _[`_$$${s}`];
let d = "";
n[s] = $[`_$$${s}`];
let _ = "";
const p = Math.max(e.length, o.length);
for (const s of [...Array(p).keys()])
e[s] && (d += e[s]), o[s] && (typeof o[s] == "function" ? d += o[s](r) : d += o[s]);
return y`${d}`;
}, _, t);
e[s] && (_ += e[s]), o[s] && (typeof o[s] == "function" ? _ += o[s](n) : _ += o[s]);
return a`${_}`;
}, $, t);
};
return typeof n == "string" ? class extends f {
return typeof r == "string" ? class extends f {
constructor() {
super(...arguments);
$(this, "_$deps", {
c(this, "_$deps", {
_$content: /* @__PURE__ */ new Map()
});
$(this, "_$derivedPairs", {
_$forwardProps: [],
_$content: []
});
$(this, "_$forwardProps", () => !0);
c(this, "_$forwardProps", !0);
// @ts-ignore
$(this, "_$$$_$content", "prop");
$(this, "_$$_$content", () => {
});
c(this, "_$$$_$content", "prop");
c(this, "_$$_$content");
}

@@ -47,5 +42,5 @@ get _$content() {

Body() {
const t = new h.HtmlNode(n);
return t._$addProp("innerText", () => this._$content, this, ["_$content"]), this.forwardProps(t), ((r) => {
i(r, this);
const t = new y.HtmlNode(r);
return t._$addProp("innerText", () => this._$content, this, ["_$content"]), this.forwardProps(t), ((n) => {
d(n, this);
})(t), [t];

@@ -56,11 +51,8 @@ }

super(...arguments);
$(this, "_$derivedPairs", {
_$forwardProps: []
});
$(this, "_$forwardProps", () => !0);
c(this, "_$forwardProps", !0);
}
Body() {
const t = new n();
return this.forwardProps(t), ((r) => {
i(r, this);
const t = new r();
return this.forwardProps(t), ((n) => {
d(n, this);
})(t), [t];

@@ -71,4 +63,4 @@ }

export {
N as css,
m as styled
O as css,
P as styled
};
{
"name": "@dlightjs/emotion",
"version": "0.8.1",
"version": "0.8.2",
"type": "module",

@@ -19,3 +19,3 @@ "files": [

"@emotion/css": "^11.10.6",
"@dlightjs/dlight": "0.8.1",
"@dlightjs/dlight": "0.8.2",
"@dlightjs/types": "0.8.0"

@@ -22,0 +22,0 @@ },

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