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

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 Compare versions

Comparing version 1.0.8 to 1.0.9

13

functions.md

@@ -175,7 +175,10 @@ ## JSONata Function Library

Returns an array containing the keys in the object
Returns an array containing the keys in the object. If the argument is an array of objects,
then the array returned contains a de-duplicated list of all the keys in all of the objects.
#### `$lookup(object, key)`
Returns the value assosciated with `key` in `object`
Returns the value associated with `key` in `object`. If the first argument is an array of objects,
then all of the objects in the array are searched, and the values associated with all occurrences
of `key` are returned.

@@ -186,2 +189,8 @@ #### `$merge(object, object)` - to be implemented

has the same key as an entry in the first, then the value will be overridden by the second.
#### `$spread(object)`
Splits an `object` containing key/value pairs into an array of objects, each of which has a single
key/value pair from the input `object`. If the parameter is an array of objects, then the resultant
array contains an object for every key/value pair in every object in the supplied array.

@@ -188,0 +197,0 @@ ### Higher-order functions

2

package.json
{
"name": "jsonata",
"version": "1.0.8",
"version": "1.0.9",
"description": "JSON query and transformation language",

@@ -5,0 +5,0 @@ "main": "jsonata.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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