Socket
Socket
Sign inDemoInstall

jsonata

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsonata - npm Package Versions

13
6

1.8.3

Diff

Changelog

Source

1.8.3 Maintenance Release

  • Remove incomplete polyfill for Array.from() (issue #432)
  • Fix $not to return empty sequence for missing inputs (issue #433)
  • Fix RangeError (stack overflow) when querying very large objects (issue #434)
jsonata
published 1.8.2 •

Changelog

Source

1.8.2 Maintenance Release

  • Fix bug with regex usage in partially applied functions (issue #427)
  • Fix regression when the $string() function is applied to a top-level array (PR #429)
jsonata
published 1.8.1 •

Changelog

Source

1.8.1 Maintenance Release

  • Fix bug in timezone handling for ISO week date formats (issue #403)
jsonata
published 1.8.0 •

Changelog

Source

1.8.0 Milestone Release

  • New syntax (% parent operator) to select the parent of the current context value (issue #299)
  • New function $type to return the data type of the argument (issue #208)
  • Added versioning to the documentation site (issue #385)
  • Fixed bugs #382, #387, #396, #399
jsonata
published 1.7.0 •

Changelog

Source

1.7.0 Milestone Release

  • New syntax (@ operator) to support cross-referencing and complex data joins (issue #333)
  • New syntax (# operator) to get current context position in sequence (issue #187)
  • Equality operators (=, !=) now perform deep object/array comparison
  • New functions
    • $error - Explicitly throw an error with message (issue #167)
    • $assert - Throw error (with message) if assertion evaluates to false (issue #369)
    • $single - Returns the single value in an array (issue #348)
    • $encodeUrl, $encodeUrlComponent, $decodeUrl, $decodeUrlComponent - URL/URI helper functions (issue #103)
    • $distinct - Returns array with duplicate values removed
  • Enhanced functions
    • $reduce - Now works with a 4-argument function parameter (issue #102)
    • $number - Can now cast numeric strings with leading zeros (issue #368)
    • $string - Now has optional second argument to "prettify" objects (issue #334)
  • Minimum node.js runtime v8 (dropped support for v6). Added support for Node 12.
  • Fixed bugs #316, #332, #349
jsonata
published 1.6.5 •

Changelog

Source

1.6.5 Maintenance Release

  • Fix concurrency bug in chain operator (issue #335)
  • Fix flattening login in map operator (issue #314)
  • Fix message inserts for errors thrown in function bodies (issue #297)
  • Limit array size allocatable by range operator to ten million entries (issue #240)
jsonata
published 1.6.4 •

Changelog

Source

1.6.4 Maintenance Release

  • Fix performance regression (PR #292)
  • Fix bug in $each function (PR #293)
jsonata
published 1.6.3 •

Changelog

Source

1.6.3 Maintenance Release

  • Fix es5 build and polyfills to enable test suite to (mostly) run in Nashorn (PR #288)
  • Extra polyfill required for running jsonata-es5.js in IE 11 (PR #289)
jsonata
published 1.6.2 •

Changelog

Source

1.6.2 Maintenance Release

  • Fix insertion of regenerator runtime at top of ES5 file (PR #284)
jsonata
published 1.6.1 •

Changelog

Source

1.6.1 Milestone Release (v1.6.0 was not published)

  • New date/time formatting and parsing capability (issue #166)
  • Support for comments in expressions (issue #75)
  • Higher-order extension functions (issue #259)
  • Allow Boolean to be cast to a number (issue #257)
  • New functions
    • $eval - parse/evaluate the contexts of a JSON/JSONata string (issue #134)
    • $formatInteger - format an integer to a string using picture string definition
    • $parseInteger - parse an integer from a string using picture string definition
  • Non-functional enhancements:
    • Split codebase into multiple files; fixed multiple issues with ES5 generated library
    • Multiple conformance tests in a single file
    • Documentation moved to main jsonata repo; generated using docusaurus.io
    • Minimum node.js runtime v6 (dropped support for v4)
  • Numerous bug fixes (#236, #179, #261, #236, #245, #246, #233, #250, #247, #242, #249)
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