Skip to content

Commit

Permalink
chore: remove unnecessary dependencies (npm#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
notgull authored and claudiahdz committed Jan 31, 2020
1 parent 7a2c9b5 commit 40edfdf
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
7 changes: 5 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
"aproba": "^1.0.3 || ^2.0.0",
"color-support": "^1.1.2",
"console-control-strings": "^1.0.0",
"has-unicode": "^2.0.0",
"object-assign": "^4.1.0",
"has-unicode": "^2.0.1",
"signal-exit": "^3.0.0",
"string-width": "^1.0.1 || ^2.0.0",
"strip-ansi": "^3.0.1 || ^4.0.0",
Expand Down
3 changes: 1 addition & 2 deletions render-template.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
'use strict'
var align = require('wide-align')
var validate = require('aproba')
var objectAssign = require('object-assign')
var wideTruncate = require('./wide-truncate')
var error = require('./error')
var TemplateItem = require('./template-item')
Expand Down Expand Up @@ -34,7 +33,7 @@ function hasPreOrPost (item, values) {
}

function generatePreAndPost (baseItem, parentValues) {
var item = objectAssign({}, baseItem)
var item = Object.assign({}, baseItem)
var values = Object.create(parentValues)
var template = []
var pre = preType(item)
Expand Down

0 comments on commit 40edfdf

Please sign in to comment.