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

@statoscope/config

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@statoscope/config - npm Package Compare versions

Comparing version 5.27.0 to 5.28.1

2

dist/index.d.ts
import { Config } from '@statoscope/types/types/config';
export declare type RequiredConfig = {
export type RequiredConfig = {
path: string;

@@ -4,0 +4,0 @@ config: Config;

import { ReporterConfig } from '@statoscope/types/types/validation/config';
import { Reporter } from '@statoscope/types/types/validation/reporter';
export declare type ReporterConstructor<TOptions> = {
export type ReporterConstructor<TOptions> = {
new (options?: TOptions): Reporter;
};
export declare function makeReporterInstance(item: ReporterConfig, rootDir: string): Reporter;

@@ -14,3 +14,3 @@ "use strict";

PackageAliasType["REPORTER"] = "REPORTER";
})(PackageAliasType = exports.PackageAliasType || (exports.PackageAliasType = {}));
})(PackageAliasType || (exports.PackageAliasType = PackageAliasType = {}));
function normalizePath(source, rootDir) {

@@ -61,6 +61,5 @@ return source.replace('<rootDir>', rootDir);

}
const greyChalk = chalk_1.default.bgKeyword('grey');
errorMessage += 'Try installing the package locally:\n';
errorMessage += `- with ${italicChalk('npm')}: ${greyChalk('npm i -D ' + providedAlias)} (or corresponding package alias)\n`;
errorMessage += `- with ${italicChalk('yarn')}: ${greyChalk('yarn add -D ' + providedAlias)} (or corresponding package alias)\n`;
errorMessage += `- with ${italicChalk('npm')}: ${chalk_1.default.bgGrey('npm i -D ' + providedAlias)} (or corresponding package alias)\n`;
errorMessage += `- with ${italicChalk('yarn')}: ${chalk_1.default.bgGrey('yarn add -D ' + providedAlias)} (or corresponding package alias)\n`;
return errorMessage;

@@ -67,0 +66,0 @@ }

{
"name": "@statoscope/config",
"version": "5.27.0",
"version": "5.28.1",
"description": "Statoscope config utils",

@@ -10,4 +10,3 @@ "main": "./dist/index.js",

"scripts": {
"build": "../../node_modules/.bin/tsc",
"prepublishOnly": "npm run build"
"build": "../../node_modules/.bin/tsc"
},

@@ -22,6 +21,6 @@ "repository": "https://github.com/statoscope/statoscope.git",

"dependencies": {
"@statoscope/types": "5.27.0",
"@statoscope/types": "5.28.1",
"chalk": "^4.1.2"
},
"gitHead": "9fbcea0159a2e50316d9618c73b312fd41091a79"
"gitHead": "a89f68a6251a1c914791e22b643dd94ca2a70253"
}
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