@visulima/ono 2.0.0-alpha.6 → 2.0.0-alpha.8
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 +25 -0
- package/dist/index.js +142 -142
- package/package.json +165 -164
package/package.json
CHANGED
|
@@ -1,176 +1,177 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
2
|
+
"name": "@visulima/ono",
|
|
3
|
+
"version": "2.0.0-alpha.8",
|
|
4
|
+
"description": "Ono is an error-parsing library that pretty prints JavaScript errors on a web page or the terminal.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"visulima",
|
|
7
|
+
"error",
|
|
8
|
+
"exception",
|
|
9
|
+
"error-inspector",
|
|
10
|
+
"diagnostics",
|
|
11
|
+
"debugging",
|
|
12
|
+
"stacktrace",
|
|
13
|
+
"code-frame",
|
|
14
|
+
"codeframe",
|
|
15
|
+
"source-code-preview",
|
|
16
|
+
"html-error",
|
|
17
|
+
"open-in-editor",
|
|
18
|
+
"cli",
|
|
19
|
+
"terminal",
|
|
20
|
+
"node",
|
|
21
|
+
"web",
|
|
22
|
+
"browser",
|
|
23
|
+
"express",
|
|
24
|
+
"connect",
|
|
25
|
+
"http-errors",
|
|
26
|
+
"devtools",
|
|
27
|
+
"error-reporting",
|
|
28
|
+
"whoops",
|
|
29
|
+
"youch",
|
|
30
|
+
"anolilab",
|
|
31
|
+
"webpack"
|
|
32
|
+
],
|
|
33
|
+
"homepage": "https://visulima.com/packages/ono/",
|
|
34
|
+
"repository": {
|
|
35
|
+
"type": "git",
|
|
36
|
+
"url": "https://github.com/visulima/visulima.git",
|
|
37
|
+
"directory": "packages/error-debugging/ono"
|
|
38
|
+
},
|
|
39
|
+
"funding": [
|
|
40
|
+
{
|
|
41
|
+
"type": "github",
|
|
42
|
+
"url": "https://github.com/sponsors/prisis"
|
|
38
43
|
},
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
44
|
+
{
|
|
45
|
+
"type": "consulting",
|
|
46
|
+
"url": "https://anolilab.com/support"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"license": "MIT",
|
|
50
|
+
"author": {
|
|
51
|
+
"name": "Daniel Bannert",
|
|
52
|
+
"email": "d.bannert@anolilab.de"
|
|
53
|
+
},
|
|
54
|
+
"sideEffects": true,
|
|
55
|
+
"type": "module",
|
|
56
|
+
"exports": {
|
|
57
|
+
".": {
|
|
58
|
+
"types": "./dist/index.d.ts",
|
|
59
|
+
"default": "./dist/index.js"
|
|
60
|
+
},
|
|
61
|
+
"./page/context": {
|
|
62
|
+
"types": "./dist/error-inspector/page/create-request-context.d.ts",
|
|
63
|
+
"default": "./dist/error-inspector/page/create-request-context.js"
|
|
53
64
|
},
|
|
54
|
-
"
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
".": {
|
|
58
|
-
"types": "./dist/index.d.ts",
|
|
59
|
-
"default": "./dist/index.js"
|
|
60
|
-
},
|
|
61
|
-
"./page/context": {
|
|
62
|
-
"types": "./dist/error-inspector/page/create-request-context.d.ts",
|
|
63
|
-
"default": "./dist/error-inspector/page/create-request-context.js"
|
|
64
|
-
},
|
|
65
|
-
"./server/open-in-editor": {
|
|
66
|
-
"types": "./dist/server/open-in-editor.d.ts",
|
|
67
|
-
"default": "./dist/server/open-in-editor.js"
|
|
68
|
-
},
|
|
69
|
-
"./package.json": "./package.json"
|
|
65
|
+
"./server/open-in-editor": {
|
|
66
|
+
"types": "./dist/server/open-in-editor.d.ts",
|
|
67
|
+
"default": "./dist/server/open-in-editor.js"
|
|
70
68
|
},
|
|
71
|
-
"
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
"
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
69
|
+
"./package.json": "./package.json"
|
|
70
|
+
},
|
|
71
|
+
"files": [
|
|
72
|
+
"dist",
|
|
73
|
+
"README.md",
|
|
74
|
+
"CHANGELOG.md",
|
|
75
|
+
"LICENSE.md"
|
|
76
|
+
],
|
|
77
|
+
"scripts": {
|
|
78
|
+
"build": "packem build --development",
|
|
79
|
+
"build:prod": "packem build --production",
|
|
80
|
+
"clean": "rimraf node_modules dist .eslintcache",
|
|
81
|
+
"dev:hono": "packem build --development --watch --onSuccess 'node ./examples/hono/index.js'",
|
|
82
|
+
"dev:node": "packem build --development --watch --onSuccess 'node ./examples/node/index.js'",
|
|
83
|
+
"lint:attw": "attw --pack",
|
|
84
|
+
"lint:eslint": "eslint . --cache --concurrency auto",
|
|
85
|
+
"lint:eslint:fix": "eslint . --cache --concurrency auto --fix",
|
|
86
|
+
"lint:package-json": "publint --strict",
|
|
87
|
+
"lint:prettier": "prettier --config=.prettierrc.cjs --check .",
|
|
88
|
+
"lint:prettier:fix": "prettier --config=.prettierrc.cjs --write .",
|
|
89
|
+
"lint:types": "tsc --noEmit",
|
|
90
|
+
"test": "vitest run",
|
|
91
|
+
"test:coverage": "vitest run --coverage",
|
|
92
|
+
"test:ui": "vitest --ui --coverage.enabled=true",
|
|
93
|
+
"test:watch": "vitest"
|
|
94
|
+
},
|
|
95
|
+
"dependencies": {
|
|
96
|
+
"@shikijs/langs": "catalog:prod",
|
|
97
|
+
"@visulima/error": "6.0.0-alpha.7",
|
|
98
|
+
"isomorphic-dompurify": "catalog:prod",
|
|
99
|
+
"launch-editor-middleware": "catalog:prod",
|
|
100
|
+
"shiki": "catalog:syntax"
|
|
101
|
+
},
|
|
102
|
+
"devDependencies": {
|
|
103
|
+
"@anolilab/eslint-config": "catalog:lint",
|
|
104
|
+
"@anolilab/prettier-config": "catalog:lint",
|
|
105
|
+
"@anolilab/semantic-release-preset": "catalog:dev",
|
|
106
|
+
"@arethetypeswrong/cli": "catalog:dev",
|
|
107
|
+
"@eslint/css": "catalog:lint",
|
|
108
|
+
"@shikijs/themes": "catalog:dev",
|
|
109
|
+
"@tailwindcss/forms": "catalog:frontend",
|
|
110
|
+
"@tailwindcss/node": "catalog:frontend",
|
|
111
|
+
"@tailwindcss/oxide": "catalog:frontend",
|
|
112
|
+
"@tailwindcss/typography": "catalog:style",
|
|
113
|
+
"@total-typescript/ts-reset": "catalog:dev",
|
|
114
|
+
"@types/http-errors": "catalog:types",
|
|
115
|
+
"@types/node": "catalog:types",
|
|
116
|
+
"@visulima/packem": "catalog:dev",
|
|
117
|
+
"@visulima/path": "3.0.0-alpha.7",
|
|
118
|
+
"@vitest/coverage-v8": "catalog:test",
|
|
119
|
+
"cssnano": "catalog:dev",
|
|
120
|
+
"esbuild": "catalog:build",
|
|
121
|
+
"eslint": "catalog:lint",
|
|
122
|
+
"http-errors": "catalog:dev",
|
|
123
|
+
"lucide-static": "catalog:icons",
|
|
124
|
+
"marked": "catalog:dev",
|
|
125
|
+
"node-mocks-http": "catalog:dev",
|
|
126
|
+
"openai": "catalog:dev",
|
|
127
|
+
"prettier": "catalog:lint",
|
|
128
|
+
"prettier-plugin-tailwindcss": "catalog:lint",
|
|
129
|
+
"publint": "catalog:dev",
|
|
130
|
+
"rimraf": "catalog:node",
|
|
131
|
+
"semantic-release": "catalog:cli",
|
|
132
|
+
"sort-package-json": "catalog:dev",
|
|
133
|
+
"tailwind-csstree": "catalog:dev",
|
|
134
|
+
"tailwindcss": "catalog:style",
|
|
135
|
+
"typescript": "catalog:tsc",
|
|
136
|
+
"vitest": "catalog:test"
|
|
137
|
+
},
|
|
138
|
+
"peerDependencies": {
|
|
139
|
+
"@ai-sdk/anthropic": "catalog:peer",
|
|
140
|
+
"@ai-sdk/azure": "catalog:peer",
|
|
141
|
+
"@ai-sdk/google": "catalog:peer",
|
|
142
|
+
"@ai-sdk/mistral": "catalog:peer",
|
|
143
|
+
"@ai-sdk/openai": "catalog:peer",
|
|
144
|
+
"ai": "^4.0.0 || ^5.0.0"
|
|
145
|
+
},
|
|
146
|
+
"peerDependenciesMeta": {
|
|
147
|
+
"@ai-sdk/anthropic": {
|
|
148
|
+
"optional": true
|
|
94
149
|
},
|
|
95
|
-
"
|
|
96
|
-
|
|
97
|
-
"@visulima/error": "6.0.0-alpha.5",
|
|
98
|
-
"isomorphic-dompurify": "^3.0.0",
|
|
99
|
-
"launch-editor-middleware": "2.13.1",
|
|
100
|
-
"shiki": "^4.0.1"
|
|
150
|
+
"@ai-sdk/azure": {
|
|
151
|
+
"optional": true
|
|
101
152
|
},
|
|
102
|
-
"
|
|
103
|
-
|
|
104
|
-
"@anolilab/prettier-config": "^9.1.1",
|
|
105
|
-
"@anolilab/semantic-release-preset": "^13.1.1",
|
|
106
|
-
"@arethetypeswrong/cli": "^0.18.2",
|
|
107
|
-
"@eslint/css": "0.14.1",
|
|
108
|
-
"@shikijs/themes": "^4.0.1",
|
|
109
|
-
"@tailwindcss/forms": "^0.5.11",
|
|
110
|
-
"@tailwindcss/node": "^4.2.1",
|
|
111
|
-
"@tailwindcss/oxide": "^4.2.1",
|
|
112
|
-
"@tailwindcss/typography": "^0.5.19",
|
|
113
|
-
"@total-typescript/ts-reset": "^0.6.1",
|
|
114
|
-
"@types/http-errors": "^2.0.5",
|
|
115
|
-
"@types/node": "25.3.3",
|
|
116
|
-
"@visulima/packem": "2.0.0-alpha.54",
|
|
117
|
-
"@visulima/path": "3.0.0-alpha.5",
|
|
118
|
-
"@vitest/coverage-v8": "^4.0.18",
|
|
119
|
-
"cssnano": "7.1.2",
|
|
120
|
-
"esbuild": "0.27.3",
|
|
121
|
-
"eslint": "^10.0.2",
|
|
122
|
-
"http-errors": "^2.0.1",
|
|
123
|
-
"lucide-static": "^0.577.0",
|
|
124
|
-
"marked": "^17.0.4",
|
|
125
|
-
"node-mocks-http": "^1.17.2",
|
|
126
|
-
"openai": "6.25.0",
|
|
127
|
-
"prettier": "^3.8.1",
|
|
128
|
-
"prettier-plugin-tailwindcss": "0.7.2",
|
|
129
|
-
"publint": "^0.3.18",
|
|
130
|
-
"rimraf": "^6.1.3",
|
|
131
|
-
"semantic-release": "^25.0.3",
|
|
132
|
-
"sort-package-json": "^3.6.1",
|
|
133
|
-
"tailwind-csstree": "0.1.4",
|
|
134
|
-
"tailwindcss": "^4.2.1",
|
|
135
|
-
"typescript": "^5.9.3",
|
|
136
|
-
"vitest": "^4.0.18"
|
|
153
|
+
"@ai-sdk/google": {
|
|
154
|
+
"optional": true
|
|
137
155
|
},
|
|
138
|
-
"
|
|
139
|
-
|
|
140
|
-
"@ai-sdk/azure": "^1.0.22",
|
|
141
|
-
"@ai-sdk/google": "^1.0.17",
|
|
142
|
-
"@ai-sdk/mistral": "^1.0.9",
|
|
143
|
-
"@ai-sdk/openai": "^1.0.20",
|
|
144
|
-
"ai": "^4.0.0 || ^5.0.0"
|
|
156
|
+
"@ai-sdk/mistral": {
|
|
157
|
+
"optional": true
|
|
145
158
|
},
|
|
146
|
-
"
|
|
147
|
-
|
|
148
|
-
"optional": true
|
|
149
|
-
},
|
|
150
|
-
"@ai-sdk/azure": {
|
|
151
|
-
"optional": true
|
|
152
|
-
},
|
|
153
|
-
"@ai-sdk/google": {
|
|
154
|
-
"optional": true
|
|
155
|
-
},
|
|
156
|
-
"@ai-sdk/mistral": {
|
|
157
|
-
"optional": true
|
|
158
|
-
},
|
|
159
|
-
"@ai-sdk/openai": {
|
|
160
|
-
"optional": true
|
|
161
|
-
},
|
|
162
|
-
"ai": {
|
|
163
|
-
"optional": true
|
|
164
|
-
},
|
|
165
|
-
"open-editor": {
|
|
166
|
-
"optional": true
|
|
167
|
-
}
|
|
159
|
+
"@ai-sdk/openai": {
|
|
160
|
+
"optional": true
|
|
168
161
|
},
|
|
169
|
-
"
|
|
170
|
-
|
|
162
|
+
"ai": {
|
|
163
|
+
"optional": true
|
|
171
164
|
},
|
|
172
|
-
"
|
|
173
|
-
|
|
174
|
-
"provenance": true
|
|
165
|
+
"open-editor": {
|
|
166
|
+
"optional": true
|
|
175
167
|
}
|
|
168
|
+
},
|
|
169
|
+
"optionalDependencies": {},
|
|
170
|
+
"engines": {
|
|
171
|
+
"node": ">=22.13 <=25.x"
|
|
172
|
+
},
|
|
173
|
+
"publishConfig": {
|
|
174
|
+
"access": "public",
|
|
175
|
+
"provenance": true
|
|
176
|
+
}
|
|
176
177
|
}
|