New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@stdlib/fs-resolve-parent-path

Package Overview
Dependencies
Maintainers
4
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stdlib/fs-resolve-parent-path - npm Package Compare versions

Comparing version
0.2.2
to
0.2.3
+1
-1
NOTICE

@@ -1,1 +0,1 @@

Copyright (c) 2016-2024 The Stdlib Authors.
Copyright (c) 2016-2026 The Stdlib Authors.
{
"name": "@stdlib/fs-resolve-parent-path",
"version": "0.2.2",
"version": "0.2.3",
"description": "Resolve a path by walking parent directories.",

@@ -33,11 +33,11 @@ "license": "Apache-2.0",

"dependencies": {
"@stdlib/assert-has-own-property": "^0.2.2",
"@stdlib/assert-is-function": "^0.2.2",
"@stdlib/assert-is-plain-object": "^0.2.2",
"@stdlib/assert-is-string": "^0.2.2",
"@stdlib/fs-exists": "^0.2.2",
"@stdlib/process-cwd": "^0.2.2",
"@stdlib/string-format": "^0.2.2",
"@stdlib/utils-define-nonenumerable-read-only-property": "^0.2.2",
"@stdlib/error-tools-fmtprodmsg": "^0.2.2"
"@stdlib/assert-has-own-property": "^0.2.3",
"@stdlib/assert-is-function": "^0.2.3",
"@stdlib/assert-is-plain-object": "^0.2.3",
"@stdlib/assert-is-string": "^0.2.3",
"@stdlib/fs-exists": "^0.2.3",
"@stdlib/process-cwd": "^0.2.3",
"@stdlib/string-format": "^0.2.3",
"@stdlib/utils-define-nonenumerable-read-only-property": "^0.2.3",
"@stdlib/error-tools-fmtprodmsg": "^0.2.3"
},

@@ -44,0 +44,0 @@ "devDependencies": {},

@@ -115,3 +115,3 @@ <!--

- If unable to resolve a path, both functions return `null`.
- This implementation is **not** similar in functionality to core [`path.resolve`][node-core-path-resolve]. The latter performs string manipulation to generate a full path. This implementation walks parent directories to perform a **search**, thereby touching the file system. Accordingly, this implementation resolves a _real_ absolute file path and is intended for use when a target's location in a parent directory is unknown relative to a child directory; e.g., when wanting to find a package root from deep within a package directory.
- This implementation is **not** similar in functionality to core [`path.resolve`][node-core-path-resolve]. The latter performs string manipulation to generate a full path. This implementation walks parent directories to perform a **search**, thereby touching the file system. Accordingly, this implementation resolves a _real_ absolute file path and is intended for use when a target's location in a parent directory is unknown relative to a child directory; e.g., when wanting to find a package root from deep within a package directory.

@@ -201,3 +201,3 @@ </section>

Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
Copyright &copy; 2016-2026. The Stdlib [Authors][stdlib-authors].

@@ -217,4 +217,4 @@ </section>

[test-image]: https://github.com/stdlib-js/fs-resolve-parent-path/actions/workflows/test.yml/badge.svg?branch=v0.2.2
[test-url]: https://github.com/stdlib-js/fs-resolve-parent-path/actions/workflows/test.yml?query=branch:v0.2.2
[test-image]: https://github.com/stdlib-js/fs-resolve-parent-path/actions/workflows/test.yml/badge.svg?branch=v0.2.3
[test-url]: https://github.com/stdlib-js/fs-resolve-parent-path/actions/workflows/test.yml?query=branch:v0.2.3

@@ -231,4 +231,4 @@ [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/fs-resolve-parent-path/main.svg

[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
[chat-url]: https://app.gitter.im/#/room/#stdlib-js_stdlib:gitter.im
[chat-image]: https://img.shields.io/badge/zulip-join_chat-brightgreen.svg
[chat-url]: https://stdlib.zulipchat.com

@@ -235,0 +235,0 @@ [stdlib]: https://github.com/stdlib-js/stdlib