@platformatic/itc 2.74.3 → 2.75.0-alpha.0

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/lib/itc.js +1 -1
  2. package/package.json +2 -2
package/lib/itc.js CHANGED
@@ -87,7 +87,7 @@ function sanitize (data, transferList) {
87
87
 
88
88
  let sanitized
89
89
 
90
- if (Buffer.isBuffer(data)) {
90
+ if (Buffer.isBuffer(data) || data instanceof Uint8Array) {
91
91
  // This will convert as Uint8Array
92
92
  return data
93
93
  } else if (Array.isArray(data)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/itc",
3
- "version": "2.74.3",
3
+ "version": "2.75.0-alpha.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "author": "Platformatic Inc. <oss@platformatic.dev> (https://platformatic.dev)",
@@ -18,7 +18,7 @@
18
18
  "borp": "^0.20.0",
19
19
  "eslint": "9",
20
20
  "neostandard": "^0.12.0",
21
- "tsd": "^0.32.0",
21
+ "tsd": "^0.33.0",
22
22
  "typescript": "^5.5.4"
23
23
  },
24
24
  "dependencies": {