profile
viewpoint

googleapis/google-api-nodejs-client 8970

Google's officially supported Node.js client library for accessing Google APIs. Support for authorization and authentication with OAuth 2.0, API Keys and JWT (Service Tokens) is included.

googleapis/googleapis 3144

Public interface definitions of Google APIs.

google/gts 2939

☂️ TypeScript style guide, formatter, and linter.

googleapis/github-repo-automation 109

A set of tools to automate multiple GitHub repository management.

GoogleCloudPlatform/wombat-dressing-room 78

proxy designed to reduce the attack surface of npm publish

GoogleCloudPlatform/nodejs-repo-tools 48

A tool used to maintain and test Google GitHub repositories.

googleapis/gapic-generator-typescript 25

Generate Typescript API client libraries from Protocol Buffers.

bcoe/http2spy 21

test helpers for working with Node.js' http2 module

GoogleCloudPlatform/raspberrypi-docs-samples 8

Examples of using Google Cloud APIs with Raspberry Pi

pull request commentgoogleapis/gapic-showcase

Route REST requests to back-end services

Codecov Report

Merging #507 (5971432) into master (669d26a) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #507   +/-   ##
=======================================
  Coverage   97.81%   97.81%           
=======================================
  Files          14       14           
  Lines        1007     1007           
=======================================
  Hits          985      985           
  Misses         15       15           
  Partials        7        7           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 669d26a...5971432. Read the comment docs.

vchudnov-g

comment created time in 2 hours

PR opened googleapis/gapic-showcase

Route REST requests to back-end services

Each REST request is now routed to the appropriate back-end service based on its HTTP annotation path. The server now outputs a log message confirming the request was received. Note, however, that no request parameters are populated yet, so most requests FAIL (returning an error code back over REST responses). Populating request parameters comes next.

This adds a dependency on the gorilla/mux dispatcher.

Running locally: To build and test: go install ./util/cmd/... && go run ./util/cmd/compile_protos && go test ./... && go install ./...

To run the server, as usual: gapic-showcase run

Local REST output:

$ curl http://localhost:7469/v1beta1/echo:echo  
{}

$ curl http://localhost:7469/v1beta1/echo:expand
ERROR: not implementing streaming methods yet                                                                                                                 

$ curl http://localhost:7469/v1beta1/users/someone/profile/blurbs
rpc error: code = NotFound desc = Parent  not found. 

Review notes:

  • this is a PR that depends on the previous showcase#505. If I've set things up correctly, you should only see the changes relative to that PR. If you see changes from that PR repeated here, let me know and I'll figure out how to fix it. (Things should be simpler once that PR is merged.)
  • server/genrest/ contains the generated files, which are large but may be useful for seeing what gets generated. The actual code is in other directories, mainly util/genrest/
  • there are no tests for the generated files yet, since the content will change in upcoming PRs.
+3606 -32

0 comment

26 changed files

pr created time in 2 hours

push eventgoogleapis/gapic-generator

Bu Sun Kim

commit sha ea326702bac44a5924147b81f30940dd4973d57a

