@effect/platform-bun 0.33.0 → 0.33.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.
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.layer = void 0;
7
+ var ParcelWatcher = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/platform-node-shared/NodeFileSystem/ParcelWatcher"));
8
+ function _getRequireWildcardCache(e) {
9
+ if ("function" != typeof WeakMap) return null;
10
+ var r = new WeakMap(),
11
+ t = new WeakMap();
12
+ return (_getRequireWildcardCache = function (e) {
13
+ return e ? t : r;
14
+ })(e);
15
+ }
16
+ function _interopRequireWildcard(e, r) {
17
+ if (!r && e && e.__esModule) return e;
18
+ if (null === e || "object" != typeof e && "function" != typeof e) return {
19
+ default: e
20
+ };
21
+ var t = _getRequireWildcardCache(r);
22
+ if (t && t.has(e)) return t.get(e);
23
+ var n = {
24
+ __proto__: null
25
+ },
26
+ a = Object.defineProperty && Object.getOwnPropertyDescriptor;
27
+ for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) {
28
+ var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
29
+ i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
30
+ }
31
+ return n.default = e, t && t.set(e, n), n;
32
+ }
33
+ /**
34
+ * @since 1.0.0
35
+ */
36
+
37
+ /**
38
+ * @since 1.0.0
39
+ * @category layer
40
+ */
41
+ const layer = exports.layer = ParcelWatcher.layer;
42
+ //# sourceMappingURL=ParcelWatcher.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ParcelWatcher.js","names":["ParcelWatcher","_interopRequireWildcard","require","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","layer","exports"],"sources":["../../../src/BunFileSystem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A,EAAAQ,CAAA,GAAAA,CAAA;AAAA;AAH1F;;;;AAOA;;;;AAIO,MAAMW,KAAK,GAAAC,OAAA,CAAAD,KAAA,GAAwBvB,aAAa,CAACuB,KAAK","ignoreList":[]}
@@ -0,0 +1,8 @@
1
+ import type { WatchBackend } from "@effect/platform/FileSystem";
2
+ import type { Layer } from "effect/Layer";
3
+ /**
4
+ * @since 1.0.0
5
+ * @category layer
6
+ */
7
+ export declare const layer: Layer<WatchBackend>;
8
+ //# sourceMappingURL=ParcelWatcher.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ParcelWatcher.d.ts","sourceRoot":"","sources":["../../../src/BunFileSystem/ParcelWatcher.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAC/D,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,cAAc,CAAA;AAEzC;;;GAGG;AACH,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,YAAY,CAAuB,CAAA"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ import * as ParcelWatcher from "@effect/platform-node-shared/NodeFileSystem/ParcelWatcher";
5
+ /**
6
+ * @since 1.0.0
7
+ * @category layer
8
+ */
9
+ export const layer = ParcelWatcher.layer;
10
+ //# sourceMappingURL=ParcelWatcher.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ParcelWatcher.js","names":["ParcelWatcher","layer"],"sources":["../../../src/BunFileSystem/ParcelWatcher.ts"],"sourcesContent":[null],"mappings":"AAAA;;;AAGA,OAAO,KAAKA,aAAa,MAAM,2DAA2D;AAI1F;;;;AAIA,OAAO,MAAMC,KAAK,GAAwBD,aAAa,CAACC,KAAK","ignoreList":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effect/platform-bun",
3
- "version": "0.33.0",
3
+ "version": "0.33.1",
4
4
  "description": "Platform specific implementations for the Bun runtime",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -10,11 +10,11 @@
10
10
  },
11
11
  "sideEffects": [],
12
12
  "dependencies": {
13
- "@effect/platform-node-shared": "^0.4.0"
13
+ "@effect/platform-node-shared": "^0.4.1"
14
14
  },
15
15
  "peerDependencies": {
16
- "@effect/platform": "^0.49.0",
17
- "effect": "^3.0.0"
16
+ "@effect/platform": "^0.49.1",
17
+ "effect": "^3.0.1"
18
18
  },
19
19
  "main": "./dist/cjs/index.js",
20
20
  "module": "./dist/esm/index.js",
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ import * as ParcelWatcher from "@effect/platform-node-shared/NodeFileSystem/ParcelWatcher"
5
+ import type { WatchBackend } from "@effect/platform/FileSystem"
6
+ import type { Layer } from "effect/Layer"
7
+
8
+ /**
9
+ * @since 1.0.0
10
+ * @category layer
11
+ */
12
+ export const layer: Layer<WatchBackend> = ParcelWatcher.layer