@fluojs/testing 1.0.6 → 3.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.
Files changed (49) hide show
  1. package/README.ko.md +98 -16
  2. package/README.md +100 -16
  3. package/dist/babel-decorators-plugin.d.ts +1 -0
  4. package/dist/babel-decorators-plugin.d.ts.map +1 -1
  5. package/dist/babel-decorators-plugin.js +1 -0
  6. package/dist/byte-range-portability-consumer.test-fixture.d.ts +2 -0
  7. package/dist/byte-range-portability-consumer.test-fixture.d.ts.map +1 -0
  8. package/dist/byte-range-portability-consumer.test-fixture.js +11 -0
  9. package/dist/conformance/fetch-style-websocket-conformance.d.ts +1 -0
  10. package/dist/conformance/fetch-style-websocket-conformance.d.ts.map +1 -1
  11. package/dist/conformance/fetch-style-websocket-conformance.js +1 -1
  12. package/dist/conformance/platform-shell-lifecycle-conformance.d.ts +30 -0
  13. package/dist/conformance/platform-shell-lifecycle-conformance.d.ts.map +1 -0
  14. package/dist/conformance/platform-shell-lifecycle-conformance.js +259 -0
  15. package/dist/http.d.ts +2 -1
  16. package/dist/http.d.ts.map +1 -1
  17. package/dist/http.js +8 -3
  18. package/dist/index.d.ts +1 -1
  19. package/dist/index.d.ts.map +1 -1
  20. package/dist/index.js +1 -2
  21. package/dist/mock-types.d.ts +2 -0
  22. package/dist/mock-types.d.ts.map +1 -0
  23. package/dist/mock-types.js +1 -0
  24. package/dist/mock.d.ts +3 -2
  25. package/dist/mock.d.ts.map +1 -1
  26. package/dist/mock.js +1 -1
  27. package/dist/module.d.ts.map +1 -1
  28. package/dist/module.js +103 -113
  29. package/dist/portability/error-representation-abort-portability.d.ts +36 -0
  30. package/dist/portability/error-representation-abort-portability.d.ts.map +1 -0
  31. package/dist/portability/error-representation-abort-portability.js +190 -0
  32. package/dist/portability/error-representation-portability-fixture.d.ts +58 -0
  33. package/dist/portability/error-representation-portability-fixture.d.ts.map +1 -0
  34. package/dist/portability/error-representation-portability-fixture.js +202 -0
  35. package/dist/portability/error-representation-portability.d.ts +50 -0
  36. package/dist/portability/error-representation-portability.d.ts.map +1 -0
  37. package/dist/portability/error-representation-portability.js +153 -0
  38. package/dist/portability/http-adapter-portability.d.ts +25 -8
  39. package/dist/portability/http-adapter-portability.d.ts.map +1 -1
  40. package/dist/portability/http-adapter-portability.js +446 -69
  41. package/dist/portability/response-cookie-portability.d.ts +16 -0
  42. package/dist/portability/response-cookie-portability.d.ts.map +1 -0
  43. package/dist/portability/response-cookie-portability.js +81 -0
  44. package/dist/portability/web-runtime-adapter-portability.d.ts +24 -8
  45. package/dist/portability/web-runtime-adapter-portability.d.ts.map +1 -1
  46. package/dist/portability/web-runtime-adapter-portability.js +356 -31
  47. package/dist/types.d.ts +68 -4
  48. package/dist/types.d.ts.map +1 -1
  49. package/package.json +19 -15
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "override",
10
10
  "module-builder"
11
11
  ],
12
- "version": "1.0.6",
12
+ "version": "3.0.0",
13
13
  "private": false,
14
14
  "license": "MIT",
15
15
  "repository": {
@@ -18,7 +18,7 @@
18
18
  "directory": "packages/testing"
19
19
  },
20
20
  "engines": {
21
- "node": ">=20.0.0"
21
+ "node": ">=24.0.0 <27"
22
22
  },
23
23
  "publishConfig": {
24
24
  "access": "public"
@@ -49,6 +49,10 @@
49
49
  "types": "./dist/conformance/platform-conformance.d.ts",
50
50
  "import": "./dist/conformance/platform-conformance.js"
51
51
  },
52
+ "./platform-shell-lifecycle-conformance": {
53
+ "types": "./dist/conformance/platform-shell-lifecycle-conformance.d.ts",
54
+ "import": "./dist/conformance/platform-shell-lifecycle-conformance.js"
55
+ },
52
56
  "./http-adapter-portability": {
53
57
  "types": "./dist/portability/http-adapter-portability.d.ts",
54
58
  "import": "./dist/portability/http-adapter-portability.js"
@@ -80,24 +84,24 @@
80
84
  "dist"
81
85
  ],
82
86
  "dependencies": {
83
- "@fluojs/config": "^1.0.3",
84
- "@fluojs/core": "^1.0.3",
85
- "@fluojs/http": "^1.1.2",
86
- "@fluojs/di": "^1.1.0",
87
- "@fluojs/runtime": "^1.1.8"
87
+ "@fluojs/di": "^3.0.0",
88
+ "@fluojs/runtime": "^3.0.0",
89
+ "@fluojs/config": "^2.0.0",
90
+ "@fluojs/core": "^2.0.0",
91
+ "@fluojs/http": "^3.0.0"
88
92
  },
89
93
  "peerDependencies": {
90
94
  "@babel/core": ">=7.0.0",
91
- "vitest": "^3.0.8"
95
+ "vitest": "^4.1.11"
92
96
  },
93
97
  "devDependencies": {
94
- "vitest": "^3.2.4",
95
- "@fluojs/platform-bun": "^1.0.7",
96
- "@fluojs/platform-cloudflare-workers": "^1.0.4",
97
- "@fluojs/platform-deno": "^1.0.8",
98
- "@fluojs/platform-nodejs": "^1.0.5",
99
- "@fluojs/platform-express": "^1.0.6",
100
- "@fluojs/platform-fastify": "^1.0.8"
98
+ "vitest": "^4.1.11",
99
+ "@fluojs/platform-cloudflare-workers": "^2.0.0",
100
+ "@fluojs/platform-deno": "^2.0.0",
101
+ "@fluojs/platform-nodejs": "^2.0.0",
102
+ "@fluojs/platform-express": "^2.0.0",
103
+ "@fluojs/platform-fastify": "^2.0.0",
104
+ "@fluojs/platform-bun": "^3.0.0"
101
105
  },
102
106
  "scripts": {
103
107
  "prebuild": "node ../../tooling/scripts/clean-dist.mjs",