Skip to content

Commit 2ac0cdc

Browse files
committed
chore: bump deps, lock [email protected] per uhop/node-re2#94
1 parent 542654b commit 2ac0cdc

File tree

4 files changed

+18
-9841
lines changed

4 files changed

+18
-9841
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ Since we cannot use regular expression's "negative lookbehinds" functionality (d
148148
[MIT](LICENSE) © [Nick Baugh](http://niftylettuce.com/)
149149

150150

151-
##
151+
##
152152

153153
[npm]: https://www.npmjs.com/
154154

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,24 @@
1616
"Diego Perini"
1717
],
1818
"dependencies": {
19-
"ip-regex": "^4.1.0",
20-
"re2": "^1.15.4",
21-
"tlds": "^1.209.0"
19+
"ip-regex": "^4.3.0",
20+
"re2": "1.15.4",
21+
"tlds": "^1.217.0"
2222
},
2323
"devDependencies": {
24-
"@babel/cli": "^7.10.5",
25-
"@babel/core": "^7.11.4",
26-
"@babel/preset-env": "^7.11.0",
24+
"@babel/cli": "^7.12.16",
25+
"@babel/core": "^7.12.16",
26+
"@babel/preset-env": "^7.12.16",
2727
"@commitlint/cli": "latest",
2828
"@commitlint/config-conventional": "latest",
2929
"ava": "latest",
3030
"babelify": "^10.0.0",
31-
"browserify": "^16.5.2",
31+
"browserify": "^17.0.0",
3232
"codecov": "latest",
3333
"cross-env": "latest",
3434
"eslint": "latest",
3535
"eslint-config-xo-lass": "latest",
36-
"eslint-plugin-compat": "^3.8.0",
36+
"eslint-plugin-compat": "^3.9.0",
3737
"eslint-plugin-node": "^11.1.0",
3838
"fixpack": "latest",
3939
"husky": "latest",

test/test.js

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -93,16 +93,13 @@ test('match URLs in text', (t) => {
9393
[and another](https://another.example.com) and
9494
`;
9595

96-
t.deepEqual(
97-
[
98-
'//bar.net/?q=Query',
99-
'//dolor.sit',
100-
'http://example.com',
101-
'http://example.com/with-path',
102-
'https://another.example.com'
103-
],
104-
fixture.match(urlRegex({ strict: true }))
105-
);
96+
t.deepEqual(fixture.match(urlRegex({ strict: true })), [
97+
'//bar.net/?q=Query',
98+
'//dolor.sit',
99+
'http://example.com',
100+
'http://example.com/with-path',
101+
'https://another.example.com'
102+
]);
106103
});
107104

108105
for (const x of [
@@ -264,8 +261,8 @@ test('opt out of matching basic auth', (t) => {
264261

265262
// Strict matches none because auth always breaks the url
266263
t.is(
267-
null,
268-
textFixture.match(urlRegex({ exact: false, strict: true, auth: false }))
264+
textFixture.match(urlRegex({ exact: false, strict: true, auth: false })),
265+
null
269266
);
270267

271268
// Non-strict will only match domain:port/path as auth separates the protocol

0 commit comments

Comments
 (0)