ts-proto 1.167.7 → 1.167.8

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 +2 -2
  2. package/package.json +1 -1
package/build/main.js CHANGED
@@ -393,8 +393,8 @@ function makeByteUtils(options) {
393
393
  return bytesFromBase64BrowserSnippet;
394
394
  default:
395
395
  return (0, ts_poet_1.code) `
396
- if (${globalThis}.Buffer) {
397
- ${bytesFromBase64NodeSnippet}
396
+ if ((${globalThis} as any).Buffer) {
397
+ ${bytesFromBase64NodeSnippet}
398
398
  } else {
399
399
  ${bytesFromBase64BrowserSnippet}
400
400
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-proto",
3
- "version": "1.167.7",
3
+ "version": "1.167.8",
4
4
  "description": "",
5
5
  "main": "build/plugin.js",
6
6
  "repository": "github:stephenh/ts-proto",