@akinon/next 1.26.0-rc.0 → 1.26.0-rc.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @akinon/next
2
2
 
3
+ ## 1.26.0-rc.2
4
+
5
+ ### Patch Changes
6
+
7
+ - @akinon/eslint-plugin-projectzero@1.26.0-rc.2
8
+
9
+ ## 1.26.0-rc.1
10
+
11
+ ### Minor Changes
12
+
13
+ - a7e432f: ZERO-2534: Fix for recapthca regex for replacing the special chars.
14
+
15
+ ### Patch Changes
16
+
17
+ - @akinon/eslint-plugin-projectzero@1.26.0-rc.1
18
+
3
19
  ## 1.26.0-rc.0
4
20
 
5
21
  ### Minor Changes
@@ -22,9 +22,9 @@ const userApi = api.injectEndpoints({
22
22
  getCaptcha: build.query<GetCaptchaResponse, void>({
23
23
  query: () => buildClientRequestUrl(user.captcha),
24
24
  transformResponse: (response: { html: string }) => {
25
- const siteKeyMatch = response.html.match(/sitekey=["|']\w+/gi);
25
+ const siteKeyMatch = response.html.match(/sitekey=["|'][^"']+/gi);
26
26
  const csrfTokenMatch = response.html.match(
27
- /name=['|"]csrfmiddlewaretoken['|"] value=['|"]\w+/gi
27
+ /name=['|"]csrfmiddlewaretoken['|"] value=['|"][^'"]+/gi
28
28
  );
29
29
  const siteKey = siteKeyMatch?.[0].replace(/sitekey=["|']/, '') || '';
30
30
  const csrfToken =
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@akinon/next",
3
3
  "description": "Core package for Project Zero Next",
4
- "version": "1.26.0-rc.0",
4
+ "version": "1.26.0-rc.2",
5
5
  "private": false,
6
6
  "license": "MIT",
7
7
  "bin": {