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
1
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 12.1.2-alpha.a482b15c to 12.1.3-alpha.6230044c

11

build/index.js

@@ -26,2 +26,3 @@ /**

const resolve = require('resolve');
const browserResolve = require('browser-resolve');

@@ -47,2 +48,4 @@

const NATIVE_PLATFORM = 'native';

@@ -90,3 +93,4 @@

moduleNameMapper: options.moduleNameMapper,
modulePaths: options.modulePaths };
modulePaths: options.modulePaths,
browser: options.browser };

@@ -106,2 +110,3 @@

return new Resolver(moduleMap, {
browser: config.browser,
defaultPlatform: config.haste.defaultPlatform,

@@ -120,3 +125,4 @@ extensions: config.moduleFileExtensions.map(extension => '.' + extension),

try {
return resolve.sync(
const resv = options.browser ? browserResolve : resolve;
return resv.sync(
path,

@@ -169,2 +175,3 @@ {

basedir: dirname,
browser: this._options.browser,
extensions,

@@ -171,0 +178,0 @@ moduleDirectory,

5

package.json
{
"name": "jest-resolve",
"version": "12.1.2-alpha.a482b15c",
"version": "12.1.3-alpha.6230044c",
"repository": {

@@ -11,3 +11,4 @@ "type": "git",

"dependencies": {
"jest-haste-map": "^12.1.2-alpha.a482b15c",
"browser-resolve": "^1.11.2",
"jest-haste-map": "^12.1.3-alpha.6230044c",
"resolve": "^1.1.6"

@@ -14,0 +15,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