omnius 1.0.314 → 1.0.316
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +6 -1
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -25970,7 +25970,12 @@ var init_file_patch = __esm({
|
|
|
25970
25970
|
durationMs: performance.now() - start2
|
|
25971
25971
|
};
|
|
25972
25972
|
}
|
|
25973
|
-
|
|
25973
|
+
let normalizedPath = filePath;
|
|
25974
|
+
if (typeof normalizedPath === "string") {
|
|
25975
|
+
normalizedPath = normalizedPath.replace(/^([A-Za-z]):[\\/]/, "/$1/");
|
|
25976
|
+
normalizedPath = normalizedPath.replace(/\\/g, "/");
|
|
25977
|
+
}
|
|
25978
|
+
const fullPath = resolve17(this.workingDir, normalizedPath);
|
|
25974
25979
|
const content = await readFile8(fullPath, "utf-8");
|
|
25975
25980
|
const beforeHash = contentHash(content);
|
|
25976
25981
|
const lines = content.split("\n");
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "omnius",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.316",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "omnius",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.316",
|
|
10
10
|
"bundleDependencies": [
|
|
11
11
|
"image-to-ascii"
|
|
12
12
|
],
|
package/package.json
CHANGED