mirror of
https://github.com/yjs/yjs.git
synced 2025-12-14 18:57:45 +01:00
bump y-protocols
This commit is contained in:
5939
package-lock.json
generated
Normal file
5939
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -48,12 +48,11 @@
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"files": [
|
||||
"dist/yjs.*",
|
||||
"dist/*",
|
||||
"dist/src",
|
||||
"src",
|
||||
"tests/testHelper.js",
|
||||
"dist/testHelper.mjs",
|
||||
"sponsor-y.js"
|
||||
"dist/testHelper.mjs"
|
||||
],
|
||||
"dictionaries": {
|
||||
"test": "tests"
|
||||
@@ -86,10 +85,10 @@
|
||||
},
|
||||
"homepage": "https://docs.yjs.dev",
|
||||
"dependencies": {
|
||||
"lib0": "^0.2.105",
|
||||
"y-protocols": "^1.0.5"
|
||||
"lib0": "^0.2.105"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@y/protocols": "^1.0.6-1",
|
||||
"@types/node": "^22.14.1",
|
||||
"concurrently": "^3.6.1",
|
||||
"jsdoc": "^3.6.7",
|
||||
|
||||
@@ -11,7 +11,7 @@ export default [{
|
||||
entryFileNames: '[name].cjs',
|
||||
sourcemap: true
|
||||
},
|
||||
external: id => /^(lib0|y-protocols)\//.test(id)
|
||||
external: id => /^(lib0|@y)\//.test(id)
|
||||
}, {
|
||||
// esm output
|
||||
input: {
|
||||
@@ -25,5 +25,5 @@ export default [{
|
||||
entryFileNames: '[name].mjs',
|
||||
sourcemap: true
|
||||
},
|
||||
external: id => /^(lib0|y-protocols)\//.test(id)
|
||||
external: id => /^(lib0|@y)\//.test(id)
|
||||
}]
|
||||
|
||||
@@ -2,7 +2,7 @@ import * as t from 'lib0/testing'
|
||||
import * as prng from 'lib0/prng'
|
||||
import * as encoding from 'lib0/encoding'
|
||||
import * as decoding from 'lib0/decoding'
|
||||
import * as syncProtocol from 'y-protocols/sync'
|
||||
import * as syncProtocol from '@y/protocols/sync'
|
||||
import * as object from 'lib0/object'
|
||||
import * as map from 'lib0/map'
|
||||
import * as Y from '../src/index.js'
|
||||
|
||||
@@ -2613,7 +2613,7 @@ const checkResult = result => {
|
||||
* @param {t.TestCase} tc
|
||||
*/
|
||||
export const testAttributionManagerDefaultPerformance = tc => {
|
||||
const N = 100000
|
||||
const N = 10000
|
||||
const MaxDeletionLength = 5 // 25% chance of deletion
|
||||
const MaxInsertionLength = 5
|
||||
const ydoc = new Y.Doc()
|
||||
|
||||
Reference in New Issue
Block a user