From 5cb9b3fe72133b965eb4163e8e86b0406d3f41c3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 11 Nov 2023 04:11:22 +0000 Subject: [PATCH] chore(deps): Bump regenerator-runtime from 0.13.11 to 0.14.0 Bumps [regenerator-runtime](https://github.com/facebook/regenerator) from 0.13.11 to 0.14.0. - [Release notes](https://github.com/facebook/regenerator/releases) - [Commits](https://github.com/facebook/regenerator/compare/regenerator-runtime@0.13.11...regenerator-runtime@0.14.0) --- updated-dependencies: - dependency-name: regenerator-runtime dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Signed-off-by: nextcloud-command --- dist/core-main.js | 4 ++-- dist/core-main.js.map | 2 +- package-lock.json | 24 +++++++++--------------- package.json | 2 +- 4 files changed, 13 insertions(+), 19 deletions(-) diff --git a/dist/core-main.js b/dist/core-main.js index bf8fe45e500..63a0fd989c0 100644 --- a/dist/core-main.js +++ b/dist/core-main.js @@ -1,3 +1,3 @@ /*! For license information please see core-main.js.LICENSE.txt */ -(()=>{var e,i,o,r={93701:(e,i,o)=>{"use strict";var r={};o.r(r),o.d(r,{deleteKey:()=>k,getApps:()=>v,getKeys:()=>x,getValue:()=>w,setValue:()=>y});var s={};o.r(s),o.d(s,{formatLinksPlain:()=>xi,formatLinksRich:()=>vi,plainToRich:()=>bi,richToPlain:()=>Ci});var a={};o.r(a),o.d(a,{dismiss:()=>ki,query:()=>yi}),o(92676),o(35666);var c=o(69183),l=o(59050),u=o(19755),h=o.n(u),d=o(64024),p=o(25108);const A={updatableNotification:null,getDefaultNotificationFunction:null,setDefault(t){this.getDefaultNotificationFunction=t},hide(t,e){l.default.isFunction(t)&&(e=t,t=void 0),t?(t.each((function(){h()(this)[0].toastify?h()(this)[0].toastify.hideToast():p.error("cannot hide toast because object is not set"),this===this.updatableNotification&&(this.updatableNotification=null)})),e&&e.call(),this.getDefaultNotificationFunction&&this.getDefaultNotificationFunction()):p.error("Missing argument $row in OC.Notification.hide() call, caller needs to be adjusted to only dismiss its own notification")},showHtml(t,e){(e=e||{}).isHTML=!0,e.timeout=e.timeout?e.timeout:d.Rl;const i=(0,d.PV)(t,e);return i.toastElement.toastify=i,h()(i.toastElement)},show(t,e){(e=e||{}).timeout=e.timeout?e.timeout:d.Rl;const i=(0,d.PV)(function(t){return t.toString().split("&").join("&").split("<").join("<").split(">").join(">").split('"').join(""").split("'").join("'")}(t),e);return i.toastElement.toastify=i,h()(i.toastElement)},showUpdate(t){return this.updatableNotification&&this.updatableNotification.hideToast(),this.updatableNotification=(0,d.PV)(t,{timeout:d.Rl}),this.updatableNotification.toastElement.toastify=this.updatableNotification,h()(this.updatableNotification.toastElement)},showTemporary(t,e){(e=e||{}).timeout=e.timeout||d.TN;const i=(0,d.PV)(t,e);return i.toastElement.toastify=i,h()(i.toastElement)},isHidden:()=>!h()("#content").find(".toastify").length},f=l.default.throttle((()=>{A.showTemporary(t("core","Connection to server lost"))}),7e3,{trailing:!1});let g=!1;const m={enableDynamicSlideToggle(){g=!0},showAppSidebar:function(t){(t||h()("#app-sidebar")).removeClass("disappear").show(),h()("#app-content").trigger(new(h().Event)("appresized"))},hideAppSidebar:function(t){(t||h()("#app-sidebar")).hide().addClass("disappear"),h()("#app-content").trigger(new(h().Event)("appresized"))}};var b=o(79753);function C(t,e,i){"post"!==t&&"delete"!==t||!_t.PasswordConfirmation.requiresPasswordConfirmation()?(i=i||{},h().ajax({type:t.toUpperCase(),url:(0,b.generateOcsUrl)("apps/provisioning_api/api/v1/config/apps")+e,data:i.data||{},success:i.success,error:i.error})):_t.PasswordConfirmation.requirePasswordConfirmation(_.bind(C,this,t,e,i))}function v(t){C("get","",t)}function x(t,e){C("get","/"+t,e)}function w(t,e,i,n){(n=n||{}).data={defaultValue:i},C("get","/"+t+"/"+e,n)}function y(t,e,i,n){(n=n||{}).data={value:i},C("post","/"+t+"/"+e,n)}function k(t,e,i){C("delete","/"+t+"/"+e,i)}const B=window.oc_appconfig||{},E={getValue:function(t,e,i,n){w(t,e,i,{success:n})},setValue:function(t,e,i){y(t,e,i)},getApps:function(t){v({success:t})},getKeys:function(t,e){x(t,{success:e})},deleteKey:function(t,e){k(t,e)}},D=void 0!==window._oc_appswebroots&&window._oc_appswebroots;var I=o(72316),S=o.n(I),T=o(76591),M=o(25108);const P={create:"POST",update:"PROPPATCH",patch:"PROPPATCH",delete:"DELETE",read:"PROPFIND"};function O(t,e){if(l.default.isArray(t))return l.default.map(t,(function(t){return O(t,e)}));var i={href:t.href};return l.default.each(t.propStat,(function(t){if("HTTP/1.1 200 OK"===t.status)for(var n in t.properties){var o=n;n in e&&(o=e[n]),i[o]=t.properties[n]}})),i.id||(i.id=z(i.href)),i}function z(t){var e=t.indexOf("?");e>0&&(t=t.substr(0,e));var i,n=t.split("/");do{i=n[n.length-1],n.pop()}while(!i&&n.length>0);return i}function R(t){return t>=200&&t<=299}function N(t,e,i,n){return t.propPatch(e.url,function(t,e){var i,n={};for(i in t){var o=e[i],r=t[i];o||(M.warn('No matching DAV property for property "'+i),o=i),(l.default.isBoolean(r)||l.default.isNumber(r))&&(r=""+r),n[o]=r}return n}(i.changed,e.davProperties),n).then((function(t){R(t.status)?l.default.isFunction(e.success)&&e.success(i.toJSON()):l.default.isFunction(e.error)&&e.error(t)}))}const H=S().noConflict();Object.assign(H,{davCall:(t,e)=>{var i=new T.dav.Client({baseUrl:t.url,xmlNamespaces:l.default.extend({"DAV:":"d","http://owncloud.org/ns":"oc"},t.xmlNamespaces||{})});i.resolveUrl=function(){return t.url};var n=l.default.extend({"X-Requested-With":"XMLHttpRequest",requesttoken:OC.requestToken},t.headers);return"PROPFIND"===t.type?function(t,e,i,n){return t.propFind(e.url,l.default.values(e.davProperties)||[],e.depth,n).then((function(t){if(R(t.status)){if(l.default.isFunction(e.success)){var i=l.default.invert(e.davProperties),n=O(t.body,i);e.depth>0&&n.shift(),e.success(n)}}else l.default.isFunction(e.error)&&e.error(t)}))}(i,t,0,n):"PROPPATCH"===t.type?N(i,t,e,n):"MKCOL"===t.type?function(t,e,i,n){return t.request(e.type,e.url,n,null).then((function(o){R(o.status)?N(t,e,i,n):l.default.isFunction(e.error)&&e.error(o)}))}(i,t,e,n):function(t,e,i,n){return n["Content-Type"]="application/json",t.request(e.type,e.url,n,e.data).then((function(t){if(R(t.status)){if(l.default.isFunction(e.success)){if("PUT"===e.type||"POST"===e.type||"MKCOL"===e.type){var n=t.body||i.toJSON(),o=t.xhr.getResponseHeader("Content-Location");return"POST"===e.type&&o&&(n.id=z(o)),void e.success(n)}if(207===t.status){var r=l.default.invert(e.davProperties);e.success(O(t.body,r))}else e.success(t.body)}}else l.default.isFunction(e.error)&&e.error(t)}))}(i,t,e,n)},davSync:(t=>(e,i,n)=>{var o={type:P[e]||e},r=i instanceof t.Collection;if("update"===e&&(i.hasInnerCollection?o.type="MKCOL":(i.usePUT||i.collection&&i.collection.usePUT)&&(o.type="PUT")),n.url||(o.url=l.default.result(i,"url")||function(){throw new Error('A "url" property or function must be specified')}()),null!=n.data||!i||"create"!==e&&"update"!==e&&"patch"!==e||(o.data=JSON.stringify(n.attrs||i.toJSON(n))),"PROPFIND"!==o.type&&(o.processData=!1),"PROPFIND"===o.type||"PROPPATCH"===o.type){var s=i.davProperties;!s&&i.model&&(s=i.model.prototype.davProperties),s&&(l.default.isFunction(s)?o.davProperties=s.call(i):o.davProperties=s),o.davProperties=l.default.extend(o.davProperties||{},n.davProperties),l.default.isUndefined(n.depth)&&(n.depth=r?1:0)}var a=n.error;n.error=function(t,e,i){n.textStatus=e,n.errorThrown=i,a&&a.call(n.context,t,e,i)};var c=n.xhr=t.davCall(l.default.extend(o,n),i);return i.trigger("request",i,c,n),c})(H)});const j=H;var U=o(65358);const L=window._oc_config||{},F=document.getElementsByTagName("head")[0].getAttribute("data-user"),W=document.getElementsByTagName("head")[0].getAttribute("data-user-displayname"),Y=void 0!==F&&F;var Q=o(96384),q=o(59546),G=o(62520);const X={YES_NO_BUTTONS:70,OK_BUTTONS:71,FILEPICKER_TYPE_CHOOSE:1,FILEPICKER_TYPE_MOVE:2,FILEPICKER_TYPE_COPY:3,FILEPICKER_TYPE_COPY_MOVE:4,FILEPICKER_TYPE_CUSTOM:5,dialogsCounter:0,alert:function(t,e,i,n){this.message(t,e,"alert",X.OK_BUTTON,i,n)},info:function(t,e,i,n){this.message(t,e,"info",X.OK_BUTTON,i,n)},confirm:function(t,e,i,n){return this.message(t,e,"notice",X.YES_NO_BUTTONS,i,n)},confirmDestructive:function(t,e,i,n,o){return this.message(t,e,"none",i,n,void 0===o||o)},confirmHtml:function(t,e,i,n){return this.message(t,e,"notice",X.YES_NO_BUTTONS,i,n,!0)},prompt:function(e,i,n,o,r,s){return h().when(this._getMessageTemplate()).then((function(a){var c="oc-dialog-"+X.dialogsCounter+"-content",u="#"+c,d=a.octemplate({dialog_name:c,title:i,message:e,type:"notice"}),p=h()("");p.attr("type",s?"password":"text").attr("id",c+"-input").attr("placeholder",r);var A=h()("