@effect/platform-bun 0.17.4 → 0.18.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.
@@ -4,8 +4,8 @@
4
4
  * Also includes exports from [`@effect/platform/Worker`](https://effect-ts.github.io/platform/platform/Worker.ts.html).
5
5
  */
6
6
  import type * as Worker from "@effect/platform/Worker";
7
- import type { Effect } from "effect";
8
7
  import type * as Context from "effect/Context";
8
+ import type * as Effect from "effect/Effect";
9
9
  import type * as Layer from "effect/Layer";
10
10
  import type * as Scope from "effect/Scope";
11
11
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"Worker.d.ts","sourceRoot":"","sources":["../../src/Worker.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,KAAK,MAAM,MAAM,yBAAyB,CAAA;AACtD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACpC,OAAO,KAAK,KAAK,OAAO,MAAM,gBAAgB,CAAA;AAC9C,OAAO,KAAK,KAAK,KAAK,MAAM,cAAc,CAAA;AAC1C,OAAO,KAAK,KAAK,KAAK,MAAM,cAAc,CAAA;AAG1C;;GAEG;AACH,cAAc,yBAAyB,CAAA;AAEvC;;;GAGG;AACH,eAAO,MAAM,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAC7B,OAAO,EAAE,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,EAAE,MAAM,CAAC,KAC1C,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,aAAa,GAAG,KAAK,CAAC,KAAK,EAAE,KAAK,EAAE,MAAM,CAAC,UAAU,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAqB,CAAA;AAE7G;;;GAGG;AACH,eAAO,MAAM,aAAa,EAAE,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EACvC,GAAG,EAAE,OAAO,CAAC,GAAG,CAAC,GAAG,EAA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,CAAC,EAAE,CAAC,EAAE,CAAC,EACvC,GAAG,EAAE,OAAO,CAAC,GAAG,CAAC,GAAG,EAAE,MAAM,CAAC,UAAU,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,EACjD,OAAO,EAAE,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,EAAE,MAAM,CAAC,KAC1C,KAAK,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,EAAE,GAAG,CAA0B,CAAA;AAE5D;;;GAGG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,EAAE,MAAM,CAAC,aAAa,CAAyB,CAAA;AAElG;;;GAGG;AACH,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,EAAE,MAAM,CAAC,cAAc,CAAwB,CAAA"}
@@ -5,7 +5,7 @@
5
5
  */
6
6
  import type { WorkerError } from "@effect/platform/WorkerError";
7
7
  import type * as Runner from "@effect/platform/WorkerRunner";
8
- import type { Effect } from "effect";
8
+ import type * as Effect from "effect/Effect";
9
9
  import type * as Layer from "effect/Layer";
10
10
  import type * as Scope from "effect/Scope";
11
11
  import type * as Stream from "effect/Stream";
@@ -1 +1 @@
1
- {"version":3,"file":"WorkerRunner.d.ts","sourceRoot":"","sources":["../../src/WorkerRunner.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAA;AAC/D,OAAO,KAAK,KAAK,MAAM,MAAM,+BAA+B,CAAA;AAC5D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACpC,OAAO,KAAK,KAAK,KAAK,MAAM,cAAc,CAAA;AAC1C,OAAO,KAAK,KAAK,KAAK,MAAM,cAAc,CAAA;AAC1C,OAAO,KAAK,KAAK,MAAM,MAAM,eAAe,CAAA;AAG5C;;GAEG;AACH,cAAc,+BAA+B,C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,GAAG,SAAS,KAC3C,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,KAAK,CAAC,KAAK,EAAE,WAAW,EAAE,IAAI,CAAiB,CAAA;AAEtE;;;GAGG;AACH,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,EAAE,MAAM,CAAC,cAAc,CAAkB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effect/platform-bun",
3
- "version": "0.17.4",
3
+ "version": "0.18.1",
4
4
  "description": "Unified interfaces for common platform-specific services",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -10,8 +10,8 @@
10
10
  "sideEffects": false,
11
11
  "author": "Effect contributors",
12
12
  "dependencies": {
13
- "@effect/platform": "0.28.4",
14
- "@effect/platform-node": "0.29.4"
13
+ "@effect/platform": "0.29.1",
14
+ "@effect/platform-node": "0.30.1"
15
15
  },
16
16
  "peerDependencies": {
17
17
  "effect": "2.0.0-next.54"
package/src/Worker.ts CHANGED
@@ -4,8 +4,8 @@
4
4
  * Also includes exports from [`@effect/platform/Worker`](https://effect-ts.github.io/platform/platform/Worker.ts.html).
5
5
  */
6
6
  import type * as Worker from "@effect/platform/Worker"
7
- import type { Effect } from "effect"
8
7
  import type * as Context from "effect/Context"
8
+ import type * as Effect from "effect/Effect"
9
9
  import type * as Layer from "effect/Layer"
10
10
  import type * as Scope from "effect/Scope"
11
11
  import * as internal from "./internal/worker.js"
@@ -5,7 +5,7 @@
5
5
  */
6
6
  import type { WorkerError } from "@effect/platform/WorkerError"
7
7
  import type * as Runner from "@effect/platform/WorkerRunner"
8
- import type { Effect } from "effect"
8
+ import type * as Effect from "effect/Effect"
9
9
  import type * as Layer from "effect/Layer"
10
10
  import type * as Scope from "effect/Scope"
11
11
  import type * as Stream from "effect/Stream"
@@ -274,13 +274,13 @@ class ServerRequestImpl implements ServerRequest.ServerRequest {
274
274
  | Effect.Effect<
275
275
  Scope.Scope | FileSystem.FileSystem | Path.Path,
276
276
  FormData.FormDataError,
277
- globalThis.FormData
277
+ FormData.PersistedFormData
278
278
  >
279
279
  | undefined
280
280
  get formData(): Effect.Effect<
281
281
  Scope.Scope | FileSystem.FileSystem | Path.Path,
282
282
  FormData.FormDataError,
283
- globalThis.FormData
283
+ FormData.PersistedFormData
284
284
  > {
285
285
  if (this.formDataEffect) {
286
286
  return this.formDataEffect