Skip to content
Closed
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
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,15 @@ jobs:
with:
node-version: 18
cache: npm

- uses: denoland/setup-deno@v2
with:
deno-version: v2.x
- run: npm ci
- run: npm run build
- run: npm test
- run: npm run lint
- name: Check Deno compatibility
run: deno check dist/**/*.js

publish:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion src/server/sse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { JSONRPCMessage, JSONRPCMessageSchema, MessageExtraInfo, RequestInfo } f
import getRawBody from "raw-body";
import contentType from "content-type";
import { AuthInfo } from "./auth/types.js";
import { URL } from 'url';
import { URL } from 'node:url';

const MAXIMUM_MESSAGE_SIZE = "4mb";

Expand Down
1 change: 1 addition & 0 deletions src/server/stdio.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import type { Buffer } from "node:buffer";
import process from "node:process";
import { Readable, Writable } from "node:stream";
import { ReadBuffer, serializeMessage } from "../shared/stdio.js";
Expand Down
1 change: 1 addition & 0 deletions src/shared/stdio.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { Buffer } from "node:buffer";
import { JSONRPCMessage } from "../types.js";
import { ReadBuffer } from "./stdio.js";

Expand Down
1 change: 1 addition & 0 deletions src/shared/stdio.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { Buffer } from "node:buffer";
import { JSONRPCMessage, JSONRPCMessageSchema } from "../types.js";

/**
Expand Down