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

@discoveryjs/cli

Package Overview
Dependencies
Maintainers
0
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@discoveryjs/cli - npm Package Versions

23
8

2.13.1

Diff

Changelog

Source

2.13.1 (20-01-2025)

  • Fixed crash on build when model's data is used from a cache file (a regression introduced in 2.13.0)
lahmatiy
published 2.13.0 •

Changelog

Source

2.13.0 (18-01-2025)

  • Added --asset-names option for build command
  • Added --single-file-data option for build command
  • Changed the build process to write the generated data into a temporary file before proceeding with the remaining steps, allowing child processes to complete and freeing up memory
  • Fixed build when a model has no cached data and no --single-file option is used (the regression was added in 2.12.1)
  • Improved runScript() to output an error if the child process exits with a non-zero code or if stderr is not flushed after the result promise is resolved. This ensures error messages are not missed in cases where the child process crashes during model builds
  • Renamed the exposed model's data to model.data instead of data.json, reflecting that the data can be encoded in formats other than JSON
lahmatiy
published 2.12.1 •

Changelog

Source

2.12.1 (29-12-2024)

  • Improved server performance for data responses when streaming from the data child process (up to a 2x speed increase)
lahmatiy
published 2.12.0 •

Changelog

Source

2.12.0 (30-11-2024)

  • Added --exclude-model-on-data-fail option for build to exclude models from the result if their data generation fails, ignoring the failure instead of halting the build
  • Replaced darkmode option in config for colorScheme
  • Supported future changes darkmode -> colorScheme in discoveryjs
lahmatiy
published 2.11.2 •

Changelog

Source

2.11.2 (24-11-2024)

  • Supported discoveryjs 1.0.0-beta.91 API updates
lahmatiy
published 2.11.1 •

Changelog

Source

2.11.1 (04-11-2024)

  • Fixed bundling
  • Fixed broken header on the index page
lahmatiy
published 2.11.0 •

Changelog

Source

2.11.0 (04-11-2024)

  • Added support for optional version, description and icon fields in the config, allowing to set version, description and icon for the model or index page to display in the app header. These fields are passed as options in Discovery.js class constructors
  • Added --no-dev option for build and server to prevent using Discovery.js "src" assets when available (disables discovery-dev condition in build)
  • View setup:
    • Added inspector, Index and Discovery buttons to index page by default
    • Updated view.inspector and view.router config options to have effect for index page, enabled by default
    • Changed the extension application order so that model's view.extensions are applied after implicit extensions
  • Fixed ERR_UNSUPPORTED_ESM_URL_SCHEME exception when importing the data module on Windows
  • Fixed URL generation for model's page and assets on Windows
  • Fixed server crash occurring when a data request is aborted
lahmatiy
published 2.10.0 •

Changelog

Source

2.10.0 (15-10-2024)

  • Enhanced the appearance of the data loading state block and improved the display of errors
  • Fixed the display of the data loading status block for @discoveryjs/discovery version 1.0.0-beta.86 and above
  • Fixed the display of stdout and stderr output in the data loading status block when no data gathering plan is provided
  • Fixed sending of stderr output to the client by stripping ANSI codes and removing the unnecessary Error: prefix
  • Changed Node.js support for >=16.0.0
lahmatiy
published 2.9.1 •

Changelog

Source

2.9.1 (06-09-2024)

  • Enabled the use of top-level imports in view.assets modules (with the restriction that imports should be placed at the beginning of the module, despite JavaScript allowing imports at any location within the module's code)
  • Enabled .cjs, .cjsx, .mjs, .mjsx, .cts, .ctsx, .mts and .mtsx extensions for JavaScript/TypeScript modules in view.assets
  • Fixed bundling for @discoveryjs/discovery version 1.0.0-beta.84 and above
  • Fixed to use source modules when used unpublished version of @discoveryjs/discovery
lahmatiy
published 2.9.0 •

Changelog

Source

2.9.0 (05-09-2024)

  • Added a setup option for models, which is passed to the Discovery.js App instance config
  • Added support for ESM modules for data option in config
23
8
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