@google-cloud/bigquery
Advanced tools
Comparing version 7.2.0 to 7.3.0
@@ -17,2 +17,3 @@ /*! | ||
import { Service, GoogleAuthOptions } from '@google-cloud/common'; | ||
import * as common from '@google-cloud/common'; | ||
import { ResourceStream } from '@google-cloud/paginator'; | ||
@@ -24,2 +25,3 @@ import { PreciseDate } from '@google-cloud/precise-date'; | ||
import bigquery from './types'; | ||
export { common }; | ||
export interface RequestCallback<T> { | ||
@@ -26,0 +28,0 @@ (err: Error | null, response?: T | null): void; |
@@ -18,4 +18,6 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.BigQueryInt = exports.BigQueryTime = exports.BigQueryDatetime = exports.BigQueryTimestamp = exports.Geography = exports.BigQueryDate = exports.BigQuery = exports.PROTOCOL_REGEX = void 0; | ||
exports.BigQueryInt = exports.BigQueryTime = exports.BigQueryDatetime = exports.BigQueryTimestamp = exports.Geography = exports.BigQueryDate = exports.BigQuery = exports.PROTOCOL_REGEX = exports.common = void 0; | ||
const common_1 = require("@google-cloud/common"); | ||
const common = require("@google-cloud/common"); | ||
exports.common = common; | ||
const paginator_1 = require("@google-cloud/paginator"); | ||
@@ -22,0 +24,0 @@ const promisify_1 = require("@google-cloud/promisify"); |
@@ -16,3 +16,3 @@ /*! | ||
*/ | ||
export { BigQuery, BigQueryDate, BigQueryDateOptions, BigQueryDatetime, BigQueryDatetimeOptions, BigQueryInt, BigQueryOptions, BigQueryTime, BigQueryTimeOptions, BigQueryTimestamp, DatasetCallback, DatasetResource, DatasetResponse, DatasetsCallback, DatasetsResponse, Geography, GetDatasetsOptions, GetJobsCallback, GetJobsOptions, GetJobsResponse, IntegerTypeCastOptions, IntegerTypeCastValue, JobRequest, Json, PROTOCOL_REGEX, PagedCallback, PagedRequest, PagedResponse, ProvidedTypeArray, ProvidedTypeStruct, Query, QueryOptions, QueryParameter, QueryRowsCallback, QueryRowsResponse, QueryStreamOptions, RequestCallback, ResourceCallback, SimpleQueryRowsCallback, SimpleQueryRowsResponse, ValueType, } from './bigquery'; | ||
export { BigQuery, BigQueryDate, BigQueryDateOptions, BigQueryDatetime, BigQueryDatetimeOptions, BigQueryInt, BigQueryOptions, BigQueryTime, BigQueryTimeOptions, BigQueryTimestamp, common, DatasetCallback, DatasetResource, DatasetResponse, DatasetsCallback, DatasetsResponse, Geography, GetDatasetsOptions, GetJobsCallback, GetJobsOptions, GetJobsResponse, IntegerTypeCastOptions, IntegerTypeCastValue, JobRequest, Json, PROTOCOL_REGEX, PagedCallback, PagedRequest, PagedResponse, ProvidedTypeArray, ProvidedTypeStruct, Query, QueryOptions, QueryParameter, QueryRowsCallback, QueryRowsResponse, QueryStreamOptions, RequestCallback, ResourceCallback, SimpleQueryRowsCallback, SimpleQueryRowsResponse, ValueType, } from './bigquery'; | ||
export { CreateDatasetOptions, Dataset, DatasetDeleteOptions, DatasetOptions, GetModelsCallback, GetModelsOptions, GetModelsResponse, GetRoutinesCallback, GetRoutinesOptions, GetRoutinesResponse, GetTablesCallback, GetTablesOptions, GetTablesResponse, RoutineCallback, RoutineMetadata, RoutineResponse, TableCallback, TableResponse, } from './dataset'; | ||
@@ -19,0 +19,0 @@ export { CancelCallback, CancelResponse, Job, JobMetadata, JobOptions, QueryResultsOptions, } from './job'; |
@@ -18,3 +18,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Table = exports.RowQueue = exports.RowBatch = exports.Routine = exports.Model = exports.Job = exports.Dataset = exports.PROTOCOL_REGEX = exports.Geography = exports.BigQueryTimestamp = exports.BigQueryTime = exports.BigQueryInt = exports.BigQueryDatetime = exports.BigQueryDate = exports.BigQuery = void 0; | ||
exports.Table = exports.RowQueue = exports.RowBatch = exports.Routine = exports.Model = exports.Job = exports.Dataset = exports.PROTOCOL_REGEX = exports.Geography = exports.common = exports.BigQueryTimestamp = exports.BigQueryTime = exports.BigQueryInt = exports.BigQueryDatetime = exports.BigQueryDate = exports.BigQuery = void 0; | ||
var bigquery_1 = require("./bigquery"); | ||
@@ -27,2 +27,3 @@ Object.defineProperty(exports, "BigQuery", { enumerable: true, get: function () { return bigquery_1.BigQuery; } }); | ||
Object.defineProperty(exports, "BigQueryTimestamp", { enumerable: true, get: function () { return bigquery_1.BigQueryTimestamp; } }); | ||
Object.defineProperty(exports, "common", { enumerable: true, get: function () { return bigquery_1.common; } }); | ||
Object.defineProperty(exports, "Geography", { enumerable: true, get: function () { return bigquery_1.Geography; } }); | ||
@@ -29,0 +30,0 @@ Object.defineProperty(exports, "PROTOCOL_REGEX", { enumerable: true, get: function () { return bigquery_1.PROTOCOL_REGEX; } }); |
@@ -121,3 +121,3 @@ "use strict"; | ||
}, (err, resp) => { | ||
const partialFailures = (resp.insertErrors || []).map((insertError) => { | ||
const partialFailures = ((resp === null || resp === void 0 ? void 0 : resp.insertErrors) || []).map((insertError) => { | ||
return { | ||
@@ -124,0 +124,0 @@ errors: insertError.errors.map(error => { |
@@ -7,2 +7,16 @@ # Changelog | ||
## [7.3.0](https://github.com/googleapis/nodejs-bigquery/compare/v7.2.0...v7.3.0) (2023-09-28) | ||
### Features | ||
* Re-exporting types for google-common ([#1271](https://github.com/googleapis/nodejs-bigquery/issues/1271)) ([cdf960a](https://github.com/googleapis/nodejs-bigquery/commit/cdf960a5cd7aaa1d9aeeff8001308b1fb89a6c6b)) | ||
### Bug Fixes | ||
* Avoid TypeError if resp is undefined ([#1273](https://github.com/googleapis/nodejs-bigquery/issues/1273)) ([ff51c1d](https://github.com/googleapis/nodejs-bigquery/commit/ff51c1d61ff461e238aa9c72bb6817a3bdbee16e)) | ||
* Updated types from API discovery doc ([#1284](https://github.com/googleapis/nodejs-bigquery/issues/1284)) ([1d8a2b7](https://github.com/googleapis/nodejs-bigquery/commit/1d8a2b7059fa53725bdedb525d5b19ff6121de3b)) | ||
* Updating type for test blocking dependency updates ([#1282](https://github.com/googleapis/nodejs-bigquery/issues/1282)) ([1dbe0fe](https://github.com/googleapis/nodejs-bigquery/commit/1dbe0feb9aac90b775ec30e832915f23d488ac3a)) | ||
## [7.2.0](https://github.com/googleapis/nodejs-bigquery/compare/v7.1.1...v7.2.0) (2023-08-17) | ||
@@ -9,0 +23,0 @@ |
{ | ||
"name": "@google-cloud/bigquery", | ||
"description": "Google BigQuery Client Library for Node.js", | ||
"version": "7.2.0", | ||
"version": "7.3.0", | ||
"license": "Apache-2.0", | ||
@@ -67,3 +67,3 @@ "author": "Google LLC", | ||
"@types/extend": "^3.0.1", | ||
"@types/is": "0.0.22", | ||
"@types/is": "0.0.23", | ||
"@types/mocha": "^9.0.0", | ||
@@ -84,8 +84,8 @@ "@types/node": "^18.0.0", | ||
"mocha": "^9.2.2", | ||
"pack-n-play": "^1.0.0-2", | ||
"pack-n-play": "^2.0.0", | ||
"prettier": "^3.0.0", | ||
"proxyquire": "^2.1.0", | ||
"sinon": "^15.0.0", | ||
"sinon": "^16.0.0", | ||
"typescript": "^5.1.6" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
646805
13335
2