Json-e

Latest version: v4.8.0

Safety actively analyzes 682229 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

4.4.1

========================

No significant changes.

This version updates the release mechanics to include descriptions for each package.

4.4.0

========================

Features
--------

- JSON-e is now also available as a Rust crate! (289)
- Each implementation language is now in its own subdirectory. This change should not affect users of the library. (401)


Bugfixes
--------

- Syntax errors regarding unexpected identifiers are now phrased more clearly (Python and JS implementations only) (383)
- JS implementation now throws instances of the correct SyntaxError type (399)

4.3.0

========================

Features
--------

- Introduces `split` to built-in string functions enabling string splitting with a delimiter.
Input and delimiter can either be `string` or `number`. (368)
- Introduces join to the built-in functions to join lists with a seperator. list items and separator can either be string or number. (370)
- The Go port now uses GoModules. It should nonetheless remain compatible with earlier versions of Go. (373)

4.2.0

========================

Bugfixes
--------

- The Python implementation no longer causes warnings about invalid escape sequences (361).

4.1.0

========================

Features
--------

- Introduces $switch operator, which behaves like a combination of the $if and $match operator for
more complex boolean logic. It gets an object, in which every key is a string expression(s), where
at most one must evaluate to true and the remaining to false based on the context. The result will be
the value corresponding to the key that were evaluated to true. (257)


Bugfixes
--------

- Builtin functions are now called with relevant context.
This means that builtins like `fromNow()` and `defined()` respect variables defined via `$let`. (342&343)
- Fix error (constructor.name) when using with Webpack in production mode (354)


Improved Documentation
----------------------

- The `defined()` builtin is now documented. (341)
- Tests now include a test case for 354, regarding function evaluation. (354)

4.0.1

========================

Bugfixes
--------

- Revert PR 330 (fix for issue 158)

Improved Documentation
----------------------

- Update releasing documentation with information on how to release on npm and deploy the web-site (release)

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.