Merge pull request #56268 from nextcloud/dependabot/npm_and_yarn/stable31/nextcloud/upload-1.11.0

This commit is contained in:
dependabot[bot] 2025-11-11 22:30:47 +00:00 committed by GitHub
commit 3d809ea0f9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
33 changed files with 55 additions and 60 deletions

2
dist/1656-1656.js vendored
View file

@ -1,2 +0,0 @@
"use strict";(self.webpackChunknextcloud=self.webpackChunknextcloud||[]).push([[1656],{4466:(e,t,a)=>{a.d(t,{A:()=>l});var n=a(71354),i=a.n(n),r=a(76314),s=a.n(r)()(i());s.push([e.id,"\n.invalid-filename-dialog__input[data-v-3a479259] {\n\t/* Ensure the helper text can always be shown without jumping */\n\tmin-height: calc(var(--default-clickable-area) + 4 * var(--default-font-size));\n}\n","",{version:3,sources:["webpack://./node_modules/@nextcloud/upload/dist/assets/InvalidFilenameDialog-YDOzIzS6.css"],names:[],mappings:";AACA;CACC,+DAA+D;CAC/D,8EAA8E;AAC/E",sourcesContent:["\n.invalid-filename-dialog__input[data-v-3a479259] {\n\t/* Ensure the helper text can always be shown without jumping */\n\tmin-height: calc(var(--default-clickable-area) + 4 * var(--default-font-size));\n}\n"],sourceRoot:""}]);const l=s},11656:(e,t,a)=>{a.r(t),a.d(t,{default:()=>_});var n=a(85072),i=a.n(n),r=a(97825),s=a.n(r),l=a(77659),o=a.n(l),c=a(55056),d=a.n(c),m=a(10540),u=a.n(m),h=a(41113),p=a.n(h),f=a(4466),v={};v.styleTagTransform=p(),v.setAttributes=d(),v.insert=o().bind(null,"head"),v.domAPI=s(),v.insertStyleElement=u(),i()(f.A,v),f.A&&f.A.locals&&f.A.locals;var g=a(35810),w=a(85471),A=a(85748),E=a(94219),b=a(82182),N=a(3226);const y=(0,w.pM)({components:{NcDialog:E.A,NcNoteCard:N.A,NcTextField:b.A},props:{error:{type:g.di,required:!0},validateFilename:{type:Function,required:!0}},setup:()=>({t:A.t}),data:()=>({newName:"",validationError:""}),computed:{isValidName(){return""===this.validationError},isInvalidFileType(){return this.error.reason===g.nF.Extension&&null!==this.error.segment.match(/^\.\w/)},canRename(){return!this.isInvalidFileType},dialogButtons(){const e=[{label:(0,A.t)("Cancel"),type:"error",callback:()=>{this.$emit("close",{cancel:!0})}},{label:(0,A.t)("Skip"),callback:()=>{this.$emit("close",{skip:!0})}}];return this.canRename&&e.push({label:(0,A.t)("Rename"),type:"primary",disabled:!this.isValidName,callback:()=>{this.$emit("close",{rename:this.newName.trimEnd()})}}),e}},watch:{error:{handler(){this.validationError=this.getErrorText(this.error),this.newName=this.error.filename},immediate:!0},newName(){try{this.validateFilename(this.newName.trimEnd()),this.validationError=""}catch(e){this.validationError=this.getErrorText(e)}finally{const e=this.$refs.textfield?.$el.querySelector("input");e&&(e.setCustomValidity(this.validationError),e.reportValidity())}}},methods:{getErrorText(e){switch(e.reason){case g.nF.Character:return(0,A.t)('"{segment}" is not allowed inside a file or folder name.',{segment:e.segment});case g.nF.ReservedName:return(0,A.t)('"{segment}" is a forbidden file or folder name.',{segment:e.segment});case g.nF.Extension:return e.segment.match(/\.\w/)?(0,A.t)('"{segment}" is a forbidden file type.',{segment:e.segment}):(0,A.t)('Filenames must not end with "{segment}".',{segment:e.segment})}}}});var x=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("NcDialog",{attrs:{buttons:e.dialogButtons,name:e.t("Invalid filename")},on:{close:function(t){return e.$emit("close",{cancel:!0})}}},[t("NcNoteCard",{attrs:{severity:"error"}},[e._v(" "+e._s(e.getErrorText(e.error))+" "+e._s(e.t("You can either rename the file, skip this file or cancel the whole operation."))+" ")]),e.canRename?t("NcTextField",{ref:"textfield",staticClass:"invalid-filename-dialog__input",attrs:{error:!e.isValidName,"helper-text":e.validationError,label:e.t("New filename"),value:e.newName},on:{"update:value":function(t){e.newName=t}}}):e._e()],1)},C=[];const _=(0,A.n)(y,x,C,!1,null,"3a479259").exports}}]);
//# sourceMappingURL=1656-1656.js.map?v=add223a88c3ff25f5e22

