Jsoneditor

Latest version: v1.6.0

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

Scan your dependencies

Page 31 of 38

4.2.1

- Fixed 161: Cannot select text in Ace editor on systems using Chinese fonts.

4.2.0

- Implemented option `theme`, allowing to set a custom theme for the Ace
editor. Thanks nfvs.
- Implemented option `ace`, which allows to pass a custom instance of the Ace
instead of the embedded version.
- Fixed 186: binding issue to `jsonlint.parse`.
- Fixed `editor.get()` manipulating the code when containing an error.

4.1.1

- Added missing file `index.js` to the bower package.

4.1.0

- Implemented a function `focus()` for modes tree, view, and form.
- Added `./src` folder to the distributed package, needed for usage via
node.js/browserify.

4.0.0

- Ace editor and jsonlint are now packed with jsoneditor.js by default.
This makes the library about 4 times larger. If Ace is not needed, a custom
build of the library can be done.
- The distribution files are now moved from the root to the `/dist` folder.
- Reworked the source code to CommonJS modules, using `brace` to load Ace.
- JSONP is now automatically stripped from JSON. Thanks yanivefraim.
- Fixed bugs in the JSON sanitizer, no longer manipulating JSON-like structures
inside strings.

3.2.0

- Implemented shortcut keys `Ctrl+\` to format and `Ctrl+Shift+\` to compact
JSON when in mode `text` or `code`.
- Before an error is thrown because of invalid text, the editor first tries to
sanitize the text (replace JavaScript notation with JSON notation), and only
after that throws the error.
- Fixed Node.path() not working for a JSON Object `""`. Thanks tomalec.
- Minor styling improvements.
- Fixed configured indentation not being applied to Ace editor.

Page 31 of 38

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.