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

json-mock-server

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-mock-server - npm Package Compare versions

Comparing version 0.0.1-alpha.3 to 0.0.1-alpha.4

4

cli.js

@@ -19,5 +19,5 @@ #!/usr/bin/env node

try {
config = require(path.join(__dirname, filePath));
config = require(path.join(process.cwd(), filePath));
} catch(err) {
console.log(chalk.red('[ERROR json-mock-server] - Could not resolve path:'), chalk.yellow(`"${path.join(__dirname, filePath)}"`));
console.log(chalk.red('[ERROR json-mock-server] - Could not resolve path:'), chalk.yellow(`"${path.join(process.cwd(), filePath)}"`));
if (commander.config === defaultConfig) {

@@ -24,0 +24,0 @@ console.log(chalk.red('Default config file could not be found. To specify a filepath use `--config`'));

{
"name": "json-mock-server",
"version": "0.0.1-alpha.3",
"version": "0.0.1-alpha.4",
"description": "Simple server with routes described as a JSON object",

@@ -5,0 +5,0 @@ "bin": {

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