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

svelte-jsoneditor

Package Overview
Dependencies
Maintainers
0
Versions
215
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svelte-jsoneditor - npm Package Versions

1
22

0.3.2

Diff

Changelog

Source

0.3.2 (2021-09-25)

josdejong
published 0.3.1 •

Changelog

Source

0.3.1 (2021-09-22)

Bug Fixes

  • clearing the complete document not working (regression since v0.3.0) (352b110)
  • do not lose focus and fire a focus/blur event when opening a modal inside the editor (cbb0c79)
  • fix formatting of the breaking changes list in CHANGELOG.md (05d5995)
  • improve inefficient regex to replace return characters (f3ae485)
  • scroll cursor into view when moving with arrows left/right (7ffd586)
  • show selection with a lighter gray when the editor doesn't have focus (a57268b)
josdejong
published 0.3.0 •

Changelog

Source

0.3.0 (2021-09-11)

⚠ BREAKING CHANGES

  • Properties json and text are replaced by content: { json, text }
  • Methods getText, setText, and updateText are removed, use get, set and update instead.
  • Methods get set, and update now expect and return a content object { json: JSON } | { text: string } instead of the json data.

Features

  • change the API methods to consistently work with content instead of json and text (6b810b7)
  • unify properties json and text inside content (f93ce2d)
  • update all dependencies (2332413)
  • validate content type (9885ff1)

Bug Fixes

  • code mode throwing an exception when trying to validate an empty document (412172b)
  • disable opening of color picker when editor is readOnly (236ec7a)
  • tooltip font and size not defined (a9fa438)
josdejong
published 0.2.8 •

Changelog

Source

0.2.8 (2021-08-20)

Features

  • create a Svelte examples section (908d0c4)
  • implement color picker (652e3ac)
  • implement method editor.updateProps(props) to change properties after creation (b596155)
  • show a time icon with human-readable time in case of unix timestamps (7d73846)
  • update dependencies (svelte-select, sass) and devDependencies (be32856)

Bug Fixes

  • display collapsed items sections as selected (f276863)
  • upgrade svelte-select to 4.3.1 (c92310a)
josdejong
published 0.2.7 •

Changelog

Source

0.2.7 (2021-08-06)

Features

  • sort the navigation bar dropdown items alphabetically (d85ecb2)

Bug Fixes

  • insert before not working when the first item of the root array/object is selected (8e0043f)
  • insert before/after not reckoning with multi selection (c66b2f7)
  • navigation bar keys not being unique (b7bbc5b)
  • position the search box below the navigation bar (86e50d5)
  • redo of inserting an Array/Object does not correctly restore selection (148c8fd)
  • validation error popup not visible when on the first line (3a6f0be)
josdejong
published 0.2.6 •

Changelog

Source

0.2.6 (2021-08-06)

Features

  • navigation bar implemented in tree mode (ff93e7b)

Bug Fixes

  • when json is changed, clear selection when it refers to a non-existing path (65c20f0)
josdejong
published 0.2.5 •

Changelog

Source

0.2.5 (2021-08-04)

Bug Fixes

  • minor styling tweak in the cut/copy dropdown buttons to visualize when dropdown is open (d2d9561)
josdejong
published 0.2.4 •

Changelog

Source

0.2.4 (2021-08-04)

Features

  • auto scroll up/down when dragging to select multiple nodes (9e96957)
  • implement menu options and quick keys to cut/copy without indentation (1dcbc41)
josdejong
published 0.2.3 •

Changelog

Source

0.2.3 (2021-08-04)

Bug Fixes

  • method transform() throwing an error (73e35c1)
josdejong
published 0.2.2 •

Changelog

Source

0.2.2 (2021-08-04)

Features

  • extend the transform method with a callback onTransform (90e8427)
  • implement method transform() and callback onTransform(operations) (08c0f61)

Bug Fixes

  • do not expand all contents after extracting some contents (bb98201)
  • do wrap only values anywhere, do not wrap keys anywhere (5879826)
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