@visulima/ono 1.0.0 → 1.0.2

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 CHANGED
@@ -1,3 +1,16 @@
1
+ ## @visulima/ono [1.0.2](https://github.com/visulima/visulima/compare/@visulima/ono@1.0.1...@visulima/ono@1.0.2) (2025-09-12)
2
+
3
+
4
+ ### Dependencies
5
+
6
+ * **@visulima/error:** upgraded to 4.6.0
7
+
8
+ ## @visulima/ono [1.0.1](https://github.com/visulima/visulima/compare/@visulima/ono@1.0.0...@visulima/ono@1.0.1) (2025-09-12)
9
+
10
+ ### Bug Fixes
11
+
12
+ * **ono:** update import statements for createRequestContextPage ([77770b0](https://github.com/visulima/visulima/commit/77770b05d5905856a4b63d688acae19f2de98145))
13
+
1
14
  ## @visulima/ono 1.0.0 (2025-09-12)
2
15
 
3
16
  ### 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 { createRequestContextPage } from "@visulima/ono/page/context";
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 { createRequestContextPage } from "@visulima/ono/page/context";
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 { createRequestContextPage } from "@visulima/ono/page/context";
402
+ import createRequestContextPage from "@visulima/ono/page/context";
403
403
 
404
404
  const ono = new Ono();
405
405
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visulima/ono",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Ono is an error-parsing library that pretty prints JavaScript errors on a web page or the terminal.",
5
5
  "keywords": [
6
6
  "visulima",
@@ -95,7 +95,7 @@
95
95
  "dependencies": {
96
96
  "@shikijs/langs": "^3.12.2",
97
97
  "@shikijs/themes": "^3.12.2",
98
- "@visulima/error": "4.5.0",
98
+ "@visulima/error": "4.6.0",
99
99
  "isomorphic-dompurify": "^2.26.0",
100
100
  "shiki": "^3.12.2"
101
101
  },