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

@syntest/module

Package Overview
Dependencies
Maintainers
4
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@syntest/module - npm Package Compare versions

Comparing version 0.1.2-beta.1 to 0.2.0-beta.0

20

dist/lib/util/Configuration.d.ts
import { LoggingOptions } from "@syntest/logging";
import Yargs = require("yargs");
export type GeneralOptions = {
config: string;
import yargs = require("yargs");
export type BaseOptions = PresetOptions & LoggingOptions & ModuleOptions;
export declare enum OptionGroups {
General = "General Options:",
Module = "Module Options:"
}
export type PresetOptions = {
preset: string;

@@ -10,12 +14,4 @@ };

};
export type BaseOptions = GeneralOptions & LoggingOptions & ModuleOptions;
export declare enum OptionGroups {
General = "General Options:",
Module = "Module Options:"
}
export declare const Configuration: {
configureUsage(): Yargs.Argv<{}>;
configureOptions(yargs: Yargs.Argv): Yargs.Argv<{
config: string;
} & {
configureOptions(yargs: yargs.Argv<{}>): yargs.Argv<{
preset: string;

@@ -22,0 +18,0 @@ } & {

17

dist/lib/util/Configuration.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Configuration = exports.OptionGroups = void 0;
const Yargs = require("yargs");
var OptionGroups;

@@ -11,20 +10,6 @@ (function (OptionGroups) {

exports.Configuration = {
configureUsage() {
return (Yargs.usage(`Usage: syntest <tool> <command> [options]`)
// TODO examples
.epilog("visit https://syntest.org for more documentation"));
},
configureOptions(yargs) {
return yargs
.option("config", {
alias: ["c"],
default: ".syntest.json",
description: "The syntest configuration file",
group: OptionGroups.General,
hidden: false,
config: true,
type: "string",
})
.option("preset", {
alias: [],
alias: ["p"],
default: "none",

@@ -31,0 +16,0 @@ description: "The preset you want to use",

{
"name": "@syntest/module",
"version": "0.1.2-beta.1",
"version": "0.2.0-beta.0",
"description": "SynTest library for a modular and extendable ecosystem",

@@ -45,12 +45,12 @@ "keywords": [

"prepack": "cp ../../LICENSE ./ && cp ../../NOTICE ./",
"test": "mocha --config ../../.mocharc.json",
"test:coverage": "nyc --reporter=text --reporter=html mocha --config ../../.mocharc.json",
"test:coverage:ci": "nyc --reporter=lcovonly mocha --config ../../.mocharc.json --reporter json --reporter-option output=test-results.json",
"test:watch": "mocha --config ../../.mocharc.json --watch"
"test": "echo 'no tests'",
"test:coverage": "echo 'no tests'",
"test:coverage:ci": "echo 'no tests'",
"test:watch": "echo 'no tests'"
},
"dependencies": {
"@syntest/cli-graphics": "^0.2.1-beta.1",
"@syntest/logging": "^0.1.2-beta.1",
"@syntest/metric": "^0.1.2-beta.1",
"@syntest/storage": "^0.2.1-beta.1",
"@syntest/cli-graphics": "^0.2.1-beta.2",
"@syntest/logging": "^0.2.0-beta.0",
"@syntest/metric": "^0.1.2-beta.2",
"@syntest/storage": "^0.3.0-beta.0",
"global-modules": "2.0.0",

@@ -65,3 +65,3 @@ "yargs": "^17.7.1"

},
"gitHead": "fde9b03d42f12281adcc328da801449c10b3bed7"
"gitHead": "dd7d752f1c013624d0d040f3c9156128136915db"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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