diff --git a/.codexdocsrc.sample b/.codexdocsrc.sample index 8a2a91a..6de9278 100644 --- a/.codexdocsrc.sample +++ b/.codexdocsrc.sample @@ -8,7 +8,7 @@ {"title": "Support Project", "uri": "/support"} ], "landingFrameSrc": "https://codex.so/editor?frame=1", - "startPage": "codex", + "startPage": "", "misprintsChatId": "12344564", "yandexMetrikaId": "", "carbon": { diff --git a/package.json b/package.json index c110a93..7192841 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "bin": { "generatePassword": "bin/generatePassword.js" }, + "browserslist": ["last 2 versions", "> 1%"], "scripts": { "start": "cross-env NODE_ENV=production nodemon ./bin/www", "start:dev": "cross-env NODE_ENV=development nodemon ./bin/www", @@ -72,7 +73,7 @@ "eslint-plugin-import": "^2.14.0", "eslint-plugin-node": "^8.0.1", "eslint-plugin-standard": "^4.0.0", - "highlight.js": "^10.4.1", + "highlight.js": "^11.1.0", "husky": "^1.1.2", "mini-css-extract-plugin": "^0.4.3", "mocha": "^5.2.0", diff --git a/public/dist/code-styling.bundle.js b/public/dist/code-styling.bundle.js index 20030b7..778252f 100644 --- a/public/dist/code-styling.bundle.js +++ b/public/dist/code-styling.bundle.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[0],Array(62).concat([function(e,n,t){var r=t(17);e.exports=function(e){return Object(r(e))}},function(e,n,t){var r=t(64),i=t(17);e.exports=function(e){return r(i(e))}},function(e,n,t){var r=t(12);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,n,t){var r=t(21)("keys"),i=t(20);e.exports=function(e){return r[e]||(r[e]=i(e))}},function(e,n){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,n,t){var r=t(68),i=t(66);e.exports=Object.keys||function(e){return r(e,i)}},function(e,n,t){var r=t(18),i=t(63),a=t(69)(!1),s=t(65)("IE_PROTO");e.exports=function(e,n){var t,o=i(e),c=0,l=[];for(t in o)t!=s&&r(o,t)&&l.push(t);for(;n.length>c;)r(o,t=n[c++])&&(~a(l,t)||l.push(t));return l}},function(e,n,t){var r=t(63),i=t(16),a=t(70);e.exports=function(e){return function(n,t,s){var o,c=r(n),l=i(c.length),u=a(s,l);if(e&&t!=t){for(;l>u;)if((o=c[u++])!=o)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===t)return e||u||0;return!e&&-1}}},function(e,n,t){var r=t(19),i=Math.max,a=Math.min;e.exports=function(e,n){return(e=r(e))<0?i(e+n,0):a(e,n)}},function(e,n,t){var r=t(7),i=t(64),a=t(62),s=t(16),o=t(94);e.exports=function(e,n){var t=1==e,c=2==e,l=3==e,u=4==e,g=6==e,d=5==e||g,f=n||o;return function(n,o,h){for(var p,b,m=a(n),v=i(m),E=r(o,h,3),_=s(v.length),x=0,y=t?f(n,_):c?f(n,0):void 0;_>x;x++)if((d||x in v)&&(b=E(p=v[x],x,m),e))if(t)y[x]=b;else if(b)switch(e){case 3:return!0;case 5:return p;case 6:return x;case 2:y.push(p)}else if(u)return!1;return g?-1:l||u?u:y}}},function(e,n,t){"use strict";var r=t(13);e.exports=function(e,n){return!!e&&r((function(){n?e.call(null,(function(){}),1):e.call(null)}))}},,,,,,,,,,,,,,,,,,function(e,n,t){"use strict";var r=t(2),i=t(62),a=t(16),s=t(19),o=t(35),c=t(36),l=Math.max,u=Math.min,g=Math.floor,d=/\$([$&`']|\d\d?|<[^>]*>)/g,f=/\$([$&`']|\d\d?)/g;t(37)("replace",2,(function(e,n,t,h){return[function(r,i){var a=e(this),s=null==r?void 0:r[n];return void 0!==s?s.call(r,a,i):t.call(String(a),r,i)},function(e,n){var i=h(t,e,this,n);if(i.done)return i.value;var g=r(e),d=String(this),f="function"==typeof n;f||(n=String(n));var b=g.global;if(b){var m=g.unicode;g.lastIndex=0}for(var v=[];;){var E=c(g,d);if(null===E)break;if(v.push(E),!b)break;""===String(E[0])&&(g.lastIndex=o(d,a(g.lastIndex),m))}for(var _,x="",y=0,N=0;N=y&&(x+=d.slice(y,O)+T,y=O+w.length)}return x+d.slice(y)}];function p(e,n,r,a,s,o){var c=r+e.length,l=a.length,u=f;return void 0!==s&&(s=i(s),u=d),t.call(o,u,(function(t,i){var o;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(c);case"<":o=s[i.slice(1,-1)];break;default:var u=+i;if(0===u)return t;if(u>l){var d=g(u/10);return 0===d?t:d<=l?void 0===a[d-1]?i.charAt(1):a[d-1]+i.charAt(1):t}o=a[u-1]}return void 0===o?"":o}))}}))},function(e,n,t){"use strict";var r=t(92),i=t(2),a=t(41),s=t(35),o=t(16),c=t(36),l=t(25),u=t(13),g=Math.min,d=[].push,f="length",h=!u((function(){RegExp(4294967295,"y")}));t(37)("split",2,(function(e,n,t,u){var p;return p="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1)[f]||2!="ab".split(/(?:ab)*/)[f]||4!=".".split(/(.?)(.?)/)[f]||".".split(/()()/)[f]>1||"".split(/.?/)[f]?function(e,n){var i=String(this);if(void 0===e&&0===n)return[];if(!r(e))return t.call(i,e,n);for(var a,s,o,c=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),g=0,h=void 0===n?4294967295:n>>>0,p=new RegExp(e.source,u+"g");(a=l.call(p,i))&&!((s=p.lastIndex)>g&&(c.push(i.slice(g,a.index)),a[f]>1&&a.index=h));)p.lastIndex===a.index&&p.lastIndex++;return g===i[f]?!o&&p.test("")||c.push(""):c.push(i.slice(g)),c[f]>h?c.slice(0,h):c}:"0".split(void 0,0)[f]?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,r){var i=e(this),a=null==t?void 0:t[n];return void 0!==a?a.call(t,i,r):p.call(String(i),t,r)},function(e,n){var r=u(p,e,this,n,p!==t);if(r.done)return r.value;var l=i(e),d=String(this),f=a(l,RegExp),b=l.unicode,m=(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(h?"y":"g"),v=new f(h?l:"^(?:"+l.source+")",m),E=void 0===n?4294967295:n>>>0;if(0===E)return[];if(0===d.length)return null===c(v,d)?[d]:[];for(var _=0,x=0,y=[];x=n.length?{value:void 0,done:!0}:(e=r(n,t),this._i+=e.length,{value:e,done:!1})}))},function(e,n,t){"use strict";var r=t(23),i=t(11),a=t(8),s=t(15),o=t(24),c=t(99),l=t(34),u=t(102),g=t(1)("iterator"),d=!([].keys&&"next"in[].keys()),f=function(){return this};e.exports=function(e,n,t,h,p,b,m){c(t,n,h);var v,E,_,x=function(e){if(!d&&e in O)return O[e];switch(e){case"keys":case"values":return function(){return new t(this,e)}}return function(){return new t(this,e)}},y=n+" Iterator",N="values"==p,w=!1,O=e.prototype,R=O[g]||O["@@iterator"]||p&&O[p],M=R||x(p),S=p?N?x("entries"):M:void 0,A="Array"==n&&O.entries||R;if(A&&(_=u(A.call(new e)))!==Object.prototype&&_.next&&(l(_,y,!0),r||"function"==typeof _[g]||s(_,g,f)),N&&R&&"values"!==R.name&&(w=!0,M=function(){return R.call(this)}),r&&!m||!d&&!w&&O[g]||s(O,g,M),o[n]=M,o[y]=f,p)if(v={values:N?M:x("values"),keys:b?M:x("keys"),entries:S},m)for(E in v)E in O||a(O,E,v[E]);else i(i.P+i.F*(d||w),n,v);return v}},function(e,n,t){"use strict";var r=t(100),i=t(33),a=t(34),s={};t(15)(s,t(1)("iterator"),(function(){return this})),e.exports=function(e,n,t){e.prototype=r(s,{next:i(1,t)}),a(e,n+" Iterator")}},function(e,n,t){var r=t(2),i=t(101),a=t(66),s=t(65)("IE_PROTO"),o=function(){},c=function(){var e,n=t(22)("iframe"),r=a.length;for(n.style.display="none",t(42).appendChild(n),n.src="javascript:",(e=n.contentWindow.document).open(),e.write("