PackageTrack

npm · #3773

jsonschema

1.5.025M downloads/motdegrunt/jsonschema

A fast and easy to use JSON Schema validator

Release timeline

39 releases since 2012
2014201620182020202220242026

Releases

  1. 1.5.07 Jan 2025

    Nothing published for this version

  2. 1.4.117 May 2022
    Release notes

    This project publishes no release notes. Between v1.4.0 and v1.4.1 there were 19 commits, 15 of them substantive:

    • Adding required option to typescript types
    • contains: implement
    • Fix "items" for full draft-6 support
    • Support for draft-07
    • draft-07 support: remove redundant tests
    • format: Add the "duration", "idn-email" formats; optimize the "style" format
    • format: add iri, iri-reference, fix uri scheme part
    • format: add uri-template, json-pointer
    • format: add relative-json-pointer
    • fix boolean check in validateExclusiveMinimum
    • test: adjust testcase for testing exclusiveMinimum to also cover the edge case that did not work with the previous implementation
    • Add makeChild type to SchemaContext
    • fix "RangeError: maximum call stack size exceeded" when there are numerous errors #344
    • Appease eslint
    • Bump patch for publishing
  3. 1.4.022 Oct 2020
    Release notes

    This project publishes no release notes. Between v1.3.0 and v1.4.0 there were 9 commits, 9 of them substantive:

    • test: add Validator tests for coverage
    • Validator#validate: add "required" option
    • test: Add pending test to verify that base is not a relative URI
    • test: More coverage of addSchema
    • test: coverage for base argument in addSchema
    • test: coverage for Validator#validate
    • Add throwFirst/throwAll options
    • README: document "required" option
    • Prepare 1.4.0
  4. 1.3.016 Oct 2020
    Release notes

    This project publishes no release notes. Between v1.2.11 and v1.3.0 there were 16 commits, 15 of them substantive:

    • Improved additionalProperty error message
    • Update attribute.js
    • format: Implement "uri-reference"
    • s/flatMap/forEach/ for Node.js 10 support
    • $id: implement
    • exclusiveMinimum/exclusiveMaximum: Implement to draft-7
    • propertyNames: implement
    • if/then/else: Implement
    • packaging: Ignore test configuration
    • packaging: Point "main" to specific file
    • Update TypeScript interface for $id/exclusiveMaximum/exclusiveMinimum/if/then/else
    • Add ValidationError#path
    • README: typo
    • ValidationError#path: Configure the type correctly
    • Prepare 1.3.0
  5. 1.2.119 Oct 2020
    Release notes

    This project publishes no release notes. Between v1.2.10 and v1.2.11 there were 8 commits, 8 of them substantive:

    • const: fix TypeScript definition
    • test: Add checks for exported interface
    • test: Add Stryker code coverage
    • properties/patternProperties: Improve handling of undefined/null definitions
    • README: Fix the preValidateProperty example to work out of the box
    • type: Emit better errors on invalid "type" argument
    • README: s/property/keyword/
    • Prepare 1.2.11
  6. 1.2.107 Oct 2020
    Release notes

    This project publishes no release notes. Between v1.2.9 and v1.2.10 there were 1 commits, 1 of them substantive:

    • Prepare 1.2.10, fix for 1.2.9
  7. 1.2.96 Oct 2020
    Release notes

    This project publishes no release notes. Between v1.2.8 and v1.2.9 there were 3 commits, 3 of them substantive:

    • Add TypeScript definition for preValidateProperty
    • Fix breakage of some invalid regular expressions caused by "u" flag
    • Prepare 1.2.9
  8. 1.2.82 Oct 2020
    Release notes

    This project publishes no release notes. Between v1.2.7 and v1.2.8 there were 15 commits, 15 of them substantive:

    • test: Update test suite
    • README: fix spelling/formatting
    • README: document the "base" option
    • README: Document the "rewrite" option
    • README: Describe the contents of ValidationError, and the propertyName option.
    • README: describe skipAttributes, allowUnknownAttributes keywords
    • README: add short blurb on localizing error messages
    • test: Add test for oneOf and nestedErrors
    • test: Add test for throwError with allOf
    • scan: fix repeat definition error message
    • validate: Throw an error if schema is not object/boolean
    • test: Tests for Validator#validate domain
    • required, properties: search for enumerable properties on the prototype chain
    • README: Add example for "nestedErrors" option
    • Prepare 1.2.8
  9. 1.2.726 Sept 2020
    Release notes

    This project publishes no release notes. Between v1.2.6 and v1.2.7 there were 13 commits, 13 of them substantive:

    • Update testing dependencies, add eslint
    • test: appease linter
    • Test "pattern" keyword with unicode flag
    • Add "const" to TypeScript interface
    • Travis: Update Node.js version for testing
    • test: Verify that meta-schema validates itself
    • uniqueItems: Remove repeated definition
    • uniqueItems: verify that keyword argument is true
    • patternProperties: Test regex with "u" flag
    • Fix assignment in conditional
    • Add "nestedErrors" to TypeScript interface
    • ValidationError: Store even the instance values that are falsy
    • Prepare v1.2.7
  10. 1.2.61 Apr 2020
    Release notes

    This project publishes no release notes. Between v1.2.5 and v1.2.6 there were 6 commits, 4 of them substantive:

    • fix type for Schema.required
    • Update Readme
    • use Array.isArray for detecting arrays
    • Prepare v1.2.6
  11. 1.2.527 Nov 2019

    Nothing published for this version

  12. 1.2.44 Apr 2018

    Nothing published for this version

  13. 1.2.31 Apr 2018

    Nothing published for this version

  14. 1.2.211 Dec 2017

    Nothing published for this version

  15. 1.2.018 Aug 2017

    Nothing published for this version

  16. 1.1.111 Dec 2016

    Nothing published for this version

  17. 1.1.016 Feb 2016

    Nothing published for this version

  18. 1.0.39 Jan 2016

    Nothing published for this version

  19. 1.0.210 Jul 2015

    Nothing published for this version

  20. 1.0.121 Mar 2015

    Nothing published for this version

  21. 1.0.019 Jul 2014

    Nothing published for this version

  22. 0.4.015 Jul 2013

    Nothing published for this version

  23. 0.3.218 Dec 2012

    Nothing published for this version

  24. 0.3.117 Dec 2012

    Nothing published for this version

  25. 0.3.015 Dec 2012

    Nothing published for this version

  26. 0.2.112 Dec 2012

    Nothing published for this version

  27. 0.2.06 Dec 2012

    Nothing published for this version

  28. 0.1.517 Nov 2012

    Nothing published for this version

  29. 0.1.412 Oct 2012

    Nothing published for this version

  30. 0.1.328 Sept 2012

    Nothing published for this version

  31. 0.1.218 Sept 2012

    Nothing published for this version

  32. 0.1.129 Aug 2012

    Nothing published for this version

  33. 0.1.028 Aug 2012

    Nothing published for this version

  34. 0.0.624 Aug 2012

    Nothing published for this version

  35. 0.0.57 Aug 2012

    Nothing published for this version

  36. 0.0.42 Aug 2012

    Nothing published for this version

  37. 0.0.320 Jul 2012

    Nothing published for this version

  38. 0.0.220 Jul 2012

    Nothing published for this version

  39. 0.0.119 Jul 2012

    Nothing published for this version