@yoopta/exports 1.9.15-rc → 1.9.17-rc

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import{Text as t,Range as e,Node as r,createEditor as n,Element as o}from"slate";var i="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},a=200,s="__lodash_hash_undefined__",c="[object Function]",u="[object GeneratorFunction]",l=/^\[object .+?Constructor\]$/,f="object"==typeof i&&i&&i.Object===Object&&i,p="object"==typeof self&&self&&self.Object===Object&&self,h=f||p||Function("return this")();function d(t,e){return!!(t?t.length:0)&&function(t,e,r){if(e!=e)return function(t,e,r,n){var o=t.length,i=r+(n?1:-1);for(;n?i--:++i<o;)if(e(t[i],i,t))return i;return-1}(t,y,r);var n=r-1,o=t.length;for(;++n<o;)if(t[n]===e)return n;return-1}(t,e,0)>-1}function v(t,e,r){for(var n=-1,o=t?t.length:0;++n<o;)if(r(e,t[n]))return!0;return!1}function y(t){return t!=t}function g(t,e){return t.has(e)}function b(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r}var m,_=Array.prototype,O=Function.prototype,w=Object.prototype,j=h["__core-js_shared__"],x=(m=/[^.]+$/.exec(j&&j.keys&&j.keys.IE_PROTO||""))?"Symbol(src)_1."+m:"",P=O.toString,E=w.hasOwnProperty,T=w.toString,S=RegExp("^"+P.call(E).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),z=_.splice,N=C(h,"Map"),D=C(h,"Set"),k=C(Object,"create");function F(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function R(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function $(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function A(t){var e=-1,r=t?t.length:0;for(this.__data__=new $;++e<r;)this.add(t[e])}function M(t,e){for(var r,n,o=t.length;o--;)if((r=t[o][0])===(n=e)||r!=r&&n!=n)return o;return-1}function B(t){if(!G(t)||(e=t,x&&x in e))return!1;var e,r=function(t){var e=G(t)?T.call(t):"";return e==c||e==u}(t)||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}(t)?S:l;return r.test(function(t){if(null!=t){try{return P.call(t)}catch(t){}try{return t+""}catch(t){}}return""}(t))}F.prototype.clear=function(){this.__data__=k?k(null):{}},F.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},F.prototype.get=function(t){var e=this.__data__;if(k){var r=e[t];return r===s?void 0:r}return E.call(e,t)?e[t]:void 0},F.prototype.has=function(t){var e=this.__data__;return k?void 0!==e[t]:E.call(e,t)},F.prototype.set=function(t,e){return this.__data__[t]=k&&void 0===e?s:e,this},R.prototype.clear=function(){this.__data__=[]},R.prototype.delete=function(t){var e=this.__data__,r=M(e,t);return!(r<0)&&(r==e.length-1?e.pop():z.call(e,r,1),!0)},R.prototype.get=function(t){var e=this.__data__,r=M(e,t);return r<0?void 0:e[r][1]},R.prototype.has=function(t){return M(this.__data__,t)>-1},R.prototype.set=function(t,e){var r=this.__data__,n=M(r,t);return n<0?r.push([t,e]):r[n][1]=e,this},$.prototype.clear=function(){this.__data__={hash:new F,map:new(N||R),string:new F}},$.prototype.delete=function(t){return L(this,t).delete(t)},$.prototype.get=function(t){return L(this,t).get(t)},$.prototype.has=function(t){return L(this,t).has(t)},$.prototype.set=function(t,e){return L(this,t).set(t,e),this},A.prototype.add=A.prototype.push=function(t){return this.__data__.set(t,s),this},A.prototype.has=function(t){return this.__data__.has(t)};var I=D&&1/b(new D([,-0]))[1]==1/0?function(t){return new D(t)}:function(){};function L(t,e){var r,n,o=t.__data__;return("string"==(n=typeof(r=e))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?o["string"==typeof e?"string":"hash"]:o.map}function C(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return B(r)?r:void 0}function G(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}var U=function(t,e){return t&&t.length?function(t,e,r){var n=-1,o=d,i=t.length,s=!0,c=[],u=c;if(r)s=!1,o=v;else if(i>=a){var l=e?null:I(t);if(l)return b(l);s=!1,o=g,u=new A}else u=e?[]:c;t:for(;++n<i;){var f=t[n],p=e?e(f):f;if(f=r||0!==f?f:0,s&&p==p){for(var h=u.length;h--;)if(u[h]===p)continue t;e&&u.push(p),c.push(f)}else o(u,p,r)||(u!==c&&u.push(p),c.push(f))}return c}(t,void 0,e):[]};function W(t){const e=t.map((t=>{const e=t.getPlugin,{childPlugin:r}=e,n=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r}(e,["childPlugin"]);return r?[n,Object.assign(Object.assign({},r.getPlugin),{hasParent:!0})]:n})).flat();return U(e,((t,e)=>t.type===e.type))}function q(t){const e=W(t),r={};return e.forEach((t=>r[t.type]=t)),r}function Y(t){const e=W(t),r={};return e.forEach((t=>{var e,n,o,i,a,s,c,u;if(null===(n=null===(e=t.exports)||void 0===e?void 0:e.html.deserialize)||void 0===n?void 0:n.nodeName){if(Array.isArray(null===(i=null===(o=t.exports)||void 0===o?void 0:o.html.deserialize)||void 0===i?void 0:i.nodeName))return void(null===(s=null===(a=t.exports)||void 0===a?void 0:a.html.deserialize)||void 0===s||s.nodeName.forEach((e=>{r[e]=t})));r[null===(u=null===(c=t.exports)||void 0===c?void 0:c.html.deserialize)||void 0===u?void 0:u.nodeName]=t}})),r}function H(e,r){var n,o;if(t.isText(e))return function(t){const e={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#039;"};return t.replace(/[&<>"']/g,(t=>e[t]))}(e.text);const i=e.children.map((t=>H(t,r))).join(""),a=r[e.type];return"function"==typeof(null===(o=null===(n=a.exports)||void 0===n?void 0:n.html)||void 0===o?void 0:o.serialize)?a.exports.html.serialize(e,i):i}
1
+ import{Text as t,Range as e,Node as r,createEditor as n,Element as o}from"slate";"function"==typeof SuppressedError&&SuppressedError;var i="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},a=200,s="__lodash_hash_undefined__",c="[object Function]",u="[object GeneratorFunction]",l=/^\[object .+?Constructor\]$/,f="object"==typeof i&&i&&i.Object===Object&&i,p="object"==typeof self&&self&&self.Object===Object&&self,h=f||p||Function("return this")();function d(t,e){return!!(t?t.length:0)&&function(t,e,r){if(e!=e)return function(t,e,r,n){var o=t.length,i=r+(n?1:-1);for(;n?i--:++i<o;)if(e(t[i],i,t))return i;return-1}(t,y,r);var n=r-1,o=t.length;for(;++n<o;)if(t[n]===e)return n;return-1}(t,e,0)>-1}function v(t,e,r){for(var n=-1,o=t?t.length:0;++n<o;)if(r(e,t[n]))return!0;return!1}function y(t){return t!=t}function g(t,e){return t.has(e)}function b(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r}var m,_=Array.prototype,O=Function.prototype,w=Object.prototype,j=h["__core-js_shared__"],x=(m=/[^.]+$/.exec(j&&j.keys&&j.keys.IE_PROTO||""))?"Symbol(src)_1."+m:"",P=O.toString,E=w.hasOwnProperty,S=w.toString,T=RegExp("^"+P.call(E).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),z=_.splice,N=C(h,"Map"),D=C(h,"Set"),k=C(Object,"create");function F(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function R(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function $(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function A(t){var e=-1,r=t?t.length:0;for(this.__data__=new $;++e<r;)this.add(t[e])}function M(t,e){for(var r,n,o=t.length;o--;)if((r=t[o][0])===(n=e)||r!=r&&n!=n)return o;return-1}function B(t){if(!G(t)||(e=t,x&&x in e))return!1;var e,r=function(t){var e=G(t)?S.call(t):"";return e==c||e==u}(t)||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}(t)?T:l;return r.test(function(t){if(null!=t){try{return P.call(t)}catch(t){}try{return t+""}catch(t){}}return""}(t))}F.prototype.clear=function(){this.__data__=k?k(null):{}},F.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},F.prototype.get=function(t){var e=this.__data__;if(k){var r=e[t];return r===s?void 0:r}return E.call(e,t)?e[t]:void 0},F.prototype.has=function(t){var e=this.__data__;return k?void 0!==e[t]:E.call(e,t)},F.prototype.set=function(t,e){return this.__data__[t]=k&&void 0===e?s:e,this},R.prototype.clear=function(){this.__data__=[]},R.prototype.delete=function(t){var e=this.__data__,r=M(e,t);return!(r<0)&&(r==e.length-1?e.pop():z.call(e,r,1),!0)},R.prototype.get=function(t){var e=this.__data__,r=M(e,t);return r<0?void 0:e[r][1]},R.prototype.has=function(t){return M(this.__data__,t)>-1},R.prototype.set=function(t,e){var r=this.__data__,n=M(r,t);return n<0?r.push([t,e]):r[n][1]=e,this},$.prototype.clear=function(){this.__data__={hash:new F,map:new(N||R),string:new F}},$.prototype.delete=function(t){return L(this,t).delete(t)},$.prototype.get=function(t){return L(this,t).get(t)},$.prototype.has=function(t){return L(this,t).has(t)},$.prototype.set=function(t,e){return L(this,t).set(t,e),this},A.prototype.add=A.prototype.push=function(t){return this.__data__.set(t,s),this},A.prototype.has=function(t){return this.__data__.has(t)};var I=D&&1/b(new D([,-0]))[1]==1/0?function(t){return new D(t)}:function(){};function L(t,e){var r,n,o=t.__data__;return("string"==(n=typeof(r=e))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?o["string"==typeof e?"string":"hash"]:o.map}function C(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return B(r)?r:void 0}function G(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}var U=function(t,e){return t&&t.length?function(t,e,r){var n=-1,o=d,i=t.length,s=!0,c=[],u=c;if(r)s=!1,o=v;else if(i>=a){var l=e?null:I(t);if(l)return b(l);s=!1,o=g,u=new A}else u=e?[]:c;t:for(;++n<i;){var f=t[n],p=e?e(f):f;if(f=r||0!==f?f:0,s&&p==p){for(var h=u.length;h--;)if(u[h]===p)continue t;e&&u.push(p),c.push(f)}else o(u,p,r)||(u!==c&&u.push(p),c.push(f))}return c}(t,void 0,e):[]};function W(t){const e=t.map((t=>{const e=t.getPlugin,{childPlugin:r}=e,n=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r}(e,["childPlugin"]);return r?[n,Object.assign(Object.assign({},r.getPlugin),{hasParent:!0})]:n})).flat();return U(e,((t,e)=>t.type===e.type))}function q(t){const e=W(t),r={};return e.forEach((t=>r[t.type]=t)),r}function Y(t){const e=W(t),r={};return e.forEach((t=>{var e,n,o,i,a,s,c,u;if(null===(n=null===(e=t.exports)||void 0===e?void 0:e.html.deserialize)||void 0===n?void 0:n.nodeName){if(Array.isArray(null===(i=null===(o=t.exports)||void 0===o?void 0:o.html.deserialize)||void 0===i?void 0:i.nodeName))return void(null===(s=null===(a=t.exports)||void 0===a?void 0:a.html.deserialize)||void 0===s||s.nodeName.forEach((e=>{r[e]=t})));r[null===(u=null===(c=t.exports)||void 0===c?void 0:c.html.deserialize)||void 0===u?void 0:u.nodeName]=t}})),r}function H(e,r){var n,o;if(t.isText(e))return function(t){const e={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#039;"};return t.replace(/[&<>"']/g,(t=>e[t]))}(e.text);const i=e.children.map((t=>H(t,r))).join(""),a=r[e.type];return"function"==typeof(null===(o=null===(n=a.exports)||void 0===n?void 0:n.html)||void 0===o?void 0:o.serialize)?a.exports.html.serialize(e,i):i}
2
2
  /*!
3
3
  * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
4
4
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yoopta/exports",
3
- "version": "1.9.15-rc",
3
+ "version": "1.9.17-rc",
4
4
  "description": "> TODO: description",
5
5
  "author": "Darginec05 <devopsbanda@gmail.com>",
6
6
  "homepage": "https://github.com/Darginec05/Editor-Yoopta#readme",
@@ -14,7 +14,7 @@
14
14
  "dist/"
15
15
  ],
16
16
  "peerDependencies": {
17
- "@yoopta/editor": "1.9.17-rc",
17
+ "@yoopta/editor": ">=1.9.18-rc",
18
18
  "react": ">=17.0.2",
19
19
  "react-dom": ">=17.0.2",
20
20
  "slate": ">=0.72.3",
@@ -36,4 +36,4 @@
36
36
  "dependencies": {
37
37
  "lodash.uniqwith": "^4.5.0"
38
38
  }
39
- }
39
+ }