Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
]
},
"dependencies": {
"escape-string-regexp": "^2.0.0",
"escape-string-regexp": "^4.0.0",
"lodash.sortby": "^4.7.0",
"lodash.uniq": "^4.5.0",
"lodash.uniqwith": "^4.5.0"
Expand Down
3 changes: 3 additions & 0 deletions test/snapshots/--should-be-passed/input-patterns.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[
"foo-bar"
]
1 change: 1 addition & 0 deletions test/snapshots/--should-be-passed/input.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
foo-bar
11 changes: 11 additions & 0 deletions test/snapshots/--should-be-passed/output-for-human.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

- match text: **foo-bar**
- captures: **[]**
- startIndex: **0**
- endIndex: **7**

```
**foo-bar**

```

8 changes: 8 additions & 0 deletions test/snapshots/--should-be-passed/output-for-machine.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[
{
"match": "foo-bar",
"captures": [],
"startIndex": 0,
"endIndex": 7
}
]
7 changes: 1 addition & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ escalade@^3.1.1:
resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40"
integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==

[email protected]:
[email protected], escape-string-regexp@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34"
integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==
Expand All @@ -418,11 +418,6 @@ escape-string-regexp@^1.0.5:
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"
integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=

escape-string-regexp@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz#a30304e99daa32e23b2fd20f51babd07cffca344"
integrity sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==

execa@^5.1.1:
version "5.1.1"
resolved "https://registry.yarnpkg.com/execa/-/execa-5.1.1.tgz#f80ad9cbf4298f7bd1d4c9555c21e93741c411dd"
Expand Down