patch-package
Advanced tools
Comparing version 3.3.3 to 3.3.4
# Changelog | ||
## 3.3.4 | ||
- Pass --unsafe-paths option to `git apply` to let it work on arbitrary | ||
file paths (i.e. files which are not in a git repo or files which are | ||
outside of the working directory) | ||
## 3.3.3 | ||
@@ -4,0 +10,0 @@ |
@@ -20,3 +20,5 @@ "use strict"; | ||
files.forEach(function (filename) { | ||
var _a = filename.match(/^(.+?)(:|\+)(.+)\.patch$/), _ = _a[0], packageName = _a[1], __ = _a[2], version = _a[3]; | ||
var match = filename.match(/^(.+?)(:|\+)(.+)\.patch$/); | ||
var packageName = match[1]; | ||
var version = match[3]; | ||
var packageDir = path.join(appPath, "node_modules", packageName); | ||
@@ -30,3 +32,3 @@ if (!fs.existsSync(packageDir)) { | ||
try { | ||
applyPatch(path.resolve(patchesDirectory, filename), packageName); | ||
applyPatch(path.resolve(patchesDirectory, filename)); | ||
if (packageJson.version !== version) { | ||
@@ -47,8 +49,10 @@ printVersionMismatchWarning(packageName, packageJson.version, version); | ||
exports.default = findPatchFiles; | ||
function applyPatch(patchFilePath, packageName) { | ||
function applyPatch(patchFilePath) { | ||
try { | ||
spawnSafe_1.default("git", ["apply", "--check", patchFilePath], { | ||
noStderrOnError: true, | ||
spawnSafe_1.default("git", ["apply", "--check", "--unsafe-paths", patchFilePath], { | ||
logStdErrOnError: false, | ||
}); | ||
spawnSafe_1.default("git", ["apply", patchFilePath], { noStderrOnError: true }); | ||
spawnSafe_1.default("git", ["apply", "--unsafe-paths", patchFilePath], { | ||
logStdErrOnError: false, | ||
}); | ||
} | ||
@@ -60,3 +64,5 @@ catch (e) { | ||
// sucessfully. Otherwise the patch just failed for some reason. | ||
spawnSafe_1.default("git", ["apply", "--reverse", "--check", patchFilePath]); | ||
spawnSafe_1.default("git", ["apply", "--reverse", "--check", "--unsafe-paths", patchFilePath], { | ||
logStdErrOnError: false, | ||
}); | ||
} | ||
@@ -71,2 +77,2 @@ } | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ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W9uczpcblxuICAgICAke2JvbGQoXCItLXVzZS15YXJuXCIpfVxuXG4gICAgICAgICBCeSBkZWZhdWx0LCBwYXRjaC1wYWNrYWdlIGNoZWNrcyB3aGV0aGVyIHlvdSB1c2UgbnBtIG9yIHlhcm4gYmFzZWQgb25cbiAgICAgICAgIHdoaWNoIGxvY2tmaWxlIHlvdSBoYXZlLiBJZiB5b3UgaGF2ZSBib3RoLCBpdCB1c2VzIG5wbSBieSBkZWZhdWx0LlxuICAgICAgICAgU2V0IHRoaXMgb3B0aW9uIHRvIG92ZXJyaWRlIHRoYXQgZGVmYXVsdCBhbmQgYWx3YXlzIHVzZSB5YXJuLlxuYClcbn1cbiJdfQ== |
@@ -82,2 +82,3 @@ "use strict"; | ||
console.warn("\u2049\uFE0F There don't appear to be any changes."); | ||
process.exit(1); | ||
} | ||
@@ -107,2 +108,2 @@ else { | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFrZVBhdGNoLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL21ha2VQYXRjaC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLCtCQUE2QjtBQUM3Qix1QkFBd0I7QUFDeEIsMkJBQTRCO0FBQzVCLCtCQUFnQztBQUNoQyx5QkFBMEI7QUFDMUIscUZBQStFO0FBQy9FLHlDQUF1QztBQUN2QyxxQ0FBeUM7QUFDekMsa0NBQW1DO0FBRW5DLG1CQUNFLFdBQW1CLEVBQ25CLE9BQWUsRUFDZixjQUE4QjtJQUU5QixJQUFNLGVBQWUsR0FBRyxJQUFJLENBQUMsSUFBSSxDQUFDLE9BQU8sRUFBRSxjQUFjLENBQUMsQ0FBQTtJQUMxRCxJQUFNLFdBQVcsR0FBRyxJQUFJLENBQUMsSUFBSSxDQUFDLGVBQWUsRUFBRSxXQUFXLENBQUMsQ0FBQTtJQUMzRCxJQUFNLGVBQWUsR0FBRyxJQ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1cblxuICBGaWxlIG5vdCBmb3VuZDogJHtwYWNrYWdlSnNvblBhdGh9YCxcbiAgKVxufVxuIl19 |
@@ -11,3 +11,3 @@ "use strict"; | ||
try { | ||
applyPatches_1.applyPatch(yarnPatchFile, "yarn"); | ||
applyPatches_1.applyPatch(yarnPatchFile); | ||
var yarnVersion = require(path_1.join(appPath, "node_modules", "yarn", "package.json")).version; | ||
@@ -32,2 +32,2 @@ console.log(chalk_2.bold("yarn") + "@" + yarnVersion + " " + chalk_2.green("✔")); | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF0Y2hZYXJuLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL3BhdGNoWWFybi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLCtCQUFtQztBQUNuQyx5QkFBK0I7QUFDL0IsNkJBQTJCO0FBQzNCLCtDQUEyQztBQUMzQywrQkFBbUM7QUFFbkMsSUFBTSxhQUFhLEdBQUcsV0FBSSxDQUFDLFNBQVMsRUFBRSxlQUFlLENBQUMsQ0FBQTtBQUV0RCxtQkFBa0MsT0FBZTtJQUMvQyxJQUFJLENBQUM7UUFDSCx5QkFBVSxDQUFDLGFBQWEsRUFBRSxNQUFNLENBQUMsQ0FBQTtRQUNqQyxJQUFNLFdBQVcsR0FBRyxPQUFPLENBQUMsV0FBSSxDQUM5QixPQUFPLEVBQ1AsY0FBYyxFQUNkLE1BQU0sRUFDTixjQUFjLENBQ2YsQ0FBQyxDQUFDLE9BQU8sQ0FBQTtRQUNWLE9BQU8sQ0FBQyxHQUFHLENBQUksWUFBSSxDQUFDLE1BQU0sQ0FBQyxTQUFJLFdBQVcsU0FBSSxhQUFLLENBQUMsR0FBRyxDQUFHLENBQUMsQ0FBQTtJQUM3RCxDQUFDO0lBQUMsS0FBSyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQztRQUNYLEVBQU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AgY29uc3QgeWFyblZlcnNpb24gPSByZXF1aXJlKGpvaW4oXG4gICAgICBhcHBQYXRoLFxuICAgICAgXCJub2RlX21vZHVsZXNcIixcbiAgICAgIFwieWFyblwiLFxuICAgICAgXCJwYWNrYWdlLmpzb25cIixcbiAgICApKS52ZXJzaW9uXG4gICAgY29uc29sZS5sb2coYCR7Ym9sZChcInlhcm5cIil9QCR7eWFyblZlcnNpb259ICR7Z3JlZW4oXCLinJRcIil9YClcbiAgfSBjYXRjaCAoZSkge1xuICAgIGlmIChleGlzdHNTeW5jKGpvaW4oYXBwUGF0aCwgXCJub2RlX21vZHVsZXNcIiwgXCJ5YXJuXCIpKSkge1xuICAgICAgcHJpbnRJbmNvbXBhdGlibGVZYXJuRXJyb3IoKVxuICAgIH0gZWxzZSB7XG4gICAgICBwcmludE5vWWFybldhcm5pbmcoKVxuICAgIH1cbiAgfVxufVxuXG5mdW5jdGlvbiBwcmludEluY29tcGF0aWJsZVlhcm5FcnJvcigpIHtcbiAgY29uc29sZS5lcnJvcihgXG4ke3JlZC5ib2xkKFwiKioqRVJST1IqKipcIil9XG4ke3JlZChgVGhpcyB2ZXJzaW9uIG9mIHBhdGNoLXBhY2thZ2UgaW4gaW5jb21wYXRpYmxlIHdpdGggeW91ciBjdXJyZW50IGxvY2FsXG52ZXJzaW9uIG9mIHlhcm4uIFBsZWFzZSB1cGRhdGUgYm90aC5gKX1cbmApXG59XG5cbmZ1bmN0aW9uIHByaW50Tm9ZYXJuV2FybmluZygpIHtcbiAgY29uc29sZS53YXJuKGBcbiR7eWVsbG93LmJvbGQoXCIqKipXYXJuaW5nKioqXCIpfVxuWW91IGFza2VkIHBhdGNoLXBhY2thZ2UgdG8gcGF0Y2ggeWFybiwgYnV0IHlvdSBkb24ndCBzZWVtIHRvIGhhdmUgeWFybiBpbnN0YWxsZWRcbmApXG59XG4iXX0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF0Y2hZYXJ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KSkpIHtcbiAgICAgIHByaW50SW5jb21wYXRpYmxlWWFybkVycm9yKClcbiAgICB9IGVsc2Uge1xuICAgICAgcHJpbnROb1lhcm5XYXJuaW5nKClcbiAgICB9XG4gIH1cbn1cblxuZnVuY3Rpb24gcHJpbnRJbmNvbXBhdGlibGVZYXJuRXJyb3IoKSB7XG4gIGNvbnNvbGUuZXJyb3IoYFxuJHtyZWQuYm9sZChcIioqKkVSUk9SKioqXCIpfVxuJHtyZWQoYFRoaXMgdmVyc2lvbiBvZiBwYXRjaC1wYWNrYWdlIGluIGluY29tcGF0aWJsZSB3aXRoIHlvdXIgY3VycmVudCBsb2NhbFxudmVyc2lvbiBvZiB5YXJuLiBQbGVhc2UgdXBkYXRlIGJvdGguYCl9XG5gKVxufVxuXG5mdW5jdGlvbiBwcmludE5vWWFybldhcm5pbmcoKSB7XG4gIGNvbnNvbGUud2FybihgXG4ke3llbGxvdy5ib2xkKFwiKioqV2FybmluZyoqKlwiKX1cbllvdSBhc2tlZCBwYXRjaC1wYWNrYWdlIHRvIHBhdGNoIHlhcm4sIGJ1dCB5b3UgZG9uJ3Qgc2VlbSB0byBoYXZlIHlhcm4gaW5zdGFsbGVkXG5gKVxufVxuIl19 |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var cross_spawn_1 = require("cross-spawn"); | ||
var defaultOptions = { | ||
logStdErrOnError: true, | ||
throwOnError: true, | ||
}; | ||
function spawnSafeSync(command, args, options) { | ||
var mergedOptions = Object.assign({}, defaultOptions, options); | ||
var result = cross_spawn_1.sync(command, args, options); | ||
if (result.error || result.status !== 0) { | ||
if (options && !options.noStderrOnError) { | ||
if (mergedOptions.logStdErrOnError) { | ||
console.error(result.stderr.toString()); | ||
} | ||
throw result; | ||
if (mergedOptions.throwOnError) { | ||
throw result; | ||
} | ||
} | ||
@@ -15,2 +22,2 @@ return result; | ||
exports.default = spawnSafeSync; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLC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5sb2dTdGRFcnJPbkVycm9yKSB7XHJcbiAgICAgIGNvbnNvbGUuZXJyb3IocmVzdWx0LnN0ZGVyci50b1N0cmluZygpKVxyXG4gICAgfVxyXG4gICAgaWYgKG1lcmdlZE9wdGlvbnMudGhyb3dPbkVycm9yKSB7XHJcbiAgICAgIHRocm93IHJlc3VsdFxyXG4gICAgfVxyXG4gIH1cclxuICByZXR1cm4gcmVzdWx0XHJcbn1cclxuIl19 |
{ | ||
"name": "patch-package", | ||
"version": "3.3.3", | ||
"version": "3.3.4", | ||
"description": "When forking just won't work, patch it.", | ||
@@ -13,4 +13,5 @@ "main": "dist/index.js", | ||
"scripts": { | ||
"precommit": "lint-staged", | ||
"precommit": "tsc --noEmit && lint-staged", | ||
"prepublish": "yarn run clean && yarn run build", | ||
"prepush": "jest", | ||
"build": "tsc", | ||
@@ -31,3 +32,3 @@ "clean": "rm -rf dist", | ||
}, | ||
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$", | ||
"testRegex": "src/.*(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$", | ||
"moduleFileExtensions": [ | ||
@@ -43,3 +44,3 @@ "ts", | ||
"@types/fs-extra": "^4.0.0", | ||
"@types/jest": "^19.2.4", | ||
"@types/jest": "^20.0.6", | ||
"@types/minimist": "^1.2.0", | ||
@@ -50,9 +51,9 @@ "@types/node": "^7.0.18", | ||
"husky": "^0.13.3", | ||
"jest": "^20.0.0", | ||
"jest": "^20.0.4", | ||
"lint-staged": "^3.4.1", | ||
"np": "^2.15.0", | ||
"prettier": "^1.5.3", | ||
"ts-jest": "^20.0.1", | ||
"ts-jest": "^20.0.10", | ||
"tslint": "^5.2.0", | ||
"typescript": "^2.3.4" | ||
"typescript": "^2.4.2" | ||
}, | ||
@@ -59,0 +60,0 @@ "dependencies": { |
Sorry, the diff of this file is not supported yet
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
71129
16
380