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

Comparing version 1.6.5 to 1.7.0

18

CHANGELOG.md

@@ -0,1 +1,19 @@

#### 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
#### 1.6.5 Maintenance Release

@@ -2,0 +20,0 @@

30

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

@@ -42,23 +42,23 @@ "module": "jsonata.js",

"devDependencies": {
"@babel/cli": "^7.2.0",
"@babel/core": "^7.2.2",
"@babel/preset-env": "^7.2.0",
"browserify": "^16.1.0",
"chai": "^4.1.2",
"@babel/cli": "^7.6.2",
"@babel/core": "^7.6.2",
"@babel/preset-env": "^7.6.2",
"browserify": "^16.5.0",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"coveralls": "^3.0.0",
"eslint": "^5.15.3",
"coveralls": "^3.0.6",
"eslint": "^6.5.1",
"eslint-plugin-ideal": "^0.1.3",
"istanbul": "^0.4.5",
"jsdoc": "^3.4.0",
"jsdoc": "^3.6.3",
"mkdirp": "^0.5.1",
"mocha": "^6.0.2",
"mocha-lcov-reporter": "^1.2.0",
"regenerator": "^0.13.2",
"request": "^2.81.0",
"uglify-es": "^3.0.20"
"mocha": "^6.2.1",
"mocha-lcov-reporter": "^1.3.0",
"regenerator": "^0.14.2",
"request": "^2.88.0",
"uglify-es": "^3.3.9"
},
"engines": {
"node": ">= 6"
"node": ">= 8"
}
}

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

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

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