@oclif/test
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -0,1 +1,8 @@ | ||
## [1.2.1](https://github.com/oclif/test/compare/v1.2.0...v1.2.1) (2018-09-14) | ||
### Bug Fixes | ||
* require arguments to hook and command ([38982b5](https://github.com/oclif/test/commit/38982b5)) | ||
# [1.2.0](https://github.com/oclif/test/compare/9af539d38f45f813f825a918baebfee17f9440dc...v1.2.0) (2018-08-17) | ||
@@ -2,0 +9,0 @@ |
import * as Config from '@oclif/config'; | ||
import { loadConfig } from './load-config'; | ||
export declare function command(args: string[] | string | undefined, opts?: loadConfig.Options): { | ||
export declare function command(args: string[] | string, opts?: loadConfig.Options): { | ||
run(ctx: { | ||
@@ -5,0 +5,0 @@ config: Config.IConfig; |
import * as Config from '@oclif/config'; | ||
import { loadConfig } from './load-config'; | ||
declare const _default: (event?: string | undefined, hookOpts?: object, options?: loadConfig.Options) => { | ||
declare const _default: (event: string, hookOpts?: object, options?: loadConfig.Options) => { | ||
run(ctx: { | ||
@@ -5,0 +5,0 @@ config: Config.IConfig; |
@@ -8,6 +8,3 @@ import * as Config from '@oclif/config'; | ||
output: {}; | ||
a1: {}; | ||
a2: {}; | ||
a3: {}; | ||
a4: {}; | ||
args: []; | ||
}; | ||
@@ -17,6 +14,3 @@ } & { | ||
output: {}; | ||
a1: {}; | ||
a2: {}; | ||
a3: {}; | ||
a4: {}; | ||
args: []; | ||
}; | ||
@@ -26,6 +20,3 @@ } & { | ||
output: {}; | ||
a1: number; | ||
a2: {}; | ||
a3: {}; | ||
a4: {}; | ||
args: [number]; | ||
}; | ||
@@ -37,8 +28,5 @@ } & { | ||
}; | ||
a1: string | RegExp | ((err: Error) => any); | ||
a2: { | ||
args: [string | RegExp | ((err: Error) => any), ({ | ||
raiseIfNotThrown?: boolean | undefined; | ||
}; | ||
a3: {}; | ||
a4: {}; | ||
} | undefined)?]; | ||
}; | ||
@@ -48,8 +36,5 @@ } & { | ||
output: {}; | ||
a1: { | ||
args: [{ | ||
[k: string]: string | null | undefined; | ||
}; | ||
a2: FancyTypes.EnvOptions; | ||
a3: {}; | ||
a4: {}; | ||
}, (FancyTypes.EnvOptions | undefined)?]; | ||
}; | ||
@@ -61,6 +46,3 @@ } & { | ||
}; | ||
a1: any; | ||
a2: string; | ||
a3: any; | ||
a4: {}; | ||
args: any[]; | ||
}; | ||
@@ -70,6 +52,3 @@ } & { | ||
output: {}; | ||
a1: string; | ||
a2: number; | ||
a3: {}; | ||
a4: {}; | ||
args: [string, (number | undefined)?]; | ||
}; | ||
@@ -81,9 +60,6 @@ } & { | ||
}; | ||
a1: { | ||
args: [({ | ||
print?: boolean | undefined; | ||
stripColor?: boolean | undefined; | ||
}; | ||
a2: {}; | ||
a3: {}; | ||
a4: {}; | ||
} | undefined)?]; | ||
}; | ||
@@ -95,9 +71,6 @@ } & { | ||
}; | ||
a1: { | ||
args: [({ | ||
print?: boolean | undefined; | ||
stripColor?: boolean | undefined; | ||
}; | ||
a2: {}; | ||
a3: {}; | ||
a4: {}; | ||
} | undefined)?]; | ||
}; | ||
@@ -110,8 +83,12 @@ } & { | ||
}; | ||
a1: string; | ||
a2: FancyTypes.NockOptions | FancyTypes.NockCallback; | ||
a3: FancyTypes.NockCallback; | ||
a4: {}; | ||
args: [string, FancyTypes.NockOptions | FancyTypes.NockCallback, (FancyTypes.NockCallback | undefined)?]; | ||
}; | ||
} & { | ||
timeout: { | ||
output: { | ||
timeout: number; | ||
}; | ||
args: [(number | undefined)?]; | ||
}; | ||
} & { | ||
loadConfig: { | ||
@@ -121,6 +98,3 @@ output: { | ||
}; | ||
a1: loadConfig.Options; | ||
a2: {}; | ||
a3: {}; | ||
a4: {}; | ||
args: [(loadConfig.Options | undefined)?]; | ||
}; | ||
@@ -133,6 +107,3 @@ } & { | ||
}; | ||
a1: string | string[]; | ||
a2: loadConfig.Options; | ||
a3: {}; | ||
a4: {}; | ||
args: [string | string[], (loadConfig.Options | undefined)?]; | ||
}; | ||
@@ -144,6 +115,3 @@ } & { | ||
}; | ||
a1: number; | ||
a2: {}; | ||
a3: {}; | ||
a4: {}; | ||
args: [(number | undefined)?]; | ||
}; | ||
@@ -156,6 +124,3 @@ } & { | ||
}; | ||
a1: string; | ||
a2: object; | ||
a3: loadConfig.Options; | ||
a4: {}; | ||
args: [string, (object | undefined)?, (loadConfig.Options | undefined)?]; | ||
}; | ||
@@ -162,0 +127,0 @@ }>; |
{ | ||
"name": "@oclif/test", | ||
"description": "test helpers for oclif components", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"author": "Jeff Dickey @jdxcode", | ||
"bugs": "https://github.com/oclif/test/issues", | ||
"dependencies": { | ||
"fancy-test": "^1.3.0" | ||
"fancy-test": "^1.4.1" | ||
}, | ||
"devDependencies": { | ||
"@oclif/command": "^1.5.0", | ||
"@oclif/config": "^1.7.0", | ||
"@oclif/config": "^1.7.6", | ||
"@oclif/errors": "^1.2.0", | ||
"@oclif/tslint": "^2.0.0", | ||
"@oclif/tslint": "^3.1.0", | ||
"@types/chai": "^4.1.4", | ||
"@types/mocha": "^5.2.5", | ||
"@types/node": "^10.7.1", | ||
"@types/node": "^10.9.4", | ||
"chai": "^4.1.2", | ||
@@ -23,3 +23,3 @@ "globby": "^8.0.1", | ||
"tslint": "^5.11.0", | ||
"typescript": "3.0.1" | ||
"typescript": "3.0.3" | ||
}, | ||
@@ -26,0 +26,0 @@ "engines": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
27829
274
Updatedfancy-test@^1.4.1