Skip to content

Commit 2fbb0d2

Browse files
authored
Merge pull request #313 from ml054/v5.2
RDBC-592 node.js typings issues
2 parents dfaca69 + 0eb2757 commit 2fbb0d2

File tree

8 files changed

+317
-316
lines changed

8 files changed

+317
-316
lines changed

package-lock.json

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

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,13 @@
5454
"author": "Hibernating Rhinos",
5555
"license": "MIT",
5656
"devDependencies": {
57-
"@types/bluebird": "^3.5.36",
5857
"@types/md5": "^2.3.2",
5958
"@types/mocha": "^9.1.1",
6059
"@types/pluralize": "0.0.29",
6160
"@types/rimraf": "^3.0.2",
6261
"@types/sinon": "^10.0.11",
6362
"@types/unzipper": "^0.10.5",
6463
"@types/util.promisify": "^1.0.4",
65-
"@types/ws": "^7.4.7",
6664
"@typescript-eslint/eslint-plugin": "^5.26.0",
6765
"@typescript-eslint/parser": "^5.26.0",
6866
"cross-os": "^1.3.0",
@@ -81,12 +79,15 @@
8179
"unzipper": "^0.10.11"
8280
},
8381
"dependencies": {
82+
"@types/bluebird": "^3.5.36",
83+
"@types/node": "^18.0.0",
8484
"@types/node-fetch": "^2.6.1",
8585
"@types/qs": "^6.9.7",
8686
"@types/semaphore": "^1.1.0",
8787
"@types/stream-json": "^1.7.2",
8888
"@types/uuid": "^8.3.4",
8989
"@types/verror": "^1.10.5",
90+
"@types/ws": "^7.4.7",
9091
"abort-controller": "^3.0.0",
9192
"bluebird": "^3.7.2",
9293
"change-case": "^3.1.0",

src/Mapping/Json/Streams/TransformKeysJsonStream.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as FilterBase from "stream-json/filters/FilterBase";
1+
import FilterBase = require("stream-json/filters/FilterBase");
22
import { ObjectUtil, CasingConvention } from "../../../Utility/ObjectUtil";
33
import { throwError } from "../../../Exceptions";
44

Lines changed: 298 additions & 296 deletions
Large diffs are not rendered by default.

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import "./Utility/Polyfills";
22

3+
import "./Types/readable-stream";
4+
35
export { DocumentConventions } from "./Documents/Conventions/DocumentConventions";
46
export { BulkInsertConventions } from "./Documents/Conventions/BulkInsertConventions";
57
export { RavenErrorType } from "./Exceptions";

tsconfig.imports-check.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@
33

44
"include": [
55
"./src/**/*",
6-
"./src/Types/global.d.ts",
7-
"./src/Types/readable-stream.d.ts"
6+
"./src/Types/global.d.ts"
87
],
98
"exclude": [
109
"node_modules",
1110
"lib"
1211
]
13-
}
12+
}

tsconfig.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,11 @@
2222
},
2323
"files": [
2424
"./src/index.ts",
25-
"./src/Types/global.d.ts",
26-
"./src/Types/readable-stream.d.ts"
25+
"./src/Types/global.d.ts"
2726
],
2827
"exclude": [
2928
"node_modules",
3029
"lib",
3130
"dist"
3231
]
33-
}
32+
}

tsconfig.test.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@
2626
"include": [
2727
"test",
2828
"./src/Types/global.d.ts",
29-
"./src/Types/readable-stream.d.ts"
29+
"./src/Types/readable-stream.ts"
3030
],
3131
"exclude": [
3232
"node_modules",
3333
"lib"
3434
]
35-
}
35+
}

0 commit comments

Comments
 (0)