@adobe/helix-google-support 4.0.0 → 4.0.2
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 +14 -0
- package/package.json +13 -13
- package/src/GoogleClient.d.ts +2 -2
- package/src/GoogleClient.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [4.0.2](https://github.com/adobe/helix-google-support/compare/v4.0.1...v4.0.2) (2026-06-23)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **deps:** update external fixes ([#568](https://github.com/adobe/helix-google-support/issues/568)) ([211bb3b](https://github.com/adobe/helix-google-support/commit/211bb3be3535a108e2f8e31b1a7f26d84c697145))
|
|
7
|
+
|
|
8
|
+
## [4.0.1](https://github.com/adobe/helix-google-support/compare/v4.0.0...v4.0.1) (2025-12-01)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **deps:** update external fixes ([#529](https://github.com/adobe/helix-google-support/issues/529)) ([bbfcd1e](https://github.com/adobe/helix-google-support/commit/bbfcd1eabe5cc4c0312688baa3c64ae0114f12c4))
|
|
14
|
+
|
|
1
15
|
# [4.0.0](https://github.com/adobe/helix-google-support/compare/v3.3.5...v4.0.0) (2025-09-23)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/helix-google-support",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.2",
|
|
4
4
|
"description": "Helix Google Support",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
"repository": {
|
|
18
18
|
"type": "git",
|
|
19
|
-
"url": "https://github.com/adobe/helix-google-support"
|
|
19
|
+
"url": "https://github.com/adobe/helix-google-support.git"
|
|
20
20
|
},
|
|
21
21
|
"author": "",
|
|
22
22
|
"license": "Apache-2.0",
|
|
@@ -36,28 +36,28 @@
|
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@adobe/helix-shared-string": "^2.1.0",
|
|
38
38
|
"googleapis": "150.0.1",
|
|
39
|
-
"googleapis-common": "8.0.
|
|
39
|
+
"googleapis-common": "8.0.2",
|
|
40
40
|
"lru-cache": "^11.0.2"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@adobe/eslint-config-helix": "3.0.
|
|
44
|
-
"@adobe/helix-shared-tokencache": "1.
|
|
45
|
-
"@eslint/config-helpers": "0.
|
|
43
|
+
"@adobe/eslint-config-helix": "3.0.28",
|
|
44
|
+
"@adobe/helix-shared-tokencache": "1.6.0",
|
|
45
|
+
"@eslint/config-helpers": "0.6.0",
|
|
46
46
|
"@semantic-release/changelog": "6.0.3",
|
|
47
47
|
"@semantic-release/git": "10.0.1",
|
|
48
|
-
"c8": "
|
|
49
|
-
"dotenv": "17.
|
|
48
|
+
"c8": "11.0.0",
|
|
49
|
+
"dotenv": "17.4.2",
|
|
50
50
|
"eslint": "9.4.0",
|
|
51
51
|
"eslint-plugin-header": "3.1.1",
|
|
52
52
|
"eslint-plugin-import": "2.32.0",
|
|
53
53
|
"husky": "9.1.7",
|
|
54
|
-
"junit-report-builder": "5.1.
|
|
55
|
-
"lint-staged": "
|
|
56
|
-
"mocha": "11.7.
|
|
54
|
+
"junit-report-builder": "5.1.2",
|
|
55
|
+
"lint-staged": "17.0.7",
|
|
56
|
+
"mocha": "11.7.6",
|
|
57
57
|
"mocha-multi-reporters": "1.5.1",
|
|
58
58
|
"mocha-suppress-logs": "0.6.0",
|
|
59
|
-
"nock": "
|
|
60
|
-
"semantic-release": "
|
|
59
|
+
"nock": "14.0.15",
|
|
60
|
+
"semantic-release": "25.0.3"
|
|
61
61
|
},
|
|
62
62
|
"lint-staged": {
|
|
63
63
|
"*.js": "eslint",
|
package/src/GoogleClient.d.ts
CHANGED
|
@@ -45,7 +45,7 @@ declare class GoogleClient {
|
|
|
45
45
|
*
|
|
46
46
|
* @param opts
|
|
47
47
|
*/
|
|
48
|
-
static setItemCacheOptions(opts:object);
|
|
48
|
+
static setItemCacheOptions(opts:object):void;
|
|
49
49
|
|
|
50
50
|
/**
|
|
51
51
|
* Returns a url for a google drive id.
|
|
@@ -58,7 +58,7 @@ declare class GoogleClient {
|
|
|
58
58
|
|
|
59
59
|
init():Promise<GoogleClient>;
|
|
60
60
|
|
|
61
|
-
generateAuthUrl(
|
|
61
|
+
generateAuthUrl(opts:Object):Promise<string>;
|
|
62
62
|
|
|
63
63
|
/**
|
|
64
64
|
* Sets the credentials
|
package/src/GoogleClient.js
CHANGED
|
@@ -193,7 +193,7 @@ export class GoogleClient {
|
|
|
193
193
|
* @param {String} basename base name
|
|
194
194
|
* @param {String} ext extension
|
|
195
195
|
* @param {String} type mime type of the child
|
|
196
|
-
* @returns {Object} containing item and whether more than 1000 items were found
|
|
196
|
+
* @returns {Promise<Object>} containing item and whether more than 1000 items were found
|
|
197
197
|
*/
|
|
198
198
|
async #fuzzyGetChild(parentId, basename, ext, type) {
|
|
199
199
|
const { log, drive, googleApiOpts } = this;
|
|
@@ -262,7 +262,7 @@ export class GoogleClient {
|
|
|
262
262
|
* @param {String} parentId parent Id
|
|
263
263
|
* @param {String} name child name
|
|
264
264
|
* @param {String} type child mime type
|
|
265
|
-
* @returns {Object} item or null
|
|
265
|
+
* @returns {Promise<Object>} item or null
|
|
266
266
|
*/
|
|
267
267
|
async #getChild(parentId, name, type) {
|
|
268
268
|
const { drive, googleApiOpts } = this;
|