@eggjs/onerror 4.0.0-beta.35 → 4.0.0-beta.36
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/dist/agent.d.ts +9 -5
- package/dist/agent.js +15 -13
- package/dist/app.d.ts +14 -10
- package/dist/app.js +110 -140
- package/dist/config/config.default.d.ts +27 -24
- package/dist/config/config.default.js +11 -9
- package/dist/index.d.ts +20 -16
- package/dist/index.js +24 -21
- package/dist/lib/error_view.d.ts +144 -140
- package/dist/lib/error_view.js +222 -239
- package/dist/lib/onerror_page.mustache.html +245 -245
- package/dist/lib/utils.d.ts +10 -6
- package/dist/lib/utils.js +17 -25
- package/dist/types.d.ts +8 -6
- package/dist/types.js +1 -2
- package/package.json +34 -39
package/package.json
CHANGED
|
@@ -1,25 +1,39 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eggjs/onerror",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
4
|
-
"publishConfig": {
|
|
5
|
-
"access": "public"
|
|
6
|
-
},
|
|
3
|
+
"version": "4.0.0-beta.36",
|
|
7
4
|
"description": "error handler for egg",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"egg",
|
|
7
|
+
"egg-plugin",
|
|
8
|
+
"onerror"
|
|
9
|
+
],
|
|
8
10
|
"homepage": "https://github.com/eggjs/egg/tree/next/plugins/onerror",
|
|
11
|
+
"license": "MIT",
|
|
12
|
+
"author": "dead_horse",
|
|
9
13
|
"repository": {
|
|
10
14
|
"type": "git",
|
|
11
15
|
"url": "git+https://github.com/eggjs/egg.git",
|
|
12
16
|
"directory": "plugins/onerror"
|
|
13
17
|
},
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"egg-plugin",
|
|
17
|
-
"onerror"
|
|
18
|
+
"files": [
|
|
19
|
+
"dist"
|
|
18
20
|
],
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
|
|
21
|
+
"type": "module",
|
|
22
|
+
"main": "./dist/index.js",
|
|
23
|
+
"module": "./dist/index.js",
|
|
24
|
+
"types": "./dist/index.d.ts",
|
|
25
|
+
"exports": {
|
|
26
|
+
".": "./dist/index.js",
|
|
27
|
+
"./agent": "./dist/agent.js",
|
|
28
|
+
"./app": "./dist/app.js",
|
|
29
|
+
"./config/config.default": "./dist/config/config.default.js",
|
|
30
|
+
"./lib/error_view": "./dist/lib/error_view.js",
|
|
31
|
+
"./lib/utils": "./dist/lib/utils.js",
|
|
32
|
+
"./types": "./dist/types.js",
|
|
33
|
+
"./package.json": "./package.json"
|
|
34
|
+
},
|
|
35
|
+
"publishConfig": {
|
|
36
|
+
"access": "public"
|
|
23
37
|
},
|
|
24
38
|
"dependencies": {
|
|
25
39
|
"cookie": "^1.0.2",
|
|
@@ -27,39 +41,20 @@
|
|
|
27
41
|
"mustache": "^4.2.0",
|
|
28
42
|
"stack-trace": "^0.0.10"
|
|
29
43
|
},
|
|
30
|
-
"peerDependencies": {
|
|
31
|
-
"egg": "4.1.0-beta.35"
|
|
32
|
-
},
|
|
33
44
|
"devDependencies": {
|
|
34
45
|
"@types/mustache": "^4.2.5",
|
|
35
46
|
"@types/stack-trace": "^0.0.33",
|
|
36
|
-
"tsdown": "^0.17.0",
|
|
37
47
|
"typescript": "^5.9.3",
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"egg": "4.1.0-beta.35"
|
|
48
|
+
"@eggjs/mock": "7.0.0-beta.36",
|
|
49
|
+
"egg": "4.1.0-beta.36"
|
|
41
50
|
},
|
|
42
|
-
"
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
"
|
|
47
|
-
"./config/config.default": "./dist/config/config.default.js",
|
|
48
|
-
"./lib/error_view": "./dist/lib/error_view.js",
|
|
49
|
-
"./lib/utils": "./dist/lib/utils.js",
|
|
50
|
-
"./types": "./dist/types.js",
|
|
51
|
-
"./package.json": "./package.json"
|
|
51
|
+
"peerDependencies": {
|
|
52
|
+
"egg": "4.1.0-beta.36"
|
|
53
|
+
},
|
|
54
|
+
"engines": {
|
|
55
|
+
"node": ">=22.18.0"
|
|
52
56
|
},
|
|
53
|
-
"files": [
|
|
54
|
-
"dist"
|
|
55
|
-
],
|
|
56
|
-
"types": "./dist/index.d.ts",
|
|
57
|
-
"main": "./dist/index.js",
|
|
58
|
-
"module": "./dist/index.js",
|
|
59
57
|
"scripts": {
|
|
60
|
-
"
|
|
61
|
-
"typecheck": "tsc --noEmit",
|
|
62
|
-
"test": "vitest run",
|
|
63
|
-
"build": "tsdown && rimraf dist *.tsbuildinfo && tsc -p tsconfig.build.json && cp src/lib/onerror_page.mustache.html dist/lib/onerror_page.mustache.html"
|
|
58
|
+
"typecheck": "tsgo --noEmit"
|
|
64
59
|
}
|
|
65
60
|
}
|