lodash-match-pattern
lodash-match-pattern copied to clipboard
Deep JSON pattern matching library
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2. Commits 699c459 3.1.2 2f2b5ff fix: trim pattern 25d7c0d 3.1.1 55dda29 fix: treat nocase:true as always having magic 5e1fb8d 3.1.0 f8145c5 Add 'allowWindowsEscape' option 570e8b1...
How do I match a field that can be any of multiple values, such as from an Enum of possible options? Effectively an "or" pattern?
Bumps [ajv](https://github.com/ajv-validator/ajv) from 5.2.2 to 6.12.3. Release notes Sourced from ajv's releases. v6.12.3 Pass schema object to processCode function Option for strictNumbers (@issacgerges, #1128) Fixed vulnerability related to untrusted schemas...
Bumps [pathval](https://github.com/chaijs/pathval) from 1.1.0 to 1.1.1. Release notes Sourced from pathval's releases. v1.1.1 Fixes a security issue around prototype pollution. Commits db6c3e3 chore: v1.1.1 7859e0e Merge pull request #60 from...
There is no documentation on how to put comments in patterns. I had to search in issues and discovered that `#` is the comment character the lib looks for. It'd...
I need to match a structure where a property key starts with a value and the object inside the property has a value. For example: ```js resourceContext: { Study: {...
Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.1 to 5.1.2. Release notes Sourced from glob-parent's releases. v5.1.2 Bug Fixes eliminate ReDoS (#36) (f923116) Changelog Sourced from glob-parent's changelog. 5.1.2 (2021-03-06) Bug Fixes eliminate ReDoS...
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21. Commits f299b52 Bump to v4.17.21 c4847eb Improve performance of toNumber, trim and trimEnd on large input strings 3469357 Prevent command injection through _.template's variable...
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1. Changelog Sourced from y18n's changelog. Change Log All notable changes to this project will be documented in this file. See standard-version for commit guidelines....
When comparing two objects that have two non-matching key/value pairs, I'm only alerted to one of the differences. This occurs in both `chai-match-pattern` and the CLI: ``` > const matchPattern...