New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@rjsf/validator-ajv6

Package Overview
Dependencies
Maintainers
2
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rjsf/validator-ajv6 - npm Package Versions

13
10

5.22.1

Diff

Changelog

Source

5.22.1

Dev / docs / playground

  • Bumped peer dependencies to 5.22.x due to updated type definition and API changes in @rjsf/utils
rjsf-bot
published 5.22.0 •

Changelog

Source

5.22.0

@rjsf/core

  • Updated MultiSchemaField to call the onChange handler after setting the new option, fixing #3997 and #4314

@rjsf/utils

  • Added experimental_customMergeAllOf option to retrieveSchema() and getDefaultFormState() to allow custom merging of allOf schemas
  • Made fields with const property pre-filled and readonly, fixing #2600
  • Added mergeDefaultsIntoFormData option to Experimental_DefaultFormStateBehavior type to control how to handle merging of defaults
  • Updated mergeDefaultsWithFormData() to add new optional defaultSupercedesUndefined that when true uses the defaults rather than undefined formData, fixing #4322
  • Updated getDefaultFormState() to pass true to mergeDefaultsWithFormData for defaultSupercedesUndefined when mergeDefaultsIntoFormData has the value useDefaultIfFormDataUndefined, fixing #4322
  • Updated getClosestMatchingOption() to improve the scoring of sub-property objects that are provided over ones that aren't, fixing #3997 and #4314

Dev / docs / playground

  • Updated the form-props.md to add documentation for the new experimental_customMergeAllOf props and the experimental_defaultFormStateBehavior.mergeDefaultsIntoFormData option
  • Updated the utility-functions.md to add documentation for the new optional defaultSupercedesUndefined parameter and the two missing optional fields on getDefaultFormState()
  • Updated the custom-templates.md to add a section header for wrapping BaseInputTemplate
  • Updated the playground to add controls for the new mergeDefaultsIntoFormData option
    • In the process, moved the Show Error List component over one column, making it inline radio buttons rather than a select
rjsf-bot
published 5.21.2 •

Changelog

Source

5.21.2

@rjsf/core

  • Updated SchemaField to pass required flag to _AnyOfField/_OneOfField
  • Updated Form to deal with null objects in filterErrorsBasedOnSchema(), fixing #4306

@rjsf/utils

  • Updated ErrorSchemaBuilder to support adding, updating, and removing paths that are numbers, fixing #4297
  • Updated retrieveSchema to not merge contains properties in allOf schema lists, fixing #2923

Dev / docs / playground

  • Updated the custom-widgets-fields.md to add examples of wrapping a widget/field
rjsf-bot
published 5.21.1 •

Changelog

Source

5.21.1

@rjsf/utils

  • Revert of updating deepEquals() from [#4292]

@validator-ajv8

  • Revert of using deepEquals() instead of lodash.isEqual() from [#4292]
rjsf-bot
published 5.21.0 •

Changelog

Source

5.21.0

@rjsf/core

  • Updated Form to fix focusOnError() to support the ids that include dots, fixing #4279

@rjsf/mui

  • Updated the peer dependencies for @mui/material and @mui/icon-material, fixing 4283

@rjsf/utils

  • Fixes an issue with dependencies computeDefaults to ensure we can get the dependencies defaults #4271
  • Updated deepEquals() to use fast-equals.createCustomEqual() instead of lodash.isEqualWith(), fixing #4291
    • Switched uses of lodash.isEqual() to deepEquals() in many of the utility functions as well

@validator-ajv8

  • Use @rjsf/utils deepEquals() instead of lodash.isEqual() to improve performance, fixing #4291

Dev / docs / playground

  • Updated the playground to use @mui/* version 6, changing the name of the dropdown from material-ui-5 to mui
rjsf-bot
published 5.20.1 •

Changelog

Source

5.20.1

Dev / docs / playground

  • Updated the peer dependencies to 5.20.x due to types and API changes in @rjsf/utils
rjsf-bot
published 6.0.0-alpha.0 •

rjsf-bot
published 5.20.0 •

Changelog

Source

5.20.0

@rjsf/core

  • Support allowing raising errors from within a custom Widget #2718
  • Updated ArrayField, BooleanField and StringField to call optionsList() with the additional UiSchema parameter, fixing #4215 and #4260

@rjsf/utils

  • Updated the WidgetProps type to add es?: ErrorSchema<T>, id?: string to the params of the onChange handler function
  • Updated UIOptionsBaseType to add the new enumNames prop to support an alternate way to provide labels for enums in a schema, fixing #4215
  • Updated optionsList() to take an optional uiSchema that is used to extract alternate labels for enums or oneOf/anyOf in a schema, fixing #4215 and #4260
    • NOTE: The generics for optionsList() were expanded from <S extends StrictRJSFSchema = RJSFSchema> to <S extends StrictRJSFSchema = RJSFSchema, T = any, F extends FormContextType = any> to support the UiSchema.

Dev / docs / playground

  • Update the custom-widget-fields.md to add documentation for how to raise errors from a custom widget or field
rjsf-bot
published 5.19.4 •

Changelog

Source

5.19.4

@rjsf/core

  • Fix XSS when rendering schema validation errors #4254
    • NOTE: This will have potential consequences if you are using the translateString feature and are trying to render HTML. Switching to Markdown will solve your problems.

@rjsf/utils

  • Updated the ValidatorType interface to add an optional reset?: () => void prop that can be implemented to reset a validator back to initial constructed state
    • Updated the ParserValidator to provide a reset() function that clears the schema map
  • Also updated the default translatable string to use Markdown rather than HTML tags since we now render them with Markdown

@rjsf/validator-ajv8

  • Updated the AJV8Validator to implement the reset() function to remove cached schemas in the ajv instance

Dev / docs / playground

  • Updated the Validator dropdown to add AJV8 (discriminator) which sets the AJV validator discriminator option to true to support testing schemas with that option in them
rjsf-bot
published 5.19.3 •

Changelog

Source

5.19.3

@rjsf/antd

  • SelectWidget now displays an empty option when appropriate, fixing #4197

@rjsf/chakra-ui

  • SelectWidget now displays an empty option when appropriate, fixing #4197

@rjsf/fluentui-rc

  • SelectWidget now displays an empty option when appropriate, fixing #4197

@rjsf/material-ui

  • SelectWidget now displays an empty option when appropriate, fixing #4197

@rjsf/mui

  • SelectWidget now displays an empty option when appropriate, fixing #4197

@rjsf/semantic-ui

  • SelectWidget now displays an empty option when appropriate, fixing #4197
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc