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

@google-cloud/web-security-scanner

Package Overview
Dependencies
Maintainers
2
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@google-cloud/web-security-scanner - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

5

build/src/v1/web_security_scanner_client.d.ts

@@ -61,4 +61,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

@@ -71,3 +70,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 WebSecurityScannerClient({fallback: 'rest'}, gax);
* const client = new WebSecurityScannerClient({fallback: true}, gax);
* ```

@@ -74,0 +73,0 @@ */

7

build/src/v1/web_security_scanner_client.js

@@ -65,4 +65,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

@@ -75,3 +74,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 WebSecurityScannerClient({fallback: 'rest'}, gax);
* const client = new WebSecurityScannerClient({fallback: true}, gax);
* ```

@@ -133,3 +132,3 @@ */

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

@@ -136,0 +135,0 @@ }

@@ -61,4 +61,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

@@ -71,3 +70,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 WebSecurityScannerClient({fallback: 'rest'}, gax);
* const client = new WebSecurityScannerClient({fallback: true}, gax);
* ```

@@ -74,0 +73,0 @@ */

@@ -65,4 +65,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

@@ -75,3 +74,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 WebSecurityScannerClient({fallback: 'rest'}, gax);
* const client = new WebSecurityScannerClient({fallback: true}, gax);
* ```

@@ -133,3 +132,3 @@ */

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

@@ -136,0 +135,0 @@ }

@@ -61,4 +61,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

@@ -71,3 +70,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 WebSecurityScannerClient({fallback: 'rest'}, gax);
* const client = new WebSecurityScannerClient({fallback: true}, gax);
* ```

@@ -74,0 +73,0 @@ */

@@ -65,4 +65,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

@@ -75,3 +74,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 WebSecurityScannerClient({fallback: 'rest'}, gax);
* const client = new WebSecurityScannerClient({fallback: true}, gax);
* ```

@@ -133,3 +132,3 @@ */

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

@@ -136,0 +135,0 @@ }

# Changelog
## [3.0.1](https://github.com/googleapis/google-cloud-node/compare/web-security-scanner-v3.0.0...web-security-scanner-v3.0.1) (2023-09-06)
### Bug Fixes
* [Many APIs] simplify logic for HTTP/1.1 REST fallback option ([#4589](https://github.com/googleapis/google-cloud-node/issues/4589)) ([07967ad](https://github.com/googleapis/google-cloud-node/commit/07967add1b5fc28b548cf74721b595ea0ba90d5b))
## [3.0.0](https://github.com/googleapis/google-cloud-node/compare/web-security-scanner-v2.1.5...web-security-scanner-v3.0.0) (2023-08-06)

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

{
"name": "@google-cloud/web-security-scanner",
"version": "3.0.0",
"version": "3.0.1",
"description": "Websecurityscanner 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",

@@ -142,3 +142,3 @@ [//]: # "This README.md file is auto-generated, all changes to this file will be lost."

Our client libraries follow the [Node.js release schedule](https://nodejs.org/en/about/releases/).
Our client libraries follow the [Node.js release schedule](https://github.com/nodejs/release#release-schedule).
Libraries are compatible with all current _active_ and _maintenance_ versions of

@@ -145,0 +145,0 @@ Node.js.

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