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

simpler-mocks

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simpler-mocks - npm Package Compare versions

Comparing version 1.6.4 to 1.6.5

2

package.json
{
"name": "simpler-mocks",
"version": "1.6.4",
"version": "1.6.5",
"description": "REST API mock server made simple. Runs on Node with YAML and JSON mock definitions.",

@@ -5,0 +5,0 @@ "keywords": [

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

// exit gracefully
process.on('SIGINT', process.exit)
process.on('SIGTERM', process.exit)
function exit(signal) {
console.log(`Received signal: ${signal}, exiting`)
process.exit(0)
}
process.on('SIGINT', exit)
process.on('SIGTERM', exit)

@@ -43,4 +43,4 @@ const Koa = require('koa')

const instance = koa.listen(port, function() {
console.log(`Simpler-Mocks running at: http://localhost:${this.address().port}`)
console.log('Serving files from: ', cache.mocksDirectory)
console.log(`\nSimpler-Mocks running at: http://localhost:${this.address().port}`)
console.log(`Serving files from: ${cache.mocksDirectory}\n`)
})

@@ -47,0 +47,0 @@

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