Socket
Socket
Sign inDemoInstall

jest-haste-map

Package Overview
Dependencies
Maintainers
4
Versions
273
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-haste-map - npm Package Compare versions

Comparing version 13.3.0-alpha.g8b48d59 to 13.4.0-alpha.d2632006

35

build/index.js

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

const H = require('./constants');

@@ -61,10 +59,4 @@

const NODE_MODULES = path.sep + 'node_modules' + path.sep;
const VERSION = require('../package.json').version;
const SNAPSHOT_EXTENSION = 'snap';

@@ -116,3 +108,3 @@ const canUseWatchman = (() => {

* files: {[filepath: string]: FileMetaData},
* map: {[id: string]: ModuleMap},
* map: {[id: string]: ModuleMapItem},
* mocks: {[id: string]: string},

@@ -134,3 +126,3 @@ * }

* // `Platform` module. The platform should be specified during resolution.
* type ModuleMap = {[platform: string]: ModuleMetaData};
* type ModuleMapItem = {[platform: string]: ModuleMetaData};
*

@@ -207,25 +199,2 @@ * //

static create(
config,
options)
{
const ignorePattern = new RegExp(
[config.cacheDirectory].concat(config.modulePathIgnorePatterns).join('|'));
return new HasteMap({
cacheDirectory: config.cacheDirectory,
extensions: [SNAPSHOT_EXTENSION].concat(config.moduleFileExtensions),
ignorePattern,
maxWorkers: options && options.maxWorkers || 1,
mocksPattern: config.mocksPattern,
name: config.name,
platforms: config.haste.platforms || ['ios', 'android'],
providesModuleNodeModules: config.haste.providesModuleNodeModules,
resetCache: options && options.resetCache,
roots: config.testPathDirs,
useWatchman: config.watchman });}
static getCacheFilePath(tmpdir, name) {

@@ -232,0 +201,0 @@ const hash = crypto.createHash('md5');

2

package.json
{
"name": "jest-haste-map",
"version": "13.3.0-alpha.g8b48d59",
"version": "13.4.0-alpha.d2632006",
"repository": {

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

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