Socket
Socket
Sign inDemoInstall

json-server

Package Overview
Dependencies
Maintainers
1
Versions
154
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-server - npm Package Compare versions

Comparing version 0.16.0 to 0.16.1

public/favicon.ico

2

lib/server/defaults.js

@@ -21,3 +21,3 @@ "use strict";

const userDir = path.join(process.cwd(), 'public');
const defaultDir = path.join(__dirname, '../front');
const defaultDir = path.join(__dirname, '../../public');
const staticDir = fs.existsSync(userDir) ? userDir : defaultDir;

@@ -24,0 +24,0 @@ opts = Object.assign({

{
"name": "json-server",
"version": "0.16.0",
"version": "0.16.1",
"description": "Get a full fake REST API with zero coding in less than 30 seconds",

@@ -5,0 +5,0 @@ "main": "./lib/server/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