@davmash/bygone 0.10.0 → 0.10.1
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/CHANGELOG.md +5 -0
- package/cli/present.js +14 -5
- package/media/webview.js +178 -178
- package/out/standalone-main.js +14 -7
- package/package.json +1 -1
- package/web/export-runtime.json +2 -2
package/out/standalone-main.js
CHANGED
|
@@ -18611,7 +18611,7 @@ var require_tourHistory = __commonJS({
|
|
|
18611
18611
|
var require_present = __commonJS({
|
|
18612
18612
|
"cli/present.js"(exports2, module2) {
|
|
18613
18613
|
"use strict";
|
|
18614
|
-
var {
|
|
18614
|
+
var { existsSync: existsSync2, mkdirSync: mkdirSync2, readFile, readFileSync: readFileSync5, realpathSync: realpathSync8, writeFileSync: writeFileSync3 } = require("fs");
|
|
18615
18615
|
var { createServer } = require("http");
|
|
18616
18616
|
var path12 = require("path");
|
|
18617
18617
|
var { spawn: spawn2 } = require("child_process");
|
|
@@ -18776,11 +18776,17 @@ var require_present = __commonJS({
|
|
|
18776
18776
|
respond(response, 404, "Not found");
|
|
18777
18777
|
return;
|
|
18778
18778
|
}
|
|
18779
|
-
|
|
18780
|
-
|
|
18781
|
-
|
|
18779
|
+
readFile(targetPath, (error, content) => {
|
|
18780
|
+
if (error) {
|
|
18781
|
+
respond(response, 500, "Read failed");
|
|
18782
|
+
return;
|
|
18783
|
+
}
|
|
18784
|
+
response.writeHead(200, {
|
|
18785
|
+
"Content-Type": MIME_TYPES.get(path12.extname(targetPath)) || "application/octet-stream",
|
|
18786
|
+
"Cache-Control": "no-store"
|
|
18787
|
+
});
|
|
18788
|
+
response.end(content);
|
|
18782
18789
|
});
|
|
18783
|
-
createReadStream(targetPath).on("error", () => respond(response, 500, "Read failed")).pipe(response);
|
|
18784
18790
|
});
|
|
18785
18791
|
const requestedPort = readPort(options.ignoreEnvironment ? void 0 : process.env.BYGONE_TOUR_PORT);
|
|
18786
18792
|
await new Promise((resolve5, reject) => {
|
|
@@ -21408,7 +21414,7 @@ var require_package = __commonJS({
|
|
|
21408
21414
|
displayName: "Bygone",
|
|
21409
21415
|
desktopName: "com.davidmashburn.bygone.desktop",
|
|
21410
21416
|
description: "See how change happened. Visual diff and file history for VS Code.",
|
|
21411
|
-
version: "0.10.
|
|
21417
|
+
version: "0.10.1",
|
|
21412
21418
|
author: "David Mashburn",
|
|
21413
21419
|
license: "MIT",
|
|
21414
21420
|
private: false,
|
|
@@ -21595,6 +21601,7 @@ var require_package = __commonJS({
|
|
|
21595
21601
|
"completions:generate": "node ./scripts/generate-completions.mjs",
|
|
21596
21602
|
"icons:generate": "node ./scripts/generate-icons.mjs",
|
|
21597
21603
|
"package:vsix": "node ./scripts/check-vsix-contents.mjs && vsce package",
|
|
21604
|
+
"test:presentation": "npm run compile && node --test ./test/presentation.test.js && node scripts/run-electron.mjs standalone/presentationSmoke.js",
|
|
21598
21605
|
"standalone:start": "npm run compile && node ./scripts/run-electron.mjs ./out/standalone-main.js",
|
|
21599
21606
|
"standalone:smoke": "npm run compile && node scripts/run-electron.mjs standalone/diffRegressionSmoke.js && node ./scripts/run-electron.mjs ./out/standalone-main.js --smoke-test && node ./scripts/run-electron.mjs ./out/standalone-main.js --smoke-test-multi && node ./scripts/run-electron.mjs ./out/standalone-main.js --smoke-test-directory && node ./scripts/run-electron.mjs ./out/standalone-main.js --smoke-test-directory-history && node ./scripts/run-electron.mjs ./out/standalone-main.js --smoke-test-workspace && node ./scripts/run-electron.mjs ./out/standalone-main.js --smoke-test-windows",
|
|
21600
21607
|
"walkthrough:refresh": "node ./scripts/refresh-walkthrough-screenshots.mjs",
|
|
@@ -21625,7 +21632,7 @@ var require_package = __commonJS({
|
|
|
21625
21632
|
lint: "eslint . --max-warnings=0",
|
|
21626
21633
|
"lint:fix": "eslint . --fix",
|
|
21627
21634
|
watch: "tsc -watch -p ./",
|
|
21628
|
-
test: "npm run compile && node ./test/runTests.js && node --test ./test/panelOrder.test.js ./test/revisionView.test.js ./test/devVersion.test.js ./test/focusedStrip.test.js ./test/diffRegression.test.js ./test/deepLink.test.js ./test/tourExport.test.js ./test/tourProse.test.js ./test/tourReading.test.js ./test/chapterSummary.test.js ./test/tourFraming.test.js ./test/tourFeedback.test.js ./test/tourZoomSession.test.js ./test/tourComparison.test.js ./test/tourHistory.test.js ./test/changeTourAuthoredModes.test.js ./test/renderCompleteToken.test.js ./test/tourDirectoryOverview.test.js ./test/tourDirectoryEvidence.test.js ./test/workspace*.test.js",
|
|
21635
|
+
test: "npm run compile && node ./test/runTests.js && node --test ./test/presentation.test.js ./test/panelOrder.test.js ./test/revisionView.test.js ./test/devVersion.test.js ./test/focusedStrip.test.js ./test/diffRegression.test.js ./test/deepLink.test.js ./test/tourExport.test.js ./test/tourProse.test.js ./test/tourReading.test.js ./test/chapterSummary.test.js ./test/tourFraming.test.js ./test/tourFeedback.test.js ./test/tourZoomSession.test.js ./test/tourComparison.test.js ./test/tourHistory.test.js ./test/changeTourAuthoredModes.test.js ./test/renderCompleteToken.test.js ./test/tourDirectoryOverview.test.js ./test/tourDirectoryEvidence.test.js ./test/workspace*.test.js",
|
|
21629
21636
|
"test:diff-renderer": "npm run compile && node scripts/run-electron.mjs standalone/diffRegressionSmoke.js",
|
|
21630
21637
|
"test:export-smoke": "npm run compile && node scripts/run-electron.mjs standalone/exportSmoke.js && node scripts/run-electron.mjs standalone/tourImageSmoke.js"
|
|
21631
21638
|
},
|
package/package.json
CHANGED
package/web/export-runtime.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": 1,
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.1",
|
|
4
4
|
"assets": {
|
|
5
5
|
"web/presenter.css": "sha256-zQdYI+Wl5V3zHjwpgjytYyFguJkHrGh6usOY8wBFfVU=",
|
|
6
6
|
"media/webview.css": "sha256-M190TAd1/y9PQVR++dd3O9MG2EbmvmEOT8CKm3L/gh0=",
|
|
7
7
|
"web/web-host.js": "sha256-aADV181nqkkok1/Osu1g5VuJ3ht19o7Uoebex1vPNgU=",
|
|
8
|
-
"media/webview.js": "sha256-
|
|
8
|
+
"media/webview.js": "sha256-pnnG4JuNqHLjkKDQy4kJ1lOtBt7UyPqUSQPIvsur2s4=",
|
|
9
9
|
"media/editor.worker.js": "sha256-qWbRV7U57PL25iH34w5bTeMJ0D1QDMulvRzYEPBRKnI=",
|
|
10
10
|
"media/diff.worker.js": "sha256-A+PzHkIfw4Egmw5ciI7CZVu3725hEZ45ZLHgxtZy4t8="
|
|
11
11
|
}
|