Skip to content

Commit

Permalink
chore!: [kms] migrate to Node 14
Browse files Browse the repository at this point in the history
* docs: Minor formatting

PiperOrigin-RevId: 553100418

Source-Link: googleapis/googleapis@09b5fc6

Source-Link: googleapis/googleapis-gen@8441eb3
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWttcy8uT3dsQm90LnlhbWwiLCJoIjoiODQ0MWViM2VjMmFjYjQ2NGIzNDZmYTczNzE5MDYzZjdiMmM4MmFkZiJ9

* build: fix owlbot rules

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* chore!: migrate to Node 14

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Alexander Fenster <[email protected]>
  • Loading branch information
3 people authored Aug 3, 2023
1 parent 9a7d33d commit bfddc7d
Show file tree
Hide file tree
Showing 20 changed files with 8,289 additions and 980 deletions.
2 changes: 1 addition & 1 deletion packages/google-cloud-kms/.OwlBot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
deep-remove-regex:
- /owl-bot-staging
deep-copy-regex:
- source: /google/cloud/kms/v(.*)/.*-nodejs
- source: /google/cloud/kms/(v.*)/.*-nodejs
dest: /owl-bot-staging/google-cloud-kms/$1
api-name: kms
2 changes: 1 addition & 1 deletion packages/google-cloud-kms/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ also contains samples.

## Supported Node.js Versions

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
Node.js.
If you are using an end-of-life version of Node.js, we recommend that you update
Expand Down
11 changes: 6 additions & 5 deletions packages/google-cloud-kms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "Apache-2.0",
"author": "Google LLC",
"engines": {
"node": ">=12.0.0"
"node": ">=14.0.0"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -48,14 +48,15 @@
"test": "c8 mocha build/test"
},
"dependencies": {
"google-gax": "^3.5.8"
"google-gax": "^4.0.3"
},
"devDependencies": {
"@types/mocha": "^9.0.0",
"@types/node": "^18.0.0",
"@types/node": "^20.4.5",
"@types/sinon": "^10.0.0",
"c8": "^7.1.0",
"gts": "^3.1.0",
"gapic-tools": "^0.1.8",
"gts": "^5.0.0",
"jsdoc": "^4.0.0",
"jsdoc-fresh": "^2.0.0",
"jsdoc-region-tag": "^2.0.0",
Expand All @@ -66,7 +67,7 @@
"pack-n-play": "^1.0.0-2",
"sinon": "^15.0.0",
"ts-loader": "^9.0.0",
"typescript": "^4.6.4",
"typescript": "^5.1.6",
"webpack": "^5.0.0",
"webpack-cli": "^5.0.0"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -304,37 +304,37 @@ message CryptoKeyVersion {
// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].
//
// Algorithms beginning with "RSA_SIGN_" are usable with
// Algorithms beginning with `RSA_SIGN_` are usable with
// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
// [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN].
//
// The fields in the name after "RSA_SIGN_" correspond to the following
// The fields in the name after `RSA_SIGN_` correspond to the following
// parameters: padding algorithm, modulus bit length, and digest algorithm.
//
// For PSS, the salt length used is equal to the length of digest
// algorithm. For example,
// [RSA_SIGN_PSS_2048_SHA256][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm.RSA_SIGN_PSS_2048_SHA256]
// will use PSS with a salt length of 256 bits or 32 bytes.
//
// Algorithms beginning with "RSA_DECRYPT_" are usable with
// Algorithms beginning with `RSA_DECRYPT_` are usable with
// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
// [ASYMMETRIC_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_DECRYPT].
//
// The fields in the name after "RSA_DECRYPT_" correspond to the following
// The fields in the name after `RSA_DECRYPT_` correspond to the following
// parameters: padding algorithm, modulus bit length, and digest algorithm.
//
// Algorithms beginning with "EC_SIGN_" are usable with
// Algorithms beginning with `EC_SIGN_` are usable with
// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
// [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN].
//
// The fields in the name after "EC_SIGN_" correspond to the following
// The fields in the name after `EC_SIGN_` correspond to the following
// parameters: elliptic curve, digest algorithm.
//
// Algorithms beginning with "HMAC_" are usable with
// Algorithms beginning with `HMAC_` are usable with
// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
// [MAC][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.MAC].
//
// The suffix following "HMAC_" corresponds to the hash algorithm being used
// The suffix following `HMAC_` corresponds to the hash algorithm being used
// (eg. SHA256).
//
// For more information, see [Key purposes and algorithms]
Expand Down
Loading

0 comments on commit bfddc7d

Please sign in to comment.