patch-package
Advanced tools
Comparing version 3.3.5 to 3.3.6
# Changelog | ||
## 3.3.6 | ||
- Use posix paths and line separators even on windows, for git's sake. | ||
## 3.3.5 | ||
@@ -3,0 +7,0 @@ - Resolve paths in patch files for situations where the git root is not |
@@ -6,3 +6,3 @@ "use strict"; | ||
var tmp = require("tmp"); | ||
var os = require("os"); | ||
var slash = require("slash"); | ||
function _getPatchFiles(rootPatchesDir, scopedDir, acc) { | ||
@@ -27,3 +27,3 @@ if (scopedDir === void 0) { scopedDir = ""; } | ||
function relativeToGitRoot(gitRoot, appRoot, filePath) { | ||
return path.relative(gitRoot, path.resolve(appRoot, filePath)); | ||
return slash(path.relative(gitRoot, path.resolve(appRoot, filePath))); | ||
} | ||
@@ -35,3 +35,3 @@ // only exported for testing | ||
return patchFileContents | ||
.split(/\r?\n/) | ||
.split("\n") | ||
.map(function (line) { | ||
@@ -45,3 +45,3 @@ if (line.startsWith("+++") || line.startsWith("---")) { | ||
}) | ||
.join(os.EOL); | ||
.join("\n"); | ||
} | ||
@@ -57,2 +57,2 @@ exports.resolvePathsInPatchFile = resolvePathsInPatchFile; | ||
exports.temporarilyResolvePathsAgainstGitRoot = temporarilyResolvePathsAgainstGitRoot; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF0Y2hGcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9wYXRjaEZzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsNkJBQThCO0FBQzlCLDJCQUE0QjtBQUM1Qix5QkFBMEI7QUFDMUIsdUJBQXdCO0FBRXhCLHdCQUNFLGNBQXNCLEVBQ3RCLFNBQXNCLEVBQ3RCLEdBQWtCO0lBRGxCLDBCQUFBLEVBQUEsY0FBc0I7SUFDdEIsb0JBQUEsRUFBQSxRQUFrQjtJQUVsQixFQUFFLENBQUMsV0FBVyxDQUFDLElBQUksQ0FBQyxJQUF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Roc0FnYWluc3RHaXRSb290KFxuICBnaXRSb290UGF0aDogc3RyaW5nLFxuICBhcHBSb290UGF0aDogc3RyaW5nLFxuICBwYXRjaEZpbGVQYXRoOiBzdHJpbmcsXG4pOiBzdHJpbmcge1xuICBjb25zdCBleGlzdGluZ1BhdGNoRmlsZUNvbnRlbnRzID0gZnMucmVhZEZpbGVTeW5jKHBhdGNoRmlsZVBhdGgpLnRvU3RyaW5nKClcbiAgY29uc3QgcmVzb2x2ZWRQYXRjaEZpbGVDb250ZW50cyA9IHJlc29sdmVQYXRoc0luUGF0Y2hGaWxlKFxuICAgIGdpdFJvb3RQYXRoLFxuICAgIGFwcFJvb3RQYXRoLFxuICAgIGV4aXN0aW5nUGF0Y2hGaWxlQ29udGVudHMsXG4gIClcblxuICBjb25zdCB0bXBGaWxlID0gdG1wLmZpbGVTeW5jKHsgdW5zYWZlQ2xlYW51cDogdHJ1ZSB9KVxuICBmcy53cml0ZUZpbGVTeW5jKHRtcEZpbGUubmFtZSwgcmVzb2x2ZWRQYXRjaEZpbGVDb250ZW50cylcbiAgcmV0dXJuIHRtcEZpbGUubmFtZVxufVxuIl19 |
{ | ||
"name": "patch-package", | ||
"version": "3.3.5", | ||
"version": "3.3.6", | ||
"description": "When forking just won't work, patch it.", | ||
@@ -62,2 +62,3 @@ "main": "dist/index.js", | ||
"rimraf": "^2.6.1", | ||
"slash": "^1.0.0", | ||
"tmp": "^0.0.31", | ||
@@ -64,0 +65,0 @@ "update-notifier": "^2.2.0" |
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
79169
8
+ Addedslash@^1.0.0
+ Addedslash@1.0.0(transitive)