sindresorhus

read-package-up

Read the closest package.json file

by sindresorhus

JavaScript

JavaScript100%

Commit activity

Last 12 weeks · 1 commit

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template
pauliesnug

I'm recieveing the recursion error using TypeScript , which was fixed in the latest version of : https://github.com/sindresorhus/type-fest/pull/807, but all dependencies of read-package-up including read-pkg rely on an outdated version: Output of :

pauliesnug · 2y ago
ethaizone

https://www.npmjs.com/package/read-pkg https://github.com/sindresorhus/read-pkg-up/blob/1eed68d3bc9bd36449a1c6437d9fef33435bd2ea/package.json#L53 Would you help to bump this package?

ethaizone · 3y ago
jjangga0214

I cannot use ESM pure versions(>=8) yet, so currently stick with v7.0.1. And it has a problem that implementation and typing are different. Its typing is the snippet below. This requires me to do import by the member. However, an error occurs, because the implementation is different. https://github.com/sindresorhus/read-pkg-up/blob/c92040fcf5f4080cf7a0668184771de52e37a10e/index.js#L6-L17 As is a function itself, I should import like the below snippet. This time, a type error occurs, which requires me to . Would you publish v7.0.2 to fix this? Thanks a lot.

jjangga0214 · 3y ago
Structured data for AI agents

Repository: sindresorhus/read-package-up. Description: Read the closest package.json file Stars: 267, Forks: 21. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Latest release: v12.0.0 (11mo ago). Open PRs: 0, open issues: 0. Last activity: 1mo ago. Community health: 85%. Top contributors: sindresorhus, coreyfarrell, BendingBender, LinusU, dudeofawesome, Richienb, SamVerschueren, fisker.