@@ -26,5 +26,6 @@ #!/usr/bin/env node | ||
| exclude: { type: 'string', multiple: true }, | ||
| format: { type: 'string' }, | ||
| format: { type: 'string', multiple: true }, | ||
| filename: { type: 'string' }, | ||
| outputDir: { type: 'string' }, | ||
| open: { type: 'string' }, | ||
| 'no-open': { type: 'boolean' }, | ||
@@ -36,5 +37,2 @@ deep: { type: 'boolean' }, | ||
| }, | ||
| // Skip `node sonda-angular` | ||
| args: process.argv.slice( 2 ), | ||
@@ -41,0 +39,0 @@ // Fail when unknown argument is used |
+7
-0
| # Changelog | ||
| ## 0.10.1 | ||
| ### Patch Changes | ||
| - fd2b4e2: Update the `--format` and `--open` options in the Angular CLI integration to align with changes introduced in v0.10. | ||
| - 56a53dd: Correctly resolve path to the `index.html` template when Sonda is bundled by a consuming project. | ||
| ## 0.10.0 | ||
@@ -4,0 +11,0 @@ |
+3
-2
@@ -6,2 +6,3 @@ import { styleText } from "util"; | ||
| import open from "open"; | ||
| import { fileURLToPath } from "url"; | ||
| import { brotliCompressSync, gzipSync } from "zlib"; | ||
@@ -174,3 +175,3 @@ import { existsSync, readFileSync, statSync } from "fs"; | ||
| //#region package.json | ||
| var version = "0.10.0"; | ||
| var version = "0.10.1"; | ||
@@ -226,3 +227,3 @@ //#endregion | ||
| async parse(data) { | ||
| return (await readFile(resolve(import.meta.dirname, "./index.html"), "utf-8")).replace("__REPORT_DATA__", gzipSync(JSON.stringify(data)).toString("base64")); | ||
| return (await readFile(resolve(dirname(fileURLToPath(import.meta.resolve("sonda"))), "./index.html"), "utf-8")).replace("__REPORT_DATA__", gzipSync(JSON.stringify(data)).toString("base64")); | ||
| } | ||
@@ -229,0 +230,0 @@ }; |
+1
-1
| { | ||
| "name": "sonda", | ||
| "version": "0.10.0", | ||
| "version": "0.10.1", | ||
| "description": "Universal bundle analyzer and visualizer that works with most popular bundlers and frameworks.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is too big to display
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
290988
0.11%