@visulima/ono 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/README.md +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## @visulima/ono [1.0.1](https://github.com/visulima/visulima/compare/@visulima/ono@1.0.0...@visulima/ono@1.0.1) (2025-09-12)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **ono:** update import statements for createRequestContextPage ([77770b0](https://github.com/visulima/visulima/commit/77770b05d5905856a4b63d688acae19f2de98145))
|
|
6
|
+
|
|
1
7
|
## @visulima/ono 1.0.0 (2025-09-12)
|
|
2
8
|
|
|
3
9
|
### Features
|
package/README.md
CHANGED
|
@@ -120,7 +120,7 @@ const { errorAnsi, solutionBox } = await ono.toANSI(error, {
|
|
|
120
120
|
```ts
|
|
121
121
|
import { createServer } from "node:http";
|
|
122
122
|
import { Ono } from "@visulima/ono";
|
|
123
|
-
import
|
|
123
|
+
import createRequestContextPage from "@visulima/ono/page/context";
|
|
124
124
|
import { createNodeHttpHandler } from "@visulima/ono/server/open-in-editor";
|
|
125
125
|
|
|
126
126
|
const ono = new Ono();
|
|
@@ -180,7 +180,7 @@ server.listen(3000);
|
|
|
180
180
|
import { serve } from "@hono/node-server";
|
|
181
181
|
import { Hono } from "hono";
|
|
182
182
|
import { Ono } from "@visulima/ono";
|
|
183
|
-
import
|
|
183
|
+
import createRequestContextPage from "@visulima/ono/page/context";
|
|
184
184
|
|
|
185
185
|
const app = new Hono();
|
|
186
186
|
const ono = new Ono();
|
|
@@ -399,7 +399,7 @@ You can add any number of custom pages using the `content` option:
|
|
|
399
399
|
|
|
400
400
|
```ts
|
|
401
401
|
import { Ono } from "@visulima/ono";
|
|
402
|
-
import
|
|
402
|
+
import createRequestContextPage from "@visulima/ono/page/context";
|
|
403
403
|
|
|
404
404
|
const ono = new Ono();
|
|
405
405
|
|