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.7.1 to 1.7.2

2

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

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

@@ -60,3 +60,3 @@ import { $PROXY, DEV as DEV$1, $TRACK, getListener, batch, createSignal } from 'solid-js';

if (!nodes) Object.defineProperty(target, $NODE, {
value: nodes = {}
value: nodes = Object.create(null)
});

@@ -103,4 +103,4 @@ return nodes;

const nodes = getDataNodes(target);
const tracked = nodes.hasOwnProperty(property);
let value = tracked ? nodes[property]() : target[property];
const tracked = nodes[property];
let value = tracked ? tracked() : target[property];
if (property === $NODE || property === "__proto__") return value;

@@ -242,4 +242,4 @@ if (!tracked) {

const nodes = getDataNodes(target);
const tracked = nodes.hasOwnProperty(property);
let value = tracked ? nodes[property]() : target[property];
const tracked = nodes[property];
let value = tracked ? tracked() : target[property];
if (property === $NODE || property === "__proto__") return value;

@@ -425,9 +425,8 @@ if (!tracked) {

let DEV;
DEV = {
const DEV = {
$NODE,
isWrappable,
hooks: DevHooks
};
} ;
export { $RAW, DEV, createMutable, createStore, modifyMutable, produce, reconcile, unwrap };

@@ -57,3 +57,3 @@ import { $PROXY, $TRACK, getListener, batch, createSignal } from 'solid-js';

if (!nodes) Object.defineProperty(target, $NODE, {
value: nodes = {}
value: nodes = Object.create(null)
});

@@ -100,4 +100,4 @@ return nodes;

const nodes = getDataNodes(target);
const tracked = nodes.hasOwnProperty(property);
let value = tracked ? nodes[property]() : target[property];
const tracked = nodes[property];
let value = tracked ? tracked() : target[property];
if (property === $NODE || property === "__proto__") return value;

@@ -231,4 +231,4 @@ if (!tracked) {

const nodes = getDataNodes(target);
const tracked = nodes.hasOwnProperty(property);
let value = tracked ? nodes[property]() : target[property];
const tracked = nodes[property];
let value = tracked ? tracked() : target[property];
if (property === $NODE || property === "__proto__") return value;

@@ -409,4 +409,4 @@ if (!tracked) {

let DEV;
const DEV = undefined;
export { $RAW, DEV, createMutable, createStore, modifyMutable, produce, reconcile, unwrap };

@@ -5,8 +5,10 @@ export { $RAW, createStore, unwrap } from "./store.js";

export * from "./modifiers.js";
import { $NODE, isWrappable, DevHooks } from "./store.js";
declare let DEV: {
$NODE: typeof $NODE;
isWrappable: typeof isWrappable;
hooks: typeof DevHooks;
import { $NODE, isWrappable } from "./store.js";
declare const DEV: {
readonly $NODE: typeof $NODE;
readonly isWrappable: typeof isWrappable;
readonly hooks: {
onStoreNodeUpdate: import("./store.js").OnStoreNodeUpdate | null;
};
} | undefined;
export { DEV };

@@ -9,3 +9,3 @@ export declare const $RAW: unique symbol, $NODE: unique symbol;

};
type DataNodes = Record<PropertyKey, DataNode>;
type DataNodes = Record<PropertyKey, DataNode | undefined>;
export type OnStoreNodeUpdate = (state: StoreNode, property: PropertyKey, value: StoreNode | NotWrappable, prev: StoreNode | NotWrappable) => void;

@@ -12,0 +12,0 @@ export interface StoreNode {

@@ -10,5 +10,8 @@ export { $DEVCOMP, $PROXY, $TRACK, batch, children, createComputed, createContext, createDeferred, createEffect, createMemo, createReaction, createRenderEffect, createResource, createRoot, createSelector, createSignal, enableExternalSource, enableScheduling, equalFn, getListener, getOwner, on, onCleanup, onError, catchError, onMount, runWithOwner, startTransition, untrack, useContext, useTransition } from "./reactive/signal.js";

export type { JSXElement, JSX };
import { registerGraph, writeSignal, DevHooks } from "./reactive/signal.js";
import { registerGraph, writeSignal } from "./reactive/signal.js";
declare const DEV: {
readonly hooks: typeof DevHooks;
readonly hooks: {
afterUpdate: (() => void) | null;
afterCreateOwner: ((owner: import("./reactive/signal.js").Owner) => void) | null;
};
readonly writeSignal: typeof writeSignal;

@@ -15,0 +18,0 @@ readonly registerGraph: typeof registerGraph;

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