monsqlize 3.1.0 → 3.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -23
- package/SECURITY.md +1 -1
- package/changelogs/v3.1.11.md +12 -0
- package/changelogs/v3.1.12.md +12 -0
- package/changelogs/v3.1.13.md +12 -0
- package/changelogs/v3.1.14.md +12 -0
- package/changelogs/v3.1.5.md +3 -0
- package/changelogs/v3.1.6.md +4 -0
- package/changelogs/v3.1.7.md +7 -0
- package/changelogs/v3.1.8.md +12 -0
- package/dist/cjs/cli/data-task.cjs +12 -4
- package/package.json +161 -153
package/README.md
CHANGED
|
@@ -7,9 +7,9 @@ Database-native production data runtime layer for TypeScript services. monSQLize
|
|
|
7
7
|
[](https://www.mongodb.com/)
|
|
8
8
|
[](https://nodejs.org/)
|
|
9
9
|
|
|
10
|
-
Documentation: [English](https://
|
|
11
|
-
Quick path: [Installation](https://
|
|
12
|
-
Configuration reference: [English](https://
|
|
10
|
+
Documentation: [English](https://devcodex-labs.github.io/monSQLize/) · [简体中文](https://devcodex-labs.github.io/monSQLize/zh/)
|
|
11
|
+
Quick path: [Installation](https://devcodex-labs.github.io/monSQLize/getting-started) · [Basic Usage](https://devcodex-labs.github.io/monSQLize/basic-operations)
|
|
12
|
+
Configuration reference: [English](https://devcodex-labs.github.io/monSQLize/configuration) · [简体中文](https://devcodex-labs.github.io/monSQLize/zh/configuration)
|
|
13
13
|
Upgrade and security: [Migration Guide](./MIGRATION.md) · [Private Vulnerability Reporting](./SECURITY.md)
|
|
14
14
|
|
|
15
15
|
The npm `latest` dist-tag and GitHub Pages are the stable channel; `main` may contain the next release. Pages deployment accepts only a versioned Git tag whose package version is already present on npm, so unpublished APIs are not promoted as stable documentation.
|
|
@@ -134,7 +134,7 @@ await users.updateOne(
|
|
|
134
134
|
await msq.close();
|
|
135
135
|
```
|
|
136
136
|
|
|
137
|
-
Next, use the [Basic Usage guide](https://
|
|
137
|
+
Next, use the [Basic Usage guide](https://devcodex-labs.github.io/monSQLize/basic-operations) for common CRUD, pagination, read cache, and Model entry-point examples.
|
|
138
138
|
|
|
139
139
|
### ESM and TypeScript
|
|
140
140
|
|
|
@@ -496,34 +496,34 @@ The v3 line has been validated against the workspace consumers `chat`, `payment`
|
|
|
496
496
|
|
|
497
497
|
See the current support and verification documents:
|
|
498
498
|
|
|
499
|
-
- [English documentation](https://github.com/
|
|
500
|
-
- [Chinese documentation](https://github.com/
|
|
501
|
-
- [English common scenarios](https://github.com/
|
|
502
|
-
- [Support matrix](https://github.com/
|
|
503
|
-
- [test/compatibility/README.md](https://github.com/
|
|
504
|
-
- [test/validation/VERIFICATION-PROGRESS.md](https://github.com/
|
|
499
|
+
- [English documentation](https://github.com/devcodex-labs/monSQLize/blob/main/docs/en/README.md)
|
|
500
|
+
- [Chinese documentation](https://github.com/devcodex-labs/monSQLize/blob/main/docs/zh/README.md)
|
|
501
|
+
- [English common scenarios](https://github.com/devcodex-labs/monSQLize/blob/main/docs/en/recipes.md)
|
|
502
|
+
- [Support matrix](https://github.com/devcodex-labs/monSQLize/blob/main/docs/en/support-matrix.md)
|
|
503
|
+
- [test/compatibility/README.md](https://github.com/devcodex-labs/monSQLize/blob/main/test/compatibility/README.md)
|
|
504
|
+
- [test/validation/VERIFICATION-PROGRESS.md](https://github.com/devcodex-labs/monSQLize/blob/main/test/validation/VERIFICATION-PROGRESS.md)
|
|
505
505
|
|
|
506
506
|
## Documentation
|
|
507
507
|
|
|
508
508
|
Current TypeScript documentation and examples are the source of truth for the v3 package:
|
|
509
509
|
|
|
510
|
-
- Complete docs: [English](https://
|
|
511
|
-
- Constructor configuration: [English](https://
|
|
512
|
-
- Production rollout: [English](https://
|
|
513
|
-
- Production data migration: [English](https://
|
|
514
|
-
- Data tasks API: [English](https://
|
|
515
|
-
- Common scenarios: [English](https://
|
|
516
|
-
- Example source: [examples index](https://github.com/
|
|
517
|
-
- Documentation source: [docs/en](https://github.com/
|
|
518
|
-
- Compatibility checks: [test/compatibility](https://github.com/
|
|
519
|
-
- Verification mapping: [test/validation](https://github.com/
|
|
510
|
+
- Complete docs: [English](https://devcodex-labs.github.io/monSQLize/) · [简体中文](https://devcodex-labs.github.io/monSQLize/zh/)
|
|
511
|
+
- Constructor configuration: [English](https://devcodex-labs.github.io/monSQLize/configuration) · [简体中文](https://devcodex-labs.github.io/monSQLize/zh/configuration)
|
|
512
|
+
- Production rollout: [English](https://devcodex-labs.github.io/monSQLize/production-rollout) · [简体中文](https://devcodex-labs.github.io/monSQLize/zh/production-rollout)
|
|
513
|
+
- Production data migration: [English](https://devcodex-labs.github.io/monSQLize/production-data-migration) · [简体中文](https://devcodex-labs.github.io/monSQLize/zh/production-data-migration)
|
|
514
|
+
- Data tasks API: [English](https://devcodex-labs.github.io/monSQLize/data-tasks) · [简体中文](https://devcodex-labs.github.io/monSQLize/zh/data-tasks)
|
|
515
|
+
- Common scenarios: [English](https://devcodex-labs.github.io/monSQLize/recipes) · [简体中文](https://devcodex-labs.github.io/monSQLize/zh/recipes)
|
|
516
|
+
- Example source: [examples index](https://github.com/devcodex-labs/monSQLize/blob/main/examples/README.md)
|
|
517
|
+
- Documentation source: [docs/en](https://github.com/devcodex-labs/monSQLize/tree/main/docs/en) · [docs/zh](https://github.com/devcodex-labs/monSQLize/tree/main/docs/zh)
|
|
518
|
+
- Compatibility checks: [test/compatibility](https://github.com/devcodex-labs/monSQLize/tree/main/test/compatibility)
|
|
519
|
+
- Verification mapping: [test/validation](https://github.com/devcodex-labs/monSQLize/tree/main/test/validation)
|
|
520
520
|
|
|
521
521
|
Historical v1 and v2 assets are useful for tracing old behavior, but they are not the current publishing surface for v3.
|
|
522
522
|
|
|
523
523
|
## Development
|
|
524
524
|
|
|
525
525
|
```bash
|
|
526
|
-
git clone https://github.com/
|
|
526
|
+
git clone https://github.com/devcodex-labs/monSQLize.git
|
|
527
527
|
cd monSQLize
|
|
528
528
|
npm install
|
|
529
529
|
```
|
|
@@ -581,6 +581,6 @@ monSQLize is released under the [Apache License 2.0](./LICENSE).
|
|
|
581
581
|
|
|
582
582
|
## Support
|
|
583
583
|
|
|
584
|
-
- Issues: [GitHub Issues](https://github.com/
|
|
584
|
+
- Issues: [GitHub Issues](https://github.com/devcodex-labs/monSQLize/issues)
|
|
585
585
|
- npm: [monsqlize](https://www.npmjs.com/package/monsqlize)
|
|
586
|
-
- Website: [https://
|
|
586
|
+
- Website: [https://devcodex-labs.github.io/monSQLize/](https://devcodex-labs.github.io/monSQLize/)
|
package/SECURITY.md
CHANGED
|
@@ -9,7 +9,7 @@ support window.
|
|
|
9
9
|
|
|
10
10
|
## Reporting a Vulnerability / 报告安全问题
|
|
11
11
|
|
|
12
|
-
Use [GitHub private vulnerability reporting](https://github.com/
|
|
12
|
+
Use [GitHub private vulnerability reporting](https://github.com/devcodex-labs/monSQLize/security/advisories/new).
|
|
13
13
|
Do not open a public issue for an undisclosed vulnerability.
|
|
14
14
|
|
|
15
15
|
- Include the affected version, minimal reproduction, impact, and any known workaround.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# monSQLize v3.1.11
|
|
2
|
+
|
|
3
|
+
> Release date: 2026-07-27
|
|
4
|
+
|
|
5
|
+
## Highlights
|
|
6
|
+
|
|
7
|
+
- chore: republish package repository/homepage metadata for GitHub org `devcodex-labs`.
|
|
8
|
+
- Package name `monsqlize` unchanged.
|
|
9
|
+
|
|
10
|
+
## Compatibility boundaries
|
|
11
|
+
|
|
12
|
+
- No runtime API changes in this metadata release.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# monSQLize v3.1.12
|
|
2
|
+
|
|
3
|
+
> Release date: 2026-07-27
|
|
4
|
+
|
|
5
|
+
## Highlights
|
|
6
|
+
|
|
7
|
+
- chore: republish package repository/homepage metadata for GitHub org `devcodex-labs`.
|
|
8
|
+
- Package name `monsqlize` unchanged.
|
|
9
|
+
|
|
10
|
+
## Compatibility boundaries
|
|
11
|
+
|
|
12
|
+
- No runtime API changes in this metadata release.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# monSQLize v3.1.13
|
|
2
|
+
|
|
3
|
+
> Release date: 2026-07-27
|
|
4
|
+
|
|
5
|
+
## Highlights
|
|
6
|
+
|
|
7
|
+
- chore: republish package repository/homepage metadata for GitHub org `devcodex-labs`.
|
|
8
|
+
- Package name `monsqlize` unchanged.
|
|
9
|
+
|
|
10
|
+
## Compatibility boundaries
|
|
11
|
+
|
|
12
|
+
- No runtime API changes in this metadata release.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# monSQLize v3.1.14
|
|
2
|
+
|
|
3
|
+
> Release date: 2026-07-27
|
|
4
|
+
|
|
5
|
+
## Highlights
|
|
6
|
+
|
|
7
|
+
- chore: republish package repository/homepage metadata for GitHub org `devcodex-labs`.
|
|
8
|
+
- Package name `monsqlize` unchanged.
|
|
9
|
+
|
|
10
|
+
## Compatibility boundaries
|
|
11
|
+
|
|
12
|
+
- No runtime API changes in this metadata release.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# monSQLize v3.1.8
|
|
2
|
+
|
|
3
|
+
> Release date: 2026-07-27
|
|
4
|
+
|
|
5
|
+
## Highlights
|
|
6
|
+
|
|
7
|
+
- chore: republish package repository/homepage metadata for GitHub org `devcodex-labs`.
|
|
8
|
+
- Package name `monsqlize` unchanged.
|
|
9
|
+
|
|
10
|
+
## Compatibility boundaries
|
|
11
|
+
|
|
12
|
+
- No runtime API changes in this metadata release.
|
|
@@ -31,7 +31,7 @@ var import_node_url = require("node:url");
|
|
|
31
31
|
// package.json
|
|
32
32
|
var package_default = {
|
|
33
33
|
name: "monsqlize",
|
|
34
|
-
version: "3.1.
|
|
34
|
+
version: "3.1.14",
|
|
35
35
|
description: "TypeScript production data runtime layer for MongoDB today, with cache, transactions, pools, models, sync, and observability",
|
|
36
36
|
type: "commonjs",
|
|
37
37
|
main: "./dist/cjs/index.cjs",
|
|
@@ -52,10 +52,18 @@ var package_default = {
|
|
|
52
52
|
"./package.json": "./package.json"
|
|
53
53
|
},
|
|
54
54
|
files: [
|
|
55
|
+
"changelogs/v3.1.14.md",
|
|
56
|
+
"changelogs/v3.1.13.md",
|
|
57
|
+
"changelogs/v3.1.12.md",
|
|
58
|
+
"changelogs/v3.1.11.md",
|
|
59
|
+
"changelogs/v3.1.7.md",
|
|
60
|
+
"changelogs/v3.1.8.md",
|
|
55
61
|
"dist/**/*.cjs",
|
|
56
62
|
"dist/**/*.mjs",
|
|
57
63
|
"dist/**/*.d.ts",
|
|
58
64
|
"dist/**/*.d.mts",
|
|
65
|
+
"changelogs/v3.1.6.md",
|
|
66
|
+
"changelogs/v3.1.5.md",
|
|
59
67
|
"changelogs/v3.1.0.md",
|
|
60
68
|
"changelogs/v3.1.0-rc.0.md",
|
|
61
69
|
"changelogs/v3.0.0.md",
|
|
@@ -95,12 +103,12 @@ var package_default = {
|
|
|
95
103
|
license: "Apache-2.0",
|
|
96
104
|
repository: {
|
|
97
105
|
type: "git",
|
|
98
|
-
url: "git+https://github.com/
|
|
106
|
+
url: "git+https://github.com/devcodex-labs/monSQLize.git"
|
|
99
107
|
},
|
|
100
108
|
bugs: {
|
|
101
|
-
url: "https://github.com/
|
|
109
|
+
url: "https://github.com/devcodex-labs/monSQLize/issues"
|
|
102
110
|
},
|
|
103
|
-
homepage: "https://
|
|
111
|
+
homepage: "https://devcodex-labs.github.io/monSQLize/",
|
|
104
112
|
publishConfig: {
|
|
105
113
|
access: "public",
|
|
106
114
|
registry: "https://registry.npmjs.org/"
|
package/package.json
CHANGED
|
@@ -1,157 +1,165 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
},
|
|
12
|
-
"exports": {
|
|
13
|
-
".": {
|
|
14
|
-
"types": {
|
|
15
|
-
"import": "./dist/types/index.d.mts",
|
|
16
|
-
"require": "./dist/types/index.d.ts"
|
|
17
|
-
},
|
|
18
|
-
"require": "./dist/cjs/index.cjs",
|
|
19
|
-
"import": "./dist/esm/index.mjs"
|
|
2
|
+
"name": "monsqlize",
|
|
3
|
+
"version": "3.1.14",
|
|
4
|
+
"description": "TypeScript production data runtime layer for MongoDB today, with cache, transactions, pools, models, sync, and observability",
|
|
5
|
+
"type": "commonjs",
|
|
6
|
+
"main": "./dist/cjs/index.cjs",
|
|
7
|
+
"module": "./dist/esm/index.mjs",
|
|
8
|
+
"types": "./dist/types/index.d.ts",
|
|
9
|
+
"bin": {
|
|
10
|
+
"monsqlize": "dist/cjs/cli/data-task.cjs"
|
|
20
11
|
},
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
"
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"types": {
|
|
15
|
+
"import": "./dist/types/index.d.mts",
|
|
16
|
+
"require": "./dist/types/index.d.ts"
|
|
17
|
+
},
|
|
18
|
+
"require": "./dist/cjs/index.cjs",
|
|
19
|
+
"import": "./dist/esm/index.mjs"
|
|
20
|
+
},
|
|
21
|
+
"./package.json": "./package.json"
|
|
22
|
+
},
|
|
23
|
+
"files": [
|
|
24
|
+
"changelogs/v3.1.14.md",
|
|
25
|
+
"changelogs/v3.1.13.md",
|
|
26
|
+
"changelogs/v3.1.12.md",
|
|
27
|
+
"changelogs/v3.1.11.md",
|
|
28
|
+
"changelogs/v3.1.7.md",
|
|
29
|
+
"changelogs/v3.1.8.md",
|
|
30
|
+
"dist/**/*.cjs",
|
|
31
|
+
"dist/**/*.mjs",
|
|
32
|
+
"dist/**/*.d.ts",
|
|
33
|
+
"dist/**/*.d.mts",
|
|
34
|
+
"changelogs/v3.1.6.md",
|
|
35
|
+
"changelogs/v3.1.5.md",
|
|
36
|
+
"changelogs/v3.1.0.md",
|
|
37
|
+
"changelogs/v3.1.0-rc.0.md",
|
|
38
|
+
"changelogs/v3.0.0.md",
|
|
39
|
+
"changelogs/v2.0.7.md",
|
|
40
|
+
"changelogs/v2.0.6.md",
|
|
41
|
+
"changelogs/v2.0.5.md",
|
|
42
|
+
"changelogs/v2.0.4.md",
|
|
43
|
+
"changelogs/v2.0.3.md",
|
|
44
|
+
"changelogs/v2.0.2.md",
|
|
45
|
+
"changelogs/v2.0.1.md",
|
|
46
|
+
"changelogs/v2.0.0.md",
|
|
47
|
+
"README.md",
|
|
48
|
+
"MIGRATION.md",
|
|
49
|
+
"SECURITY.md",
|
|
50
|
+
"LICENSE",
|
|
51
|
+
"licenses/production-dependencies.json",
|
|
52
|
+
"CHANGELOG.md"
|
|
53
|
+
],
|
|
54
|
+
"keywords": [
|
|
55
|
+
"mongodb",
|
|
56
|
+
"database",
|
|
57
|
+
"data-runtime",
|
|
58
|
+
"database-runtime",
|
|
59
|
+
"cache",
|
|
60
|
+
"transaction",
|
|
61
|
+
"distributed",
|
|
62
|
+
"cache-invalidation",
|
|
63
|
+
"pagination",
|
|
64
|
+
"performance",
|
|
65
|
+
"mongodb-driver",
|
|
66
|
+
"nosql",
|
|
67
|
+
"typescript",
|
|
68
|
+
"query-builder",
|
|
69
|
+
"api"
|
|
70
|
+
],
|
|
71
|
+
"author": "vext.js Team",
|
|
72
|
+
"license": "Apache-2.0",
|
|
73
|
+
"repository": {
|
|
74
|
+
"type": "git",
|
|
75
|
+
"url": "git+https://github.com/devcodex-labs/monSQLize.git"
|
|
76
|
+
},
|
|
77
|
+
"bugs": {
|
|
78
|
+
"url": "https://github.com/devcodex-labs/monSQLize/issues"
|
|
79
|
+
},
|
|
80
|
+
"homepage": "https://devcodex-labs.github.io/monSQLize/",
|
|
81
|
+
"publishConfig": {
|
|
82
|
+
"access": "public",
|
|
83
|
+
"registry": "https://registry.npmjs.org/"
|
|
84
|
+
},
|
|
85
|
+
"config": {
|
|
86
|
+
"mongodbMemoryServer": {
|
|
87
|
+
"downloadDir": ".cache/mongodb-memory-server/binaries",
|
|
88
|
+
"preferGlobalPath": "false",
|
|
89
|
+
"version": "7.0.37"
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"engines": {
|
|
93
|
+
"node": ">=18.0.0"
|
|
94
|
+
},
|
|
95
|
+
"scripts": {
|
|
96
|
+
"check:lint-contract": "node scripts/validation/check-lint-contract.cjs",
|
|
97
|
+
"check:coverage-policy": "node scripts/validation/check-coverage-policy.cjs",
|
|
98
|
+
"check:package-budgets": "node scripts/validation/check-package-budgets.cjs",
|
|
99
|
+
"check:production-licenses": "node scripts/validation/check-production-licenses.cjs",
|
|
100
|
+
"check:contributor-contract": "node scripts/validation/check-contributor-contract.cjs",
|
|
101
|
+
"check:dependency-policy": "node scripts/validation/check-dependency-policy.cjs",
|
|
102
|
+
"check:release-metadata": "node scripts/validation/check-release-metadata.cjs",
|
|
103
|
+
"check:doc-claims": "node scripts/validation/check-doc-claims.cjs",
|
|
104
|
+
"check:error-contract": "node scripts/validation/check-error-contract.cjs",
|
|
105
|
+
"check:current-version": "node scripts/validation/check-current-version-terminology.cjs",
|
|
106
|
+
"cleanup:derived": "node scripts/cleanup-derived-artifacts.cjs",
|
|
107
|
+
"cleanup:derived:apply": "node scripts/cleanup-derived-artifacts.cjs --apply --confirm=derived-artifacts",
|
|
108
|
+
"check:sizes": "node scripts/check-file-sizes.cjs",
|
|
109
|
+
"check:sizes:strict": "node scripts/check-file-sizes.cjs --strict",
|
|
110
|
+
"build": "node scripts/build-p1.cjs",
|
|
111
|
+
"build:tests": "node scripts/compile-tests.cjs",
|
|
112
|
+
"lint": "eslint . --ignore-pattern .generated/** --ignore-pattern dist/** --ignore-pattern .devcodex/**",
|
|
113
|
+
"lint:fix": "eslint . --fix --ignore-pattern .generated/** --ignore-pattern dist/** --ignore-pattern .devcodex/**",
|
|
114
|
+
"test:runtime": "npm run build && npm run build:tests && node --test .generated/test-dist/test/smoke/root-cjs.test.js .generated/test-dist/test/smoke/root-esm.test.js .generated/test-dist/test/smoke/pack-artifacts.test.js",
|
|
115
|
+
"test:compatibility": "npm run build && npm run build:tests && node --test .generated/test-dist/test/compatibility/exports/exports.test.js .generated/test-dist/test/compatibility/matrix.test.js",
|
|
116
|
+
"probe:server-matrix": "node scripts/validation/probe-memory-server-matrix.cjs",
|
|
117
|
+
"test:server-matrix": "node scripts/validation/run-memory-server-matrix.cjs",
|
|
118
|
+
"test:real-env:private": "node scripts/validation/run-private-real-env-checks.cjs",
|
|
119
|
+
"test:examples": "npm run build && tsc -p tsconfig.examples.json && node scripts/run-examples.cjs",
|
|
120
|
+
"test:performance": "npm run build && npm run build:tests && node .generated/test-dist/test/performance/baselines/function-cache.benchmark.js",
|
|
121
|
+
"test:unit": "npm run build && npm run build:tests && node test/run-tests.cjs unit",
|
|
122
|
+
"test:integration": "npm run build && npm run build:tests && node --test --test-concurrency=1 .generated/test-dist/test/integration/cache/cache.test.js .generated/test-dist/test/integration/cache/cache-behavior.test.js .generated/test-dist/test/integration/mongodb/connect.test.js .generated/test-dist/test/integration/mongodb/queries.test.js .generated/test-dist/test/integration/mongodb/management.test.js .generated/test-dist/test/integration/mongodb/writes-batch.test.js .generated/test-dist/test/integration/mongodb/find.test.js .generated/test-dist/test/integration/mongodb/find-one.test.js .generated/test-dist/test/integration/mongodb/find-page.test.js .generated/test-dist/test/integration/mongodb/aggregate.test.js .generated/test-dist/test/integration/mongodb/chaining.test.js .generated/test-dist/test/integration/mongodb/insert.test.js .generated/test-dist/test/integration/mongodb/update.test.js .generated/test-dist/test/integration/mongodb/delete.test.js .generated/test-dist/test/integration/mongodb/update-pipeline.test.js .generated/test-dist/test/integration/model/model-features.test.js .generated/test-dist/test/integration/transaction/transaction.test.js .generated/test-dist/test/integration/pool/pool.test.js .generated/test-dist/test/integration/pool/pool-behavior.test.js .generated/test-dist/test/integration/watch/watch-native.test.js .generated/test-dist/test/integration/runtime/runtime-core-regression.test.js .generated/test-dist/test/integration/sync/sync.test.js .generated/test-dist/test/integration/slow-query-log/slow-query-log.test.js .generated/test-dist/test/integration/model/model-crud-extended.test.js .generated/test-dist/test/integration/mongodb/management-complete.test.js .generated/test-dist/test/integration/runtime/runtime-methods-extended.test.js .generated/test-dist/test/integration/mongodb/find-page-advanced.test.js",
|
|
123
|
+
"test:data-tasks:integration": "npm run build && npm run build:tests && node test/run-tests.cjs data-tasks-integration",
|
|
124
|
+
"test:data-task-cli": "npm run build && npm run build:tests && node test/run-tests.cjs data-task-cli",
|
|
125
|
+
"test:pack-install": "npm run build && node scripts/pack-install-smoke.cjs",
|
|
126
|
+
"test:refactor-guard": "npm run build && npm run build:tests && node --test --test-concurrency=1 .generated/test-dist/test/compatibility/exports/exports.test.js .generated/test-dist/test/integration/model/model-features.test.js .generated/test-dist/test/integration/runtime/runtime-core-regression.test.js .generated/test-dist/test/integration/sync/sync.test.js",
|
|
127
|
+
"test:refactor-guard:cache": "npm run build && npm run build:tests && node --test .generated/test-dist/test/unit/cache/cache-refactor-guard.test.js",
|
|
128
|
+
"test:coverage": "node scripts/run-coverage.cjs",
|
|
129
|
+
"test:audit": "npm audit --omit=dev --registry=https://registry.npmjs.org/",
|
|
130
|
+
"test": "npm run build && npm run build:tests && node test/run-tests.cjs",
|
|
131
|
+
"type-check": "npm run build && tsc -p tsconfig.json --noEmit && tsd --files test/types/root-import.test-d.ts --files test/types/cache-usage.test-d.ts --files test/types/model-usage.test-d.ts --files test/types/pool-usage.test-d.ts --files test/types/sync-usage.test-d.ts --files test/types/slow-query-log-usage.test-d.ts --files test/types/saga-usage.test-d.ts --files test/types/data-tasks-usage.test-d.ts",
|
|
132
|
+
"check:test-language": "node scripts/check-test-language.cjs",
|
|
133
|
+
"check:docs-examples": "node scripts/validation/check-doc-example-matrix.cjs",
|
|
134
|
+
"check:release-candidate": "node scripts/check-release-candidate.cjs",
|
|
135
|
+
"verify:fast": "npm run check:lint-contract && npm run lint && npm run check:contributor-contract && npm run check:dependency-policy && npm run check:release-metadata && npm run check:doc-claims && npm run check:error-contract && npm run check:current-version && npm run check:docs-examples && npm run type-check && npm run check:sizes:strict && npm run test:runtime && npm run check:package-budgets && npm run check:production-licenses && npm run test:compatibility && npm run test:refactor-guard && npm run test:refactor-guard:cache",
|
|
136
|
+
"verify:full": "npm run check:lint-contract && npm run lint && npm run check:doc-claims && npm run check:error-contract && npm run check:current-version && npm run check:docs-examples && npm run type-check && npm run check:sizes:strict && npm run test:examples && npm run test:server-matrix",
|
|
137
|
+
"verify:release": "npm run verify:full && npm run test:real-env:private",
|
|
138
|
+
"verify": "npm run verify:full",
|
|
139
|
+
"release:preflight": "node scripts/release-preflight.cjs",
|
|
140
|
+
"prepublishOnly": "npm run release:preflight",
|
|
141
|
+
"release:publish": "npm run release:preflight && npm publish --ignore-scripts"
|
|
142
|
+
},
|
|
143
|
+
"devDependencies": {
|
|
144
|
+
"@eslint/js": "9.39.4",
|
|
145
|
+
"@types/node": "25.6.2",
|
|
146
|
+
"@types/semver": "7.7.1",
|
|
147
|
+
"c8": "11.0.0",
|
|
148
|
+
"chai": "6.2.2",
|
|
149
|
+
"esbuild": "0.28.1",
|
|
150
|
+
"eslint": "9.39.4",
|
|
151
|
+
"mongodb-memory-server": "10.4.3",
|
|
152
|
+
"sinon": "22.0.0",
|
|
153
|
+
"tsd": "0.33.0",
|
|
154
|
+
"typescript": "5.9.3",
|
|
155
|
+
"typescript-eslint": "8.64.0"
|
|
156
|
+
},
|
|
157
|
+
"dependencies": {
|
|
158
|
+
"async-lock": "1.4.1",
|
|
159
|
+
"cache-hub": "2.2.4",
|
|
160
|
+
"ioredis": "5.11.1",
|
|
161
|
+
"mongodb": "6.21.0",
|
|
162
|
+
"schema-dsl": "3.0.0",
|
|
163
|
+
"ssh2": "1.17.0"
|
|
82
164
|
}
|
|
83
|
-
},
|
|
84
|
-
"engines": {
|
|
85
|
-
"node": ">=18.0.0"
|
|
86
|
-
},
|
|
87
|
-
"scripts": {
|
|
88
|
-
"check:lint-contract": "node scripts/validation/check-lint-contract.cjs",
|
|
89
|
-
"check:coverage-policy": "node scripts/validation/check-coverage-policy.cjs",
|
|
90
|
-
"check:package-budgets": "node scripts/validation/check-package-budgets.cjs",
|
|
91
|
-
"check:production-licenses": "node scripts/validation/check-production-licenses.cjs",
|
|
92
|
-
"check:contributor-contract": "node scripts/validation/check-contributor-contract.cjs",
|
|
93
|
-
"check:dependency-policy": "node scripts/validation/check-dependency-policy.cjs",
|
|
94
|
-
"check:release-metadata": "node scripts/validation/check-release-metadata.cjs",
|
|
95
|
-
"check:doc-claims": "node scripts/validation/check-doc-claims.cjs",
|
|
96
|
-
"check:error-contract": "node scripts/validation/check-error-contract.cjs",
|
|
97
|
-
"check:current-version": "node scripts/validation/check-current-version-terminology.cjs",
|
|
98
|
-
"cleanup:derived": "node scripts/cleanup-derived-artifacts.cjs",
|
|
99
|
-
"cleanup:derived:apply": "node scripts/cleanup-derived-artifacts.cjs --apply --confirm=derived-artifacts",
|
|
100
|
-
"check:sizes": "node scripts/check-file-sizes.cjs",
|
|
101
|
-
"check:sizes:strict": "node scripts/check-file-sizes.cjs --strict",
|
|
102
|
-
"build": "node scripts/build-p1.cjs",
|
|
103
|
-
"build:tests": "node scripts/compile-tests.cjs",
|
|
104
|
-
"lint": "eslint . --ignore-pattern .generated/** --ignore-pattern dist/** --ignore-pattern .devcodex/**",
|
|
105
|
-
"lint:fix": "eslint . --fix --ignore-pattern .generated/** --ignore-pattern dist/** --ignore-pattern .devcodex/**",
|
|
106
|
-
"test:runtime": "npm run build && npm run build:tests && node --test .generated/test-dist/test/smoke/root-cjs.test.js .generated/test-dist/test/smoke/root-esm.test.js .generated/test-dist/test/smoke/pack-artifacts.test.js",
|
|
107
|
-
"test:compatibility": "npm run build && npm run build:tests && node --test .generated/test-dist/test/compatibility/exports/exports.test.js .generated/test-dist/test/compatibility/matrix.test.js",
|
|
108
|
-
"probe:server-matrix": "node scripts/validation/probe-memory-server-matrix.cjs",
|
|
109
|
-
"test:server-matrix": "node scripts/validation/run-memory-server-matrix.cjs",
|
|
110
|
-
"test:real-env:private": "node scripts/validation/run-private-real-env-checks.cjs",
|
|
111
|
-
"test:examples": "npm run build && tsc -p tsconfig.examples.json && node scripts/run-examples.cjs",
|
|
112
|
-
"test:performance": "npm run build && npm run build:tests && node .generated/test-dist/test/performance/baselines/function-cache.benchmark.js",
|
|
113
|
-
"test:unit": "npm run build && npm run build:tests && node test/run-tests.cjs unit",
|
|
114
|
-
"test:integration": "npm run build && npm run build:tests && node --test --test-concurrency=1 .generated/test-dist/test/integration/cache/cache.test.js .generated/test-dist/test/integration/cache/cache-behavior.test.js .generated/test-dist/test/integration/mongodb/connect.test.js .generated/test-dist/test/integration/mongodb/queries.test.js .generated/test-dist/test/integration/mongodb/management.test.js .generated/test-dist/test/integration/mongodb/writes-batch.test.js .generated/test-dist/test/integration/mongodb/find.test.js .generated/test-dist/test/integration/mongodb/find-one.test.js .generated/test-dist/test/integration/mongodb/find-page.test.js .generated/test-dist/test/integration/mongodb/aggregate.test.js .generated/test-dist/test/integration/mongodb/chaining.test.js .generated/test-dist/test/integration/mongodb/insert.test.js .generated/test-dist/test/integration/mongodb/update.test.js .generated/test-dist/test/integration/mongodb/delete.test.js .generated/test-dist/test/integration/mongodb/update-pipeline.test.js .generated/test-dist/test/integration/model/model-features.test.js .generated/test-dist/test/integration/transaction/transaction.test.js .generated/test-dist/test/integration/pool/pool.test.js .generated/test-dist/test/integration/pool/pool-behavior.test.js .generated/test-dist/test/integration/watch/watch-native.test.js .generated/test-dist/test/integration/runtime/runtime-core-regression.test.js .generated/test-dist/test/integration/sync/sync.test.js .generated/test-dist/test/integration/slow-query-log/slow-query-log.test.js .generated/test-dist/test/integration/model/model-crud-extended.test.js .generated/test-dist/test/integration/mongodb/management-complete.test.js .generated/test-dist/test/integration/runtime/runtime-methods-extended.test.js .generated/test-dist/test/integration/mongodb/find-page-advanced.test.js",
|
|
115
|
-
"test:data-tasks:integration": "npm run build && npm run build:tests && node test/run-tests.cjs data-tasks-integration",
|
|
116
|
-
"test:data-task-cli": "npm run build && npm run build:tests && node test/run-tests.cjs data-task-cli",
|
|
117
|
-
"test:pack-install": "npm run build && node scripts/pack-install-smoke.cjs",
|
|
118
|
-
"test:refactor-guard": "npm run build && npm run build:tests && node --test --test-concurrency=1 .generated/test-dist/test/compatibility/exports/exports.test.js .generated/test-dist/test/integration/model/model-features.test.js .generated/test-dist/test/integration/runtime/runtime-core-regression.test.js .generated/test-dist/test/integration/sync/sync.test.js",
|
|
119
|
-
"test:refactor-guard:cache": "npm run build && npm run build:tests && node --test .generated/test-dist/test/unit/cache/cache-refactor-guard.test.js",
|
|
120
|
-
"test:coverage": "node scripts/run-coverage.cjs",
|
|
121
|
-
"test:audit": "npm audit --omit=dev --registry=https://registry.npmjs.org/",
|
|
122
|
-
"test": "npm run build && npm run build:tests && node test/run-tests.cjs",
|
|
123
|
-
"type-check": "npm run build && tsc -p tsconfig.json --noEmit && tsd --files test/types/root-import.test-d.ts --files test/types/cache-usage.test-d.ts --files test/types/model-usage.test-d.ts --files test/types/pool-usage.test-d.ts --files test/types/sync-usage.test-d.ts --files test/types/slow-query-log-usage.test-d.ts --files test/types/saga-usage.test-d.ts --files test/types/data-tasks-usage.test-d.ts",
|
|
124
|
-
"check:test-language": "node scripts/check-test-language.cjs",
|
|
125
|
-
"check:docs-examples": "node scripts/validation/check-doc-example-matrix.cjs",
|
|
126
|
-
"check:release-candidate": "node scripts/check-release-candidate.cjs",
|
|
127
|
-
"verify:fast": "npm run check:lint-contract && npm run lint && npm run check:contributor-contract && npm run check:dependency-policy && npm run check:release-metadata && npm run check:doc-claims && npm run check:error-contract && npm run check:current-version && npm run check:docs-examples && npm run type-check && npm run check:sizes:strict && npm run test:runtime && npm run check:package-budgets && npm run check:production-licenses && npm run test:compatibility && npm run test:refactor-guard && npm run test:refactor-guard:cache",
|
|
128
|
-
"verify:full": "npm run check:lint-contract && npm run lint && npm run check:doc-claims && npm run check:error-contract && npm run check:current-version && npm run check:docs-examples && npm run type-check && npm run check:sizes:strict && npm run test:examples && npm run test:server-matrix",
|
|
129
|
-
"verify:release": "npm run verify:full && npm run test:real-env:private",
|
|
130
|
-
"verify": "npm run verify:full",
|
|
131
|
-
"release:preflight": "node scripts/release-preflight.cjs",
|
|
132
|
-
"prepublishOnly": "npm run release:preflight",
|
|
133
|
-
"release:publish": "npm run release:preflight && npm publish --ignore-scripts"
|
|
134
|
-
},
|
|
135
|
-
"devDependencies": {
|
|
136
|
-
"@eslint/js": "9.39.4",
|
|
137
|
-
"@types/node": "25.6.2",
|
|
138
|
-
"@types/semver": "7.7.1",
|
|
139
|
-
"c8": "11.0.0",
|
|
140
|
-
"chai": "6.2.2",
|
|
141
|
-
"esbuild": "0.28.1",
|
|
142
|
-
"eslint": "9.39.4",
|
|
143
|
-
"mongodb-memory-server": "10.4.3",
|
|
144
|
-
"sinon": "22.0.0",
|
|
145
|
-
"tsd": "0.33.0",
|
|
146
|
-
"typescript": "5.9.3",
|
|
147
|
-
"typescript-eslint": "8.64.0"
|
|
148
|
-
},
|
|
149
|
-
"dependencies": {
|
|
150
|
-
"async-lock": "1.4.1",
|
|
151
|
-
"cache-hub": "2.2.4",
|
|
152
|
-
"ioredis": "5.11.1",
|
|
153
|
-
"mongodb": "6.21.0",
|
|
154
|
-
"schema-dsl": "3.0.0",
|
|
155
|
-
"ssh2": "1.17.0"
|
|
156
|
-
}
|
|
157
165
|
}
|