@fncts/node 0.0.42 → 0.0.44

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/fs/api.d.ts CHANGED
@@ -99,7 +99,7 @@ export declare function realpathNative(path: fs.PathLike, options: {
99
99
  }): FIO<ErrnoException, Buffer>;
100
100
  export declare function rename(oldPath: fs.PathLike, newPath: fs.PathLike): FIO<ErrnoException, void>;
101
101
  export declare function rm(path: fs.PathLike, options?: fs.RmOptions): FIO<ErrnoException, void>;
102
- export declare function rmdir(path: fs.PathLike, options?: fs.RmDirOptions): FIO<ErrnoException, void>;
102
+ export declare function rmdir(path: fs.PathLike): FIO<ErrnoException, void>;
103
103
  export declare function stat(path: fs.PathLike, options?: {
104
104
  bigint?: false;
105
105
  }): FIO<ErrnoException, fs.Stats>;
package/http/Server.d.ts CHANGED
@@ -29,5 +29,5 @@ export declare function make(evaluate: Lazy<Http.Server>, options: Net.ListenOpt
29
29
  */
30
30
  export declare function makeHandler<R, E>(httpApp: HttpApp.Default<R, E>): IO<Exclude<R, ServerRequest | Scope>, never, (nodeRequest: Http.IncomingMessage, nodeResponse: Http.ServerResponse) => void>;
31
31
  export declare function makeHandler<R, E, App extends HttpApp.Default<any, any>>(httpApp: HttpApp.Default<R, E>, middleware: Middleware.Applied<R, E | ResponseError, App>): IO<Exclude<R, ServerRequest | Scope>, never, (nodeRequest: Http.IncomingMessage, nodeResponse: Http.ServerResponse) => void>;
32
- export declare function makeUpgradeHandler<R, E>(wss: UIO<ws.WebSocketServer>, httpApp: HttpApp.Default<R, E>, middleware?: Middleware): import("@fncts/io/IO").IO<import("@fncts/io/Scope").Scope | R, never, (nodeRequest: Http.IncomingMessage, socket: Duplex, head: Buffer) => void>;
32
+ export declare function makeUpgradeHandler<R, E>(wss: UIO<ws.WebSocketServer>, httpApp: HttpApp.Default<R, E>, middleware?: Middleware): import("@fncts/io/IO").IO<R | import("@fncts/io/Scope").Scope, never, (nodeRequest: Http.IncomingMessage, socket: Duplex, head: Buffer) => void>;
33
33
  export declare function handleResponse(request: ServerRequest, response: ServerResponse): import("@fncts/io/IO").IO<never, ResponseError, void>;
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@fncts/node",
3
- "version": "0.0.42",
3
+ "version": "0.0.44",
4
4
  "dependencies": {
5
- "@fncts/io": "0.0.49",
6
- "ws": "^8.18.2"
5
+ "@fncts/io": "0.0.51",
6
+ "ws": "^8.20.0"
7
7
  },
8
8
  "exports": {
9
9
  "./*": {