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

solid-js

Package Overview
Dependencies
Maintainers
1
Versions
463
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

solid-js - npm Package Compare versions

Comparing version 1.6.14 to 1.6.15

2

package.json
{
"name": "solid-js",
"description": "A declarative JavaScript library for building user interfaces.",
"version": "1.6.14",
"version": "1.6.15",
"author": "Ryan Carniato",

@@ -6,0 +6,0 @@ "license": "MIT",

@@ -354,13 +354,3 @@ import { createRoot, createRenderEffect, sharedConfig, untrack, enableHydration, createMemo, createSignal, onMount, onCleanup, splitProps, $DEVCOMP } from 'solid-js';

});
if (sharedConfig.registry && !sharedConfig.done) {
sharedConfig.done = true;
document.querySelectorAll("[id^=pl-]").forEach(elem => {
while (elem && elem.nodeType !== 8 && elem.nodeValue !== "pl-" + e) {
let x = elem.nextSibling;
elem.remove();
elem = x;
}
elem && elem.remove();
});
}
if (sharedConfig.registry && !sharedConfig.done) sharedConfig.done = _$HY.done = true;
while (node) {

@@ -465,4 +455,3 @@ const handler = node[key];

if (prev && prev.nodeType === 8) normalized.push(prev);
} else if (prev && prev.nodeType === 3) {
prev.data = value;
} else if (prev && prev.nodeType === 3 && prev.data === value) {
normalized.push(prev);

@@ -469,0 +458,0 @@ } else normalized.push(document.createTextNode(value));

@@ -264,3 +264,3 @@ import { sharedConfig, createRoot, splitProps } from 'solid-js';

const VOID_ELEMENTS = /^(?:area|base|br|col|embed|hr|img|input|keygen|link|menuitem|meta|param|source|track|wbr)$/i;
const REPLACE_SCRIPT = `function $df(e,t,n,o,d){if(n=document.getElementById(e),o=document.getElementById("pl-"+e)){for(;o&&8!==o.nodeType&&o.nodeValue!=="pl-"+e;)d=o.nextSibling,o.remove(),o=d;o.replaceWith(n.content)}n.remove(),_$HY.set(e,t),_$HY.fe(e)}`;
const REPLACE_SCRIPT = `function $df(e,n,t,o,d){if(t=document.getElementById(e),o=document.getElementById("pl-"+e)){for(;o&&8!==o.nodeType&&o.nodeValue!=="pl-"+e;)d=o.nextSibling,o.remove(),o=d;_$HY.done?o.remove():o.replaceWith(t.content)}t.remove(),_$HY.set(e,n),_$HY.fe(e)}`;
function renderToString(code, options = {}) {

@@ -282,5 +282,4 @@ let scripts = "";

let html = createRoot(d => {
const r = resolveSSRNode(escape(code()));
d();
return r;
setTimeout(d);
return resolveSSRNode(escape(code()));
});

@@ -326,3 +325,3 @@ sharedConfig.context.noHydrate = true;

completed = true;
dispose();
setTimeout(dispose);
}

@@ -516,3 +515,3 @@ };

i && (result += " ");
result += key;
result += escape(key);
}

@@ -554,3 +553,3 @@ return result;

let n;
result += `class="${(n = props.class) ? n + " " : ""}${(n = props.className) ? n + " " : ""}${ssrClassList(props.classList)}"`;
result += `class="${escape(((n = props.class) ? n + " " : "") + ((n = props.className) ? n + " " : ""), true) + ssrClassList(props.classList)}"`;
classResolved = true;

@@ -568,3 +567,3 @@ } else if (BooleanAttributes.has(prop)) {

return {
t: result + '/>'
t: result + "/>"
};

@@ -571,0 +570,0 @@ }

@@ -354,13 +354,3 @@ import { createRoot, createRenderEffect, sharedConfig, untrack, enableHydration, createMemo, createSignal, onMount, onCleanup, splitProps, $DEVCOMP } from 'solid-js';

});
if (sharedConfig.registry && !sharedConfig.done) {
sharedConfig.done = true;
document.querySelectorAll("[id^=pl-]").forEach(elem => {
while (elem && elem.nodeType !== 8 && elem.nodeValue !== "pl-" + e) {
let x = elem.nextSibling;
elem.remove();
elem = x;
}
elem && elem.remove();
});
}
if (sharedConfig.registry && !sharedConfig.done) sharedConfig.done = _$HY.done = true;
while (node) {

@@ -465,4 +455,3 @@ const handler = node[key];

if (prev && prev.nodeType === 8) normalized.push(prev);
} else if (prev && prev.nodeType === 3) {
prev.data = value;
} else if (prev && prev.nodeType === 3 && prev.data === value) {
normalized.push(prev);

@@ -469,0 +458,0 @@ } else normalized.push(document.createTextNode(value));

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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