New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@discoveryjs/cli

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@discoveryjs/cli - npm Package Versions

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
lahmatiy
published 2.8.0 •

Changelog

Source

2.8.0 (03-07-2024)

  • Bumped @discoveryjs/json-ext to version ^0.6.0. As a result, async values (Promises and Node.js Readable streams) are now stringified as regular objects due to changes in @discoveryjs/json-ext.
  • Bumped esbuild to ^0.23.0
lahmatiy
published 2.7.2 •

Changelog

Source

2.7.2 (03-04-2024)

  • Added support for encodings option in configs to pass into Discovery.js when supported (added in version 1.0.0-beta.83)
lahmatiy
published 2.7.1 •

Changelog

Source

2.7.1 (21-02-2024)

  • Bumped esbuild to ^0.20.1
  • Added support for .ico files in bundler
lahmatiy
published 2.7.0 •

Changelog

Source

2.7.0 (21-01-2024)

  • Changed the data handler to seamlessly pass Node.js streams, TypedArrays, and Buffers to the consuming side without any alterations. Both JSON and JSONXL payloads are supported. The --experimental-jsonxl option currently has no impact for such a payload.
lahmatiy
published 2.6.1 •

Changelog

Source

2.6.1 (17-10-2023)

  • Bumped esbuild to ^0.19.5
  • Fixed path processing when config is a single model
  • Fixed on loading error text output
lahmatiy
published 2.6.0 •

Changelog

Source

2.6.0 (28-07-2023)

  • Added view.noscript option to define a function, or specify a path to a module that returns a function, for generating content to be displayed within the <noscript> tag
lahmatiy
published 2.5.1 •

Changelog

Source

2.5.1 (06-04-2023)

  • Fixed model init when no data is specified
lahmatiy
published 2.5.0 •

Changelog

Source

2.5.0 (05-04-2023)

  • Added experimental binary data encoding (codename JSONXL)
  • Added --experimental-jsonxl option for all the commands
  • Changed data and cache to return raw data without wrapping into { name, createdAt, elapsed, data: ... }
  • Added X-File-Created-At and Last-Modified headers in server's response to provide data birth time when possible
  • Added model as is to model's app context
  • Removed meta from model's app context (use #.model.meta instead)
  • Changed build command to output writing model files when --single-file is specified
  • Bumped minimal version of @discoveryjs/discovery to ^1.0.0-beta.72
lahmatiy
published 2.4.0 •

Changelog

Source

2.4.0 (20-03-2023)

  • Added support for embed option in config
  • Added --embed option for serve, build and archive commands
  • Added support for serveOnlyAssets option in view section of model config. These assets are included into a model only when the model is serving with serve command, or when the model is built with --serve-only-assets option (disabled by default)
  • Added --serve-only-assets option for build command
  • Added --entry-names option for build command
  • Set minimal version for @discoveryjs/discovery as ^1.0.0-beta.71