Skip to content

Commit a877a58

Browse files
committed
Update dev-dependencies
1 parent 476af32 commit a877a58

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ function toPairs(schema) {
161161
}
162162

163163
function toExpression(find) {
164-
return typeof find === 'string' ? RegExp(escape(find), 'g') : find;
164+
return typeof find === 'string' ? new RegExp(escape(find), 'g') : find;
165165
}
166166

167167
function toFunction(replace) {

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@
2828
"unist-util-visit-parents": "^1.1.0"
2929
},
3030
"devDependencies": {
31-
"browserify": "^14.0.0",
31+
"browserify": "^16.0.0",
3232
"esmangle": "^1.0.1",
3333
"hastscript": "^3.0.1",
34-
"nyc": "^11.0.0",
35-
"remark-cli": "^4.0.0",
36-
"remark-preset-wooorm": "^3.0.0",
34+
"nyc": "^12.0.0",
35+
"remark-cli": "^5.0.0",
36+
"remark-preset-wooorm": "^4.0.0",
3737
"tape": "^4.4.0",
38-
"xo": "^0.18.0"
38+
"xo": "^0.21.0"
3939
},
4040
"scripts": {
4141
"build-md": "remark . --quiet --frail --output",

test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
var test = require('tape');
44
var h = require('hastscript');
5-
var findAndReplace = require('./');
5+
var findAndReplace = require('.');
66

77
test('findAndReplace', function (t) {
88
t.throws(

0 commit comments

Comments
 (0)