-
Notifications
You must be signed in to change notification settings - Fork 1k
Update json5 dependency #6937
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update json5 dependency #6937
Conversation
Signed-off-by: Simeon Widdis <[email protected]>
❌ Invalid Prefix For Manual Changeset CreationInvalid description prefix. Found "chore". Only "skip" entry option is permitted for manual commit of changeset files. If you were trying to skip the changelog entry, please use the "skip" entry option in the ##Changelog section of your PR description. |
Signed-off-by: Simeon Widdis <[email protected]>
❌ Invalid Prefix For Manual Changeset CreationInvalid description prefix. Found "chore". Only "skip" entry option is permitted for manual commit of changeset files. If you were trying to skip the changelog entry, please use the "skip" entry option in the ##Changelog section of your PR description. |
The PR template says
|
❌ Invalid Prefix For Manual Changeset CreationInvalid description prefix. Found "chore". Only "skip" entry option is permitted for manual commit of changeset files. If you were trying to skip the changelog entry, please use the "skip" entry option in the ##Changelog section of your PR description. |
This reverts commit 526e0bb. Signed-off-by: Simeon Widdis <[email protected]>
❌ Invalid Prefix For Manual Changeset CreationInvalid description prefix. Found "chore". Only "skip" entry option is permitted for manual commit of changeset files. If you were trying to skip the changelog entry, please use the "skip" entry option in the ##Changelog section of your PR description. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6937 +/- ##
==========================================
- Coverage 67.43% 67.42% -0.02%
==========================================
Files 3443 3443
Lines 67806 67806
Branches 11031 11031
==========================================
- Hits 45727 45717 -10
- Misses 19413 19423 +10
Partials 2666 2666
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
* Update json5 Signed-off-by: Simeon Widdis <[email protected]> * Update changelog Signed-off-by: Simeon Widdis <[email protected]> * Revert "Update changelog" This reverts commit 526e0bb. Signed-off-by: Simeon Widdis <[email protected]> --------- Signed-off-by: Simeon Widdis <[email protected]> Co-authored-by: Lu Yu <[email protected]> (cherry picked from commit 9674147) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This one is tricky
Therefore we should never add resolution to json5 in the future. The change only impacts our dep and I compared. we only use stringfy from JSON5 in json5. Here is v1's stringfy https://github.com/json5/json5/blob/v1/src/stringify.js and here is v2's https://github.com/json5/json5/blob/v2/lib/stringify.js. Therefore, the change is good to me. |
* Update json5 * Update changelog * Revert "Update changelog" This reverts commit 526e0bb. --------- (cherry picked from commit 9674147) Signed-off-by: Simeon Widdis <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Lu Yu <[email protected]>
Description
Coming from downstream where we recently added json5 for a feature, our distribution build is failing due to an outdated json5 version used here. We could downgrade our dependency, but considering that the json5 changelog has no breaking changes for the core API, it seems more straightforward to update it here directly.
Issues Resolved
Resolves build failures in opensearch-project/dashboards-observability#1861.
Screenshot
N/A
Testing the changes
Trusting CI to catch any issues on this one; according to the json5 changelog this is a no-op.
Changelog
Check List
yarn test:jest
yarn test:jest_integration