@apache-arrow/esnext-cjs
Advanced tools
Comparing version 2.0.0 to 3.0.0
@@ -207,7 +207,7 @@ "use strict"; | ||
static List(type, offset, length, nullCount, nullBitmap, valueOffsets, child) { | ||
return new Data(type, offset, length, nullCount, [buffer_1.toInt32Array(valueOffsets), undefined, buffer_1.toUint8Array(nullBitmap)], [child]); | ||
return new Data(type, offset, length, nullCount, [buffer_1.toInt32Array(valueOffsets), undefined, buffer_1.toUint8Array(nullBitmap)], child ? [child] : []); | ||
} | ||
/** @nocollapse */ | ||
static FixedSizeList(type, offset, length, nullCount, nullBitmap, child) { | ||
return new Data(type, offset, length, nullCount, [undefined, undefined, buffer_1.toUint8Array(nullBitmap)], [child]); | ||
return new Data(type, offset, length, nullCount, [undefined, undefined, buffer_1.toUint8Array(nullBitmap)], child ? [child] : []); | ||
} | ||
@@ -220,3 +220,3 @@ /** @nocollapse */ | ||
static Map(type, offset, length, nullCount, nullBitmap, valueOffsets, child) { | ||
return new Data(type, offset, length, nullCount, [buffer_1.toInt32Array(valueOffsets), undefined, buffer_1.toUint8Array(nullBitmap)], [child]); | ||
return new Data(type, offset, length, nullCount, [buffer_1.toInt32Array(valueOffsets), undefined, buffer_1.toUint8Array(nullBitmap)], child ? [child] : []); | ||
} | ||
@@ -223,0 +223,0 @@ /** @nocollapse */ |
{ | ||
"version": "2.0.0", | ||
"version": "3.0.0", | ||
"name": "@apache-arrow/esnext-cjs", | ||
@@ -4,0 +4,0 @@ "browser": "Arrow.dom.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
2633098