googleapis-common
Advanced tools
Comparing version 4.0.0 to 4.1.0
@@ -16,3 +16,3 @@ "use strict"; | ||
function getAPI(api, options, | ||
// tslint:disable-next-line no-any | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
versions, context) { | ||
@@ -19,0 +19,0 @@ let version; |
@@ -282,3 +282,3 @@ "use strict"; | ||
} | ||
// tslint:disable-next-line: no-any | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
_transform(chunk, encoding, callback) { | ||
@@ -285,0 +285,0 @@ this.bytesRead += chunk.length; |
@@ -71,3 +71,3 @@ "use strict"; | ||
const versionIndex = {}; | ||
// tslint:disable-next-line no-any | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
const apisIndex = {}; | ||
@@ -92,5 +92,3 @@ for (const set of apis) { | ||
try { | ||
const ep = | ||
// tslint:disable-next-line: no-any | ||
set.endpointCreator(options, this); | ||
const ep = set.endpointCreator(options, this); | ||
return Object.freeze(ep); // create new & freeze | ||
@@ -97,0 +95,0 @@ } |
@@ -1,2 +0,3 @@ | ||
export { OAuth2Client } from 'google-auth-library'; | ||
export { OAuth2Client, JWT, Compute, UserRefreshClient, DefaultTransporter, } from 'google-auth-library'; | ||
export { GaxiosPromise } from 'gaxios'; | ||
export { APIEndpoint, APIRequestContext, APIRequestParams, BodyResponseCallback, GlobalOptions, GoogleConfigurable, MethodOptions, ServiceOptions, } from './api'; | ||
@@ -3,0 +4,0 @@ export { getAPI } from './apiIndex'; |
@@ -17,2 +17,6 @@ "use strict"; | ||
exports.OAuth2Client = google_auth_library_1.OAuth2Client; | ||
exports.JWT = google_auth_library_1.JWT; | ||
exports.Compute = google_auth_library_1.Compute; | ||
exports.UserRefreshClient = google_auth_library_1.UserRefreshClient; | ||
exports.DefaultTransporter = google_auth_library_1.DefaultTransporter; | ||
var apiIndex_1 = require("./apiIndex"); | ||
@@ -19,0 +23,0 @@ exports.getAPI = apiIndex_1.getAPI; |
@@ -7,2 +7,9 @@ # Changelog | ||
## [4.1.0](https://www.github.com/googleapis/nodejs-googleapis-common/compare/v4.0.0...v4.1.0) (2020-04-12) | ||
### Features | ||
* export additional types ([#256](https://www.github.com/googleapis/nodejs-googleapis-common/issues/256)) ([0534203](https://www.github.com/googleapis/nodejs-googleapis-common/commit/0534203a80fa88b3224bc9da22d2be4a2cb21796)) | ||
## [4.0.0](https://www.github.com/googleapis/nodejs-googleapis-common/compare/v3.2.2...v4.0.0) (2020-04-05) | ||
@@ -9,0 +16,0 @@ |
{ | ||
"name": "googleapis-common", | ||
"version": "4.0.0", | ||
"version": "4.1.0", | ||
"description": "A common tooling library used by the googleapis npm module. You probably don't want to use this directly.", | ||
@@ -32,5 +32,12 @@ "repository": "googleapis/nodejs-googleapis-common", | ||
"license": "Apache-2.0", | ||
"dependencies": { | ||
"extend": "^3.0.2", | ||
"gaxios": "^3.0.0", | ||
"google-auth-library": "^6.0.0", | ||
"qs": "^6.7.0", | ||
"url-template": "^2.0.8", | ||
"uuid": "^7.0.0" | ||
}, | ||
"devDependencies": { | ||
"@compodoc/compodoc": "^1.1.9", | ||
"@types/chai": "^4.1.7", | ||
"@types/execa": "^0.9.0", | ||
@@ -47,7 +54,7 @@ "@types/extend": "^3.0.1", | ||
"c8": "^7.0.0", | ||
"chai": "^4.2.0", | ||
"codecov": "^3.5.0", | ||
"execa": "^4.0.0", | ||
"gts": "^2.0.0-alpha.9", | ||
"is-docker": "^2.0.0", | ||
"karma": "^4.1.0", | ||
"karma": "^5.0.0", | ||
"karma-chrome-launcher": "^3.0.0", | ||
@@ -67,2 +74,3 @@ "karma-coverage": "^2.0.0", | ||
"puppeteer": "^2.0.0", | ||
"tmp": "^0.1.0", | ||
"ts-loader": "^6.0.4", | ||
@@ -73,12 +81,2 @@ "typescript": "^3.8.3", | ||
}, | ||
"dependencies": { | ||
"execa": "^4.0.0", | ||
"extend": "^3.0.2", | ||
"gaxios": "^3.0.0", | ||
"google-auth-library": "^6.0.0", | ||
"qs": "^6.7.0", | ||
"tmp": "^0.1.0", | ||
"url-template": "^2.0.8", | ||
"uuid": "^7.0.0" | ||
}, | ||
"engines": { | ||
@@ -85,0 +83,0 @@ "node": ">=10" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
70384
6
1032
- Removedexeca@^4.0.0
- Removedtmp@^0.1.0
- Removedbalanced-match@1.0.2(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedcross-spawn@7.0.3(transitive)
- Removedend-of-stream@1.4.4(transitive)
- Removedexeca@4.1.0(transitive)
- Removedfs.realpath@1.0.0(transitive)
- Removedget-stream@5.2.0(transitive)
- Removedglob@7.2.3(transitive)
- Removedhuman-signals@1.1.1(transitive)
- Removedinflight@1.0.6(transitive)
- Removedinherits@2.0.4(transitive)
- Removedisexe@2.0.0(transitive)
- Removedmerge-stream@2.0.0(transitive)
- Removedmimic-fn@2.1.0(transitive)
- Removedminimatch@3.1.2(transitive)
- Removednpm-run-path@4.0.1(transitive)
- Removedonce@1.4.0(transitive)
- Removedonetime@5.1.2(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedpath-key@3.1.1(transitive)
- Removedpump@3.0.2(transitive)
- Removedrimraf@2.7.1(transitive)
- Removedshebang-command@2.0.0(transitive)
- Removedshebang-regex@3.0.0(transitive)
- Removedsignal-exit@3.0.7(transitive)
- Removedstrip-final-newline@2.0.0(transitive)
- Removedtmp@0.1.0(transitive)
- Removedwhich@2.0.2(transitive)
- Removedwrappy@1.0.2(transitive)