File diff suppressed because one or more lines are too long

View file

@ -1 +0,0 @@
1656-1656.js.license

2
dist/3485-3485.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1 +0,0 @@
3485-3485.js.license

4
dist/4107-4107.js vendored

File diff suppressed because one or more lines are too long

View file

@ -84,10 +84,10 @@ This file is generated from multiple sources. Included packages:
- version: 5.0.1
- license: MIT
- p-queue
- version: 8.1.0
- version: 8.1.1
- license: MIT
- @nextcloud/upload
- version: 1.10.0
- version: 1.11.0
- license: AGPL-3.0-or-later
- @nextcloud/vue
- version: 8.29.2

File diff suppressed because one or more lines are too long

2
dist/6590-6590.js vendored Normal file
View file

@ -0,0 +1,2 @@
"use strict";(self.webpackChunknextcloud=self.webpackChunknextcloud||[]).push([[6590],{66590:(e,t,a)=>{a.r(t),a.d(t,{default:()=>_});var n=a(85072),i=a.n(n),r=a(97825),s=a.n(r),l=a(77659),o=a.n(l),d=a(55056),c=a.n(d),m=a(10540),u=a.n(m),h=a(41113),p=a.n(h),f=a(69905),v={};v.styleTagTransform=p(),v.setAttributes=c(),v.insert=o().bind(null,"head"),v.domAPI=s(),v.insertStyleElement=u(),i()(f.A,v),f.A&&f.A.locals&&f.A.locals;var g=a(35810),w=a(85471),E=a(90231),A=a(94219),b=a(82182),N=a(3226);const y=(0,w.pM)({components:{NcDialog:A.A,NcNoteCard:N.A,NcTextField:b.A},props:{error:{type:g.di,required:!0},validateFilename:{type:Function,required:!0}},setup:()=>({t:E.t}),data:()=>({newName:"",validationError:""}),computed:{isValidName(){return""===this.validationError},isInvalidFileType(){return this.error.reason===g.nF.Extension&&null!==this.error.segment.match(/^\.\w/)},canRename(){return!this.isInvalidFileType},dialogButtons(){const e=[{label:(0,E.t)("Cancel"),type:"error",callback:()=>{this.$emit("close",{cancel:!0})}},{label:(0,E.t)("Skip"),callback:()=>{this.$emit("close",{skip:!0})}}];return this.canRename&&e.push({label:(0,E.t)("Rename"),type:"primary",disabled:!this.isValidName,callback:()=>{this.$emit("close",{rename:this.newName.trimEnd()})}}),e}},watch:{error:{handler(){this.validationError=this.getErrorText(this.error),this.newName=this.error.filename},immediate:!0},newName(){try{this.validateFilename(this.newName.trimEnd()),this.validationError=""}catch(e){this.validationError=this.getErrorText(e)}finally{const e=this.$refs.textfield?.$el.querySelector("input");e&&(e.setCustomValidity(this.validationError),e.reportValidity())}}},methods:{getErrorText(e){switch(e.reason){case g.nF.Character:return(0,E.t)('"{segment}" is not allowed inside a file or folder name.',{segment:e.segment});case g.nF.ReservedName:return(0,E.t)('"{segment}" is a forbidden file or folder name.',{segment:e.segment});case g.nF.Extension:return e.segment.match(/\.\w/)?(0,E.t)('"{segment}" is a forbidden file type.',{segment:e.segment}):(0,E.t)('Filenames must not end with "{segment}".',{segment:e.segment})}}}});var x=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("NcDialog",{attrs:{buttons:e.dialogButtons,name:e.t("Invalid filename")},on:{close:function(t){return e.$emit("close",{cancel:!0})}}},[t("NcNoteCard",{attrs:{severity:"error"}},[e._v(" "+e._s(e.getErrorText(e.error))+" "+e._s(e.t("You can either rename the file, skip this file or cancel the whole operation."))+" ")]),e.canRename?t("NcTextField",{ref:"textfield",staticClass:"invalid-filename-dialog__input",attrs:{error:!e.isValidName,"helper-text":e.validationError,label:e.t("New filename"),value:e.newName},on:{"update:value":function(t){e.newName=t}}}):e._e()],1)},C=[];const _=(0,E.n)(y,x,C,!1,null,"9d7d9a49").exports},69905:(e,t,a)=>{a.d(t,{A:()=>l});var n=a(71354),i=a.n(n),r=a(76314),s=a.n(r)()(i());s.push([e.id,"\n.invalid-filename-dialog__input[data-v-9d7d9a49] {\n\t/* Ensure the helper text can always be shown without jumping */\n\tmin-height: calc(var(--default-clickable-area) + 4 * var(--default-font-size));\n}\n","",{version:3,sources:["webpack://./node_modules/@nextcloud/upload/dist/assets/InvalidFilenameDialog-DKMLP0ER.css"],names:[],mappings:";AACA;CACC,+DAA+D;CAC/D,8EAA8E;AAC/E",sourcesContent:["\n.invalid-filename-dialog__input[data-v-9d7d9a49] {\n\t/* Ensure the helper text can always be shown without jumping */\n\tmin-height: calc(var(--default-clickable-area) + 4 * var(--default-font-size));\n}\n"],sourceRoot:""}]);const l=s}}]);
//# sourceMappingURL=6590-6590.js.map?v=0129bef94a456f87956c

