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
4
Versions
275
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 15.0.1 to 15.2.0-alpha.c681f819

12

build/index.js

@@ -42,2 +42,4 @@ /**

const NATIVE_PLATFORM = 'native';

@@ -207,3 +209,11 @@

if (regex.test(moduleName)) {
moduleName = moduleName.replace(regex, mappedModuleName);
const matches = moduleName.match(regex);
if (!matches) {
moduleName = mappedModuleName;
} else {
moduleName = mappedModuleName.replace(
/\$([0-9]+)/g,
(_, index) => matches[parseInt(index, 10)]);
}
return this.getModule(moduleName) || Resolver.findNodeModule(

@@ -210,0 +220,0 @@ moduleName,

6

package.json
{
"name": "jest-resolve",
"version": "15.0.1",
"version": "15.2.0-alpha.c681f819",
"repository": {

@@ -12,4 +12,4 @@ "type": "git",

"browser-resolve": "^1.11.2",
"jest-file-exists": "^15.0.0",
"jest-haste-map": "^15.0.1",
"jest-file-exists": "^15.2.0-alpha.c681f819",
"jest-haste-map": "^15.2.0-alpha.c681f819",
"resolve": "^1.1.6"

@@ -16,0 +16,0 @@ },

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