@anmiles/google-api-wrapper 19.0.4 → 19.0.5

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
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [19.0.5](../../tags/v19.0.5) - 2025-07-24
9
+ ### Changed
10
+ - Fix vulnerable dependencies
11
+
8
12
  ## [19.0.4](../../tags/v19.0.4) - 2025-06-02
9
13
  ### Changed
10
14
  - Fixed api property that was optional by mistake
package/README.md CHANGED
@@ -65,3 +65,4 @@ getProfiles().map(async (profile) => {
65
65
  ### Live examples
66
66
  - [youtube-likes-downloader](https://www.npmjs.com/package/youtube-likes-downloader) - download all liked videos from youtube
67
67
  - [google-calendar-entries](https://www.npmjs.com/package/google-calendar-entries) - view and manage google calendar entries
68
+ - [school-schedule-sync](https://www.npmjs.com/package/school-schedule-sync) - synchronization between JSON schedule and Google Calendar
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anmiles/google-api-wrapper",
3
- "version": "19.0.4",
3
+ "version": "19.0.5",
4
4
  "description": "Wrapper around googleapis for getting data shortly",
5
5
  "keywords": [
6
6
  "google",
@@ -30,9 +30,9 @@
30
30
  "test:report:coverage": "nyc report"
31
31
  },
32
32
  "dependencies": {
33
- "@anmiles/logger": "^8.0.0",
34
- "@anmiles/prototypes": "^11.0.0",
35
- "@anmiles/sleep": "^5.0.0",
33
+ "@anmiles/logger": "^8.0.1",
34
+ "@anmiles/prototypes": "^11.2.2",
35
+ "@anmiles/sleep": "^5.0.1",
36
36
  "out-url": "^1.2.2",
37
37
  "server-destroy": "^1.0.1"
38
38
  },
@@ -40,35 +40,35 @@
40
40
  "googleapis": "^148.0.0"
41
41
  },
42
42
  "devDependencies": {
43
- "@anmiles/eslint-config": "^9.0.0",
43
+ "@anmiles/eslint-config": "^9.0.3",
44
44
  "@anmiles/tsconfig": "^4.0.0",
45
- "@eslint/compat": "^1.2.9",
46
- "@eslint/css": "^0.8.1",
47
- "@eslint/js": "^9.27.0",
48
- "@eslint/json": "^0.12.0",
49
- "@eslint/markdown": "^6.4.0",
50
- "@stylistic/eslint-plugin": "^4.2.0",
51
- "@types/jest": "^29.5.14",
45
+ "@eslint/compat": "^1.3.1",
46
+ "@eslint/css": "^0.10.0",
47
+ "@eslint/js": "^9.31.0",
48
+ "@eslint/json": "^0.13.1",
49
+ "@eslint/markdown": "^7.1.0",
50
+ "@stylistic/eslint-plugin": "^5.2.2",
51
+ "@types/jest": "^30.0.0",
52
52
  "@types/mock-fs": "^4.13.4",
53
53
  "@types/server-destroy": "^1.0.4",
54
- "@typescript-eslint/eslint-plugin": "^8.32.1",
55
- "@typescript-eslint/parser": "^8.32.1",
54
+ "@typescript-eslint/eslint-plugin": "^8.38.0",
55
+ "@typescript-eslint/parser": "^8.38.0",
56
56
  "copyfiles": "^2.4.1",
57
- "cspell": "^9.0.1",
58
- "eslint": "^9.27.0",
59
- "eslint-import-resolver-typescript": "^4.3.5",
57
+ "cspell": "^9.2.0",
58
+ "eslint": "^9.31.0",
59
+ "eslint-import-resolver-typescript": "^4.4.4",
60
60
  "eslint-plugin-align-assignments": "^1.1.2",
61
- "eslint-plugin-i18next": "^6.1.1",
62
- "eslint-plugin-import": "^2.31.0",
63
- "eslint-plugin-jest": "^28.11.0",
64
- "eslint-plugin-n": "^17.18.0",
61
+ "eslint-plugin-i18next": "^6.1.3",
62
+ "eslint-plugin-import": "^2.32.0",
63
+ "eslint-plugin-jest": "^29.0.1",
64
+ "eslint-plugin-n": "^17.21.0",
65
65
  "eslint-plugin-promise": "^7.2.1",
66
- "jest": "^29.7.0",
67
- "jiti": "^2.4.2",
66
+ "jest": "^30.0.5",
67
+ "jiti": "^2.5.0",
68
68
  "mock-fs": "^5.5.0",
69
69
  "nyc": "^17.1.0",
70
70
  "rimraf": "^6.0.1",
71
- "ts-jest": "^29.3.4",
71
+ "ts-jest": "^29.4.0",
72
72
  "typescript": "^5.8.3"
73
73
  }
74
74
  }
@@ -1,4 +1,4 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
1
+ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2
2
 
3
3
  exports[`src/lib/scopes getScopes should throw if scopes file does not exist 1`] = `
4
4
  "File scopes.json not found!
@@ -1,4 +1,4 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
1
+ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2
2
 
3
3
  exports[`src/lib/secrets getSecrets should throw if callbackURI is incorrect 1`] = `"Error in credentials file: redirect URI should be http://localhost:6006/oauthcallback"`;
4
4
 
package/src/lib/api.ts CHANGED
@@ -114,9 +114,9 @@ async function resetAuth<TGoogleAPI>(
114
114
  profile: string,
115
115
  authOptions?: AuthOptions,
116
116
  ): Promise<{
117
- api: TGoogleAPI;
118
- readonly auth: GoogleApis.Common.OAuth2Client;
119
- }> {
117
+ api: TGoogleAPI;
118
+ readonly auth: GoogleApis.Common.OAuth2Client;
119
+ }> {
120
120
  const auth = await getAuth(profile, authOptions);
121
121
  const api = getter(auth);
122
122
  return { api, auth };