Skip to content
Open
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
22 changes: 11 additions & 11 deletions javascript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,19 @@
"yjs": "^13.5.40"
},
"devDependencies": {
"@types/jest": "^29.0.0",
"@typescript-eslint/eslint-plugin": "^5.36.0",
"@typescript-eslint/parser": "^5.36.0",
"eslint": "^8.17.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-jest": "^27.0.0",
"eslint-plugin-prettier": "^4.0.0",
"jest": "^29.0.0",
"prettier": "^2.8.4",
"rimraf": "^4.4.0",
"@types/jest": "^29.2.0",
"@typescript-eslint/eslint-plugin": "^6.1.0",
"@typescript-eslint/parser": "^6.1.0",
"eslint": "^8.36.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-jest": "^27.6.0",
"eslint-plugin-prettier": "^5.0.0",
"jest": "^29.2.0",
"prettier": "^3.0.0",
"rimraf": "^5.0.1",
"tsc-esm-fix": "^2.20.0",
"typedoc": "^0.23.21",
"typescript": "^4.9.5"
"typescript": "~5.8.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ test = [
"pytest-asyncio",
"httpx-ws >=0.5.2",
"hypercorn >=0.16.0",
"pycrdt-websocket >=0.15.0,<0.16.0",
"pycrdt-websocket >=0.16.0,<0.17.0",
]
docs = [
"sphinx",
Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from anyio import Event, create_task_group
from hypercorn import Config
from hypercorn.asyncio import serve
from pycrdt_websocket import ASGIServer, WebsocketServer
from pycrdt.websocket import ASGIServer, WebsocketServer
from utils import ensure_server_running

# workaround until these PRs are merged:
Expand Down
7 changes: 3 additions & 4 deletions tests/test_pycrdt_yjs.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
import pytest
from anyio import Event, create_task_group, move_on_after
from httpx_ws import aconnect_ws
from pycrdt import Doc, Map
from pycrdt_websocket import WebsocketProvider
from pycrdt import Doc, Map, Provider
from utils import Websocket

from jupyter_ydoc import YNotebook
Expand Down Expand Up @@ -66,7 +65,7 @@ async def test_ypy_yjs_0(yws_server, yjs_client):
ydoc = Doc()
ynotebook = YNotebook(ydoc)
room_name = "my-roomname"
async with aconnect_ws(f"http://localhost:{port}/{room_name}") as websocket, WebsocketProvider(
async with aconnect_ws(f"http://localhost:{port}/{room_name}") as websocket, Provider(
ydoc, Websocket(websocket, room_name)
):
nb = stringify_source(json.loads((files_dir / "nb0.ipynb").read_text()))
Expand All @@ -86,7 +85,7 @@ async def test_ypy_yjs_1(yws_server, yjs_client):
nb = stringify_source(json.loads((files_dir / "nb1.ipynb").read_text()))
ynotebook.source = nb
room_name = "my-roomname"
async with aconnect_ws(f"http://localhost:{port}/{room_name}") as websocket, WebsocketProvider(
async with aconnect_ws(f"http://localhost:{port}/{room_name}") as websocket, Provider(
ydoc, Websocket(websocket, room_name)
):
output_text = ynotebook.ycells[0]["outputs"][0]["text"]
Expand Down
Loading
Loading