@adobe/helix-onedrive-support 11.5.24 → 11.5.26

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.
@@ -18,7 +18,7 @@ jobs:
18
18
  - run: npm ci
19
19
  - run: npm run lint
20
20
  - run: npm test
21
- - uses: codecov/codecov-action@v4
21
+ - uses: codecov/codecov-action@v5
22
22
  with:
23
23
  token: ${{ secrets.CODECOV_TOKEN }}
24
24
  - name: Semantic Release (Dry Run)
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [11.5.26](https://github.com/adobe/helix-onedrive-support/compare/v11.5.25...v11.5.26) (2024-11-26)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * log time for OneDrive API call ([e8496ba](https://github.com/adobe/helix-onedrive-support/commit/e8496bae40ef89a99bb15ccb1078f3df91ffb38f))
7
+
8
+ ## [11.5.25](https://github.com/adobe/helix-onedrive-support/compare/v11.5.24...v11.5.25) (2024-11-23)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **deps:** update dependency @adobe/helix-shared-tokencache to v1.4.42 ([#606](https://github.com/adobe/helix-onedrive-support/issues/606)) ([3465c5d](https://github.com/adobe/helix-onedrive-support/commit/3465c5d070b846f17d6f50a423a1c47345e2e534))
14
+
1
15
  ## [11.5.24](https://github.com/adobe/helix-onedrive-support/compare/v11.5.23...v11.5.24) (2024-11-16)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-onedrive-support",
3
- "version": "11.5.24",
3
+ "version": "11.5.26",
4
4
  "description": "Helix OneDrive Support",
5
5
  "main": "src/index.js",
6
6
  "exports": {
@@ -30,12 +30,12 @@
30
30
  "dependencies": {
31
31
  "@adobe/fetch": "4.1.9",
32
32
  "@adobe/helix-shared-tokencache": "^1.4.19",
33
- "@azure/msal-node": "2.16.1",
33
+ "@azure/msal-node": "2.16.2",
34
34
  "jose": "5.9.6"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@adobe/eslint-config-helix": "2.0.8",
38
- "@aws-sdk/client-s3": "3.693.0",
38
+ "@aws-sdk/client-s3": "3.699.0",
39
39
  "@semantic-release/changelog": "6.0.3",
40
40
  "@semantic-release/git": "10.0.1",
41
41
  "ajv": "8.17.1",
@@ -45,7 +45,7 @@
45
45
  "eslint": "8.57.1",
46
46
  "eslint-plugin-header": "3.1.1",
47
47
  "eslint-plugin-import": "2.31.0",
48
- "husky": "9.1.6",
48
+ "husky": "9.1.7",
49
49
  "install": "0.13.0",
50
50
  "jsdoc-to-markdown": "9.0.5",
51
51
  "jsdoc-tsimport-plugin": "1.0.5",
@@ -55,7 +55,7 @@
55
55
  "mocha-multi-reporters": "1.5.1",
56
56
  "mocha-suppress-logs": "0.5.1",
57
57
  "nock": "13.5.6",
58
- "npm": "10.9.0",
58
+ "npm": "10.9.1",
59
59
  "semantic-release": "24.2.0"
60
60
  },
61
61
  "lint-staged": {
package/src/OneDrive.js CHANGED
@@ -161,14 +161,15 @@ export class OneDrive {
161
161
  const { log, auth: { logFields, tenant } } = this;
162
162
  const url = `https://graph.microsoft.com/v1.0${relUrl}`;
163
163
  const method = opts.method || 'GET';
164
+ const start = Date.now();
164
165
  let resp;
165
166
 
166
167
  try {
167
168
  const { fetch } = this.fetchContext;
168
169
  resp = await fetch(url, opts);
169
- log.info(`OneDrive API [tenant:${tenant}] ${logFields}: ${method} ${relUrl} ${resp.status}`);
170
+ log.info(`OneDrive API [tenant:${tenant}] ${logFields}: ${method} ${relUrl} ${resp.status} ${Date.now() - start}ms`);
170
171
  } catch (e) {
171
- log.info(`OneDrive API [tenant:${tenant}] ${logFields}: ${method} ${relUrl} ${e.message}`);
172
+ log.info(`OneDrive API [tenant:${tenant}] ${logFields}: ${method} ${relUrl} ${e.message} ${Date.now() - start}ms`);
172
173
  throw StatusCodeError.fromError(e);
173
174
  }
174
175