Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions apps/frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion apps/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@
"js-yaml": "4.3.2",
"undici": "7.30.0",
"nanoid": "3.3.18",
"browserslist": "4.28.7"
"browserslist": "4.28.7",
"postcss-selector-parser": "7.1.6",
"source-map-js": "1.2.2"
}
}
13 changes: 7 additions & 6 deletions apps/marketing/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions apps/marketing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,9 @@
"typescript": "^5.5.4",
"typescript-eslint": "^8.67.0",
"vite": "^8.2.2"
},
"overrides": {
"postcss-selector-parser": "7.1.6",
"source-map-js": "1.2.2"
}
}
6 changes: 5 additions & 1 deletion scripts/dependency-audit.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,11 @@ function audit(extraArgs) {
const args = ['audit', '--json', '--prefix', 'apps/frontend', ...extraArgs];
let stdout;
try {
stdout = execFileSync('npm', args, { cwd: repoRoot, encoding: 'utf8', maxBuffer: 32 * 1024 * 1024 });
// npm is a .cmd shim on Windows, which execFileSync cannot launch
// directly. All arguments here are fixed internal strings.
stdout = process.platform === 'win32'
? execFileSync(process.env.ComSpec || 'cmd.exe', ['/d', '/s', '/c', `npm ${args.join(' ')}`], { cwd: repoRoot, encoding: 'utf8', maxBuffer: 32 * 1024 * 1024 })
: execFileSync('npm', args, { cwd: repoRoot, encoding: 'utf8', maxBuffer: 32 * 1024 * 1024 });
} catch (error) {
// npm audit exits non-zero when it finds anything; the report is still on
// stdout. A genuinely broken invocation produces no parseable JSON.
Expand Down
Loading