@evidence-dev/bigquery
Advanced tools
Comparing version 1.1.0 to 1.2.0
# @evidence-dev/bigquery | ||
## 1.2.0 | ||
### Minor Changes | ||
- cb6d561: Native type support for MySQL, SQL Lite, and Snowflake and extracted common DB functionality to a shared package. | ||
### Patch Changes | ||
- Updated dependencies [cb6d561] | ||
- @evidence-dev/db-commons@0.1.0 | ||
## 1.1.0 | ||
@@ -4,0 +15,0 @@ |
{ | ||
"name": "@evidence-dev/bigquery", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "BigQuery driver for Evidence projects", | ||
@@ -10,4 +10,8 @@ "main": "index.cjs", | ||
"fs-extra": "9.1.0", | ||
"@google-cloud/bigquery": "5.6.0" | ||
"@google-cloud/bigquery": "5.6.0", | ||
"@evidence-dev/db-commons": "^0.1.0" | ||
}, | ||
"devDependencies": { | ||
"dotenv": "^16.0.1" | ||
}, | ||
"type": "module", | ||
@@ -14,0 +18,0 @@ "scripts": { |
import { test } from 'uvu'; | ||
import * as assert from 'uvu/assert'; | ||
import runQuery from '../index.cjs'; | ||
import { TypeFidelity } from '@evidence-dev/db-commons'; | ||
import 'dotenv/config'; | ||
@@ -21,3 +23,3 @@ let results; | ||
let expectedColumnNames = ['number_col', 'date_col', 'timestamp_col', 'string_col', 'bool_col']; | ||
let expectedTypePrecision = Array(5).fill('precise'); | ||
let expectedTypePrecision = Array(5).fill(TypeFidelity.PRECISE); | ||
@@ -24,0 +26,0 @@ assert.equal(true, (expectedColumnTypes.length === actualColumnTypes.length && expectedColumnTypes.every((value, index) => value === actualColumnTypes[index]))); |
Sorry, the diff of this file is not supported yet
8342
3
1
142
+ Added@evidence-dev/db-commons@0.1.3(transitive)
+ Addedfs-extra@10.0.0(transitive)