Skip to content

Commit

Permalink
use fromentries
Browse files Browse the repository at this point in the history
typicode committed Jan 28, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 604c97b commit 89c1900
Showing 3 changed files with 10 additions and 147 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const fs = require('fs')
const path = require('path')
const writeJsonFile = require('write-json-file')
const fromEntries = require('object.fromentries')
const fromEntries = require('fromentries')

// Read package.json
function readPkg(dir) {
153 changes: 8 additions & 145 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -34,7 +34,7 @@
},
"homepage": "https://github.com/typicode/pinst#readme",
"dependencies": {
"object.fromentries": "^2.0.3",
"fromentries": "^1.3.2",
"write-json-file": "^4.3.0"
},
"devDependencies": {

0 comments on commit 89c1900

Please sign in to comment.