Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

js(deps) CKEditor5 41 -> 43.1.1 #149

Merged
merged 4 commits into from
Sep 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
## Current

- Add latest changes here

## [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
([#135](https://github.com/isaul32/ckeditor5-math/pull/135))

Expand Down
44 changes: 22 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@isaul32/ckeditor5-math",
"version": "41.4.2",
"version": "43.1.1",
"description": "Math feature for CKEditor 5.",
"keywords": [
"ckeditor",
Expand All @@ -13,40 +13,40 @@
],
"main": "src/index.ts",
"dependencies": {
"ckeditor5": "41.4.2"
"ckeditor5": "43.1.1"
},
"devDependencies": {
"@ckeditor/ckeditor5-autoformat": "41.4.2",
"@ckeditor/ckeditor5-basic-styles": "41.4.2",
"@ckeditor/ckeditor5-block-quote": "41.4.2",
"@ckeditor/ckeditor5-code-block": "41.4.2",
"@ckeditor/ckeditor5-core": "41.4.2",
"@ckeditor/ckeditor5-editor-classic": "41.4.2",
"@ckeditor/ckeditor5-essentials": "41.4.2",
"@ckeditor/ckeditor5-heading": "41.4.2",
"@ckeditor/ckeditor5-image": "41.4.2",
"@ckeditor/ckeditor5-indent": "41.4.2",
"@ckeditor/ckeditor5-autoformat": "43.1.1",
"@ckeditor/ckeditor5-basic-styles": "43.1.1",
"@ckeditor/ckeditor5-block-quote": "43.1.1",
"@ckeditor/ckeditor5-code-block": "43.1.1",
"@ckeditor/ckeditor5-core": "43.1.1",
"@ckeditor/ckeditor5-editor-classic": "43.1.1",
"@ckeditor/ckeditor5-essentials": "43.1.1",
"@ckeditor/ckeditor5-heading": "43.1.1",
"@ckeditor/ckeditor5-image": "43.1.1",
"@ckeditor/ckeditor5-indent": "43.1.1",
"@ckeditor/ckeditor5-inspector": "4.1.0",
"@ckeditor/ckeditor5-link": "41.4.2",
"@ckeditor/ckeditor5-list": "41.4.2",
"@ckeditor/ckeditor5-media-embed": "41.4.2",
"@ckeditor/ckeditor5-package-tools": "^1.1.0",
"@ckeditor/ckeditor5-paragraph": "41.4.2",
"@ckeditor/ckeditor5-table": "41.4.2",
"@ckeditor/ckeditor5-theme-lark": "41.4.2",
"@ckeditor/ckeditor5-upload": "41.4.2",
"@ckeditor/ckeditor5-link": "43.1.1",
"@ckeditor/ckeditor5-list": "43.1.1",
"@ckeditor/ckeditor5-media-embed": "43.1.1",
"@ckeditor/ckeditor5-package-tools": "^2.1.0",
"@ckeditor/ckeditor5-paragraph": "43.1.1",
"@ckeditor/ckeditor5-table": "43.1.1",
"@ckeditor/ckeditor5-theme-lark": "43.1.1",
"@ckeditor/ckeditor5-upload": "43.1.1",
"@types/chai": "^4.3.13",
"@types/mocha": "^10.0.6",
"@types/sinon": "^17.0.3",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"eslint": "^8.57.0",
"eslint-config-ckeditor5": "^5.3.2",
"eslint-config-ckeditor5": "^7.1.0",
"http-server": "^14.1.0",
"husky": "^4.2.5",
"lint-staged": "^10.2.6",
"stylelint": "^13.13.1",
"stylelint-config-ckeditor5": ">=5.3.2",
"stylelint-config-ckeditor5": ">=7.1.0",
"typescript": "^5.4.2"
},
"engines": {
Expand Down
20 changes: 10 additions & 10 deletions tests/mathui.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
/* eslint-disable @typescript-eslint/no-non-null-assertion */
/* globals document, Event */

import ClassicEditor from '@ckeditor/ckeditor5-editor-classic/src/classiceditor';
import { keyCodes } from '@ckeditor/ckeditor5-utils/src/keyboard';
import { setData as setModelData } from '@ckeditor/ckeditor5-engine/src/dev-utils/model';
import ClassicEditor from '@ckeditor/ckeditor5-editor-classic/src/classiceditor.js';
import { keyCodes } from '@ckeditor/ckeditor5-utils/src/keyboard.js';
import { setData as setModelData } from '@ckeditor/ckeditor5-engine/src/dev-utils/model.js';

import MathUI from '../src/mathui';
import MainFormView from '../src/ui/mainformview';
import ContextualBalloon from '@ckeditor/ckeditor5-ui/src/panel/balloon/contextualballoon';
import ButtonView from '@ckeditor/ckeditor5-ui/src/button/buttonview';
import View from '@ckeditor/ckeditor5-ui/src/view';
import Paragraph from '@ckeditor/ckeditor5-paragraph/src/paragraph';
import ContextualBalloon from '@ckeditor/ckeditor5-ui/src/panel/balloon/contextualballoon.js';
import ButtonView from '@ckeditor/ckeditor5-ui/src/button/buttonview.js';
import View from '@ckeditor/ckeditor5-ui/src/view.js';
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 type { SinonSpy } from 'sinon';

Expand Down Expand Up @@ -49,8 +49,8 @@ describe( 'MathUI', () => {
formView = mathUIFeature.formView;

// 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, 'pin' ).returns( );
sinon.stub( balloon.view, 'attachTo' ).returns( false );
sinon.stub( balloon.view, 'pin' ).returns();

formView?.render();
} );
Expand Down
Loading