@kentico/kontent-core
Advanced tools
Comparing version 9.3.0 to 9.4.0
@@ -5,2 +5,9 @@ # Changelog | ||
## [9.4.0](https://github.com/Kentico/kontent-core-js/compare/v9.3.0...v9.4.0) (2021-11-29) | ||
### Features | ||
* updates deps ([dcfaee3](https://github.com/Kentico/kontent-core-js/commit/dcfaee311db202ae522fcf0200597e1bfa31eaa8)) | ||
## [9.3.0](https://github.com/Kentico/kontent-core-js/compare/v9.2.0...v9.3.0) (2021-11-02) | ||
@@ -7,0 +14,0 @@ |
@@ -9,3 +9,3 @@ import { AxiosRequestConfig, CancelToken } from 'axios'; | ||
constructor(opts?: { | ||
axiosRequestConfig?: AxiosRequestConfig | undefined; | ||
axiosRequestConfig?: AxiosRequestConfig<any> | undefined; | ||
logErrorsToConsole?: boolean | undefined; | ||
@@ -12,0 +12,0 @@ } | undefined); |
@@ -6,5 +6,5 @@ "use strict"; | ||
host: 'npmjs.com', | ||
version: '9.3.0', | ||
version: '9.4.0', | ||
name: '@kentico/kontent-core' | ||
}; | ||
//# sourceMappingURL=sdk-info.generated.js.map |
@@ -9,3 +9,3 @@ import { AxiosRequestConfig, CancelToken } from 'axios'; | ||
constructor(opts?: { | ||
axiosRequestConfig?: AxiosRequestConfig | undefined; | ||
axiosRequestConfig?: AxiosRequestConfig<any> | undefined; | ||
logErrorsToConsole?: boolean | undefined; | ||
@@ -12,0 +12,0 @@ } | undefined); |
export const sdkInfo = { | ||
host: 'npmjs.com', | ||
version: '9.3.0', | ||
version: '9.4.0', | ||
name: '@kentico/kontent-core' | ||
}; | ||
//# sourceMappingURL=sdk-info.generated.js.map |
@@ -9,3 +9,3 @@ import { AxiosRequestConfig, CancelToken } from 'axios'; | ||
constructor(opts?: { | ||
axiosRequestConfig?: AxiosRequestConfig | undefined; | ||
axiosRequestConfig?: AxiosRequestConfig<any> | undefined; | ||
logErrorsToConsole?: boolean | undefined; | ||
@@ -12,0 +12,0 @@ } | undefined); |
export var sdkInfo = { | ||
host: 'npmjs.com', | ||
version: '9.3.0', | ||
version: '9.4.0', | ||
name: '@kentico/kontent-core' | ||
}; | ||
//# sourceMappingURL=sdk-info.generated.js.map |
@@ -1,2 +0,2 @@ | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("kontentCore",[],t):"object"==typeof exports?exports.kontentCore=t():e.kontentCore=t()}(self,(function(){return(()=>{var e={669:(e,t,r)=>{e.exports=r(609)},448:(e,t,r)=>{"use strict";var n=r(867),s=r(26),o=r(372),a=r(327),i=r(97),u=r(109),c=r(985),f=r(61);e.exports=function(e){return new Promise((function(t,r){var l=e.data,p=e.headers,d=e.responseType;n.isFormData(l)&&delete p["Content-Type"];var h=new XMLHttpRequest;if(e.auth){var y=e.auth.username||"",m=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";p.Authorization="Basic "+btoa(y+":"+m)}var g=i(e.baseURL,e.url);function v(){if(h){var n="getAllResponseHeaders"in h?u(h.getAllResponseHeaders()):null,o={data:d&&"text"!==d&&"json"!==d?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:n,config:e,request:h};s(t,r,o),h=null}}if(h.open(e.method.toUpperCase(),a(g,e.params,e.paramsSerializer),!0),h.timeout=e.timeout,"onloadend"in h?h.onloadend=v:h.onreadystatechange=function(){h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))&&setTimeout(v)},h.onabort=function(){h&&(r(f("Request aborted",e,"ECONNABORTED",h)),h=null)},h.onerror=function(){r(f("Network Error",e,null,h)),h=null},h.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(f(t,e,e.transitional&&e.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",h)),h=null},n.isStandardBrowserEnv()){var x=(e.withCredentials||c(g))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;x&&(p[e.xsrfHeaderName]=x)}"setRequestHeader"in h&&n.forEach(p,(function(e,t){void 0===l&&"content-type"===t.toLowerCase()?delete p[t]:h.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(h.withCredentials=!!e.withCredentials),d&&"json"!==d&&(h.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&h.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){h&&(h.abort(),r(e),h=null)})),l||(l=null),h.send(l)}))}},609:(e,t,r)=>{"use strict";var n=r(867),s=r(849),o=r(321),a=r(185);function i(e){var t=new o(e),r=s(o.prototype.request,t);return n.extend(r,o.prototype,t),n.extend(r,t),r}var u=i(r(655));u.Axios=o,u.create=function(e){return i(a(u.defaults,e))},u.Cancel=r(263),u.CancelToken=r(972),u.isCancel=r(502),u.all=function(e){return Promise.all(e)},u.spread=r(713),u.isAxiosError=r(268),e.exports=u,e.exports.default=u},263:e=>{"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},972:(e,t,r)=>{"use strict";var n=r(263);function s(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;e((function(e){r.reason||(r.reason=new n(e),t(r.reason))}))}s.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},s.source=function(){var e;return{token:new s((function(t){e=t})),cancel:e}},e.exports=s},502:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},321:(e,t,r)=>{"use strict";var n=r(867),s=r(327),o=r(782),a=r(572),i=r(185),u=r(875),c=u.validators;function f(e){this.defaults=e,this.interceptors={request:new o,response:new o}}f.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=i(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&u.assertOptions(t,{silentJSONParsing:c.transitional(c.boolean,"1.0.0"),forcedJSONParsing:c.transitional(c.boolean,"1.0.0"),clarifyTimeoutError:c.transitional(c.boolean,"1.0.0")},!1);var r=[],n=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(n=n&&t.synchronous,r.unshift(t.fulfilled,t.rejected))}));var s,o=[];if(this.interceptors.response.forEach((function(e){o.push(e.fulfilled,e.rejected)})),!n){var f=[a,void 0];for(Array.prototype.unshift.apply(f,r),f=f.concat(o),s=Promise.resolve(e);f.length;)s=s.then(f.shift(),f.shift());return s}for(var l=e;r.length;){var p=r.shift(),d=r.shift();try{l=p(l)}catch(e){d(e);break}}try{s=a(l)}catch(e){return Promise.reject(e)}for(;o.length;)s=s.then(o.shift(),o.shift());return s},f.prototype.getUri=function(e){return e=i(this.defaults,e),s(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(e){f.prototype[e]=function(t,r){return this.request(i(r||{},{method:e,url:t,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){f.prototype[e]=function(t,r,n){return this.request(i(n||{},{method:e,url:t,data:r}))}})),e.exports=f},782:(e,t,r)=>{"use strict";var n=r(867);function s(){this.handlers=[]}s.prototype.use=function(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},s.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},s.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=s},97:(e,t,r)=>{"use strict";var n=r(793),s=r(303);e.exports=function(e,t){return e&&!n(t)?s(e,t):t}},61:(e,t,r)=>{"use strict";var n=r(481);e.exports=function(e,t,r,s,o){var a=new Error(e);return n(a,t,r,s,o)}},572:(e,t,r)=>{"use strict";var n=r(867),s=r(527),o=r(502),a=r(655);function i(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return i(e),e.headers=e.headers||{},e.data=s.call(e,e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return i(e),t.data=s.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(i(e),t&&t.response&&(t.response.data=s.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},481:e=>{"use strict";e.exports=function(e,t,r,n,s){return e.config=t,r&&(e.code=r),e.request=n,e.response=s,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},185:(e,t,r)=>{"use strict";var n=r(867);e.exports=function(e,t){t=t||{};var r={},s=["url","method","data"],o=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],i=["validateStatus"];function u(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function c(s){n.isUndefined(t[s])?n.isUndefined(e[s])||(r[s]=u(void 0,e[s])):r[s]=u(e[s],t[s])}n.forEach(s,(function(e){n.isUndefined(t[e])||(r[e]=u(void 0,t[e]))})),n.forEach(o,c),n.forEach(a,(function(s){n.isUndefined(t[s])?n.isUndefined(e[s])||(r[s]=u(void 0,e[s])):r[s]=u(void 0,t[s])})),n.forEach(i,(function(n){n in t?r[n]=u(e[n],t[n]):n in e&&(r[n]=u(void 0,e[n]))}));var f=s.concat(o).concat(a).concat(i),l=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===f.indexOf(e)}));return n.forEach(l,c),r}},26:(e,t,r)=>{"use strict";var n=r(61);e.exports=function(e,t,r){var s=r.config.validateStatus;r.status&&s&&!s(r.status)?t(n("Request failed with status code "+r.status,r.config,null,r.request,r)):e(r)}},527:(e,t,r)=>{"use strict";var n=r(867),s=r(655);e.exports=function(e,t,r){var o=this||s;return n.forEach(r,(function(r){e=r.call(o,e,t)})),e}},655:(e,t,r)=>{"use strict";var n=r(867),s=r(16),o=r(481),a={"Content-Type":"application/x-www-form-urlencoded"};function i(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var u,c={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(u=r(448)),u),transformRequest:[function(e,t){return s(t,"Accept"),s(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e)?e:n.isArrayBufferView(e)?e.buffer:n.isURLSearchParams(e)?(i(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):n.isObject(e)||t&&"application/json"===t["Content-Type"]?(i(t,"application/json"),function(e,t,r){if(n.isString(e))try{return(0,JSON.parse)(e),n.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional,r=t&&t.silentJSONParsing,s=t&&t.forcedJSONParsing,a=!r&&"json"===this.responseType;if(a||s&&n.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(a){if("SyntaxError"===e.name)throw o(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){c.headers[e]=n.merge(a)})),e.exports=c},849:e=>{"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return e.apply(t,r)}}},327:(e,t,r)=>{"use strict";var n=r(867);function s(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,r){if(!t)return e;var o;if(r)o=r(t);else if(n.isURLSearchParams(t))o=t.toString();else{var a=[];n.forEach(t,(function(e,t){null!=e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),a.push(s(t)+"="+s(e))})))})),o=a.join("&")}if(o){var i=e.indexOf("#");-1!==i&&(e=e.slice(0,i)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},303:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},372:(e,t,r)=>{"use strict";var n=r(867);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,s,o,a){var i=[];i.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&i.push("expires="+new Date(r).toGMTString()),n.isString(s)&&i.push("path="+s),n.isString(o)&&i.push("domain="+o),!0===a&&i.push("secure"),document.cookie=i.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},793:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},268:e=>{"use strict";e.exports=function(e){return"object"==typeof e&&!0===e.isAxiosError}},985:(e,t,r)=>{"use strict";var n=r(867);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function s(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=s(window.location.href),function(t){var r=n.isString(t)?s(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},16:(e,t,r)=>{"use strict";var n=r(867);e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},109:(e,t,r)=>{"use strict";var n=r(867),s=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,o,a={};return e?(n.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=n.trim(e.substr(0,o)).toLowerCase(),r=n.trim(e.substr(o+1)),t){if(a[t]&&s.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([r]):a[t]?a[t]+", "+r:r}})),a):a}},713:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},875:(e,t,r)=>{"use strict";var n=r(593),s={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){s[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));var o={},a=n.version.split(".");function i(e,t){for(var r=t?t.split("."):a,n=e.split("."),s=0;s<3;s++){if(r[s]>n[s])return!0;if(r[s]<n[s])return!1}return!1}s.transitional=function(e,t,r){var s=t&&i(t);function a(e,t){return"[Axios v"+n.version+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,n,i){if(!1===e)throw new Error(a(n," has been removed in "+t));return s&&!o[n]&&(o[n]=!0,console.warn(a(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,n,i)}},e.exports={isOlderVersion:i,assertOptions:function(e,t,r){if("object"!=typeof e)throw new TypeError("options must be an object");for(var n=Object.keys(e),s=n.length;s-- >0;){var o=n[s],a=t[o];if(a){var i=e[o],u=void 0===i||a(i,o,e);if(!0!==u)throw new TypeError("option "+o+" must be "+u)}else if(!0!==r)throw Error("Unknown option "+o)}},validators:s}},867:(e,t,r)=>{"use strict";var n=r(849),s=Object.prototype.toString;function o(e){return"[object Array]"===s.call(e)}function a(e){return void 0===e}function i(e){return null!==e&&"object"==typeof e}function u(e){if("[object Object]"!==s.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function c(e){return"[object Function]"===s.call(e)}function f(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),o(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&t.call(null,e[s],s,e)}e.exports={isArray:o,isArrayBuffer:function(e){return"[object ArrayBuffer]"===s.call(e)},isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:i,isPlainObject:u,isUndefined:a,isDate:function(e){return"[object Date]"===s.call(e)},isFile:function(e){return"[object File]"===s.call(e)},isBlob:function(e){return"[object Blob]"===s.call(e)},isFunction:c,isStream:function(e){return i(e)&&c(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:f,merge:function e(){var t={};function r(r,n){u(t[n])&&u(r)?t[n]=e(t[n],r):u(r)?t[n]=e({},r):o(r)?t[n]=r.slice():t[n]=r}for(var n=0,s=arguments.length;n<s;n++)f(arguments[n],r);return t},extend:function(e,t,r){return f(t,(function(t,s){e[s]=r&&"function"==typeof t?n(t,r):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},593:e=>{"use strict";e.exports=JSON.parse('{"_from":"axios@0.21.4","_id":"axios@0.21.4","_inBundle":false,"_integrity":"sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==","_location":"/axios","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"axios@0.21.4","name":"axios","escapedName":"axios","rawSpec":"0.21.4","saveSpec":null,"fetchSpec":"0.21.4"},"_requiredBy":["/"],"_resolved":"https://registry.npmjs.org/axios/-/axios-0.21.4.tgz","_shasum":"c67b90dc0568e5c1cf2b0b858c43ba28e2eda575","_spec":"axios@0.21.4","_where":"C:\\\\dev\\\\kontent-core-js","author":{"name":"Matt Zabriskie"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"bugs":{"url":"https://github.com/axios/axios/issues"},"bundleDependencies":false,"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}],"dependencies":{"follow-redirects":"^1.14.0"},"deprecated":false,"description":"Promise based HTTP client for the browser and node.js","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"homepage":"https://axios-http.com","jsdelivr":"dist/axios.min.js","keywords":["xhr","http","ajax","promise","node"],"license":"MIT","main":"index.js","name":"axios","repository":{"type":"git","url":"git+https://github.com/axios/axios.git"},"scripts":{"build":"NODE_ENV=production grunt build","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","examples":"node ./examples/server.js","fix":"eslint --fix lib/**/*.js","postversion":"git push && git push --tags","preversion":"npm test","start":"node ./sandbox/server.js","test":"grunt test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json"},"typings":"./index.d.ts","unpkg":"dist/axios.min.js","version":"0.21.4"}')}},t={};function r(n){var s=t[n];if(void 0!==s)return s.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,r),o.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return(()=>{"use strict";r.r(n),r.d(n,{EnumHelper:()=>a,HeaderHelper:()=>s,HttpDebugger:()=>h,HttpService:()=>C,Parameters:()=>l,RetryHelper:()=>c,TestHttpService:()=>A,UrlHelper:()=>e,createCancelToken:()=>w,deletehWithRetryAsync:()=>b,enumHelper:()=>i,extractHeadersFromAxiosResponse:()=>u,getWithRetryAsync:()=>m,headerHelper:()=>o,httpDebugger:()=>y,patchWithRetryAsync:()=>x,postWithRetryAsync:()=>g,putWithRetryAsync:()=>v,retryHelper:()=>f,urlHelper:()=>t});class e{addOptionsToUrl(e,t){return t&&t.forEach((t=>{e.indexOf("?")>-1?e+="&":e+="?",e+=t.getParam()})),e}}const t=new e;class s{sdkVersionHeader="X-KC-SDKID";getSdkIdHeader(e){return{header:this.sdkVersionHeader,value:`${e.host};${e.name};${e.version}`}}}const o=new s;class a{getAllNames(e){const t=[];for(const r in e)e.hasOwnProperty(r)&&t.push(r);return t}getAllValues(e){return Object.keys(e).map((t=>e[t]))}getEnumFromValue(e,t){try{if(!t)return;if(this.isNumeric(t))return e[t];const r=this.getAllValues(e).find((e=>e.toLowerCase()===t.toString().toLowerCase()));if(!r)return;return r}catch(e){return}}getEnumFromName(e,t){const r=this.getAllNames(e);for(const n of r)if(n.toLowerCase()===t.toLowerCase())return e[n]}isNumeric(e){return!isNaN(parseFloat(e))&&isFinite(e)}}const i=new a;function u(e){const t=[];for(const r of Object.keys(e.headers))t.push({header:r,value:e.headers[r]});return t}class c{requestCancelledMessagePrefix="Request cancelled";retryAfterHeaderName="Retry-After";defaultRetryStatusCodes=[408,429,500,502,503,504];defaultRetryStrategy={addJitter:!0,deltaBackoffMs:1e3,maxAttempts:5,canRetryError:e=>this.canRetryErrorDefault(e)};getRetryErrorResult(e){if(e.error&&e.error.message&&e.error.message.startsWith(this.requestCancelledMessagePrefix))return{canRetry:!1,retryInMs:0,maxRetries:0};if(!(e.retryStrategy.canRetryError?e.retryStrategy.canRetryError(e.error):this.defaultRetryStrategy.canRetryError(e.error)))return{canRetry:!1,retryInMs:0,maxRetries:0};const t=e.retryStrategy.maxAttempts??this.defaultRetryStrategy.maxAttempts;if(e.retryAttempt>=t)return{canRetry:!1,retryInMs:0,maxRetries:t};const r=this.tryGetRetryAfterInMsFromError(e.error);return r?{canRetry:!0,retryInMs:r,maxRetries:t}:{canRetry:!0,retryInMs:this.getNextWaitTimeMs(e.retryStrategy.addJitter??this.defaultRetryStrategy.addJitter,e.retryStrategy.deltaBackoffMs??this.defaultRetryStrategy.deltaBackoffMs,e.retryAttempt),maxRetries:t}}getRetryStrategyFromStrategyOptions(e){return e||this.defaultRetryStrategy}canRetryInTime(e,t){const r=e.getTime(),n=(new Date).getTime()-r;return{canRetry:n<t,differenceInMs:n}}getNextWaitTimeMs(e,t,r){if(!e)return t*Math.pow(2,r);const n=.8*t,s=1.2*t*Math.pow(2,r);return this.randomNumberFromInterval(n,s)}canRetryErrorDefault(e){if(!this.tryGetAxiosError(e))return!1;const t=this.getStatusCodeFromError(e);return!!this.canRetryStatusCode(t,this.defaultRetryStatusCodes)}tryGetRetryAfterInMsFromError(e){const t=this.tryGetAxiosError(e);if(!t||!t.response)return;const r=u(t.response).find((e=>e.header.toLowerCase()===this.retryAfterHeaderName.toLowerCase()));return r?1e3*+r.value:void 0}canRetryStatusCode(e,t){return t.includes(e)}getStatusCodeFromError(e){const t=this.tryGetAxiosError(e);return t&&t.response?t.response.status:0}tryGetAxiosError(e){if(!e)return;if(e.isAxiosError)return e;const t=e.originalError;return t&&t.isAxiosError?t:void 0}randomNumberFromInterval(e,t){return Math.floor(Math.random()*(t-e+1)+e)}}const f=new c;var l;!function(e){e.CustomParameter=class{name;value;constructor(e,t){if(this.name=e,this.value=t,!e)throw Error("Name of the custom parameter is not specified")}getParam(){return this.name}getParamValue(){return this.value}}}(l||(l={}));var p=r(669),d=r.n(p);class h{debugStartHttpRequest(){}debugSuccessHttpRequest(){}debugRetryHttpRequest(){}}const y=new h;async function m(e,t,r,n){const s=n?.retryStrategy??f.defaultRetryStrategy;return await S({retryAttempt:0,url:t.url,retryStrategy:s,functionsConfig:r,call:async r=>{y.debugStartHttpRequest();const o=await e.get(t.url,{headers:R(n?.headers??[],!1),responseType:n?.responseType,cancelToken:n?.cancelToken?.token}),a={data:o.data,rawResponse:o,headers:u(o),status:o.status,retryStrategy:{options:s,retryAttempts:r}};return y.debugSuccessHttpRequest(),a}})}async function g(e,t,r,n){const s=n?.retryStrategy??f.defaultRetryStrategy;return await S({retryAttempt:0,url:t.url,retryStrategy:s,functionsConfig:r,call:async r=>{y.debugStartHttpRequest();const o=await e.post(t.url,t.body,{headers:R(n?.headers??[],!1),responseType:n?.responseType,maxContentLength:"Infinity",maxBodyLength:"Infinity",cancelToken:n?.cancelToken?.token}),a={data:o.data,rawResponse:o,headers:u(o),status:o.status,retryStrategy:{options:s,retryAttempts:r}};return y.debugSuccessHttpRequest(),a}})}async function v(e,t,r,n){const s=n?.retryStrategy??f.defaultRetryStrategy;return await S({retryAttempt:0,url:t.url,retryStrategy:s,functionsConfig:r,call:async r=>{y.debugStartHttpRequest();const o=await e.put(t.url,t.body,{headers:R(n?.headers??[],!1),responseType:n?.responseType,maxContentLength:"Infinity",maxBodyLength:"Infinity",cancelToken:n?.cancelToken?.token}),a={data:o.data,rawResponse:o,headers:u(o),status:o.status,retryStrategy:{options:s,retryAttempts:r}};return y.debugSuccessHttpRequest(),a}})}async function x(e,t,r,n){const s=n?.retryStrategy??f.defaultRetryStrategy;return await S({retryAttempt:0,url:t.url,retryStrategy:s,functionsConfig:r,call:async r=>{y.debugStartHttpRequest();const o=await e.patch(t.url,t.body,{headers:R(n?.headers??[],!1),responseType:n?.responseType,maxContentLength:"Infinity",maxBodyLength:"Infinity",cancelToken:n?.cancelToken?.token}),a={data:o.data,rawResponse:o,headers:u(o),status:o.status,retryStrategy:{options:s,retryAttempts:r}};return y.debugSuccessHttpRequest(),a}})}async function b(e,t,r,n){const s=n?.retryStrategy??f.defaultRetryStrategy;return await S({retryAttempt:0,url:t.url,retryStrategy:s,functionsConfig:r,call:async r=>{y.debugStartHttpRequest();const o=await e.delete(t.url,{headers:R(n?.headers??[],!1),responseType:n?.responseType,maxContentLength:"Infinity",maxBodyLength:"Infinity",cancelToken:n?.cancelToken?.token}),a={data:o.data,rawResponse:o,headers:u(o),status:o.status,retryStrategy:{options:s,retryAttempts:r}};return y.debugSuccessHttpRequest(),a}})}function w(){let e;return{cancel:t=>e(`${f.requestCancelledMessagePrefix}: ${t??"User cancel"}`),token:new(d().CancelToken)((t=>{e=t}))}}async function S(e){try{return await e.call(e.retryAttempt)}catch(t){const r=f.getRetryErrorResult({error:t,retryAttempt:e.retryAttempt,retryStrategy:e.retryStrategy});if(r.canRetry)return y.debugRetryHttpRequest(),await new Promise((e=>setTimeout(e,r.retryInMs))),console.warn(`Retry attempt '${e.retryAttempt+1}' from a maximum of '${r.maxRetries}' retries. Request url: '${e.url}'`),await S({call:e.call,retryStrategy:e.retryStrategy,retryAttempt:e.retryAttempt+1,url:e.url,functionsConfig:e.functionsConfig});throw e.functionsConfig.logErrorsToConsole&&console.error(`Executing '${e.url}' failed. Request was retried '${e.retryAttempt}' times. `,t),t}}function R(e,t){const r={};return e.forEach((e=>{r[e.header]=e.value})),t&&(e.find((e=>e.header.toLowerCase()==="Content-Type".toLowerCase()))||(r["Content-Type"]="application/json")),r}class C{opts;axiosInstance;functionsConfig;constructor(e){this.opts=e,this.axiosInstance=d().create(e?.axiosRequestConfig),this.functionsConfig=this.getFunctionsConfig()}async getAsync(e,t){return await m(this.axiosInstance,e,this.functionsConfig,t)}async postAsync(e,t){return await g(this.axiosInstance,e,this.functionsConfig,t)}async putAsync(e,t){return await v(this.axiosInstance,e,this.functionsConfig,t)}async patchAsync(e,t){return await x(this.axiosInstance,e,this.functionsConfig,t)}async deleteAsync(e,t){return await b(this.axiosInstance,e,this.functionsConfig,t)}createCancelToken(){return w()}getFunctionsConfig(){return{logErrorsToConsole:this.opts?.logErrorsToConsole??!0}}}class A{response=void 0;error=void 0;constructor(e){Object.assign(this,e)}getAsync(e,t){return this.resolveTestCall()}postAsync(e,t){return this.resolveTestCall()}putAsync(e,t){return this.resolveTestCall()}patchAsync(e,t){return this.resolveTestCall()}deleteAsync(e,t){return this.resolveTestCall()}createCancelToken(){return{cancel:()=>{},token:void 0}}resolveTestCall(){return new Promise(((e,t)=>{throw this.response&&e(this.response),this.error&&t(this.error),Error("Missing test data")}))}}})(),n})()})); | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("kontentCore",[],t):"object"==typeof exports?exports.kontentCore=t():e.kontentCore=t()}(self,(function(){return(()=>{var e={669:(e,t,r)=>{e.exports=r(609)},448:(e,t,r)=>{"use strict";var n=r(867),s=r(26),o=r(372),a=r(327),i=r(97),u=r(109),c=r(985),f=r(61),l=r(655),p=r(263);e.exports=function(e){return new Promise((function(t,r){var d,h=e.data,y=e.headers,m=e.responseType;function g(){e.cancelToken&&e.cancelToken.unsubscribe(d),e.signal&&e.signal.removeEventListener("abort",d)}n.isFormData(h)&&delete y["Content-Type"];var v=new XMLHttpRequest;if(e.auth){var w=e.auth.username||"",x=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";y.Authorization="Basic "+btoa(w+":"+x)}var b=i(e.baseURL,e.url);function S(){if(v){var n="getAllResponseHeaders"in v?u(v.getAllResponseHeaders()):null,o={data:m&&"text"!==m&&"json"!==m?v.response:v.responseText,status:v.status,statusText:v.statusText,headers:n,config:e,request:v};s((function(e){t(e),g()}),(function(e){r(e),g()}),o),v=null}}if(v.open(e.method.toUpperCase(),a(b,e.params,e.paramsSerializer),!0),v.timeout=e.timeout,"onloadend"in v?v.onloadend=S:v.onreadystatechange=function(){v&&4===v.readyState&&(0!==v.status||v.responseURL&&0===v.responseURL.indexOf("file:"))&&setTimeout(S)},v.onabort=function(){v&&(r(f("Request aborted",e,"ECONNABORTED",v)),v=null)},v.onerror=function(){r(f("Network Error",e,null,v)),v=null},v.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||l.transitional;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(f(t,e,n.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",v)),v=null},n.isStandardBrowserEnv()){var R=(e.withCredentials||c(b))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;R&&(y[e.xsrfHeaderName]=R)}"setRequestHeader"in v&&n.forEach(y,(function(e,t){void 0===h&&"content-type"===t.toLowerCase()?delete y[t]:v.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(v.withCredentials=!!e.withCredentials),m&&"json"!==m&&(v.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&v.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&v.upload&&v.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(d=function(e){v&&(r(!e||e&&e.type?new p("canceled"):e),v.abort(),v=null)},e.cancelToken&&e.cancelToken.subscribe(d),e.signal&&(e.signal.aborted?d():e.signal.addEventListener("abort",d))),h||(h=null),v.send(h)}))}},609:(e,t,r)=>{"use strict";var n=r(867),s=r(849),o=r(321),a=r(185),i=function e(t){var r=new o(t),i=s(o.prototype.request,r);return n.extend(i,o.prototype,r),n.extend(i,r),i.create=function(r){return e(a(t,r))},i}(r(655));i.Axios=o,i.Cancel=r(263),i.CancelToken=r(972),i.isCancel=r(502),i.VERSION=r(288).version,i.all=function(e){return Promise.all(e)},i.spread=r(713),i.isAxiosError=r(268),e.exports=i,e.exports.default=i},263:e=>{"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},972:(e,t,r)=>{"use strict";var n=r(263);function s(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;this.promise.then((function(e){if(r._listeners){var t,n=r._listeners.length;for(t=0;t<n;t++)r._listeners[t](e);r._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e((function(e){r.reason||(r.reason=new n(e),t(r.reason))}))}s.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},s.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},s.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},s.source=function(){var e;return{token:new s((function(t){e=t})),cancel:e}},e.exports=s},502:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},321:(e,t,r)=>{"use strict";var n=r(867),s=r(327),o=r(782),a=r(572),i=r(185),u=r(875),c=u.validators;function f(e){this.defaults=e,this.interceptors={request:new o,response:new o}}f.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=i(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&u.assertOptions(t,{silentJSONParsing:c.transitional(c.boolean),forcedJSONParsing:c.transitional(c.boolean),clarifyTimeoutError:c.transitional(c.boolean)},!1);var r=[],n=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(n=n&&t.synchronous,r.unshift(t.fulfilled,t.rejected))}));var s,o=[];if(this.interceptors.response.forEach((function(e){o.push(e.fulfilled,e.rejected)})),!n){var f=[a,void 0];for(Array.prototype.unshift.apply(f,r),f=f.concat(o),s=Promise.resolve(e);f.length;)s=s.then(f.shift(),f.shift());return s}for(var l=e;r.length;){var p=r.shift(),d=r.shift();try{l=p(l)}catch(e){d(e);break}}try{s=a(l)}catch(e){return Promise.reject(e)}for(;o.length;)s=s.then(o.shift(),o.shift());return s},f.prototype.getUri=function(e){return e=i(this.defaults,e),s(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(e){f.prototype[e]=function(t,r){return this.request(i(r||{},{method:e,url:t,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){f.prototype[e]=function(t,r,n){return this.request(i(n||{},{method:e,url:t,data:r}))}})),e.exports=f},782:(e,t,r)=>{"use strict";var n=r(867);function s(){this.handlers=[]}s.prototype.use=function(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},s.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},s.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=s},97:(e,t,r)=>{"use strict";var n=r(793),s=r(303);e.exports=function(e,t){return e&&!n(t)?s(e,t):t}},61:(e,t,r)=>{"use strict";var n=r(481);e.exports=function(e,t,r,s,o){var a=new Error(e);return n(a,t,r,s,o)}},572:(e,t,r)=>{"use strict";var n=r(867),s=r(527),o=r(502),a=r(655),i=r(263);function u(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new i("canceled")}e.exports=function(e){return u(e),e.headers=e.headers||{},e.data=s.call(e,e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return u(e),t.data=s.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(u(e),t&&t.response&&(t.response.data=s.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},481:e=>{"use strict";e.exports=function(e,t,r,n,s){return e.config=t,r&&(e.code=r),e.request=n,e.response=s,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},185:(e,t,r)=>{"use strict";var n=r(867);e.exports=function(e,t){t=t||{};var r={};function s(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function o(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:s(void 0,e[r]):s(e[r],t[r])}function a(e){if(!n.isUndefined(t[e]))return s(void 0,t[e])}function i(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:s(void 0,e[r]):s(void 0,t[r])}function u(r){return r in t?s(e[r],t[r]):r in e?s(void 0,e[r]):void 0}var c={url:a,method:a,data:a,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:u};return n.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||o,s=t(e);n.isUndefined(s)&&t!==u||(r[e]=s)})),r}},26:(e,t,r)=>{"use strict";var n=r(61);e.exports=function(e,t,r){var s=r.config.validateStatus;r.status&&s&&!s(r.status)?t(n("Request failed with status code "+r.status,r.config,null,r.request,r)):e(r)}},527:(e,t,r)=>{"use strict";var n=r(867),s=r(655);e.exports=function(e,t,r){var o=this||s;return n.forEach(r,(function(r){e=r.call(o,e,t)})),e}},655:(e,t,r)=>{"use strict";var n=r(867),s=r(16),o=r(481),a={"Content-Type":"application/x-www-form-urlencoded"};function i(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var u,c={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(u=r(448)),u),transformRequest:[function(e,t){return s(t,"Accept"),s(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e)?e:n.isArrayBufferView(e)?e.buffer:n.isURLSearchParams(e)?(i(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):n.isObject(e)||t&&"application/json"===t["Content-Type"]?(i(t,"application/json"),function(e,t,r){if(n.isString(e))try{return(0,JSON.parse)(e),n.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||c.transitional,r=t&&t.silentJSONParsing,s=t&&t.forcedJSONParsing,a=!r&&"json"===this.responseType;if(a||s&&n.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(a){if("SyntaxError"===e.name)throw o(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){c.headers[e]=n.merge(a)})),e.exports=c},288:e=>{e.exports={version:"0.24.0"}},849:e=>{"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return e.apply(t,r)}}},327:(e,t,r)=>{"use strict";var n=r(867);function s(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,r){if(!t)return e;var o;if(r)o=r(t);else if(n.isURLSearchParams(t))o=t.toString();else{var a=[];n.forEach(t,(function(e,t){null!=e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),a.push(s(t)+"="+s(e))})))})),o=a.join("&")}if(o){var i=e.indexOf("#");-1!==i&&(e=e.slice(0,i)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},303:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},372:(e,t,r)=>{"use strict";var n=r(867);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,s,o,a){var i=[];i.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&i.push("expires="+new Date(r).toGMTString()),n.isString(s)&&i.push("path="+s),n.isString(o)&&i.push("domain="+o),!0===a&&i.push("secure"),document.cookie=i.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},793:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},268:e=>{"use strict";e.exports=function(e){return"object"==typeof e&&!0===e.isAxiosError}},985:(e,t,r)=>{"use strict";var n=r(867);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function s(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=s(window.location.href),function(t){var r=n.isString(t)?s(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},16:(e,t,r)=>{"use strict";var n=r(867);e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},109:(e,t,r)=>{"use strict";var n=r(867),s=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,o,a={};return e?(n.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=n.trim(e.substr(0,o)).toLowerCase(),r=n.trim(e.substr(o+1)),t){if(a[t]&&s.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([r]):a[t]?a[t]+", "+r:r}})),a):a}},713:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},875:(e,t,r)=>{"use strict";var n=r(288).version,s={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){s[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));var o={};s.transitional=function(e,t,r){function s(e,t){return"[Axios v"+n+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,n,a){if(!1===e)throw new Error(s(n," has been removed"+(t?" in "+t:"")));return t&&!o[n]&&(o[n]=!0,console.warn(s(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,n,a)}},e.exports={assertOptions:function(e,t,r){if("object"!=typeof e)throw new TypeError("options must be an object");for(var n=Object.keys(e),s=n.length;s-- >0;){var o=n[s],a=t[o];if(a){var i=e[o],u=void 0===i||a(i,o,e);if(!0!==u)throw new TypeError("option "+o+" must be "+u)}else if(!0!==r)throw Error("Unknown option "+o)}},validators:s}},867:(e,t,r)=>{"use strict";var n=r(849),s=Object.prototype.toString;function o(e){return"[object Array]"===s.call(e)}function a(e){return void 0===e}function i(e){return null!==e&&"object"==typeof e}function u(e){if("[object Object]"!==s.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function c(e){return"[object Function]"===s.call(e)}function f(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),o(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&t.call(null,e[s],s,e)}e.exports={isArray:o,isArrayBuffer:function(e){return"[object ArrayBuffer]"===s.call(e)},isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:i,isPlainObject:u,isUndefined:a,isDate:function(e){return"[object Date]"===s.call(e)},isFile:function(e){return"[object File]"===s.call(e)},isBlob:function(e){return"[object Blob]"===s.call(e)},isFunction:c,isStream:function(e){return i(e)&&c(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:f,merge:function e(){var t={};function r(r,n){u(t[n])&&u(r)?t[n]=e(t[n],r):u(r)?t[n]=e({},r):o(r)?t[n]=r.slice():t[n]=r}for(var n=0,s=arguments.length;n<s;n++)f(arguments[n],r);return t},extend:function(e,t,r){return f(t,(function(t,s){e[s]=r&&"function"==typeof t?n(t,r):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}}},t={};function r(n){var s=t[n];if(void 0!==s)return s.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,r),o.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return(()=>{"use strict";r.r(n),r.d(n,{EnumHelper:()=>a,HeaderHelper:()=>s,HttpDebugger:()=>h,HttpService:()=>C,Parameters:()=>l,RetryHelper:()=>c,TestHttpService:()=>A,UrlHelper:()=>e,createCancelToken:()=>b,deletehWithRetryAsync:()=>x,enumHelper:()=>i,extractHeadersFromAxiosResponse:()=>u,getWithRetryAsync:()=>m,headerHelper:()=>o,httpDebugger:()=>y,patchWithRetryAsync:()=>w,postWithRetryAsync:()=>g,putWithRetryAsync:()=>v,retryHelper:()=>f,urlHelper:()=>t});class e{addOptionsToUrl(e,t){return t&&t.forEach((t=>{e.indexOf("?")>-1?e+="&":e+="?",e+=t.getParam()})),e}}const t=new e;class s{sdkVersionHeader="X-KC-SDKID";getSdkIdHeader(e){return{header:this.sdkVersionHeader,value:`${e.host};${e.name};${e.version}`}}}const o=new s;class a{getAllNames(e){const t=[];for(const r in e)e.hasOwnProperty(r)&&t.push(r);return t}getAllValues(e){return Object.keys(e).map((t=>e[t]))}getEnumFromValue(e,t){try{if(!t)return;if(this.isNumeric(t))return e[t];const r=this.getAllValues(e).find((e=>e.toLowerCase()===t.toString().toLowerCase()));if(!r)return;return r}catch(e){return}}getEnumFromName(e,t){const r=this.getAllNames(e);for(const n of r)if(n.toLowerCase()===t.toLowerCase())return e[n]}isNumeric(e){return!isNaN(parseFloat(e))&&isFinite(e)}}const i=new a;function u(e){const t=[];for(const r of Object.keys(e.headers))t.push({header:r,value:e.headers[r]});return t}class c{requestCancelledMessagePrefix="Request cancelled";retryAfterHeaderName="Retry-After";defaultRetryStatusCodes=[408,429,500,502,503,504];defaultRetryStrategy={addJitter:!0,deltaBackoffMs:1e3,maxAttempts:5,canRetryError:e=>this.canRetryErrorDefault(e)};getRetryErrorResult(e){if(e.error&&e.error.message&&e.error.message.startsWith(this.requestCancelledMessagePrefix))return{canRetry:!1,retryInMs:0,maxRetries:0};if(!(e.retryStrategy.canRetryError?e.retryStrategy.canRetryError(e.error):this.defaultRetryStrategy.canRetryError(e.error)))return{canRetry:!1,retryInMs:0,maxRetries:0};const t=e.retryStrategy.maxAttempts??this.defaultRetryStrategy.maxAttempts;if(e.retryAttempt>=t)return{canRetry:!1,retryInMs:0,maxRetries:t};const r=this.tryGetRetryAfterInMsFromError(e.error);return r?{canRetry:!0,retryInMs:r,maxRetries:t}:{canRetry:!0,retryInMs:this.getNextWaitTimeMs(e.retryStrategy.addJitter??this.defaultRetryStrategy.addJitter,e.retryStrategy.deltaBackoffMs??this.defaultRetryStrategy.deltaBackoffMs,e.retryAttempt),maxRetries:t}}getRetryStrategyFromStrategyOptions(e){return e||this.defaultRetryStrategy}canRetryInTime(e,t){const r=e.getTime(),n=(new Date).getTime()-r;return{canRetry:n<t,differenceInMs:n}}getNextWaitTimeMs(e,t,r){if(!e)return t*Math.pow(2,r);const n=.8*t,s=1.2*t*Math.pow(2,r);return this.randomNumberFromInterval(n,s)}canRetryErrorDefault(e){if(!this.tryGetAxiosError(e))return!1;const t=this.getStatusCodeFromError(e);return!!this.canRetryStatusCode(t,this.defaultRetryStatusCodes)}tryGetRetryAfterInMsFromError(e){const t=this.tryGetAxiosError(e);if(!t||!t.response)return;const r=u(t.response).find((e=>e.header.toLowerCase()===this.retryAfterHeaderName.toLowerCase()));return r?1e3*+r.value:void 0}canRetryStatusCode(e,t){return t.includes(e)}getStatusCodeFromError(e){const t=this.tryGetAxiosError(e);return t&&t.response?t.response.status:0}tryGetAxiosError(e){if(!e)return;if(e.isAxiosError)return e;const t=e.originalError;return t&&t.isAxiosError?t:void 0}randomNumberFromInterval(e,t){return Math.floor(Math.random()*(t-e+1)+e)}}const f=new c;var l;!function(e){e.CustomParameter=class{name;value;constructor(e,t){if(this.name=e,this.value=t,!e)throw Error("Name of the custom parameter is not specified")}getParam(){return this.name}getParamValue(){return this.value}}}(l||(l={}));var p=r(669),d=r.n(p);class h{debugStartHttpRequest(){}debugSuccessHttpRequest(){}debugRetryHttpRequest(){}}const y=new h;async function m(e,t,r,n){const s=n?.retryStrategy??f.defaultRetryStrategy;return await S({retryAttempt:0,url:t.url,retryStrategy:s,functionsConfig:r,call:async r=>{y.debugStartHttpRequest();const o=await e.get(t.url,{headers:R(n?.headers??[],!1),responseType:n?.responseType,cancelToken:n?.cancelToken?.token}),a={data:o.data,rawResponse:o,headers:u(o),status:o.status,retryStrategy:{options:s,retryAttempts:r}};return y.debugSuccessHttpRequest(),a}})}async function g(e,t,r,n){const s=n?.retryStrategy??f.defaultRetryStrategy;return await S({retryAttempt:0,url:t.url,retryStrategy:s,functionsConfig:r,call:async r=>{y.debugStartHttpRequest();const o=await e.post(t.url,t.body,{headers:R(n?.headers??[],!1),responseType:n?.responseType,maxContentLength:"Infinity",maxBodyLength:"Infinity",cancelToken:n?.cancelToken?.token}),a={data:o.data,rawResponse:o,headers:u(o),status:o.status,retryStrategy:{options:s,retryAttempts:r}};return y.debugSuccessHttpRequest(),a}})}async function v(e,t,r,n){const s=n?.retryStrategy??f.defaultRetryStrategy;return await S({retryAttempt:0,url:t.url,retryStrategy:s,functionsConfig:r,call:async r=>{y.debugStartHttpRequest();const o=await e.put(t.url,t.body,{headers:R(n?.headers??[],!1),responseType:n?.responseType,maxContentLength:"Infinity",maxBodyLength:"Infinity",cancelToken:n?.cancelToken?.token}),a={data:o.data,rawResponse:o,headers:u(o),status:o.status,retryStrategy:{options:s,retryAttempts:r}};return y.debugSuccessHttpRequest(),a}})}async function w(e,t,r,n){const s=n?.retryStrategy??f.defaultRetryStrategy;return await S({retryAttempt:0,url:t.url,retryStrategy:s,functionsConfig:r,call:async r=>{y.debugStartHttpRequest();const o=await e.patch(t.url,t.body,{headers:R(n?.headers??[],!1),responseType:n?.responseType,maxContentLength:"Infinity",maxBodyLength:"Infinity",cancelToken:n?.cancelToken?.token}),a={data:o.data,rawResponse:o,headers:u(o),status:o.status,retryStrategy:{options:s,retryAttempts:r}};return y.debugSuccessHttpRequest(),a}})}async function x(e,t,r,n){const s=n?.retryStrategy??f.defaultRetryStrategy;return await S({retryAttempt:0,url:t.url,retryStrategy:s,functionsConfig:r,call:async r=>{y.debugStartHttpRequest();const o=await e.delete(t.url,{headers:R(n?.headers??[],!1),responseType:n?.responseType,maxContentLength:"Infinity",maxBodyLength:"Infinity",cancelToken:n?.cancelToken?.token}),a={data:o.data,rawResponse:o,headers:u(o),status:o.status,retryStrategy:{options:s,retryAttempts:r}};return y.debugSuccessHttpRequest(),a}})}function b(){let e;return{cancel:t=>e(`${f.requestCancelledMessagePrefix}: ${t??"User cancel"}`),token:new(d().CancelToken)((t=>{e=t}))}}async function S(e){try{return await e.call(e.retryAttempt)}catch(t){const r=f.getRetryErrorResult({error:t,retryAttempt:e.retryAttempt,retryStrategy:e.retryStrategy});if(r.canRetry)return y.debugRetryHttpRequest(),await new Promise((e=>setTimeout(e,r.retryInMs))),console.warn(`Retry attempt '${e.retryAttempt+1}' from a maximum of '${r.maxRetries}' retries. Request url: '${e.url}'`),await S({call:e.call,retryStrategy:e.retryStrategy,retryAttempt:e.retryAttempt+1,url:e.url,functionsConfig:e.functionsConfig});throw e.functionsConfig.logErrorsToConsole&&console.error(`Executing '${e.url}' failed. Request was retried '${e.retryAttempt}' times. `,t),t}}function R(e,t){const r={};return e.forEach((e=>{r[e.header]=e.value})),t&&(e.find((e=>e.header.toLowerCase()==="Content-Type".toLowerCase()))||(r["Content-Type"]="application/json")),r}class C{opts;axiosInstance;functionsConfig;constructor(e){this.opts=e,this.axiosInstance=d().create(e?.axiosRequestConfig),this.functionsConfig=this.getFunctionsConfig()}async getAsync(e,t){return await m(this.axiosInstance,e,this.functionsConfig,t)}async postAsync(e,t){return await g(this.axiosInstance,e,this.functionsConfig,t)}async putAsync(e,t){return await v(this.axiosInstance,e,this.functionsConfig,t)}async patchAsync(e,t){return await w(this.axiosInstance,e,this.functionsConfig,t)}async deleteAsync(e,t){return await x(this.axiosInstance,e,this.functionsConfig,t)}createCancelToken(){return b()}getFunctionsConfig(){return{logErrorsToConsole:this.opts?.logErrorsToConsole??!0}}}class A{response=void 0;error=void 0;constructor(e){Object.assign(this,e)}getAsync(e,t){return this.resolveTestCall()}postAsync(e,t){return this.resolveTestCall()}putAsync(e,t){return this.resolveTestCall()}patchAsync(e,t){return this.resolveTestCall()}deleteAsync(e,t){return this.resolveTestCall()}createCancelToken(){return{cancel:()=>{},token:void 0}}resolveTestCall(){return new Promise(((e,t)=>{throw this.response&&e(this.response),this.error&&t(this.error),Error("Missing test data")}))}}})(),n})()})); | ||
//# sourceMappingURL=kontent-core.umd.min.js.map |
@@ -1,1 +0,1 @@ | ||
[{"label":"kontent-core.umd.js","isAsset":true,"statSize":72502,"parsedSize":104822,"gzipSize":20440,"groups":[{"label":"lib","path":"./lib","statSize":21740,"groups":[{"label":"helpers","path":"./lib/helpers","statSize":8329,"groups":[{"id":"./lib/helpers/enum.helper.ts","label":"enum.helper.ts","path":"./lib/helpers/enum.helper.ts","statSize":1503},{"id":"./lib/helpers/header.helper.ts","label":"header.helper.ts","path":"./lib/helpers/header.helper.ts","statSize":437},{"id":"./lib/helpers/headers-helper.ts","label":"headers-helper.ts","path":"./lib/helpers/headers-helper.ts","statSize":296},{"id":"./lib/helpers/index.ts","label":"index.ts","path":"./lib/helpers/index.ts","statSize":165},{"id":"./lib/helpers/retry-helper.ts","label":"retry-helper.ts","path":"./lib/helpers/retry-helper.ts","statSize":5327},{"id":"./lib/helpers/url.helper.ts","label":"url.helper.ts","path":"./lib/helpers/url.helper.ts","statSize":601}],"parsedSize":0,"gzipSize":0},{"label":"http","path":"./lib/http","statSize":12430,"groups":[{"id":"./lib/http/http.debugger.ts","label":"http.debugger.ts","path":"./lib/http/http.debugger.ts","statSize":375},{"id":"./lib/http/http.functions.ts","label":"http.functions.ts","path":"./lib/http/http.functions.ts","statSize":9429},{"id":"./lib/http/http.models.ts","label":"http.models.ts","path":"./lib/http/http.models.ts","statSize":12},{"id":"./lib/http/http.service.ts","label":"http.service.ts","path":"./lib/http/http.service.ts","statSize":1366},{"id":"./lib/http/ihttp.service.ts","label":"ihttp.service.ts","path":"./lib/http/ihttp.service.ts","statSize":12},{"id":"./lib/http/index.ts","label":"index.ts","path":"./lib/http/index.ts","statSize":206},{"id":"./lib/http/test-http.service.ts","label":"test-http.service.ts","path":"./lib/http/test-http.service.ts","statSize":1030}],"parsedSize":0,"gzipSize":0},{"id":"./lib/index.ts","label":"index.ts","path":"./lib/index.ts","statSize":98,"parsedSize":104822,"gzipSize":20440},{"label":"models","path":"./lib/models","statSize":883,"groups":[{"id":"./lib/models/index.ts","label":"index.ts","path":"./lib/models/index.ts","statSize":92},{"id":"./lib/models/isdk-info.ts","label":"isdk-info.ts","path":"./lib/models/isdk-info.ts","statSize":12},{"id":"./lib/models/parameters.ts","label":"parameters.ts","path":"./lib/models/parameters.ts","statSize":767},{"id":"./lib/models/url.models.ts","label":"url.models.ts","path":"./lib/models/url.models.ts","statSize":12}],"parsedSize":0,"gzipSize":0}],"parsedSize":104822,"gzipSize":20440},{"label":"node_modules/axios","path":"./node_modules/axios","statSize":50762,"groups":[{"id":"./node_modules/axios/index.js","label":"index.js","path":"./node_modules/axios/index.js","statSize":40},{"label":"lib","path":"./node_modules/axios/lib","statSize":48118,"groups":[{"label":"adapters","path":"./node_modules/axios/lib/adapters","statSize":6155,"groups":[{"id":"./node_modules/axios/lib/adapters/xhr.js","label":"xhr.js","path":"./node_modules/axios/lib/adapters/xhr.js","statSize":6155}],"parsedSize":0,"gzipSize":0},{"id":"./node_modules/axios/lib/axios.js","label":"axios.js","path":"./node_modules/axios/lib/axios.js","statSize":1503},{"label":"cancel","path":"./node_modules/axios/lib/cancel","statSize":1727,"groups":[{"id":"./node_modules/axios/lib/cancel/Cancel.js","label":"Cancel.js","path":"./node_modules/axios/lib/cancel/Cancel.js","statSize":385},{"id":"./node_modules/axios/lib/cancel/CancelToken.js","label":"CancelToken.js","path":"./node_modules/axios/lib/cancel/CancelToken.js","statSize":1240},{"id":"./node_modules/axios/lib/cancel/isCancel.js","label":"isCancel.js","path":"./node_modules/axios/lib/cancel/isCancel.js","statSize":102}],"parsedSize":0,"gzipSize":0},{"label":"core","path":"./node_modules/axios/lib/core","statSize":14213,"groups":[{"id":"./node_modules/axios/lib/core/Axios.js","label":"Axios.js","path":"./node_modules/axios/lib/core/Axios.js","statSize":4248},{"id":"./node_modules/axios/lib/core/InterceptorManager.js","label":"InterceptorManager.js","path":"./node_modules/axios/lib/core/InterceptorManager.js","statSize":1363},{"id":"./node_modules/axios/lib/core/buildFullPath.js","label":"buildFullPath.js","path":"./node_modules/axios/lib/core/buildFullPath.js","statSize":695},{"id":"./node_modules/axios/lib/core/createError.js","label":"createError.js","path":"./node_modules/axios/lib/core/createError.js","statSize":625},{"id":"./node_modules/axios/lib/core/dispatchRequest.js","label":"dispatchRequest.js","path":"./node_modules/axios/lib/core/dispatchRequest.js","statSize":1993},{"id":"./node_modules/axios/lib/core/enhanceError.js","label":"enhanceError.js","path":"./node_modules/axios/lib/core/enhanceError.js","statSize":1049},{"id":"./node_modules/axios/lib/core/mergeConfig.js","label":"mergeConfig.js","path":"./node_modules/axios/lib/core/mergeConfig.js","statSize":2895},{"id":"./node_modules/axios/lib/core/settle.js","label":"settle.js","path":"./node_modules/axios/lib/core/settle.js","statSize":706},{"id":"./node_modules/axios/lib/core/transformData.js","label":"transformData.js","path":"./node_modules/axios/lib/core/transformData.js","statSize":639}],"parsedSize":0,"gzipSize":0},{"id":"./node_modules/axios/lib/defaults.js","label":"defaults.js","path":"./node_modules/axios/lib/defaults.js","statSize":3557},{"label":"helpers","path":"./node_modules/axios/lib/helpers","statSize":12032,"groups":[{"id":"./node_modules/axios/lib/helpers/bind.js","label":"bind.js","path":"./node_modules/axios/lib/helpers/bind.js","statSize":256},{"id":"./node_modules/axios/lib/helpers/buildURL.js","label":"buildURL.js","path":"./node_modules/axios/lib/helpers/buildURL.js","statSize":1644},{"id":"./node_modules/axios/lib/helpers/combineURLs.js","label":"combineURLs.js","path":"./node_modules/axios/lib/helpers/combineURLs.js","statSize":380},{"id":"./node_modules/axios/lib/helpers/cookies.js","label":"cookies.js","path":"./node_modules/axios/lib/helpers/cookies.js","statSize":1435},{"id":"./node_modules/axios/lib/helpers/isAbsoluteURL.js","label":"isAbsoluteURL.js","path":"./node_modules/axios/lib/helpers/isAbsoluteURL.js","statSize":563},{"id":"./node_modules/axios/lib/helpers/isAxiosError.js","label":"isAxiosError.js","path":"./node_modules/axios/lib/helpers/isAxiosError.js","statSize":343},{"id":"./node_modules/axios/lib/helpers/isURLSameOrigin.js","label":"isURLSameOrigin.js","path":"./node_modules/axios/lib/helpers/isURLSameOrigin.js","statSize":2305},{"id":"./node_modules/axios/lib/helpers/normalizeHeaderName.js","label":"normalizeHeaderName.js","path":"./node_modules/axios/lib/helpers/normalizeHeaderName.js","statSize":357},{"id":"./node_modules/axios/lib/helpers/parseHeaders.js","label":"parseHeaders.js","path":"./node_modules/axios/lib/helpers/parseHeaders.js","statSize":1393},{"id":"./node_modules/axios/lib/helpers/spread.js","label":"spread.js","path":"./node_modules/axios/lib/helpers/spread.js","statSize":564},{"id":"./node_modules/axios/lib/helpers/validator.js","label":"validator.js","path":"./node_modules/axios/lib/helpers/validator.js","statSize":2792}],"parsedSize":0,"gzipSize":0},{"id":"./node_modules/axios/lib/utils.js","label":"utils.js","path":"./node_modules/axios/lib/utils.js","statSize":8931}],"parsedSize":0,"gzipSize":0},{"id":"./node_modules/axios/package.json","label":"package.json","path":"./node_modules/axios/package.json","statSize":2604}],"parsedSize":0,"gzipSize":0}]}] | ||
[{"label":"kontent-core.umd.js","isAsset":true,"statSize":72091,"parsedSize":104624,"gzipSize":19568,"groups":[{"label":"lib","path":"./lib","statSize":21740,"groups":[{"label":"helpers","path":"./lib/helpers","statSize":8329,"groups":[{"id":"./lib/helpers/enum.helper.ts","label":"enum.helper.ts","path":"./lib/helpers/enum.helper.ts","statSize":1503},{"id":"./lib/helpers/header.helper.ts","label":"header.helper.ts","path":"./lib/helpers/header.helper.ts","statSize":437},{"id":"./lib/helpers/headers-helper.ts","label":"headers-helper.ts","path":"./lib/helpers/headers-helper.ts","statSize":296},{"id":"./lib/helpers/index.ts","label":"index.ts","path":"./lib/helpers/index.ts","statSize":165},{"id":"./lib/helpers/retry-helper.ts","label":"retry-helper.ts","path":"./lib/helpers/retry-helper.ts","statSize":5327},{"id":"./lib/helpers/url.helper.ts","label":"url.helper.ts","path":"./lib/helpers/url.helper.ts","statSize":601}],"parsedSize":0,"gzipSize":0},{"label":"http","path":"./lib/http","statSize":12430,"groups":[{"id":"./lib/http/http.debugger.ts","label":"http.debugger.ts","path":"./lib/http/http.debugger.ts","statSize":375},{"id":"./lib/http/http.functions.ts","label":"http.functions.ts","path":"./lib/http/http.functions.ts","statSize":9429},{"id":"./lib/http/http.models.ts","label":"http.models.ts","path":"./lib/http/http.models.ts","statSize":12},{"id":"./lib/http/http.service.ts","label":"http.service.ts","path":"./lib/http/http.service.ts","statSize":1366},{"id":"./lib/http/ihttp.service.ts","label":"ihttp.service.ts","path":"./lib/http/ihttp.service.ts","statSize":12},{"id":"./lib/http/index.ts","label":"index.ts","path":"./lib/http/index.ts","statSize":206},{"id":"./lib/http/test-http.service.ts","label":"test-http.service.ts","path":"./lib/http/test-http.service.ts","statSize":1030}],"parsedSize":0,"gzipSize":0},{"id":"./lib/index.ts","label":"index.ts","path":"./lib/index.ts","statSize":98,"parsedSize":104624,"gzipSize":19568},{"label":"models","path":"./lib/models","statSize":883,"groups":[{"id":"./lib/models/index.ts","label":"index.ts","path":"./lib/models/index.ts","statSize":92},{"id":"./lib/models/isdk-info.ts","label":"isdk-info.ts","path":"./lib/models/isdk-info.ts","statSize":12},{"id":"./lib/models/parameters.ts","label":"parameters.ts","path":"./lib/models/parameters.ts","statSize":767},{"id":"./lib/models/url.models.ts","label":"url.models.ts","path":"./lib/models/url.models.ts","statSize":12}],"parsedSize":0,"gzipSize":0}],"parsedSize":104624,"gzipSize":19568},{"label":"node_modules/axios","path":"./node_modules/axios","statSize":50351,"groups":[{"id":"./node_modules/axios/index.js","label":"index.js","path":"./node_modules/axios/index.js","statSize":40},{"label":"lib","path":"./node_modules/axios/lib","statSize":50311,"groups":[{"label":"adapters","path":"./node_modules/axios/lib/adapters","statSize":6954,"groups":[{"id":"./node_modules/axios/lib/adapters/xhr.js","label":"xhr.js","path":"./node_modules/axios/lib/adapters/xhr.js","statSize":6954}],"parsedSize":0,"gzipSize":0},{"id":"./node_modules/axios/lib/axios.js","label":"axios.js","path":"./node_modules/axios/lib/axios.js","statSize":1560},{"label":"cancel","path":"./node_modules/axios/lib/cancel","statSize":2956,"groups":[{"id":"./node_modules/axios/lib/cancel/Cancel.js","label":"Cancel.js","path":"./node_modules/axios/lib/cancel/Cancel.js","statSize":385},{"id":"./node_modules/axios/lib/cancel/CancelToken.js","label":"CancelToken.js","path":"./node_modules/axios/lib/cancel/CancelToken.js","statSize":2469},{"id":"./node_modules/axios/lib/cancel/isCancel.js","label":"isCancel.js","path":"./node_modules/axios/lib/cancel/isCancel.js","statSize":102}],"parsedSize":0,"gzipSize":0},{"label":"core","path":"./node_modules/axios/lib/core","statSize":14698,"groups":[{"id":"./node_modules/axios/lib/core/Axios.js","label":"Axios.js","path":"./node_modules/axios/lib/core/Axios.js","statSize":4221},{"id":"./node_modules/axios/lib/core/InterceptorManager.js","label":"InterceptorManager.js","path":"./node_modules/axios/lib/core/InterceptorManager.js","statSize":1363},{"id":"./node_modules/axios/lib/core/buildFullPath.js","label":"buildFullPath.js","path":"./node_modules/axios/lib/core/buildFullPath.js","statSize":695},{"id":"./node_modules/axios/lib/core/createError.js","label":"createError.js","path":"./node_modules/axios/lib/core/createError.js","statSize":625},{"id":"./node_modules/axios/lib/core/dispatchRequest.js","label":"dispatchRequest.js","path":"./node_modules/axios/lib/core/dispatchRequest.js","statSize":2122},{"id":"./node_modules/axios/lib/core/enhanceError.js","label":"enhanceError.js","path":"./node_modules/axios/lib/core/enhanceError.js","statSize":1132},{"id":"./node_modules/axios/lib/core/mergeConfig.js","label":"mergeConfig.js","path":"./node_modules/axios/lib/core/mergeConfig.js","statSize":3195},{"id":"./node_modules/axios/lib/core/settle.js","label":"settle.js","path":"./node_modules/axios/lib/core/settle.js","statSize":706},{"id":"./node_modules/axios/lib/core/transformData.js","label":"transformData.js","path":"./node_modules/axios/lib/core/transformData.js","statSize":639}],"parsedSize":0,"gzipSize":0},{"id":"./node_modules/axios/lib/defaults.js","label":"defaults.js","path":"./node_modules/axios/lib/defaults.js","statSize":3582},{"label":"env","path":"./node_modules/axios/lib/env","statSize":43,"groups":[{"id":"./node_modules/axios/lib/env/data.js","label":"data.js","path":"./node_modules/axios/lib/env/data.js","statSize":43}],"parsedSize":0,"gzipSize":0},{"label":"helpers","path":"./node_modules/axios/lib/helpers","statSize":11587,"groups":[{"id":"./node_modules/axios/lib/helpers/bind.js","label":"bind.js","path":"./node_modules/axios/lib/helpers/bind.js","statSize":256},{"id":"./node_modules/axios/lib/helpers/buildURL.js","label":"buildURL.js","path":"./node_modules/axios/lib/helpers/buildURL.js","statSize":1644},{"id":"./node_modules/axios/lib/helpers/combineURLs.js","label":"combineURLs.js","path":"./node_modules/axios/lib/helpers/combineURLs.js","statSize":380},{"id":"./node_modules/axios/lib/helpers/cookies.js","label":"cookies.js","path":"./node_modules/axios/lib/helpers/cookies.js","statSize":1435},{"id":"./node_modules/axios/lib/helpers/isAbsoluteURL.js","label":"isAbsoluteURL.js","path":"./node_modules/axios/lib/helpers/isAbsoluteURL.js","statSize":563},{"id":"./node_modules/axios/lib/helpers/isAxiosError.js","label":"isAxiosError.js","path":"./node_modules/axios/lib/helpers/isAxiosError.js","statSize":343},{"id":"./node_modules/axios/lib/helpers/isURLSameOrigin.js","label":"isURLSameOrigin.js","path":"./node_modules/axios/lib/helpers/isURLSameOrigin.js","statSize":2305},{"id":"./node_modules/axios/lib/helpers/normalizeHeaderName.js","label":"normalizeHeaderName.js","path":"./node_modules/axios/lib/helpers/normalizeHeaderName.js","statSize":357},{"id":"./node_modules/axios/lib/helpers/parseHeaders.js","label":"parseHeaders.js","path":"./node_modules/axios/lib/helpers/parseHeaders.js","statSize":1393},{"id":"./node_modules/axios/lib/helpers/spread.js","label":"spread.js","path":"./node_modules/axios/lib/helpers/spread.js","statSize":564},{"id":"./node_modules/axios/lib/helpers/validator.js","label":"validator.js","path":"./node_modules/axios/lib/helpers/validator.js","statSize":2347}],"parsedSize":0,"gzipSize":0},{"id":"./node_modules/axios/lib/utils.js","label":"utils.js","path":"./node_modules/axios/lib/utils.js","statSize":8931}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0}]}] |
@@ -1,1 +0,1 @@ | ||
[{"label":"kontent-core.umd.min.js","isAsset":true,"statSize":72454,"parsedSize":27867,"gzipSize":9277,"groups":[{"label":"lib","path":"./lib","statSize":21692,"groups":[{"id":208,"label":"index.ts + 13 modules (concatenated)","path":"./lib/index.ts + 13 modules (concatenated)","statSize":21692,"parsedSize":27867,"gzipSize":9277,"concatenated":true,"groups":[{"label":"lib","path":"./lib/index.ts + 13 modules (concatenated)/lib","statSize":21692,"groups":[{"id":null,"label":"index.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/index.ts","statSize":98,"parsedSize":125,"gzipSize":41,"inaccurateSizes":true},{"label":"helpers","path":"./lib/index.ts + 13 modules (concatenated)/lib/helpers","statSize":8329,"groups":[{"id":null,"label":"index.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/helpers/index.ts","statSize":165,"parsedSize":211,"gzipSize":70,"inaccurateSizes":true},{"id":null,"label":"url.helper.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/helpers/url.helper.ts","statSize":601,"parsedSize":772,"gzipSize":257,"inaccurateSizes":true},{"id":null,"label":"header.helper.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/helpers/header.helper.ts","statSize":437,"parsedSize":561,"gzipSize":186,"inaccurateSizes":true},{"id":null,"label":"enum.helper.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/helpers/enum.helper.ts","statSize":1503,"parsedSize":1930,"gzipSize":642,"inaccurateSizes":true},{"id":null,"label":"retry-helper.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/helpers/retry-helper.ts","statSize":5327,"parsedSize":6843,"gzipSize":2278,"inaccurateSizes":true},{"id":null,"label":"headers-helper.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/helpers/headers-helper.ts","statSize":296,"parsedSize":380,"gzipSize":126,"inaccurateSizes":true}],"parsedSize":10699,"gzipSize":3562,"inaccurateSizes":true},{"label":"models","path":"./lib/index.ts + 13 modules (concatenated)/lib/models","statSize":859,"groups":[{"id":null,"label":"index.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/models/index.ts","statSize":92,"parsedSize":118,"gzipSize":39,"inaccurateSizes":true},{"id":null,"label":"parameters.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/models/parameters.ts","statSize":767,"parsedSize":985,"gzipSize":328,"inaccurateSizes":true}],"parsedSize":1103,"gzipSize":367,"inaccurateSizes":true},{"label":"http","path":"./lib/index.ts + 13 modules (concatenated)/lib/http","statSize":12406,"groups":[{"id":null,"label":"index.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/http/index.ts","statSize":206,"parsedSize":264,"gzipSize":88,"inaccurateSizes":true},{"id":null,"label":"http.service.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/http/http.service.ts","statSize":1366,"parsedSize":1754,"gzipSize":584,"inaccurateSizes":true},{"id":null,"label":"http.functions.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/http/http.functions.ts","statSize":9429,"parsedSize":12113,"gzipSize":4032,"inaccurateSizes":true},{"id":null,"label":"http.debugger.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/http/http.debugger.ts","statSize":375,"parsedSize":481,"gzipSize":160,"inaccurateSizes":true},{"id":null,"label":"test-http.service.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/http/test-http.service.ts","statSize":1030,"parsedSize":1323,"gzipSize":440,"inaccurateSizes":true}],"parsedSize":15937,"gzipSize":5305,"inaccurateSizes":true}],"parsedSize":27867,"gzipSize":9277,"inaccurateSizes":true}]}],"parsedSize":27867,"gzipSize":9277},{"label":"node_modules/axios","path":"./node_modules/axios","statSize":50762,"groups":[{"id":669,"label":"index.js","path":"./node_modules/axios/index.js","statSize":40},{"label":"lib","path":"./node_modules/axios/lib","statSize":48118,"groups":[{"label":"adapters","path":"./node_modules/axios/lib/adapters","statSize":6155,"groups":[{"id":448,"label":"xhr.js","path":"./node_modules/axios/lib/adapters/xhr.js","statSize":6155}],"parsedSize":0,"gzipSize":0},{"id":609,"label":"axios.js","path":"./node_modules/axios/lib/axios.js","statSize":1503},{"label":"cancel","path":"./node_modules/axios/lib/cancel","statSize":1727,"groups":[{"id":263,"label":"Cancel.js","path":"./node_modules/axios/lib/cancel/Cancel.js","statSize":385},{"id":972,"label":"CancelToken.js","path":"./node_modules/axios/lib/cancel/CancelToken.js","statSize":1240},{"id":502,"label":"isCancel.js","path":"./node_modules/axios/lib/cancel/isCancel.js","statSize":102}],"parsedSize":0,"gzipSize":0},{"label":"core","path":"./node_modules/axios/lib/core","statSize":14213,"groups":[{"id":321,"label":"Axios.js","path":"./node_modules/axios/lib/core/Axios.js","statSize":4248},{"id":782,"label":"InterceptorManager.js","path":"./node_modules/axios/lib/core/InterceptorManager.js","statSize":1363},{"id":97,"label":"buildFullPath.js","path":"./node_modules/axios/lib/core/buildFullPath.js","statSize":695},{"id":61,"label":"createError.js","path":"./node_modules/axios/lib/core/createError.js","statSize":625},{"id":572,"label":"dispatchRequest.js","path":"./node_modules/axios/lib/core/dispatchRequest.js","statSize":1993},{"id":481,"label":"enhanceError.js","path":"./node_modules/axios/lib/core/enhanceError.js","statSize":1049},{"id":185,"label":"mergeConfig.js","path":"./node_modules/axios/lib/core/mergeConfig.js","statSize":2895},{"id":26,"label":"settle.js","path":"./node_modules/axios/lib/core/settle.js","statSize":706},{"id":527,"label":"transformData.js","path":"./node_modules/axios/lib/core/transformData.js","statSize":639}],"parsedSize":0,"gzipSize":0},{"id":655,"label":"defaults.js","path":"./node_modules/axios/lib/defaults.js","statSize":3557},{"label":"helpers","path":"./node_modules/axios/lib/helpers","statSize":12032,"groups":[{"id":849,"label":"bind.js","path":"./node_modules/axios/lib/helpers/bind.js","statSize":256},{"id":327,"label":"buildURL.js","path":"./node_modules/axios/lib/helpers/buildURL.js","statSize":1644},{"id":303,"label":"combineURLs.js","path":"./node_modules/axios/lib/helpers/combineURLs.js","statSize":380},{"id":372,"label":"cookies.js","path":"./node_modules/axios/lib/helpers/cookies.js","statSize":1435},{"id":793,"label":"isAbsoluteURL.js","path":"./node_modules/axios/lib/helpers/isAbsoluteURL.js","statSize":563},{"id":268,"label":"isAxiosError.js","path":"./node_modules/axios/lib/helpers/isAxiosError.js","statSize":343},{"id":985,"label":"isURLSameOrigin.js","path":"./node_modules/axios/lib/helpers/isURLSameOrigin.js","statSize":2305},{"id":16,"label":"normalizeHeaderName.js","path":"./node_modules/axios/lib/helpers/normalizeHeaderName.js","statSize":357},{"id":109,"label":"parseHeaders.js","path":"./node_modules/axios/lib/helpers/parseHeaders.js","statSize":1393},{"id":713,"label":"spread.js","path":"./node_modules/axios/lib/helpers/spread.js","statSize":564},{"id":875,"label":"validator.js","path":"./node_modules/axios/lib/helpers/validator.js","statSize":2792}],"parsedSize":0,"gzipSize":0},{"id":867,"label":"utils.js","path":"./node_modules/axios/lib/utils.js","statSize":8931}],"parsedSize":0,"gzipSize":0},{"id":593,"label":"package.json","path":"./node_modules/axios/package.json","statSize":2604}],"parsedSize":0,"gzipSize":0}]}] | ||
[{"label":"kontent-core.umd.min.js","isAsset":true,"statSize":72043,"parsedSize":25955,"gzipSize":8222,"groups":[{"label":"lib","path":"./lib","statSize":21692,"groups":[{"id":208,"label":"index.ts + 13 modules (concatenated)","path":"./lib/index.ts + 13 modules (concatenated)","statSize":21692,"parsedSize":25955,"gzipSize":8222,"concatenated":true,"groups":[{"label":"lib","path":"./lib/index.ts + 13 modules (concatenated)/lib","statSize":21692,"groups":[{"id":null,"label":"index.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/index.ts","statSize":98,"parsedSize":117,"gzipSize":37,"inaccurateSizes":true},{"label":"helpers","path":"./lib/index.ts + 13 modules (concatenated)/lib/helpers","statSize":8329,"groups":[{"id":null,"label":"index.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/helpers/index.ts","statSize":165,"parsedSize":197,"gzipSize":62,"inaccurateSizes":true},{"id":null,"label":"url.helper.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/helpers/url.helper.ts","statSize":601,"parsedSize":719,"gzipSize":227,"inaccurateSizes":true},{"id":null,"label":"header.helper.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/helpers/header.helper.ts","statSize":437,"parsedSize":522,"gzipSize":165,"inaccurateSizes":true},{"id":null,"label":"enum.helper.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/helpers/enum.helper.ts","statSize":1503,"parsedSize":1798,"gzipSize":569,"inaccurateSizes":true},{"id":null,"label":"retry-helper.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/helpers/retry-helper.ts","statSize":5327,"parsedSize":6373,"gzipSize":2019,"inaccurateSizes":true},{"id":null,"label":"headers-helper.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/helpers/headers-helper.ts","statSize":296,"parsedSize":354,"gzipSize":112,"inaccurateSizes":true}],"parsedSize":9965,"gzipSize":3156,"inaccurateSizes":true},{"label":"models","path":"./lib/index.ts + 13 modules (concatenated)/lib/models","statSize":859,"groups":[{"id":null,"label":"index.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/models/index.ts","statSize":92,"parsedSize":110,"gzipSize":34,"inaccurateSizes":true},{"id":null,"label":"parameters.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/models/parameters.ts","statSize":767,"parsedSize":917,"gzipSize":290,"inaccurateSizes":true}],"parsedSize":1027,"gzipSize":325,"inaccurateSizes":true},{"label":"http","path":"./lib/index.ts + 13 modules (concatenated)/lib/http","statSize":12406,"groups":[{"id":null,"label":"index.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/http/index.ts","statSize":206,"parsedSize":246,"gzipSize":78,"inaccurateSizes":true},{"id":null,"label":"http.service.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/http/http.service.ts","statSize":1366,"parsedSize":1634,"gzipSize":517,"inaccurateSizes":true},{"id":null,"label":"http.functions.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/http/http.functions.ts","statSize":9429,"parsedSize":11282,"gzipSize":3573,"inaccurateSizes":true},{"id":null,"label":"http.debugger.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/http/http.debugger.ts","statSize":375,"parsedSize":448,"gzipSize":142,"inaccurateSizes":true},{"id":null,"label":"test-http.service.ts","path":"./lib/index.ts + 13 modules (concatenated)/lib/http/test-http.service.ts","statSize":1030,"parsedSize":1232,"gzipSize":390,"inaccurateSizes":true}],"parsedSize":14844,"gzipSize":4702,"inaccurateSizes":true}],"parsedSize":25955,"gzipSize":8222,"inaccurateSizes":true}]}],"parsedSize":25955,"gzipSize":8222},{"label":"node_modules/axios","path":"./node_modules/axios","statSize":50351,"groups":[{"id":669,"label":"index.js","path":"./node_modules/axios/index.js","statSize":40},{"label":"lib","path":"./node_modules/axios/lib","statSize":50311,"groups":[{"label":"adapters","path":"./node_modules/axios/lib/adapters","statSize":6954,"groups":[{"id":448,"label":"xhr.js","path":"./node_modules/axios/lib/adapters/xhr.js","statSize":6954}],"parsedSize":0,"gzipSize":0},{"id":609,"label":"axios.js","path":"./node_modules/axios/lib/axios.js","statSize":1560},{"label":"cancel","path":"./node_modules/axios/lib/cancel","statSize":2956,"groups":[{"id":263,"label":"Cancel.js","path":"./node_modules/axios/lib/cancel/Cancel.js","statSize":385},{"id":972,"label":"CancelToken.js","path":"./node_modules/axios/lib/cancel/CancelToken.js","statSize":2469},{"id":502,"label":"isCancel.js","path":"./node_modules/axios/lib/cancel/isCancel.js","statSize":102}],"parsedSize":0,"gzipSize":0},{"label":"core","path":"./node_modules/axios/lib/core","statSize":14698,"groups":[{"id":321,"label":"Axios.js","path":"./node_modules/axios/lib/core/Axios.js","statSize":4221},{"id":782,"label":"InterceptorManager.js","path":"./node_modules/axios/lib/core/InterceptorManager.js","statSize":1363},{"id":97,"label":"buildFullPath.js","path":"./node_modules/axios/lib/core/buildFullPath.js","statSize":695},{"id":61,"label":"createError.js","path":"./node_modules/axios/lib/core/createError.js","statSize":625},{"id":572,"label":"dispatchRequest.js","path":"./node_modules/axios/lib/core/dispatchRequest.js","statSize":2122},{"id":481,"label":"enhanceError.js","path":"./node_modules/axios/lib/core/enhanceError.js","statSize":1132},{"id":185,"label":"mergeConfig.js","path":"./node_modules/axios/lib/core/mergeConfig.js","statSize":3195},{"id":26,"label":"settle.js","path":"./node_modules/axios/lib/core/settle.js","statSize":706},{"id":527,"label":"transformData.js","path":"./node_modules/axios/lib/core/transformData.js","statSize":639}],"parsedSize":0,"gzipSize":0},{"id":655,"label":"defaults.js","path":"./node_modules/axios/lib/defaults.js","statSize":3582},{"label":"env","path":"./node_modules/axios/lib/env","statSize":43,"groups":[{"id":288,"label":"data.js","path":"./node_modules/axios/lib/env/data.js","statSize":43}],"parsedSize":0,"gzipSize":0},{"label":"helpers","path":"./node_modules/axios/lib/helpers","statSize":11587,"groups":[{"id":849,"label":"bind.js","path":"./node_modules/axios/lib/helpers/bind.js","statSize":256},{"id":327,"label":"buildURL.js","path":"./node_modules/axios/lib/helpers/buildURL.js","statSize":1644},{"id":303,"label":"combineURLs.js","path":"./node_modules/axios/lib/helpers/combineURLs.js","statSize":380},{"id":372,"label":"cookies.js","path":"./node_modules/axios/lib/helpers/cookies.js","statSize":1435},{"id":793,"label":"isAbsoluteURL.js","path":"./node_modules/axios/lib/helpers/isAbsoluteURL.js","statSize":563},{"id":268,"label":"isAxiosError.js","path":"./node_modules/axios/lib/helpers/isAxiosError.js","statSize":343},{"id":985,"label":"isURLSameOrigin.js","path":"./node_modules/axios/lib/helpers/isURLSameOrigin.js","statSize":2305},{"id":16,"label":"normalizeHeaderName.js","path":"./node_modules/axios/lib/helpers/normalizeHeaderName.js","statSize":357},{"id":109,"label":"parseHeaders.js","path":"./node_modules/axios/lib/helpers/parseHeaders.js","statSize":1393},{"id":713,"label":"spread.js","path":"./node_modules/axios/lib/helpers/spread.js","statSize":564},{"id":875,"label":"validator.js","path":"./node_modules/axios/lib/helpers/validator.js","statSize":2347}],"parsedSize":0,"gzipSize":0},{"id":867,"label":"utils.js","path":"./node_modules/axios/lib/utils.js","statSize":8931}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0}]}] |
@@ -5,4 +5,4 @@ | ||
host: 'npmjs.com', | ||
version: '9.3.0', | ||
version: '9.4.0', | ||
name: '@kentico/kontent-core' | ||
}; |
{ | ||
"name": "@kentico/kontent-core", | ||
"version": "9.3.0", | ||
"version": "9.4.0", | ||
"repository": { | ||
@@ -55,12 +55,12 @@ "type": "git", | ||
"dependencies": { | ||
"axios": "0.21.4" | ||
"axios": "0.24.0" | ||
}, | ||
"devDependencies": { | ||
"@types/jasmine": "3.9.1", | ||
"@types/node": "16.9.6", | ||
"@types/jasmine": "3.10.2", | ||
"@types/node": "16.11.10", | ||
"colors": "1.4.0", | ||
"core-js": "3.18.0", | ||
"jasmine-core": "3.9.0", | ||
"core-js": "3.19.1", | ||
"jasmine-core": "3.10.1", | ||
"jasmine-spec-reporter": "7.0.0", | ||
"karma": "6.3.4", | ||
"karma": "6.3.9", | ||
"karma-chrome-launcher": "3.1.0", | ||
@@ -74,12 +74,12 @@ "karma-cli": "2.0.0", | ||
"karma-webpack": "5.0.0", | ||
"mocha": "9.1.1", | ||
"standard-version": "9.3.1", | ||
"mocha": "9.1.3", | ||
"standard-version": "9.3.2", | ||
"ts-loader": "9.2.6", | ||
"ts-node": "10.2.1", | ||
"ts-node": "10.4.0", | ||
"tslint": "6.1.3", | ||
"typescript": "4.4.3", | ||
"webpack": "5.53.0", | ||
"webpack-bundle-analyzer": "4.4.2", | ||
"webpack-cli": "4.8.0" | ||
"typescript": "4.4.4", | ||
"webpack": "5.64.4", | ||
"webpack-bundle-analyzer": "4.5.0", | ||
"webpack-cli": "4.9.1" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1694619
30886
+ Addedaxios@0.24.0(transitive)
- Removedaxios@0.21.4(transitive)
Updatedaxios@0.24.0