@adobe/helix-google-support 4.0.0 → 4.0.1

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,10 @@
1
+ ## [4.0.1](https://github.com/adobe/helix-google-support/compare/v4.0.0...v4.0.1) (2025-12-01)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** update external fixes ([#529](https://github.com/adobe/helix-google-support/issues/529)) ([bbfcd1e](https://github.com/adobe/helix-google-support/commit/bbfcd1eabe5cc4c0312688baa3c64ae0114f12c4))
7
+
1
8
  # [4.0.0](https://github.com/adobe/helix-google-support/compare/v3.3.5...v4.0.0) (2025-09-23)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-google-support",
3
- "version": "4.0.0",
3
+ "version": "4.0.1",
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.0",
39
+ "googleapis-common": "8.0.1",
40
40
  "lru-cache": "^11.0.2"
41
41
  },
42
42
  "devDependencies": {
43
- "@adobe/eslint-config-helix": "3.0.10",
43
+ "@adobe/eslint-config-helix": "3.0.14",
44
44
  "@adobe/helix-shared-tokencache": "1.5.0",
45
- "@eslint/config-helpers": "0.3.1",
45
+ "@eslint/config-helpers": "0.5.0",
46
46
  "@semantic-release/changelog": "6.0.3",
47
47
  "@semantic-release/git": "10.0.1",
48
48
  "c8": "10.1.3",
49
- "dotenv": "17.2.2",
49
+ "dotenv": "17.2.3",
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
54
  "junit-report-builder": "5.1.1",
55
- "lint-staged": "16.1.6",
56
- "mocha": "11.7.2",
55
+ "lint-staged": "16.2.6",
56
+ "mocha": "11.7.5",
57
57
  "mocha-multi-reporters": "1.5.1",
58
58
  "mocha-suppress-logs": "0.6.0",
59
59
  "nock": "13.5.6",
60
- "semantic-release": "24.2.7"
60
+ "semantic-release": "25.0.2"
61
61
  },
62
62
  "lint-staged": {
63
63
  "*.js": "eslint",
@@ -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(...args):Promise<string>;
61
+ generateAuthUrl(opts:Object):Promise<string>;
62
62
 
63
63
  /**
64
64
  * Sets the credentials
@@ -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;