Socket
Socket
Sign inDemoInstall

@r35007/mock-server

Package Overview
Dependencies
226
Maintainers
1
Versions
108
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2345
11Next

19.1.0

Diff

Changelog

Source

v19.1.0

  • Added - Added _group in param. Helps to filter data list by group.
  • Fixed - Route param filter issue.
  • Updated - README.md
r35007
published 19.0.0 •

Changelog

Source

v19.0.0

  • Modified - Optimized code.
  • Added - Added .json5 and .jsonc file support.
  • Added - JSDoc
r35007
published 18.1.1 •

Changelog

Source

v18.1.1

  • Fixed - Home Page sample db route issue.
  • Updated - Readme file.
r35007
published 18.1.0 •

Changelog

Source

v18.1.0

  • Added - /_db?_config=true - Gives you only db route configs without any mock or fetch data.
  • Fixed - sample server.js throws error on file change issue fixed.
  • modified - optimized the CRUD operations on the route.
r35007
published 18.0.1 •

Changelog

Source

v18.0.1

  • Added - mock-server --init - Generates sample server files
  • Added - cosmiconfig package which helps get use config file in different names. Now we can use .mockserverrc<.js|.cjs|.json>, .mock-serverrc<.js|.cjs|.json>, mockserver.config<.js|.cjs|.json> or mock-server.config<.js|.cjs|.json> as a config file name.
  • Added - withHelperWrappers method to wrap user middlewares with helper middlewares.
  • Added - eslint and prettier for code standardizations.
  • Fixed - test case issues.
r35007
published 18.0.0 •

r35007
published 17.1.0 •

Changelog

Source

v17.1.0

  • Fixed - Crud Operation and Search Operation issue fixed.
r35007
published 17.0.1 •

Changelog

Source

v17.0.1

  • Fixed - Api not returning response by given param id issue fixed.
r35007
published 17.0.0 •

Changelog

Source

v17.0.0

  • Removed - expose of _CrudOperation and _AdvancedSearch middlewares and removed and added implicitly. Now all of our routes can have the CRUD operations and Advanced Search
  • Modified - Only express.static() method is used as app.use() and all other routes with directUse: true is used using app.all().
  • Modified - Now in createExpressApp and launchServer method an additional param is added where we can pass our own express app (express()) as an optional param the sets to the mockServer app instance.
r35007
published 16.1.0 •

Changelog

Source

v16.1.0

  • Fixed - Restarting server on file change event takes long time issue fixed.
  • Fixed - On Calling next method in direct use of a middleware sends empty object issue fixed.
  • Modified - CLI optimized.
2345
11Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc