Socket
Socket
Sign inDemoInstall

resolve

Package Overview
Dependencies
9
Maintainers
1
Versions
95
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.22.7 to 1.22.8

2

package.json
{
"name": "resolve",
"description": "resolve like require.resolve() on behalf of files asynchronously and synchronously",
"version": "1.22.7",
"version": "1.22.8",
"repository": {

@@ -6,0 +6,0 @@ "type": "git",

@@ -11,2 +11,5 @@ var path = require('path');

var requireResolveDefaultPathsBroken = (/^v8\.9\.|^v9\.[01]\.0|^v9\.2\./).test(process.version);
// broken in node v8.9.x, v9.0, v9.1, v9.2.x. see https://github.com/nodejs/node/pull/17113
test('`./sync` entry point', function (t) {

@@ -79,3 +82,3 @@ t.equal(resolve.sync, sync, '`./sync` entry point is the same as `.sync` on `main`');

);
if (requireResolveSupportsPaths) {
if (!requireResolveDefaultPathsBroken && requireResolveSupportsPaths) {
t.equal(

@@ -130,3 +133,3 @@ resolve.sync('foo', { basedir: basedir }),

);
if (requireResolveSupportsPaths) {
if (!requireResolveDefaultPathsBroken && requireResolveSupportsPaths) {
t.equal(

@@ -144,3 +147,3 @@ resolve.sync('tiv', { basedir: tivDir }),

);
if (requireResolveSupportsPaths) {
if (!requireResolveDefaultPathsBroken && requireResolveSupportsPaths) {
t.equal(

@@ -147,0 +150,0 @@ resolve.sync('grux', { basedir: gruxDir }),

{
"name": "monorepo-symlink-test",
"name": "ljharb-monorepo-symlink-test",
"private": true,

@@ -4,0 +4,0 @@ "version": "0.0.0",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc