mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Merge pull request #104 from omnivore-app/dependabot/npm_and_yarn/google-cloud/pubsub-2.19.0
Bump @google-cloud/pubsub from 2.17.0 to 2.19.0
This commit is contained in:
commit
6b84148991
2 changed files with 28 additions and 90 deletions
|
|
@ -45,7 +45,7 @@ export class NewsletterHandler {
|
|||
rawUrl: string,
|
||||
title: string,
|
||||
from: string
|
||||
): Promise<[string] | undefined> {
|
||||
): Promise<string | undefined> {
|
||||
console.log('handleNewsletter', email, rawUrl, title, from)
|
||||
|
||||
if (!email || !html || !title || !from) {
|
||||
|
|
@ -101,7 +101,7 @@ export const handleConfirmation = async (email: string, subject: string) => {
|
|||
const publishMessage = async (
|
||||
topic: string,
|
||||
message: Record<string, string>
|
||||
): Promise<[string] | undefined> => {
|
||||
): Promise<string | undefined> => {
|
||||
return pubsub
|
||||
.topic(topic)
|
||||
.publishMessage({ json: message })
|
||||
|
|
|
|||
114
yarn.lock
114
yarn.lock
|
|
@ -1268,10 +1268,10 @@
|
|||
resolved "https://registry.yarnpkg.com/@google-cloud/opentelemetry-resource-util/-/opentelemetry-resource-util-0.10.0.tgz#1d808f9cb9a590147d0790d0f9696e06427328c1"
|
||||
integrity sha512-6o0vqrQVAFw0TyM/Hf7AgVHh2S4LHJxIxL3ITkPYA/00WlDlnwL+gg327olgqaG4hcEo0oluMvFnMMFAdS5VGA==
|
||||
|
||||
"@google-cloud/paginator@^3.0.0":
|
||||
version "3.0.5"
|
||||
resolved "https://registry.yarnpkg.com/@google-cloud/paginator/-/paginator-3.0.5.tgz#9d6b96c421a89bd560c1bc2c197c7611ef21db6c"
|
||||
integrity sha512-N4Uk4BT1YuskfRhKXBs0n9Lg2YTROZc6IMpkO/8DIHODtm5s3xY8K5vVBo23v/2XulY3azwITQlYWgT4GdLsUw==
|
||||
"@google-cloud/paginator@^3.0.0", "@google-cloud/paginator@^3.0.6":
|
||||
version "3.0.7"
|
||||
resolved "https://registry.yarnpkg.com/@google-cloud/paginator/-/paginator-3.0.7.tgz#fb6f8e24ec841f99defaebf62c75c2e744dd419b"
|
||||
integrity sha512-jJNutk0arIQhmpUUQJPJErsojqo834KcyB6X7a1mxuic8i1tKXxde8E69IZxNZawRIlZdIK2QY4WALvlK5MzYQ==
|
||||
dependencies:
|
||||
arrify "^2.0.0"
|
||||
extend "^3.0.2"
|
||||
|
|
@ -1291,65 +1291,23 @@
|
|||
resolved "https://registry.yarnpkg.com/@google-cloud/promisify/-/promisify-2.0.3.tgz#f934b5cdc939e3c7039ff62b9caaf59a9d89e3a8"
|
||||
integrity sha512-d4VSA86eL/AFTe5xtyZX+ePUjE8dIFu2T8zmdeNBSa5/kNgXPCx/o/wbFNHAGLJdGnk1vddRuMESD9HbOC8irw==
|
||||
|
||||
"@google-cloud/pubsub@^2.16.0":
|
||||
version "2.17.0"
|
||||
resolved "https://registry.yarnpkg.com/@google-cloud/pubsub/-/pubsub-2.17.0.tgz#6da80a69b0b077e36575255576c533ea092b38f5"
|
||||
integrity sha512-9Xya69A5VAYVEGf651jy071RuBIjv+jpyozSc3j8V21LIiKRr9x+KyplHcLTYWdj+uXbP9cry8Ck8JEFc7GiqQ==
|
||||
"@google-cloud/pubsub@^2.16.0", "@google-cloud/pubsub@^2.16.3", "@google-cloud/pubsub@^2.18.4":
|
||||
version "2.19.0"
|
||||
resolved "https://registry.yarnpkg.com/@google-cloud/pubsub/-/pubsub-2.19.0.tgz#45541e66db9fbe9faa4f00e89a44f41954c6fc86"
|
||||
integrity sha512-aNgaS7zI6MkE4hrhmxrGiyFZHPvb0BW1djk0D5RoKDwPb8GTuYBfu8w/3twTvaf+HiM7NchvPtdFRbiETIaadw==
|
||||
dependencies:
|
||||
"@google-cloud/paginator" "^3.0.0"
|
||||
"@google-cloud/paginator" "^3.0.6"
|
||||
"@google-cloud/precise-date" "^2.0.0"
|
||||
"@google-cloud/projectify" "^2.0.0"
|
||||
"@google-cloud/promisify" "^2.0.0"
|
||||
"@opentelemetry/api" "^1.0.0"
|
||||
"@opentelemetry/semantic-conventions" "^0.24.0"
|
||||
"@opentelemetry/semantic-conventions" "^1.0.0"
|
||||
"@types/duplexify" "^3.6.0"
|
||||
"@types/long" "^4.0.0"
|
||||
arrify "^2.0.0"
|
||||
extend "^3.0.2"
|
||||
google-auth-library "^7.0.0"
|
||||
google-gax "^2.24.1"
|
||||
is-stream-ended "^0.1.4"
|
||||
lodash.snakecase "^4.1.1"
|
||||
p-defer "^3.0.0"
|
||||
|
||||
"@google-cloud/pubsub@^2.16.3":
|
||||
version "2.16.6"
|
||||
resolved "https://registry.yarnpkg.com/@google-cloud/pubsub/-/pubsub-2.16.6.tgz#20074030ce82aeabddaf17910dcfbedd69d7da79"
|
||||
integrity sha512-Hsa95pbgUmgxmrAQRePqGfpCx/zEqd+ueZDdi4jjvnew6bAP3r0+i+3a1/qkNonQYcWcf0a2tJnZwVDuMznvog==
|
||||
dependencies:
|
||||
"@google-cloud/paginator" "^3.0.0"
|
||||
"@google-cloud/precise-date" "^2.0.0"
|
||||
"@google-cloud/projectify" "^2.0.0"
|
||||
"@google-cloud/promisify" "^2.0.0"
|
||||
"@opentelemetry/api" "^1.0.0"
|
||||
"@opentelemetry/semantic-conventions" "^0.24.0"
|
||||
"@types/duplexify" "^3.6.0"
|
||||
"@types/long" "^4.0.0"
|
||||
arrify "^2.0.0"
|
||||
extend "^3.0.2"
|
||||
google-auth-library "^7.0.0"
|
||||
google-gax "^2.24.1"
|
||||
is-stream-ended "^0.1.4"
|
||||
lodash.snakecase "^4.1.1"
|
||||
p-defer "^3.0.0"
|
||||
|
||||
"@google-cloud/pubsub@^2.18.4":
|
||||
version "2.18.4"
|
||||
resolved "https://registry.yarnpkg.com/@google-cloud/pubsub/-/pubsub-2.18.4.tgz#41b56cd428d51c6a699b7515af86d9c22ea94a4a"
|
||||
integrity sha512-mgKZ7XdXN7MEGK+MCmRKuoq3GBiuYIa9ytYuV1DIHbd+eYqqyPYZHvL8g/73eogkNYK5TxSydja7TCRDzfJaxA==
|
||||
dependencies:
|
||||
"@google-cloud/paginator" "^3.0.0"
|
||||
"@google-cloud/precise-date" "^2.0.0"
|
||||
"@google-cloud/projectify" "^2.0.0"
|
||||
"@google-cloud/promisify" "^2.0.0"
|
||||
"@opentelemetry/api" "^1.0.0"
|
||||
"@opentelemetry/semantic-conventions" "^0.24.0"
|
||||
"@types/duplexify" "^3.6.0"
|
||||
"@types/long" "^4.0.0"
|
||||
arrify "^2.0.0"
|
||||
extend "^3.0.2"
|
||||
google-auth-library "^7.0.0"
|
||||
google-gax "2.28.1"
|
||||
google-gax "2.29.6"
|
||||
is-stream-ended "^0.1.4"
|
||||
lodash.snakecase "^4.1.1"
|
||||
p-defer "^3.0.0"
|
||||
|
|
@ -1797,10 +1755,10 @@
|
|||
dependencies:
|
||||
"@types/node" ">=12.12.47"
|
||||
|
||||
"@grpc/grpc-js@~1.4.0":
|
||||
version "1.4.6"
|
||||
resolved "https://registry.yarnpkg.com/@grpc/grpc-js/-/grpc-js-1.4.6.tgz#8108d7ab7c0c21b38c538c1a48583edbbf2c2412"
|
||||
integrity sha512-Byau4xiXfIixb1PnW30V/P9mkrZ05lknyNqiK+cVY9J5hj3gecxd/anwaUbAM8j834zg1x78NvAbwGnMfWEu7A==
|
||||
"@grpc/grpc-js@~1.5.0":
|
||||
version "1.5.5"
|
||||
resolved "https://registry.yarnpkg.com/@grpc/grpc-js/-/grpc-js-1.5.5.tgz#f850a1bb7de8a1d0bb4821aabd3655d1c928d4c6"
|
||||
integrity sha512-FTd27ItHlsSG/7hp62xgI9YnqSwRbHRSVmDVR8DwOoC+6t8JhHRXe2JL0U8N9GLc0jS0HrtEbO/KP5+G0ebjLQ==
|
||||
dependencies:
|
||||
"@grpc/proto-loader" "^0.6.4"
|
||||
"@types/node" ">=12.12.47"
|
||||
|
|
@ -3196,11 +3154,6 @@
|
|||
resolved "https://registry.yarnpkg.com/@opentelemetry/semantic-conventions/-/semantic-conventions-1.0.1.tgz#9349c3860a53468fa2108b5df09aa843f22dbf94"
|
||||
integrity sha512-7XU1sfQ8uCVcXLxtAHA8r3qaLJ2oq7sKtEwzZhzuEXqYmjW+n+J4yM3kNo0HQo3Xp1eUe47UM6Wy6yuAvIyllg==
|
||||
|
||||
"@opentelemetry/semantic-conventions@^0.24.0":
|
||||
version "0.24.0"
|
||||
resolved "https://registry.yarnpkg.com/@opentelemetry/semantic-conventions/-/semantic-conventions-0.24.0.tgz#1028ef0e0923b24916158d80d2ddfd67ea8b6740"
|
||||
integrity sha512-a/szuMQV0Quy0/M7kKdglcbRSoorleyyOwbTNNJ32O+RBN766wbQlMTvdimImTmwYWGr+NJOni1EcC242WlRcA==
|
||||
|
||||
"@opentelemetry/tracing@0.22.0", "@opentelemetry/tracing@^0.22.0":
|
||||
version "0.22.0"
|
||||
resolved "https://registry.yarnpkg.com/@opentelemetry/tracing/-/tracing-0.22.0.tgz#e39777168d55b323f03fc11e145932089ad7e41c"
|
||||
|
|
@ -9060,22 +9013,7 @@ google-auth-library@^6.0.0:
|
|||
jws "^4.0.0"
|
||||
lru-cache "^6.0.0"
|
||||
|
||||
google-auth-library@^7.0.0, google-auth-library@^7.0.2, google-auth-library@^7.6.1:
|
||||
version "7.6.2"
|
||||
resolved "https://registry.yarnpkg.com/google-auth-library/-/google-auth-library-7.6.2.tgz#8654985dbd06d8519f09c9c2318c4092f289a501"
|
||||
integrity sha512-yvEnwVsvgH8RXTtpf6e84e7dqIdUEKJhmQvTJwzYP+RDdHjLrDp9sk2u2ZNDJPLKZ7DJicx/+AStcQspJiq+Qw==
|
||||
dependencies:
|
||||
arrify "^2.0.0"
|
||||
base64-js "^1.3.0"
|
||||
ecdsa-sig-formatter "^1.0.11"
|
||||
fast-text-encoding "^1.0.0"
|
||||
gaxios "^4.0.0"
|
||||
gcp-metadata "^4.2.0"
|
||||
gtoken "^5.0.4"
|
||||
jws "^4.0.0"
|
||||
lru-cache "^6.0.0"
|
||||
|
||||
google-auth-library@^7.9.2:
|
||||
google-auth-library@^7.0.0, google-auth-library@^7.0.2, google-auth-library@^7.6.1, google-auth-library@^7.9.2:
|
||||
version "7.11.0"
|
||||
resolved "https://registry.yarnpkg.com/google-auth-library/-/google-auth-library-7.11.0.tgz#b63699c65037310a424128a854ba7e736704cbdb"
|
||||
integrity sha512-3S5jn2quRumvh9F/Ubf7GFrIq71HZ5a6vqosgdIu105kkk0WtSqc2jGCRqtWWOLRS8SX3AHACMOEDxhyWAQIcg==
|
||||
|
|
@ -9090,12 +9028,12 @@ google-auth-library@^7.9.2:
|
|||
jws "^4.0.0"
|
||||
lru-cache "^6.0.0"
|
||||
|
||||
google-gax@2.28.1, google-gax@^2.24.1:
|
||||
version "2.28.1"
|
||||
resolved "https://registry.yarnpkg.com/google-gax/-/google-gax-2.28.1.tgz#99bc234b5769d901d70959d40bd1651729eb4a34"
|
||||
integrity sha512-2Xjd3FrjlVd6Cmw2B2Aicpc/q92SwTpIOvxPUlnRg9w+Do8nu7UR+eQrgoKlo2FIUcUuDTvppvcx8toND0pK9g==
|
||||
google-gax@2.29.6, google-gax@^2.24.1:
|
||||
version "2.29.6"
|
||||
resolved "https://registry.yarnpkg.com/google-gax/-/google-gax-2.29.6.tgz#ba049cf8cbe6d543908286b58648ac98bb1351e6"
|
||||
integrity sha512-NsuGBpxOzvBS4rbaeicIpgZ1caU3vNcG04kJWb51rlcYJvzXwHgPof9w4UplR2WVqlFzLkDtEStQOKhS/QcLmA==
|
||||
dependencies:
|
||||
"@grpc/grpc-js" "~1.4.0"
|
||||
"@grpc/grpc-js" "~1.5.0"
|
||||
"@grpc/proto-loader" "^0.6.1"
|
||||
"@types/long" "^4.0.0"
|
||||
abort-controller "^3.0.0"
|
||||
|
|
@ -9105,7 +9043,7 @@ google-gax@2.28.1, google-gax@^2.24.1:
|
|||
is-stream-ended "^0.1.4"
|
||||
node-fetch "^2.6.1"
|
||||
object-hash "^2.1.1"
|
||||
proto3-json-serializer "^0.1.5"
|
||||
proto3-json-serializer "^0.1.8"
|
||||
protobufjs "6.11.2"
|
||||
retry-request "^4.0.0"
|
||||
|
||||
|
|
@ -13993,10 +13931,10 @@ proto-list@~1.2.1:
|
|||
resolved "https://registry.yarnpkg.com/proto-list/-/proto-list-1.2.4.tgz#212d5bfe1318306a420f6402b8e26ff39647a849"
|
||||
integrity sha1-IS1b/hMYMGpCD2QCuOJv85ZHqEk=
|
||||
|
||||
proto3-json-serializer@^0.1.5:
|
||||
version "0.1.6"
|
||||
resolved "https://registry.yarnpkg.com/proto3-json-serializer/-/proto3-json-serializer-0.1.6.tgz#67cf3b8d5f4c8bebfc410698ad3b1ed64da39c7b"
|
||||
integrity sha512-tGbV6m6Kad8NqxMh5hw87euPS0YoZSAOIfvR01zYkQV8Gpx1V/8yU/0gCKCvfCkhAJsjvzzhnnsdQxA1w7PSog==
|
||||
proto3-json-serializer@^0.1.8:
|
||||
version "0.1.8"
|
||||
resolved "https://registry.yarnpkg.com/proto3-json-serializer/-/proto3-json-serializer-0.1.8.tgz#f80f9afc1efe5ed9a9856bbbd17dc7cabd7ce9a3"
|
||||
integrity sha512-ACilkB6s1U1gWnl5jtICpnDai4VCxmI9GFxuEaYdxtDG2oVI3sVFIUsvUZcQbJgtPM6p+zqKbjTKQZp6Y4FpQw==
|
||||
dependencies:
|
||||
protobufjs "^6.11.2"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue