The original, non-mutated objects are now returned if any of the keys __proto__, constructor or prototype are used in a json pointer.
// returns the unmodified input {}
jsonpointer.set({}, '/foo/__proto__/boo', 'polluted')
When passing non-string arrays to a .set operation, an error is thrown:
// throws `new Error('Invalid JSON pointer. Must be of type string or number.')`
jsonpointer.set({}, [['__proto__'], ['__proto__'], 'boo'], 'polluted')
Commits
4a253c0 Adopt strictEqual changes and only return null when the get succeeded
bad4983 Fix null values throwing exception when traversing over while getting
a5706e8 test: Always use strictEqual to ensure null and undefined values are asserted...
b8e1e6a fix incorrect typings for compile get/set methods
c4de620 Merge pull request #53 from janl/release/5.0.0
Fix issue where the theme provided by the ConfigProvider under antd v5 wasn't respected thereby rendering the form items unusable under dark themes #4129
@rjsf/core
Fix Error state not resetting when schema changes #4079
@rjsf/mui
Fixed the SelectWidget and BaseInputTemplate to filter out errorSchema and autocomplete from the textFieldProps being spread onto the TextField, fixing #4134
@rjsf/utils
Added a new skipEmptyDefault option in emptyObjectFields, fixing #3880
Added a new computeSkipPopulate option in arrayMinItems, allowing custom logic to skip populating arrays with default values, implementing #4121.
Added support for version 2 in the peerDependencies
Dev / docs / playground
Bumped devDependencies on react to 18.x
Fixed typo in custom-widgets-fields.md in the documentation
Updated the LICENSE.md to include the proper copyright dates and owner
5.18.2
@rjsf/core
Fixed Programmatic submit not working properly in Firefox #3121
@rjsf/utils
#4116 Fix Maximum call stack size exceeded when encountering circular definitions (Link to PR)
5.18.0
@rjsf/antd
Fix issue where the theme provided by the ConfigProvider under antd v5 wasn't respected thereby rendering the form items unusable under dark themes #4129
@rjsf/core
Fix Error state not resetting when schema changes #4079
@rjsf/mui
Fixed the SelectWidget and BaseInputTemplate to filter out errorSchema and autocomplete from the textFieldProps being spread onto the TextField, fixing #4134
@rjsf/utils
Added a new skipEmptyDefault option in emptyObjectFields, fixing #3880
Added a new computeSkipPopulate option in arrayMinItems, allowing custom logic to skip populating arrays with default values, implementing #4121.
Fixed bug where the string "\</strong>" would get printed next to filenames when uploading files, and restored intended bolding of filenames fixing #4120.
Dev / docs / playground
Updated the documentation to describe how to use the skipEmptyDefault option.
Most Recent Ignore Conditions Applied to This Pull Request
| Dependency Name | Ignore Conditions |
| --- | --- |
| @rjsf/core | [> 4.0.0] |
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/Lundalogik/lime-elements/network/alerts).
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Bumps jsonpointer to 5.0.1 and updates ancestor dependency @rjsf/core. These dependencies need to be updated together.
Updates
jsonpointer
from 4.1.0 to 5.0.1Release notes
Sourced from jsonpointer's releases.
Commits
4a253c0
Adopt strictEqual changes and only return null when the get succeededbad4983
Fix null values throwing exception when traversing over while gettinga5706e8
test: Always use strictEqual to ensure null and undefined values are asserted...b8e1e6a
fix incorrect typings for compile get/set methodsc4de620
Merge pull request #53 from janl/release/5.0.08dbf304
feat: v584cf173
Merge pull request #52 from janl/fix/testf716e5c
chore: more rip travise2ae355
chore: remove commentd23693b
chore: update primary branchUpdates
@rjsf/core
from 2.5.1 to 5.18.4Release notes
Sourced from
@rjsf/core
's releases.... (truncated)
Changelog
Sourced from
@rjsf/core
's changelog.... (truncated)
Commits
63dbb6b
v5.18.4e0f70a0
chore(deps-dev): bump ejs from 3.1.9 to 3.1.10f0d03e0
chore(deps): bump mkdocs from 1.5.3 to 1.6.038f7d32
fix typos in constants.ts, Form.tsx (#4185)6f3a837
Add missing angle bracket (#4178)e7b8277
Release 5.18.3 (#4175)ef5afed
chore(deps-dev): bump gh-pages from 3.2.3 to 5.0.01e3acd9
Update custom-widgets-fields.md (#4171)a8b0f56
Update LICENSE.md (#4174)b8f700a
Create codeql.yml (#4170)Most Recent Ignore Conditions Applied to This Pull Request
| Dependency Name | Ignore Conditions | | --- | --- | | @rjsf/core | [> 4.0.0] |You can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show