Skip to content

Commit bfddc7d

Browse files
chore!: [kms] migrate to Node 14
* 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]>
1 parent 9a7d33d commit bfddc7d

20 files changed

Lines changed: 8289 additions & 980 deletions

packages/google-cloud-kms/.OwlBot.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
deep-remove-regex:
1616
- /owl-bot-staging
1717
deep-copy-regex:
18-
- source: /google/cloud/kms/v(.*)/.*-nodejs
18+
- source: /google/cloud/kms/(v.*)/.*-nodejs
1919
dest: /owl-bot-staging/google-cloud-kms/$1
2020
api-name: kms

packages/google-cloud-kms/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ also contains samples.
140140

141141
## Supported Node.js Versions
142142

143-
Our client libraries follow the [Node.js release schedule](https://nodejs.org/en/about/releases/).
143+
Our client libraries follow the [Node.js release schedule](https://github.com/nodejs/release#release-schedule).
144144
Libraries are compatible with all current _active_ and _maintenance_ versions of
145145
Node.js.
146146
If you are using an end-of-life version of Node.js, we recommend that you update

packages/google-cloud-kms/package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"license": "Apache-2.0",
66
"author": "Google LLC",
77
"engines": {
8-
"node": ">=12.0.0"
8+
"node": ">=14.0.0"
99
},
1010
"repository": {
1111
"type": "git",
@@ -48,14 +48,15 @@
4848
"test": "c8 mocha build/test"
4949
},
5050
"dependencies": {
51-
"google-gax": "^3.5.8"
51+
"google-gax": "^4.0.3"
5252
},
5353
"devDependencies": {
5454
"@types/mocha": "^9.0.0",
55-
"@types/node": "^18.0.0",
55+
"@types/node": "^20.4.5",
5656
"@types/sinon": "^10.0.0",
5757
"c8": "^7.1.0",
58-
"gts": "^3.1.0",
58+
"gapic-tools": "^0.1.8",
59+
"gts": "^5.0.0",
5960
"jsdoc": "^4.0.0",
6061
"jsdoc-fresh": "^2.0.0",
6162
"jsdoc-region-tag": "^2.0.0",
@@ -66,7 +67,7 @@
6667
"pack-n-play": "^1.0.0-2",
6768
"sinon": "^15.0.0",
6869
"ts-loader": "^9.0.0",
69-
"typescript": "^4.6.4",
70+
"typescript": "^5.1.6",
7071
"webpack": "^5.0.0",
7172
"webpack-cli": "^5.0.0"
7273
},

packages/google-cloud-kms/protos/google/cloud/kms/v1/resources.proto

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -304,37 +304,37 @@ message CryptoKeyVersion {
304304
// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
305305
// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].
306306
//
307-
// Algorithms beginning with "RSA_SIGN_" are usable with
307+
// Algorithms beginning with `RSA_SIGN_` are usable with
308308
// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
309309
// [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN].
310310
//
311-
// The fields in the name after "RSA_SIGN_" correspond to the following
311+
// The fields in the name after `RSA_SIGN_` correspond to the following
312312
// parameters: padding algorithm, modulus bit length, and digest algorithm.
313313
//
314314
// For PSS, the salt length used is equal to the length of digest
315315
// algorithm. For example,
316316
// [RSA_SIGN_PSS_2048_SHA256][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm.RSA_SIGN_PSS_2048_SHA256]
317317
// will use PSS with a salt length of 256 bits or 32 bytes.
318318
//
319-
// Algorithms beginning with "RSA_DECRYPT_" are usable with
319+
// Algorithms beginning with `RSA_DECRYPT_` are usable with
320320
// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
321321
// [ASYMMETRIC_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_DECRYPT].
322322
//
323-
// The fields in the name after "RSA_DECRYPT_" correspond to the following
323+
// The fields in the name after `RSA_DECRYPT_` correspond to the following
324324
// parameters: padding algorithm, modulus bit length, and digest algorithm.
325325
//
326-
// Algorithms beginning with "EC_SIGN_" are usable with
326+
// Algorithms beginning with `EC_SIGN_` are usable with
327327
// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
328328
// [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN].
329329
//
330-
// The fields in the name after "EC_SIGN_" correspond to the following
330+
// The fields in the name after `EC_SIGN_` correspond to the following
331331
// parameters: elliptic curve, digest algorithm.
332332
//
333-
// Algorithms beginning with "HMAC_" are usable with
333+
// Algorithms beginning with `HMAC_` are usable with
334334
// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
335335
// [MAC][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.MAC].
336336
//
337-
// The suffix following "HMAC_" corresponds to the hash algorithm being used
337+
// The suffix following `HMAC_` corresponds to the hash algorithm being used
338338
// (eg. SHA256).
339339
//
340340
// For more information, see [Key purposes and algorithms]

0 commit comments

Comments
 (0)