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

@oclif/test

Package Overview
Dependencies
Maintainers
3
Versions
157
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@oclif/test - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

8

CHANGELOG.md

@@ -0,1 +1,9 @@

<a name="1.0.3"></a>
## [1.0.3](https://github.com/oclif/test/compare/ad5d869d3ca7afb926f0fbbefc8d92b6c4f1a7ba...v1.0.3) (2018-04-06)
### Bug Fixes
* fixed exit ([97986a4](https://github.com/oclif/test/commit/97986a4))
<a name="1.0.2"></a>

@@ -2,0 +10,0 @@ ## [1.0.2](https://github.com/oclif/test/compare/65323ebfc55d4c13fb9e4bef2b961a4bc8065a4b...v1.0.2) (2018-04-06)

3

lib/exit.d.ts
declare const _default: (code?: number) => {
run(): never;
catch(ctx: {
error: Error;
}): void;
};
export default _default;

7

lib/exit.js

@@ -13,4 +13,7 @@ "use strict";

chai_1.expect(process.exitCode).to.equal(code);
throw new Error(`Expected hook to exit with code ${code} but it ran without exiting`);
}
throw new Error(`Expected to exit with code ${code} but it ran without exiting`);
},
catch(ctx) {
chai_1.expect(ctx.error.message).to.equal(`EEXIT: ${code}`);
},
});

@@ -110,3 +110,5 @@ import * as Config from '@oclif/config';

exit: {
output: {};
output: {
error: Error;
};
a1: number;

@@ -113,0 +115,0 @@ a2: {};

{
"name": "@oclif/test",
"description": "test helpers for oclif components",
"version": "1.0.2",
"version": "1.0.3",
"author": "Jeff Dickey @jdxcode",

@@ -11,3 +11,3 @@ "bugs": "https://github.com/oclif/test/issues",

"devDependencies": {
"@oclif/command": "^1.4.6",
"@oclif/command": "^1.4.7",
"@oclif/config": "^1.3.62",

@@ -14,0 +14,0 @@ "@oclif/errors": "^1.0.3",

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