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

@google-cloud/dataproc-metastore

Package Overview
Dependencies
Maintainers
2
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@google-cloud/dataproc-metastore - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

5

build/src/v1/dataproc_metastore_federation_client.d.ts

@@ -74,4 +74,3 @@ /// <reference types="node" />

* Follows the structure of {@link gapicConfig}.
* @param {boolean | "rest"} [options.fallback] - Use HTTP fallback mode.
* Pass "rest" to use HTTP/1.1 REST API instead of gRPC.
* @param {boolean} [options.fallback] - Use HTTP/1.1 REST mode.
* For more information, please check the

@@ -84,3 +83,3 @@ * {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}.

* const gax = require('google-gax/build/src/fallback'); // avoids loading google-gax with gRPC
* const client = new DataprocMetastoreFederationClient({fallback: 'rest'}, gax);
* const client = new DataprocMetastoreFederationClient({fallback: true}, gax);
* ```

@@ -87,0 +86,0 @@ */

9

build/src/v1/dataproc_metastore_federation_client.js

@@ -75,4 +75,3 @@ "use strict";

* Follows the structure of {@link gapicConfig}.
* @param {boolean | "rest"} [options.fallback] - Use HTTP fallback mode.
* Pass "rest" to use HTTP/1.1 REST API instead of gRPC.
* @param {boolean} [options.fallback] - Use HTTP/1.1 REST mode.
* For more information, please check the

@@ -85,3 +84,3 @@ * {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}.

* const gax = require('google-gax/build/src/fallback'); // avoids loading google-gax with gRPC
* const client = new DataprocMetastoreFederationClient({fallback: 'rest'}, gax);
* const client = new DataprocMetastoreFederationClient({fallback: true}, gax);
* ```

@@ -146,3 +145,3 @@ */

}
else if (opts.fallback === 'rest') {
else {
clientHeader.push(`rest/${this._gaxGrpc.grpcVersion}`);

@@ -180,3 +179,3 @@ }

};
if (opts.fallback === 'rest') {
if (opts.fallback) {
lroOptions.protoJson = protoFilesRoot;

@@ -183,0 +182,0 @@ lroOptions.httpRules = [

@@ -74,4 +74,3 @@ /// <reference types="node" />

* Follows the structure of {@link gapicConfig}.
* @param {boolean | "rest"} [options.fallback] - Use HTTP fallback mode.
* Pass "rest" to use HTTP/1.1 REST API instead of gRPC.
* @param {boolean} [options.fallback] - Use HTTP/1.1 REST mode.
* For more information, please check the

@@ -84,3 +83,3 @@ * {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}.

* const gax = require('google-gax/build/src/fallback'); // avoids loading google-gax with gRPC
* const client = new DataprocMetastoreFederationClient({fallback: 'rest'}, gax);
* const client = new DataprocMetastoreFederationClient({fallback: true}, gax);
* ```

@@ -87,0 +86,0 @@ */

@@ -75,4 +75,3 @@ "use strict";

* Follows the structure of {@link gapicConfig}.
* @param {boolean | "rest"} [options.fallback] - Use HTTP fallback mode.
* Pass "rest" to use HTTP/1.1 REST API instead of gRPC.
* @param {boolean} [options.fallback] - Use HTTP/1.1 REST mode.
* For more information, please check the

@@ -85,3 +84,3 @@ * {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}.

* const gax = require('google-gax/build/src/fallback'); // avoids loading google-gax with gRPC
* const client = new DataprocMetastoreFederationClient({fallback: 'rest'}, gax);
* const client = new DataprocMetastoreFederationClient({fallback: true}, gax);
* ```

@@ -146,3 +145,3 @@ */

}
else if (opts.fallback === 'rest') {
else {
clientHeader.push(`rest/${this._gaxGrpc.grpcVersion}`);

@@ -180,3 +179,3 @@ }

};
if (opts.fallback === 'rest') {
if (opts.fallback) {
lroOptions.protoJson = protoFilesRoot;

@@ -183,0 +182,0 @@ lroOptions.httpRules = [

@@ -74,4 +74,3 @@ /// <reference types="node" />

* Follows the structure of {@link gapicConfig}.
* @param {boolean | "rest"} [options.fallback] - Use HTTP fallback mode.
* Pass "rest" to use HTTP/1.1 REST API instead of gRPC.
* @param {boolean} [options.fallback] - Use HTTP/1.1 REST mode.
* For more information, please check the

@@ -84,3 +83,3 @@ * {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}.

* const gax = require('google-gax/build/src/fallback'); // avoids loading google-gax with gRPC
* const client = new DataprocMetastoreFederationClient({fallback: 'rest'}, gax);
* const client = new DataprocMetastoreFederationClient({fallback: true}, gax);
* ```

@@ -87,0 +86,0 @@ */

@@ -75,4 +75,3 @@ "use strict";

* Follows the structure of {@link gapicConfig}.
* @param {boolean | "rest"} [options.fallback] - Use HTTP fallback mode.
* Pass "rest" to use HTTP/1.1 REST API instead of gRPC.
* @param {boolean} [options.fallback] - Use HTTP/1.1 REST mode.
* For more information, please check the

@@ -85,3 +84,3 @@ * {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}.

* const gax = require('google-gax/build/src/fallback'); // avoids loading google-gax with gRPC
* const client = new DataprocMetastoreFederationClient({fallback: 'rest'}, gax);
* const client = new DataprocMetastoreFederationClient({fallback: true}, gax);
* ```

@@ -146,3 +145,3 @@ */

}
else if (opts.fallback === 'rest') {
else {
clientHeader.push(`rest/${this._gaxGrpc.grpcVersion}`);

@@ -180,3 +179,3 @@ }

};
if (opts.fallback === 'rest') {
if (opts.fallback) {
lroOptions.protoJson = protoFilesRoot;

@@ -183,0 +182,0 @@ lroOptions.httpRules = [

# Changelog
## [4.0.1](https://github.com/googleapis/google-cloud-node/compare/dataproc-metastore-v4.0.0...dataproc-metastore-v4.0.1) (2023-09-06)
### Bug Fixes
* [Many APIs] simplify logic for HTTP/1.1 REST fallback option ([#4586](https://github.com/googleapis/google-cloud-node/issues/4586)) ([4b18686](https://github.com/googleapis/google-cloud-node/commit/4b186867323b8b15469bf5e1cb890bf703b531b3))
## [4.0.0](https://github.com/googleapis/google-cloud-node/compare/dataproc-metastore-v3.6.0...dataproc-metastore-v4.0.0) (2023-08-06)

@@ -4,0 +11,0 @@

{
"name": "@google-cloud/dataproc-metastore",
"version": "4.0.0",
"version": "4.0.1",
"description": "Metastore client for Node.js",

@@ -58,4 +58,4 @@ "repository": {

"jsdoc": "^4.0.0",
"jsdoc-fresh": "^2.0.0",
"jsdoc-region-tag": "^2.0.0",
"jsdoc-fresh": "^3.0.0",
"jsdoc-region-tag": "^3.0.0",
"linkinator": "4.1.2",

@@ -62,0 +62,0 @@ "long": "^5.2.3",

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

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

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

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

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

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