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.6.0 to 0.7.0

56

dist/index.js

@@ -1,21 +0,20 @@

var h = Object.defineProperty;
var b = (s, o, r) => o in s ? h(s, o, { enumerable: !0, configurable: !0, writable: !0, value: r }) : s[o] = r;
var n = (s, o, r) => (b(s, typeof o != "symbol" ? o + "" : o, r), r);
import * as f from "@dlightjs/dlight";
import { View as m } from "@dlightjs/dlight";
import { css as $ } from "@emotion/css";
var b = Object.defineProperty;
var h = (s, e, o) => e in s ? b(s, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : s[e] = o;
var l = (s, e, o) => (h(s, typeof e != "symbol" ? e + "" : e, o), o);
import f, { View as m } from "@dlightjs/dlight";
import { css as y } from "@emotion/css";
import { css as P } from "@emotion/css";
const t = (s) => (o, ...r) => {
const t = (s) => (e, ...o) => {
const c = (p, d) => {
const e = [...new Set(Object.getOwnPropertyNames(d).filter((a) => d[a] === "prop").map((a) => a.replace(/^_\$\$\$/, "")))];
const r = [...new Set(Object.getOwnPropertyNames(d).filter((a) => d[a] === "prop").map((a) => a.replace(/^_\$\$\$/, "")))];
p._$addProp("className", () => {
const a = {};
for (const i of e)
for (const i of r)
a[i] = d[`_$$${i}`];
let l = "";
const u = Math.max(o.length, r.length);
let n = "";
const u = Math.max(e.length, o.length);
for (const i of [...Array(u).keys()])
o[i] && (l += o[i]), r[i] && (typeof r[i] == "function" ? l += r[i](a) : l += r[i]);
return $`${l}`;
}, d, e);
e[i] && (n += e[i]), o[i] && (typeof o[i] == "function" ? n += o[i](a) : n += o[i]);
return y`${n}`;
}, d, r);
};

@@ -25,16 +24,7 @@ return typeof s == "string" ? class extends m {

super(...arguments);
n(this, "_$deps", {
_$content: /* @__PURE__ */ new Map()
});
n(this, "_$forwardProps", !0);
l(this, "_$forwardProps", !0);
// @ts-ignore
n(this, "_$$$_$content", "prop");
n(this, "_$$_$content");
l(this, "_$$$_$content", "prop");
l(this, "_$content");
}
get _$content() {
return this._$$_$content;
}
set _$content(e) {
this._$updateProperty("_$content", e);
}
Afterset() {

@@ -44,6 +34,6 @@ this._$el = this._$el[0];

Body() {
const e = new f.HtmlNode(s);
return e._$addProp("innerText", () => this._$content, this, ["_$content"]), this.forwardProps(e), ((a) => {
const r = new f.HtmlNode(s);
return r._$addProp("innerText", this._$content), this.forwardProps(r), ((a) => {
c(a, this);
})(e), [e];
})(r), [r];
}

@@ -53,9 +43,9 @@ } : class extends m {

super(...arguments);
n(this, "_$forwardProps", !0);
l(this, "_$forwardProps", !0);
}
Body() {
const e = new s();
return this.forwardProps(e), ((a) => {
const r = new s();
return this.forwardProps(r), ((a) => {
c(a, this);
})(e), [e];
})(r), [r];
}

@@ -62,0 +52,0 @@ };

{
"name": "@dlightjs/emotion",
"version": "0.6.0",
"version": "0.7.0",
"type": "module",

@@ -15,8 +15,8 @@ "files": [

"vite-plugin-dts": "^1.7.1",
"vite-plugin-dlight-transpiler": "0.6.0"
"vite-plugin-dlight": "0.7.0"
},
"dependencies": {
"@emotion/css": "^11.10.6",
"@dlightjs/dlight": "0.6.0",
"@dlightjs/types": "0.6.1"
"@dlightjs/dlight": "0.7.0",
"@dlightjs/types": "0.6.1-alpha-3"
},

@@ -23,0 +23,0 @@ "scripts": {

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