Sign In

@rolldown/debug

Package Overview
Dependencies
Maintainers
4
Versions
169
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rolldown/debug - npm Package Compare versions

Comparing version
1.2.3
to
1.2.4
+1
-1
package.json
{
"name": "@rolldown/debug",
"version": "1.2.3",
"version": "1.2.4",
"homepage": "https://rolldown.rs/",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -8,3 +8,3 @@ # @rolldown/debug

```text
node_modules/.rolldown/<session_id>/
<cwd>/node_modules/.rolldown/<session_id>/
meta.json

@@ -14,2 +14,4 @@ logs.json

`<cwd>` is the build's `InputOptions#cwd`, which defaults to the working directory the build ran from. Resolve the files against it rather than your own working directory, which may differ.
`logs.json` is complete after `await bundle.close()` resolves.

@@ -23,3 +25,3 @@

const data = fs.readFileSync('node_modules/.rolldown/<session_id>/logs.json', 'utf8');
const data = fs.readFileSync('<cwd>/node_modules/.rolldown/<session_id>/logs.json', 'utf8');
const events = parseToEvents(data.trim());

@@ -47,3 +49,3 @@

const data = fs.readFileSync('node_modules/.rolldown/<session_id>/logs.json', 'utf8');
const data = fs.readFileSync('<cwd>/node_modules/.rolldown/<session_id>/logs.json', 'utf8');
const actionEvents = parseToEvents(data.trim()).filter(isActionEvent);

@@ -50,0 +52,0 @@ const buildId = actionEvents.at(-1)?.build_id;