@blocklet/meta 1.16.39-beta-20250218-132815-6baaf20e → 1.16.39-beta-20250220-212222-627e9ea7
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/lib/schema.js +0 -3
- package/package.json +5 -5
package/lib/schema.js
CHANGED
|
@@ -93,9 +93,6 @@ const titleSchema = Joi.string()
|
|
|
93
93
|
if (cjkLength(value) > constant_2.MAX_TITLE_LENGTH) {
|
|
94
94
|
throw new Error(`title length should not exceed ${constant_2.MAX_TITLE_LENGTH} (see: https://www.npmjs.com/package/cjk-length)`);
|
|
95
95
|
}
|
|
96
|
-
if (value.includes('.')) {
|
|
97
|
-
throw new Error('title cannot contain "."');
|
|
98
|
-
}
|
|
99
96
|
return value;
|
|
100
97
|
})
|
|
101
98
|
.meta({ className: 'TTitle' });
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.16.39-beta-
|
|
6
|
+
"version": "1.16.39-beta-20250220-212222-627e9ea7",
|
|
7
7
|
"description": "Library to parse/validate/fix blocklet meta",
|
|
8
8
|
"main": "./lib/index.js",
|
|
9
9
|
"typings": "./lib/index.d.ts",
|
|
@@ -25,13 +25,13 @@
|
|
|
25
25
|
"author": "wangshijun <wangshijun2020@gmail.com> (http://github.com/wangshijun)",
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@abtnode/constant": "1.16.39-beta-
|
|
29
|
-
"@abtnode/docker-utils": "1.16.39-beta-
|
|
28
|
+
"@abtnode/constant": "1.16.39-beta-20250220-212222-627e9ea7",
|
|
29
|
+
"@abtnode/docker-utils": "1.16.39-beta-20250220-212222-627e9ea7",
|
|
30
30
|
"@arcblock/did": "1.19.9",
|
|
31
31
|
"@arcblock/did-ext": "1.19.9",
|
|
32
32
|
"@arcblock/did-util": "1.19.9",
|
|
33
33
|
"@arcblock/jwt": "1.19.9",
|
|
34
|
-
"@blocklet/constant": "1.16.39-beta-
|
|
34
|
+
"@blocklet/constant": "1.16.39-beta-20250220-212222-627e9ea7",
|
|
35
35
|
"@ocap/asset": "1.19.9",
|
|
36
36
|
"@ocap/mcrypto": "1.19.9",
|
|
37
37
|
"@ocap/types": "1.19.9",
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"ts-node": "^10.9.1",
|
|
81
81
|
"typescript": "^5.6.3"
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "63bae9e50d76bf481eb2bf930f98ea672f645c50"
|
|
84
84
|
}
|