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

json-to-table

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-to-table - npm Package Versions

2

4.2.1

Diff

joeycozza
published 4.2.0 •

hillmanov
published 4.1.0 •

joeycozza
published 4.0.0 •

Changelog

Source

v4.0.0

Undo the code change made in v3, but only tweak the tests to make sure we keep that unexpected behaviour in the future.

We also started using es6 code here in v4, so be aware.

v3

We bumped to v3 here because by fixing this bug, we potentially introduced a lot of broken metrics in the main app we are using this module for.

joeycozza
published 3.0.0 •

Changelog

Source

v3.0.0

Fixed a bug where arrays weren't playing nice when the exludeSubArrays option was true, AND when one of the arrays was null (ie. it was a leaf). That was causing an issue since one of the arrays was a leaf, then it was a valid path to data. So when creating the table, it would include a column at that point, and so the cells where the array wasn't null were being included as whole arrays. This seemed wrong especially since exludeSubArrays was set to true.

See these tests more easily visualize the issue

  • Should handle when a nested array has data for 1 object, but is null (which means is a leaf) in another object
  • Should handle when a nested array has data for 1 object, but is a primitive (which means is a leaf) in another object

v2

joeycozza
published 2.1.5 •

Changelog

Source

v2.1.5

Fixed an edge case with checkKeyBeforePath where the actual name of the key was something like ".ba`d"

joeycozza
published 2.1.4 •

joeycozza
published 2.1.3 •

hillmanov
published 2.1.2 •

hillmanov
published 2.1.1 •

2
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