@wrongstack/requirement-intake 0.316.1 → 0.317.0
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/dist/index.js +2 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -290,7 +290,8 @@ function normalizeRequestType(value) {
|
|
|
290
290
|
if (typeof value !== "string") return "unspecified";
|
|
291
291
|
const trimmed = value.trim().toLowerCase();
|
|
292
292
|
if (trimmed.length === 0) return "unspecified";
|
|
293
|
-
|
|
293
|
+
const normalized = trimmed.replace(/-/g, "_");
|
|
294
|
+
if (REQUEST_TYPES.includes(normalized)) return normalized;
|
|
294
295
|
return "other";
|
|
295
296
|
}
|
|
296
297
|
function isBlank(value) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wrongstack/requirement-intake",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.317.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "WrongStack Requirements Intake — collect, preserve, validate, normalize, and submit unstructured software development requests as structured intake records. Upstream of spec-driven development: it never plans, specifies, or implements.",
|
|
6
6
|
"repository": {
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"!dist/**/*.map"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"
|
|
31
|
-
"
|
|
30
|
+
"@wrongstack/core": "0.317.0",
|
|
31
|
+
"zod": "4.4.3"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@types/node": "^26.2.0",
|