diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e759009..41c83f54 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,19 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +### [0.6.6](https://github.com/Tencent/cherry-markdown/compare/v0.6.5...v0.6.6) (2022-02-18) + + +### Features + +* optimize error output ([1282583](https://github.com/Tencent/cherry-markdown/commit/12825831fcf875f52f6b4f1a913d7be636d44429)) + + +### Bug Fixes + +* fix README content of engine mode. ([4388bfa](https://github.com/Tencent/cherry-markdown/commit/4388bfaea60857faf515be6ee3606761f2455eaf)) +* **list:** adapt list cases to avoid array out of boundary ([4061e50](https://github.com/Tencent/cherry-markdown/commit/4061e50c2a56eb38e5345f17bc5139a3a7bd3654)) + ### [0.6.5](https://github.com/Tencent/cherry-markdown/compare/v0.6.4...v0.6.5) (2022-01-24) diff --git a/dist/cherry-markdown.core.common.js b/dist/cherry-markdown.core.common.js index fae1858c..6e4654b0 100644 --- a/dist/cherry-markdown.core.common.js +++ b/dist/cherry-markdown.core.common.js @@ -1 +1 @@ -"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("jsdom"),t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function r(e,t){return e(t={exports:{}},t.exports),t.exports}function A(e){return e&&e.default||e}var i,o,a=function(e){return e&&e.Math==Math&&e},s=a("object"==typeof globalThis&&globalThis)||a("object"==typeof window&&window)||a("object"==typeof self&&self)||a("object"==typeof t&&t)||function(){return this}()||Function("return this")(),l=function(e){return"function"==typeof e},c=function(e){try{return!!e()}catch(e){return!0}},u=!c((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),f={}.propertyIsEnumerable,h=Object.getOwnPropertyDescriptor,d={f:h&&!f.call({1:2},1)?function(e){var t=h(this,e);return!!t&&t.enumerable}:f},p=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},g={}.toString,m=function(e){return g.call(e).slice(8,-1)},v="".split,y=c((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==m(e)?v.call(e,""):Object(e)}:Object,B=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},b=function(e){return y(B(e))},E=function(e){return"object"==typeof e?null!==e:l(e)},w={},C=function(e){return l(e)?e:void 0},T=function(e,t){return arguments.length<2?C(w[e])||C(s[e]):w[e]&&w[e][t]||s[e]&&s[e][t]},_=T("navigator","userAgent")||"",S=s.process,x=s.Deno,k=S&&S.versions||x&&x.version,F=k&&k.v8;F?o=(i=F.split("."))[0]<4?1:i[0]+i[1]:_&&(!(i=_.match(/Edge\/(\d+)/))||i[1]>=74)&&(i=_.match(/Chrome\/(\d+)/))&&(o=i[1]);var I=o&&+o,U=!!Object.getOwnPropertySymbols&&!c((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&I&&I<41})),L=U&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,O=L?function(e){return"symbol"==typeof e}:function(e){var t=T("Symbol");return l(t)&&Object(e)instanceof t},N=function(e){try{return String(e)}catch(e){return"Object"}},Q=function(e){if(l(e))return e;throw TypeError(N(e)+" is not a function")},D=function(e,t){var n=e[t];return null==n?void 0:Q(n)},H=s["__core-js_shared__"]||function(e,t){try{Object.defineProperty(s,e,{value:t,configurable:!0,writable:!0})}catch(n){s[e]=t}return t}("__core-js_shared__",{}),M=r((function(e){(e.exports=function(e,t){return H[e]||(H[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.18.3",mode:"pure",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),R=function(e){return Object(B(e))},P={}.hasOwnProperty,K=Object.hasOwn||function(e,t){return P.call(R(e),t)},G=0,j=Math.random(),V=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++G+j).toString(36)},$=M("wks"),q=s.Symbol,W=L?q:q&&q.withoutSetter||V,z=function(e){return K($,e)&&(U||"string"==typeof $[e])||(U&&K(q,e)?$[e]=q[e]:$[e]=W("Symbol."+e)),$[e]},Y=z("toPrimitive"),X=function(e,t){if(!E(e)||O(e))return e;var n,r=D(e,Y);if(r){if(void 0===t&&(t="default"),n=r.call(e,t),!E(n)||O(n))return n;throw TypeError("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&l(n=e.toString)&&!E(r=n.call(e)))return r;if(l(n=e.valueOf)&&!E(r=n.call(e)))return r;if("string"!==t&&l(n=e.toString)&&!E(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}(e,t)},J=function(e){var t=X(e,"string");return O(t)?t:String(t)},Z=s.document,ee=E(Z)&&E(Z.createElement),te=function(e){return ee?Z.createElement(e):{}},ne=!u&&!c((function(){return 7!=Object.defineProperty(te("div"),"a",{get:function(){return 7}}).a})),re=Object.getOwnPropertyDescriptor,Ae={f:u?re:function(e,t){if(e=b(e),t=J(t),ne)try{return re(e,t)}catch(e){}if(K(e,t))return p(!d.f.call(e,t),e[t])}},ie=/#|\.prototype\./,oe=function(e,t){var n=se[ae(e)];return n==ce||n!=le&&(l(t)?c(t):!!t)},ae=oe.normalize=function(e){return String(e).replace(ie,".").toLowerCase()},se=oe.data={},le=oe.NATIVE="N",ce=oe.POLYFILL="P",ue=oe,fe=function(e,t,n){if(Q(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,A){return e.call(t,n,r,A)}}return function(){return e.apply(t,arguments)}},he=function(e){if(E(e))return e;throw TypeError(String(e)+" is not an object")},de=Object.defineProperty,pe={f:u?de:function(e,t,n){if(he(e),t=J(t),he(n),ne)try{return de(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},ge=u?function(e,t,n){return pe.f(e,t,p(1,n))}:function(e,t,n){return e[t]=n,e},me=Ae.f,ve=function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t},ye=function(e,t){var n,r,A,i,o,a,c,u,f=e.target,h=e.global,d=e.stat,p=e.proto,g=h?s:d?s[f]:(s[f]||{}).prototype,m=h?w:w[f]||ge(w,f,{})[f],v=m.prototype;for(A in t)n=!ue(h?A:f+(d?".":"#")+A,e.forced)&&g&&K(g,A),o=m[A],n&&(a=e.noTargetGet?(u=me(g,A))&&u.value:g[A]),i=n&&a?a:t[A],n&&typeof o==typeof i||(c=e.bind&&n?fe(i,s):e.wrap&&n?ve(i):p&&l(i)?fe(Function.call,i):i,(e.sham||i&&i.sham||o&&o.sham)&&ge(c,"sham",!0),ge(m,A,c),p&&(K(w,r=f+"Prototype")||ge(w,r,{}),ge(w[r],A,i),e.real&&v&&!v[A]&&ge(v,A,i)))},Be={};Be[z("toStringTag")]="z";var be="[object z]"===String(Be),Ee=z("toStringTag"),we="Arguments"==m(function(){return arguments}()),Ce=be?m:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),Ee))?n:we?m(t):"Object"==(r=m(t))&&l(t.callee)?"Arguments":r},Te=Function.toString;l(H.inspectSource)||(H.inspectSource=function(e){return Te.call(e)});var _e,Se=H.inspectSource,xe=[],ke=T("Reflect","construct"),Fe=/^\s*(?:class|function)\b/,Ie=Fe.exec,Ue=!Fe.exec((function(){})),Le=function(e){if(!l(e))return!1;try{return ke(Object,xe,e),!0}catch(e){return!1}},Oe=!ke||c((function(){var e;return Le(Le.call)||!Le(Object)||!Le((function(){e=!0}))||e}))?function(e){if(!l(e))return!1;switch(Ce(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return Ue||!!Ie.call(Fe,Se(e))}:Le,Ne=function(e){if(Oe(e))return e;throw TypeError(N(e)+" is not a constructor")},Qe=Math.ceil,De=Math.floor,He=function(e){var t=+e;return t!=t||0===t?0:(t>0?De:Qe)(t)},Me=Math.max,Re=Math.min,Pe=function(e,t){var n=He(e);return n<0?Me(n+t,0):Re(n,t)},Ke=Math.min,Ge=function(e){return e>0?Ke(He(e),9007199254740991):0},je=function(e){return Ge(e.length)},Ve=function(e){return function(t,n,r){var A,i=b(t),o=je(i),a=Pe(r,o);if(e&&n!=n){for(;o>a;)if((A=i[a++])!=A)return!0}else for(;o>a;a++)if((e||a in i)&&i[a]===n)return e||a||0;return!e&&-1}},$e={includes:Ve(!0),indexOf:Ve(!1)},qe={},We=$e.indexOf,ze=function(e,t){var n,r=b(e),A=0,i=[];for(n in r)!K(qe,n)&&K(r,n)&&i.push(n);for(;t.length>A;)K(r,n=t[A++])&&(~We(i,n)||i.push(n));return i},Ye=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Xe=Object.keys||function(e){return ze(e,Ye)},Je=u?Object.defineProperties:function(e,t){he(e);for(var n,r=Xe(t),A=r.length,i=0;A>i;)pe.f(e,n=r[i++],t[n]);return e},Ze=T("document","documentElement"),et=M("keys"),tt=function(e){return et[e]||(et[e]=V(e))},nt=tt("IE_PROTO"),rt=function(){},At=function(e){return"