Skip to content

Commit cc89759

Browse files
committed
chore: remove underscore dev dep
1 parent b224ba1 commit cc89759

File tree

3 files changed

+3
-18
lines changed

3 files changed

+3
-18
lines changed

package-lock.json

Lines changed: 1 addition & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@
2020
},
2121
"devDependencies": {
2222
"async": "^2.6.1",
23-
"tap": "^12.4.0",
24-
"underscore": "^1.8.3"
23+
"tap": "^12.4.0"
2524
},
2625
"files": [
2726
"lib/*.js",

test/consistency.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ var tap = require("tap")
22
var normalize = require("../lib/normalize")
33
var path = require("path")
44
var fs = require("fs")
5-
var _ = require("underscore")
65
var async = require("async")
76

87
var data, clonedData
@@ -21,7 +20,7 @@ tap.test("consistent normalization", function(t) {
2120
if (err) return next(err)
2221
data = JSON.parse(contents.toString())
2322
normalize(data, warn)
24-
clonedData = _.clone(data)
23+
clonedData = { ...data }
2524
normalize(data, warn)
2625
t.deepEqual(clonedData, data,
2726
"Normalization of " + entryName + " is consistent.")

0 commit comments

Comments
 (0)