Commit Graph

1533 Commits

Author SHA1 Message Date
josdejong 9b5891d5cb Split App into JSONEditor and App 2020-05-04 21:50:32 +02:00
josdejong a4c58cfa15 Calculate props only once instead of twice on creation 2020-05-03 19:49:55 +02:00
josdejong 3a9a409fcb Fix changing property name not working for arrays and objects 2020-05-03 19:44:55 +02:00
josdejong 7646c1756b Disable spell checking 2020-04-29 09:46:45 +02:00
josdejong b22e5fae81 Make url clickable 2020-04-27 17:41:11 +02:00
josdejong 4fdf90fb38 Unescape HTML input text 2020-04-27 13:44:43 +02:00
josdejong c03353845e Styling fixes 2020-04-27 13:38:55 +02:00
josdejong 581e64bd73 Improve styling of node header 2020-04-27 12:20:47 +02:00
josdejong 86ac2c52c1 Implement object/array tag when collapsed, and delimiters [] and {} around the contents 2020-04-27 12:08:18 +02:00
josdejong 6bb9e9460a Cleanup console.log 2020-04-27 11:26:38 +02:00
josdejong cf027db855 Props working properly now (though solution is half mutable) 2020-04-27 11:26:17 +02:00
josdejong 80c7b2814f Make editing properties workable (not fully solved yet) 2020-04-27 10:28:09 +02:00
josdejong 5fe4be081f Implement handleChangeKey (WIP) 2020-04-26 22:48:17 +02:00
josdejong 0ee1ab5cca Colorzzz 2020-04-26 22:16:33 +02:00
josdejong 635616ac1c Add JSON Patch functions and immutability helpers 2020-04-26 21:33:34 +02:00
josdejong 1bc28041d3 Initial commit with a new Svelte setup 2020-04-25 22:32:20 +02:00
josdejong cfa5575884 Update dependencies 2020-04-22 09:46:39 +02:00
josdejong 990f481f5f Publish `v8.6.6` 2020-04-22 09:30:47 +02:00
josdejong 2db9e70ac4 Fix #969: adding a new property to an empty object or array is broken 2020-04-22 09:00:18 +02:00
josdejong a68ecf5297 Fix #969: adding a new property to an empty object or array is broken 2020-04-22 08:56:02 +02:00
josdejong a292b82792 Fix linting 2020-04-19 10:05:19 +02:00
josdejong 830be6c3df Update dependencies and devDependencies. Publish v8.6.5 2020-04-19 10:00:26 +02:00
josdejong 2519c0fee5 Merge remote-tracking branch 'origin/develop' into develop 2020-04-19 09:48:29 +02:00
josdejong 894af51861 Fix #964: translation of titles of some context menu items not working 2020-04-19 09:47:59 +02:00
dependabot-preview[bot] b05e6059de
Bump ace-builds from 1.4.9 to 1.4.10 (#958)
Bumps [ace-builds](https://github.com/ajaxorg/ace-builds) from 1.4.9 to 1.4.10.
- [Release notes](https://github.com/ajaxorg/ace-builds/releases)
- [Changelog](https://github.com/ajaxorg/ace-builds/blob/master/ChangeLog.txt)
- [Commits](https://github.com/ajaxorg/ace-builds/compare/v1.4.9...v1.4.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-15 20:29:46 +02:00
dependabot-preview[bot] c42ddd4f65
Bump uglify-js from 3.8.1 to 3.9.0 (#957)
Bumps [uglify-js](https://github.com/mishoo/UglifyJS2) from 3.8.1 to 3.9.0.
- [Release notes](https://github.com/mishoo/UglifyJS2/releases)
- [Commits](https://github.com/mishoo/UglifyJS2/compare/v3.8.1...v3.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-14 18:21:58 +02:00
Tim Gates fc4927bcf6
docs: Fix simple typo, vaidation -> validation (#956)
There is a small typo in src/js/JSONEditor.js.

Should read `validation` rather than `vaidation`.
2020-04-14 18:14:59 +02:00
dependabot-preview[bot] 981dd220a0
Bump @babel/preset-env from 7.9.0 to 7.9.5 (#955)
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.9.0 to 7.9.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.9.0...v7.9.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-08 10:50:36 +02:00
jos c32f667396 Update dependencies and devDependencies 2020-04-04 11:33:18 +02:00
jos 5508d421e8 Publish v8.6.4 2020-03-29 14:48:01 +02:00
jos 78ac97c001 Revert reckoning with the order of object properties when updating an object. See #917 2020-03-29 12:15:36 +02:00
jos d62d2e14db Fix #946: `language` not working in modes `text`, `code`, and `preview` 2020-03-29 11:57:06 +02:00
jos 4f433cb6a9 A fix in repairing line-separated json 2020-03-25 12:18:41 +01:00
jos fd0db5dc73 Implement support for repairing line separate JSON 2020-03-25 12:11:33 +01:00
jos 0ba8321eb3 Fix linting issue 2020-03-25 10:37:33 +01:00
jos 253c02c684 Merge remote-tracking branch 'origin/develop' into develop 2020-03-25 10:31:16 +01:00
jos 87d320efc3 Fix #921: `sortObjectKeys` emits `onChange` events 2020-03-25 10:30:45 +01:00
Snyk bot 16a46885fe
fix: upgrade react-scripts from 3.4.0 to 3.4.1 (#943)
Snyk has created this PR to upgrade react-scripts from 3.4.0 to 3.4.1.

See this package in NPM:
https://www.npmjs.com/package/react-scripts

See this project in Snyk:
https://app.snyk.io/org/josdejong/project/913c7924-24ae-4f86-8a9b-91da27c3e8f1?utm_source=github&utm_medium=upgrade-pr
2020-03-24 20:10:00 +01:00
jos c76f552e47 Update devDependencies 2020-03-23 21:57:40 +01:00
greenkeeper[bot] ac5a24ffce
Update react in group default to the latest version 🚀 (#933)
* fix(package): update react to version 16.13.1

* fix(package): update react to version 16.13.1

* fix(package): update react-dom to version 16.13.1

* fix(package): update react-dom to version 16.13.1

* chore(package): update lockfile examples/react_demo/package-lock.json

* chore(package): update lockfile examples/react_advanced_demo/package-lock.json

Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
2020-03-20 22:48:22 +01:00
jos ef88b8ef9a Publish v8.6.3 2020-03-18 16:48:40 +01:00
jos f356c875a1 Fix #932: `JSONEditor.update` broken, did not always recognize when the input changed 2020-03-18 16:47:41 +01:00
jos f954a81c05 Publish v8.6.2 2020-03-18 10:53:34 +01:00
jos a33aa14cc2 Update test_build.html 2020-03-18 10:47:34 +01:00
jos b09dbca3fd Fix #917, #926: update ordering of object keys 2020-03-18 10:44:25 +01:00
jos 3363c2df8a Fix a regression in `setValue` 2020-03-18 10:37:44 +01:00
jos 2316c87a46 Fix #926: Keep order of properties when updating an object 2020-03-18 09:37:44 +01:00
dependabot[bot] 341cc2ca8e
Bump acorn from 5.7.3 to 5.7.4 in /examples/react_demo (#930)
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/5.7.3...5.7.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-03-14 15:37:29 +01:00
dependabot[bot] 98e9fb222c
Bump acorn from 5.7.3 to 5.7.4 in /examples/react_advanced_demo (#929)
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/5.7.3...5.7.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-03-14 15:36:48 +01:00
jos b81a6d06f4 Update `ajv` and devDependencies 2020-03-12 21:46:13 +01:00