Skip to content

Commit 340a63a

Browse files
Prepare release 1.8.1 (#231)
* 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>
1 parent bf3c9ee commit 340a63a

File tree

4 files changed

+83
-55
lines changed

4 files changed

+83
-55
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Release History
22

3+
## 1.8.1
4+
5+
Security fixes:
6+
7+
> An issue in all published versions of the NPM package ip allows an attacker to execute arbitrary code and
8+
> obtain sensitive information via the isPublic() function. This can lead to potential Server-Side Request
9+
> Forgery (SSRF) attacks. The core issue is the function's failure to accurately distinguish between
10+
> public and private IP addresses.
11+
312
## 1.8.0
413

514
### Highlights

lib/DBSQLOperation/index.ts renamed to lib/DBSQLOperation.ts

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import IOperation, {
44
FinishedOptions,
55
GetSchemaOptions,
66
WaitUntilReadyOptions,
7-
} from '../contracts/IOperation';
7+
} from './contracts/IOperation';
88
import {
99
TGetOperationStatusResp,
1010
TOperationHandle,
@@ -14,20 +14,20 @@ import {
1414
TSparkRowSetType,
1515
TCloseOperationResp,
1616
TOperationState,
17-
} from '../../thrift/TCLIService_types';
18-
import Status from '../dto/Status';
19-
import { LogLevel } from '../contracts/IDBSQLLogger';
20-
import OperationStateError, { OperationStateErrorCode } from '../errors/OperationStateError';
21-
import IResultsProvider from '../result/IResultsProvider';
22-
import RowSetProvider from '../result/RowSetProvider';
23-
import JsonResultHandler from '../result/JsonResultHandler';
24-
import ArrowResultHandler from '../result/ArrowResultHandler';
25-
import CloudFetchResultHandler from '../result/CloudFetchResultHandler';
26-
import ArrowResultConverter from '../result/ArrowResultConverter';
27-
import ResultSlicer from '../result/ResultSlicer';
28-
import { definedOrError } from '../utils';
29-
import HiveDriverError from '../errors/HiveDriverError';
30-
import IClientContext from '../contracts/IClientContext';
17+
} from '../thrift/TCLIService_types';
18+
import Status from './dto/Status';
19+
import { LogLevel } from './contracts/IDBSQLLogger';
20+
import OperationStateError, { OperationStateErrorCode } from './errors/OperationStateError';
21+
import IResultsProvider from './result/IResultsProvider';
22+
import RowSetProvider from './result/RowSetProvider';
23+
import JsonResultHandler from './result/JsonResultHandler';
24+
import ArrowResultHandler from './result/ArrowResultHandler';
25+
import CloudFetchResultHandler from './result/CloudFetchResultHandler';
26+
import ArrowResultConverter from './result/ArrowResultConverter';
27+
import ResultSlicer from './result/ResultSlicer';
28+
import { definedOrError } from './utils';
29+
import HiveDriverError from './errors/HiveDriverError';
30+
import IClientContext from './contracts/IClientContext';
3131

3232
const defaultMaxRows = 100000;
3333

package-lock.json

Lines changed: 58 additions & 39 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@databricks/sql",
3-
"version": "1.8.0",
3+
"version": "1.8.1",
44
"description": "Driver for connection to Databricks SQL via Thrift API.",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

0 commit comments

Comments
 (0)