zenn-model 0.5.7-alpha.2 → 0.5.7-alpha.4
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/utils.js +1 -1
- package/package.json +2 -2
package/lib/utils.js
CHANGED
|
@@ -317,7 +317,7 @@ const validateChapterItemSlug = {
|
|
|
317
317
|
const validateChapterFreeType = {
|
|
318
318
|
type: "chapter-free-type",
|
|
319
319
|
isCritical: true,
|
|
320
|
-
getMessage: () => "free\uFF08\u7121\u6599\u516C\u958B\u8A2D\u5B9A\uFF09\u306B\u306F true \u3082\u3057\u304F\u306F false\u306E\u307F\u3092\u6307\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",
|
|
320
|
+
getMessage: () => "free\uFF08\u7121\u6599\u516C\u958B\u8A2D\u5B9A\uFF09\u306B\u306F true \u3082\u3057\u304F\u306F false \u306E\u307F\u3092\u6307\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",
|
|
321
321
|
isValid: ({ free }) => free === void 0 || typeof free === "boolean"
|
|
322
322
|
};
|
|
323
323
|
const validateBody = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zenn-model",
|
|
3
|
-
"version": "0.5.7-alpha.
|
|
3
|
+
"version": "0.5.7-alpha.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Model utils for Zenn contents",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"cheerio": "^1.1.2",
|
|
43
43
|
"emoji-regex": "^10.6.0"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "5b337c2f2ce0b4ea6a830174b02228f6d2eb393a"
|
|
46
46
|
}
|