Skip to content

Releases: maxrimue/parent-package-json

v3.0.0

10 Jun 16:35
3e0c016
Compare
Choose a tag to compare
  • Added TypeScript support
  • Moved to Node.js >= v18
  • Path result now supports relative and absolute path

v2.0.0

16 Aug 18:13
Compare
Choose a tag to compare
  • Remove support for 0.10 and 0.12
  • Remove all dependencies (only devDependencies left)
  • Fixed Windows bug that would make a search not stop when no single package.json gets found

v1.1.0

09 Jan 17:40
Compare
Choose a tag to compare
  • New ignore parameter with which you can specify how many package.jsons shall be ignore when searching:
var parent = require('parent-package-json');
var pathOfParentOfParent = parent(null, 1).path;
  • Fixed some typos

v1.0.3

08 Jan 22:47
Compare
Choose a tag to compare
  • Fixed a bug where Windows used both backslashes and slashes for paths

v1.0.2

08 Jan 22:46
Compare
Choose a tag to compare
  • Changed default path from __dirname to process.cwd()

v1.0.1

08 Jan 21:26
Compare
Choose a tag to compare
  • Fixed a bug where in some cases, the path wasn't correctly found due to a bad for loop

v1.0.0

08 Jan 21:25
Compare
Choose a tag to compare

Initial Release