Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps: [email protected] #4531

Merged
merged 1 commit into from
Mar 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion node_modules/read-package-json/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "read-package-json",
"version": "4.1.1",
"version": "4.1.2",
"author": "Isaac Z. Schlueter <[email protected]> (http://blog.izs.me/)",
"description": "The thing npm uses to read package.json files with semantics and defaults and validation",
"repository": {
Expand Down
4 changes: 4 additions & 0 deletions node_modules/read-package-json/read-json.js
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,10 @@ function final (file, data, log, strict, cb) {
function fillTypes (file, data, cb) {
var index = data.main ? data.main : 'index.js'

if (typeof index !== 'string') {
return cb(new TypeError('The "main" attribute must be of type string.'))
}

// TODO exports is much more complicated than this in verbose format
// We need to support for instance

Expand Down
14 changes: 7 additions & 7 deletions package-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
"proc-log": "^2.0.0",
"qrcode-terminal": "^0.12.0",
"read": "~1.0.7",
"read-package-json": "^4.1.1",
"read-package-json": "^4.1.2",
"read-package-json-fast": "^2.0.3",
"readdir-scoped-modules": "^1.1.0",
"rimraf": "^3.0.2",
Expand Down Expand Up @@ -6434,9 +6434,9 @@
"integrity": "sha512-HJpV9bQpkl6KwjxlJcBoqu9Ba0PQg8TqSNIOrulGt54a0uup0HtevreFHzYzkm0lpnleRdNBzXznKrgxglEHQw=="
},
"node_modules/read-package-json": {
"version": "4.1.1",
"resolved": "https://registry.npmjs.org/read-package-json/-/read-package-json-4.1.1.tgz",
"integrity": "sha512-P82sbZJ3ldDrWCOSKxJT0r/CXMWR0OR3KRh55SgKo3p91GSIEEC32v3lSHAvO/UcH3/IoL7uqhOFBduAnwdldw==",
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/read-package-json/-/read-package-json-4.1.2.tgz",
"integrity": "sha512-Dqer4pqzamDE2O4M55xp1qZMuLPqi4ldk2ya648FOMHRjwMzFhuxVrG04wd0c38IsvkVdr3vgHI6z+QTPdAjrQ==",
"inBundle": true,
"dependencies": {
"glob": "^7.1.1",
Expand Down Expand Up @@ -15746,9 +15746,9 @@
"integrity": "sha512-HJpV9bQpkl6KwjxlJcBoqu9Ba0PQg8TqSNIOrulGt54a0uup0HtevreFHzYzkm0lpnleRdNBzXznKrgxglEHQw=="
},
"read-package-json": {
"version": "4.1.1",
"resolved": "https://registry.npmjs.org/read-package-json/-/read-package-json-4.1.1.tgz",
"integrity": "sha512-P82sbZJ3ldDrWCOSKxJT0r/CXMWR0OR3KRh55SgKo3p91GSIEEC32v3lSHAvO/UcH3/IoL7uqhOFBduAnwdldw==",
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/read-package-json/-/read-package-json-4.1.2.tgz",
"integrity": "sha512-Dqer4pqzamDE2O4M55xp1qZMuLPqi4ldk2ya648FOMHRjwMzFhuxVrG04wd0c38IsvkVdr3vgHI6z+QTPdAjrQ==",
"requires": {
"glob": "^7.1.1",
"json-parse-even-better-errors": "^2.3.0",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
"proc-log": "^2.0.0",
"qrcode-terminal": "^0.12.0",
"read": "~1.0.7",
"read-package-json": "^4.1.1",
"read-package-json": "^4.1.2",
"read-package-json-fast": "^2.0.3",
"readdir-scoped-modules": "^1.1.0",
"rimraf": "^3.0.2",
Expand Down