trickle-observe 0.2.116 → 0.2.117

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/express.js CHANGED
@@ -148,7 +148,7 @@ function writeErrorToFile(error, input, routeName) {
148
148
  let errorLine;
149
149
  for (const sl of stackLines.slice(1)) {
150
150
  const m = sl.match(/\((.+):(\d+):\d+\)/) || sl.match(/at (.+):(\d+):\d+/);
151
- if (m && !m[1].includes('node_modules') && !m[1].includes('node:') && !m[1].includes('trickle')) {
151
+ if (m && !m[1].includes('node_modules') && !m[1].includes('node:') && !m[1].includes('trickle-observe')) {
152
152
  errorFile = m[1];
153
153
  errorLine = parseInt(m[2]);
154
154
  break;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trickle-observe",
3
- "version": "0.2.116",
3
+ "version": "0.2.117",
4
4
  "description": "Runtime type observability for JavaScript applications",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/express.ts CHANGED
@@ -116,7 +116,7 @@ function writeErrorToFile(error: unknown, input: Record<string, unknown>, routeN
116
116
  let errorLine: number | undefined;
117
117
  for (const sl of stackLines.slice(1)) {
118
118
  const m = sl.match(/\((.+):(\d+):\d+\)/) || sl.match(/at (.+):(\d+):\d+/);
119
- if (m && !m[1].includes('node_modules') && !m[1].includes('node:') && !m[1].includes('trickle')) {
119
+ if (m && !m[1].includes('node_modules') && !m[1].includes('node:') && !m[1].includes('trickle-observe')) {
120
120
  errorFile = m[1];
121
121
  errorLine = parseInt(m[2]);
122
122
  break;