upgrade typescript to v4

This commit is contained in:
Kevin Jahns 2021-02-20 22:19:22 +01:00
parent 34091ae614
commit 710b4ba145
3 changed files with 8 additions and 9 deletions

View File

@ -708,7 +708,6 @@ It is possible to sync clients and compute delta updates without loading the Yjs
document to memory. Yjs exposes an API to compute the differences directly on the document to memory. Yjs exposes an API to compute the differences directly on the
binary document updates. binary document updates.
```js ```js
// encode the current state as a binary buffer // encode the current state as a binary buffer
let currentState1 = Y.encodeStateAsUpdate(ydoc1) let currentState1 = Y.encodeStateAsUpdate(ydoc1)

12
package-lock.json generated
View File

@ -1598,9 +1598,9 @@
} }
}, },
"lib0": { "lib0": {
"version": "0.2.37", "version": "0.2.38",
"resolved": "https://registry.npmjs.org/lib0/-/lib0-0.2.37.tgz", "resolved": "https://registry.npmjs.org/lib0/-/lib0-0.2.38.tgz",
"integrity": "sha512-XsrAByxF611WDQuUTVQHnSfHQoGO8SexfBl4NPuAhPyHKsDJPRAnSFq4oirnKw8jE2jv1h0xL9CocwlZ+0wzwg==", "integrity": "sha512-ZxnX62R5weebi8bH/Ipc6JBiQIsiQ1D7p3r96zulSSu1byW6DDWSBeI8WC/W5UGtkZ80GktX3JNY2pqhNiXWGA==",
"requires": { "requires": {
"isomorphic.js": "^0.2.0" "isomorphic.js": "^0.2.0"
} }
@ -2828,9 +2828,9 @@
"dev": true "dev": true
}, },
"typescript": { "typescript": {
"version": "3.9.9", "version": "4.1.5",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.9.tgz", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.1.5.tgz",
"integrity": "sha512-kdMjTiekY+z/ubJCATUPlRDl39vXYiMV9iyeMuEuXZh2we6zz80uovNN2WlAxmmdE/Z/YQe+EbOEXB5RHEED3w==", "integrity": "sha512-6OSu9PTIzmn9TCDiovULTnET6BgXtDYL4Gg4szY+cGsc3JP1dQL8qvE8kShTRx1NIw4Q9IBHlwODjkjWEtMUyA==",
"dev": true "dev": true
}, },
"uc.micro": { "uc.micro": {

View File

@ -70,7 +70,7 @@
}, },
"homepage": "https://docs.yjs.dev", "homepage": "https://docs.yjs.dev",
"dependencies": { "dependencies": {
"lib0": "^0.2.37" "lib0": "^0.2.38"
}, },
"devDependencies": { "devDependencies": {
"@rollup/plugin-commonjs": "^17.0.0", "@rollup/plugin-commonjs": "^17.0.0",
@ -82,7 +82,7 @@
"rollup": "^2.39.0", "rollup": "^2.39.0",
"standard": "^14.3.4", "standard": "^14.3.4",
"tui-jsdoc-template": "^1.2.2", "tui-jsdoc-template": "^1.2.2",
"typescript": "^3.9.9", "typescript": "^4.1.5",
"y-protocols": "^1.0.4" "y-protocols": "^1.0.4"
} }
} }