koatty_validation 1.6.6 → 2.0.1

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.
@@ -1,13 +1,13 @@
1
1
 
2
2
  
3
- > koatty_validation@1.6.6 build /Users/richen/Workspace/nodejs/koatty-monorepo/packages/koatty-validation
3
+ > koatty_validation@2.0.1 build /Users/richen/Workspace/nodejs/koatty-monorepo/packages/koatty-validation
4
4
  > npm run build:js && npm run build:dts && npm run build:doc && npm run build:cp
5
5
 
6
6
 
7
- > koatty_validation@1.6.6 build:js
7
+ > koatty_validation@2.0.1 build:js
8
8
  > del-cli --force dist && npx rollup --bundleConfigAsCjs -c .rollup.config.js
9
9
 
10
- ⠙
10
+ 
11
11
  ./src/index.ts → ./dist/index.js...
12
12
  (!) Unresolved dependencies
13
13
  https://rollupjs.org/troubleshooting/#warning-treating-module-as-external-dependency
@@ -16,7 +16,7 @@
16
16
  koatty_lib (imported by "src/util.ts", "src/rule.ts" and "src/decorators.ts")
17
17
  koatty_container (imported by "src/util.ts" and "src/decorators.ts")
18
18
  class-validator (imported by "src/rule.ts", "src/decorator-factory.ts" and "src/decorators.ts")
19
- created ./dist/index.js in 7.8s
19
+ created ./dist/index.js in 1.7s
20
20
  
21
21
  ./src/index.ts → ./dist/index.mjs...
22
22
  (!) Unresolved dependencies
@@ -26,60 +26,23 @@
26
26
  koatty_lib (imported by "src/util.ts", "src/rule.ts" and "src/decorators.ts")
27
27
  koatty_container (imported by "src/util.ts" and "src/decorators.ts")
28
28
  class-validator (imported by "src/rule.ts", "src/decorator-factory.ts" and "src/decorators.ts")
29
- created ./dist/index.mjs in 2.3s
29
+ created ./dist/index.mjs in 1s
30
30
  ⠙⠙
31
- > koatty_validation@1.6.6 build:dts
31
+ > koatty_validation@2.0.1 build:dts
32
32
  > bash ../../scripts/build-dts.sh
33
33
 
34
34
  🔨 Building type declarations for koatty-validation...
35
35
  ⏳ Waiting for dependencies to be ready...
36
36
 
37
37
  🔍 Checking dependencies: koatty_container, koatty_lib, koatty_logger
38
- Waiting for: koatty_container, koatty_lib, koatty_logger (0s)
39
- ✗ koatty_container: not found
40
- ✗ koatty_lib: not found
41
- ✗ koatty_logger: not found
38
+ koatty_container type declarations ready
42
39
  ✓ koatty_lib type declarations ready
43
- Waiting for: koatty_container, koatty_logger (5s)
44
- ✗ koatty_container: not found
45
- ✗ koatty_logger: not found
46
- ⏳ Waiting for: koatty_container, koatty_logger (10s)
47
- ✗ koatty_container: not found
48
- ✗ koatty_logger: not found
49
- ⏳ Waiting for: koatty_container, koatty_logger (15s)
50
- ✗ koatty_container: not found
51
- ✗ koatty_logger: not found
52
- ⏳ Waiting for: koatty_container, koatty_logger (20s)
53
- ✗ koatty_container: not found
54
- ✗ koatty_logger: not found
55
- ⏳ Waiting for: koatty_container, koatty_logger (25s)
56
- ✗ koatty_container: not found
57
- ✗ koatty_logger: not found
58
- ⏳ Waiting for: koatty_container, koatty_logger (30s)
59
- ✗ koatty_container: not found
60
- ✗ koatty_logger: not found
61
- ⏳ Waiting for: koatty_container, koatty_logger (35s)
62
- ✗ koatty_container: not found
63
- ✗ koatty_logger: not found
64
- ⏳ Waiting for: koatty_container, koatty_logger (40s)
65
- ✗ koatty_container: not found
66
- ✗ koatty_logger: not found
67
- ⏳ Waiting for: koatty_container, koatty_logger (45s)
68
- ✗ koatty_container: not found
69
- ✗ koatty_logger: not found
70
- ⏳ Waiting for: koatty_container, koatty_logger (50s)
71
- ✗ koatty_container: not found
72
- ✗ koatty_logger: not found
73
- ⏳ Waiting for: koatty_container, koatty_logger (55s)
74
- ✗ koatty_container: not found
75
- ✗ koatty_logger: not found
40
+ koatty_logger type declarations ready
76
41
 
77
- ⚠️ Timeout waiting for dependencies: koatty_container, koatty_logger
78
- Maximum wait time: 60000ms
79
- Continuing build anyway - dependencies may be building in parallel
42
+ All dependencies ready (waited 1ms)
80
43
  📝 Running TypeScript compiler...
