@adobe/helix-google-support 1.5.0 → 1.5.3

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,24 @@
1
+ ## [1.5.3](https://github.com/adobe/helix-google-support/compare/v1.5.2...v1.5.3) (2022-07-23)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** update dependency @adobe/helix-onedrive-support to v8.1.3 ([3d1d1ec](https://github.com/adobe/helix-google-support/commit/3d1d1ecaeefe23a0e458398852dc1337f331975c))
7
+
8
+ ## [1.5.2](https://github.com/adobe/helix-google-support/compare/v1.5.1...v1.5.2) (2022-07-16)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **deps:** update dependency @adobe/helix-onedrive-support to v8.1.2 ([ad929d0](https://github.com/adobe/helix-google-support/commit/ad929d093788b4bb0ef241717e21a2b980ab90b9))
14
+
15
+ ## [1.5.1](https://github.com/adobe/helix-google-support/compare/v1.5.0...v1.5.1) (2022-07-16)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * **deps:** update dependency lru-cache to v7.13.1 ([e01766b](https://github.com/adobe/helix-google-support/commit/e01766b4d9db6a409aa8de680d7eabeee234309d))
21
+
1
22
  # [1.5.0](https://github.com/adobe/helix-google-support/compare/v1.4.19...v1.5.0) (2022-07-12)
2
23
 
3
24
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-google-support",
3
- "version": "1.5.0",
3
+ "version": "1.5.3",
4
4
  "description": "Helix Google Support",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -31,18 +31,18 @@
31
31
  "reporter-options": "configFile=.mocha-multi.json"
32
32
  },
33
33
  "dependencies": {
34
- "@adobe/helix-onedrive-support": "8.1.1",
34
+ "@adobe/helix-onedrive-support": "8.1.3",
35
35
  "googleapis": "105.0.0",
36
- "lru-cache": "7.12.0"
36
+ "lru-cache": "7.13.1"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@adobe/eslint-config-helix": "1.3.2",
40
40
  "@semantic-release/changelog": "6.0.1",
41
41
  "@semantic-release/git": "10.0.1",
42
42
  "@semantic-release/npm": "9.0.1",
43
- "c8": "7.11.3",
43
+ "c8": "7.12.0",
44
44
  "codecov": "3.8.3",
45
- "eslint": "8.19.0",
45
+ "eslint": "8.20.0",
46
46
  "eslint-plugin-header": "3.1.1",
47
47
  "eslint-plugin-import": "2.26.0",
48
48
  "husky": "8.0.1",
@@ -50,7 +50,7 @@
50
50
  "lint-staged": "13.0.3",
51
51
  "mocha": "10.0.0",
52
52
  "mocha-multi-reporters": "1.5.1",
53
- "nock": "13.2.8",
53
+ "nock": "13.2.9",
54
54
  "semantic-release": "19.0.3"
55
55
  },
56
56
  "lint-staged": {
@@ -95,7 +95,7 @@ declare class GoogleClient {
95
95
  * @param {string} parentId
96
96
  * @param {string} path
97
97
  * @param {string} [type] optional file mimetype filter.
98
- * @return {DriveItemInfo[]}
98
+ * @return {Promise<DriveItemInfo[]>}
99
99
  */
100
100
  getDriveItemsFromSegments(parentId:string, path:string, type?:string):Promise<DriveItemInfo[]>;
101
101
 
@@ -121,7 +121,7 @@ declare class GoogleClient {
121
121
  /**
122
122
  * Returns an (uncached) file directly via the google api
123
123
  * @param {string} fileId
124
- * @returns {string} file data
124
+ * @returns {Promise<string>} file data
125
125
  */
126
126
  getFile(fileId:string):Promise<string>;
127
127
 
@@ -140,7 +140,7 @@ declare class GoogleClient {
140
140
  /**
141
141
  * Returns an (uncached) document directly via the google docs api
142
142
  * @param {string} documentId
143
- * @returns {object} document
143
+ * @returns {Promise<object>} document
144
144
  */
145
145
  getDocument(documentId:string):Promise<object>;
146
146
 
@@ -301,7 +301,7 @@ export class GoogleClient {
301
301
  * @param {string} parentId
302
302
  * @param {string} path
303
303
  * @param {string} [type] optional file mimetype
304
- * @return {DriveItemInfo[]}
304
+ * @return {Promise<DriveItemInfo[]>}
305
305
  */
306
306
  async getItemsFromPath(parentId, path, type) {
307
307
  const segs = createPathSegments(path);
@@ -443,7 +443,7 @@ export class GoogleClient {
443
443
  /**
444
444
  * Returns an (uncached) file directly via the google api
445
445
  * @param {string} fileId
446
- * @returns {string} file data
446
+ * @returns {Promise<string>} file data
447
447
  */
448
448
  async getFile(fileId) {
449
449
  try {
@@ -495,7 +495,7 @@ export class GoogleClient {
495
495
  /**
496
496
  * Returns an (uncached) document directly via the google docs api
497
497
  * @param {string} documentId
498
- * @returns {object} document
498
+ * @returns {Promise<object>} document
499
499
  */
500
500
  async getDocument(documentId) {
501
501
  const docs = google.docs({