jodit 4.12.24 → 4.12.26
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/CHANGELOG.md +12 -0
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +4 -4
- package/es2015/jodit.js +83 -52
- package/es2015/jodit.min.js +4 -4
- package/es2015/plugins/debug/debug.css +1 -1
- package/es2015/plugins/debug/debug.js +1 -1
- package/es2015/plugins/debug/debug.min.js +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2018/jodit.fat.min.js +4 -4
- package/es2018/jodit.min.js +4 -4
- package/es2018/plugins/debug/debug.min.js +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2021/jodit.css +1 -1
- package/es2021/jodit.fat.min.js +5 -5
- package/es2021/jodit.js +83 -52
- package/es2021/jodit.min.js +5 -5
- package/es2021/plugins/debug/debug.css +1 -1
- package/es2021/plugins/debug/debug.js +1 -1
- package/es2021/plugins/debug/debug.min.js +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2021.en/jodit.css +1 -1
- package/es2021.en/jodit.fat.min.js +4 -4
- package/es2021.en/jodit.js +83 -52
- package/es2021.en/jodit.min.js +4 -4
- package/es2021.en/plugins/debug/debug.css +1 -1
- package/es2021.en/plugins/debug/debug.js +1 -1
- package/es2021.en/plugins/debug/debug.min.js +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es5/jodit.css +2 -2
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +83 -52
- package/es5/jodit.min.css +2 -2
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/debug/debug.css +1 -1
- package/es5/plugins/debug/debug.js +1 -1
- package/es5/plugins/debug/debug.min.js +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es5/polyfills.fat.min.js +1 -1
- package/es5/polyfills.js +1 -1
- package/es5/polyfills.min.js +1 -1
- package/esm/core/constants.js +1 -1
- package/esm/core/helpers/utils/config-proto.js +1 -9
- package/esm/core/helpers/utils/index.d.ts +1 -0
- package/esm/core/helpers/utils/index.js +1 -0
- package/esm/core/helpers/utils/is-unsafe-proto-key.d.ts +18 -0
- package/esm/core/helpers/utils/is-unsafe-proto-key.js +20 -0
- package/esm/core/helpers/utils/set.js +4 -0
- package/esm/plugins/source/config.js +1 -1
- package/package.json +1 -1
- package/types/core/helpers/utils/index.d.ts +1 -0
- package/types/core/helpers/utils/is-unsafe-proto-key.d.ts +18 -0
package/es2015/jodit.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
|
|
3
3
|
* Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
|
|
4
|
-
* Version: v4.12.
|
|
4
|
+
* Version: v4.12.26
|
|
5
5
|
* Url: https://xdsoft.net/jodit/
|
|
6
6
|
* License(s): MIT
|
|
7
7
|
*/
|
|
@@ -1816,7 +1816,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1816
1816
|
* ```
|
|
1817
1817
|
* @packageDocumentation
|
|
1818
1818
|
* @module constants
|
|
1819
|
-
*/ const APP_VERSION = "4.12.
|
|
1819
|
+
*/ const APP_VERSION = "4.12.26";
|
|
1820
1820
|
// prettier-ignore
|
|
1821
1821
|
const ES = "es2015";
|
|
1822
1822
|
const IS_ES_MODERN = true;
|
|
@@ -7739,7 +7739,8 @@ const completeUrl = (url)=>{
|
|
|
7739
7739
|
/* harmony import */ var jodit_core_helpers_checker_is_void__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(18303);
|
|
7740
7740
|
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(5266);
|
|
7741
7741
|
/* harmony import */ var _extend__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(54794);
|
|
7742
|
-
/* harmony import */ var
|
|
7742
|
+
/* harmony import */ var _is_unsafe_proto_key__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(78048);
|
|
7743
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(71125);
|
|
7743
7744
|
/*!
|
|
7744
7745
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
7745
7746
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -7753,18 +7754,7 @@ const completeUrl = (url)=>{
|
|
|
7753
7754
|
|
|
7754
7755
|
|
|
7755
7756
|
|
|
7756
|
-
|
|
7757
|
-
* Keys that must never be copied from a (potentially untrusted) config object —
|
|
7758
|
-
* assigning them during a recursive merge can reach and mutate
|
|
7759
|
-
* `Object.prototype` (prototype pollution, CWE-1321).
|
|
7760
|
-
*/ const UNSAFE_PROTO_KEYS = [
|
|
7761
|
-
'__proto__',
|
|
7762
|
-
'constructor',
|
|
7763
|
-
'prototype'
|
|
7764
|
-
];
|
|
7765
|
-
function isUnsafeProtoKey(key) {
|
|
7766
|
-
return UNSAFE_PROTO_KEYS.indexOf(key) !== -1;
|
|
7767
|
-
}
|
|
7757
|
+
|
|
7768
7758
|
/**
|
|
7769
7759
|
* @example
|
|
7770
7760
|
* ```js
|
|
@@ -7813,7 +7803,7 @@ function isUnsafeProtoKey(key) {
|
|
|
7813
7803
|
}
|
|
7814
7804
|
const newOpt = {};
|
|
7815
7805
|
Object.keys(options).forEach((key)=>{
|
|
7816
|
-
if (isUnsafeProtoKey(key)) {
|
|
7806
|
+
if ((0,_is_unsafe_proto_key__WEBPACK_IMPORTED_MODULE_6__.isUnsafeProtoKey)(key)) {
|
|
7817
7807
|
return;
|
|
7818
7808
|
}
|
|
7819
7809
|
const opt = options[key], protoKey = proto ? proto[key] : null;
|
|
@@ -7835,7 +7825,7 @@ function isUnsafeProtoKey(key) {
|
|
|
7835
7825
|
return newOpt;
|
|
7836
7826
|
}
|
|
7837
7827
|
function ConfigFlatten(obj) {
|
|
7838
|
-
return (0,
|
|
7828
|
+
return (0,_utils__WEBPACK_IMPORTED_MODULE_7__.keys)(obj, false).reduce((app, key)=>{
|
|
7839
7829
|
app[key] = obj[key];
|
|
7840
7830
|
return app;
|
|
7841
7831
|
}, {});
|
|
@@ -7877,7 +7867,7 @@ function ConfigFlatten(obj) {
|
|
|
7877
7867
|
* @see {@link ConfigProto} for the prototype-chain variant used at editor creation time
|
|
7878
7868
|
*/ function ConfigMerge(target, source) {
|
|
7879
7869
|
Object.keys(source).forEach((key)=>{
|
|
7880
|
-
if (isUnsafeProtoKey(key)) {
|
|
7870
|
+
if ((0,_is_unsafe_proto_key__WEBPACK_IMPORTED_MODULE_6__.isUnsafeProtoKey)(key)) {
|
|
7881
7871
|
return;
|
|
7882
7872
|
}
|
|
7883
7873
|
const srcVal = source[key];
|
|
@@ -7890,7 +7880,7 @@ function ConfigFlatten(obj) {
|
|
|
7890
7880
|
});
|
|
7891
7881
|
}
|
|
7892
7882
|
function ConfigDeepFlatten(obj) {
|
|
7893
|
-
return (0,
|
|
7883
|
+
return (0,_utils__WEBPACK_IMPORTED_MODULE_7__.keys)(obj, false).reduce((app, key)=>{
|
|
7894
7884
|
app[key] = (0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_1__.isPlainObject)(obj[key]) ? ConfigDeepFlatten(obj[key]) : obj[key];
|
|
7895
7885
|
return app;
|
|
7896
7886
|
}, {});
|
|
@@ -8493,14 +8483,15 @@ const getClassName = (obj)=>{
|
|
|
8493
8483
|
"use strict";
|
|
8494
8484
|
__webpack_require__.r(__webpack_exports__);
|
|
8495
8485
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8496
|
-
/* harmony export */ $$: function() { return /* reexport safe */
|
|
8486
|
+
/* harmony export */ $$: function() { return /* reexport safe */ _selector__WEBPACK_IMPORTED_MODULE_24__.$$; },
|
|
8497
8487
|
/* harmony export */ ConfigDeepFlatten: function() { return /* reexport safe */ _config_proto__WEBPACK_IMPORTED_MODULE_7__.ConfigDeepFlatten; },
|
|
8498
8488
|
/* harmony export */ ConfigFlatten: function() { return /* reexport safe */ _config_proto__WEBPACK_IMPORTED_MODULE_7__.ConfigFlatten; },
|
|
8499
8489
|
/* harmony export */ ConfigMerge: function() { return /* reexport safe */ _config_proto__WEBPACK_IMPORTED_MODULE_7__.ConfigMerge; },
|
|
8500
8490
|
/* harmony export */ ConfigProto: function() { return /* reexport safe */ _config_proto__WEBPACK_IMPORTED_MODULE_7__.ConfigProto; },
|
|
8501
8491
|
/* harmony export */ ConnectionError: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_13__.ConnectionError; },
|
|
8502
|
-
/* harmony export */ LimitedStack: function() { return /* reexport safe */
|
|
8492
|
+
/* harmony export */ LimitedStack: function() { return /* reexport safe */ _stack__WEBPACK_IMPORTED_MODULE_26__.LimitedStack; },
|
|
8503
8493
|
/* harmony export */ OptionsError: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_13__.OptionsError; },
|
|
8494
|
+
/* harmony export */ UNSAFE_PROTO_KEYS: function() { return /* reexport safe */ _is_unsafe_proto_key__WEBPACK_IMPORTED_MODULE_18__.UNSAFE_PROTO_KEYS; },
|
|
8504
8495
|
/* harmony export */ abort: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_13__.abort; },
|
|
8505
8496
|
/* harmony export */ alignElement: function() { return /* reexport safe */ _align__WEBPACK_IMPORTED_MODULE_0__.alignElement; },
|
|
8506
8497
|
/* harmony export */ alreadyLoadedList: function() { return /* reexport safe */ _append_script__WEBPACK_IMPORTED_MODULE_1__.alreadyLoadedList; },
|
|
@@ -8509,17 +8500,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8509
8500
|
/* harmony export */ attr: function() { return /* reexport safe */ _attr__WEBPACK_IMPORTED_MODULE_3__.attr; },
|
|
8510
8501
|
/* harmony export */ browser: function() { return /* reexport safe */ _browser__WEBPACK_IMPORTED_MODULE_4__.browser; },
|
|
8511
8502
|
/* harmony export */ buildQuery: function() { return /* reexport safe */ _build_query__WEBPACK_IMPORTED_MODULE_5__.buildQuery; },
|
|
8512
|
-
/* harmony export */ call: function() { return /* reexport safe */
|
|
8513
|
-
/* harmony export */ callPromise: function() { return /* reexport safe */
|
|
8514
|
-
/* harmony export */ callThis: function() { return /* reexport safe */
|
|
8503
|
+
/* harmony export */ call: function() { return /* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_27__.call; },
|
|
8504
|
+
/* harmony export */ callPromise: function() { return /* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_27__.callPromise; },
|
|
8505
|
+
/* harmony export */ callThis: function() { return /* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_27__.callThis; },
|
|
8515
8506
|
/* harmony export */ clearAlign: function() { return /* reexport safe */ _align__WEBPACK_IMPORTED_MODULE_0__.clearAlign; },
|
|
8516
8507
|
/* harmony export */ clearCenterAlign: function() { return /* reexport safe */ _css__WEBPACK_IMPORTED_MODULE_9__.clearCenterAlign; },
|
|
8517
|
-
/* harmony export */ cns: function() { return /* reexport safe */
|
|
8508
|
+
/* harmony export */ cns: function() { return /* reexport safe */ _mark_deprecated__WEBPACK_IMPORTED_MODULE_19__.cns; },
|
|
8518
8509
|
/* harmony export */ completeUrl: function() { return /* reexport safe */ _complete_url__WEBPACK_IMPORTED_MODULE_6__.completeUrl; },
|
|
8519
8510
|
/* harmony export */ connection: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_13__.connection; },
|
|
8520
8511
|
/* harmony export */ convertMediaUrlToVideoEmbed: function() { return /* reexport safe */ _convert_media_url_to_video_embed__WEBPACK_IMPORTED_MODULE_8__.convertMediaUrlToVideoEmbed; },
|
|
8521
8512
|
/* harmony export */ css: function() { return /* reexport safe */ _css__WEBPACK_IMPORTED_MODULE_9__.css; },
|
|
8522
|
-
/* harmony export */ cssPath: function() { return /* reexport safe */
|
|
8513
|
+
/* harmony export */ cssPath: function() { return /* reexport safe */ _selector__WEBPACK_IMPORTED_MODULE_24__.cssPath; },
|
|
8523
8514
|
/* harmony export */ ctrlKey: function() { return /* reexport safe */ _ctrl_key__WEBPACK_IMPORTED_MODULE_10__.ctrlKey; },
|
|
8524
8515
|
/* harmony export */ dataBind: function() { return /* reexport safe */ _data_bind__WEBPACK_IMPORTED_MODULE_11__.dataBind; },
|
|
8525
8516
|
/* harmony export */ defaultLanguage: function() { return /* reexport safe */ _default_language__WEBPACK_IMPORTED_MODULE_12__.defaultLanguage; },
|
|
@@ -8527,30 +8518,31 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8527
8518
|
/* harmony export */ fastClone: function() { return /* reexport safe */ _extend__WEBPACK_IMPORTED_MODULE_14__.fastClone; },
|
|
8528
8519
|
/* harmony export */ get: function() { return /* reexport safe */ _get__WEBPACK_IMPORTED_MODULE_15__.get; },
|
|
8529
8520
|
/* harmony export */ getClassName: function() { return /* reexport safe */ _get_class_name__WEBPACK_IMPORTED_MODULE_16__.getClassName; },
|
|
8530
|
-
/* harmony export */ getDataTransfer: function() { return /* reexport safe */
|
|
8531
|
-
/* harmony export */ getPropertyDescriptor: function() { return /* reexport safe */
|
|
8532
|
-
/* harmony export */ getXPathByElement: function() { return /* reexport safe */
|
|
8521
|
+
/* harmony export */ getDataTransfer: function() { return /* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_27__.getDataTransfer; },
|
|
8522
|
+
/* harmony export */ getPropertyDescriptor: function() { return /* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_27__.getPropertyDescriptor; },
|
|
8523
|
+
/* harmony export */ getXPathByElement: function() { return /* reexport safe */ _selector__WEBPACK_IMPORTED_MODULE_24__.getXPathByElement; },
|
|
8533
8524
|
/* harmony export */ hAlignElement: function() { return /* reexport safe */ _align__WEBPACK_IMPORTED_MODULE_0__.hAlignElement; },
|
|
8534
8525
|
/* harmony export */ humanSizeToBytes: function() { return /* reexport safe */ _human_size_to_bytes__WEBPACK_IMPORTED_MODULE_17__.humanSizeToBytes; },
|
|
8535
|
-
/* harmony export */ inView: function() { return /* reexport safe */
|
|
8526
|
+
/* harmony export */ inView: function() { return /* reexport safe */ _scroll_into_view__WEBPACK_IMPORTED_MODULE_23__.inView; },
|
|
8536
8527
|
/* harmony export */ isAtom: function() { return /* reexport safe */ _extend__WEBPACK_IMPORTED_MODULE_14__.isAtom; },
|
|
8528
|
+
/* harmony export */ isUnsafeProtoKey: function() { return /* reexport safe */ _is_unsafe_proto_key__WEBPACK_IMPORTED_MODULE_18__.isUnsafeProtoKey; },
|
|
8537
8529
|
/* harmony export */ keepNames: function() { return /* reexport safe */ _get_class_name__WEBPACK_IMPORTED_MODULE_16__.keepNames; },
|
|
8538
|
-
/* harmony export */ keys: function() { return /* reexport safe */
|
|
8539
|
-
/* harmony export */ loadImage: function() { return /* reexport safe */
|
|
8530
|
+
/* harmony export */ keys: function() { return /* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_27__.keys; },
|
|
8531
|
+
/* harmony export */ loadImage: function() { return /* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_27__.loadImage; },
|
|
8540
8532
|
/* harmony export */ loadNext: function() { return /* reexport safe */ _append_script__WEBPACK_IMPORTED_MODULE_1__.loadNext; },
|
|
8541
8533
|
/* harmony export */ loadNextStyle: function() { return /* reexport safe */ _append_script__WEBPACK_IMPORTED_MODULE_1__.loadNextStyle; },
|
|
8542
8534
|
/* harmony export */ markAsAtomic: function() { return /* reexport safe */ _extend__WEBPACK_IMPORTED_MODULE_14__.markAsAtomic; },
|
|
8543
|
-
/* harmony export */ markDeprecated: function() { return /* reexport safe */
|
|
8544
|
-
/* harmony export */ markOwner: function() { return /* reexport safe */
|
|
8545
|
-
/* harmony export */ memorizeExec: function() { return /* reexport safe */
|
|
8535
|
+
/* harmony export */ markDeprecated: function() { return /* reexport safe */ _mark_deprecated__WEBPACK_IMPORTED_MODULE_19__.markDeprecated; },
|
|
8536
|
+
/* harmony export */ markOwner: function() { return /* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_27__.markOwner; },
|
|
8537
|
+
/* harmony export */ memorizeExec: function() { return /* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_27__.memorizeExec; },
|
|
8546
8538
|
/* harmony export */ options: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_13__.options; },
|
|
8547
|
-
/* harmony export */ parseQuery: function() { return /* reexport safe */
|
|
8548
|
-
/* harmony export */ previewBox: function() { return /* reexport safe */
|
|
8549
|
-
/* harmony export */ refs: function() { return /* reexport safe */
|
|
8550
|
-
/* harmony export */ reset: function() { return /* reexport safe */
|
|
8551
|
-
/* harmony export */ resolveElement: function() { return /* reexport safe */
|
|
8552
|
-
/* harmony export */ scrollIntoViewIfNeeded: function() { return /* reexport safe */
|
|
8553
|
-
/* harmony export */ set: function() { return /* reexport safe */
|
|
8539
|
+
/* harmony export */ parseQuery: function() { return /* reexport safe */ _parse_query__WEBPACK_IMPORTED_MODULE_20__.parseQuery; },
|
|
8540
|
+
/* harmony export */ previewBox: function() { return /* reexport safe */ _print__WEBPACK_IMPORTED_MODULE_21__.previewBox; },
|
|
8541
|
+
/* harmony export */ refs: function() { return /* reexport safe */ _selector__WEBPACK_IMPORTED_MODULE_24__.refs; },
|
|
8542
|
+
/* harmony export */ reset: function() { return /* reexport safe */ _reset__WEBPACK_IMPORTED_MODULE_22__.reset; },
|
|
8543
|
+
/* harmony export */ resolveElement: function() { return /* reexport safe */ _selector__WEBPACK_IMPORTED_MODULE_24__.resolveElement; },
|
|
8544
|
+
/* harmony export */ scrollIntoViewIfNeeded: function() { return /* reexport safe */ _scroll_into_view__WEBPACK_IMPORTED_MODULE_23__.scrollIntoViewIfNeeded; },
|
|
8545
|
+
/* harmony export */ set: function() { return /* reexport safe */ _set__WEBPACK_IMPORTED_MODULE_25__.set; }
|
|
8554
8546
|
/* harmony export */ });
|
|
8555
8547
|
/* harmony import */ var _align__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(16849);
|
|
8556
8548
|
/* harmony import */ var _append_script__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(47760);
|
|
@@ -8574,15 +8566,16 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8574
8566
|
/* harmony import */ var _get__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(89308);
|
|
8575
8567
|
/* harmony import */ var _get_class_name__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(421);
|
|
8576
8568
|
/* harmony import */ var _human_size_to_bytes__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(37427);
|
|
8577
|
-
/* harmony import */ var
|
|
8578
|
-
/* harmony import */ var
|
|
8579
|
-
/* harmony import */ var
|
|
8580
|
-
/* harmony import */ var
|
|
8581
|
-
/* harmony import */ var
|
|
8582
|
-
/* harmony import */ var
|
|
8583
|
-
/* harmony import */ var
|
|
8584
|
-
/* harmony import */ var
|
|
8585
|
-
/* harmony import */ var
|
|
8569
|
+
/* harmony import */ var _is_unsafe_proto_key__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(78048);
|
|
8570
|
+
/* harmony import */ var _mark_deprecated__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(49385);
|
|
8571
|
+
/* harmony import */ var _parse_query__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(36310);
|
|
8572
|
+
/* harmony import */ var _print__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(57075);
|
|
8573
|
+
/* harmony import */ var _reset__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(43379);
|
|
8574
|
+
/* harmony import */ var _scroll_into_view__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(60898);
|
|
8575
|
+
/* harmony import */ var _selector__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(28723);
|
|
8576
|
+
/* harmony import */ var _set__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(52144);
|
|
8577
|
+
/* harmony import */ var _stack__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(42820);
|
|
8578
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(71125);
|
|
8586
8579
|
/*!
|
|
8587
8580
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
8588
8581
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -8616,6 +8609,39 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8616
8609
|
|
|
8617
8610
|
|
|
8618
8611
|
|
|
8612
|
+
|
|
8613
|
+
|
|
8614
|
+
|
|
8615
|
+
/***/ }),
|
|
8616
|
+
|
|
8617
|
+
/***/ 78048:
|
|
8618
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
8619
|
+
|
|
8620
|
+
"use strict";
|
|
8621
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8622
|
+
/* harmony export */ UNSAFE_PROTO_KEYS: function() { return /* binding */ UNSAFE_PROTO_KEYS; },
|
|
8623
|
+
/* harmony export */ isUnsafeProtoKey: function() { return /* binding */ isUnsafeProtoKey; }
|
|
8624
|
+
/* harmony export */ });
|
|
8625
|
+
/*!
|
|
8626
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
8627
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
8628
|
+
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
|
|
8629
|
+
*/ /**
|
|
8630
|
+
* @module helpers/utils
|
|
8631
|
+
*/ /**
|
|
8632
|
+
* Keys that must never be written from a (potentially untrusted) source —
|
|
8633
|
+
* assigning them while walking/merging an object can reach and mutate
|
|
8634
|
+
* `Object.prototype` (prototype pollution, CWE-1321).
|
|
8635
|
+
*/ const UNSAFE_PROTO_KEYS = [
|
|
8636
|
+
'__proto__',
|
|
8637
|
+
'constructor',
|
|
8638
|
+
'prototype'
|
|
8639
|
+
];
|
|
8640
|
+
/**
|
|
8641
|
+
* Check whether a key can be used to pollute the prototype chain.
|
|
8642
|
+
*/ function isUnsafeProtoKey(key) {
|
|
8643
|
+
return UNSAFE_PROTO_KEYS.indexOf(key) !== -1;
|
|
8644
|
+
}
|
|
8619
8645
|
|
|
8620
8646
|
|
|
8621
8647
|
/***/ }),
|
|
@@ -9106,6 +9132,7 @@ const $$temp = ()=>{
|
|
|
9106
9132
|
/* harmony import */ var jodit_core_helpers_checker_is_numeric__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(70222);
|
|
9107
9133
|
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(62101);
|
|
9108
9134
|
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(85932);
|
|
9135
|
+
/* harmony import */ var _is_unsafe_proto_key__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(78048);
|
|
9109
9136
|
/*!
|
|
9110
9137
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
9111
9138
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -9116,6 +9143,7 @@ const $$temp = ()=>{
|
|
|
9116
9143
|
|
|
9117
9144
|
|
|
9118
9145
|
|
|
9146
|
+
|
|
9119
9147
|
/**
|
|
9120
9148
|
* Safe access in tree object
|
|
9121
9149
|
*
|
|
@@ -9133,6 +9161,9 @@ const $$temp = ()=>{
|
|
|
9133
9161
|
return;
|
|
9134
9162
|
}
|
|
9135
9163
|
const parts = chain.split('.');
|
|
9164
|
+
if (parts.some(_is_unsafe_proto_key__WEBPACK_IMPORTED_MODULE_4__.isUnsafeProtoKey)) {
|
|
9165
|
+
return;
|
|
9166
|
+
}
|
|
9136
9167
|
let result = obj, key = parts[0];
|
|
9137
9168
|
for(let i = 0; i < parts.length - 1; i += 1){
|
|
9138
9169
|
key = parts[i];
|
|
@@ -40601,7 +40632,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.sourceEditorNativeOpt
|
|
|
40601
40632
|
*/ highlightActiveLine: true
|
|
40602
40633
|
};
|
|
40603
40634
|
jodit_config__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.sourceEditorCDNUrlsJS = [
|
|
40604
|
-
'https://cdnjs.cloudflare.com/ajax/libs/ace/1.
|
|
40635
|
+
'https://cdnjs.cloudflare.com/ajax/libs/ace/1.43.3/ace.js'
|
|
40605
40636
|
];
|
|
40606
40637
|
jodit_config__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.beautifyHTMLCDNUrlsJS = [
|
|
40607
40638
|
'https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify.min.js',
|