@adobe/helix-google-support 2.0.68 → 2.0.69

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
+ ## [2.0.69](https://github.com/adobe/helix-google-support/compare/v2.0.68...v2.0.69) (2023-04-11)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** update external major (major) ([#166](https://github.com/adobe/helix-google-support/issues/166)) ([8f26faa](https://github.com/adobe/helix-google-support/commit/8f26faa2c5ab2a23c1511fb643500814589745a1))
7
+
1
8
  ## [2.0.68](https://github.com/adobe/helix-google-support/compare/v2.0.67...v2.0.68) (2023-04-08)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-google-support",
3
- "version": "2.0.68",
3
+ "version": "2.0.69",
4
4
  "description": "Helix Google Support",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -31,8 +31,8 @@
31
31
  },
32
32
  "dependencies": {
33
33
  "@adobe/helix-onedrive-support": "9.1.26",
34
- "googleapis": "114.0.0",
35
- "lru-cache": "8.0.5"
34
+ "googleapis": "115.0.0",
35
+ "lru-cache": "9.0.1"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@adobe/eslint-config-helix": "2.0.2",
@@ -9,7 +9,7 @@
9
9
  * OF ANY KIND, either express or implied. See the License for the specific language
10
10
  * governing permissions and limitations under the License.
11
11
  */
12
- import LRU from 'lru-cache';
12
+ import { LRUCache } from 'lru-cache';
13
13
  import { google } from 'googleapis';
14
14
  import {
15
15
  editDistance, sanitizeName, splitByExtension,
@@ -17,7 +17,7 @@ import {
17
17
  import { StatusCodeError } from '@adobe/helix-onedrive-support';
18
18
  import { GoogleTokenCache } from './GoogleTokenCache.js';
19
19
 
20
- let lru = new LRU({ max: 1000, ttl: 60000 });
20
+ let lru = new LRUCache({ max: 1000, ttl: 60000 });
21
21
 
22
22
  /**
23
23
  * @typedef DriveItemInfo {
@@ -71,7 +71,7 @@ export class GoogleClient {
71
71
  * @param opts
72
72
  */
73
73
  static setItemCacheOptions(opts) {
74
- lru = new LRU(opts);
74
+ lru = new LRUCache(opts);
75
75
  }
76
76
 
77
77
  /**