From a08d8a8d9da86fd81cd0bb7952f21d294bb43ab5 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Thu, 14 Sep 2023 11:04:09 -0700 Subject: [PATCH 1/3] [Dev Deps] update `array.prototype.map` --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 281db1c..44f7b42 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ }, "devDependencies": { "@ljharb/eslint-config": "^21.1.0", - "array.prototype.map": "^1.0.5", + "array.prototype.map": "^1.0.6", "aud": "^2.0.3", "copy-dir": "^1.3.0", "eclint": "^2.8.1", From d56d2177906fe46011a346c8a6139d1f43861ca3 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Thu, 14 Sep 2023 10:52:18 -0700 Subject: [PATCH 2/3] [Fix] fix `npx resolve` by handling symlinks (#315) Fixes #315 --- bin/resolve | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/resolve b/bin/resolve index 5ee329a..4c1884a 100755 --- a/bin/resolve +++ b/bin/resolve @@ -11,7 +11,7 @@ if ( !process.argv || process.argv.length < 2 || (process.argv[1] !== __filename && fs.statSync(process.argv[1]).ino !== fs.statSync(__filename).ino) - || (process.env._ && path.resolve(process.env._) !== __filename) + || (process.env._ && fs.realpathSync(path.resolve(process.env._)) !== __filename) ) ) { console.error('Error: `resolve` must be run directly as an executable'); From 7f3ebd0f31c91f8f07fc59434d26c3b71af489af Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Thu, 14 Sep 2023 11:05:22 -0700 Subject: [PATCH 3/3] v1.22.5 - [Fix] fix `npx resolve` by handling symlinks (#315) - [Dev Deps] update `array.prototype.map` --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 44f7b42..354f527 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "resolve", "description": "resolve like require.resolve() on behalf of files asynchronously and synchronously", - "version": "1.22.4", + "version": "1.22.5", "repository": { "type": "git", "url": "git://github.com/browserify/resolve.git"