Skip to content

Commit

Permalink
Merge pull request #4579 from nextcloud/renovate/main-yjs
Browse files Browse the repository at this point in the history
fix(deps): update dependency yjs to ^13.6.7 (main)
  • Loading branch information
max-nextcloud authored Jul 28, 2023
2 parents 41ec967 + 19ab948 commit e3400ef
Show file tree
Hide file tree
Showing 15 changed files with 32 additions and 29 deletions.
4 changes: 2 additions & 2 deletions js/text-editors.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-editors.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/text-files.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-files.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/text-public.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-public.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/text-text.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-text.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/text-viewer.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-viewer.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/vendors.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/vendors.js.map

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
"vue-material-design-icons": "^5.2.0",
"vuex": "^3.6.2",
"y-websocket": "^1.5.0",
"yjs": "^13.6.6"
"yjs": "^13.6.7"
},
"engines": {
"node": "^20.0.0",
Expand Down
9 changes: 6 additions & 3 deletions src/tests/yjs.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ describe('recorded session', () => {
expect(length).toBe(0)
}
})
expect(encodeStateAsUpdate(ydoc).length).toBe(34503)
expect(encodeStateAsUpdate(ydoc).length).toBeGreaterThan(30000)
expect(encodeStateAsUpdate(ydoc).length).toBeLessThan(40000)
})

test('analyse responses', () => {
Expand All @@ -114,7 +115,8 @@ describe('recorded session', () => {
})
const replies = responses.filter(r => r.length)
expect(replies.length).toBe(344)
expect(size(replies)).toBe(562868)
expect(size(replies)).toBeGreaterThan(500000)
expect(size(replies)).toBeLessThan(600000)
})

test('leaving out queries', () => {
Expand All @@ -133,7 +135,8 @@ describe('recorded session', () => {
}
})
const replies = responses.filter(r => r.length)
expect(encodeStateAsUpdate(ydoc).length).toBe(34503)
expect(encodeStateAsUpdate(ydoc).length).toBeGreaterThan(30000)
expect(encodeStateAsUpdate(ydoc).length).toBeLessThan(40000)
expect(replies.length).toBe(0)
expect(size(replies)).toBe(0)
})
Expand Down

0 comments on commit e3400ef

Please sign in to comment.