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

@discoveryjs/discovery

Package Overview
Dependencies
Maintainers
3
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@discoveryjs/discovery - npm Package Versions

1
10

1.0.0-beta.33

Diff

Changelog

Source

1.0.0-beta.33 (07-05-2020)

  • Fixed table's cell content rendering when col config is a string
  • Changed default sorting order to desc in table view
  • Improved table auto-sorting detection
lahmatiy
published 1.0.0-beta.32 •

Changelog

Source

1.0.0-beta.32 (07-05-2020)

  • Fixed table view to use <table> tag for root element instead of <div>
  • Added debounce property to input view config
  • Exposed lib API as Widget#lib
  • Extended safeFilterRx() to add pattern value to produced regexp as rawSource
  • Changed value option behaviour for input view to be a query instead of a plain value
  • Fixed missed custom page's decodeParams method call on initial render
  • Removed defined() helper
  • Removed Widget#getPageOption() method
  • Changed protocol for page.options.decodeParams(), handler must take an array of URI component pairs
  • Extended protocol for page.options.encodeParams(), handler may return an array of URI component pairs or an object beside a string; keys and values will be encoded by host
  • Changed references to default page as defaultPageId instead of hardcoded 'default' value
  • Added Widget.options.reportPageId option
  • Improved Widget.setPageHash() method to detect changes based on decoded page id, ref and params and re-apply new values if needed
  • Fixed table to not override data when column config in cols object have no content property
  • Changed table to apply when on column config to entire column
  • Changed table to not render a cell content depending on whenData in column config
  • Changed when and whenData to not apply when undefined or not an own property (like not set at all)
  • Added sorting for table view
lahmatiy
published 1.0.0-beta.31 •

Changelog

Source

1.0.0-beta.31 (23-04-2020)

  • Added checkbox-list view
  • Added whenData common option to view config
  • Added Popup#toggle() method
  • Added object/array size hint in struct view
  • Added "sort keys" toggle for objects in struct view
  • Added "sort keys" and "dict mode" actions for objects in signature view
  • Extended badge and pill-badge views to use number and boolean data as text
  • Extended menu-item to take data as item text when it's a string
  • Extended badge to take data as item text when it's a string
  • Extended block view to pass onInit and onChange handlers if any to its content
  • Extended checkbox, input, select and tabs views to pass data and context to onInit and onChange handler beside value and name
  • Changed table view to not render a row when data is falsy
  • Changed utils.createElement() to ignore attributes with not own keys or undefined value
  • Fixed edge cases for value stat output in signature view
  • Fixed scrolling issue for tabs view when used in sidebar
lahmatiy
published 1.0.0-beta.30 •

Changelog

Source

1.0.0-beta.30 (25-03-2020)

  • Added missed escaping for brackets in safeFilterRx
  • Fixed style isolation for editors hints popup
  • Improved overall CSS style isolation
  • Added dist/discovery.raw.css to package, a file with no style isolation
  • Improved error output on loading overlay
lahmatiy
published 1.0.0-beta.29 •

Changelog

Source

1.0.0-beta.29 (24-02-2020)

  • Fixed tree view to apply nested itemConfig when limitLines is used
  • Added 'children' as default query for children in tree view
lahmatiy
published 1.0.0-beta.28 •

Changelog

Source

1.0.0-beta.28 (17-02-2020)

  • Added encoding/decoding for pageId and pageRef in page hash
  • Added an entity reference to resolved link info
  • Fixed tree-leaf layout when content overflows
  • Fixed showing label when tree view is empty
  • Tweaked tree view padding in sidebar
  • Bumped jora to 1.0.0-alpha.13
lahmatiy
published 1.0.0-beta.27 •

Changelog

Source

1.0.0-beta.27 (18-12-2019)

  • Fixed style isolation of signature popup
  • Fixed editors extra large height in quirk mode
lahmatiy
published 1.0.0-beta.26 •

Changelog

Source

1.0.0-beta.26 (17-12-2019)

lahmatiy
published 1.0.0-beta.25 •

Changelog

Source

1.0.0-beta.25 (13-12-2019)

  • Fixed missed dist files in a package
  • Added minification for JavaScript on build
lahmatiy
published 1.0.0-beta.24 •

Changelog

Source

1.0.0-beta.24 (13-12-2019)

  • Fixed event handlers conflict across Discovery instances
  • Fixed popup view styles when Discovery's container is not a document body
  • Added wrapping for a string value that outputs as a plain text in struct view
  • Changed App#render() and Widget#render() methods to return a render state promise
  • Changed PageRenderer#render() method to return { pageEl, renderState } object instead of just newPageEl
  • Added optional parameter for Widget constructor to specify default page layout, i.e. new Widget(container, defaultPage, options)
  • Added extensions and compact options to Widget/App constructor, i.e. new Widget(el, null, { extensions, compact })
  • Renamed dist files: lib.* -> discovery.*
  • Improved build by CSS styles basic isolation, to reduce impact on host environment when integrate into
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