@reproapp/node-sdk 0.0.58 → 0.0.59
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/package.json +1 -1
- package/tracer/cjs-hook.js +0 -2
package/package.json
CHANGED
package/tracer/cjs-hook.js
CHANGED
|
@@ -126,7 +126,6 @@ function installCJS({ include, exclude, parserPlugins } = {}) {
|
|
|
126
126
|
mapOriginalPosition = sourceInfo.mapOriginalPosition;
|
|
127
127
|
}
|
|
128
128
|
if (shouldHandle(filename, metaFilename)) {
|
|
129
|
-
try { process.stderr.write(`[trace-debug] compile: ${filename}\n`); } catch {}
|
|
130
129
|
// Transform the already-compiled JS (keeps Nest’s decorator metadata intact).
|
|
131
130
|
const res = babel.transformSync(code, {
|
|
132
131
|
filename,
|
|
@@ -161,7 +160,6 @@ function installCJS({ include, exclude, parserPlugins } = {}) {
|
|
|
161
160
|
}
|
|
162
161
|
} catch (err) {
|
|
163
162
|
out = code; // never break the app if transform fails
|
|
164
|
-
try { process.stderr.write(`[trace-debug] compile error: ${filename} :: ${err?.message || err}\n`); } catch {}
|
|
165
163
|
}
|
|
166
164
|
|
|
167
165
|
const ret = origCompile.call(this, out, filename);
|