Skip to content

Commit

Permalink
deps: read-package-json-fast@3.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
fritzy committed Feb 1, 2023
1 parent 6e4a649 commit 721fe3f
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 21 deletions.
10 changes: 2 additions & 8 deletions node_modules/read-package-json-fast/lib/index.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
const { promisify } = require('util')
const fs = require('fs')
const readFile = promisify(fs.readFile)
const lstat = promisify(fs.lstat)
const readdir = promisify(fs.readdir)
const { readFile, lstat, readdir } = require('fs/promises')
const parse = require('json-parse-even-better-errors')

const normalizePackageBin = require('npm-normalize-package-bin')
const { resolve, dirname, join, relative } = require('path')

const rpj = path => readFile(path, 'utf8')
Expand All @@ -14,8 +10,6 @@ const rpj = path => readFile(path, 'utf8')
throw er
})

const normalizePackageBin = require('npm-normalize-package-bin')

// load the directories.bin folder as a 'bin' object
const readBinDir = async (path, data) => {
if (data.bin) {
Expand Down
6 changes: 3 additions & 3 deletions node_modules/read-package-json-fast/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "read-package-json-fast",
"version": "3.0.1",
"version": "3.0.2",
"description": "Like read-package-json, but faster",
"main": "lib/index.js",
"author": "GitHub Inc.",
Expand All @@ -19,7 +19,7 @@
},
"devDependencies": {
"@npmcli/eslint-config": "^4.0.0",
"@npmcli/template-oss": "4.5.1",
"@npmcli/template-oss": "4.11.0",
"tap": "^16.3.0"
},
"dependencies": {
Expand All @@ -36,7 +36,7 @@
],
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "4.5.1"
"version": "4.11.0"
},
"tap": {
"nyc-arg": [
Expand Down
13 changes: 7 additions & 6 deletions package-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
"qrcode-terminal": "^0.12.0",
"read": "~1.0.7",
"read-package-json": "^6.0.0",
"read-package-json-fast": "^3.0.1",
"read-package-json-fast": "^3.0.2",
"semver": "^7.3.8",
"ssri": "^10.0.1",
"tar": "^6.1.13",
Expand Down Expand Up @@ -9963,9 +9963,10 @@
}
},
"node_modules/read-package-json-fast": {
"version": "3.0.1",
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/read-package-json-fast/-/read-package-json-fast-3.0.2.tgz",
"integrity": "sha512-0J+Msgym3vrLOUB3hzQCuZHII0xkNGCtz/HJH9xZshwv9DbDwkw1KaE3gx/e2J5rpEY5rtOy6cyhKOPrkP7FZw==",
"inBundle": true,
"license": "ISC",
"dependencies": {
"json-parse-even-better-errors": "^3.0.0",
"npm-normalize-package-bin": "^3.0.0"
Expand Down Expand Up @@ -14431,7 +14432,7 @@
"proc-log": "^3.0.0",
"promise-all-reject-late": "^1.0.0",
"promise-call-limit": "^1.0.1",
"read-package-json-fast": "^3.0.1",
"read-package-json-fast": "^3.0.2",
"semver": "^7.3.7",
"ssri": "^10.0.1",
"treeverse": "^3.0.0",
Expand Down Expand Up @@ -14464,7 +14465,7 @@
"ini": "^3.0.0",
"nopt": "^7.0.0",
"proc-log": "^3.0.0",
"read-package-json-fast": "^3.0.0",
"read-package-json-fast": "^3.0.2",
"semver": "^7.3.5",
"walk-up-path": "^1.0.0"
},
Expand Down Expand Up @@ -14531,7 +14532,7 @@
"pacote": "^15.0.8",
"proc-log": "^3.0.0",
"read": "^1.0.7",
"read-package-json-fast": "^3.0.1",
"read-package-json-fast": "^3.0.2",
"semver": "^7.3.7",
"walk-up-path": "^1.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
"qrcode-terminal": "^0.12.0",
"read": "~1.0.7",
"read-package-json": "^6.0.0",
"read-package-json-fast": "^3.0.1",
"read-package-json-fast": "^3.0.2",
"semver": "^7.3.8",
"ssri": "^10.0.1",
"tar": "^6.1.13",
Expand Down
2 changes: 1 addition & 1 deletion workspaces/arborist/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"proc-log": "^3.0.0",
"promise-all-reject-late": "^1.0.0",
"promise-call-limit": "^1.0.1",
"read-package-json-fast": "^3.0.1",
"read-package-json-fast": "^3.0.2",
"semver": "^7.3.7",
"ssri": "^10.0.1",
"treeverse": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion workspaces/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"ini": "^3.0.0",
"nopt": "^7.0.0",
"proc-log": "^3.0.0",
"read-package-json-fast": "^3.0.0",
"read-package-json-fast": "^3.0.2",
"semver": "^7.3.5",
"walk-up-path": "^1.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion workspaces/libnpmexec/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"pacote": "^15.0.8",
"proc-log": "^3.0.0",
"read": "^1.0.7",
"read-package-json-fast": "^3.0.1",
"read-package-json-fast": "^3.0.2",
"semver": "^7.3.7",
"walk-up-path": "^1.0.0"
},
Expand Down

0 comments on commit 721fe3f

Please sign in to comment.