Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

jest-webpack-alias

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-webpack-alias - npm Package Compare versions

Comparing version 3.1.0 to 3.2.0

6

lib/webpackInfo.js

@@ -9,2 +9,6 @@ var _ = require('lodash');

function extractES6DefaultExportsObject(inExports) {
return typeof _.get(inExports, 'default') === 'object' ? inExports.default : inExports;
}
function read(pmodule, dir) {

@@ -18,3 +22,3 @@ var packageJson = pkginfo.read(pmodule, dir);

var webpackFile = path.join(pkgJsonDir, configFile);
var webpackSettings = require(webpackFile);
var webpackSettings = extractES6DefaultExportsObject(require(webpackFile));

@@ -21,0 +25,0 @@ if (profile) {

2

package.json
{
"name": "jest-webpack-alias",
"version": "3.1.0",
"version": "3.2.0",
"description": "Preprocessor for Jest that is able to resolve require() statements using webpack aliases.",

@@ -5,0 +5,0 @@ "main": "lib/preprocessor.js",

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