@social-mail/social-mail-web-server 1.4.883 → 1.4.885
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/protocols/core/tokenizer.d.ts +1 -1
- package/dist/protocols/core/tokenizer.d.ts.map +1 -1
- package/dist/protocols/core/tokenizer.js.map +1 -1
- package/dist/server/seed/ui/seed-ui.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/wwwroot/routes/api/users/captcha/post.js +1 -1
- package/dist/wwwroot/routes/api/users/captcha/post.js.map +1 -1
- package/package.json +1 -1
- package/src/protocols/core/tokenizer.ts +2 -2
- package/src/server/seed/ui/seed-ui.ts +1 -1
- package/src/wwwroot/routes/api/users/captcha/post.tsx +1 -1
|
@@ -12,7 +12,7 @@ import Inject from "@entity-access/entity-access/dist/di/di.js";
|
|
|
12
12
|
import CaptchaService from "../../../../../server/services/captcha/CaptchaService.js";
|
|
13
13
|
export default class default_1 extends Page {
|
|
14
14
|
async run() {
|
|
15
|
-
this.captchaService.verify(this.body);
|
|
15
|
+
await this.captchaService.verify(this.body);
|
|
16
16
|
return this.json(this.body);
|
|
17
17
|
}
|
|
18
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post.js","sourceRoot":"","sources":["../../../../../../src/wwwroot/routes/api/users/captcha/post.tsx"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,IAAI,MAAM,0CAA0C,CAAC;AAC5D,OAAO,MAAM,MAAM,4CAA4C,CAAC;AAChE,OAAO,cAAc,MAAM,0DAA0D,CAAC;AAGtF,MAAM,CAAC,OAAO,gBAAO,SAAQ,IAAmB;IAK5C,KAAK,CAAC,GAAG;QAEL,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"post.js","sourceRoot":"","sources":["../../../../../../src/wwwroot/routes/api/users/captcha/post.tsx"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,IAAI,MAAM,0CAA0C,CAAC;AAC5D,OAAO,MAAM,MAAM,4CAA4C,CAAC;AAChE,OAAO,cAAc,MAAM,0DAA0D,CAAC;AAGtF,MAAM,CAAC,OAAO,gBAAO,SAAQ,IAAmB;IAK5C,KAAK,CAAC,GAAG;QAEL,MAAM,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC5C,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAEhC,CAAC;CAEJ;AATG;IADC,MAAM;8BACS,cAAc;iDAAC"}
|
package/package.json
CHANGED
|
@@ -37,7 +37,7 @@ export function tokenizeMax(text: string, sep: string, max = Number.MAX_SAFE_INT
|
|
|
37
37
|
return items;
|
|
38
38
|
};
|
|
39
39
|
|
|
40
|
-
export function *tokenizeRegex(text: string, regex: RegExp)
|
|
40
|
+
export function *tokenizeRegex(text: string, regex: RegExp) {
|
|
41
41
|
if (!text) {
|
|
42
42
|
return;
|
|
43
43
|
}
|
|
@@ -48,7 +48,7 @@ export function *tokenizeRegex(text: string, regex: RegExp): Generator<RegExpExe
|
|
|
48
48
|
regex.lastIndex++;
|
|
49
49
|
}
|
|
50
50
|
if (m?.length) {
|
|
51
|
-
yield m;
|
|
51
|
+
yield m as RegExpExecArray;
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
}
|