13.5.15
This commit is contained in:
		
							parent
							
								
									cbddf6ef90
								
							
						
					
					
						commit
						a9b92b9099
					
				
							
								
								
									
										2
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							@ -1,6 +1,6 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
  "name": "yjs",
 | 
					  "name": "yjs",
 | 
				
			||||||
  "version": "13.5.14",
 | 
					  "version": "13.5.15",
 | 
				
			||||||
  "lockfileVersion": 1,
 | 
					  "lockfileVersion": 1,
 | 
				
			||||||
  "requires": true,
 | 
					  "requires": true,
 | 
				
			||||||
  "dependencies": {
 | 
					  "dependencies": {
 | 
				
			||||||
 | 
				
			|||||||
@ -1,6 +1,6 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
  "name": "yjs",
 | 
					  "name": "yjs",
 | 
				
			||||||
  "version": "13.5.14",
 | 
					  "version": "13.5.15",
 | 
				
			||||||
  "description": "Shared Editing Library",
 | 
					  "description": "Shared Editing Library",
 | 
				
			||||||
  "main": "./dist/yjs.cjs",
 | 
					  "main": "./dist/yjs.cjs",
 | 
				
			||||||
  "module": "./dist/yjs.mjs",
 | 
					  "module": "./dist/yjs.mjs",
 | 
				
			||||||
 | 
				
			|||||||
@ -93,15 +93,15 @@ const importIdentifier = '__ $YJS$ __'
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
if (glo[importIdentifier] === true) {
 | 
					if (glo[importIdentifier] === true) {
 | 
				
			||||||
  /**
 | 
					  /**
 | 
				
			||||||
   * Dear reader of this error message.
 | 
					   * Dear reader of this warning message. Please take this seriously.
 | 
				
			||||||
   *
 | 
					   *
 | 
				
			||||||
   * If you see this message, please make sure that you only import one version of Yjs. In many cases,
 | 
					   * If you see this message, please make sure that you only import one version of Yjs. In many cases,
 | 
				
			||||||
   * your package manager installs two versions of Yjs that are used by different packages of your project.
 | 
					   * your package manager installs two versions of Yjs that are used by different packages within your project.
 | 
				
			||||||
   * Another reason for this message is that some parts of your project use the commonjs version of Yjs
 | 
					   * Another reason for this message is that some parts of your project use the commonjs version of Yjs
 | 
				
			||||||
   * and others use the EcmaScript version of Yjs.
 | 
					   * and others use the EcmaScript version of Yjs.
 | 
				
			||||||
   *
 | 
					   *
 | 
				
			||||||
   * This very often leads to issues that are hard to debug. We often need to do constructor checks,
 | 
					   * This often leads to issues that are hard to debug. We often need to perform constructor checks,
 | 
				
			||||||
   * e.g. `struct instanceof GC`. If you importent different versions of Yjs, it is impossible for us to
 | 
					   * e.g. `struct instanceof GC`. If you imported different versions of Yjs, it is impossible for us to
 | 
				
			||||||
   * do the constructor checks anymore - which might break the CRDT algorithm.
 | 
					   * do the constructor checks anymore - which might break the CRDT algorithm.
 | 
				
			||||||
   */
 | 
					   */
 | 
				
			||||||
  console.warn('Yjs was already imported. Importing different versions of Yjs often leads to issues.')
 | 
					  console.warn('Yjs was already imported. Importing different versions of Yjs often leads to issues.')
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user