Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions client/preview.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import * as fromMem from "@peggyjs/from-mem";
import * as path from "path";
import * as peggy from "peggy";
import {
Expand All @@ -13,6 +12,7 @@ import {
import { MemFS } from "../vendor/vscode-extension-samples/fileSystemProvider";
import { debounce } from "../common/debounce";
import { fileURLToPath } from "url";
import fromMem from "@peggyjs/from-mem";

const PEGGY_INPUT_SCHEME = "peggyjsin";

Expand Down Expand Up @@ -106,7 +106,7 @@ async function executeAndDisplayResults(
out += "\n";
out += result;
out += "\n";
} catch(error) {
} catch (error) {
out += error.toString();
}
if (!out.endsWith("\n")) {
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,9 @@
"package": "vsce package --no-dependencies"
},
"devDependencies": {
"@peggyjs/eslint-config": "6.0.4",
"@peggyjs/eslint-config": "6.0.5",
"@types/mocha": "^10.0.10",
"@types/node": "22.x",
"@types/node": "24.x",
"@types/vscode": "^1.102.0",
"@vscode/test-cli": "^0.0.11",
"@vscode/test-electron": "^2.5.2",
Expand All @@ -183,10 +183,10 @@
"npm-run-all": "^4.1.5",
"rimraf": "^6.0.1",
"typescript": "^5.8.3",
"typescript-eslint": "8.36.0"
"typescript-eslint": "8.37.0"
},
"dependencies": {
"@peggyjs/from-mem": "3.0.2",
"@peggyjs/from-mem": "3.1.0",
"peggy": "^5.0.5",
"source-map-generator": "2.0.1",
"vscode-languageclient": "^9.0.1",
Expand All @@ -197,4 +197,4 @@
"engines": {
"vscode": ">=1.102.0"
}
}
}
Loading