Skip to content
This repository has been archived by the owner on Jan 22, 2020. It is now read-only.

Pattern issue #14

Open
wants to merge 5 commits into
base: release
Choose a base branch
from
Open

Pattern issue #14

wants to merge 5 commits into from

Commits on Jul 31, 2018

  1. Extended object.pattern to take both RegExp or [RegExp, schema] for u…

    …ndefined key, values. Added tests and basic documentation.
    bldrvnlw committed Jul 31, 2018
    Configuration menu
    Copy the full SHA
    ca03892 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2018

  1. Correct the pattern test to allow object().type() to accept types wit…

    …h keys. The original test used only RegExp which did not show the bug.
    bldrvnlw committed Aug 3, 2018
    Configuration menu
    Copy the full SHA
    159dde5 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2018

  1. Configuration menu
    Copy the full SHA
    ae89f7d View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2018

  1. Object.type now passed the value to the validated value if the type m…

    …atches. Added a new flag, _isType, to the compiled schema to denote this situation and a new makeTypeCheck along with changes to the makeSchemaBuilder to set the flag when appropriate. If _isType is present the schema.checks are applied but the keys and pattern checks can be skipped if the correct object instance is present.
    bldrvnlw committed Sep 26, 2018
    Configuration menu
    Copy the full SHA
    a1b4967 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2018

  1. Added test to demonstrate the correct use of (pattern, schema with al…

    …ternatives). package-lock.json added by latest npm
    bldrvnlw committed Nov 22, 2018
    Configuration menu
    Copy the full SHA
    18c4040 View commit details
    Browse the repository at this point in the history