mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06:08 +01:00 
			
		
		
		
	chore(deps): remove jsdom as dev dependency
This commit is contained in:
		@@ -53,7 +53,6 @@
 | 
				
			|||||||
    "eslint-plugin-react-hooks": "5.2.0",
 | 
					    "eslint-plugin-react-hooks": "5.2.0",
 | 
				
			||||||
    "happy-dom": "~19.0.0",
 | 
					    "happy-dom": "~19.0.0",
 | 
				
			||||||
    "jiti": "2.6.0",
 | 
					    "jiti": "2.6.0",
 | 
				
			||||||
    "jsdom": "~26.1.0",
 | 
					 | 
				
			||||||
    "jsonc-eslint-parser": "^2.1.0",
 | 
					    "jsonc-eslint-parser": "^2.1.0",
 | 
				
			||||||
    "react-refresh": "^0.17.0",
 | 
					    "react-refresh": "^0.17.0",
 | 
				
			||||||
    "rollup-plugin-webpack-stats": "2.1.5",
 | 
					    "rollup-plugin-webpack-stats": "2.1.5",
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -8,7 +8,7 @@ export default defineConfig(() => ({
 | 
				
			|||||||
  test: {
 | 
					  test: {
 | 
				
			||||||
    watch: false,
 | 
					    watch: false,
 | 
				
			||||||
    globals: true,
 | 
					    globals: true,
 | 
				
			||||||
    environment: 'jsdom',
 | 
					    environment: 'happy-dom',
 | 
				
			||||||
    include: ['{src,tests}/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'],
 | 
					    include: ['{src,tests}/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'],
 | 
				
			||||||
    reporters: ['default'],
 | 
					    reporters: ['default'],
 | 
				
			||||||
    coverage: {
 | 
					    coverage: {
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										41
									
								
								pnpm-lock.yaml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										41
									
								
								pnpm-lock.yaml
									
									
									
										generated
									
									
									
								
							@@ -88,9 +88,6 @@ importers:
 | 
				
			|||||||
      jiti:
 | 
					      jiti:
 | 
				
			||||||
        specifier: 2.6.0
 | 
					        specifier: 2.6.0
 | 
				
			||||||
        version: 2.6.0
 | 
					        version: 2.6.0
 | 
				
			||||||
      jsdom:
 | 
					 | 
				
			||||||
        specifier: ~26.1.0
 | 
					 | 
				
			||||||
        version: 26.1.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
 | 
					 | 
				
			||||||
      jsonc-eslint-parser:
 | 
					      jsonc-eslint-parser:
 | 
				
			||||||
        specifier: ^2.1.0
 | 
					        specifier: ^2.1.0
 | 
				
			||||||
        version: 2.4.1
 | 
					        version: 2.4.1
 | 
				
			||||||
@@ -13939,6 +13936,7 @@ snapshots:
 | 
				
			|||||||
      '@csstools/css-parser-algorithms': 3.0.5(@csstools/css-tokenizer@3.0.4)
 | 
					      '@csstools/css-parser-algorithms': 3.0.5(@csstools/css-tokenizer@3.0.4)
 | 
				
			||||||
      '@csstools/css-tokenizer': 3.0.4
 | 
					      '@csstools/css-tokenizer': 3.0.4
 | 
				
			||||||
      lru-cache: 10.4.3
 | 
					      lru-cache: 10.4.3
 | 
				
			||||||
 | 
					    optional: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  '@aws-crypto/crc32@5.2.0':
 | 
					  '@aws-crypto/crc32@5.2.0':
 | 
				
			||||||
    dependencies:
 | 
					    dependencies:
 | 
				
			||||||
@@ -14725,6 +14723,8 @@ snapshots:
 | 
				
			|||||||
      '@ckeditor/ckeditor5-core': 46.1.1
 | 
					      '@ckeditor/ckeditor5-core': 46.1.1
 | 
				
			||||||
      '@ckeditor/ckeditor5-utils': 46.1.1
 | 
					      '@ckeditor/ckeditor5-utils': 46.1.1
 | 
				
			||||||
      ckeditor5: 46.1.1(patch_hash=8331a09d41443b39ea1c784daaccfeb0da4f9065ed556e7de92e9c77edd9eb41)
 | 
					      ckeditor5: 46.1.1(patch_hash=8331a09d41443b39ea1c784daaccfeb0da4f9065ed556e7de92e9c77edd9eb41)
 | 
				
			||||||
 | 
					    transitivePeerDependencies:
 | 
				
			||||||
 | 
					      - supports-color
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  '@ckeditor/ckeditor5-code-block@46.1.1(patch_hash=2361d8caad7d6b5bddacc3a3b4aa37dbfba260b1c1b22a450413a79c1bb1ce95)':
 | 
					  '@ckeditor/ckeditor5-code-block@46.1.1(patch_hash=2361d8caad7d6b5bddacc3a3b4aa37dbfba260b1c1b22a450413a79c1bb1ce95)':
 | 
				
			||||||
    dependencies:
 | 
					    dependencies:
 | 
				
			||||||
@@ -14784,6 +14784,8 @@ snapshots:
 | 
				
			|||||||
      '@ckeditor/ckeditor5-utils': 46.1.1
 | 
					      '@ckeditor/ckeditor5-utils': 46.1.1
 | 
				
			||||||
      '@ckeditor/ckeditor5-watchdog': 46.1.1
 | 
					      '@ckeditor/ckeditor5-watchdog': 46.1.1
 | 
				
			||||||
      es-toolkit: 1.39.5
 | 
					      es-toolkit: 1.39.5
 | 
				
			||||||
 | 
					    transitivePeerDependencies:
 | 
				
			||||||
 | 
					      - supports-color
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  '@ckeditor/ckeditor5-dev-build-tools@43.1.0(@swc/helpers@0.5.17)(tslib@2.8.1)(typescript@5.9.2)':
 | 
					  '@ckeditor/ckeditor5-dev-build-tools@43.1.0(@swc/helpers@0.5.17)(tslib@2.8.1)(typescript@5.9.2)':
 | 
				
			||||||
    dependencies:
 | 
					    dependencies:
 | 
				
			||||||
@@ -14975,6 +14977,8 @@ snapshots:
 | 
				
			|||||||
      '@ckeditor/ckeditor5-utils': 46.1.1
 | 
					      '@ckeditor/ckeditor5-utils': 46.1.1
 | 
				
			||||||
      ckeditor5: 46.1.1(patch_hash=8331a09d41443b39ea1c784daaccfeb0da4f9065ed556e7de92e9c77edd9eb41)
 | 
					      ckeditor5: 46.1.1(patch_hash=8331a09d41443b39ea1c784daaccfeb0da4f9065ed556e7de92e9c77edd9eb41)
 | 
				
			||||||
      es-toolkit: 1.39.5
 | 
					      es-toolkit: 1.39.5
 | 
				
			||||||
 | 
					    transitivePeerDependencies:
 | 
				
			||||||
 | 
					      - supports-color
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  '@ckeditor/ckeditor5-editor-multi-root@46.1.1':
 | 
					  '@ckeditor/ckeditor5-editor-multi-root@46.1.1':
 | 
				
			||||||
    dependencies:
 | 
					    dependencies:
 | 
				
			||||||
@@ -15470,6 +15474,8 @@ snapshots:
 | 
				
			|||||||
      '@ckeditor/ckeditor5-ui': 46.1.1
 | 
					      '@ckeditor/ckeditor5-ui': 46.1.1
 | 
				
			||||||
      '@ckeditor/ckeditor5-utils': 46.1.1
 | 
					      '@ckeditor/ckeditor5-utils': 46.1.1
 | 
				
			||||||
      ckeditor5: 46.1.1(patch_hash=8331a09d41443b39ea1c784daaccfeb0da4f9065ed556e7de92e9c77edd9eb41)
 | 
					      ckeditor5: 46.1.1(patch_hash=8331a09d41443b39ea1c784daaccfeb0da4f9065ed556e7de92e9c77edd9eb41)
 | 
				
			||||||
 | 
					    transitivePeerDependencies:
 | 
				
			||||||
 | 
					      - supports-color
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  '@ckeditor/ckeditor5-restricted-editing@46.1.1':
 | 
					  '@ckeditor/ckeditor5-restricted-editing@46.1.1':
 | 
				
			||||||
    dependencies:
 | 
					    dependencies:
 | 
				
			||||||
@@ -15556,8 +15562,6 @@ snapshots:
 | 
				
			|||||||
      '@ckeditor/ckeditor5-ui': 46.1.1
 | 
					      '@ckeditor/ckeditor5-ui': 46.1.1
 | 
				
			||||||
      '@ckeditor/ckeditor5-utils': 46.1.1
 | 
					      '@ckeditor/ckeditor5-utils': 46.1.1
 | 
				
			||||||
      ckeditor5: 46.1.1(patch_hash=8331a09d41443b39ea1c784daaccfeb0da4f9065ed556e7de92e9c77edd9eb41)
 | 
					      ckeditor5: 46.1.1(patch_hash=8331a09d41443b39ea1c784daaccfeb0da4f9065ed556e7de92e9c77edd9eb41)
 | 
				
			||||||
    transitivePeerDependencies:
 | 
					 | 
				
			||||||
      - supports-color
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
  '@ckeditor/ckeditor5-special-characters@46.1.1':
 | 
					  '@ckeditor/ckeditor5-special-characters@46.1.1':
 | 
				
			||||||
    dependencies:
 | 
					    dependencies:
 | 
				
			||||||
@@ -15871,12 +15875,14 @@ snapshots:
 | 
				
			|||||||
    dependencies:
 | 
					    dependencies:
 | 
				
			||||||
      '@jridgewell/trace-mapping': 0.3.9
 | 
					      '@jridgewell/trace-mapping': 0.3.9
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  '@csstools/color-helpers@5.0.2': {}
 | 
					  '@csstools/color-helpers@5.0.2':
 | 
				
			||||||
 | 
					    optional: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  '@csstools/css-calc@2.1.3(@csstools/css-parser-algorithms@3.0.5(@csstools/css-tokenizer@3.0.4))(@csstools/css-tokenizer@3.0.4)':
 | 
					  '@csstools/css-calc@2.1.3(@csstools/css-parser-algorithms@3.0.5(@csstools/css-tokenizer@3.0.4))(@csstools/css-tokenizer@3.0.4)':
 | 
				
			||||||
    dependencies:
 | 
					    dependencies:
 | 
				
			||||||
      '@csstools/css-parser-algorithms': 3.0.5(@csstools/css-tokenizer@3.0.4)
 | 
					      '@csstools/css-parser-algorithms': 3.0.5(@csstools/css-tokenizer@3.0.4)
 | 
				
			||||||
      '@csstools/css-tokenizer': 3.0.4
 | 
					      '@csstools/css-tokenizer': 3.0.4
 | 
				
			||||||
 | 
					    optional: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  '@csstools/css-color-parser@3.0.9(@csstools/css-parser-algorithms@3.0.5(@csstools/css-tokenizer@3.0.4))(@csstools/css-tokenizer@3.0.4)':
 | 
					  '@csstools/css-color-parser@3.0.9(@csstools/css-parser-algorithms@3.0.5(@csstools/css-tokenizer@3.0.4))(@csstools/css-tokenizer@3.0.4)':
 | 
				
			||||||
    dependencies:
 | 
					    dependencies:
 | 
				
			||||||
@@ -15884,6 +15890,7 @@ snapshots:
 | 
				
			|||||||
      '@csstools/css-calc': 2.1.3(@csstools/css-parser-algorithms@3.0.5(@csstools/css-tokenizer@3.0.4))(@csstools/css-tokenizer@3.0.4)
 | 
					      '@csstools/css-calc': 2.1.3(@csstools/css-parser-algorithms@3.0.5(@csstools/css-tokenizer@3.0.4))(@csstools/css-tokenizer@3.0.4)
 | 
				
			||||||
      '@csstools/css-parser-algorithms': 3.0.5(@csstools/css-tokenizer@3.0.4)
 | 
					      '@csstools/css-parser-algorithms': 3.0.5(@csstools/css-tokenizer@3.0.4)
 | 
				
			||||||
      '@csstools/css-tokenizer': 3.0.4
 | 
					      '@csstools/css-tokenizer': 3.0.4
 | 
				
			||||||
 | 
					    optional: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  '@csstools/css-parser-algorithms@3.0.5(@csstools/css-tokenizer@3.0.4)':
 | 
					  '@csstools/css-parser-algorithms@3.0.5(@csstools/css-tokenizer@3.0.4)':
 | 
				
			||||||
    dependencies:
 | 
					    dependencies:
 | 
				
			||||||
@@ -21506,6 +21513,7 @@ snapshots:
 | 
				
			|||||||
    dependencies:
 | 
					    dependencies:
 | 
				
			||||||
      '@asamuzakjp/css-color': 3.1.4
 | 
					      '@asamuzakjp/css-color': 3.1.4
 | 
				
			||||||
      rrweb-cssom: 0.8.0
 | 
					      rrweb-cssom: 0.8.0
 | 
				
			||||||
 | 
					    optional: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  csstype@3.1.3:
 | 
					  csstype@3.1.3:
 | 
				
			||||||
    optional: true
 | 
					    optional: true
 | 
				
			||||||
@@ -21720,6 +21728,7 @@ snapshots:
 | 
				
			|||||||
    dependencies:
 | 
					    dependencies:
 | 
				
			||||||
      whatwg-mimetype: 4.0.0
 | 
					      whatwg-mimetype: 4.0.0
 | 
				
			||||||
      whatwg-url: 14.2.0
 | 
					      whatwg-url: 14.2.0
 | 
				
			||||||
 | 
					    optional: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  data-view-buffer@1.0.2:
 | 
					  data-view-buffer@1.0.2:
 | 
				
			||||||
    dependencies:
 | 
					    dependencies:
 | 
				
			||||||
@@ -23676,6 +23685,7 @@ snapshots:
 | 
				
			|||||||
  html-encoding-sniffer@4.0.0:
 | 
					  html-encoding-sniffer@4.0.0:
 | 
				
			||||||
    dependencies:
 | 
					    dependencies:
 | 
				
			||||||
      whatwg-encoding: 3.1.1
 | 
					      whatwg-encoding: 3.1.1
 | 
				
			||||||
 | 
					    optional: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  html-escaper@2.0.2: {}
 | 
					  html-escaper@2.0.2: {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -24413,6 +24423,7 @@ snapshots:
 | 
				
			|||||||
      - bufferutil
 | 
					      - bufferutil
 | 
				
			||||||
      - supports-color
 | 
					      - supports-color
 | 
				
			||||||
      - utf-8-validate
 | 
					      - utf-8-validate
 | 
				
			||||||
 | 
					    optional: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  jsesc@3.1.0: {}
 | 
					  jsesc@3.1.0: {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -27803,7 +27814,8 @@ snapshots:
 | 
				
			|||||||
    transitivePeerDependencies:
 | 
					    transitivePeerDependencies:
 | 
				
			||||||
      - supports-color
 | 
					      - supports-color
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  rrweb-cssom@0.8.0: {}
 | 
					  rrweb-cssom@0.8.0:
 | 
				
			||||||
 | 
					    optional: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  run-applescript@7.1.0: {}
 | 
					  run-applescript@7.1.0: {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -27979,6 +27991,7 @@ snapshots:
 | 
				
			|||||||
  saxes@6.0.0:
 | 
					  saxes@6.0.0:
 | 
				
			||||||
    dependencies:
 | 
					    dependencies:
 | 
				
			||||||
      xmlchars: 2.2.0
 | 
					      xmlchars: 2.2.0
 | 
				
			||||||
 | 
					    optional: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  scheduler@0.19.1:
 | 
					  scheduler@0.19.1:
 | 
				
			||||||
    dependencies:
 | 
					    dependencies:
 | 
				
			||||||
@@ -29119,11 +29132,13 @@ snapshots:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  tinyspy@4.0.3: {}
 | 
					  tinyspy@4.0.3: {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  tldts-core@6.1.86: {}
 | 
					  tldts-core@6.1.86:
 | 
				
			||||||
 | 
					    optional: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  tldts@6.1.86:
 | 
					  tldts@6.1.86:
 | 
				
			||||||
    dependencies:
 | 
					    dependencies:
 | 
				
			||||||
      tldts-core: 6.1.86
 | 
					      tldts-core: 6.1.86
 | 
				
			||||||
 | 
					    optional: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  tmp-promise@3.0.3:
 | 
					  tmp-promise@3.0.3:
 | 
				
			||||||
    dependencies:
 | 
					    dependencies:
 | 
				
			||||||
@@ -29172,6 +29187,7 @@ snapshots:
 | 
				
			|||||||
  tough-cookie@5.1.2:
 | 
					  tough-cookie@5.1.2:
 | 
				
			||||||
    dependencies:
 | 
					    dependencies:
 | 
				
			||||||
      tldts: 6.1.86
 | 
					      tldts: 6.1.86
 | 
				
			||||||
 | 
					    optional: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  tr46@0.0.3: {}
 | 
					  tr46@0.0.3: {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -29182,6 +29198,7 @@ snapshots:
 | 
				
			|||||||
  tr46@5.1.1:
 | 
					  tr46@5.1.1:
 | 
				
			||||||
    dependencies:
 | 
					    dependencies:
 | 
				
			||||||
      punycode: 2.3.1
 | 
					      punycode: 2.3.1
 | 
				
			||||||
 | 
					    optional: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  tree-dump@1.1.0(tslib@2.8.1):
 | 
					  tree-dump@1.1.0(tslib@2.8.1):
 | 
				
			||||||
    dependencies:
 | 
					    dependencies:
 | 
				
			||||||
@@ -29804,6 +29821,7 @@ snapshots:
 | 
				
			|||||||
  w3c-xmlserializer@5.0.0:
 | 
					  w3c-xmlserializer@5.0.0:
 | 
				
			||||||
    dependencies:
 | 
					    dependencies:
 | 
				
			||||||
      xml-name-validator: 5.0.0
 | 
					      xml-name-validator: 5.0.0
 | 
				
			||||||
 | 
					    optional: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  wait-port@1.1.0:
 | 
					  wait-port@1.1.0:
 | 
				
			||||||
    dependencies:
 | 
					    dependencies:
 | 
				
			||||||
@@ -29892,7 +29910,8 @@ snapshots:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  webidl-conversions@6.1.0: {}
 | 
					  webidl-conversions@6.1.0: {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  webidl-conversions@7.0.0: {}
 | 
					  webidl-conversions@7.0.0:
 | 
				
			||||||
 | 
					    optional: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  webpack-dev-middleware@7.4.3(webpack@5.101.3(@swc/core@1.11.29(@swc/helpers@0.5.17))(esbuild@0.25.10)):
 | 
					  webpack-dev-middleware@7.4.3(webpack@5.101.3(@swc/core@1.11.29(@swc/helpers@0.5.17))(esbuild@0.25.10)):
 | 
				
			||||||
    dependencies:
 | 
					    dependencies:
 | 
				
			||||||
@@ -30053,6 +30072,7 @@ snapshots:
 | 
				
			|||||||
    dependencies:
 | 
					    dependencies:
 | 
				
			||||||
      tr46: 5.1.1
 | 
					      tr46: 5.1.1
 | 
				
			||||||
      webidl-conversions: 7.0.0
 | 
					      webidl-conversions: 7.0.0
 | 
				
			||||||
 | 
					    optional: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  whatwg-url@5.0.0:
 | 
					  whatwg-url@5.0.0:
 | 
				
			||||||
    dependencies:
 | 
					    dependencies:
 | 
				
			||||||
@@ -30208,7 +30228,8 @@ snapshots:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  xml-name-validator@3.0.0: {}
 | 
					  xml-name-validator@3.0.0: {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  xml-name-validator@5.0.0: {}
 | 
					  xml-name-validator@5.0.0:
 | 
				
			||||||
 | 
					    optional: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  xml-parse-from-string@1.0.1: {}
 | 
					  xml-parse-from-string@1.0.1: {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user