Socket
Book a DemoSign in
Socket

@opentui/solid

Package Overview
Dependencies
Maintainers
3
Versions
159
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentui/solid - npm Package Compare versions

Comparing version
0.1.90
to
0.1.91
+2
-2
package.json

@@ -7,3 +7,3 @@ {

"type": "module",
"version": "0.1.90",
"version": "0.1.91",
"description": "SolidJS renderer for OpenTUI",

@@ -39,3 +39,3 @@ "license": "MIT",

"@babel/preset-typescript": "7.27.1",
"@opentui/core": "0.1.90",
"@opentui/core": "0.1.91",
"babel-plugin-module-resolver": "5.0.2",

@@ -42,0 +42,0 @@ "babel-preset-solid": "1.9.10",

@@ -11,4 +11,4 @@ import { plugin as registerBunPlugin } from "bun"

import * as solidJsStoreRuntime from "solid-js/store"
import * as solidRuntime from "../index"
import { ensureSolidTransformPlugin } from "./solid-plugin"
import * as solidRuntime from "../index.js"
import { ensureSolidTransformPlugin } from "./solid-plugin.js"

@@ -15,0 +15,0 @@ const runtimePluginSupportInstalledKey = Symbol.for("opentui.solid.runtime-plugin-support")

@@ -83,14 +83,11 @@ import { transformAsync } from "@babel/core"

setup: (build) => {
build.onLoad(
{ filter: /[\/\\]node_modules[\/\\]solid-js[\/\\]dist[\/\\]server\.js(?:[?#].*)?$/ },
async (args) => {
const path = sourcePath(args.path).replace("server.js", "solid.js")
const file = Bun.file(path)
const code = await file.text()
return { contents: code, loader: "js" }
},
)
build.onLoad({ filter: /[/\\]node_modules[/\\]solid-js[/\\]dist[/\\]server\.js(?:[?#].*)?$/ }, async (args) => {
const path = sourcePath(args.path).replace("server.js", "solid.js")
const file = Bun.file(path)
const code = await file.text()
return { contents: code, loader: "js" }
})
build.onLoad(
{ filter: /[\/\\]node_modules[\/\\]solid-js[\/\\]store[\/\\]dist[\/\\]server\.js(?:[?#].*)?$/ },
{ filter: /[/\\]node_modules[/\\]solid-js[/\\]store[/\\]dist[/\\]server\.js(?:[?#].*)?$/ },
async (args) => {

@@ -97,0 +94,0 @@ const path = sourcePath(args.path).replace("server.js", "store.js")

import { TimeToFirstDrawRenderable } from "@opentui/core";
import type { ExtendedComponentProps } from "./types/elements";
import type { ExtendedComponentProps } from "./types/elements.js";
declare module "@opentui/solid" {

@@ -4,0 +4,0 @@ interface OpenTUIComponents {