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

@lightningjs/solid

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lightningjs/solid - npm Package Compare versions

Comparing version 0.6.7 to 0.6.8

@@ -713,3 +713,3 @@ import { createSignal, createRenderEffect, untrack, sharedConfig, createEffect, mergeProps as mergeProps$1, createRoot, createMemo, createComponent as createComponent$1 } from 'solid-js';

}
const isDev = import.meta.env.MODE === 'development';
const isDev = import.meta?.env?.MODE === 'development';
function log(msg, node, ...args) {

@@ -1796,3 +1796,3 @@ if (isDev) {

const loadInspector = import.meta.env.MODE === 'development';
const loadInspector = import.meta?.env?.MODE === 'development';
if (loadInspector) {

@@ -1799,0 +1799,0 @@ attachInspector();

@@ -21,3 +21,3 @@ /* eslint-disable @typescript-eslint/unbound-method */

import universalInspector, { attachInspector, } from './universal/dom-inspector.js';
const loadInspector = import.meta.env.MODE === 'development';
const loadInspector = import.meta?.env?.MODE === 'development';
if (loadInspector) {

@@ -24,0 +24,0 @@ attachInspector();

@@ -34,3 +34,3 @@ /* eslint-disable @typescript-eslint/no-explicit-any */

}
const isDev = import.meta.env.MODE === 'development';
const isDev = import.meta?.env?.MODE === 'development';
export function log(msg, node, ...args) {

@@ -37,0 +37,0 @@ if (isDev) {

{
"name": "@lightningjs/solid",
"version": "0.6.7",
"version": "0.6.8",
"description": "Lightning renderer for solid universal",

@@ -5,0 +5,0 @@ "type": "module",

@@ -26,3 +26,3 @@ /* eslint-disable @typescript-eslint/unbound-method */

const loadInspector = import.meta.env.MODE === 'development';
const loadInspector = import.meta?.env?.MODE === 'development';
if (loadInspector) {

@@ -29,0 +29,0 @@ attachInspector();

@@ -39,3 +39,3 @@ /* eslint-disable @typescript-eslint/no-explicit-any */

}
const isDev = import.meta.env.MODE === 'development';
const isDev = import.meta?.env?.MODE === 'development';
export function log(msg: string, node: SolidNode, ...args: any[]) {

@@ -42,0 +42,0 @@ if (isDev) {

Sorry, the diff of this file is not supported yet