Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details โ†’
Socket
Book a DemoInstallSign in
Socket

sonda

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sonda - npm Package Compare versions

Comparing version
0.10.0
to
0.10.1
+2
-4
bin/sonda-angular.js

@@ -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

# 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 @@

@@ -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 @@ };

{
"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