-
Notifications
You must be signed in to change notification settings - Fork 592
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3574 from googleapis/nodejs-web-security-scanner-…
…migration migrate code from googleapis/nodejs-web-security-scanner
- Loading branch information
Showing
121 changed files
with
92,579 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Copyright 2021 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
deep-remove-regex: | ||
- /owl-bot-staging | ||
|
||
deep-copy-regex: | ||
- source: /google/cloud/websecurityscanner/(.*)/.*-nodejs | ||
dest: /owl-bot-staging/google-cloud-websecurityscanner/$1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
**/node_modules | ||
**/coverage | ||
test/fixtures | ||
build/ | ||
docs/ | ||
protos/ | ||
samples/generated/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"extends": "./node_modules/gts" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
*.ts text eol=lf | ||
*.js text eol=lf | ||
protos/* linguist-generated | ||
**/api-extractor.json linguist-language=JSON-with-Comments |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
**/*.log | ||
**/node_modules | ||
.coverage | ||
coverage | ||
.nyc_output | ||
docs/ | ||
out/ | ||
build/ | ||
system-test/secrets.js | ||
system-test/*key.json | ||
*.lock | ||
.DS_Store | ||
package-lock.json | ||
__pycache__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
// Copyright 2022 Google LLC | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// https://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
// | ||
// ** This file is automatically generated by gapic-generator-typescript. ** | ||
// ** https://github.com/googleapis/gapic-generator-typescript ** | ||
// ** All changes to this file may be overwritten. ** | ||
|
||
'use strict'; | ||
|
||
module.exports = { | ||
opts: { | ||
readme: './README.md', | ||
package: './package.json', | ||
template: './node_modules/jsdoc-fresh', | ||
recurse: true, | ||
verbose: true, | ||
destination: './docs/' | ||
}, | ||
plugins: [ | ||
'plugins/markdown', | ||
'jsdoc-region-tag' | ||
], | ||
source: { | ||
excludePattern: '(^|\\/|\\\\)[._]', | ||
include: [ | ||
'build/src', | ||
'protos' | ||
], | ||
includePattern: '\\.js$' | ||
}, | ||
templates: { | ||
copyright: 'Copyright 2022 Google LLC', | ||
includeDate: false, | ||
sourceFiles: false, | ||
systemName: '@google-cloud/web-security-scanner', | ||
theme: 'lumen', | ||
default: { | ||
outputSourceFiles: false | ||
} | ||
}, | ||
markdown: { | ||
idInHeadings: true | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// Copyright 2022 Google LLC | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
const config = { | ||
"enable-source-maps": true, | ||
"throw-deprecation": true, | ||
"timeout": 10000, | ||
"recursive": true | ||
} | ||
if (process.env.MOCHA_THROW_DEPRECATION === 'false') { | ||
delete config['throw-deprecation']; | ||
} | ||
if (process.env.MOCHA_REPORTER) { | ||
config.reporter = process.env.MOCHA_REPORTER; | ||
} | ||
if (process.env.MOCHA_REPORTER_OUTPUT) { | ||
config['reporter-option'] = `output=${process.env.MOCHA_REPORTER_OUTPUT}`; | ||
} | ||
module.exports = config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"report-dir": "./.coverage", | ||
"reporter": ["text", "lcov"], | ||
"exclude": [ | ||
"**/*-test", | ||
"**/.coverage", | ||
"**/apis", | ||
"**/benchmark", | ||
"**/conformance", | ||
"**/docs", | ||
"**/samples", | ||
"**/scripts", | ||
"**/protos", | ||
"**/test", | ||
"**/*.d.ts", | ||
".jsdoc.js", | ||
"**/.jsdoc.js", | ||
"karma.conf.js", | ||
"webpack-tests.config.js", | ||
"webpack.config.js" | ||
], | ||
"exclude-after-remap": false, | ||
"all": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
**/node_modules | ||
**/coverage | ||
test/fixtures | ||
build/ | ||
docs/ | ||
protos/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// Copyright 2022 Google LLC | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// https://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
module.exports = { | ||
...require('gts/.prettierrc.json') | ||
} |
16 changes: 16 additions & 0 deletions
16
packages/google-cloud-websecurityscanner/.repo-metadata.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"client_documentation": "https://cloud.google.com/nodejs/docs/reference/web-security-scanner/latest", | ||
"api_id": "websecurityscanner.googleapis.com", | ||
"distribution_name": "@google-cloud/web-security-scanner", | ||
"release_level": "stable", | ||
"default_version": "v1beta", | ||
"language": "nodejs", | ||
"name_pretty": "Web Security Scanner", | ||
"repo": "googleapis/google-cloud-node", | ||
"product_documentation": "https://cloud.google.com/security-scanner/", | ||
"requires_billing": true, | ||
"name": "websecurityscanner", | ||
"issue_tracker": "https://github.com/googleapis/google-cloud-node/issues", | ||
"api_shortname": "websecurityscanner", | ||
"library_type": "GAPIC_AUTO" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,122 @@ | ||
# Changelog | ||
|
||
## [2.1.3](https://github.com/googleapis/nodejs-web-security-scanner/compare/v2.1.2...v2.1.3) (2022-11-10) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **deps:** Use google-gax v3.5.2 ([#148](https://github.com/googleapis/nodejs-web-security-scanner/issues/148)) ([6f6cf70](https://github.com/googleapis/nodejs-web-security-scanner/commit/6f6cf7089280129b7d8c8acd2acbeee5388da598)) | ||
* Preserve default values in x-goog-request-params header ([#140](https://github.com/googleapis/nodejs-web-security-scanner/issues/140)) ([e16d06d](https://github.com/googleapis/nodejs-web-security-scanner/commit/e16d06d8e4ea03eee1eb3feddc57b3bc95678728)) | ||
* Regenerated protos JS and TS definitions ([#151](https://github.com/googleapis/nodejs-web-security-scanner/issues/151)) ([7a6395a](https://github.com/googleapis/nodejs-web-security-scanner/commit/7a6395aedcad3a87738e6c38bc5880d66dc99e0c)) | ||
|
||
## [2.1.2](https://github.com/googleapis/nodejs-web-security-scanner/compare/v2.1.1...v2.1.2) (2022-08-27) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* do not import the whole google-gax from proto JS ([#1553](https://github.com/googleapis/nodejs-web-security-scanner/issues/1553)) ([#139](https://github.com/googleapis/nodejs-web-security-scanner/issues/139)) ([4ff7015](https://github.com/googleapis/nodejs-web-security-scanner/commit/4ff701583b66f1f7f80b9c9ab2b2445549a6c81f)) | ||
* use google-gax v3.3.0 ([4ff7015](https://github.com/googleapis/nodejs-web-security-scanner/commit/4ff701583b66f1f7f80b9c9ab2b2445549a6c81f)) | ||
|
||
## [2.1.1](https://github.com/googleapis/nodejs-web-security-scanner/compare/v2.1.0...v2.1.1) (2022-08-23) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* better support for fallback mode ([#135](https://github.com/googleapis/nodejs-web-security-scanner/issues/135)) ([9b70cc5](https://github.com/googleapis/nodejs-web-security-scanner/commit/9b70cc5a238bdf595a0dd05244662e60156de8d1)) | ||
* change import long to require ([#136](https://github.com/googleapis/nodejs-web-security-scanner/issues/136)) ([f9e6d50](https://github.com/googleapis/nodejs-web-security-scanner/commit/f9e6d502b1b5c7e47e349dc8569d61853524c519)) | ||
* remove pip install statements ([#1546](https://github.com/googleapis/nodejs-web-security-scanner/issues/1546)) ([#138](https://github.com/googleapis/nodejs-web-security-scanner/issues/138)) ([00a8d54](https://github.com/googleapis/nodejs-web-security-scanner/commit/00a8d549df6e346b202e8ea674642769a08cead5)) | ||
|
||
## [2.1.0](https://github.com/googleapis/nodejs-web-security-scanner/compare/v2.0.0...v2.1.0) (2022-06-29) | ||
|
||
|
||
### Features | ||
|
||
* support regapic LRO ([#129](https://github.com/googleapis/nodejs-web-security-scanner/issues/129)) ([bc9ba59](https://github.com/googleapis/nodejs-web-security-scanner/commit/bc9ba59369cf1945d1352076c01a2139e8d3c1ce)) | ||
|
||
## [2.0.0](https://github.com/googleapis/nodejs-web-security-scanner/compare/v1.1.1...v2.0.0) (2022-05-19) | ||
|
||
|
||
### ⚠ BREAKING CHANGES | ||
|
||
* update library to use Node 12 (#124) | ||
|
||
### Build System | ||
|
||
* update library to use Node 12 ([#124](https://github.com/googleapis/nodejs-web-security-scanner/issues/124)) ([f6f6886](https://github.com/googleapis/nodejs-web-security-scanner/commit/f6f6886ac002dbc95b248bdab22c6d6f1fa28ba2)) | ||
|
||
### [1.1.1](https://www.github.com/googleapis/nodejs-web-security-scanner/compare/v1.1.0...v1.1.1) (2021-09-09) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **build:** migrate to using main branch ([#77](https://www.github.com/googleapis/nodejs-web-security-scanner/issues/77)) ([caf7a6c](https://www.github.com/googleapis/nodejs-web-security-scanner/commit/caf7a6c7b28c5bc2346edbf5051c991c9ee8f62e)) | ||
|
||
## [1.1.0](https://www.github.com/googleapis/nodejs-web-security-scanner/compare/v1.0.7...v1.1.0) (2021-08-23) | ||
|
||
|
||
### Features | ||
|
||
* turns on self-signed JWT feature flag ([#74](https://www.github.com/googleapis/nodejs-web-security-scanner/issues/74)) ([f806cd5](https://www.github.com/googleapis/nodejs-web-security-scanner/commit/f806cd5c38d8a04927fb3b57199cd425d5beb9b3)) | ||
|
||
### [1.0.7](https://www.github.com/googleapis/nodejs-web-security-scanner/compare/v1.0.6...v1.0.7) (2021-08-17) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **deps:** google-gax v2.24.1 ([#72](https://www.github.com/googleapis/nodejs-web-security-scanner/issues/72)) ([3821eed](https://www.github.com/googleapis/nodejs-web-security-scanner/commit/3821eed56dc35cd476ce8042cdb18792cd9f0821)) | ||
|
||
### [1.0.6](https://www.github.com/googleapis/nodejs-web-security-scanner/compare/v1.0.5...v1.0.6) (2021-07-16) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* Updating WORKSPACE files to use the newest version of the Typescript generator. ([#64](https://www.github.com/googleapis/nodejs-web-security-scanner/issues/64)) ([d22bb5d](https://www.github.com/googleapis/nodejs-web-security-scanner/commit/d22bb5d52449ee2329f603d2b7c5667e4a74a7f6)) | ||
|
||
### [1.0.5](https://www.github.com/googleapis/nodejs-web-security-scanner/compare/v1.0.4...v1.0.5) (2021-07-12) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **deps:** google-gax v2.17.1 ([#62](https://www.github.com/googleapis/nodejs-web-security-scanner/issues/62)) ([8dd2c22](https://www.github.com/googleapis/nodejs-web-security-scanner/commit/8dd2c2291b9cec0d3d2e0af39f44768293037d5c)) | ||
|
||
### [1.0.4](https://www.github.com/googleapis/nodejs-web-security-scanner/compare/v1.0.3...v1.0.4) (2021-06-29) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **deps:** google-gax v2.17.0 with mTLS ([#59](https://www.github.com/googleapis/nodejs-web-security-scanner/issues/59)) ([8ea4607](https://www.github.com/googleapis/nodejs-web-security-scanner/commit/8ea4607ee57ab7e876ec2d16a9e32f83b600a5e1)) | ||
|
||
### [1.0.3](https://www.github.com/googleapis/nodejs-web-security-scanner/compare/v1.0.2...v1.0.3) (2021-06-23) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* make request optional in all cases ([#55](https://www.github.com/googleapis/nodejs-web-security-scanner/issues/55)) ([c6dfc29](https://www.github.com/googleapis/nodejs-web-security-scanner/commit/c6dfc29bf8f9f69f5a94319bb2f3410e7a782e3d)) | ||
|
||
### [1.0.2](https://www.github.com/googleapis/nodejs-web-security-scanner/compare/v1.0.1...v1.0.2) (2021-05-25) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* GoogleAdsError missing using generator version after 1.3.0 ([#46](https://www.github.com/googleapis/nodejs-web-security-scanner/issues/46)) ([4d97ddc](https://www.github.com/googleapis/nodejs-web-security-scanner/commit/4d97ddc5340c337c6c80bf6c098e0f9a10f26297)) | ||
|
||
### [1.0.1](https://www.github.com/googleapis/nodejs-web-security-scanner/compare/v1.0.0...v1.0.1) (2021-05-12) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **deps:** require google-gax v2.12.0 ([#38](https://www.github.com/googleapis/nodejs-web-security-scanner/issues/38)) ([5c32ea0](https://www.github.com/googleapis/nodejs-web-security-scanner/commit/5c32ea032303cd9a5276fd1ccff6a04232541ccd)) | ||
* use require() to load JSON protos ([#41](https://www.github.com/googleapis/nodejs-web-security-scanner/issues/41)) ([0e4c54a](https://www.github.com/googleapis/nodejs-web-security-scanner/commit/0e4c54a70ad84df105b9bd9b94078d2d7d2bd43c)) | ||
|
||
## 1.0.0 (2020-12-12) | ||
|
||
|
||
### ⚠ BREAKING CHANGES | ||
|
||
* write initial samples (#2) | ||
* initial stub of library | ||
|
||
### Features | ||
|
||
* initial stub of library ([5e79020](https://www.github.com/googleapis/nodejs-web-security-scanner/commit/5e79020df9274bb946122bc87494c4fb037cacfc)) | ||
* write initial samples ([#2](https://www.github.com/googleapis/nodejs-web-security-scanner/issues/2)) ([f1e575b](https://www.github.com/googleapis/nodejs-web-security-scanner/commit/f1e575bcac6ab0223e8de3cefee70bb8699ee98d)) |
Oops, something went wrong.