@datashaper/schema
Advanced tools
Comparing version 6.1.0 to 6.2.0
@@ -90,3 +90,7 @@ /*! | ||
*/ | ||
JSON = "json" | ||
JSON = "json", | ||
/** | ||
* Arrow format. | ||
*/ | ||
ARROW = "arrow" | ||
} | ||
@@ -114,14 +118,14 @@ /** | ||
records: | ||
[{ | ||
[\{ | ||
colA: valueA1, | ||
colB: valueB1 | ||
}, { | ||
\}, \{ | ||
colA: valueA2, | ||
colB: valueB2 | ||
}] | ||
\}] | ||
columnar: | ||
{ | ||
\{ | ||
colA: [valueA1, valueA2], | ||
colB: [valueB1, valueB2] | ||
} | ||
\} | ||
*/ | ||
@@ -128,0 +132,0 @@ export declare enum DataOrientation { |
@@ -69,2 +69,5 @@ /*! | ||
*/ "JSON"] = 'json'; | ||
DataFormat[/** | ||
* Arrow format. | ||
*/ "ARROW"] = 'arrow'; | ||
})(DataFormat || (DataFormat = {})); | ||
@@ -71,0 +74,0 @@ export var DataOrientation; |
@@ -22,8 +22,8 @@ /*! | ||
* For example, | ||
{ | ||
\{ | ||
data: [1,2,3,4,5,6], | ||
shape: { | ||
shape: \{ | ||
matrix: [3, 2] | ||
} | ||
} | ||
\} | ||
\} | ||
is interpreted as table | ||
@@ -30,0 +30,0 @@ 1 2 |
@@ -27,3 +27,3 @@ /*! | ||
* Character that indicates the end of a line (row). | ||
* Default: \r, \r\n, or \n | ||
* Default: \\r, \\r\\n, or \\n | ||
*/ | ||
@@ -30,0 +30,0 @@ lineTerminator?: string; |
@@ -182,2 +182,3 @@ ## API Report File for "@datashaper/schema" | ||
export enum DataFormat { | ||
ARROW = "arrow", | ||
CSV = "csv", | ||
@@ -184,0 +185,0 @@ JSON = "json" |
@@ -182,2 +182,3 @@ ## API Report File for "@datashaper/schema" | ||
export enum DataFormat { | ||
ARROW = "arrow", | ||
CSV = "csv", | ||
@@ -184,0 +185,0 @@ JSON = "json" |
{ | ||
"name": "@datashaper/schema", | ||
"version": "6.1.0", | ||
"version": "6.2.0", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -95,2 +95,6 @@ /*! | ||
JSON = 'json', | ||
/** | ||
* Arrow format. | ||
*/ | ||
ARROW = 'arrow', | ||
} | ||
@@ -119,14 +123,14 @@ | ||
records: | ||
[{ | ||
[\{ | ||
colA: valueA1, | ||
colB: valueB1 | ||
}, { | ||
\}, \{ | ||
colA: valueA2, | ||
colB: valueB2 | ||
}] | ||
\}] | ||
columnar: | ||
{ | ||
\{ | ||
colA: [valueA1, valueA2], | ||
colB: [valueB1, valueB2] | ||
} | ||
\} | ||
*/ | ||
@@ -133,0 +137,0 @@ export enum DataOrientation { |
@@ -23,8 +23,8 @@ /*! | ||
* For example, | ||
{ | ||
\{ | ||
data: [1,2,3,4,5,6], | ||
shape: { | ||
shape: \{ | ||
matrix: [3, 2] | ||
} | ||
} | ||
\} | ||
\} | ||
is interpreted as table | ||
@@ -31,0 +31,0 @@ 1 2 |
@@ -27,3 +27,3 @@ /*! | ||
* Character that indicates the end of a line (row). | ||
* Default: \r, \r\n, or \n | ||
* Default: \\r, \\r\\n, or \\n | ||
*/ | ||
@@ -30,0 +30,0 @@ lineTerminator?: string |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
251561
4281