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
Previous1
35
11Next

10.3.3

Diff

Changelog

Source

v10.3.3

  • Bug Fixes and code improvements
r35007
published 10.3.2 •

Changelog

Source

v10.3.2

  • CLI Snapshot not working issue fixed
r35007
published 10.3.1 •

Changelog

Source

v10.3.1

  • CLI file watcher fix
r35007
published 10.3.0 •

Changelog

Source

v10.3.0

  • CLI --config fix
r35007
published 10.2.0 •

Changelog

Source

v10.2.0

  • CLI improved. Please give mock-server --help in terminal for help
  • renamed - config.rootPath to config.root.
  • renamed - config.staticDir to config.static.
  • renamed - ignoreMiddlewareWrappers to directUse.
  • added - config.quiet to suppress console logs. The error logs will still show.
r35007
published 10.1.0 •

Changelog

Source

v10.1.0

  • fixed - CLI not working issue fixed.
  • improved Mock Server CLI.
  • added - --quite to prevent from printing messages through the console.
  • removed - --sample.
r35007
published 10.0.0 •

Changelog

Source

v10.0.0

  • reduced - Build size.

  • removed - createSampleFiles from utils.

  • renamed - config.root to config.rootPath.

  • added - bootstrap package for HomePage ui.

  • renamed - /_reset/db/:id? to /_reset/:id?.

  • added - /_routes in HomePage - Gives list of routes used by Mock Server.

  • updated - Following type in utility methods

    requireFile(
      directoryPath: string,
      { exclude, recursive, isList, onlyIndex }?: { exclude?: string[]; recursive?: boolean; isList?: boolean; onlyIndex?: boolean; }
    );
    
    getFilesList(
      directoryPath: string,
      { exclude, recursive, onlyIndex }?: { exclude?: string[]; recursive?: boolean; onlyIndex?: boolean;}
    ):PathDetails[];
    
    requireData(
      data?: any,
      { rootPath, isList, onlyIndex, recursive, exclude, }?: { exclude?: string[]; rootPath?: string; isList?: boolean; onlyIndex?: boolean; recursive?: boolean;}
    );
    
r35007
published 9.2.2 •

Changelog

Source

v9.2.2

  • Build Fix
r35007
published 9.2.1 •

Changelog

Source

v9.2.1

  • Build Fix
r35007
published 9.2.0 •

Changelog

Source

v9.2.0

  • added - log in options - If true it logs the details.
  • removed - mockServer in options from launchServer, resources and all Setters.
  • fixed - passing a method to set data requires a instance of the mockserver explicitly - Fixed
  • added - terminal spinners.
  • added - prefixed method in utils. Helps to add route prefix for all the all the routes in the given Db.
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