Add chai-match-pattern

This commit is contained in:
Yarmo Mackenbach 2020-10-24 22:25:00 +02:00
parent cf9176ff86
commit bdb8519412
2 changed files with 100 additions and 0 deletions

99
package-lock.json generated
View file

@ -15,6 +15,7 @@
"devDependencies": { "devDependencies": {
"chai": "^4.2.0", "chai": "^4.2.0",
"chai-as-promised": "^7.1.1", "chai-as-promised": "^7.1.1",
"chai-match-pattern": "^1.2.0",
"license-check-and-add": "^3.0.4", "license-check-and-add": "^3.0.4",
"mocha": "^8.2.0", "mocha": "^8.2.0",
"sinon": "^9.2.0", "sinon": "^9.2.0",
@ -560,6 +561,18 @@
"chai": ">= 2.1.2 < 5" "chai": ">= 2.1.2 < 5"
} }
}, },
"node_modules/chai-match-pattern": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/chai-match-pattern/-/chai-match-pattern-1.2.0.tgz",
"integrity": "sha512-nshSGIAtWKtseSN//jNjc3X6SPVljV5aJXnToPAxROmU0GM7q1TNyd0C4oBAn7Gh/vPz8weuwd3cD6bWo2ZqlQ==",
"dev": true,
"dependencies": {
"lodash-match-pattern": "^2.2.1"
},
"engines": {
"node": ">=4"
}
},
"node_modules/chalk": { "node_modules/chalk": {
"version": "4.1.0", "version": "4.1.0",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz",
@ -600,6 +613,16 @@
"integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=", "integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=",
"dev": true "dev": true
}, },
"node_modules/checkit": {
"version": "0.7.0",
"resolved": "https://registry.npmjs.org/checkit/-/checkit-0.7.0.tgz",
"integrity": "sha1-FJeavJMBg0a/z9y6vBmrVMC/10o=",
"dev": true,
"dependencies": {
"inherits": "^2.0.1",
"lodash": "^4.0.0"
}
},
"node_modules/chokidar": { "node_modules/chokidar": {
"version": "3.4.3", "version": "3.4.3",
"resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.4.3.tgz", "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.4.3.tgz",
@ -1530,6 +1553,36 @@
"path-exists": "^3.0.0" "path-exists": "^3.0.0"
} }
}, },
"node_modules/lodash": {
"version": "4.17.20",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz",
"integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==",
"dev": true
},
"node_modules/lodash-checkit": {
"version": "2.3.3",
"resolved": "https://registry.npmjs.org/lodash-checkit/-/lodash-checkit-2.3.3.tgz",
"integrity": "sha512-qXxiwOuKGivGJ/dY+jxz4PpA7lvwcofJv8pXc2ibVG+kGkFjdPgGKXhrJhMWjjyW8aL+KA/Mo6MibRtrk+/Yeg==",
"dev": true,
"dependencies": {
"checkit": "^0.7.0",
"lodash": "^4.17.19"
}
},
"node_modules/lodash-match-pattern": {
"version": "2.2.3",
"resolved": "https://registry.npmjs.org/lodash-match-pattern/-/lodash-match-pattern-2.2.3.tgz",
"integrity": "sha512-8SQw6J1wLzPF6fS4D01yN0xVIFtUz+o3hLfsp/4RTtlSMrEWJRCOGFvp8Ce0070oxnM8ZhxlfB8Tcu4Uxm9vQg==",
"dev": true,
"dependencies": {
"chalk": "^4.1.0",
"he": "^1.2.0",
"lodash-checkit": "^2.3.3"
},
"engines": {
"node": ">=4.0.0"
}
},
"node_modules/lodash.get": { "node_modules/lodash.get": {
"version": "4.4.2", "version": "4.4.2",
"resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz", "resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz",
@ -3318,6 +3371,15 @@
"check-error": "^1.0.2" "check-error": "^1.0.2"
} }
}, },
"chai-match-pattern": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/chai-match-pattern/-/chai-match-pattern-1.2.0.tgz",
"integrity": "sha512-nshSGIAtWKtseSN//jNjc3X6SPVljV5aJXnToPAxROmU0GM7q1TNyd0C4oBAn7Gh/vPz8weuwd3cD6bWo2ZqlQ==",
"dev": true,
"requires": {
"lodash-match-pattern": "^2.2.1"
}
},
"chalk": { "chalk": {
"version": "4.1.0", "version": "4.1.0",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz",
@ -3360,6 +3422,16 @@
"integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=", "integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=",
"dev": true "dev": true
}, },
"checkit": {
"version": "0.7.0",
"resolved": "https://registry.npmjs.org/checkit/-/checkit-0.7.0.tgz",
"integrity": "sha1-FJeavJMBg0a/z9y6vBmrVMC/10o=",
"dev": true,
"requires": {
"inherits": "^2.0.1",
"lodash": "^4.0.0"
}
},
"chokidar": { "chokidar": {
"version": "3.4.3", "version": "3.4.3",
"resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.4.3.tgz", "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.4.3.tgz",
@ -4294,6 +4366,33 @@
"path-exists": "^3.0.0" "path-exists": "^3.0.0"
} }
}, },
"lodash": {
"version": "4.17.20",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz",
"integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==",
"dev": true
},
"lodash-checkit": {
"version": "2.3.3",
"resolved": "https://registry.npmjs.org/lodash-checkit/-/lodash-checkit-2.3.3.tgz",
"integrity": "sha512-qXxiwOuKGivGJ/dY+jxz4PpA7lvwcofJv8pXc2ibVG+kGkFjdPgGKXhrJhMWjjyW8aL+KA/Mo6MibRtrk+/Yeg==",
"dev": true,
"requires": {
"checkit": "^0.7.0",
"lodash": "^4.17.19"
}
},
"lodash-match-pattern": {
"version": "2.2.3",
"resolved": "https://registry.npmjs.org/lodash-match-pattern/-/lodash-match-pattern-2.2.3.tgz",
"integrity": "sha512-8SQw6J1wLzPF6fS4D01yN0xVIFtUz+o3hLfsp/4RTtlSMrEWJRCOGFvp8Ce0070oxnM8ZhxlfB8Tcu4Uxm9vQg==",
"dev": true,
"requires": {
"chalk": "^4.1.0",
"he": "^1.2.0",
"lodash-checkit": "^2.3.3"
}
},
"lodash.get": { "lodash.get": {
"version": "4.4.2", "version": "4.4.2",
"resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz", "resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz",

View file

@ -11,6 +11,7 @@
"devDependencies": { "devDependencies": {
"chai": "^4.2.0", "chai": "^4.2.0",
"chai-as-promised": "^7.1.1", "chai-as-promised": "^7.1.1",
"chai-match-pattern": "^1.2.0",
"license-check-and-add": "^3.0.4", "license-check-and-add": "^3.0.4",
"mocha": "^8.2.0", "mocha": "^8.2.0",
"sinon": "^9.2.0", "sinon": "^9.2.0",