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

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 1.0.0-beta.0 to 1.0.0-beta.1

2

lib/app.js

@@ -87,3 +87,3 @@ import { dirname, isAbsolute, join } from 'node:path';

const { name = '', id = '' } = req.params;
res.locals['data'] = await service.destroyById(name, id, req.query['dependent']);
res.locals['data'] = await service.destroyById(name, id, req.query['_dependent']);
next();

@@ -90,0 +90,0 @@ });

{
"name": "json-server",
"version": "1.0.0-beta.0",
"version": "1.0.0-beta.1",
"description": "",

@@ -29,17 +29,17 @@ "type": "module",

"repository": {
"type": "git",
"url": "git+https://github.com/typicode/json-server.git"
},
"type": "git",
"url": "git+https://github.com/typicode/json-server.git"
},
"devDependencies": {
"@sindresorhus/tsconfig": "^5.0.0",
"@tailwindcss/typography": "^0.5.10",
"@types/node": "^20.11.7",
"@typicode/eslint-config": "^1.2.0",
"@tailwindcss/typography": "^0.5.13",
"@types/node": "^20.14.1",
"@typicode/eslint-config": "^2.0.0",
"concurrently": "^8.2.2",
"get-port": "^7.0.0",
"husky": "^9.0.6",
"get-port": "^7.1.0",
"husky": "^9.0.11",
"tempy": "^3.1.0",
"tsx": "^4.7.0",
"type-fest": "^4.10.1",
"typescript": "^5.3.3"
"tsx": "^4.11.2",
"type-fest": "^4.18.3",
"typescript": "^5.4.5"
},

@@ -50,5 +50,5 @@ "dependencies": {

"chalk": "^5.3.0",
"chokidar": "^3.5.3",
"dot-prop": "^8.0.2",
"eta": "^3.2.0",
"chokidar": "^3.6.0",
"dot-prop": "^9.0.0",
"eta": "^3.4.0",
"inflection": "^3.0.0",

@@ -55,0 +55,0 @@ "json5": "^2.2.3",

@@ -80,11 +80,20 @@ # json-server

| Sponsors |
| :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
| <a href="https://mockend.com/" target="_blank"><img src="https://jsonplaceholder.typicode.com/mockend.svg" height="80px"></a> |
| <a href="https://www.storyblok.com/" target="_blank"><img src="https://github.com/typicode/json-server/assets/5502029/c6b10674-4ada-4616-91b8-59d30046b45a" height="40px"></a> |
| <a href="https://betterstack.com/" target="_blank"><img src="https://github.com/typicode/json-server/assets/5502029/44679f8f-9671-470d-b77e-26d90b90cbdc" height="40px"></a> |
| <a href="https://www.globalsoftwarecompanies.com" target="_blank"><img src="https://github.com/typicode/json-server/assets/5502029/d0bb2e9b-9b74-4d91-9c9e-f3c87e152918" height="40px"></a> |
| <a href="https://beeceptor.com/?utm_source=json-server"><img src="https://github.com/typicode/json-server/assets/5502029/57b852a6-60b9-426b-986e-a148e82783c2" height="40px"></a> |
| Sponsors |
| :---: |
| <a href="https://mockend.com/" target="_blank"><img src="https://jsonplaceholder.typicode.com/mockend.svg" height="100px"></a> |
| <a href="https://zuplo.link/json-server-gh"><picture><source media="(prefers-color-scheme: dark)" srcset="https://github.com/typicode/json-server/assets/5502029/bb7abea9-fc54-4612-b7ab-0221c60b8ac7"><img alt="scalar" src="https://github.com/typicode/json-server/assets/5502029/51f5afed-7ba0-41bf-b9f2-ef9d8ab9dff7"></picture></a> |
| Sponsors |
| :---: |
| <a href="https://konghq.com/products/kong-konnect/register?utm_medium=referral&utm_source=github&utm_campaign=platform&utm_content=json-server"><img src="https://github.com/typicode/json-server/assets/5502029/e8d8ecb2-3c45-4f60-92d0-a060b820fa7f" height="75px"></a> |
| Sponsors | |
| :---: | :---: |
| <a href="https://www.storyblok.com/" target="_blank"><img src="https://github.com/typicode/json-server/assets/5502029/c6b10674-4ada-4616-91b8-59d30046b45a" height="35px"></a> | <a href="https://betterstack.com/" target="_blank"><img src="https://github.com/typicode/json-server/assets/5502029/44679f8f-9671-470d-b77e-26d90b90cbdc" height="35px"></a> |
| <a href="https://www.globalsoftwarecompanies.com" target="_blank"><img src="https://github.com/typicode/json-server/assets/5502029/d0bb2e9b-9b74-4d91-9c9e-f3c87e152918" height="35px"></a> | <a href="https://beeceptor.com/?utm_source=json-server"><img src="https://github.com/typicode/json-server/assets/5502029/57b852a6-60b9-426b-986e-a148e82783c2" height="35px"></a> |
[Become a sponsor and have your company logo here](https://github.com/users/typicode/sponsorship)

@@ -91,0 +100,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