Releases: maxrimue/parent-package-json
Releases · maxrimue/parent-package-json
v3.0.0
- Added TypeScript support
- Moved to Node.js >= v18
- Path result now supports relative and absolute path
v2.0.0
- 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
- New
ignore
parameter with which you can specify how many package.json
s shall be ignore when searching:
var parent = require('parent-package-json');
var pathOfParentOfParent = parent(null, 1).path;
v1.0.3
- Fixed a bug where Windows used both backslashes and slashes for paths
v1.0.2
- Changed default
path
from __dirname
to process.cwd()
v1.0.1
- Fixed a bug where in some cases, the
path
wasn't correctly found due to a bad for
loop