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

@tapjs/config

Package Overview
Dependencies
Maintainers
2
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tapjs/config - npm Package Compare versions

Comparing version 2.4.15 to 2.4.16

13

dist/commonjs/index.d.ts

@@ -81,5 +81,3 @@ /**

short: string;
description: string; /**
* Load configuration fields exported by active plugins
*/
description: string;
nodeArgs: (v: boolean) => string[];

@@ -89,6 +87,3 @@ } & {

short?: string | undefined;
default?: boolean | undefined; /**
* load the file, and write the fields in data. If the file is not present,
* create it.
*/
default?: boolean | undefined;
description?: string | undefined;

@@ -159,5 +154,3 @@ hint?: undefined;

short?: string | undefined;
default?: boolean | undefined; /**
* Read configuration from a yaml .taprc file
*/
default?: boolean | undefined;
description?: string | undefined;

@@ -164,0 +157,0 @@ hint?: undefined;

@@ -93,3 +93,11 @@ "use strict";

get(k) {
return this.parse().values[k];
const value = this.parse().values[k];
// special case: if --disable-coverage is set, then default
// --allow-empty-coverage to true, so we don't get unuseful failures.
if (k === 'allow-empty-coverage' && value === undefined) {
const disabled = this.get('disable-coverage');
if (disabled)
return true;
}
return value;
}

@@ -96,0 +104,0 @@ /**

@@ -401,4 +401,5 @@ "use strict";

This will always result in a \`# No coverage generated\`
message being printed, and will cause the test run to exit
in error unless \`allow-empty-coverage\` is also set.
message being printed. If this flag is set, then
\`--allow-empty-coverage\` will default to \`true\`,
because we do not expect to get any coverage.

@@ -405,0 +406,0 @@ WARNING: tests that do not produce coverage are

@@ -1,1 +0,3 @@

{"type":"commonjs"}
{
"type": "commonjs"
}

@@ -81,5 +81,3 @@ /**

short: string;
description: string; /**
* Load configuration fields exported by active plugins
*/
description: string;
nodeArgs: (v: boolean) => string[];

@@ -89,6 +87,3 @@ } & {

short?: string | undefined;
default?: boolean | undefined; /**
* load the file, and write the fields in data. If the file is not present,
* create it.
*/
default?: boolean | undefined;
description?: string | undefined;

@@ -159,5 +154,3 @@ hint?: undefined;

short?: string | undefined;
default?: boolean | undefined; /**
* Read configuration from a yaml .taprc file
*/
default?: boolean | undefined;
description?: string | undefined;

@@ -164,0 +157,0 @@ hint?: undefined;

@@ -87,3 +87,11 @@ /**

get(k) {
return this.parse().values[k];
const value = this.parse().values[k];
// special case: if --disable-coverage is set, then default
// --allow-empty-coverage to true, so we don't get unuseful failures.
if (k === 'allow-empty-coverage' && value === undefined) {
const disabled = this.get('disable-coverage');
if (disabled)
return true;
}
return value;
}

@@ -90,0 +98,0 @@ /**

@@ -399,4 +399,5 @@ /**

This will always result in a \`# No coverage generated\`
message being printed, and will cause the test run to exit
in error unless \`allow-empty-coverage\` is also set.
message being printed. If this flag is set, then
\`--allow-empty-coverage\` will default to \`true\`,
because we do not expect to get any coverage.

@@ -403,0 +404,0 @@ WARNING: tests that do not produce coverage are

@@ -1,1 +0,3 @@

{"type":"module"}
{
"type": "module"
}
{
"name": "@tapjs/config",
"version": "2.4.15",
"version": "2.4.16",
"description": "Utility loading and managing tap configuration",

@@ -47,9 +47,9 @@ "tshy": {

"walk-up-path": "^3.0.1",
"@tapjs/core": "1.5.0",
"@tapjs/test": "1.4.0",
"@tapjs/core": "1.5.1",
"@tapjs/test": "1.4.1",
"tap-yaml": "2.2.1"
},
"peerDependencies": {
"@tapjs/core": "1.5.0",
"@tapjs/test": "1.4.0"
"@tapjs/core": "1.5.1",
"@tapjs/test": "1.4.1"
},

@@ -56,0 +56,0 @@ "tap": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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