Timo Stamm

Results 300 comments of Timo Stamm

It's worth noting that the credentials above are not enough to install something from the BSR npm registry. NPM will also need to be told that package names starting with...

We do not have any plans for this ATM. The issue with creating/updating `~/.npmrc` is that the alternative package manager Yarn (actually more popular than npm) uses a different configuration...

I've noted surfacing license info in the BSR in my previous [UX Feedback](https://docs.google.com/document/d/1aviUrKxu50uX_6d83EhN-HmQDPrSCbky-Mrq6f752Ac/edit?usp=sharing) and looked into it for the NPM registry. [NPM](https://docs.npmjs.com/cli/v7/configuring-npm/package-json#license), [Composer](https://getcomposer.org/doc/04-schema.md#license) (PHP) and [NuGet](https://docs.microsoft.com/en-us/nuget/reference/nuspec#license) (C#) all allow to...

Thanks to both of you for looking into this! `ignoreBOM` is an option in Node.js. The docs say: > When true, the TextDecoder will include the byte order mark in...

We pass the conformance tests with `ignoreBOM: true`. Merged the addition in https://github.com/timostamm/protobuf-ts/pull/362.

Released in [v2.8.0](https://github.com/timostamm/protobuf-ts/releases/tag/v2.8.0).

The plugin comes with [own custom options](https://github.com/timostamm/protobuf-ts/blob/master/packages/plugin/protobuf-ts.proto) that let you specify multiple client styles ([see example](https://github.com/timostamm/protobuf-ts/blob/master/packages/test-fixtures/service-style-all.proto)). The idea behind this design was to avoid the need for plugin options. Turns...

Thanks for the summary, @jcready. We have _two_ symbol properties, the other one is "protobuf-ts/unknown": https://github.com/timostamm/protobuf-ts/blob/44b0fe4b7fe202c4d8a51f785c60ce71ca717622/packages/runtime/src/binary-format-contract.ts#L79 It is used to store unknown fields during deserialization in the message instance. That...

Ah, WeakMap is definitely a nice idea. I've been using it back in the days in ActionScript and didn't realize JavaScript implementations finally caught up :) Can't think of any...