Skip to content

Commit e3410be

Browse files
gohaberegneSpecc
andauthored
Update dependencies (#1122)
* Update dependencies * upd codex.tooltip * Update editor.js.LICENSE.txt Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
1 parent f6b7b2e commit e3410be

File tree

5 files changed

+1377
-1693
lines changed

5 files changed

+1377
-1693
lines changed

dist/editor.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/editor.js.LICENSE renamed to dist/editor.js.LICENSE.txt

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*!
2+
* CodeX.Tooltips
3+
*
4+
* @version 1.0.1
5+
*
6+
* @licence MIT
7+
* @author CodeX <https://codex.so>
8+
*
9+
*
10+
*/
11+
12+
/*!
13+
* Codex JavaScript Notification module
14+
* https://github.com/codex-team/js-notifier
15+
*/
16+
117
/*!
218
* Editor.js
319
*
@@ -10,6 +26,14 @@
1026
* @licence Apache-2.0 (https://github.com/guardian/html-janitor/blob/master/LICENSE)
1127
*/
1228

29+
/*!
30+
* Library for handling keyboard shortcuts
31+
* @copyright CodeX (https://codex.so)
32+
* @license MIT
33+
* @author CodeX (https://codex.so)
34+
* @version 1.1.1
35+
*/
36+
1337
/**
1438
* If developer uses editor's API, then he can customize sanitize restrictions.
1539
* Or, sanitizing config can be defined globally in editors initialization. That config will be used everywhere
@@ -41,27 +65,3 @@
4165
* @copyright CodeX 2018
4266
* @license The MIT License (MIT)
4367
*/
44-
45-
/*!
46-
* Codex JavaScript Notification module
47-
* https://github.com/codex-team/js-notifier
48-
*/
49-
50-
/*!
51-
* Library for handling keyboard shortcuts
52-
* @copyright CodeX (https://codex.so)
53-
* @license MIT
54-
* @author CodeX (https://codex.so)
55-
* @version 1.1.1
56-
*/
57-
58-
/*!
59-
* CodeX.Tooltips
60-
*
61-
* @version 1.0.0
62-
*
63-
* @licence MIT
64-
* @author CodeX <https://codex.so>
65-
*
66-
*
67-
*/

package.json

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -31,50 +31,50 @@
3131
"url": "git+https://github.com/codex-team/editor.js.git"
3232
},
3333
"devDependencies": {
34-
"@babel/core": "^7.7.5",
35-
"@babel/plugin-transform-runtime": "^7.7.5",
36-
"@babel/polyfill": "^7.2.5",
37-
"@babel/preset-env": "^7.7.5",
38-
"@babel/register": "^7.0.0",
39-
"@babel/runtime": "^7.7.5",
34+
"@babel/core": "^7.9.0",
35+
"@babel/plugin-transform-runtime": "^7.9.0",
36+
"@babel/polyfill": "^7.8.7",
37+
"@babel/preset-env": "^7.9.5",
38+
"@babel/register": "^7.9.0",
39+
"@babel/runtime": "^7.9.2",
4040
"@codexteam/shortcuts": "^1.1.1",
41-
"@types/webpack": "^4.4.25",
42-
"@types/webpack-env": "^1.13.9",
43-
"babel-loader": "^8.0.5",
41+
"@types/webpack": "^4.41.12",
42+
"@types/webpack-env": "^1.15.2",
43+
"babel-loader": "^8.1.0",
4444
"babel-plugin-add-module-exports": "^1.0.0",
4545
"babel-plugin-class-display-name": "^2.1.0",
46-
"core-js": "3",
47-
"css-loader": "^3.2.1",
46+
"core-js": "3.6.5",
47+
"css-loader": "^3.5.3",
4848
"cssnano": "^4.1.10",
4949
"eslint": "^6.8.0",
50-
"eslint-config-codex": "^1.3.2",
51-
"eslint-loader": "^3.0.3",
50+
"eslint-config-codex": "^1.3.3",
51+
"eslint-loader": "^4.0.2",
5252
"extract-text-webpack-plugin": "^3.0.2",
5353
"html-janitor": "^2.0.4",
54-
"license-webpack-plugin": "^2.1.1",
54+
"license-webpack-plugin": "^2.1.4",
5555
"postcss-apply": "^0.12.0",
5656
"postcss-import": "^12.0.1",
5757
"postcss-loader": "^3.0.0",
5858
"postcss-nested": "^4.1.2",
5959
"postcss-nested-ancestors": "^2.0.0",
6060
"postcss-preset-env": "^6.6.0",
61-
"raw-loader": "^4.0.0",
62-
"rimraf": "^3.0.0",
63-
"stylelint": "^12.0.0",
61+
"raw-loader": "^4.0.1",
62+
"rimraf": "^3.0.2",
63+
"stylelint": "^13.3.3",
6464
"svg-sprite-generator": "^0.0.7",
65-
"terser-webpack-plugin": "^2.2.2",
66-
"ts-loader": "^6.2.1",
67-
"tslint": "^5.14.0",
68-
"typescript": "^3.7.3",
69-
"webpack": "^4.29.6",
70-
"webpack-cli": "^3.2.3"
65+
"terser-webpack-plugin": "^2.3.6",
66+
"ts-loader": "^7.0.1",
67+
"tslint": "^6.1.1",
68+
"typescript": "3.8.3",
69+
"webpack": "^4.43.0",
70+
"webpack-cli": "^3.3.11"
7171
},
7272
"collective": {
7373
"type": "opencollective",
7474
"url": "https://opencollective.com/editorjs"
7575
},
7676
"dependencies": {
7777
"codex-notifier": "^1.1.2",
78-
"codex-tooltip": "^1.0.0"
78+
"codex-tooltip": "^1.0.1"
7979
}
8080
}

src/components/modules/tools.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export default class Tools extends Module {
6868
return this._inlineTools;
6969
}
7070

71-
const tools = Object.entries(this.available).filter(([, tool]) => {
71+
const tools = Object.entries(this.available).filter(([name, tool]) => {
7272
if (!tool[this.INTERNAL_SETTINGS.IS_INLINE]) {
7373
return false;
7474
}

0 commit comments

Comments
 (0)