@code-pushup/core
Advanced tools
Comparing version 0.8.6 to 0.8.7
18
index.js
// packages/core/src/lib/implementation/persist.ts | ||
import { existsSync, mkdirSync } from "fs"; | ||
import { stat as stat2, writeFile } from "fs/promises"; | ||
import { join as join2 } from "path"; | ||
import { existsSync, mkdirSync } from "node:fs"; | ||
import { stat as stat2, writeFile } from "node:fs/promises"; | ||
import { join as join2 } from "node:path"; | ||
// packages/utils/src/lib/execute-process.ts | ||
import { spawn } from "child_process"; | ||
import { spawn } from "node:child_process"; | ||
// packages/utils/src/lib/report.ts | ||
import { join } from "path"; | ||
import { join } from "node:path"; | ||
@@ -553,7 +553,7 @@ // packages/models/src/lib/audit.ts | ||
import chalk from "chalk"; | ||
import { mkdir, readFile, readdir, stat } from "fs/promises"; | ||
import { mkdir, readFile, readdir, stat } from "node:fs/promises"; | ||
// packages/utils/src/lib/formatting.ts | ||
function slugify(text) { | ||
return text.trim().toLowerCase().replace(/\s+|\//g, "-").replace(/[^a-z0-9-]/g, ""); | ||
return text.trim().toLowerCase().replace(/\s+|\//g, "-").replace(/[^a-z\d-]/g, ""); | ||
} | ||
@@ -1526,3 +1526,3 @@ function formatBytes(bytes, decimals = 2) { | ||
// packages/core/src/lib/implementation/runner.ts | ||
import { join as join3 } from "path"; | ||
import { join as join3 } from "node:path"; | ||
async function executeRunnerConfig(cfg, onProgress) { | ||
@@ -1638,3 +1638,3 @@ const { args, command, outputFile, outputTransform } = cfg; | ||
var name = "@code-pushup/core"; | ||
var version = "0.8.6"; | ||
var version = "0.8.7"; | ||
@@ -1641,0 +1641,0 @@ // packages/core/src/lib/implementation/collect.ts |
{ | ||
"name": "@code-pushup/core", | ||
"version": "0.8.6", | ||
"version": "0.8.7", | ||
"dependencies": { | ||
@@ -5,0 +5,0 @@ "@code-pushup/models": "*", |
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 2 instances in 1 package
77378
0
0