patroon 1.2.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "patroon",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Pattern matching library",
5
5
  "repository": "github:bas080/patroon",
6
6
  "main": "./src/index.js",
@@ -16,8 +16,13 @@
16
16
  "pattern",
17
17
  "pattern-matching",
18
18
  "predicate",
19
- "types",
20
- "string"
19
+ "string",
20
+ "regex",
21
+ "regular expression",
22
+ "nested",
23
+ "deep",
24
+ "recursive",
25
+ "circular"
21
26
  ],
22
27
  "author": "Bassim Huis",
23
28
  "license": "GPL-3.0",
package/src/index.test.js CHANGED
@@ -148,7 +148,7 @@ test('Matches always when pattern equals value', check(gen.any, (t, val) => {
148
148
  t.end()
149
149
  }))
150
150
 
151
- test('Matches always when arguments match multi pattern', check(gen.array(gen.any, {}), (t, args) => {
151
+ test('Matches always when arguments match multi pattern', check(gen.array(gen.any), (t, args) => {
152
152
  patroon(
153
153
  multi(...args), () => t.end()
154
154
  )(...args)