Skip to content

Commit 4d8b332

Browse files
Update dependency react-json-view-lite to v2.1.0 (#2539)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [react-json-view-lite](https://redirect.github.com/AnyRoad/react-json-view-lite) | [`2.0.1` -> `2.1.0`](https://renovatebot.com/diffs/npm/react-json-view-lite/2.0.1/2.1.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/react-json-view-lite/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-json-view-lite/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-json-view-lite/2.0.1/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-json-view-lite/2.0.1/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>AnyRoad/react-json-view-lite (react-json-view-lite)</summary> ### [`v2.1.0`](https://redirect.github.com/AnyRoad/react-json-view-lite/blob/HEAD/CHANGELOG.md#210) [Compare Source](https://redirect.github.com/AnyRoad/react-json-view-lite/compare/2.0.1...2.1.0) ##### New Features - Adds separate style for the expandable elements container (`childFieldsContainer`) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/jaegertracing/jaeger-ui). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS44NS4wIiwidXBkYXRlZEluVmVyIjoiMzkuODUuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiY2hhbmdlbG9nOmRlcGVuZGVuY2llcyJdfQ==--> --------- Signed-off-by: Mend Renovate <[email protected]> Signed-off-by: Yuri Shkuro <[email protected]> Co-authored-by: Yuri Shkuro <[email protected]> Co-authored-by: Yuri Shkuro <[email protected]>
1 parent 8f4cad7 commit 4d8b332

File tree

5 files changed

+11
-7
lines changed

5 files changed

+11
-7
lines changed

BUILD.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ Note that `./packages/plexus` does not yet have any tests, as tracked in issue [
5757

5858
`./packages/jaeger-ui` uses [Jest](https://jestjs.io/) for testing. It can be useful to directly run tests for that package by running `npm test` from its directory, rather than the repository root. To run an individual test file specify the file name, e.g. `npm test src/utils/readJsonFile.test.js`.
5959

60-
Tests for React components in `./packages/jaeger-ui` make extensive use of Jest's [snapshot testing](https://jestjs.io/docs/29.6/snapshot-testing) functionality. These snapshots can be regenerated by running `npm test -- -u` from the package directory to regenerate all snapshots, or `npm test -- -u -t <regex>` to regenerate snapshots for a subset of tests only (`<regex>` matches against the full test name, [i.e. the test name and all surrounding describe blocks](https://jestjs.io/docs/29.6/cli#--testnamepatternregex)).
60+
#### Snapshots
61+
62+
Tests for React components in `./packages/jaeger-ui` make extensive use of Jest's [snapshot testing](https://jestjs.io/docs/29.6/snapshot-testing) functionality. These snapshots can be regenerated by running `npm run update-snapshots` to regenerate all snapshots, or `npm test -- -u -t <regex>` from the package directory to regenerate snapshots for a subset of tests only (`<regex>` matches against the full test name, [i.e. the test name and all surrounding describe blocks](https://jestjs.io/docs/29.6/cli#--testnamepatternregex)).
6163

6264
### `husky` . `hooks` . `pre-commit`
6365

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@
5151
"test": "npm run --workspaces test --",
5252
"tsc-lint": "tsc --build",
5353
"tsc-lint-debug": "tsc --listFiles",
54-
"start": "cd packages/jaeger-ui && npm run start"
54+
"start": "cd packages/jaeger-ui && npm run start",
55+
"update-snapshots": "cd packages/jaeger-ui && npm test -- -u"
5556
},
5657
"prettier": {
5758
"arrowParens": "avoid",

packages/jaeger-ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"react-helmet": "^6.1.0",
7676
"react-icons": "^5.0.1",
7777
"react-is": "^18.2.0",
78-
"react-json-view-lite": "2.0.1",
78+
"react-json-view-lite": "2.1.0",
7979
"react-redux": "^8.1.2",
8080
"react-router-dom": "5.3.4",
8181
"react-router-dom-v5-compat": "^6.24.0",

packages/jaeger-ui/src/components/TracePage/TraceTimelineViewer/SpanDetail/__snapshots__/KeyValuesTable.test.js.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ exports[`<KeyValuesTable> renders the expected text for each span value 1`] = `
3030
Object {
3131
"basicChildStyle": "json-markup-child",
3232
"booleanValue": "json-markup-bool",
33+
"childFieldsContainer": "_1BXBN",
3334
"clickableLabel": "_2YKJg _1MGIk _1MFti",
3435
"collapseIcon": "json-markup-icon-collapse",
3536
"collapsedContent": "json-markup-collapse-content",

0 commit comments

Comments
 (0)