lakelib 0.1.23 → 0.1.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lake.min.js +3 -3
- package/dist/lake.min.js.map +1 -1
- package/lib/lake.js +18 -15
- package/lib/lake.js.map +1 -1
- package/lib/types/i18n/types.d.ts +6 -6
- package/package.json +20 -20
|
@@ -187,7 +187,7 @@ type RootTranslation = {
|
|
|
187
187
|
*/
|
|
188
188
|
emoji: string;
|
|
189
189
|
/**
|
|
190
|
-
*
|
|
190
|
+
* Mathematical formula
|
|
191
191
|
*/
|
|
192
192
|
equation: string;
|
|
193
193
|
/**
|
|
@@ -309,11 +309,11 @@ type RootTranslation = {
|
|
|
309
309
|
*/
|
|
310
310
|
videoDesc: string;
|
|
311
311
|
/**
|
|
312
|
-
*
|
|
312
|
+
* Mathematical formula
|
|
313
313
|
*/
|
|
314
314
|
equation: string;
|
|
315
315
|
/**
|
|
316
|
-
* Insert TeX expression
|
|
316
|
+
* Insert a TeX expression
|
|
317
317
|
*/
|
|
318
318
|
equationDesc: string;
|
|
319
319
|
/**
|
|
@@ -629,7 +629,7 @@ export type TranslationFunctions = {
|
|
|
629
629
|
*/
|
|
630
630
|
emoji: () => LocalizedString;
|
|
631
631
|
/**
|
|
632
|
-
*
|
|
632
|
+
* Mathematical formula
|
|
633
633
|
*/
|
|
634
634
|
equation: () => LocalizedString;
|
|
635
635
|
/**
|
|
@@ -751,11 +751,11 @@ export type TranslationFunctions = {
|
|
|
751
751
|
*/
|
|
752
752
|
videoDesc: () => LocalizedString;
|
|
753
753
|
/**
|
|
754
|
-
*
|
|
754
|
+
* Mathematical formula
|
|
755
755
|
*/
|
|
756
756
|
equation: () => LocalizedString;
|
|
757
757
|
/**
|
|
758
|
-
* Insert TeX expression
|
|
758
|
+
* Insert a TeX expression
|
|
759
759
|
*/
|
|
760
760
|
equationDesc: () => LocalizedString;
|
|
761
761
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lakelib",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.25",
|
|
4
4
|
"description": "Rich text editor based on the browser",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"rich text",
|
|
@@ -41,37 +41,37 @@
|
|
|
41
41
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
42
42
|
"@rollup/plugin-terser": "^0.4.4",
|
|
43
43
|
"@rollup/plugin-typescript": "^11.1.6",
|
|
44
|
-
"@types/chai": "^4.3.
|
|
45
|
-
"@types/mocha": "^10.0.
|
|
44
|
+
"@types/chai": "^4.3.19",
|
|
45
|
+
"@types/mocha": "^10.0.7",
|
|
46
46
|
"@types/sinon": "^17.0.3",
|
|
47
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
48
|
-
"@typescript-eslint/parser": "^7.
|
|
47
|
+
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
|
48
|
+
"@typescript-eslint/parser": "^7.18.0",
|
|
49
49
|
"bundle-phobia-cli": "^0.14.14",
|
|
50
|
-
"chai": "^4.
|
|
50
|
+
"chai": "^4.5.0",
|
|
51
51
|
"eslint": "^8.57.0",
|
|
52
52
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
53
53
|
"eslint-config-prettier": "^9.1.0",
|
|
54
|
-
"execa": "^
|
|
54
|
+
"execa": "^9.3.1",
|
|
55
55
|
"express": "^4.19.2",
|
|
56
|
-
"katex": "^0.16.
|
|
56
|
+
"katex": "^0.16.11",
|
|
57
57
|
"lake-codemirror": "^2.0.0",
|
|
58
|
-
"mocha": "^10.
|
|
58
|
+
"mocha": "^10.7.3",
|
|
59
59
|
"multer": "1.4.5-lts.1",
|
|
60
60
|
"npm-run-all": "^4.1.5",
|
|
61
|
-
"picocolors": "^1.0
|
|
61
|
+
"picocolors": "^1.1.0",
|
|
62
62
|
"prompts": "^2.4.2",
|
|
63
|
-
"puppeteer": "^
|
|
64
|
-
"rimraf": "^
|
|
65
|
-
"rollup": "^4.
|
|
66
|
-
"rollup-plugin-import-css": "^3.5.
|
|
63
|
+
"puppeteer": "^23.3.0",
|
|
64
|
+
"rimraf": "^6.0.1",
|
|
65
|
+
"rollup": "^4.21.2",
|
|
66
|
+
"rollup-plugin-import-css": "^3.5.1",
|
|
67
67
|
"rollup-plugin-svg-import": "^3.0.0",
|
|
68
|
-
"semver": "^7.6.
|
|
68
|
+
"semver": "^7.6.3",
|
|
69
69
|
"simple-git-hooks": "^2.11.1",
|
|
70
70
|
"sinon": "^18.0.0",
|
|
71
|
-
"sort-package-json": "^2.10.
|
|
72
|
-
"tslib": "^2.
|
|
73
|
-
"typescript": "^5.4
|
|
74
|
-
"wait-on": "^
|
|
71
|
+
"sort-package-json": "^2.10.1",
|
|
72
|
+
"tslib": "^2.7.0",
|
|
73
|
+
"typescript": "^5.5.4",
|
|
74
|
+
"wait-on": "^8.0.0"
|
|
75
75
|
},
|
|
76
76
|
"scripts": {
|
|
77
77
|
"dev": "npm-run-all --parallel --print-label dev:express dev:rollup",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"dev:lib": "rollup --watch --config rollup.config.mjs --es",
|
|
81
81
|
"build": "rimraf ./dist ./lib && rollup --config rollup.config.mjs --iife --es",
|
|
82
82
|
"i18n": "typesafe-i18n --no-watch",
|
|
83
|
-
"cost": "bundle-phobia debounce eventemitter3 fast-deep-equal photoswipe
|
|
83
|
+
"cost": "bundle-phobia debounce eventemitter3 fast-deep-equal is-hotkey photoswipe typesafe-i18n",
|
|
84
84
|
"sort:package": "sort-package-json",
|
|
85
85
|
"lint": "eslint . --config .eslintrc.cjs --ext \".ts,.js,.cjs,.mjs\"",
|
|
86
86
|
"test": "node ./scripts/run-tests.mjs",
|