jodit 4.12.25 → 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 +6 -0
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +3 -3
- package/es2015/jodit.js +82 -51
- package/es2015/jodit.min.js +3 -3
- 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 +3 -3
- package/es2018/jodit.min.js +3 -3
- 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 +4 -4
- package/es2021/jodit.js +82 -51
- package/es2021/jodit.min.js +4 -4
- 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 +3 -3
- package/es2021.en/jodit.js +82 -51
- package/es2021.en/jodit.min.js +3 -3
- 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 +82 -51
- 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/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/es5/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
|
*/
|
|
@@ -2074,7 +2074,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2074
2074
|
* @packageDocumentation
|
|
2075
2075
|
* @module constants
|
|
2076
2076
|
*/
|
|
2077
|
-
var APP_VERSION = "4.12.
|
|
2077
|
+
var APP_VERSION = "4.12.26";
|
|
2078
2078
|
// prettier-ignore
|
|
2079
2079
|
var ES = "es5";
|
|
2080
2080
|
var IS_ES_MODERN = false;
|
|
@@ -8746,7 +8746,8 @@ var completeUrl = function completeUrl(url) {
|
|
|
8746
8746
|
/* harmony import */ var jodit_core_helpers_checker_is_void__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(18303);
|
|
8747
8747
|
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(5266);
|
|
8748
8748
|
/* harmony import */ var _extend__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(54794);
|
|
8749
|
-
/* harmony import */ var
|
|
8749
|
+
/* harmony import */ var _is_unsafe_proto_key__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(78048);
|
|
8750
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(71125);
|
|
8750
8751
|
/*!
|
|
8751
8752
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
8752
8753
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -8761,18 +8762,7 @@ var completeUrl = function completeUrl(url) {
|
|
|
8761
8762
|
|
|
8762
8763
|
|
|
8763
8764
|
|
|
8764
|
-
|
|
8765
|
-
* Keys that must never be copied from a (potentially untrusted) config object —
|
|
8766
|
-
* assigning them during a recursive merge can reach and mutate
|
|
8767
|
-
* `Object.prototype` (prototype pollution, CWE-1321).
|
|
8768
|
-
*/ var UNSAFE_PROTO_KEYS = [
|
|
8769
|
-
'__proto__',
|
|
8770
|
-
'constructor',
|
|
8771
|
-
'prototype'
|
|
8772
|
-
];
|
|
8773
|
-
function isUnsafeProtoKey(key) {
|
|
8774
|
-
return UNSAFE_PROTO_KEYS.indexOf(key) !== -1;
|
|
8775
|
-
}
|
|
8765
|
+
|
|
8776
8766
|
/**
|
|
8777
8767
|
* @example
|
|
8778
8768
|
* ```js
|
|
@@ -8822,7 +8812,7 @@ function isUnsafeProtoKey(key) {
|
|
|
8822
8812
|
}
|
|
8823
8813
|
var newOpt = {};
|
|
8824
8814
|
Object.keys(options).forEach(function(key) {
|
|
8825
|
-
if (isUnsafeProtoKey(key)) {
|
|
8815
|
+
if ((0,_is_unsafe_proto_key__WEBPACK_IMPORTED_MODULE_7__.isUnsafeProtoKey)(key)) {
|
|
8826
8816
|
return;
|
|
8827
8817
|
}
|
|
8828
8818
|
var opt = options[key], protoKey = proto ? proto[key] : null;
|
|
@@ -8841,7 +8831,7 @@ function isUnsafeProtoKey(key) {
|
|
|
8841
8831
|
return newOpt;
|
|
8842
8832
|
}
|
|
8843
8833
|
function ConfigFlatten(obj) {
|
|
8844
|
-
return (0,
|
|
8834
|
+
return (0,_utils__WEBPACK_IMPORTED_MODULE_8__.keys)(obj, false).reduce(function(app, key) {
|
|
8845
8835
|
app[key] = obj[key];
|
|
8846
8836
|
return app;
|
|
8847
8837
|
}, {});
|
|
@@ -8883,7 +8873,7 @@ function ConfigFlatten(obj) {
|
|
|
8883
8873
|
* @see {@link ConfigProto} for the prototype-chain variant used at editor creation time
|
|
8884
8874
|
*/ function ConfigMerge(target, source) {
|
|
8885
8875
|
Object.keys(source).forEach(function(key) {
|
|
8886
|
-
if (isUnsafeProtoKey(key)) {
|
|
8876
|
+
if ((0,_is_unsafe_proto_key__WEBPACK_IMPORTED_MODULE_7__.isUnsafeProtoKey)(key)) {
|
|
8887
8877
|
return;
|
|
8888
8878
|
}
|
|
8889
8879
|
var srcVal = source[key];
|
|
@@ -8896,7 +8886,7 @@ function ConfigFlatten(obj) {
|
|
|
8896
8886
|
});
|
|
8897
8887
|
}
|
|
8898
8888
|
function ConfigDeepFlatten(obj) {
|
|
8899
|
-
return (0,
|
|
8889
|
+
return (0,_utils__WEBPACK_IMPORTED_MODULE_8__.keys)(obj, false).reduce(function(app, key) {
|
|
8900
8890
|
app[key] = (0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_2__.isPlainObject)(obj[key]) ? ConfigDeepFlatten(obj[key]) : obj[key];
|
|
8901
8891
|
return app;
|
|
8902
8892
|
}, {});
|
|
@@ -9554,14 +9544,15 @@ var getClassName = function getClassName(obj) {
|
|
|
9554
9544
|
"use strict";
|
|
9555
9545
|
__webpack_require__.r(__webpack_exports__);
|
|
9556
9546
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9557
|
-
/* harmony export */ $$: function() { return /* reexport safe */
|
|
9547
|
+
/* harmony export */ $$: function() { return /* reexport safe */ _selector__WEBPACK_IMPORTED_MODULE_24__.$$; },
|
|
9558
9548
|
/* harmony export */ ConfigDeepFlatten: function() { return /* reexport safe */ _config_proto__WEBPACK_IMPORTED_MODULE_7__.ConfigDeepFlatten; },
|
|
9559
9549
|
/* harmony export */ ConfigFlatten: function() { return /* reexport safe */ _config_proto__WEBPACK_IMPORTED_MODULE_7__.ConfigFlatten; },
|
|
9560
9550
|
/* harmony export */ ConfigMerge: function() { return /* reexport safe */ _config_proto__WEBPACK_IMPORTED_MODULE_7__.ConfigMerge; },
|
|
9561
9551
|
/* harmony export */ ConfigProto: function() { return /* reexport safe */ _config_proto__WEBPACK_IMPORTED_MODULE_7__.ConfigProto; },
|
|
9562
9552
|
/* harmony export */ ConnectionError: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_13__.ConnectionError; },
|
|
9563
|
-
/* harmony export */ LimitedStack: function() { return /* reexport safe */
|
|
9553
|
+
/* harmony export */ LimitedStack: function() { return /* reexport safe */ _stack__WEBPACK_IMPORTED_MODULE_26__.LimitedStack; },
|
|
9564
9554
|
/* harmony export */ OptionsError: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_13__.OptionsError; },
|
|
9555
|
+
/* harmony export */ UNSAFE_PROTO_KEYS: function() { return /* reexport safe */ _is_unsafe_proto_key__WEBPACK_IMPORTED_MODULE_18__.UNSAFE_PROTO_KEYS; },
|
|
9565
9556
|
/* harmony export */ abort: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_13__.abort; },
|
|
9566
9557
|
/* harmony export */ alignElement: function() { return /* reexport safe */ _align__WEBPACK_IMPORTED_MODULE_0__.alignElement; },
|
|
9567
9558
|
/* harmony export */ alreadyLoadedList: function() { return /* reexport safe */ _append_script__WEBPACK_IMPORTED_MODULE_1__.alreadyLoadedList; },
|
|
@@ -9570,17 +9561,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9570
9561
|
/* harmony export */ attr: function() { return /* reexport safe */ _attr__WEBPACK_IMPORTED_MODULE_3__.attr; },
|
|
9571
9562
|
/* harmony export */ browser: function() { return /* reexport safe */ _browser__WEBPACK_IMPORTED_MODULE_4__.browser; },
|
|
9572
9563
|
/* harmony export */ buildQuery: function() { return /* reexport safe */ _build_query__WEBPACK_IMPORTED_MODULE_5__.buildQuery; },
|
|
9573
|
-
/* harmony export */ call: function() { return /* reexport safe */
|
|
9574
|
-
/* harmony export */ callPromise: function() { return /* reexport safe */
|
|
9575
|
-
/* harmony export */ callThis: function() { return /* reexport safe */
|
|
9564
|
+
/* harmony export */ call: function() { return /* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_27__.call; },
|
|
9565
|
+
/* harmony export */ callPromise: function() { return /* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_27__.callPromise; },
|
|
9566
|
+
/* harmony export */ callThis: function() { return /* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_27__.callThis; },
|
|
9576
9567
|
/* harmony export */ clearAlign: function() { return /* reexport safe */ _align__WEBPACK_IMPORTED_MODULE_0__.clearAlign; },
|
|
9577
9568
|
/* harmony export */ clearCenterAlign: function() { return /* reexport safe */ _css__WEBPACK_IMPORTED_MODULE_9__.clearCenterAlign; },
|
|
9578
|
-
/* harmony export */ cns: function() { return /* reexport safe */
|
|
9569
|
+
/* harmony export */ cns: function() { return /* reexport safe */ _mark_deprecated__WEBPACK_IMPORTED_MODULE_19__.cns; },
|
|
9579
9570
|
/* harmony export */ completeUrl: function() { return /* reexport safe */ _complete_url__WEBPACK_IMPORTED_MODULE_6__.completeUrl; },
|
|
9580
9571
|
/* harmony export */ connection: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_13__.connection; },
|
|
9581
9572
|
/* harmony export */ convertMediaUrlToVideoEmbed: function() { return /* reexport safe */ _convert_media_url_to_video_embed__WEBPACK_IMPORTED_MODULE_8__.convertMediaUrlToVideoEmbed; },
|
|
9582
9573
|
/* harmony export */ css: function() { return /* reexport safe */ _css__WEBPACK_IMPORTED_MODULE_9__.css; },
|
|
9583
|
-
/* harmony export */ cssPath: function() { return /* reexport safe */
|
|
9574
|
+
/* harmony export */ cssPath: function() { return /* reexport safe */ _selector__WEBPACK_IMPORTED_MODULE_24__.cssPath; },
|
|
9584
9575
|
/* harmony export */ ctrlKey: function() { return /* reexport safe */ _ctrl_key__WEBPACK_IMPORTED_MODULE_10__.ctrlKey; },
|
|
9585
9576
|
/* harmony export */ dataBind: function() { return /* reexport safe */ _data_bind__WEBPACK_IMPORTED_MODULE_11__.dataBind; },
|
|
9586
9577
|
/* harmony export */ defaultLanguage: function() { return /* reexport safe */ _default_language__WEBPACK_IMPORTED_MODULE_12__.defaultLanguage; },
|
|
@@ -9588,30 +9579,31 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9588
9579
|
/* harmony export */ fastClone: function() { return /* reexport safe */ _extend__WEBPACK_IMPORTED_MODULE_14__.fastClone; },
|
|
9589
9580
|
/* harmony export */ get: function() { return /* reexport safe */ _get__WEBPACK_IMPORTED_MODULE_15__.get; },
|
|
9590
9581
|
/* harmony export */ getClassName: function() { return /* reexport safe */ _get_class_name__WEBPACK_IMPORTED_MODULE_16__.getClassName; },
|
|
9591
|
-
/* harmony export */ getDataTransfer: function() { return /* reexport safe */
|
|
9592
|
-
/* harmony export */ getPropertyDescriptor: function() { return /* reexport safe */
|
|
9593
|
-
/* harmony export */ getXPathByElement: function() { return /* reexport safe */
|
|
9582
|
+
/* harmony export */ getDataTransfer: function() { return /* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_27__.getDataTransfer; },
|
|
9583
|
+
/* harmony export */ getPropertyDescriptor: function() { return /* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_27__.getPropertyDescriptor; },
|
|
9584
|
+
/* harmony export */ getXPathByElement: function() { return /* reexport safe */ _selector__WEBPACK_IMPORTED_MODULE_24__.getXPathByElement; },
|
|
9594
9585
|
/* harmony export */ hAlignElement: function() { return /* reexport safe */ _align__WEBPACK_IMPORTED_MODULE_0__.hAlignElement; },
|
|
9595
9586
|
/* harmony export */ humanSizeToBytes: function() { return /* reexport safe */ _human_size_to_bytes__WEBPACK_IMPORTED_MODULE_17__.humanSizeToBytes; },
|
|
9596
|
-
/* harmony export */ inView: function() { return /* reexport safe */
|
|
9587
|
+
/* harmony export */ inView: function() { return /* reexport safe */ _scroll_into_view__WEBPACK_IMPORTED_MODULE_23__.inView; },
|
|
9597
9588
|
/* harmony export */ isAtom: function() { return /* reexport safe */ _extend__WEBPACK_IMPORTED_MODULE_14__.isAtom; },
|
|
9589
|
+
/* harmony export */ isUnsafeProtoKey: function() { return /* reexport safe */ _is_unsafe_proto_key__WEBPACK_IMPORTED_MODULE_18__.isUnsafeProtoKey; },
|
|
9598
9590
|
/* harmony export */ keepNames: function() { return /* reexport safe */ _get_class_name__WEBPACK_IMPORTED_MODULE_16__.keepNames; },
|
|
9599
|
-
/* harmony export */ keys: function() { return /* reexport safe */
|
|
9600
|
-
/* harmony export */ loadImage: function() { return /* reexport safe */
|
|
9591
|
+
/* harmony export */ keys: function() { return /* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_27__.keys; },
|
|
9592
|
+
/* harmony export */ loadImage: function() { return /* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_27__.loadImage; },
|
|
9601
9593
|
/* harmony export */ loadNext: function() { return /* reexport safe */ _append_script__WEBPACK_IMPORTED_MODULE_1__.loadNext; },
|
|
9602
9594
|
/* harmony export */ loadNextStyle: function() { return /* reexport safe */ _append_script__WEBPACK_IMPORTED_MODULE_1__.loadNextStyle; },
|
|
9603
9595
|
/* harmony export */ markAsAtomic: function() { return /* reexport safe */ _extend__WEBPACK_IMPORTED_MODULE_14__.markAsAtomic; },
|
|
9604
|
-
/* harmony export */ markDeprecated: function() { return /* reexport safe */
|
|
9605
|
-
/* harmony export */ markOwner: function() { return /* reexport safe */
|
|
9606
|
-
/* harmony export */ memorizeExec: function() { return /* reexport safe */
|
|
9596
|
+
/* harmony export */ markDeprecated: function() { return /* reexport safe */ _mark_deprecated__WEBPACK_IMPORTED_MODULE_19__.markDeprecated; },
|
|
9597
|
+
/* harmony export */ markOwner: function() { return /* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_27__.markOwner; },
|
|
9598
|
+
/* harmony export */ memorizeExec: function() { return /* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_27__.memorizeExec; },
|
|
9607
9599
|
/* harmony export */ options: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_13__.options; },
|
|
9608
|
-
/* harmony export */ parseQuery: function() { return /* reexport safe */
|
|
9609
|
-
/* harmony export */ previewBox: function() { return /* reexport safe */
|
|
9610
|
-
/* harmony export */ refs: function() { return /* reexport safe */
|
|
9611
|
-
/* harmony export */ reset: function() { return /* reexport safe */
|
|
9612
|
-
/* harmony export */ resolveElement: function() { return /* reexport safe */
|
|
9613
|
-
/* harmony export */ scrollIntoViewIfNeeded: function() { return /* reexport safe */
|
|
9614
|
-
/* harmony export */ set: function() { return /* reexport safe */
|
|
9600
|
+
/* harmony export */ parseQuery: function() { return /* reexport safe */ _parse_query__WEBPACK_IMPORTED_MODULE_20__.parseQuery; },
|
|
9601
|
+
/* harmony export */ previewBox: function() { return /* reexport safe */ _print__WEBPACK_IMPORTED_MODULE_21__.previewBox; },
|
|
9602
|
+
/* harmony export */ refs: function() { return /* reexport safe */ _selector__WEBPACK_IMPORTED_MODULE_24__.refs; },
|
|
9603
|
+
/* harmony export */ reset: function() { return /* reexport safe */ _reset__WEBPACK_IMPORTED_MODULE_22__.reset; },
|
|
9604
|
+
/* harmony export */ resolveElement: function() { return /* reexport safe */ _selector__WEBPACK_IMPORTED_MODULE_24__.resolveElement; },
|
|
9605
|
+
/* harmony export */ scrollIntoViewIfNeeded: function() { return /* reexport safe */ _scroll_into_view__WEBPACK_IMPORTED_MODULE_23__.scrollIntoViewIfNeeded; },
|
|
9606
|
+
/* harmony export */ set: function() { return /* reexport safe */ _set__WEBPACK_IMPORTED_MODULE_25__.set; }
|
|
9615
9607
|
/* harmony export */ });
|
|
9616
9608
|
/* harmony import */ var _align__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(16849);
|
|
9617
9609
|
/* harmony import */ var _append_script__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(47760);
|
|
@@ -9635,15 +9627,16 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9635
9627
|
/* harmony import */ var _get__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(89308);
|
|
9636
9628
|
/* harmony import */ var _get_class_name__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(421);
|
|
9637
9629
|
/* harmony import */ var _human_size_to_bytes__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(37427);
|
|
9638
|
-
/* harmony import */ var
|
|
9639
|
-
/* harmony import */ var
|
|
9640
|
-
/* harmony import */ var
|
|
9641
|
-
/* harmony import */ var
|
|
9642
|
-
/* harmony import */ var
|
|
9643
|
-
/* harmony import */ var
|
|
9644
|
-
/* harmony import */ var
|
|
9645
|
-
/* harmony import */ var
|
|
9646
|
-
/* harmony import */ var
|
|
9630
|
+
/* harmony import */ var _is_unsafe_proto_key__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(78048);
|
|
9631
|
+
/* harmony import */ var _mark_deprecated__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(49385);
|
|
9632
|
+
/* harmony import */ var _parse_query__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(36310);
|
|
9633
|
+
/* harmony import */ var _print__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(57075);
|
|
9634
|
+
/* harmony import */ var _reset__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(43379);
|
|
9635
|
+
/* harmony import */ var _scroll_into_view__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(60898);
|
|
9636
|
+
/* harmony import */ var _selector__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(28723);
|
|
9637
|
+
/* harmony import */ var _set__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(52144);
|
|
9638
|
+
/* harmony import */ var _stack__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(42820);
|
|
9639
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(71125);
|
|
9647
9640
|
/*!
|
|
9648
9641
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
9649
9642
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -9677,6 +9670,39 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9677
9670
|
|
|
9678
9671
|
|
|
9679
9672
|
|
|
9673
|
+
|
|
9674
|
+
|
|
9675
|
+
|
|
9676
|
+
/***/ }),
|
|
9677
|
+
|
|
9678
|
+
/***/ 78048:
|
|
9679
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
9680
|
+
|
|
9681
|
+
"use strict";
|
|
9682
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9683
|
+
/* harmony export */ UNSAFE_PROTO_KEYS: function() { return /* binding */ UNSAFE_PROTO_KEYS; },
|
|
9684
|
+
/* harmony export */ isUnsafeProtoKey: function() { return /* binding */ isUnsafeProtoKey; }
|
|
9685
|
+
/* harmony export */ });
|
|
9686
|
+
/*!
|
|
9687
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
9688
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
9689
|
+
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
|
|
9690
|
+
*/ /**
|
|
9691
|
+
* @module helpers/utils
|
|
9692
|
+
*/ /**
|
|
9693
|
+
* Keys that must never be written from a (potentially untrusted) source —
|
|
9694
|
+
* assigning them while walking/merging an object can reach and mutate
|
|
9695
|
+
* `Object.prototype` (prototype pollution, CWE-1321).
|
|
9696
|
+
*/ var UNSAFE_PROTO_KEYS = [
|
|
9697
|
+
'__proto__',
|
|
9698
|
+
'constructor',
|
|
9699
|
+
'prototype'
|
|
9700
|
+
];
|
|
9701
|
+
/**
|
|
9702
|
+
* Check whether a key can be used to pollute the prototype chain.
|
|
9703
|
+
*/ function isUnsafeProtoKey(key) {
|
|
9704
|
+
return UNSAFE_PROTO_KEYS.indexOf(key) !== -1;
|
|
9705
|
+
}
|
|
9680
9706
|
|
|
9681
9707
|
|
|
9682
9708
|
/***/ }),
|
|
@@ -10187,6 +10213,7 @@ var $$temp = function $$temp() {
|
|
|
10187
10213
|
/* harmony import */ var jodit_core_helpers_checker_is_numeric__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(70222);
|
|
10188
10214
|
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(62101);
|
|
10189
10215
|
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(85932);
|
|
10216
|
+
/* harmony import */ var _is_unsafe_proto_key__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(78048);
|
|
10190
10217
|
/*!
|
|
10191
10218
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
10192
10219
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -10197,6 +10224,7 @@ var $$temp = function $$temp() {
|
|
|
10197
10224
|
|
|
10198
10225
|
|
|
10199
10226
|
|
|
10227
|
+
|
|
10200
10228
|
/**
|
|
10201
10229
|
* Safe access in tree object
|
|
10202
10230
|
*
|
|
@@ -10214,6 +10242,9 @@ var $$temp = function $$temp() {
|
|
|
10214
10242
|
return;
|
|
10215
10243
|
}
|
|
10216
10244
|
var parts = chain.split('.');
|
|
10245
|
+
if (parts.some(_is_unsafe_proto_key__WEBPACK_IMPORTED_MODULE_4__.isUnsafeProtoKey)) {
|
|
10246
|
+
return;
|
|
10247
|
+
}
|
|
10217
10248
|
var result = obj, key = parts[0];
|
|
10218
10249
|
for(var i = 0; i < parts.length - 1; i += 1){
|
|
10219
10250
|
key = parts[i];
|
package/es5/jodit.min.css
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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
|
*/
|
|
8
8
|
/*!
|
|
9
9
|
* jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
|
|
10
10
|
* Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
|
|
11
|
-
* Version: v4.12.
|
|
11
|
+
* Version: v4.12.26
|
|
12
12
|
* Url: https://xdsoft.net/jodit/
|
|
13
13
|
* License(s): MIT
|
|
14
14
|
*/
|