New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

apimocka

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apimocka - npm Package Compare versions

Comparing version 0.9.0 to 0.9.1

2

lib/auth/login.js

@@ -17,3 +17,3 @@ const prompt = require('inquirer').prompt

store.set(config.storeKeys.token, token)
return logger.log('🔥 ' + message.green)
return logger.log(message.green)
}

@@ -20,0 +20,0 @@

@@ -19,5 +19,5 @@ const prompt = require('inquirer').prompt

store.delete(config.storeKeys.token)
logger.log('🔥 Successfully logged out!')
logger.log('Successfully logged out!')
}
return Promise.resolve(true)
}

@@ -16,3 +16,3 @@ const validate = require('../utils/validate')

const message = res.data.message
return logger.log('🔥 ' + message + '. Run '.green + 'apimocka login'.bold.green + ' to get started'.green)
return logger.log(message + '. Run '.green + 'apimocka login'.bold.green + ' to get started'.green)
}

@@ -19,0 +19,0 @@

@@ -17,3 +17,3 @@ #!/usr/bin/env node

program
.version('0.9.0')
.version('0.9.1')
.description('Mock API in seconds from your terminal')

@@ -20,0 +20,0 @@

@@ -29,3 +29,3 @@ const prompt = require('inquirer').prompt

console.log('-----')
console.log('🙌🏾 Project routes found'.green)
console.log('Project routes found'.green)
return serve(routes, input)

@@ -32,0 +32,0 @@ })

@@ -33,6 +33,6 @@ const express = require('express')

console.log('-----')
console.log(colors.green('🎉 Started local🏡 server with mock data on port ' + input.port))
console.log(colors.green('Started local🏡 server with mock data on port ' + input.port))
console.log('-----')
console.log(('👉🏽 http://localhost:' + input.port).green)
console.log(('http://localhost:' + input.port).green)
})
}

@@ -20,3 +20,3 @@ const axios = require('axios')

const successful = function (res) {
logger.log(('⛔️ ' + res.data.message).green)
logger.log((res.data.message).green)
}

@@ -23,0 +23,0 @@

@@ -21,3 +21,3 @@ const axios = require('axios')

logger.log('Mock created'.bold.green)
logger.log(('👉🏽 ' + config.api + '/' + res.data.url).green)
logger.log((config.api + '/' + res.data.url).green)
if (!res.data.premium) {

@@ -24,0 +24,0 @@ return logger.log('NOTE: Without a premium account, your mock requests will be throttled'.bold.italic.red)

{
"name": "apimocka",
"version": "0.9.0",
"version": "0.9.1",
"description": "Create quick hosted mock data from terminal",

@@ -5,0 +5,0 @@ "main": "index.js",

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