fixes CollaborativeEditing demo

This commit is contained in:
Jan Thurau 2024-01-18 20:07:51 +01:00
parent bb4cc14020
commit 77f3fa9f9a
No known key found for this signature in database
GPG Key ID: 60B3EB3A1C49AC04
2 changed files with 62 additions and 21 deletions

View File

@ -9,7 +9,7 @@
"ts": "tsc --project tsconfig.base.json --noEmit && tsc --project tsconfig.react.json --noEmit && tsc --project tsconfig.vue-2.json --noEmit && tsc --project tsconfig.vue-3.json --noEmit" "ts": "tsc --project tsconfig.base.json --noEmit && tsc --project tsconfig.react.json --noEmit && tsc --project tsconfig.vue-2.json --noEmit && tsc --project tsconfig.vue-3.json --noEmit"
}, },
"dependencies": { "dependencies": {
"@hocuspocus/provider": "^2.0.1", "@hocuspocus/provider": "^2.9.0",
"@lexical/react": "^0.11.1", "@lexical/react": "^0.11.1",
"d3": "^7.3.0", "d3": "^7.3.0",
"fast-glob": "^3.2.11", "fast-glob": "^3.2.11",

81
package-lock.json generated
View File

@ -54,7 +54,7 @@
"name": "tiptap-demos", "name": "tiptap-demos",
"version": "2.2.0-rc.8", "version": "2.2.0-rc.8",
"dependencies": { "dependencies": {
"@hocuspocus/provider": "^2.0.1", "@hocuspocus/provider": "^2.9.0",
"@lexical/react": "^0.11.1", "@lexical/react": "^0.11.1",
"d3": "^7.3.0", "d3": "^7.3.0",
"fast-glob": "^3.2.11", "fast-glob": "^3.2.11",
@ -1858,24 +1858,46 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/@hocuspocus/common": { "node_modules/@hocuspocus/common": {
"version": "2.0.1", "version": "2.9.0",
"license": "MIT", "resolved": "https://registry.npmjs.org/@hocuspocus/common/-/common-2.9.0.tgz",
"integrity": "sha512-VHqxf1Qov4PULmoevRV4hEyxfEGNtdCMDQTU0C1C6ZR6ImDAqnpuzzcxH5ppkZZiiSZwDWxMxxegFt2e3alDEA==",
"dependencies": { "dependencies": {
"lib0": "^0.2.47" "lib0": "^0.2.87"
} }
}, },
"node_modules/@hocuspocus/provider": { "node_modules/@hocuspocus/provider": {
"version": "2.0.1", "version": "2.9.0",
"license": "MIT", "resolved": "https://registry.npmjs.org/@hocuspocus/provider/-/provider-2.9.0.tgz",
"integrity": "sha512-ZMXX0+jbmB5V7n9RVTtxgWexOs3uwMUxTz9JcGNyUWpLGebSHQppT36eR0cNUhhqO3Kz5HBv2dg8egwGKpT5aQ==",
"dependencies": { "dependencies": {
"@hocuspocus/common": "^2.0.1", "@hocuspocus/common": "^2.9.0",
"@lifeomic/attempt": "^3.0.2", "@lifeomic/attempt": "^3.0.2",
"lib0": "^0.2.47", "lib0": "^0.2.87",
"ws": "^7.5.9" "ws": "^8.14.2"
}, },
"peerDependencies": { "peerDependencies": {
"y-protocols": "^1.0.5", "y-protocols": "^1.0.6",
"yjs": "^13.5.29" "yjs": "^13.6.8"
}
},
"node_modules/@hocuspocus/provider/node_modules/ws": {
"version": "8.16.0",
"resolved": "https://registry.npmjs.org/ws/-/ws-8.16.0.tgz",
"integrity": "sha512-HS0c//TP7Ina87TfiPUz1rQzMhHrl/SG2guqRcTOIUYD2q8uhUdNHZYJUaQ8aTGPzCh+c6oawMKW35nFl1dxyQ==",
"engines": {
"node": ">=10.0.0"
},
"peerDependencies": {
"bufferutil": "^4.0.1",
"utf-8-validate": ">=5.0.2"
},
"peerDependenciesMeta": {
"bufferutil": {
"optional": true
},
"utf-8-validate": {
"optional": true
}
} }
}, },
"node_modules/@humanwhocodes/config-array": { "node_modules/@humanwhocodes/config-array": {
@ -11430,13 +11452,18 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/lib0": { "node_modules/lib0": {
"version": "0.2.51", "version": "0.2.88",
"license": "MIT", "resolved": "https://registry.npmjs.org/lib0/-/lib0-0.2.88.tgz",
"integrity": "sha512-KyroiEvCeZcZEMx5Ys+b4u4eEBbA1ch7XUaBhYpwa/nPMrzTjUhI4RfcytmQfYoTBPcdyx+FX6WFNIoNuJzJfQ==",
"dependencies": { "dependencies": {
"isomorphic.js": "^0.2.4" "isomorphic.js": "^0.2.4"
}, },
"bin": {
"0gentesthtml": "bin/gentesthtml.js",
"0serve": "bin/0serve.js"
},
"engines": { "engines": {
"node": ">=12" "node": ">=16"
}, },
"funding": { "funding": {
"type": "GitHub Sponsors ❤", "type": "GitHub Sponsors ❤",
@ -18829,6 +18856,7 @@
"node_modules/ws": { "node_modules/ws": {
"version": "7.5.9", "version": "7.5.9",
"license": "MIT", "license": "MIT",
"optional": true,
"engines": { "engines": {
"node": ">=8.3.0" "node": ">=8.3.0"
}, },
@ -18880,14 +18908,22 @@
} }
}, },
"node_modules/y-protocols": { "node_modules/y-protocols": {
"version": "1.0.5", "version": "1.0.6",
"license": "MIT", "resolved": "https://registry.npmjs.org/y-protocols/-/y-protocols-1.0.6.tgz",
"integrity": "sha512-vHRF2L6iT3rwj1jub/K5tYcTT/mEYDUppgNPXwp8fmLpui9f7Yeq3OEtTLVF012j39QnV+KEQpNqoN7CWU7Y9Q==",
"dependencies": { "dependencies": {
"lib0": "^0.2.42" "lib0": "^0.2.85"
},
"engines": {
"node": ">=16.0.0",
"npm": ">=8.0.0"
}, },
"funding": { "funding": {
"type": "GitHub Sponsors ❤", "type": "GitHub Sponsors ❤",
"url": "https://github.com/sponsors/dmonad" "url": "https://github.com/sponsors/dmonad"
},
"peerDependencies": {
"yjs": "^13.0.0"
} }
}, },
"node_modules/y-webrtc": { "node_modules/y-webrtc": {
@ -18968,10 +19004,15 @@
} }
}, },
"node_modules/yjs": { "node_modules/yjs": {
"version": "13.5.39", "version": "13.6.10",
"license": "MIT", "resolved": "https://registry.npmjs.org/yjs/-/yjs-13.6.10.tgz",
"integrity": "sha512-1JcyQek1vaMyrDm7Fqfa+pvHg/DURSbVo4VmeN7wjnTKB/lZrfIPhdCj7d8sboK6zLfRBJXegTjc9JlaDd8/Zw==",
"dependencies": { "dependencies": {
"lib0": "^0.2.49" "lib0": "^0.2.86"
},
"engines": {
"node": ">=16.0.0",
"npm": ">=8.0.0"
}, },
"funding": { "funding": {
"type": "GitHub Sponsors ❤", "type": "GitHub Sponsors ❤",