File tree Expand file tree Collapse file tree 8 files changed +12
-11
lines changed
Expand file tree Collapse file tree 8 files changed +12
-11
lines changed Original file line number Diff line number Diff line change 22
33![ Logo] ( https://raw.githubusercontent.com/webui-dev/webui-logo/main/webui_deno.png )
44
5- # Deno-WebUI v2.5.9 (Beta)
5+ # Deno-WebUI v2.5.10 (Beta)
66
77[ last-commit ] : https://img.shields.io/github/last-commit/webui-dev/webui?style=for-the-badge&logo=github&logoColor=C0CAF5&labelColor=414868
88[ release-version ] : https://img.shields.io/github/v/tag/webui-dev/webui?style=for-the-badge&logo=webtrees&logoColor=C0CAF5&labelColor=414868&color=7664C6
@@ -46,9 +46,9 @@ is written in Deno using WebUI as the GUI library.
4646Specific version:
4747
4848``` js
49- import { WebUI } from " jsr:@webui/deno-webui@2.5.9 " ;
49+ import { WebUI } from " jsr:@webui/deno-webui@2.5.10 " ;
5050// Or
51- import { WebUI } from " https://deno.land/x/webui@2.5.9 /mod.ts" ;
51+ import { WebUI } from " https://deno.land/x/webui@2.5.10 /mod.ts" ;
5252```
5353
5454Latest version:
Original file line number Diff line number Diff line change 11{
22 "name" : " @webui/deno-webui" ,
3- "version" : " 2.5.9 " ,
3+ "version" : " 2.5.10 " ,
44 "exports" : " ./mod.ts" ,
55 "imports" : {
66 "@std/fs" : " jsr:@std/fs@^1.0.19" ,
Original file line number Diff line number Diff line change 55// import { WebUI } from "../../mod.ts";
66
77// To import from online package registry (Production)
8- import { WebUI } from "@webui/deno-webui" ; // import {WebUI} from "https://deno.land/x/webui@2.5.9 /mod.ts";
8+ import { WebUI } from "@webui/deno-webui" ; // import {WebUI} from "https://deno.land/x/webui@2.5.10 /mod.ts";
99
1010// Return HTTP header + file raw binary content
1111const getFile = async (
Original file line number Diff line number Diff line change 55// import { WebUI } from "../../mod.ts";
66
77// To import from online package registry (Production)
8- import { WebUI } from "@webui/deno-webui" ; // import {WebUI} from "https://deno.land/x/webui@2.5.9 /mod.ts";
8+ import { WebUI } from "@webui/deno-webui" ; // import {WebUI} from "https://deno.land/x/webui@2.5.10 /mod.ts";
99
1010function allEvents ( e : WebUI . Event ) {
1111 /*
Original file line number Diff line number Diff line change 55// import { WebUI } from "../../mod.ts";
66
77// To import from online package registry (Production)
8- import { WebUI } from "@webui/deno-webui" ; // import {WebUI} from "https://deno.land/x/webui@2.5.9 /mod.ts";
8+ import { WebUI } from "@webui/deno-webui" ; // import {WebUI} from "https://deno.land/x/webui@2.5.10 /mod.ts";
99
1010const myHtml = `<!DOCTYPE html>
1111<html>
Original file line number Diff line number Diff line change 55// import { WebUI } from "../../mod.ts";
66
77// To import from online package registry (Production)
8- import { WebUI } from "@webui/deno-webui" ; // import {WebUI} from "https://deno.land/x/webui@2.5.9 /mod.ts";
8+ import { WebUI } from "@webui/deno-webui" ; // import {WebUI} from "https://deno.land/x/webui@2.5.10 /mod.ts";
99
1010const myHtml = `<!DOCTYPE html>
1111<html>
Original file line number Diff line number Diff line change 1616 * ## Minimal Example
1717 *
1818 * ```ts
19- * import { WebUI } from "jsr:@webui/deno-webui@2.5.9 ";
19+ * import { WebUI } from "jsr:@webui/deno-webui@2.5.10 ";
2020 *
2121 * const myWindow = new WebUI();
2222 * await myWindow.show("<html><script src=\"webui.js\"></script> Hello World! </html>");
Original file line number Diff line number Diff line change 11/*
2- WebUI Deno 2.5.9
2+ WebUI Deno 2.5.10
33 http://webui.me
44 https://github.com/webui-dev/deno-webui
55 Copyright (c) 2020-2025 Hassan Draga.
@@ -17,6 +17,7 @@ import type {
1717 WebUILib ,
1818} from "./types.ts" ;
1919import { fromCString , toCString , WebUIError } from "./utils.ts" ;
20+ import metadata from "../deno.json" with { type : "json" } ;
2021
2122// Register windows to bind instance to WebUI.Event
2223const windows : Map < Usize , WebUI > = new Map ( ) ;
@@ -1146,7 +1147,7 @@ export class WebUI {
11461147 * @returns The version string (e.g., "2.5.5").
11471148 */
11481149 static get version ( ) : string {
1149- return "2.5.9" ;
1150+ return metadata . version ;
11501151 }
11511152}
11521153
You can’t perform that action at this time.
0 commit comments