Socket
Socket
Sign inDemoInstall

jest-changed-files

Package Overview
Dependencies
38
Maintainers
3
Versions
172
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 29.6.3 to 29.7.0

18

build/index.js

@@ -47,9 +47,9 @@ 'use strict';

};
const gitPromises = Array.from(repos.git).map(repo =>
const gitPromises = Array.from(repos.git, repo =>
_git.default.findChangedFiles(repo, changedFilesOptions)
);
const hgPromises = Array.from(repos.hg).map(repo =>
const hgPromises = Array.from(repos.hg, repo =>
_hg.default.findChangedFiles(repo, changedFilesOptions)
);
const slPromises = Array.from(repos.sl).map(repo =>
const slPromises = Array.from(repos.sl, repo =>
_sl.default.findChangedFiles(repo, changedFilesOptions)

@@ -72,9 +72,7 @@ );

const findRepos = async roots => {
const gitRepos = await Promise.all(
roots.reduce((promises, root) => promises.concat(findGitRoot(root)), [])
);
const hgRepos = await Promise.all(
roots.reduce((promises, root) => promises.concat(findHgRoot(root)), [])
);
const slRepos = await Promise.all(roots.map(findSlRoot));
const [gitRepos, hgRepos, slRepos] = await Promise.all([
Promise.all(roots.map(findGitRoot)),
Promise.all(roots.map(findHgRoot)),
Promise.all(roots.map(findSlRoot))
]);
return {

@@ -81,0 +79,0 @@ git: new Set(gitRepos.filter(_jestUtil().isNonNullable)),

{
"name": "jest-changed-files",
"version": "29.6.3",
"version": "29.7.0",
"repository": {

@@ -21,3 +21,3 @@ "type": "git",

"execa": "^5.0.0",
"jest-util": "^29.6.3",
"jest-util": "^29.7.0",
"p-limit": "^3.1.0"

@@ -31,3 +31,3 @@ },

},
"gitHead": "fb7d95c8af6e0d65a8b65348433d8a0ea0725b5b"
"gitHead": "4e56991693da7cd4c3730dc3579a1dd1403ee630"
}
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc