headlamp 0.1.20 → 0.1.21
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/cli.cjs +2 -4
- package/dist/cli.cjs.map +2 -2
- package/dist/index.js +2 -4
- package/dist/index.js.map +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -61075,8 +61075,7 @@ module.exports = class BridgeEnv extends NodeEnvironment {
|
|
|
61075
61075
|
const dbgPath = process.env.JEST_BRIDGE_DEBUG_PATH;
|
|
61076
61076
|
this._dbg = (msg) => {
|
|
61077
61077
|
try {
|
|
61078
|
-
if (process.env.JEST_BRIDGE_DEBUG && dbgPath) fs.appendFileSync(dbgPath, String(msg) + '
|
|
61079
|
-
', 'utf8');
|
|
61078
|
+
if (process.env.JEST_BRIDGE_DEBUG && dbgPath) fs.appendFileSync(dbgPath, String(msg) + '\\n', 'utf8');
|
|
61080
61079
|
} catch {}
|
|
61081
61080
|
};
|
|
61082
61081
|
} catch {}
|
|
@@ -61107,8 +61106,7 @@ module.exports = class BridgeEnv extends NodeEnvironment {
|
|
|
61107
61106
|
} catch {
|
|
61108
61107
|
line += JSON.stringify({ type: String(payload && payload.type || 'unknown') });
|
|
61109
61108
|
}
|
|
61110
|
-
stderr.write(line + '
|
|
61111
|
-
');
|
|
61109
|
+
stderr.write(line + '\\n');
|
|
61112
61110
|
} catch {}
|
|
61113
61111
|
};
|
|
61114
61112
|
// Expose to class methods (e.g., handleTestEvent). Also keep a safe fallback.
|