Skip to content

Commit

Permalink
Prepare release 1.8.1 (#231)
Browse files Browse the repository at this point in the history
* Resolve `npm audit` warnings

Signed-off-by: Levko Kravets <levko.ne@gmail.com>

* Prepare release 1.8.1

Signed-off-by: Levko Kravets <levko.ne@gmail.com>

* Chore: move standalone `DBSQLOperation/index.ts` out of its folder

Signed-off-by: Levko Kravets <levko.ne@gmail.com>

---------

Signed-off-by: Levko Kravets <levko.ne@gmail.com>
  • Loading branch information
kravets-levko authored Feb 15, 2024
1 parent bf3c9ee commit 340a63a
Show file tree
Hide file tree
Showing 4 changed files with 83 additions and 55 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Release History

## 1.8.1

Security fixes:

> An issue in all published versions of the NPM package ip allows an attacker to execute arbitrary code and
> obtain sensitive information via the isPublic() function. This can lead to potential Server-Side Request
> Forgery (SSRF) attacks. The core issue is the function's failure to accurately distinguish between
> public and private IP addresses.
## 1.8.0

### Highlights
Expand Down
30 changes: 15 additions & 15 deletions lib/DBSQLOperation/index.ts → lib/DBSQLOperation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import IOperation, {
FinishedOptions,
GetSchemaOptions,
WaitUntilReadyOptions,
} from '../contracts/IOperation';
} from './contracts/IOperation';
import {
TGetOperationStatusResp,
TOperationHandle,
Expand All @@ -14,20 +14,20 @@ import {
TSparkRowSetType,
TCloseOperationResp,
TOperationState,
} from '../../thrift/TCLIService_types';
import Status from '../dto/Status';
import { LogLevel } from '../contracts/IDBSQLLogger';
import OperationStateError, { OperationStateErrorCode } from '../errors/OperationStateError';
import IResultsProvider from '../result/IResultsProvider';
import RowSetProvider from '../result/RowSetProvider';
import JsonResultHandler from '../result/JsonResultHandler';
import ArrowResultHandler from '../result/ArrowResultHandler';
import CloudFetchResultHandler from '../result/CloudFetchResultHandler';
import ArrowResultConverter from '../result/ArrowResultConverter';
import ResultSlicer from '../result/ResultSlicer';
import { definedOrError } from '../utils';
import HiveDriverError from '../errors/HiveDriverError';
import IClientContext from '../contracts/IClientContext';
} from '../thrift/TCLIService_types';
import Status from './dto/Status';
import { LogLevel } from './contracts/IDBSQLLogger';
import OperationStateError, { OperationStateErrorCode } from './errors/OperationStateError';
import IResultsProvider from './result/IResultsProvider';
import RowSetProvider from './result/RowSetProvider';
import JsonResultHandler from './result/JsonResultHandler';
import ArrowResultHandler from './result/ArrowResultHandler';
import CloudFetchResultHandler from './result/CloudFetchResultHandler';
import ArrowResultConverter from './result/ArrowResultConverter';
import ResultSlicer from './result/ResultSlicer';
import { definedOrError } from './utils';
import HiveDriverError from './errors/HiveDriverError';
import IClientContext from './contracts/IClientContext';

const defaultMaxRows = 100000;

Expand Down
97 changes: 58 additions & 39 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@databricks/sql",
"version": "1.8.0",
"version": "1.8.1",
"description": "Driver for connection to Databricks SQL via Thrift API.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit 340a63a

Please sign in to comment.