Skip to content

Commit c0ab8cf

Browse files
authored
Upgrade devDependencies to remove npm audit warnings (#139)
* Upgrade standard * Upgrade mocha
1 parent 5187bf3 commit c0ab8cf

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
"graceful-fs": "^4.1.6"
2424
},
2525
"devDependencies": {
26-
"mocha": "^5.2.0",
26+
"mocha": "^8.2.0",
2727
"rimraf": "^2.4.0",
28-
"standard": "^12.0.1"
28+
"standard": "^16.0.1"
2929
},
3030
"main": "index.js",
3131
"files": [

test/write-file-sync.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ describe('+ writeFileSync()', () => {
4444

4545
const obj = {
4646
name: 'jp',
47-
reg: new RegExp(/hello/g)
47+
reg: /hello/g
4848
}
4949

5050
jf.writeFileSync(file, obj, { replacer: sillyReplacer })

test/write-file.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ describe('+ writeFile()', () => {
7373

7474
obj = {
7575
name: 'jp',
76-
reg: new RegExp(/hello/g)
76+
reg: /hello/g
7777
}
7878

7979
done()

0 commit comments

Comments
 (0)