@pnpm/read-package-json
Advanced tools
Comparing version 9.0.6 to 9.0.7
@@ -6,3 +6,6 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.safeReadPackageJsonFromDir = exports.safeReadPackageJson = exports.readPackageJsonFromDir = exports.readPackageJson = void 0; | ||
exports.readPackageJson = readPackageJson; | ||
exports.readPackageJsonFromDir = readPackageJsonFromDir; | ||
exports.safeReadPackageJson = safeReadPackageJson; | ||
exports.safeReadPackageJsonFromDir = safeReadPackageJsonFromDir; | ||
const path_1 = __importDefault(require("path")); | ||
@@ -24,7 +27,5 @@ const error_1 = require("@pnpm/error"); | ||
} | ||
exports.readPackageJson = readPackageJson; | ||
async function readPackageJsonFromDir(pkgPath) { | ||
return readPackageJson(path_1.default.join(pkgPath, 'package.json')); | ||
} | ||
exports.readPackageJsonFromDir = readPackageJsonFromDir; | ||
async function safeReadPackageJson(pkgPath) { | ||
@@ -40,7 +41,5 @@ try { | ||
} | ||
exports.safeReadPackageJson = safeReadPackageJson; | ||
async function safeReadPackageJsonFromDir(pkgPath) { | ||
return safeReadPackageJson(path_1.default.join(pkgPath, 'package.json')); | ||
} | ||
exports.safeReadPackageJsonFromDir = safeReadPackageJsonFromDir; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@pnpm/read-package-json", | ||
"version": "9.0.6", | ||
"version": "9.0.7", | ||
"description": "Read a package.json", | ||
@@ -29,3 +29,3 @@ "main": "lib/index.js", | ||
"@pnpm/error": "6.0.1", | ||
"@pnpm/types": "12.0.0" | ||
"@pnpm/types": "12.1.0" | ||
}, | ||
@@ -35,3 +35,3 @@ "funding": "https://opencollective.com/pnpm", | ||
"@types/normalize-package-data": "^2.4.4", | ||
"@pnpm/read-package-json": "9.0.6" | ||
"@pnpm/read-package-json": "9.0.7" | ||
}, | ||
@@ -38,0 +38,0 @@ "exports": { |
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
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
6036
46
+ Added@pnpm/types@12.1.0(transitive)
- Removed@pnpm/types@12.0.0(transitive)
Updated@pnpm/types@12.1.0