New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

jest-resolve

Package Overview
Dependencies
Maintainers
6
Versions
274
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-resolve - npm Package Compare versions

Comparing version 28.0.0-alpha.5 to 28.0.0-alpha.6

12

build/resolver.js

@@ -449,3 +449,3 @@ 'use strict';

extensions.unshift(
...this._options.extensions.map(ext => '.' + NATIVE_PLATFORM + ext)
...this._options.extensions.map(ext => `.${NATIVE_PLATFORM}${ext}`)
);

@@ -456,3 +456,3 @@ }

extensions.unshift(
...this._options.extensions.map(ext => '.' + defaultPlatform + ext)
...this._options.extensions.map(ext => `.${defaultPlatform}${ext}`)
);

@@ -542,3 +542,3 @@ }

return path().normalize(path().dirname(from) + '/' + moduleName);
return path().normalize(`${path().dirname(from)}/${moduleName}`);
}

@@ -897,4 +897,6 @@

const original = Array.isArray(mappedModuleName)
? JSON.stringify(mappedModuleName, null, 6) // using 6 because of misalignment when nested below
.slice(0, -1) + ' ]' /// align last bracket correctly as well
? `${
JSON.stringify(mappedModuleName, null, 6) // using 6 because of misalignment when nested below
.slice(0, -1) + ' '.repeat(4)
}]` /// align last bracket correctly as well
: mappedModuleName;

@@ -901,0 +903,0 @@ const error = new Error(

@@ -118,3 +118,3 @@ 'use strict';

rootDir,
path().normalize('./' + filePath.substr('<rootDir>'.length))
path().normalize(`./${filePath.substr('<rootDir>'.length)}`)
);

@@ -121,0 +121,0 @@ };

{
"name": "jest-resolve",
"version": "28.0.0-alpha.5",
"version": "28.0.0-alpha.6",
"repository": {

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

"graceful-fs": "^4.2.9",
"jest-haste-map": "^28.0.0-alpha.5",
"jest-haste-map": "^28.0.0-alpha.6",
"jest-pnp-resolver": "^1.2.2",
"jest-util": "^28.0.0-alpha.5",
"jest-validate": "^28.0.0-alpha.5",
"jest-util": "^28.0.0-alpha.6",
"jest-validate": "^28.0.0-alpha.6",
"resolve": "^1.20.0",

@@ -41,3 +41,3 @@ "resolve.exports": "^1.1.0",

},
"gitHead": "46fb19b2628bd87676c10730ba19592c30b05478"
"gitHead": "6284ada4adb7008f5f8673b1a7b1c789d2e508fb"
}
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc