ts-proto 1.167.6 → 1.167.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/build/main.js +1 -1
  2. package/package.json +1 -1
package/build/main.js CHANGED
@@ -424,7 +424,7 @@ function makeByteUtils(options) {
424
424
  return base64FromBytesBrowserSnippet;
425
425
  default:
426
426
  return (0, ts_poet_1.code) `
427
- if (${globalThis}.Buffer) {
427
+ if ((${globalThis} as any).Buffer) {
428
428
  ${base64FromBytesNodeSnippet}
429
429
  } else {
430
430
  ${base64FromBytesBrowserSnippet}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-proto",
3
- "version": "1.167.6",
3
+ "version": "1.167.7",
4
4
  "description": "",
5
5
  "main": "build/plugin.js",
6
6
  "repository": "github:stephenh/ts-proto",