mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	Merge tag 'v43.1.2'
This commit is contained in:
		
							
								
								
									
										13
									
								
								CHANGELOG.md
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								CHANGELOG.md
									
									
									
									
									
								
							| @@ -3,6 +3,19 @@ | |||||||
| ## Current | ## Current | ||||||
|  |  | ||||||
| -   Add latest changes here | -   Add latest changes here | ||||||
|  |  | ||||||
|  | ## [43.1.2](https://github.com/isaul32/ckeditor5-math/compare/v43.1.1...v43.1.2) (2024-09-26) | ||||||
|  |  | ||||||
|  | -   Downgrade ckeditor5-package-tools from 2 to 1. Fixes test for now. | ||||||
|  |  | ||||||
|  | ## [43.1.1](https://github.com/isaul32/ckeditor5-math/compare/v41.4.2...v43.1.1) (2024-09-26) | ||||||
|  |  | ||||||
|  | -   Update dependencies for CKEditor 43.1.1 ([Release | ||||||
|  |     notes](https://github.com/ckeditor/ckeditor5/blob/v43.1.1/CHANGELOG.md)) | ||||||
|  |     ([#149](https://github.com/isaul32/ckeditor5-math/pull/149)) | ||||||
|  |  | ||||||
|  |     **Note** This does **not** yet support the [new installation method](https://ckeditor.com/docs/ckeditor5/latest/updating/nim-migration/migration-to-new-installation-methods.html) for [custom plugins](https://ckeditor.com/docs/ckeditor5/latest/updating/nim-migration/custom-plugins.html). That will come in a future release. | ||||||
|  |  | ||||||
| -   Move tests to TypeScript, kudos @fedemp | -   Move tests to TypeScript, kudos @fedemp | ||||||
|     ([#135](https://github.com/isaul32/ckeditor5-math/pull/135)) |     ([#135](https://github.com/isaul32/ckeditor5-math/pull/135)) | ||||||
|  |  | ||||||
|   | |||||||
							
								
								
									
										42
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										42
									
								
								package.json
									
									
									
									
									
								
							| @@ -1,6 +1,6 @@ | |||||||
| { | { | ||||||
|   "name": "@triliumnext/ckeditor5-math", |   "name": "@triliumnext/ckeditor5-math", | ||||||
|   "version": "41.4.2-hotfix1", |   "version": "43.1.2-hotfix1", | ||||||
|   "description": "Math feature for CKEditor 5.", |   "description": "Math feature for CKEditor 5.", | ||||||
|   "keywords": [ |   "keywords": [ | ||||||
|     "ckeditor", |     "ckeditor", | ||||||
| @@ -13,40 +13,40 @@ | |||||||
|   ], |   ], | ||||||
|   "main": "src/index.ts", |   "main": "src/index.ts", | ||||||
|   "dependencies": { |   "dependencies": { | ||||||
|     "ckeditor5": "41.4.2" |     "ckeditor5": "43.1.1" | ||||||
|   }, |   }, | ||||||
|   "devDependencies": { |   "devDependencies": { | ||||||
|     "@ckeditor/ckeditor5-autoformat": "41.4.2", |     "@ckeditor/ckeditor5-autoformat": "43.1.1", | ||||||
|     "@ckeditor/ckeditor5-basic-styles": "41.4.2", |     "@ckeditor/ckeditor5-basic-styles": "43.1.1", | ||||||
|     "@ckeditor/ckeditor5-block-quote": "41.4.2", |     "@ckeditor/ckeditor5-block-quote": "43.1.1", | ||||||
|     "@ckeditor/ckeditor5-code-block": "41.4.2", |     "@ckeditor/ckeditor5-code-block": "43.1.1", | ||||||
|     "@ckeditor/ckeditor5-core": "41.4.2", |     "@ckeditor/ckeditor5-core": "43.1.1", | ||||||
|     "@ckeditor/ckeditor5-editor-classic": "41.4.2", |     "@ckeditor/ckeditor5-editor-classic": "43.1.1", | ||||||
|     "@ckeditor/ckeditor5-essentials": "41.4.2", |     "@ckeditor/ckeditor5-essentials": "43.1.1", | ||||||
|     "@ckeditor/ckeditor5-heading": "41.4.2", |     "@ckeditor/ckeditor5-heading": "43.1.1", | ||||||
|     "@ckeditor/ckeditor5-image": "41.4.2", |     "@ckeditor/ckeditor5-image": "43.1.1", | ||||||
|     "@ckeditor/ckeditor5-indent": "41.4.2", |     "@ckeditor/ckeditor5-indent": "43.1.1", | ||||||
|     "@ckeditor/ckeditor5-inspector": "4.1.0", |     "@ckeditor/ckeditor5-inspector": "4.1.0", | ||||||
|     "@ckeditor/ckeditor5-link": "41.4.2", |     "@ckeditor/ckeditor5-link": "43.1.1", | ||||||
|     "@ckeditor/ckeditor5-list": "41.4.2", |     "@ckeditor/ckeditor5-list": "43.1.1", | ||||||
|     "@ckeditor/ckeditor5-media-embed": "41.4.2", |     "@ckeditor/ckeditor5-media-embed": "43.1.1", | ||||||
|     "@ckeditor/ckeditor5-package-tools": "^1.1.0", |     "@ckeditor/ckeditor5-package-tools": "^1.1.0", | ||||||
|     "@ckeditor/ckeditor5-paragraph": "41.4.2", |     "@ckeditor/ckeditor5-paragraph": "43.1.1", | ||||||
|     "@ckeditor/ckeditor5-table": "41.4.2", |     "@ckeditor/ckeditor5-table": "43.1.1", | ||||||
|     "@ckeditor/ckeditor5-theme-lark": "41.4.2", |     "@ckeditor/ckeditor5-theme-lark": "43.1.1", | ||||||
|     "@ckeditor/ckeditor5-upload": "41.4.2", |     "@ckeditor/ckeditor5-upload": "43.1.1", | ||||||
|     "@types/chai": "^4.3.13", |     "@types/chai": "^4.3.13", | ||||||
|     "@types/mocha": "^10.0.6", |     "@types/mocha": "^10.0.6", | ||||||
|     "@types/sinon": "^17.0.3", |     "@types/sinon": "^17.0.3", | ||||||
|     "@typescript-eslint/eslint-plugin": "^7.2.0", |     "@typescript-eslint/eslint-plugin": "^7.2.0", | ||||||
|     "@typescript-eslint/parser": "^7.2.0", |     "@typescript-eslint/parser": "^7.2.0", | ||||||
|     "eslint": "^8.57.0", |     "eslint": "^8.57.0", | ||||||
|     "eslint-config-ckeditor5": "^5.3.2", |     "eslint-config-ckeditor5": "^7.1.0", | ||||||
|     "http-server": "^14.1.0", |     "http-server": "^14.1.0", | ||||||
|     "husky": "^4.2.5", |     "husky": "^4.2.5", | ||||||
|     "lint-staged": "^10.2.6", |     "lint-staged": "^10.2.6", | ||||||
|     "stylelint": "^13.13.1", |     "stylelint": "^13.13.1", | ||||||
|     "stylelint-config-ckeditor5": ">=5.3.2", |     "stylelint-config-ckeditor5": ">=7.1.0", | ||||||
|     "typescript": "^5.4.2" |     "typescript": "^5.4.2" | ||||||
|   }, |   }, | ||||||
|   "engines": { |   "engines": { | ||||||
|   | |||||||
| @@ -1,18 +1,18 @@ | |||||||
| /* eslint-disable @typescript-eslint/no-non-null-assertion */ | /* eslint-disable @typescript-eslint/no-non-null-assertion */ | ||||||
| /* globals document, Event  */ | /* globals document, Event  */ | ||||||
|  |  | ||||||
| import ClassicEditor from '@ckeditor/ckeditor5-editor-classic/src/classiceditor'; | import ClassicEditor from '@ckeditor/ckeditor5-editor-classic/src/classiceditor.js'; | ||||||
| import { keyCodes } from '@ckeditor/ckeditor5-utils/src/keyboard'; | import { keyCodes } from '@ckeditor/ckeditor5-utils/src/keyboard.js'; | ||||||
| import { setData as setModelData } from '@ckeditor/ckeditor5-engine/src/dev-utils/model'; | import { setData as setModelData } from '@ckeditor/ckeditor5-engine/src/dev-utils/model.js'; | ||||||
|  |  | ||||||
| import MathUI from '../src/mathui'; | import MathUI from '../src/mathui'; | ||||||
| import MainFormView from '../src/ui/mainformview'; | import MainFormView from '../src/ui/mainformview'; | ||||||
| import ContextualBalloon from '@ckeditor/ckeditor5-ui/src/panel/balloon/contextualballoon'; | import ContextualBalloon from '@ckeditor/ckeditor5-ui/src/panel/balloon/contextualballoon.js'; | ||||||
| import ButtonView from '@ckeditor/ckeditor5-ui/src/button/buttonview'; | import ButtonView from '@ckeditor/ckeditor5-ui/src/button/buttonview.js'; | ||||||
| import View from '@ckeditor/ckeditor5-ui/src/view'; | import View from '@ckeditor/ckeditor5-ui/src/view.js'; | ||||||
| import Paragraph from '@ckeditor/ckeditor5-paragraph/src/paragraph'; | import Paragraph from '@ckeditor/ckeditor5-paragraph/src/paragraph.js'; | ||||||
|  |  | ||||||
| import ClickObserver from '@ckeditor/ckeditor5-engine/src/view/observer/clickobserver'; | import ClickObserver from '@ckeditor/ckeditor5-engine/src/view/observer/clickobserver.js'; | ||||||
| import { expect } from 'chai'; | import { expect } from 'chai'; | ||||||
| import type { SinonSpy } from 'sinon'; | import type { SinonSpy } from 'sinon'; | ||||||
|  |  | ||||||
| @@ -49,8 +49,8 @@ describe( 'MathUI', () => { | |||||||
| 				formView = mathUIFeature.formView; | 				formView = mathUIFeature.formView; | ||||||
|  |  | ||||||
| 				// There is no point to execute BalloonPanelView attachTo and pin methods so lets override it. | 				// There is no point to execute BalloonPanelView attachTo and pin methods so lets override it. | ||||||
| 				sinon.stub( balloon.view, 'attachTo' ).returns( ); | 				sinon.stub( balloon.view, 'attachTo' ).returns( false ); | ||||||
| 				sinon.stub( balloon.view, 'pin' ).returns( ); | 				sinon.stub( balloon.view, 'pin' ).returns(); | ||||||
|  |  | ||||||
| 				formView?.render(); | 				formView?.render(); | ||||||
| 			} ); | 			} ); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user