diff --git a/packages/orm/testing-mongoose/package.json b/packages/orm/testing-mongoose/package.json index d3a012852ac..ac27e486276 100644 --- a/packages/orm/testing-mongoose/package.json +++ b/packages/orm/testing-mongoose/package.json @@ -17,7 +17,7 @@ "build:ts": "tsc --build tsconfig.json && tsc --build tsconfig.esm.json" }, "dependencies": { - "mongodb-memory-server": "^8.15.1", + "mongodb-memory-server": "^8.15.1 || ^9.1.7", "semver": "^7.3.5", "tslib": "2.6.1" }, @@ -36,4 +36,4 @@ "@tsed/mongoose": "7.63.2", "mongoose": ">=6.0.0" } -} \ No newline at end of file +} diff --git a/yarn.lock b/yarn.lock index 1f96cbc6d17..4cbecf6f64a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7976,7 +7976,7 @@ __metadata: barrelsby: "npm:^2.8.1" eslint: "npm:^8.12.0" jest: "npm:^29.2.0" - mongodb-memory-server: "npm:^8.15.1" + mongodb-memory-server: "npm:^8.15.1 || ^9.1.7" semver: "npm:^7.3.5" tslib: "npm:2.6.1" peerDependencies: @@ -10784,12 +10784,12 @@ __metadata: languageName: node linkType: hard -"async-mutex@npm:^0.3.2": - version: 0.3.2 - resolution: "async-mutex@npm:0.3.2" +"async-mutex@npm:^0.4.0": + version: 0.4.1 + resolution: "async-mutex@npm:0.4.1" dependencies: - tslib: "npm:^2.3.1" - checksum: 10/cf0b02f7f916d202a727e15a64d51110c3258a719588ca263875024172aa9368efa5dbec6dc4f4fd10e35744e238e1075306a93ce86549de642d5f7d0c06bc23 + tslib: "npm:^2.4.0" + checksum: 10/7e9f77b112b8545beb6612493fae4a8d9d1d6c3f24fc22f4d6d05ce96d1e8d326ac3e743a804cc6d7bf24e7ef0267afb65bb127f99b2e433609684b38933ff1c languageName: node linkType: hard @@ -10948,6 +10948,13 @@ __metadata: languageName: node linkType: hard +"b4a@npm:^1.6.4": + version: 1.6.6 + resolution: "b4a@npm:1.6.6" + checksum: 10/6154a36bd78b53ecd2843a829352532a1bf9fc8081dab339ba06ca3c9ffcf25d340c3b18fe4ba0fc17a546a54c1ed814cea92cd6b895f6bd2837ca4ee0fc9f52 + languageName: node + linkType: hard + "babel-jest@npm:^29.2.0": version: 29.2.0 resolution: "babel-jest@npm:29.2.0" @@ -11090,6 +11097,13 @@ __metadata: languageName: node linkType: hard +"bare-events@npm:^2.2.0": + version: 2.2.1 + resolution: "bare-events@npm:2.2.1" + checksum: 10/a2c96a638e5a049960e42660320bcd9e3c5e83da2072e4c05080661219eae744931751be86c814590dcce5107c30cbb60dc2d15097b1b14e2f42db1cd9b80898 + languageName: node + linkType: hard + "barrelsby@npm:^2.8.1": version: 2.8.1 resolution: "barrelsby@npm:2.8.1" @@ -11412,6 +11426,13 @@ __metadata: languageName: node linkType: hard +"bson@npm:^5.5.0": + version: 5.5.1 + resolution: "bson@npm:5.5.1" + checksum: 10/4f72f0e68694cf422e990d301594e1eb81300ad7bd547244bbd5c2d12ec721cf4765a254376dd21e922b0ac8b5f89549d37423bdea11d5e645afbd37b433dc90 + languageName: node + linkType: hard + "buffer-crc32@npm:^0.2.1, buffer-crc32@npm:^0.2.13, buffer-crc32@npm:~0.2.3": version: 0.2.13 resolution: "buffer-crc32@npm:0.2.13" @@ -15350,6 +15371,13 @@ __metadata: languageName: node linkType: hard +"fast-fifo@npm:^1.1.0, fast-fifo@npm:^1.2.0": + version: 1.3.2 + resolution: "fast-fifo@npm:1.3.2" + checksum: 10/6bfcba3e4df5af7be3332703b69a7898a8ed7020837ec4395bb341bd96cc3a6d86c3f6071dd98da289618cf2234c70d84b2a6f09a33dd6f988b1ff60d8e54275 + languageName: node + linkType: hard + "fast-glob@npm:^2.0.2": version: 2.2.7 resolution: "fast-glob@npm:2.2.7" @@ -15773,13 +15801,13 @@ __metadata: languageName: node linkType: hard -"follow-redirects@npm:^1.15.2": - version: 1.15.3 - resolution: "follow-redirects@npm:1.15.3" +"follow-redirects@npm:^1.15.3": + version: 1.15.6 + resolution: "follow-redirects@npm:1.15.6" peerDependenciesMeta: debug: optional: true - checksum: 10/60d98693f4976892f8c654b16ef6d1803887a951898857ab0cdc009570b1c06314ad499505b7a040ac5b98144939f8597766e5e6a6859c0945d157b473aa6f5f + checksum: 10/70c7612c4cab18e546e36b991bbf8009a1a41cf85354afe04b113d1117569abf760269409cb3eb842d9f7b03d62826687086b081c566ea7b1e6613cf29030bf7 languageName: node linkType: hard @@ -16356,7 +16384,7 @@ __metadata: languageName: node linkType: hard -"get-port@npm:5.1.1, get-port@npm:^5.1.1": +"get-port@npm:5.1.1": version: 5.1.1 resolution: "get-port@npm:5.1.1" checksum: 10/0162663ffe5c09e748cd79d97b74cd70e5a5c84b760a475ce5767b357fb2a57cb821cee412d646aa8a156ed39b78aab88974eddaa9e5ee926173c036c0713787 @@ -17550,7 +17578,7 @@ __metadata: languageName: node linkType: hard -"https-proxy-agent@npm:5.0.1, https-proxy-agent@npm:^5.0.0, https-proxy-agent@npm:^5.0.1": +"https-proxy-agent@npm:5.0.1, https-proxy-agent@npm:^5.0.0": version: 5.0.1 resolution: "https-proxy-agent@npm:5.0.1" dependencies: @@ -17560,7 +17588,7 @@ __metadata: languageName: node linkType: hard -"https-proxy-agent@npm:^7.0.0": +"https-proxy-agent@npm:^7.0.0, https-proxy-agent@npm:^7.0.2": version: 7.0.4 resolution: "https-proxy-agent@npm:7.0.4" dependencies: @@ -21281,15 +21309,6 @@ __metadata: languageName: node linkType: hard -"md5-file@npm:^5.0.0": - version: 5.0.0 - resolution: "md5-file@npm:5.0.0" - bin: - md5-file: cli.js - checksum: 10/c606a00ff58adf5428e8e2f36d86e5d3c7029f9688126faca302cd83b5e92cac183a62e1d1f05fae7c2614e80f993326fd0a8d6a3a913c41ec7ea0eefc25aa76 - languageName: node - linkType: hard - "mdast-util-find-and-replace@npm:^1.1.0": version: 1.1.1 resolution: "mdast-util-find-and-replace@npm:1.1.1" @@ -22081,36 +22100,33 @@ __metadata: languageName: node linkType: hard -"mongodb-memory-server-core@npm:8.15.1": - version: 8.15.1 - resolution: "mongodb-memory-server-core@npm:8.15.1" +"mongodb-memory-server-core@npm:9.1.7": + version: 9.1.7 + resolution: "mongodb-memory-server-core@npm:9.1.7" dependencies: - async-mutex: "npm:^0.3.2" + async-mutex: "npm:^0.4.0" camelcase: "npm:^6.3.0" debug: "npm:^4.3.4" find-cache-dir: "npm:^3.3.2" - follow-redirects: "npm:^1.15.2" - get-port: "npm:^5.1.1" - https-proxy-agent: "npm:^5.0.1" - md5-file: "npm:^5.0.0" - mongodb: "npm:^4.16.0" + follow-redirects: "npm:^1.15.3" + https-proxy-agent: "npm:^7.0.2" + mongodb: "npm:^5.9.1" new-find-package-json: "npm:^2.0.0" semver: "npm:^7.5.4" - tar-stream: "npm:^2.1.4" - tslib: "npm:^2.6.1" - uuid: "npm:^9.0.0" + tar-stream: "npm:^3.0.0" + tslib: "npm:^2.6.2" yauzl: "npm:^2.10.0" - checksum: 10/98e6a2878563d72f111942fdfcf558ae4b423a703a209b42cb37f2275d99b05e490950cd8e2de17d57d89620cec64d1cf689c82a856a68e4cbc4bfce41f79c31 + checksum: 10/54f1a68748ab75b6a6efabf9c1076c3cbb764a066169d5ed8c7391864ac2a43e9dab9fbbfd5d269cf5ecde44f9313c5d76f086ae1224df044a31f23bdafbaab6 languageName: node linkType: hard -"mongodb-memory-server@npm:^8.15.1": - version: 8.15.1 - resolution: "mongodb-memory-server@npm:8.15.1" +"mongodb-memory-server@npm:^8.15.1 || ^9.1.7": + version: 9.1.7 + resolution: "mongodb-memory-server@npm:9.1.7" dependencies: - mongodb-memory-server-core: "npm:8.15.1" - tslib: "npm:^2.6.1" - checksum: 10/10f2591b88780b576376ada725e508e6a68dfa555e959bb07ec5c0626e129f366a6f6ed67894cad0b1c662dd4359ab60701c2ade2682d5923dd97de74d9d739d + mongodb-memory-server-core: "npm:9.1.7" + tslib: "npm:^2.6.2" + checksum: 10/0ec66767c39e7d09f9e232a39ceef54be15f748ef1e6c7c046bb4debbef7f75b2f8cbaec544363dc2b49c4ee68f06d17208b47c78497f370b965a5dba7aef000 languageName: node linkType: hard @@ -22164,21 +22180,35 @@ __metadata: languageName: node linkType: hard -"mongodb@npm:^4.16.0": - version: 4.17.1 - resolution: "mongodb@npm:4.17.1" +"mongodb@npm:^5.9.1": + version: 5.9.2 + resolution: "mongodb@npm:5.9.2" dependencies: - "@aws-sdk/credential-providers": "npm:^3.186.0" "@mongodb-js/saslprep": "npm:^1.1.0" - bson: "npm:^4.7.2" + bson: "npm:^5.5.0" mongodb-connection-string-url: "npm:^2.6.0" socks: "npm:^2.7.1" + peerDependencies: + "@aws-sdk/credential-providers": ^3.188.0 + "@mongodb-js/zstd": ^1.0.0 + kerberos: ^1.0.0 || ^2.0.0 + mongodb-client-encryption: ">=2.3.0 <3" + snappy: ^7.2.2 dependenciesMeta: + "@mongodb-js/saslprep": + optional: true + peerDependenciesMeta: "@aws-sdk/credential-providers": optional: true - "@mongodb-js/saslprep": + "@mongodb-js/zstd": + optional: true + kerberos: + optional: true + mongodb-client-encryption: optional: true - checksum: 10/2ce62912ab36885e927c109a699568174cc61025bc03e2d5c22e6070aaec967b2364d4b9d42c9131531c2547416b57d14952c50235d43fa66e76a6fbe4c96c37 + snappy: + optional: true + checksum: 10/f80ccd8a55a1bdb2513db98e97f723b7c67b1b0dd94ff254930b8fd9b1f4efbf66ceff191748aaf8b0b5331d381497c39857b3380bf013de1f9148a7f9220336 languageName: node linkType: hard @@ -24892,6 +24922,13 @@ __metadata: languageName: node linkType: hard +"queue-tick@npm:^1.0.1": + version: 1.0.1 + resolution: "queue-tick@npm:1.0.1" + checksum: 10/f447926c513b64a857906f017a3b350f7d11277e3c8d2a21a42b7998fa1a613d7a829091e12d142bb668905c8f68d8103416c7197856efb0c72fa835b8e254b5 + languageName: node + linkType: hard + "quick-lru@npm:^4.0.1": version: 4.0.1 resolution: "quick-lru@npm:4.0.1" @@ -27209,6 +27246,20 @@ __metadata: languageName: node linkType: hard +"streamx@npm:^2.15.0": + version: 2.16.1 + resolution: "streamx@npm:2.16.1" + dependencies: + bare-events: "npm:^2.2.0" + fast-fifo: "npm:^1.1.0" + queue-tick: "npm:^1.0.1" + dependenciesMeta: + bare-events: + optional: true + checksum: 10/f6d0899adf089385d9c58a630fc705dc6c3931b18181c32860e5013955a339a3b763a4df62168f37c7fc56b1f7bb2a38db989fa9df487995278cb5d46f248da6 + languageName: node + linkType: hard + "strftime@npm:~0.9.2": version: 0.9.2 resolution: "strftime@npm:0.9.2" @@ -27663,7 +27714,7 @@ __metadata: languageName: node linkType: hard -"tar-stream@npm:^2.1.4, tar-stream@npm:^2.2.0, tar-stream@npm:~2.2.0": +"tar-stream@npm:^2.2.0, tar-stream@npm:~2.2.0": version: 2.2.0 resolution: "tar-stream@npm:2.2.0" dependencies: @@ -27676,6 +27727,17 @@ __metadata: languageName: node linkType: hard +"tar-stream@npm:^3.0.0": + version: 3.1.7 + resolution: "tar-stream@npm:3.1.7" + dependencies: + b4a: "npm:^1.6.4" + fast-fifo: "npm:^1.2.0" + streamx: "npm:^2.15.0" + checksum: 10/b21a82705a72792544697c410451a4846af1f744176feb0ff11a7c3dd0896961552e3def5e1c9a6bbee4f0ae298b8252a1f4c9381e9f991553b9e4847976f05c + languageName: node + linkType: hard + "tar@npm:6.1.11, tar@npm:^6.0.2, tar@npm:^6.1.11, tar@npm:^6.1.2": version: 6.1.11 resolution: "tar@npm:6.1.11" @@ -28273,7 +28335,7 @@ __metadata: languageName: node linkType: hard -"tslib@npm:2.6.2, tslib@npm:^2.0.0, tslib@npm:^2.0.1, tslib@npm:^2.0.3, tslib@npm:^2.1.0, tslib@npm:^2.3.0, tslib@npm:^2.3.1, tslib@npm:^2.4.0, tslib@npm:^2.5.0, tslib@npm:^2.6.1, tslib@npm:^2.6.2": +"tslib@npm:2.6.2, tslib@npm:^2.0.0, tslib@npm:^2.0.1, tslib@npm:^2.0.3, tslib@npm:^2.1.0, tslib@npm:^2.3.0, tslib@npm:^2.3.1, tslib@npm:^2.4.0, tslib@npm:^2.5.0, tslib@npm:^2.6.2": version: 2.6.2 resolution: "tslib@npm:2.6.2" checksum: 10/bd26c22d36736513980091a1e356378e8b662ded04204453d353a7f34a4c21ed0afc59b5f90719d4ba756e581a162ecbf93118dc9c6be5acf70aa309188166ca