UNPKG

jodit

Version:

Jodit is an awesome and useful wysiwyg editor with filebrowser

19 lines (18 loc) 654 B
/*! * Jodit Editor (https://xdsoft.net/jodit/) * Released under MIT see LICENSE.txt in the project root for license information. * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net */ /** * @module helpers/utils */ /** * Keys that must never be written from a (potentially untrusted) source — * assigning them while walking/merging an object can reach and mutate * `Object.prototype` (prototype pollution, CWE-1321). */ export declare const UNSAFE_PROTO_KEYS: string[]; /** * Check whether a key can be used to pollute the prototype chain. */ export declare function isUnsafeProtoKey(key: string): boolean;