jest-changed-files
Advanced tools
Comparing version 24.0.0-alpha.12 to 24.0.0-alpha.13
@@ -126,5 +126,7 @@ 'use strict'; | ||
return function findChangedFiles(_x3, _x4) { | ||
function findChangedFiles(_x3, _x4) { | ||
return _findChangedFiles.apply(this, arguments); | ||
}; | ||
} | ||
return findChangedFiles; | ||
})(), | ||
@@ -145,5 +147,7 @@ getRoot: (function() { | ||
return function getRoot(_x5) { | ||
function getRoot(_x5) { | ||
return _getRoot.apply(this, arguments); | ||
}; | ||
} | ||
return getRoot; | ||
})() | ||
@@ -150,0 +154,0 @@ }; |
@@ -64,5 +64,38 @@ 'use strict'; | ||
const env = Object.assign({}, process.env, { | ||
function _objectSpread(target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
var source = arguments[i] != null ? arguments[i] : {}; | ||
var ownKeys = Object.keys(source); | ||
if (typeof Object.getOwnPropertySymbols === 'function') { | ||
ownKeys = ownKeys.concat( | ||
Object.getOwnPropertySymbols(source).filter(function(sym) { | ||
return Object.getOwnPropertyDescriptor(source, sym).enumerable; | ||
}) | ||
); | ||
} | ||
ownKeys.forEach(function(key) { | ||
_defineProperty(target, key, source[key]); | ||
}); | ||
} | ||
return target; | ||
} | ||
function _defineProperty(obj, key, value) { | ||
if (key in obj) { | ||
Object.defineProperty(obj, key, { | ||
value: value, | ||
enumerable: true, | ||
configurable: true, | ||
writable: true | ||
}); | ||
} else { | ||
obj[key] = value; | ||
} | ||
return obj; | ||
} | ||
const env = _objectSpread({}, process.env, { | ||
HGPLAIN: 1 | ||
}); | ||
const ANCESTORS = [ | ||
@@ -99,5 +132,7 @@ // Parent commit to this one. | ||
return function findChangedFiles(_x, _x2) { | ||
function findChangedFiles(_x, _x2) { | ||
return _findChangedFiles.apply(this, arguments); | ||
}; | ||
} | ||
return findChangedFiles; | ||
})(), | ||
@@ -117,5 +152,7 @@ getRoot: (function() { | ||
return function getRoot(_x3) { | ||
function getRoot(_x3) { | ||
return _getRoot.apply(this, arguments); | ||
}; | ||
} | ||
return getRoot; | ||
})() | ||
@@ -122,0 +159,0 @@ }; |
@@ -26,2 +26,34 @@ 'use strict'; | ||
function _objectSpread(target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
var source = arguments[i] != null ? arguments[i] : {}; | ||
var ownKeys = Object.keys(source); | ||
if (typeof Object.getOwnPropertySymbols === 'function') { | ||
ownKeys = ownKeys.concat( | ||
Object.getOwnPropertySymbols(source).filter(function(sym) { | ||
return Object.getOwnPropertyDescriptor(source, sym).enumerable; | ||
}) | ||
); | ||
} | ||
ownKeys.forEach(function(key) { | ||
_defineProperty(target, key, source[key]); | ||
}); | ||
} | ||
return target; | ||
} | ||
function _defineProperty(obj, key, value) { | ||
if (key in obj) { | ||
Object.defineProperty(obj, key, { | ||
value: value, | ||
enumerable: true, | ||
configurable: true, | ||
writable: true | ||
}); | ||
} else { | ||
obj[key] = value; | ||
} | ||
return obj; | ||
} | ||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { | ||
@@ -72,4 +104,4 @@ try { | ||
const repos = yield findRepos(roots); | ||
const changedFilesOptions = Object.assign( | ||
{}, | ||
const changedFilesOptions = _objectSpread( | ||
{ | ||
@@ -80,2 +112,3 @@ includePaths: roots | ||
); | ||
const gitPromises = Array.from(repos.git).map(repo => | ||
@@ -82,0 +115,0 @@ _git.default.findChangedFiles(repo, changedFilesOptions) |
{ | ||
"name": "jest-changed-files", | ||
"version": "24.0.0-alpha.12", | ||
"version": "24.0.0-alpha.13", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/facebook/jest.git" | ||
"url": "https://github.com/facebook/jest.git", | ||
"directory": "packages/jest-changed-files" | ||
}, | ||
@@ -17,3 +18,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "4f2bcb861d1f0fb150c05970362e52a38c31f67e" | ||
"gitHead": "6de22dde9a10f775adc7b6f80080bdd224f6ae31" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15210
433