Socket
Socket
Sign inDemoInstall

@snyk/cli-interface

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@snyk/cli-interface - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

index.d.ts

6

package.json

@@ -11,3 +11,5 @@ {

"files": [
"**/*.ts"
"**/*.d.ts",
"**/*.js",
"**/*.js.map"
],

@@ -29,3 +31,3 @@ "scripts": {

},
"version": "2.0.0"
"version": "2.0.1"
}

@@ -8,3 +8,18 @@ # snyk-cli-interface

This library should be only imported from Typescript.
As such, the `npm` package is containing the `.ts` files
(not the compiled `dist` directory).
The types can be imported in one of the following ways:
* whole sub-module import from the top level
import { legacyPlugin as api } from '@snyk/cli-interface';
// use api.InspectOptions
* "deep import" (discouraged but possible)
import { InspectOptions } from '@snyk/cli-interface/legacy/plugin';
The `npm` package does not follow the usual Snyk convention and
exports the build files in the root directory, not in dist, to enable "deep imports".
We still have to publish the package using the compiled files, because many tools in Node.js
ecosystem assume that published libraries should be always in Javascript.
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