build(python): default to microgenerator rules (#3311) Keeping 'py_gapic_library2' alias for now. This will be switched to 'py_gapic_library' once `repository_rules.bzl` is cleaned up.

view details

Brent Shaffer

commit sha e9704b5b9bbbf3c9c50db389b94565e0c94dca9c

Merge branch 'master' into add-rest-only-transport-option

view details

push time in 3 hours

PR closed protobufjs/protobuf.js

Remove dependency on vulnerable package and fix lint errors

Updated to gh-pages@^1.2.0, to remove dependency on vulnerable base64url@2.0.0.

Fixed lint errors.

+1370 -1273

1 comment

3 changed files

SlyryD

pr closed time in 4 hours

issue commentprotobufjs/protobuf.js

Typed Reflection (TypeGuards?)

The best pattern for arbitrary messages is google.protobuf.Any.
It stores an URL with the type name and the message content in a bytes field.

I do not know how well protobuf.js supports Any. It should have some convenience-Methods to easily pack / unpack the content.

bhishp

comment created time in 4 hours

PR opened googleapis/gapic-generator-typescript

chore(deps): update dependency @microsoft/api-documenter to ^7.11.2

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@microsoft/api-documenter (source) ^7.11.1 -> ^7.11.2 age adoption passing confidence

Renovate configuration

:date: Schedule: At any time (no schedule defined).

:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.

:recycle: Rebasing: Never, or you tick the rebase/retry checkbox.

:no_bell: Ignore: Close this PR and you won't be reminded about this update again.


  • [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

This PR has been generated by WhiteSource Renovate. View repository job log here.

+5 -5

0 comment

2 changed files

pr created time in 21 hours

issue commentprotobufjs/protobuf.js

npm install failed

This is happening to me too:

Versions: OS: Windows 10 protobufjs: 6.10.2 node: 14.15.1 yarn: 1.22.5

koolay

comment created time in 21 hours

push eventgoogleapis/gapic-generator-typescript

WhiteSource Renovate

commit sha a510895cca50e284fe9f280bb08737c77b4b6fd1

chore(deps): update all packages (#787)

view details

push time in a day

PR merged googleapis/gapic-generator-typescript

Reviewers
chore(deps): update all packages cla: yes kokoro:force-run

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@bazel/typescript ^2.3.0 -> ^2.3.1 age adoption passing confidence
@microsoft/api-documenter (source) ^7.11.0 -> ^7.11.1 age adoption passing confidence
@types/node ^14.14.9 -> ^14.14.10 age adoption passing confidence
linkinator ^2.2.2 -> ^2.4.0 age adoption passing confidence
prettier (source) ^2.2.0 -> ^2.2.1 age adoption passing confidence
webpack ^5.6.0 -> ^5.9.0 age adoption passing confidence

Release Notes

<details> <summary>bazelbuild/rules_nodejs</summary>

v2.3.1

Compare Source

Bug Fixes
  • builtin: make linker deterministic when resolving from manifest & fix link_workspace_root with no runfiles (8adebda)
  • npm_package.pack on Windows should not generate undefined.tgz (76c3f51)
Performance Improvements
  • cypress: pack cypress runfiles into a single tar (185c632)

</details>

<details> <summary>JustinBeckwith/linkinator</summary>

v2.4.0

Compare Source

Features

v2.3.0

Compare Source

Features

</details>

<details> <summary>prettier/prettier</summary>

v2.2.1

Compare Source

diff

Fix formatting for AssignmentExpression with ClassExpression (#​9741 by @​sosukesuzuki)

<!-- prettier-ignore -->

// Input
module.exports = class A extends B {
  method() {
    console.log("foo");
  }
};

// Prettier 2.2.0
module.exports = class A extends (
  B
) {
  method() {
    console.log("foo");
  }
};

// Prettier 2.2.1
module.exports = class A extends B {
  method() {
    console.log("foo");
  }
};

</details>

<details> <summary>webpack/webpack</summary>

v5.9.0

Compare Source

Features

  • improve side effects analysis to report imported and reexported symbols as side-effect-free

Bugfixes

  • fix problem when HMR and different runtimes (e. g. with Workers)
    • caused crash with ... has no hash info for runtime ...

v5.8.0

Compare Source

Features
  • add the ability to process assets generated in later stages during processAssets
  • new processAssets stage: PROCESS_ASSETS_STAGE_OPTIMIZE_INLINE
  • add hooks to the RealContentHashPlugin to allow to process custom hashes (e. g. SRI)
Bugfixes
  • fix typing for child compiler plugins
  • SourceMapPlugin will process assets added in later stages during asset processing

v5.7.0

Compare Source

Features
  • CLI supports installing webpack-cli via pnpm
Bugfixes
  • fix problem with ASI detection, causing semicolons inserted after if(...) etc.

</details>


Renovate configuration

:date: Schedule: At any time (no schedule defined).

:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.

:recycle: Rebasing: Never, or you tick the rebase/retry checkbox.

:ghost: Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

This PR has been generated by WhiteSource Renovate. View repository job log here.

+64 -64

0 comment

19 changed files

renovate-bot

pr closed time in a day

push eventgoogleapis/gapic-showcase

WhiteSource Renovate

commit sha 750bb2216f2541dea47f4a81d9333a2b3985e57e

chore(deps): update google.golang.org/genproto commit hash to 9b1e624 (#506)

view details

push time in a day

PR merged googleapis/gapic-showcase

Reviewers
chore(deps): update google.golang.org/genproto commit hash to 9b1e624 cla: yes kokoro:force-run

WhiteSource Renovate

This PR contains the following updates:

Package Type Update Change
google.golang.org/genproto require digest 62d171c -> 9b1e624

Renovate configuration

:date: Schedule: "after 12pm on monday" in timezone America/Los_Angeles.

:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.

:recycle: Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

:no_bell: Ignore: Close this PR and you won't be reminded about this update again.


  • [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

This PR has been generated by WhiteSource Renovate. View repository job log here.

+3 -3

2 comments

2 changed files

renovate-bot

pr closed time in a day

delete branch googleapis/gapic-generator

delete branch : busunkim96-patch-2

delete time in a day

push eventgoogleapis/gapic-generator

Bu Sun Kim

commit sha ea326702bac44a5924147b81f30940dd4973d57a

build(python): default to microgenerator rules (#3311) Keeping 'py_gapic_library2' alias for now. This will be switched to 'py_gapic_library' once `repository_rules.bzl` is cleaned up.

view details

push time in a day

PR merged googleapis/gapic-generator

Reviewers
build(python): default to microgenerator rules cla: yes

Keep py_gapic_library2 alias for now. This will be switched to py_gapic_library once repository_rules.bzl in googleapis is cleaned up. There are still a handful (<5) libraries using the monolith in Python but any new libraries should use the microgenerator.

+6 -74

3 comments

2 changed files

busunkim96

pr closed time in a day

push eventgoogleapis/artman

Romario Maxwell

commit sha 46ab071ea1339774e18f64be148bde5e02afec76

Fix typo in installing.rst (#852)

view details

push time in 4 days

PR merged googleapis/artman

Fix typo in installing.rst cla: yes
+1 -1

0 comment

1 changed file

macsual

pr closed time in 4 days

issue commentprotobufjs/protobuf.js

Protobufjs can not be used in some mini program platforms because of util.global initialized failed.

Thanks @alexander-fenster. Hope we can get next version with above change soon.

andyfu6

comment created time in 6 days

issue commentprotobufjs/protobuf.js

Distinguish between empty vs unset for repeated fields

https://github.com/protobufjs/protobuf.js/issues/1218 looks related as well

hpx7

comment created time in 6 days

PR opened googleapis/artman

Fix typo in installing.rst
+1 -1

0 comment

1 changed file

pr created time in 6 days

issue openedprotobufjs/protobuf.js

Distinguish between empty vs unset for repeated fields

Given the following message:

message AwesomeMessage {
  repeated string empty = 1;
  repeated string unset = 2;
}

With no toObject conversion options:

const encoded = AwesomeMessage.encode({ empty: [] }).finish();
const decoded = AwesomeMessage.decode(encoded);
console.log(AwesomeMessage.toObject(decoded)); // => { }

With { arrays: true }:

const encoded = AwesomeMessage.encode({ empty: [] }).finish();
const decoded = AwesomeMessage.decode(encoded);
console.log(AwesomeMessage.toObject(decoded, { arrays: true })); // => { empty: [], unset: [] }

Desired toObject result:

{ empty: [] }

Given that the behavior works as I'd expect for e.g. default value strings and enums, I don't understand why it shouldn't work for repeated fields as well.

May be related: https://github.com/protobufjs/protobuf.js/issues/1468 (protobuf experimental optional support)

created time in 7 days

PR opened googleapis/gapic-generator-typescript

chore(deps): update dependency @bazel/typescript to ^2.3.1

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@bazel/typescript ^2.3.0 -> ^2.3.1 age adoption passing confidence

Release Notes

<details> <summary>bazelbuild/rules_nodejs</summary>

v2.3.1

Compare Source

Bug Fixes
  • builtin: make linker deterministic when resolving from manifest & fix link_workspace_root with no runfiles (8adebda)
  • npm_package.pack on Windows should not generate undefined.tgz (76c3f51)
Performance Improvements
  • cypress: pack cypress runfiles into a single tar (185c632)

</details>


Renovate configuration

:date: Schedule: At any time (no schedule defined).

:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.

:recycle: Rebasing: Never, or you tick the rebase/retry checkbox.

:no_bell: Ignore: Close this PR and you won't be reminded about this update again.


  • [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

This PR has been generated by WhiteSource Renovate. View repository job log here.

+5 -5

0 comment

2 changed files

pr created time in 7 days

push eventgoogleapis/gapic-generator-typescript

WhiteSource Renovate

commit sha 805f20759c33bfd260b3287ecb741e8ff3b468d6

chore(deps): update dependency @types/sinon to ^9.0.9 (#786) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/sinon](https://togithub.com/DefinitelyTyped/DefinitelyTyped) | [`^9.0.8` -> `^9.0.9`](https://renovatebot.com/diffs/npm/@types%2fsinon/9.0.8/9.0.9) | [![age](https://badges.renovateapi.com/packages/npm/@types%2fsinon/9.0.9/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2fsinon/9.0.9/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2fsinon/9.0.9/compatibility-slim/9.0.8)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2fsinon/9.0.9/confidence-slim/9.0.8)](https://docs.renovatebot.com/merge-confidence/) | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Never, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/gapic-generator-typescript).

view details

push time in 7 days

PR merged googleapis/gapic-generator-typescript

Reviewers
chore(deps): update dependency @types/sinon to ^9.0.9 automerge cla: yes kokoro:force-run

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@types/sinon ^9.0.8 -> ^9.0.9 age adoption passing confidence

Renovate configuration

:date: Schedule: At any time (no schedule defined).

:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.

:recycle: Rebasing: Never, or you tick the rebase/retry checkbox.

:no_bell: Ignore: Close this PR and you won't be reminded about this update again.


  • [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

This PR has been generated by WhiteSource Renovate. View repository job log here.

+20 -20

0 comment

17 changed files

renovate-bot

pr closed time in 7 days

issue commentprotobufjs/protobuf.js

Is the example rpcImpl in the README.md correct?

I do have that @Mohammad-Khalid23 . I'm generating my code like this, which works, but maybe I'm missing something:

pbjs -t static-module -w commonjs -o src/junk-domain/__grpc-stubs__/profile.js ../profile/*.Api/Protos/*.proto
pbts -o src/junk-domain/__grpc-stubs__/profile.d.ts src/junk-domain/__grpc-stubs__/profile.js

I followed this: https://www.npmjs.com/package/protobufjs#pbts-for-typescript

GeorgeBills

comment created time in 7 days

PR opened googleapis/gapic-generator-typescript

chore(deps): update dependency @types/sinon to ^9.0.9

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@types/sinon ^9.0.8 -> ^9.0.9 age adoption passing confidence

Renovate configuration

:date: Schedule: At any time (no schedule defined).

:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.

:recycle: Rebasing: Never, or you tick the rebase/retry checkbox.

:no_bell: Ignore: Close this PR and you won't be reminded about this update again.


  • [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

This PR has been generated by WhiteSource Renovate. View repository job log here.

+20 -20

0 comment

17 changed files

pr created time in 8 days

issue commentprotobufjs/protobuf.js

Is the example rpcImpl in the README.md correct?

@longility `package parentName;

syntax = "proto3";`

if you will use this in your proto file then you will get method.parent

GeorgeBills

comment created time in 8 days

pull request commentgoogleapis/gapic-showcase

chore(deps): update google.golang.org/genproto commit hash to 9b1e624

Merge-on-green attempted to merge your PR for 6 hours, but it was not mergeable because either one of your required status checks failed, or one of your required reviews was not approved. Learn more about your required status checks here: https://help.github.com/en/github/administering-a-repository/enabling-required-status-checks. You can remove and reapply the label to re-run the bot.

renovate-bot

comment created time in 8 days

pull request commentgoogleapis/gapic-showcase

chore(deps): update google.golang.org/genproto commit hash to 9b1e624

Codecov Report

Merging #506 (9283030) into master (c98dec8) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #506   +/-   ##
=======================================
  Coverage   97.81%   97.81%           
=======================================
  Files          14       14           
  Lines        1007     1007           
=======================================
  Hits          985      985           
  Misses         15       15           
  Partials        7        7           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update c98dec8...9283030. Read the comment docs.

renovate-bot

comment created time in 8 days

PR opened googleapis/gapic-showcase

chore(deps): update google.golang.org/genproto commit hash to 9b1e624

WhiteSource Renovate

This PR contains the following updates:

Package Type Update Change
google.golang.org/genproto require digest 62d171c -> 9b1e624

Renovate configuration

:date: Schedule: "after 12pm on monday" in timezone America/Los_Angeles.

:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.

:recycle: Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

:no_bell: Ignore: Close this PR and you won't be reminded about this update again.


  • [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

This PR has been generated by WhiteSource Renovate. View repository job log here.

+3 -3

0 comment

2 changed files

pr created time in 8 days

more