@opentui/solid
Advanced tools
+2
-2
@@ -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 { |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
76182
-0.05%1974
-0.15%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated