Skip to content

Commit fd9f8b8

Browse files
authored
Merge pull request #103 from sigmaSd/2.5.10
bump to 2.5.10
2 parents 84f7562 + d4ccf3c commit fd9f8b8

File tree

8 files changed

+12
-11
lines changed

8 files changed

+12
-11
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
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.
4646
Specific version:
4747

4848
```js
49-
import { WebUI } from "jsr:@webui/[email protected].9";
49+
import { WebUI } from "jsr:@webui/[email protected].10";
5050
// Or
51-
import { WebUI } from "https://deno.land/x/[email protected].9/mod.ts";
51+
import { WebUI } from "https://deno.land/x/[email protected].10/mod.ts";
5252
```
5353

5454
Latest version:

deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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",

examples/custom_file_handler/custom_file_handler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
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/[email protected].9/mod.ts";
8+
import { WebUI } from "@webui/deno-webui"; // import {WebUI} from "https://deno.land/x/[email protected].10/mod.ts";
99

1010
// Return HTTP header + file raw binary content
1111
const getFile = async (

examples/custom_web_server/custom_web_server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
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/[email protected].9/mod.ts";
8+
import { WebUI } from "@webui/deno-webui"; // import {WebUI} from "https://deno.land/x/[email protected].10/mod.ts";
99

1010
function allEvents(e: WebUI.Event) {
1111
/*

examples/hello_world/hello_world.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
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/[email protected].9/mod.ts";
8+
import { WebUI } from "@webui/deno-webui"; // import {WebUI} from "https://deno.land/x/[email protected].10/mod.ts";
99

1010
const myHtml = `<!DOCTYPE html>
1111
<html>

examples/send_raw_binary/send_raw_binary.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
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/[email protected].9/mod.ts";
8+
import { WebUI } from "@webui/deno-webui"; // import {WebUI} from "https://deno.land/x/[email protected].10/mod.ts";
99

1010
const myHtml = `<!DOCTYPE html>
1111
<html>

mod.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* ## Minimal Example
1717
*
1818
* ```ts
19-
* import { WebUI } from "jsr:@webui/[email protected].9";
19+
* import { WebUI } from "jsr:@webui/[email protected].10";
2020
*
2121
* const myWindow = new WebUI();
2222
* await myWindow.show("<html><script src=\"webui.js\"></script> Hello World! </html>");

src/webui.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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";
1919
import { 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
2223
const 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

0 commit comments

Comments
 (0)