Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@google-cloud/translate

Package Overview
Dependencies
Maintainers
1
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@google-cloud/translate - npm Package Compare versions

Comparing version 6.2.5 to 6.2.6

2

build/src/v3/translation_service_client.d.ts

@@ -14,2 +14,3 @@ /// <reference types="node" />

private _opts;
private _providedCustomServicePath;
private _gaxModule;

@@ -21,2 +22,3 @@ private _gaxGrpc;

descriptors: Descriptors;
warn: (code: string, message: string, warnType?: string) => void;
innerApiCalls: {

@@ -23,0 +25,0 @@ [name: string]: Function;

5

build/src/v3/translation_service_client.js

@@ -84,2 +84,3 @@ "use strict";

const servicePath = (opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint) || staticMembers.servicePath;
this._providedCustomServicePath = !!((opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint));
const port = (opts === null || opts === void 0 ? void 0 : opts.port) || staticMembers.port;

@@ -164,2 +165,4 @@ const clientConfig = (_a = opts === null || opts === void 0 ? void 0 : opts.clientConfig) !== null && _a !== void 0 ? _a : {};

this.innerApiCalls = {};
// Add a warn function to the client constructor so it can be easily tested.
this.warn = gax.warn;
}

@@ -187,3 +190,3 @@ /**

: // eslint-disable-next-line @typescript-eslint/no-explicit-any
this._protos.google.cloud.translation.v3.TranslationService, this._opts);
this._protos.google.cloud.translation.v3.TranslationService, this._opts, this._providedCustomServicePath);
// Iterate over each of the methods that the service provides

@@ -190,0 +193,0 @@ // and create an API call method for each.

@@ -14,2 +14,3 @@ /// <reference types="node" />

private _opts;
private _providedCustomServicePath;
private _gaxModule;

@@ -21,2 +22,3 @@ private _gaxGrpc;

descriptors: Descriptors;
warn: (code: string, message: string, warnType?: string) => void;
innerApiCalls: {

@@ -23,0 +25,0 @@ [name: string]: Function;

@@ -7,2 +7,9 @@ # Changelog

### [6.2.6](https://www.github.com/googleapis/nodejs-translate/compare/v6.2.5...v6.2.6) (2021-07-21)
### Bug Fixes
* Updating WORKSPACE files to use the newest version of the Typescript generator. ([#699](https://www.github.com/googleapis/nodejs-translate/issues/699)) ([41e7ba3](https://www.github.com/googleapis/nodejs-translate/commit/41e7ba31041a2138c7068ce0e14528d044cb3606))
### [6.2.5](https://www.github.com/googleapis/nodejs-translate/compare/v6.2.4...v6.2.5) (2021-07-12)

@@ -9,0 +16,0 @@

{
"name": "@google-cloud/translate",
"description": "Cloud Translation API Client Library for Node.js",
"version": "6.2.5",
"version": "6.2.6",
"license": "Apache-2.0",

@@ -6,0 +6,0 @@ "author": "Google Inc.",

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc