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

mongodb-stitch-cli

Package Overview
Dependencies
Maintainers
5
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongodb-stitch-cli - npm Package Compare versions

Comparing version 1.5.0 to 1.6.0

3

.gometalinter.json

@@ -10,2 +10,5 @@ {

"WarnUnmatchedDirective": true,
"Exclude": [
".*/mocks/.*"
],
"Enable": [

@@ -12,0 +15,0 @@ "staticcheck",

4

package.json
{
"name": "mongodb-stitch-cli",
"version": "1.5.0",
"version": "1.6.0",
"description": "The MongoDB Stitch Command Line Interface",

@@ -22,3 +22,3 @@ "repository": {

"dependencies": {
"request": "^2.87.0"
"request": "^2.88.0"
},

@@ -25,0 +25,0 @@ "devDependencies": {

@@ -59,1 +59,21 @@ # MongoDB Stitch CLI

```
### Mocks
A custom mock of `StitchClient` can be found in `utils/test/utils.go` which can be used for simple mocking of most `StitchClient` methods.
If you need more sophisticated mocking utilities (such as being able to mock calls to the same method more than once in a single test) you can use the [`gomock`](https://github.com/golang/mock) version found in `api/mocks/stitch_api.go`
To update the `gomock` version, simply install `gomock`:
```
go get github.com/golang/mock/gomock
go install github.com/golang/mock/mockgen
```
And run:
```
mockgen -source ./api/stitch_client.go -destination ./api/mocks/stitch_client.go
```
{
"version": "1.5.0",
"baseDirectory": "stitch_cli_rhel70_2e23144404525195539ba4e8e266ce196af1fced_19_06_18_17_28_29"
"version": "1.6.0",
"baseDirectory": "stitch_cli_rhel70_d565dea10a9b37a5d4f39c7c519ecdc85ba8d8cf_19_07_12_16_54_14"
}

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