From dfdd9f0dd3d5195d14a89e70ee35fe4488160fc0 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 15 Mar 2024 01:59:20 +0000 Subject: [PATCH] chore(deps): update dependency vanilla-jsoneditor to ^0.22.0 (#6577) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vanilla-jsoneditor](https://togithub.com/josdejong/svelte-jsoneditor) | [`^0.21.0` -> `^0.22.0`](https://renovatebot.com/diffs/npm/vanilla-jsoneditor/0.21.6/0.22.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vanilla-jsoneditor/0.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vanilla-jsoneditor/0.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vanilla-jsoneditor/0.21.6/0.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vanilla-jsoneditor/0.21.6/0.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
josdejong/svelte-jsoneditor (vanilla-jsoneditor) ### [`v0.22.0`](https://togithub.com/josdejong/svelte-jsoneditor/blob/HEAD/CHANGELOG.md#0220-2024-03-01) [Compare Source](https://togithub.com/josdejong/svelte-jsoneditor/compare/v0.21.6...v0.22.0) ##### ⚠ BREAKING CHANGES - The `onChange` callback is no longer triggered on programmatic changes via a two-way binded `content` or via methods `.update()`, `.set()`, and `.patch()`. ##### Features - do not trigger onChange on programmatic changes ([#​410](https://togithub.com/josdejong/svelte-jsoneditor/issues/410)) ([201f602](https://togithub.com/josdejong/svelte-jsoneditor/commit/201f6020c4022001b41b7c459e2d809808828543)) - document the requirement for immutable changes in `content` (see [#​318](https://togithub.com/josdejong/svelte-jsoneditor/issues/318)) ([0545e64](https://togithub.com/josdejong/svelte-jsoneditor/commit/0545e647b9c0e68edecbaf7c8f65d51d64de99a4)) - update dependencies (a.o. fixing an issue with wrapping tab indented lines) ([1bd92e7](https://togithub.com/josdejong/svelte-jsoneditor/commit/1bd92e73fb95bb2cd0ded15d1fa0fd02b5959303)) ##### Bug Fixes - add missing property `onSelect` to interface `JSONEditorPropsOptional` ([4087e3f](https://togithub.com/josdejong/svelte-jsoneditor/commit/4087e3fa9e2f9243c95e8ff6fb7c46c4c67fb61f)) - improve the logic to determine whether a JSON document needs formatting ([bb15bd1](https://togithub.com/josdejong/svelte-jsoneditor/commit/bb15bd1d30998d7490a53cf58a03cfc7b95f8935)) - onCreateMenu and onCreateContextMenu possibly applying mutated changes without returning ([da8fd60](https://togithub.com/josdejong/svelte-jsoneditor/commit/da8fd6093de81daff47847cb1c50992b3f23fdbd)) ##### [0.21.6](https://togithub.com/josdejong/svelte-jsoneditor/compare/v0.21.5...v0.21.6) (2024-02-15) ##### Features - upgrade `codemirror`, `jsonrepair`, `svelte`, `svelte-simple-modal`, and dev dependencies ([3255741](https://togithub.com/josdejong/svelte-jsoneditor/commit/32557411017739e9f92a1550d2b7a75113ca9692)) ##### Bug Fixes - improve the logic to determine whether a JSON document needs formatting ([0ca8a49](https://togithub.com/josdejong/svelte-jsoneditor/commit/0ca8a493e42a3dbaa2d9560ba772dc12c9ef50ab)) - type definition of `JSONEditorPropsOptional.flattenColumns` ([3a28757](https://togithub.com/josdejong/svelte-jsoneditor/commit/3a28757a08abc4b1805c1c22e3245fce696ef31c)) - type definition of RenderMenuContext.mode ([51a7133](https://togithub.com/josdejong/svelte-jsoneditor/commit/51a7133778f542a5d634165cf7772fee17332647)) ##### [0.21.5](https://togithub.com/josdejong/svelte-jsoneditor/compare/v0.21.4...v0.21.5) (2024-02-05) ##### Features - implement support for vanilla JS components in `onRenderValue` using Svelte Action ([#​398](https://togithub.com/josdejong/svelte-jsoneditor/issues/398)) ([db482ea](https://togithub.com/josdejong/svelte-jsoneditor/commit/db482eae3cfe3d902ee66ae1f094ae30d12f1e5b)) ##### Bug Fixes - [#​392](https://togithub.com/josdejong/svelte-jsoneditor/issues/392) property `onRenderContextMenu` missing in `JSONEditorPropsOptional` ([ee9b4c9](https://togithub.com/josdejong/svelte-jsoneditor/commit/ee9b4c9199c11f535b94eab145ccac4d83312afa)) - [#​401](https://togithub.com/josdejong/svelte-jsoneditor/issues/401) original data can be mutated by the TransformModal previews ([337f812](https://togithub.com/josdejong/svelte-jsoneditor/commit/337f81234b1f72bbd2ab5c89338689ddacdb825a)) - consistently use selectedJson in the TransformModal ([ac31a79](https://togithub.com/josdejong/svelte-jsoneditor/commit/ac31a7980d77eae3c5ff3eef0d932f4b3362bdca)) - use `flex-start` instead of `start` for `align-items` ([#​395](https://togithub.com/josdejong/svelte-jsoneditor/issues/395)) ([b8be1a5](https://togithub.com/josdejong/svelte-jsoneditor/commit/b8be1a57f3a6e35673033e1fbb879997f5533e7c)) ##### [0.21.4](https://togithub.com/josdejong/svelte-jsoneditor/compare/v0.21.3...v0.21.4) (2024-01-24) ##### Bug Fixes - [#​381](https://togithub.com/josdejong/svelte-jsoneditor/issues/381) method `.update()` throwing an exception when calling directly after creating the editor ([75c3b5e](https://togithub.com/josdejong/svelte-jsoneditor/commit/75c3b5e1c19347e98d86c367bebe5e688c4f3ea1)) - update `@codemirror/view` and dev dependencies ([3f2afef](https://togithub.com/josdejong/svelte-jsoneditor/commit/3f2afef38bb420bc4f21629ff5cb16e494b6d025)) ##### [0.21.3](https://togithub.com/josdejong/svelte-jsoneditor/compare/v0.21.2...v0.21.3) (2024-01-19) ##### Bug Fixes - [#​381](https://togithub.com/josdejong/svelte-jsoneditor/issues/381) method `set()` sometimes throwing an error in `text` mode ([2dc62f0](https://togithub.com/josdejong/svelte-jsoneditor/commit/2dc62f04056ec352fe548323dda5819e423a25d5)) - [#​391](https://togithub.com/josdejong/svelte-jsoneditor/issues/391) editor not supporting `Object.create(null)` as object ([918a126](https://togithub.com/josdejong/svelte-jsoneditor/commit/918a126789c61b8846505072642023a179418e90)) - update dependencies and devDependencies ([0d49b66](https://togithub.com/josdejong/svelte-jsoneditor/commit/0d49b66810fa76c4b2fe82021e9dc7b760150407)) ##### [0.21.2](https://togithub.com/josdejong/svelte-jsoneditor/compare/v0.21.1...v0.21.2) (2024-01-10) ##### Features - provide the current `selection` in `onRenderContextMenu` ([#​376](https://togithub.com/josdejong/svelte-jsoneditor/issues/376)) ([2068823](https://togithub.com/josdejong/svelte-jsoneditor/commit/2068823bc302b7be47bfdc6e977cbe65b92e2794)) - update deps `codemirror`, `jsonrepair`, `sass`, `svelte-awesome`, `svelte-select`, and more ([63ac195](https://togithub.com/josdejong/svelte-jsoneditor/commit/63ac1950db57523d57446d43daecac69cb84d5a2)) ##### Bug Fixes - [#​379](https://togithub.com/josdejong/svelte-jsoneditor/issues/379) ContextMenu not closing after using a custom button via onRenderContextMenu ([2a83137](https://togithub.com/josdejong/svelte-jsoneditor/commit/2a8313759a9c6125369697bbe8cf335214399df5)) - [#​386](https://togithub.com/josdejong/svelte-jsoneditor/issues/386) add a `standalone.d.ts` file to the `vanilla-jsoneditor` package ([4f8fa55](https://togithub.com/josdejong/svelte-jsoneditor/commit/4f8fa55fb4ed09ef112ddee3aab03429bf0a5ca9)) - improve performance of `isColor` detection (see [#​378](https://togithub.com/josdejong/svelte-jsoneditor/issues/378)) ([514f6ca](https://togithub.com/josdejong/svelte-jsoneditor/commit/514f6cafdf4937d495670395028e0f326a585a9a)) - improve performance of `isColor` detection for long text values (See [#​378](https://togithub.com/josdejong/svelte-jsoneditor/issues/378)) ([b1a04fc](https://togithub.com/josdejong/svelte-jsoneditor/commit/b1a04fce772a0fca4c14f1e3758a8ba5c7c77ad5)) - update dependency `jsonrepair` ([ec23521](https://togithub.com/josdejong/svelte-jsoneditor/commit/ec235216a1aee30fd880938dc82233a4731c2f0d)) ##### [0.21.1](https://togithub.com/josdejong/svelte-jsoneditor/compare/v0.21.0...v0.21.1) (2023-12-20) ##### Bug Fixes - add a module export again to the `svelte-jsoneditor` package ([0c695a4](https://togithub.com/josdejong/svelte-jsoneditor/commit/0c695a444a35b03b37c3a1981ba58c53e3be0159))
--- ### Configuration 📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am every weekday" in timezone Europe/Madrid, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Unleash/unleash). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- frontend/package.json | 2 +- frontend/yarn.lock | 62 ++++++++++++++++++++++++++++--------------- 2 files changed, 41 insertions(+), 23 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index 3289a44edc..ef9dab8185 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -118,7 +118,7 @@ "tss-react": "4.9.4", "typescript": "4.8.4", "use-query-params": "^2.2.1", - "vanilla-jsoneditor": "^0.21.0", + "vanilla-jsoneditor": "^0.22.0", "vite": "5.1.5", "vite-plugin-env-compatible": "2.0.1", "vite-plugin-svgr": "3.3.0", diff --git a/frontend/yarn.lock b/frontend/yarn.lock index 64196a3838..860b1c5907 100644 --- a/frontend/yarn.lock +++ b/frontend/yarn.lock @@ -611,10 +611,10 @@ "@codemirror/view" "^6.6.0" "@lezer/common" "^1.0.0" -"@codemirror/autocomplete@^6.12.0": - version "6.12.0" - resolved "https://registry.yarnpkg.com/@codemirror/autocomplete/-/autocomplete-6.12.0.tgz#3fa620a8a3f42ded7751749916e8375f6bbbb333" - integrity sha512-r4IjdYFthwbCQyvqnSlx0WBHRHi8nBvU+WjJxFUij81qsBfhNudf/XKKmmC2j3m0LaOYUQTf3qiEK1J8lO1sdg== +"@codemirror/autocomplete@^6.13.0": + version "6.15.0" + resolved "https://registry.yarnpkg.com/@codemirror/autocomplete/-/autocomplete-6.15.0.tgz#37bc320f20cdda332d6bf4d1fc7f300f8fc5f04c" + integrity sha512-G2Zm0mXznxz97JhaaOdoEG2cVupn4JjPaS4AcNvZzhOsnnG9YVN68VzfoUw6dYTsIxT6a/cmoFEN47KAWhXaOg== dependencies: "@codemirror/language" "^6.0.0" "@codemirror/state" "^6.0.0" @@ -697,7 +697,7 @@ "@codemirror/view" "^6.0.0" crelt "^1.0.5" -"@codemirror/state@6.4.1", "@codemirror/state@^6.0.0", "@codemirror/state@^6.1.1", "@codemirror/state@^6.1.4", "@codemirror/state@^6.2.0", "@codemirror/state@^6.4.0": +"@codemirror/state@6.4.1", "@codemirror/state@^6.0.0", "@codemirror/state@^6.1.1", "@codemirror/state@^6.1.4", "@codemirror/state@^6.2.0", "@codemirror/state@^6.4.0", "@codemirror/state@^6.4.1": version "6.4.1" resolved "https://registry.yarnpkg.com/@codemirror/state/-/state-6.4.1.tgz#da57143695c056d9a3c38705ed34136e2b68171b" integrity sha512-QkEyUiLhsJoZkbumGZlswmAhA7CBU02Wrz7zvH4SrcifbsqwlXShVXg65f3v/ts57W3dqyamEriMhij1Z3Zz4A== @@ -712,7 +712,7 @@ "@codemirror/view" "^6.0.0" "@lezer/highlight" "^1.0.0" -"@codemirror/view@^6.0.0", "@codemirror/view@^6.17.0", "@codemirror/view@^6.23.0", "@codemirror/view@^6.24.0": +"@codemirror/view@^6.0.0", "@codemirror/view@^6.17.0", "@codemirror/view@^6.23.0": version "6.24.1" resolved "https://registry.yarnpkg.com/@codemirror/view/-/view-6.24.1.tgz#c151d589dc27f9197c68d395811b93c21c801767" integrity sha512-sBfP4rniPBRQzNakwuQEqjEuiJDWJyF2kqLLqij4WXRoVwPPJfjx966Eq3F7+OPQxDtMt/Q9MWLoZLWjeveBlg== @@ -721,6 +721,15 @@ style-mod "^4.1.0" w3c-keyname "^2.2.4" +"@codemirror/view@^6.24.1": + version "6.26.0" + resolved "https://registry.yarnpkg.com/@codemirror/view/-/view-6.26.0.tgz#ab5a85aa8ebfb953cb5534e07d0a3751f9a3869a" + integrity sha512-nSSmzONpqsNzshPOxiKhK203R6BvABepugAe34QfQDbNDslyjkqBuKgrK5ZBvqNXpfxz5iLrlGTmEfhbQyH46A== + dependencies: + "@codemirror/state" "^6.4.0" + style-mod "^4.1.0" + w3c-keyname "^2.2.4" + "@codemirror/view@^6.6.0": version "6.7.3" resolved "https://registry.yarnpkg.com/@codemirror/view/-/view-6.7.3.tgz#be2f9d0e6fc8882fb192041bf78425ca04999827" @@ -3053,10 +3062,10 @@ code-red@^1.0.3: estree-walker "^3.0.3" periscopic "^3.1.0" -codemirror-wrapped-line-indent@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/codemirror-wrapped-line-indent/-/codemirror-wrapped-line-indent-1.0.3.tgz#223c6814b3c3292e261044e82595a11340c1009d" - integrity sha512-1MWPgyxcDcpGpqmBlraoQyIgbZMAmppj/e/9+gpqug68Gli+BtSLE3GLxGoRoRK5n5sFp8RH0xAQL5i7jOo2qQ== +codemirror-wrapped-line-indent@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/codemirror-wrapped-line-indent/-/codemirror-wrapped-line-indent-1.0.5.tgz#782f7d40b361639553f6c78954affbb094274c99" + integrity sha512-T6C18nEhWb+k3JD7BhNaYFp9dzpjXM4Oq3jymSYPugZOe5nN64DNWRilkr6iox2sqaQ3PH0D4RVg+Qcv6u1OBg== codemirror@^6.0.0: version "6.0.1" @@ -6405,7 +6414,7 @@ safe-stable-stringify@^1.1: resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== -sass@1.71.1, sass@^1.70.0: +sass@1.71.1: version "1.71.1" resolved "https://registry.yarnpkg.com/sass/-/sass-1.71.1.tgz#dfb09c63ce63f89353777bbd4a88c0a38386ee54" integrity sha512-wovtnV2PxzteLlfNzbgm1tFXPLoZILYAMJtvoXXkD7/+1uP41eKkIt1ypWq5/q2uT94qHjXehEYfmjKOvjL9sg== @@ -6414,6 +6423,15 @@ sass@1.71.1, sass@^1.70.0: immutable "^4.0.0" source-map-js ">=0.6.2 <2.0.0" +sass@^1.71.1: + version "1.72.0" + resolved "https://registry.yarnpkg.com/sass/-/sass-1.72.0.tgz#5b9978943fcfb32b25a6a5acb102fc9dabbbf41c" + integrity sha512-Gpczt3WA56Ly0Mn8Sl21Vj94s1axi9hDIzDFn9Ph9x3C3p4nNyvsqJoQyVXKou6cBlfFWEgRW4rT8Tb4i3XnVA== + dependencies: + chokidar ">=3.0.0 <4.0.0" + immutable "^4.0.0" + source-map-js ">=0.6.2 <2.0.0" + saxes@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/saxes/-/saxes-6.0.0.tgz#fe5b4a4768df4f14a201b1ba6a65c1f3d9988cc5" @@ -6797,7 +6815,7 @@ supports-preserve-symlinks-flag@^1.0.0: resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== -svelte@^4.2.10: +svelte@^4.2.12: version "4.2.12" resolved "https://registry.yarnpkg.com/svelte/-/svelte-4.2.12.tgz#13d98d2274d24d3ad216c8fdc801511171c70bb1" integrity sha512-d8+wsh5TfPwqVzbm4/HCXC783/KPHV60NvwitJnyTA5lWn1elhXMNWhXGCJ7PwPa8qFUnyJNIyuIRt2mT0WMug== @@ -7242,25 +7260,25 @@ validator@^13.7.0: resolved "https://registry.yarnpkg.com/validator/-/validator-13.11.0.tgz#23ab3fd59290c61248364eabf4067f04955fbb1b" integrity sha512-Ii+sehpSfZy+At5nPdnyMhx78fEoPDkR2XW/zimHEL3MyGJQOCQ7WeP20jPYRz7ZCpcKLB21NxuXHF3bxjStBQ== -vanilla-jsoneditor@^0.21.0: - version "0.21.6" - resolved "https://registry.yarnpkg.com/vanilla-jsoneditor/-/vanilla-jsoneditor-0.21.6.tgz#a149e120b4bba1db726f9d047529a534bfb89fae" - integrity sha512-qKWVW2qXrVazurZ5gZ+Ah7vTkxArUdv6JxlWJJlO3v4K+dowytku4KgfdOEkACpA6HQI2hyHL9GaGnWjwdj4dQ== +vanilla-jsoneditor@^0.22.0: + version "0.22.0" + resolved "https://registry.yarnpkg.com/vanilla-jsoneditor/-/vanilla-jsoneditor-0.22.0.tgz#0ba372d517c38c866b48b821e6fa1ba3b6d7c415" + integrity sha512-r6AN3NAWyVFb9pH6iNIa2Q1YiSGai4PGhFN+YnR4OJzXE72hu/Xu/MUbVyGvJxchhPcWj6bIPB1Ox5KSOspmFA== dependencies: - "@codemirror/autocomplete" "^6.12.0" + "@codemirror/autocomplete" "^6.13.0" "@codemirror/commands" "^6.3.3" "@codemirror/lang-json" "^6.0.1" "@codemirror/language" "^6.10.1" "@codemirror/lint" "^6.5.0" "@codemirror/search" "^6.5.6" - "@codemirror/state" "^6.4.0" - "@codemirror/view" "^6.24.0" + "@codemirror/state" "^6.4.1" + "@codemirror/view" "^6.24.1" "@fortawesome/free-regular-svg-icons" "^6.5.1" "@fortawesome/free-solid-svg-icons" "^6.5.1" "@lezer/highlight" "^1.2.0" "@replit/codemirror-indentation-markers" "^6.5.0" ajv "^8.12.0" - codemirror-wrapped-line-indent "^1.0.3" + codemirror-wrapped-line-indent "^1.0.5" diff-sequences "^29.6.3" immutable-json-patch "6.0.1" jmespath "^0.16.0" @@ -7269,8 +7287,8 @@ vanilla-jsoneditor@^0.21.0: lodash-es "^4.17.21" memoize-one "^6.0.0" natural-compare-lite "^1.4.0" - sass "^1.70.0" - svelte "^4.2.10" + sass "^1.71.1" + svelte "^4.2.12" vanilla-picker "^2.12.2" vanilla-picker@^2.12.2: