@stackframe/stack-shared 2.7.11 → 2.7.13
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 +15 -0
- package/dist/utils/errors.js +1 -1
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @stackframe/stack-shared
|
|
2
2
|
|
|
3
|
+
## 2.7.13
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Various changes
|
|
8
|
+
- @stackframe/stack-sc@2.7.13
|
|
9
|
+
|
|
10
|
+
## 2.7.12
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Various changes
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
- @stackframe/stack-sc@2.7.12
|
|
17
|
+
|
|
3
18
|
## 2.7.11
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/dist/utils/errors.js
CHANGED
|
@@ -67,7 +67,7 @@ export class StackAssertionError extends Error {
|
|
|
67
67
|
StackAssertionError.prototype.name = "StackAssertionError";
|
|
68
68
|
export function errorToNiceString(error) {
|
|
69
69
|
if (!(error instanceof Error))
|
|
70
|
-
return `${typeof error}<${error}>`;
|
|
70
|
+
return `${typeof error}<${nicify(error)}>`;
|
|
71
71
|
let stack = error.stack ?? "";
|
|
72
72
|
const toString = error.toString();
|
|
73
73
|
if (!stack.startsWith(toString))
|
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stackframe/stack-shared",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.13",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
|
+
"type": "module",
|
|
6
7
|
"files": [
|
|
7
8
|
"README.md",
|
|
8
9
|
"dist",
|
|
@@ -51,7 +52,7 @@
|
|
|
51
52
|
"oauth4webapi": "^2.10.3",
|
|
52
53
|
"semver": "^7.6.3",
|
|
53
54
|
"uuid": "^9.0.1",
|
|
54
|
-
"@stackframe/stack-sc": "2.7.
|
|
55
|
+
"@stackframe/stack-sc": "2.7.13"
|
|
55
56
|
},
|
|
56
57
|
"devDependencies": {
|
|
57
58
|
"@sentry/nextjs": "^8.40.0",
|