@apache-arrow/ts
Advanced tools
Comparing version 9.0.0 to 10.0.0
@@ -42,3 +42,3 @@ // Licensed to the Apache Software Foundation (ASF) under one | ||
for (const [index, value] of pending) { | ||
if (value === undefined) { | ||
if (typeof value === 'undefined') { | ||
offsets.set(index, 0); | ||
@@ -45,0 +45,0 @@ } else { |
@@ -234,7 +234,7 @@ // Licensed to the Apache Software Foundation (ASF) under one | ||
async read(size?: number): Promise<ReadableStreamDefaultReadValueResult<Uint8Array>> { | ||
async read(size?: number): Promise<ReadableStreamReadValueResult<Uint8Array>> { | ||
if (size === 0) { | ||
return { done: this.reader == null, value: new Uint8Array(0) } as ReadableStreamDefaultReadValueResult<Uint8Array>; | ||
return { done: this.reader == null, value: new Uint8Array(0) } as ReadableStreamReadValueResult<Uint8Array>; | ||
} | ||
const result = await this.reader!.read() as ReadableStreamDefaultReadValueResult<any>; | ||
const result = await this.reader!.read() as ReadableStreamReadValueResult<any>; | ||
!result.done && (result.value = toUint8Array(result)); | ||
@@ -241,0 +241,0 @@ return result; |
{ | ||
"version": "9.0.0", | ||
"version": "10.0.0", | ||
"name": "@apache-arrow/ts", | ||
@@ -31,3 +31,3 @@ "browser": "Arrow.dom.ts", | ||
"@types/flatbuffers": "*", | ||
"@types/node": "^17.0.36", | ||
"@types/node": "18.7.23", | ||
"@types/command-line-args": "5.2.0", | ||
@@ -34,0 +34,0 @@ "@types/command-line-usage": "5.0.2", |
@@ -122,3 +122,3 @@ // Licensed to the Apache Software Foundation (ASF) under one | ||
} while (checks[0] || checks[1] || checks[2] || checks[3]); | ||
return digits ? digits : `0`; | ||
return digits ?? `0`; | ||
} | ||
@@ -125,0 +125,0 @@ |
@@ -88,3 +88,3 @@ // Licensed to the Apache Software Foundation (ASF) under one | ||
IteratorResult<ArrayBufferView | ArrayBufferLike | ArrayBufferView | Iterable<number> | ArrayLike<number> | ByteBuffer | string | null | undefined> | | ||
ReadableStreamDefaultReadResult<ArrayBufferView | ArrayBufferLike | ArrayBufferView | Iterable<number> | ArrayLike<number> | ByteBuffer | string | null | undefined>; | ||
ReadableStreamReadResult<ArrayBufferView | ArrayBufferLike | ArrayBufferView | Iterable<number> | ArrayLike<number> | ByteBuffer | string | null | undefined>; | ||
@@ -91,0 +91,0 @@ /** @ignore */ |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
885169
+ Added@types/node@18.7.23(transitive)
- Removed@types/node@17.0.45(transitive)
Updated@types/node@18.7.23