@adobe/helix-onedrive-support 11.3.21 → 11.3.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [11.3.23](https://github.com/adobe/helix-onedrive-support/compare/v11.3.22...v11.3.23) (2024-05-15)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * assert children list contains a value ([#528](https://github.com/adobe/helix-onedrive-support/issues/528)) ([9d84cc1](https://github.com/adobe/helix-onedrive-support/commit/9d84cc183142f44b29b2a19f7a516c4a959971e3))
7
+
8
+ ## [11.3.22](https://github.com/adobe/helix-onedrive-support/compare/v11.3.21...v11.3.22) (2024-05-11)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **deps:** update dependency @adobe/helix-shared-tokencache to v1.4.5 ([d8c020a](https://github.com/adobe/helix-onedrive-support/commit/d8c020a12804bd813ed3229c428c8d9d62c746e2))
14
+
1
15
  ## [11.3.21](https://github.com/adobe/helix-onedrive-support/compare/v11.3.20...v11.3.21) (2024-05-04)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-onedrive-support",
3
- "version": "11.3.21",
3
+ "version": "11.3.23",
4
4
  "description": "Helix OneDrive Support",
5
5
  "main": "src/index.js",
6
6
  "exports": {
@@ -29,13 +29,13 @@
29
29
  "homepage": "https://github.com/adobe/helix-onedrive-support#readme",
30
30
  "dependencies": {
31
31
  "@adobe/fetch": "4.1.2",
32
- "@adobe/helix-shared-tokencache": "1.4.4",
32
+ "@adobe/helix-shared-tokencache": "1.4.5",
33
33
  "@azure/msal-node": "2.2.0",
34
- "jose": "5.2.4"
34
+ "jose": "5.3.0"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@adobe/eslint-config-helix": "2.0.6",
38
- "@aws-sdk/client-s3": "3.569.0",
38
+ "@aws-sdk/client-s3": "3.574.0",
39
39
  "@semantic-release/changelog": "6.0.3",
40
40
  "@semantic-release/git": "10.0.1",
41
41
  "ajv": "8.13.0",
@@ -54,7 +54,7 @@
54
54
  "mocha-multi-reporters": "1.5.1",
55
55
  "nock": "13.5.4",
56
56
  "npm": "10.7.0",
57
- "semantic-release": "23.0.8"
57
+ "semantic-release": "23.1.1"
58
58
  },
59
59
  "lint-staged": {
60
60
  "*.js": "eslint"
package/src/OneDrive.js CHANGED
@@ -324,7 +324,9 @@ export class OneDrive {
324
324
  do {
325
325
  // eslint-disable-next-line no-await-in-loop
326
326
  const result = await this.listChildren(folderItem, folderRelPath, query);
327
- fileList = fileList.concat(result.value);
327
+ if (result.value) {
328
+ fileList = fileList.concat(result.value);
329
+ }
328
330
  if (result['@odata.nextLink']) {
329
331
  const nextLink = new URL(result['@odata.nextLink']);
330
332
  query.$skiptoken = nextLink.searchParams.get('$skiptoken');