Skip to content

feat(NODE-5470)!: convert remaining FLE to TS and drop support for onKMSProvidersRefresh #3787

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from 31 commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
7800fbf
move csfle src into driver and tests passing
baileympearson Jul 8, 2023
bbd8855
only convert relevant files
baileympearson Jul 19, 2023
5d6d767
convert KMS providers to TS
baileympearson Jul 19, 2023
3b8bc36
cleanup requirements
baileympearson Jul 21, 2023
202fda1
cleanup src
baileympearson Jul 21, 2023
1a0af79
fix lint
baileympearson Jul 21, 2023
d62209a
fix package.json
baileympearson Jul 24, 2023
b5ac95d
remove force install
baileympearson Jul 24, 2023
d2fbad1
address comments
baileympearson Jul 24, 2023
20a4ace
cleanup
baileympearson Jul 25, 2023
b48942f
fix unit tests
baileympearson Jul 25, 2023
f7e0270
convert to TS
baileympearson Jul 25, 2023
433b186
remove bufferpool duplicate implementation
baileympearson Jul 25, 2023
24c2081
lazy import once and spawn
baileympearson Jul 25, 2023
65dfc94
convert mongocryptdmangager to TS
baileympearson Jul 25, 2023
dc33b98
convert cryptocallbacks
baileympearson Jul 25, 2023
ec4c6de
convert auto encrypter to TS
baileympearson Jul 25, 2023
fcdf41b
cleanups after linking with latest bindings
baileympearson Jul 25, 2023
c33876d
fix conflicts
baileympearson Jul 25, 2023
98faa9a
convert CE to TS
baileympearson Jul 26, 2023
2c04233
convert SM to TS
baileympearson Jul 26, 2023
ef32071
everything TS! woohoo
baileympearson Jul 26, 2023
e6806f5
remove namespace helpers
baileympearson Jul 26, 2023
9c9353f
add remaining types woohoo
baileympearson Jul 27, 2023
1a4b75f
misc fixups
baileympearson Jul 27, 2023
78e8ae8
fix unit tests
baileympearson Jul 28, 2023
ac1c44b
chore: bump fle dependency version
baileympearson Jul 28, 2023
f25c0f6
lint
baileympearson Jul 28, 2023
9e3e016
Type StateMachine.execute properly
baileympearson Jul 28, 2023
4c803f3
fix failing test
baileympearson Jul 31, 2023
37349ff
merge in changes
baileympearson Jul 31, 2023
749d3ba
Apply suggestions from code review
baileympearson Jul 31, 2023
eafee64
rename loadCredentials
baileympearson Jul 31, 2023
a2c8d2a
address more comments
baileympearson Jul 31, 2023
1c2db54
fix unused imports in rolledup file'
baileympearson Aug 1, 2023
ef53d90
re-type internal FLE APIs
baileympearson Aug 1, 2023
e2d0454
address comments and fix tests
baileympearson Aug 2, 2023
f5f22b4
fix lint
baileympearson Aug 2, 2023
335d233
rename files to snake case
baileympearson Aug 2, 2023
791750d
fix tests
baileympearson Aug 2, 2023
8310536
consolidate error handling and get rid of argument checking in intern…
baileympearson Aug 2, 2023
261ee11
fix naming issues
baileympearson Aug 2, 2023
95c686d
remove reliance on TypeErrors
baileympearson Aug 2, 2023
d5100e8
fix tests
baileympearson Aug 2, 2023
efd07b3
fix lint and test
baileympearson Aug 3, 2023
805ac5c
remove last spread
baileympearson Aug 3, 2023
6198bd7
Revert "remove last spread"
baileympearson Aug 3, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,3 @@
lib
test/disabled
!etc/docs

src/client-side-encryption
test/unit/client-side-encryption
10 changes: 5 additions & 5 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@mongodb-js/zstd": "^1.1.0",
"gcp-metadata": "^5.2.0",
"kerberos": "^2.0.1",
"mongodb-client-encryption": ">=6.0.0-alpha.0 <7",
"mongodb-client-encryption": ">=6.0.0-alpha.1 <7",
"snappy": "^7.2.2",
"socks": "^2.7.1"
},
Expand Down Expand Up @@ -97,7 +97,7 @@
"js-yaml": "^4.1.0",
"mocha": "^10.2.0",
"mocha-sinon": "^2.1.2",
"mongodb-client-encryption": "^6.0.0-alpha.0",
"mongodb-client-encryption": "^6.0.0-alpha.1",
"mongodb-legacy": "^5.0.0",
"nyc": "^15.1.0",
"prettier": "^2.8.8",
Expand Down
Loading