edge-functions 2.9.0 → 2.9.1

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,3 +1,19 @@
1
+ ### [2.9.1](https://github.com/aziontech/vulcan/compare/v2.9.0...v2.9.1) (2024-06-21)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * 'rewrite' property variable ([#344](https://github.com/aziontech/vulcan/issues/344)) ([04f7664](https://github.com/aziontech/vulcan/commit/04f7664eba9c29fef0cc90cf8e4b35f7554a5f8d))
7
+ * rewrite variable ([bfdc066](https://github.com/aziontech/vulcan/commit/bfdc066fe75026755cc4c8150482e105b4a87750))
8
+
9
+ ### [2.9.1-stage.1](https://github.com/aziontech/vulcan/compare/v2.9.0...v2.9.1-stage.1) (2024-06-21)
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * 'rewrite' property variable ([#344](https://github.com/aziontech/vulcan/issues/344)) ([04f7664](https://github.com/aziontech/vulcan/commit/04f7664eba9c29fef0cc90cf8e4b35f7554a5f8d))
15
+ * rewrite variable ([bfdc066](https://github.com/aziontech/vulcan/commit/bfdc066fe75026755cc4c8150482e105b4a87750))
16
+
1
17
  ## [2.9.0](https://github.com/aziontech/vulcan/compare/v2.8.1...v2.9.0) (2024-06-20)
2
18
 
3
19
 
package/README.md CHANGED
@@ -22,7 +22,7 @@ Table:
22
22
  | Next 13 5 6 Config | ⚠️ |
23
23
  | Next 12 3 4 Config | ✅ |
24
24
  | Next Static | ✅ |
25
- | Gatsby Static | ⚠️ |
25
+ | Gatsby Static | |
26
26
  | Next Node Pages 12 3 1 Fs | ✅ |
27
27
  | Vue Vite Static | ✅ |
28
28
  | Next 12 Static | ✅ |
@@ -41,7 +41,7 @@ Table:
41
41
  | Simple Js Esm | ✅ |
42
42
  | Simple Ts Esm | ✅ |
43
43
 
44
- Last test run date: 06/20/24 03:22:41 AM
44
+ Last test run date: 06/21/24 03:23:09 AM
45
45
  ## Quick Installation
46
46
 
47
47
  For those who just want to use Vulcan in their project without contributing to the development, you can install it directly from npm.
@@ -88,7 +88,7 @@ describe('Utils - generateManifest', () => {
88
88
  expect.objectContaining({
89
89
  name: 'rewrite_request',
90
90
  // eslint-disable-next-line no-template-curly-in-string
91
- target: '/%{other[0]}/%{other[1]}',
91
+ target: '/${other[0]}/${other[1]}',
92
92
  }),
93
93
  ]),
94
94
  );
@@ -53,8 +53,7 @@ export const requestBehaviors = {
53
53
 
54
54
  const pathTransformation = functionString
55
55
  .replace(/.*=>\s*`/, '')
56
- .replace(/`\s*;?\s*}?\s*$/, '')
57
- .replace(/\$\{([^}]+)\}/g, (match, p1) => `%{${p1}}`);
56
+ .replace(/`\s*;?\s*}?\s*$/, '');
58
57
 
59
58
  behaviors.push({
60
59
  name: 'rewrite_request',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "edge-functions",
3
3
  "type": "module",
4
- "version": "2.9.0",
4
+ "version": "2.9.1",
5
5
  "description": "Tool to launch and build JavaScript/Frameworks. This tool automates polyfills for Edge Computing and assists in creating Workers, notably for the Azion platform.",
6
6
  "main": "lib/main.js",
7
7
  "bin": {