Upgrade lib0 from v0.2.43 to v0.2.47

After upgrading to the latest version (13.5.29), I started to see the
following error:

```
ERROR in ./node_modules/yjs/dist/yjs.mjs 4048:13-26
export 'isArray' (imported as 'array') was not found in 'lib0/array' (possible exports: appendTo, copy, create, equalFlat, every, flatten, from, last, some)
```

It looks like `array.isArray` was added to `lib0` in [v0.2.47](https://github.com/dmonad/lib0/releases/tag/v0.2.47).
Updating the version in `package.json` fixed the error in my project.
This commit is contained in:
Riley Shaw 2022-03-21 19:16:23 -04:00
parent 3c31b22a92
commit f70198333a
2 changed files with 2 additions and 2 deletions

2
package-lock.json generated
View File

@ -9,7 +9,7 @@
"version": "13.5.29",
"license": "MIT",
"dependencies": {
"lib0": "^0.2.43"
"lib0": "^0.2.47"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^17.0.0",

View File

@ -73,7 +73,7 @@
},
"homepage": "https://docs.yjs.dev",
"dependencies": {
"lib0": "^0.2.43"
"lib0": "^0.2.47"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^17.0.0",