edge-functions 2.0.0-stage.2 → 2.0.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/CHANGELOG.md CHANGED
@@ -1,3 +1,60 @@
1
+ ## [2.0.0](https://github.com/aziontech/vulcan/compare/v1.7.1...v2.0.0) (2023-10-27)
2
+
3
+
4
+ ### ⚠ BREAKING CHANGES
5
+
6
+ * Introduced vulcan.config.js and changing the way to read the entry point of the preset files and the application entrypoint. No longer use the "main()" function as input, but the function that is exported as default "export default foo()".
7
+
8
+ ### Features
9
+
10
+ * add jsx loader (esbuild) ([93ccf13](https://github.com/aziontech/vulcan/commit/93ccf134159e053814e315ce0e0e4a71ca086b7d))
11
+ * Create injectFilesInMem util ([1555c98](https://github.com/aziontech/vulcan/commit/1555c98e1cf0ce40e3c9aca2d14a75af03e89fa3))
12
+ * Create node fs polyfill ([cab1095](https://github.com/aziontech/vulcan/commit/cab1095e056e4720c8762a7b27fc6c92e3b4dd03))
13
+ * Create node module polyfill ([976a6c3](https://github.com/aziontech/vulcan/commit/976a6c382119c55e3c9f92cd02d0fd74aee863d3))
14
+ * Create node process polyfill ([1e61ba2](https://github.com/aziontech/vulcan/commit/1e61ba2d1fb30259b47c72e825dab5a72478d532))
15
+ * enable useOwnWorker for custom provider ([8a88ff7](https://github.com/aziontech/vulcan/commit/8a88ff7efd0bc5afc43f0fe6666da3831ae702c0))
16
+ * esbuild windows support ([d10e467](https://github.com/aziontech/vulcan/commit/d10e4678154e87ad33b5de9f76680f1a6815edcc))
17
+ * Handle content to inject in worker ([3356743](https://github.com/aziontech/vulcan/commit/33567432832ebb60e07bd4a1098ff62ef1e2f09c))
18
+ * Handle mem fs injection in dispatcher ([3e89438](https://github.com/aziontech/vulcan/commit/3e89438528b8ebbbecc8366af5776c282d8a764e))
19
+ * In Memory File System ([#154](https://github.com/aziontech/vulcan/issues/154)) ([5a1a4fc](https://github.com/aziontech/vulcan/commit/5a1a4fc2f8c971fe57cb96888310910eef350102))
20
+ * new vulcan.config and entry reading pattern ([62dbcae](https://github.com/aziontech/vulcan/commit/62dbcae283df8440daa91238ec577060662be3bf))
21
+ * read vulcan.env for build preconfig ([b6a7b7c](https://github.com/aziontech/vulcan/commit/b6a7b7c8733a59513f624ba8dd68d424c7a66616))
22
+ * Use fs, module and process polyfills in next compute build ([7de9a56](https://github.com/aziontech/vulcan/commit/7de9a56e7cdda8cf584697ec02457f602e2dad68))
23
+ * vulcan.config.js ([ee7b0c0](https://github.com/aziontech/vulcan/commit/ee7b0c038a9623adec6b44e528ff3c8269e07cc9))
24
+ * vulcan.config.js ([#153](https://github.com/aziontech/vulcan/issues/153)) ([f7d0118](https://github.com/aziontech/vulcan/commit/f7d01183d961aac5a50f4739db2504e1dd3c452d))
25
+
26
+
27
+ ### Bug Fixes
28
+
29
+ * Add string_decoder in webpack fallback config ([71d376f](https://github.com/aziontech/vulcan/commit/71d376fdb4f2f86d87f5ad389645954ea3b2e88b))
30
+ * Add string_decoder in webpack fallback config ([#163](https://github.com/aziontech/vulcan/issues/163)) ([429ab88](https://github.com/aziontech/vulcan/commit/429ab88eab7c007c84f92c0f20c5ae66cc55ac27))
31
+ * Create vulcan global object ([04e2c4e](https://github.com/aziontech/vulcan/commit/04e2c4eaf0ddae261069c04212f9aef333516cbf))
32
+ * fetch in local environment ([86ec3f5](https://github.com/aziontech/vulcan/commit/86ec3f536c30be13591074a97ca33058004c4c35))
33
+ * fix some tests ([ed603a9](https://github.com/aziontech/vulcan/commit/ed603a9be4931d2e7b10fc3c2dab036a84113097))
34
+ * getPackageManager command ([391d565](https://github.com/aziontech/vulcan/commit/391d565c289527e911bc47c8f9a45b33d2a2c88f))
35
+ * local env hot reload ([#161](https://github.com/aziontech/vulcan/issues/161)) ([e2edb9c](https://github.com/aziontech/vulcan/commit/e2edb9cad2222395850a09f9476eb206b64568f3))
36
+ * localenv hot reload ([85f606c](https://github.com/aziontech/vulcan/commit/85f606c7025d1d8474e37bbeecaf46ee9bd7ef3b))
37
+ * rebuild yarn.lock ([7d60749](https://github.com/aziontech/vulcan/commit/7d60749627d931e31528ab903588a5c88b058a20))
38
+ * relative package manager (npm) ([605d6e6](https://github.com/aziontech/vulcan/commit/605d6e6280496707d32df5df08745076e490b4cb))
39
+ * remove dependency cycle in vercel util ([a0cc528](https://github.com/aziontech/vulcan/commit/a0cc5286665258b87fd9125ef3a082c9cd25d7ff))
40
+ * Remove duplicated imports of typedefs (jsdocs) ([58054d0](https://github.com/aziontech/vulcan/commit/58054d011203d2c54a0961a25d1fbfe1621d5597))
41
+ * Remove duplicated imports of typedefs (jsdocs) ([#138](https://github.com/aziontech/vulcan/issues/138)) ([03d6be9](https://github.com/aziontech/vulcan/commit/03d6be99835657032844f74dd95c435b58ce9468))
42
+ * Remove duplicated to string in injectFilesInMem util ([1a9bc0f](https://github.com/aziontech/vulcan/commit/1a9bc0fff99fa9ecdaa1a1f69be871674a9e49d6))
43
+ * Set correct command in hexo prebuild ([fd62874](https://github.com/aziontech/vulcan/commit/fd628748c0432056f166075a607db588ed748125))
44
+ * Set correct command in hexo prebuild ([#158](https://github.com/aziontech/vulcan/issues/158)) ([5cb729c](https://github.com/aziontech/vulcan/commit/5cb729ca477a53018b23a4bfb40766099a126240))
45
+ * Set correct log in get asset from storage method ([1e9c63a](https://github.com/aziontech/vulcan/commit/1e9c63ae6a2f4af3359ed9b610d9c692891577a6))
46
+ * validate installed dependencies only if they exists ([c2789e5](https://github.com/aziontech/vulcan/commit/c2789e5e7b2be855a328d4a24d02da22d7874a2c))
47
+ * validate installed dependencies only if they exists ([850dbd1](https://github.com/aziontech/vulcan/commit/850dbd1512efb4658eac5ccab42fdd0b1f96b73f))
48
+ * validate installed dependencies only if they exists ([#134](https://github.com/aziontech/vulcan/issues/134)) ([51474ab](https://github.com/aziontech/vulcan/commit/51474aba9f97a3beaef58d7a9bc7e26a9d19ca69))
49
+
50
+ ## [2.0.0-stage.3](https://github.com/aziontech/vulcan/compare/v2.0.0-stage.2...v2.0.0-stage.3) (2023-10-26)
51
+
52
+
53
+ ### Bug Fixes
54
+
55
+ * Add string_decoder in webpack fallback config ([71d376f](https://github.com/aziontech/vulcan/commit/71d376fdb4f2f86d87f5ad389645954ea3b2e88b))
56
+ * Add string_decoder in webpack fallback config ([#163](https://github.com/aziontech/vulcan/issues/163)) ([429ab88](https://github.com/aziontech/vulcan/commit/429ab88eab7c007c84f92c0f20c5ae66cc55ac27))
57
+
1
58
  ## [2.0.0-stage.2](https://github.com/aziontech/vulcan/compare/v2.0.0-stage.1...v2.0.0-stage.2) (2023-10-26)
2
59
 
3
60
 
@@ -85,6 +85,7 @@ const config = {
85
85
  'next/dist/compiled/etag': `${nextNodePresetPath}/custom-server/12.3.1/util/etag.js`,
86
86
  '@fastly/http-compute-js': require.resolve('@fastly/http-compute-js'),
87
87
  accepts: require.resolve('accepts'),
88
+ string_decoder: require.resolve('string_decoder/'),
88
89
  },
89
90
  },
90
91
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "edge-functions",
3
3
  "type": "module",
4
- "version": "2.0.0-stage.2",
4
+ "version": "2.0.0",
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": {
@@ -34,8 +34,8 @@
34
34
  "@angular/cli": "^16.2.0",
35
35
  "@babel/generator": "^7.23.0",
36
36
  "@babel/parser": "^7.23.0",
37
- "@babel/types": "^7.23.0",
38
37
  "@babel/traverse": "^7.23.0",
38
+ "@babel/types": "^7.23.0",
39
39
  "@edge-runtime/node-utils": "^2.1.1",
40
40
  "@edge-runtime/primitives": "^3.0.4",
41
41
  "@fastly/http-compute-js": "^1.0.0",
@@ -77,6 +77,7 @@
77
77
  "signale": "^1.4.0",
78
78
  "stream-browserify": "^3.0.0",
79
79
  "stream-http": "^3.2.0",
80
+ "string_decoder": "^1.3.0",
80
81
  "url": "^0.11.1",
81
82
  "util": "^0.12.5",
82
83
  "webpack": "^5.84.0",