@pnpm/read-package-json
Advanced tools
Comparing version 5.0.4 to 5.0.5
@@ -13,4 +13,4 @@ "use strict"; | ||
try { | ||
const manifest = await load_json_file_1.default(pkgPath); | ||
normalize_package_data_1.default(manifest); | ||
const manifest = await (0, load_json_file_1.default)(pkgPath); | ||
(0, normalize_package_data_1.default)(manifest); | ||
return manifest; | ||
@@ -33,3 +33,3 @@ } | ||
} | ||
catch (err) { | ||
catch (err) { // eslint-disable-line | ||
if (err.code !== 'ENOENT') | ||
@@ -36,0 +36,0 @@ throw err; |
{ | ||
"name": "@pnpm/read-package-json", | ||
"version": "5.0.4", | ||
"version": "5.0.5", | ||
"description": "Read a package.json", | ||
@@ -16,2 +16,3 @@ "main": "lib/index.js", | ||
"keywords": [ | ||
"pnpm6", | ||
"pnpm", | ||
@@ -27,3 +28,3 @@ "outdated" | ||
"@pnpm/error": "2.0.0", | ||
"@pnpm/types": "7.4.0", | ||
"@pnpm/types": "7.5.0", | ||
"load-json-file": "^6.2.0", | ||
@@ -34,3 +35,3 @@ "normalize-package-data": "^3.0.2" | ||
"scripts": { | ||
"lint": "eslint -c ../../eslint.json src/**/*.ts test/**/*.ts", | ||
"lint": "eslint src/**/*.ts test/**/*.ts", | ||
"_test": "jest", | ||
@@ -37,0 +38,0 @@ "test": "pnpm run compile && pnpm run _test", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5818
1
+ Added@pnpm/types@7.5.0(transitive)
- Removed@pnpm/types@7.4.0(transitive)
Updated@pnpm/types@7.5.0