81
- ⠙⠙📦 Running API Extractor...
82
- ⠙⠹
44
+ ⠙📦 Running API Extractor...
45
+ 
83
46
  api-extractor 7.55.2  - https://api-extractor.com/
84
47
  
85
48
  Using configuration from ./api-extractor.json
@@ -138,7 +101,7 @@ Analysis will use the bundled TypeScript version 5.8.2
138
101
  API Extractor completed successfully
139
102
  ⠙✅ Type declarations built successfully
140
103
  ⠙
141
- > koatty_validation@1.6.6 build:doc
104
+ > koatty_validation@2.0.1 build:doc
142
105
  > del-cli --force docs/api && npx api-documenter markdown --input temp --output docs/api
143
106
 
144
107
  ⠙
@@ -165,7 +128,7 @@ Unsupported block tag: @export
165
128
  Unsupported block tag: @export
166
129
  Unsupported block tag: @type
167
130
  ⠙⠙
168
- > koatty_validation@1.6.6 build:cp
131
+ > koatty_validation@2.0.1 build:cp
169
132
  > node scripts/postBuild && copyfiles package.json LICENSE README.md dist/
170
133
 
171
134
  ⠙
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - koatty_container@2.0.1
9
+ - koatty_logger@2.4.1
10
+
11
+ ## 2.0.0
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+ - koatty_container@2.0.0
17
+ - koatty_logger@2.4.0
18
+
3
19
  ## 1.6.6
4
20
 
5
21
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * @Author: richen
3
- * @Date: 2026-01-28 17:22:16
3
+ * @Date: 2026-02-03 15:24:02
4
4
  * @License: BSD (3-Clause)
5
5
  * @Copyright (c) - <richenlin(at)gmail.com>
6
6
  * @HomePage: https://koatty.org/
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * @Author: richen
3
- * @Date: 2026-01-28 17:22:04
3
+ * @Date: 2026-02-03 15:23:44
4
4
  * @License: BSD (3-Clause)
5
5
  * @Copyright (c) - <richenlin(at)gmail.com>
6
6
  * @HomePage: https://koatty.org/
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * @Author: richen
3
- * @Date: 2026-01-28 17:22:04
3
+ * @Date: 2026-02-03 15:23:44
4
4
  * @License: BSD (3-Clause)
5
5
  * @Copyright (c) - <richenlin(at)gmail.com>
6
6
  * @HomePage: https://koatty.org/
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "koatty_validation",
3
- "version": "1.6.6",
3
+ "version": "2.0.1",
4
4
  "description": "Validation Util for Koatty and ThinkORM.",
5
5
  "scripts": {
6
6
  "build": "npm run build:js && npm run build:dts && npm run build:doc && npm run build:cp",
@@ -74,14 +74,14 @@
74
74
  },
75
75
  "dependencies": {
76
76
  "class-validator": "^0.14.3",
77
- "koatty_container": "^1.17.4",
78
- "koatty_lib": "^1.4.5",
79
- "koatty_logger": "^2.3.4",
77
+ "koatty_container": "workspace:*",
78
+ "koatty_lib": "workspace:*",
79
+ "koatty_logger": "workspace:*",
80
80
  "lru-cache": "^11.2.5"
81
81
  },
82
82
  "peerDependencies": {
83
- "koatty_container": "^1.17.4",
83
+ "koatty_container": "^2.0.1",
84
84
  "koatty_lib": "^1.4.5",
85
- "koatty_logger": "^2.3.4"
85
+ "koatty_logger": "^2.4.1"
86
86
  }
87
87
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "koatty_validation",
3
- "version": "1.6.6",
3
+ "version": "2.0.1",
4
4
  "description": "Validation Util for Koatty and ThinkORM.",
5
5
  "main": "./dist/index.js",
6
6
  "exports": {
@@ -62,15 +62,15 @@
62
62
  },
63
63
  "dependencies": {
64
64
  "class-validator": "^0.14.3",
65
- "koatty_container": "^1.17.4",
66
- "koatty_lib": "^1.4.5",
67
- "koatty_logger": "^2.3.4",
68
- "lru-cache": "^11.2.5"
65
+ "lru-cache": "^11.2.5",
66
+ "koatty_logger": "2.4.1",
67
+ "koatty_lib": "1.4.5",
68
+ "koatty_container": "2.0.1"
69
69
  },
70
70
  "peerDependencies": {
71
- "koatty_container": "^1.17.4",
71
+ "koatty_container": "^2.0.1",
72
72
  "koatty_lib": "^1.4.5",
73
- "koatty_logger": "^2.3.4"
73
+ "koatty_logger": "^2.4.1"
74
74
  },
75
75
  "scripts": {
76
76
  "build": "npm run build:js && npm run build:dts && npm run build:doc && npm run build:cp",