View file

@ -80,10 +80,10 @@ This file is generated from multiple sources. Included packages:
- version: 5.0.1
- license: MIT
- p-queue
- version: 8.1.0
- version: 8.1.1
- license: MIT
- @nextcloud/upload
- version: 1.10.0
- version: 1.11.0
- license: AGPL-3.0-or-later
- @nextcloud/vue
- version: 8.29.2

1
dist/6590-6590.js.map vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/6590-6590.js.map.license vendored Symbolic link
View file

@ -0,0 +1 @@
6590-6590.js.license

2
dist/9107-9107.js vendored Normal file

File diff suppressed because one or more lines are too long

View file

@ -80,10 +80,10 @@ This file is generated from multiple sources. Included packages:
- version: 5.0.1
- license: MIT
- p-queue
- version: 8.1.0
- version: 8.1.1
- license: MIT
- @nextcloud/upload
- version: 1.10.0
- version: 1.11.0
- license: AGPL-3.0-or-later
- @nextcloud/vue
- version: 8.29.2

1
dist/9107-9107.js.map vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/9107-9107.js.map.license vendored Symbolic link
View file

@ -0,0 +1 @@
9107-9107.js.license

4
dist/core-common.js vendored

File diff suppressed because one or more lines are too long

View file

@ -180,10 +180,10 @@ This file is generated from multiple sources. Included packages:
- version: 5.0.1
- license: MIT
- p-queue
- version: 8.1.0
- version: 8.1.1
- license: MIT
- @nextcloud/upload
- version: 1.10.0
- version: 1.11.0
- license: AGPL-3.0-or-later
- @nextcloud/vue-select
- version: 3.25.1

File diff suppressed because one or more lines are too long

4
dist/files-init.js vendored

File diff suppressed because one or more lines are too long

View file

@ -108,10 +108,10 @@ This file is generated from multiple sources. Included packages:
- version: 5.0.1
- license: MIT
- p-queue
- version: 8.1.0
- version: 8.1.1
- license: MIT
- @nextcloud/upload
- version: 1.10.0
- version: 1.11.0
- license: AGPL-3.0-or-later
- @nextcloud/vue
- version: 8.29.2

File diff suppressed because one or more lines are too long

4
dist/files-main.js vendored

File diff suppressed because one or more lines are too long

View file

@ -114,10 +114,10 @@ This file is generated from multiple sources. Included packages:
- version: 5.0.1
- license: MIT
- p-queue
- version: 8.1.0
- version: 8.1.1
- license: MIT
- @nextcloud/upload
- version: 1.10.0
- version: 1.11.0
- license: AGPL-3.0-or-later
- @nextcloud/vue
- version: 8.29.2

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -83,10 +83,10 @@ This file is generated from multiple sources. Included packages:
- version: 5.0.1
- license: MIT
- p-queue
- version: 8.1.0
- version: 8.1.1
- license: MIT
- @nextcloud/upload
- version: 1.10.0
- version: 1.11.0
- license: AGPL-3.0-or-later
- @nextcloud/vue
- version: 8.29.2

File diff suppressed because one or more lines are too long

33
package-lock.json generated
View file

@ -29,7 +29,7 @@
"@nextcloud/paths": "^2.2.1",
"@nextcloud/router": "^3.0.1",
"@nextcloud/sharing": "^0.3.0",
"@nextcloud/upload": "^1.10.0",
"@nextcloud/upload": "^1.11.0",
"@nextcloud/vue": "^8.29.2",
"@simplewebauthn/browser": "^12.0.0",
"@vue/web-component-wrapper": "^1.3.0",
@ -4055,31 +4055,29 @@
}
},
"node_modules/@nextcloud/upload": {
"version": "1.10.0",
"resolved": "https://registry.npmjs.org/@nextcloud/upload/-/upload-1.10.0.tgz",
"integrity": "sha512-858XP34dV9EknJXkXRvph4cQDKJB5kBVl6j5zQBgTfjKQ9znxY8KbZXpgzQtiNSJQR6GjDFnZzYrf9cCWlLzOg==",
"license": "AGPL-3.0-or-later",
"version": "1.11.0",
"resolved": "https://registry.npmjs.org/@nextcloud/upload/-/upload-1.11.0.tgz",
"integrity": "sha512-F1+eRc7f2GvWgKvOzPhAZ4NzVhXpJUKt1GhUZYDLQPAbv6zE2AJ2w3i9J8L2+Gc507JVhBPykqcUFB31/ztP2A==",
"dependencies": {
"@nextcloud/auth": "^2.4.0",
"@nextcloud/auth": "^2.5.1",
"@nextcloud/axios": "^2.5.1",
"@nextcloud/capabilities": "^1.2.0",
"@nextcloud/dialogs": "^6.1.1",
"@nextcloud/files": "^3.10.2",
"@nextcloud/l10n": "^3.2.0",
"@nextcloud/files": "^3.12.0",
"@nextcloud/l10n": "^3.3.0",
"@nextcloud/logger": "^3.0.2",
"@nextcloud/paths": "^2.2.1",
"@nextcloud/router": "^3.0.0",
"@nextcloud/sharing": "^0.2.4",
"axios": "^1.9.0",
"axios": "^1.11.0",
"axios-retry": "^4.5.0",
"crypto-browserify": "^3.12.1",
"p-cancelable": "^4.0.1",
"p-queue": "^8.1.0",
"p-queue": "^8.1.1",
"typescript-event-target": "^1.1.1"
},
"engines": {
"node": "^20.0.0",
"npm": "^10.0.0"
"node": "^20.0.0 || ^22.0.0 || ^24.0.0"
},
"peerDependencies": {
"@nextcloud/vue": "^8.0.0",
@ -4101,14 +4099,12 @@
"node_modules/@nextcloud/upload/node_modules/eventemitter3": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz",
"integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==",
"license": "MIT"
"integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA=="
},
"node_modules/@nextcloud/upload/node_modules/p-queue": {
"version": "8.1.0",
"resolved": "https://registry.npmjs.org/p-queue/-/p-queue-8.1.0.tgz",
"integrity": "sha512-mxLDbbGIBEXTJL0zEx8JIylaj3xQ7Z/7eEVjcF9fJX4DBiH9oqe+oahYnlKKxm0Ci9TlWTyhSHgygxMxjIB2jw==",
"license": "MIT",
"version": "8.1.1",
"resolved": "https://registry.npmjs.org/p-queue/-/p-queue-8.1.1.tgz",
"integrity": "sha512-aNZ+VfjobsWryoiPnEApGGmf5WmNsCo9xu8dfaYamG5qaLP7ClhLN6NgsFe6SwJ2UbLEBK5dv9x8Mn5+RVhMWQ==",
"dependencies": {
"eventemitter3": "^5.0.1",
"p-timeout": "^6.1.2"
@ -4124,7 +4120,6 @@
"version": "6.1.4",
"resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-6.1.4.tgz",
"integrity": "sha512-MyIV3ZA/PmyBN/ud8vV9XzwTrNtR4jFrObymZYnZqMmW0zA8Z17vnT0rBgFE/TlohB+YCHqXMgZzb3Csp49vqg==",
"license": "MIT",
"engines": {
"node": ">=14.16"
},

View file

@ -66,7 +66,7 @@
"@nextcloud/paths": "^2.2.1",
"@nextcloud/router": "^3.0.1",
"@nextcloud/sharing": "^0.3.0",
"@nextcloud/upload": "^1.10.0",
"@nextcloud/upload": "^1.11.0",
"@nextcloud/vue": "^8.29.2",
"@simplewebauthn/browser": "^12.0.0",
"@vue/web-component-wrapper": "^1.3.0",