Skip to content

Commit d1bf4bc

Browse files
authored
Merge branch 'main' into dependabot-npm_and_yarn-internxt-sdk-1.10.4
2 parents 8af6f26 + cbc94de commit d1bf4bc

5 files changed

Lines changed: 35 additions & 37 deletions

File tree

.github/workflows/sonarcloud.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- run: yarn test:unit
3434
# Analyze with SonarCloud
3535
- name: Analyze with SonarCloud
36-
uses: SonarSource/sonarcloud-github-action@master
36+
uses: SonarSource/sonarqube-scan-action@master
3737
env:
3838
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information
3939
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} # Generate a token on Sonarcloud.io, add it to the secrets of this repo with the name SONAR_TOKEN (Settings > Secrets > Actions > add new repository secret)

README.md

Lines changed: 26 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ A CLI tool to interact with your Internxt encrypted files
77

88
<!-- toc -->
99
* [Internxt CLI](#internxt-cli)
10+
* [Project Maintenance](#project-maintenance)
1011
* [Installation](#installation)
1112
* [Usage](#usage)
1213
* [Commands](#commands)
@@ -50,7 +51,7 @@ $ npm install -g @internxt/cli
5051
$ internxt COMMAND
5152
running command...
5253
$ internxt (--version)
53-
@internxt/cli/1.5.3 win32-x64 node-v23.7.0
54+
@internxt/cli/1.5.4 win32-x64 node-v23.7.0
5455
$ internxt --help [COMMAND]
5556
USAGE
5657
$ internxt COMMAND
@@ -118,7 +119,7 @@ EXAMPLES
118119
$ internxt add-cert
119120
```
120121

121-
_See code: [src/commands/add-cert.ts](https://github.com/internxt/cli/blob/v1.5.3/src/commands/add-cert.ts)_
122+
_See code: [src/commands/add-cert.ts](https://github.com/internxt/cli/blob/v1.5.4/src/commands/add-cert.ts)_
122123

123124
## `internxt config`
124125

@@ -138,7 +139,7 @@ EXAMPLES
138139
$ internxt config
139140
```
140141

141-
_See code: [src/commands/config.ts](https://github.com/internxt/cli/blob/v1.5.3/src/commands/config.ts)_
142+
_See code: [src/commands/config.ts](https://github.com/internxt/cli/blob/v1.5.4/src/commands/config.ts)_
142143

143144
## `internxt create-folder`
144145

@@ -167,7 +168,7 @@ EXAMPLES
167168
$ internxt create-folder
168169
```
169170

170-
_See code: [src/commands/create-folder.ts](https://github.com/internxt/cli/blob/v1.5.3/src/commands/create-folder.ts)_
171+
_See code: [src/commands/create-folder.ts](https://github.com/internxt/cli/blob/v1.5.4/src/commands/create-folder.ts)_
171172

172173
## `internxt delete-permanently-file`
173174

@@ -197,7 +198,7 @@ EXAMPLES
197198
$ internxt delete-permanently-file
198199
```
199200

200-
_See code: [src/commands/delete-permanently-file.ts](https://github.com/internxt/cli/blob/v1.5.3/src/commands/delete-permanently-file.ts)_
201+
_See code: [src/commands/delete-permanently-file.ts](https://github.com/internxt/cli/blob/v1.5.4/src/commands/delete-permanently-file.ts)_
201202

202203
## `internxt delete-permanently-folder`
203204

@@ -227,7 +228,7 @@ EXAMPLES
227228
$ internxt delete-permanently-folder
228229
```
229230

230-
_See code: [src/commands/delete-permanently-folder.ts](https://github.com/internxt/cli/blob/v1.5.3/src/commands/delete-permanently-folder.ts)_
231+
_See code: [src/commands/delete-permanently-folder.ts](https://github.com/internxt/cli/blob/v1.5.4/src/commands/delete-permanently-folder.ts)_
231232

232233
## `internxt delete permanently file`
233234

@@ -316,7 +317,7 @@ EXAMPLES
316317
$ internxt download-file
317318
```
318319

319-
_See code: [src/commands/download-file.ts](https://github.com/internxt/cli/blob/v1.5.3/src/commands/download-file.ts)_
320+
_See code: [src/commands/download-file.ts](https://github.com/internxt/cli/blob/v1.5.4/src/commands/download-file.ts)_
320321

321322
## `internxt download file`
322323

@@ -375,7 +376,7 @@ EXAMPLES
375376
$ internxt list
376377
```
377378

378-
_See code: [src/commands/list.ts](https://github.com/internxt/cli/blob/v1.5.3/src/commands/list.ts)_
379+
_See code: [src/commands/list.ts](https://github.com/internxt/cli/blob/v1.5.4/src/commands/list.ts)_
379380

380381
## `internxt login`
381382

@@ -404,7 +405,7 @@ EXAMPLES
404405
$ internxt login
405406
```
406407

407-
_See code: [src/commands/login.ts](https://github.com/internxt/cli/blob/v1.5.3/src/commands/login.ts)_
408+
_See code: [src/commands/login.ts](https://github.com/internxt/cli/blob/v1.5.4/src/commands/login.ts)_
408409

409410
## `internxt logout`
410411

@@ -424,7 +425,7 @@ EXAMPLES
424425
$ internxt logout
425426
```
426427

427-
_See code: [src/commands/logout.ts](https://github.com/internxt/cli/blob/v1.5.3/src/commands/logout.ts)_
428+
_See code: [src/commands/logout.ts](https://github.com/internxt/cli/blob/v1.5.4/src/commands/logout.ts)_
428429

429430
## `internxt logs`
430431

@@ -444,7 +445,7 @@ EXAMPLES
444445
$ internxt logs
445446
```
446447

447-
_See code: [src/commands/logs.ts](https://github.com/internxt/cli/blob/v1.5.3/src/commands/logs.ts)_
448+
_See code: [src/commands/logs.ts](https://github.com/internxt/cli/blob/v1.5.4/src/commands/logs.ts)_
448449

449450
## `internxt move-file`
450451

@@ -476,7 +477,7 @@ EXAMPLES
476477
$ internxt move-file
477478
```
478479

479-
_See code: [src/commands/move-file.ts](https://github.com/internxt/cli/blob/v1.5.3/src/commands/move-file.ts)_
480+
_See code: [src/commands/move-file.ts](https://github.com/internxt/cli/blob/v1.5.4/src/commands/move-file.ts)_
480481

481482
## `internxt move-folder`
482483

@@ -508,7 +509,7 @@ EXAMPLES
508509
$ internxt move-folder
509510
```
510511

511-
_See code: [src/commands/move-folder.ts](https://github.com/internxt/cli/blob/v1.5.3/src/commands/move-folder.ts)_
512+
_See code: [src/commands/move-folder.ts](https://github.com/internxt/cli/blob/v1.5.4/src/commands/move-folder.ts)_
512513

513514
## `internxt move file`
514515

@@ -599,7 +600,7 @@ EXAMPLES
599600
$ internxt rename-file
600601
```
601602

602-
_See code: [src/commands/rename-file.ts](https://github.com/internxt/cli/blob/v1.5.3/src/commands/rename-file.ts)_
603+
_See code: [src/commands/rename-file.ts](https://github.com/internxt/cli/blob/v1.5.4/src/commands/rename-file.ts)_
603604

604605
## `internxt rename-folder`
605606

@@ -630,7 +631,7 @@ EXAMPLES
630631
$ internxt rename-folder
631632
```
632633

633-
_See code: [src/commands/rename-folder.ts](https://github.com/internxt/cli/blob/v1.5.3/src/commands/rename-folder.ts)_
634+
_See code: [src/commands/rename-folder.ts](https://github.com/internxt/cli/blob/v1.5.4/src/commands/rename-folder.ts)_
634635

635636
## `internxt rename file`
636637

@@ -718,7 +719,7 @@ EXAMPLES
718719
$ internxt trash-clear
719720
```
720721

721-
_See code: [src/commands/trash-clear.ts](https://github.com/internxt/cli/blob/v1.5.3/src/commands/trash-clear.ts)_
722+
_See code: [src/commands/trash-clear.ts](https://github.com/internxt/cli/blob/v1.5.4/src/commands/trash-clear.ts)_
722723

723724
## `internxt trash-file`
724725

@@ -748,7 +749,7 @@ EXAMPLES
748749
$ internxt trash-file
749750
```
750751

751-
_See code: [src/commands/trash-file.ts](https://github.com/internxt/cli/blob/v1.5.3/src/commands/trash-file.ts)_
752+
_See code: [src/commands/trash-file.ts](https://github.com/internxt/cli/blob/v1.5.4/src/commands/trash-file.ts)_
752753

753754
## `internxt trash-folder`
754755

@@ -778,7 +779,7 @@ EXAMPLES
778779
$ internxt trash-folder
779780
```
780781

781-
_See code: [src/commands/trash-folder.ts](https://github.com/internxt/cli/blob/v1.5.3/src/commands/trash-folder.ts)_
782+
_See code: [src/commands/trash-folder.ts](https://github.com/internxt/cli/blob/v1.5.4/src/commands/trash-folder.ts)_
782783

783784
## `internxt trash-list`
784785

@@ -804,7 +805,7 @@ EXAMPLES
804805
$ internxt trash-list
805806
```
806807

807-
_See code: [src/commands/trash-list.ts](https://github.com/internxt/cli/blob/v1.5.3/src/commands/trash-list.ts)_
808+
_See code: [src/commands/trash-list.ts](https://github.com/internxt/cli/blob/v1.5.4/src/commands/trash-list.ts)_
808809

809810
## `internxt trash-restore-file`
810811

@@ -835,7 +836,7 @@ EXAMPLES
835836
$ internxt trash-restore-file
836837
```
837838

838-
_See code: [src/commands/trash-restore-file.ts](https://github.com/internxt/cli/blob/v1.5.3/src/commands/trash-restore-file.ts)_
839+
_See code: [src/commands/trash-restore-file.ts](https://github.com/internxt/cli/blob/v1.5.4/src/commands/trash-restore-file.ts)_
839840

840841
## `internxt trash-restore-folder`
841842

@@ -866,7 +867,7 @@ EXAMPLES
866867
$ internxt trash-restore-folder
867868
```
868869

869-
_See code: [src/commands/trash-restore-folder.ts](https://github.com/internxt/cli/blob/v1.5.3/src/commands/trash-restore-folder.ts)_
870+
_See code: [src/commands/trash-restore-folder.ts](https://github.com/internxt/cli/blob/v1.5.4/src/commands/trash-restore-folder.ts)_
870871

871872
## `internxt trash clear`
872873

@@ -1063,7 +1064,7 @@ EXAMPLES
10631064
$ internxt upload-file
10641065
```
10651066

1066-
_See code: [src/commands/upload-file.ts](https://github.com/internxt/cli/blob/v1.5.3/src/commands/upload-file.ts)_
1067+
_See code: [src/commands/upload-file.ts](https://github.com/internxt/cli/blob/v1.5.4/src/commands/upload-file.ts)_
10671068

10681069
## `internxt upload file`
10691070

@@ -1118,7 +1119,7 @@ EXAMPLES
11181119
$ internxt webdav status
11191120
```
11201121

1121-
_See code: [src/commands/webdav.ts](https://github.com/internxt/cli/blob/v1.5.3/src/commands/webdav.ts)_
1122+
_See code: [src/commands/webdav.ts](https://github.com/internxt/cli/blob/v1.5.4/src/commands/webdav.ts)_
11221123

11231124
## `internxt webdav-config`
11241125

@@ -1144,7 +1145,7 @@ EXAMPLES
11441145
$ internxt webdav-config
11451146
```
11461147

1147-
_See code: [src/commands/webdav-config.ts](https://github.com/internxt/cli/blob/v1.5.3/src/commands/webdav-config.ts)_
1148+
_See code: [src/commands/webdav-config.ts](https://github.com/internxt/cli/blob/v1.5.4/src/commands/webdav-config.ts)_
11481149

11491150
## `internxt whoami`
11501151

@@ -1164,7 +1165,7 @@ EXAMPLES
11641165
$ internxt whoami
11651166
```
11661167

1167-
_See code: [src/commands/whoami.ts](https://github.com/internxt/cli/blob/v1.5.3/src/commands/whoami.ts)_
1168+
_See code: [src/commands/whoami.ts](https://github.com/internxt/cli/blob/v1.5.4/src/commands/whoami.ts)_
11681169
<!-- commandsstop -->
11691170

11701171
# Current Limitations

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"author": "Internxt <hello@internxt.com>",
3-
"version": "1.5.3",
3+
"version": "1.5.4",
44
"description": "Internxt CLI to manage your encrypted storage",
55
"scripts": {
66
"build": "yarn clean && tsc",
@@ -71,7 +71,7 @@
7171
"@types/cli-progress": "3.11.6",
7272
"@types/express": "5.0.3",
7373
"@types/mime-types": "3.0.1",
74-
"@types/node": "22.15.33",
74+
"@types/node": "22.16.0",
7575
"@types/range-parser": "1.2.7",
7676
"@vitest/coverage-istanbul": "3.2.4",
7777
"@vitest/spy": "3.2.4",

src/utils/webdav.utils.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,11 @@ export class WebDavUtils {
8282
}
8383
}
8484
if (resource.type === 'file') {
85-
item = await driveFileService?.getFileMetadataByPath(resource.url);
85+
try {
86+
item = await driveFileService?.getFileMetadataByPath(resource.url);
87+
} catch {
88+
//no op
89+
}
8690
}
8791
return item;
8892
}

yarn.lock

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2399,14 +2399,7 @@
23992399
dependencies:
24002400
undici-types "~7.8.0"
24012401

2402-
"@types/node@22.15.33":
2403-
version "22.15.33"
2404-
resolved "https://registry.yarnpkg.com/@types/node/-/node-22.15.33.tgz#5722ba32042fd547c113bc35ea92c1cc59ef68b1"
2405-
integrity sha512-wzoocdnnpSxZ+6CjW4ADCK1jVmd1S/J3ArNWfn8FDDQtRm8dkDg7TA+mvek2wNrfCgwuZxqEOiB9B1XCJ6+dbw==
2406-
dependencies:
2407-
undici-types "~6.21.0"
2408-
2409-
"@types/node@^22.5.5":
2402+
"@types/node@22.16.0", "@types/node@^22.5.5":
24102403
version "22.16.0"
24112404
resolved "https://registry.yarnpkg.com/@types/node/-/node-22.16.0.tgz#352bc4951fd089df32f2b6412a61d339b67ded8b"
24122405
integrity sha512-B2egV9wALML1JCpv3VQoQ+yesQKAmNMBIAY7OteVrikcOcAkWm+dGL6qpeCktPjAv6N1JLnhbNiqS35UpFyBsQ==

0 commit comments

Comments
 (0)