snyk-delta
Advanced tools
Comparing version 1.0.3 to 1.0.4
import 'source-map-support/register'; | ||
declare const run: (snykTestOutput?: string) => Promise<never>; | ||
export { run }; | ||
declare const getDelta: (snykTestOutput?: string) => Promise<never>; | ||
export { getDelta }; |
@@ -18,3 +18,3 @@ "use strict"; | ||
`; | ||
const run = async (snykTestOutput = '') => { | ||
const getDelta = async (snykTestOutput = '') => { | ||
const argv = utils.init(); | ||
@@ -101,6 +101,6 @@ const debug = utils.getDebugModule(); | ||
}; | ||
exports.run = run; | ||
exports.getDelta = getDelta; | ||
if (process.env.NODE_ENV != 'test') { | ||
run(); | ||
getDelta(); | ||
} | ||
//# sourceMappingURL=index.js.map |
@@ -5,5 +5,5 @@ { | ||
"main": "dist/index.js", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"bin": { | ||
"snykprevent": "dist/index.js" | ||
"snyk-delta": "dist/index.js" | ||
}, | ||
@@ -31,3 +31,3 @@ "scripts": { | ||
}, | ||
"author": "snyk.io", | ||
"author": "Snyk Tech Services", | ||
"license": "Apache-2.0", | ||
@@ -34,0 +34,0 @@ "engines": { |
@@ -22,4 +22,8 @@ ![Snyk logo](https://snyk.io/style/asset/logo/snyk-print.svg) | ||
## Installation | ||
Grab a binary of your choice from [the release page](https://github.com/snyk-tech-services/snyk-delta/releases) | ||
`npm i -g snyk-delta`\ | ||
or\ | ||
Grab a binary of your choice from [the release page](https://github.com/snyk-tech-services/snyk-delta/releases) | ||
## Usage | ||
@@ -40,1 +44,3 @@ ### 2 mode of operations | ||
## Usage as module | ||
Docs to be updated soon |
Sorry, the diff of this file is not supported yet
64222
44