Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@statoscope/cli

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@statoscope/cli - npm Package Compare versions

Comparing version 5.7.3 to 5.8.0-alpha.0

1

dist/commands/legacyWebpackValidator.js

@@ -9,3 +9,2 @@ "use strict";

const path_1 = __importDefault(require("path"));
// @ts-ignore
const json_ext_1 = require("@discoveryjs/json-ext");

@@ -12,0 +11,0 @@ const webpack_model_1 = require("@statoscope/webpack-model");

11

dist/utils.js

@@ -9,6 +9,15 @@ "use strict";

const os_1 = __importDefault(require("os"));
const fs_1 = __importDefault(require("fs"));
const utils_1 = require("@statoscope/report-writer/dist/utils");
const json_ext_1 = require("@discoveryjs/json-ext");
const normalizeCompilation_1 = __importDefault(require("@statoscope/webpack-model/dist/normalizeCompilation"));
async function transform(from, to) {
const id = path_1.default.basename(from[0], '.json');
const reportPath = to || path_1.default.join(os_1.default.tmpdir(), `statoscope-report-${id}-${Date.now()}.html`);
const normalizedFrom = [];
for (const item of from) {
const parsed = await json_ext_1.parseChunked(fs_1.default.createReadStream(item));
normalizeCompilation_1.default(parsed);
normalizedFrom.push({ type: 'data', filename: item, data: parsed });
}
return utils_1.transform({

@@ -21,5 +30,5 @@ writer: {

},
}, from, reportPath);
}, normalizedFrom, reportPath);
}
exports.transform = transform;
//# sourceMappingURL=utils.js.map
{
"name": "@statoscope/cli",
"version": "5.7.3",
"version": "5.8.0-alpha.0",
"description": "Statoscope CLI tools",

@@ -23,12 +23,12 @@ "scripts": {

"dependencies": {
"@discoveryjs/json-ext": "^0.5.3",
"@discoveryjs/json-ext": "^0.5.5",
"@statoscope/config": "5.7.2",
"@statoscope/helpers": "5.7.1",
"@statoscope/report-writer": "5.7.1",
"@statoscope/stats-validator": "5.7.2",
"@statoscope/report-writer": "5.8.0-alpha.0",
"@statoscope/stats-validator": "5.8.0-alpha.0",
"@statoscope/stats-validator-reporter-console": "5.7.1",
"@statoscope/stats-validator-reporter-stats-report": "5.7.3",
"@statoscope/stats-validator-reporter-stats-report": "5.8.0-alpha.0",
"@statoscope/types": "5.7.1",
"@statoscope/webpack-model": "5.7.3",
"@statoscope/webpack-ui": "5.7.3",
"@statoscope/webpack-model": "5.8.0-alpha.0",
"@statoscope/webpack-ui": "5.8.0-alpha.0",
"@types/yargs": "^17.0.0",

@@ -38,3 +38,3 @@ "open": "^8.0.4",

},
"gitHead": "369a5bb0c86ca3efe2373921ebac6ad71c3ac7ab"
"gitHead": "8b9b91ff4d9f79a05141bbe5002c22f3648e6857"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc