@payloadcms/db-mongodb 3.0.0-canary.67aae47 → 3.0.0-canary.6b9e4be

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. package/dist/connect.d.ts.map +1 -1
  2. package/dist/connect.js +12 -0
  3. package/dist/connect.js.map +1 -1
  4. package/dist/count.d.ts.map +1 -1
  5. package/dist/count.js +1 -8
  6. package/dist/count.js.map +1 -1
  7. package/dist/countGlobalVersions.d.ts.map +1 -1
  8. package/dist/countGlobalVersions.js +1 -8
  9. package/dist/countGlobalVersions.js.map +1 -1
  10. package/dist/countVersions.d.ts.map +1 -1
  11. package/dist/countVersions.js +1 -8
  12. package/dist/countVersions.js.map +1 -1
  13. package/dist/createVersion.js +2 -2
  14. package/dist/createVersion.js.map +1 -1
  15. package/dist/find.d.ts.map +1 -1
  16. package/dist/find.js +1 -0
  17. package/dist/find.js.map +1 -1
  18. package/dist/findGlobalVersions.d.ts.map +1 -1
  19. package/dist/findGlobalVersions.js +1 -0
  20. package/dist/findGlobalVersions.js.map +1 -1
  21. package/dist/findVersions.d.ts.map +1 -1
  22. package/dist/findVersions.js +1 -0
  23. package/dist/findVersions.js.map +1 -1
  24. package/dist/index.d.ts +8 -1
  25. package/dist/index.d.ts.map +1 -1
  26. package/dist/index.js +2 -1
  27. package/dist/index.js.map +1 -1
  28. package/dist/init.d.ts.map +1 -1
  29. package/dist/init.js +8 -9
  30. package/dist/init.js.map +1 -1
  31. package/dist/queries/buildSearchParams.d.ts.map +1 -1
  32. package/dist/queries/buildSearchParams.js +6 -4
  33. package/dist/queries/buildSearchParams.js.map +1 -1
  34. package/dist/queries/parseParams.d.ts.map +1 -1
  35. package/dist/queries/parseParams.js +1 -4
  36. package/dist/queries/parseParams.js.map +1 -1
  37. package/dist/queries/sanitizeQueryValue.d.ts.map +1 -1
  38. package/dist/queries/sanitizeQueryValue.js +16 -14
  39. package/dist/queries/sanitizeQueryValue.js.map +1 -1
  40. package/dist/queryDrafts.d.ts.map +1 -1
  41. package/dist/queryDrafts.js +1 -0
  42. package/dist/queryDrafts.js.map +1 -1
  43. package/dist/utilities/buildProjectionFromSelect.js +27 -27
  44. package/dist/utilities/buildProjectionFromSelect.js.map +1 -1
  45. package/dist/utilities/sanitizeRelationshipIDs.js +2 -2
  46. package/dist/utilities/sanitizeRelationshipIDs.js.map +1 -1
  47. package/license.md +22 -0
  48. package/package.json +16 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@payloadcms/db-mongodb",
3
- "version": "3.0.0-canary.67aae47",
3
+ "version": "3.0.0-canary.6b9e4be",
4
4
  "description": "The officially supported MongoDB database adapter for Payload",
5
5
  "homepage": "https://payloadcms.com",
6
6
  "repository": {
@@ -10,6 +10,13 @@
10
10
  },
11
11
  "license": "MIT",
12
12
  "author": "Payload <dev@payloadcms.com> (https://payloadcms.com)",
13
+ "maintainers": [
14
+ {
15
+ "name": "Payload",
16
+ "email": "info@payloadcms.com",
17
+ "url": "https://payloadcms.com"
18
+ }
19
+ ],
13
20
  "type": "module",
14
21
  "exports": {
15
22
  ".": {
@@ -26,22 +33,23 @@
26
33
  "predefinedMigrations"
27
34
  ],
28
35
  "dependencies": {
36
+ "bson-objectid": "2.0.4",
29
37
  "http-status": "1.6.2",
30
- "mongoose": "8.8.1",
31
- "mongoose-aggregate-paginate-v2": "1.1.2",
32
- "mongoose-paginate-v2": "1.8.5",
38
+ "mongoose": "6.12.3",
39
+ "mongoose-aggregate-paginate-v2": "1.0.6",
40
+ "mongoose-paginate-v2": "1.7.22",
33
41
  "prompts": "2.4.2",
34
42
  "uuid": "10.0.0"
35
43
  },
36
44
  "devDependencies": {
37
- "@types/mongoose-aggregate-paginate-v2": "1.0.12",
38
- "mongodb": "6.10.0",
45
+ "@types/mongoose-aggregate-paginate-v2": "1.0.6",
46
+ "mongodb": "4.17.1",
39
47
  "mongodb-memory-server": "^9",
40
48
  "@payloadcms/eslint-config": "3.0.0-beta.112",
41
- "payload": "3.0.0-canary.67aae47"
49
+ "payload": "3.0.0-canary.6b9e4be"
42
50
  },
43
51
  "peerDependencies": {
44
- "payload": "3.0.0-canary.67aae47"
52
+ "payload": "3.0.0-canary.6b9e4be"
45
53
  },
46
54
  "scripts": {
47
55
  "build": "pnpm build:types && pnpm build:swc",