effect 4.0.0-beta.73 → 4.0.0-beta.74

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 (345) hide show
  1. package/dist/Array.d.ts +16 -16
  2. package/dist/Array.js +4 -4
  3. package/dist/Boolean.d.ts +2 -2
  4. package/dist/Boolean.js +2 -2
  5. package/dist/Channel.d.ts +63 -63
  6. package/dist/Channel.js +25 -25
  7. package/dist/Chunk.d.ts +17 -17
  8. package/dist/Chunk.js +5 -5
  9. package/dist/Context.d.ts +3 -3
  10. package/dist/Context.js +1 -1
  11. package/dist/Cron.d.ts +4 -4
  12. package/dist/Cron.js +4 -4
  13. package/dist/Deferred.d.ts +37 -37
  14. package/dist/Deferred.js +13 -13
  15. package/dist/Duration.d.ts +6 -6
  16. package/dist/Duration.js +2 -2
  17. package/dist/Effect.d.ts +58 -58
  18. package/dist/Effect.js +39 -39
  19. package/dist/Equal.d.ts +2 -2
  20. package/dist/Equal.js +2 -2
  21. package/dist/Equivalence.d.ts +1 -1
  22. package/dist/Equivalence.js +1 -1
  23. package/dist/ExecutionPlan.d.ts +2 -2
  24. package/dist/ExecutionPlan.js +1 -1
  25. package/dist/FileSystem.d.ts +6 -6
  26. package/dist/FileSystem.js +2 -2
  27. package/dist/Function.d.ts +5 -5
  28. package/dist/Function.js +5 -5
  29. package/dist/Graph.d.ts +11 -11
  30. package/dist/Graph.js +5 -5
  31. package/dist/HKT.d.ts +1 -1
  32. package/dist/HashMap.d.ts +3 -3
  33. package/dist/HashSet.d.ts +1 -1
  34. package/dist/Iterable.d.ts +15 -15
  35. package/dist/Iterable.js +5 -5
  36. package/dist/Layer.d.ts +16 -16
  37. package/dist/Layer.js +5 -5
  38. package/dist/Logger.d.ts +5 -5
  39. package/dist/Logger.js +4 -4
  40. package/dist/ManagedRuntime.d.ts +2 -2
  41. package/dist/Match.d.ts +20 -20
  42. package/dist/Match.js +16 -16
  43. package/dist/Metric.d.ts +16 -16
  44. package/dist/Metric.js +3 -3
  45. package/dist/Option.d.ts +36 -36
  46. package/dist/Option.js +17 -17
  47. package/dist/Order.d.ts +1 -1
  48. package/dist/Order.js +1 -1
  49. package/dist/Path.d.ts +1 -1
  50. package/dist/Path.js +1 -1
  51. package/dist/Pipeable.d.ts +1 -1
  52. package/dist/Pipeable.js +1 -1
  53. package/dist/Predicate.d.ts +5 -5
  54. package/dist/PubSub.d.ts +9 -9
  55. package/dist/PubSub.js +5 -5
  56. package/dist/Queue.d.ts +24 -24
  57. package/dist/Queue.js +20 -20
  58. package/dist/Record.d.ts +15 -15
  59. package/dist/Record.js +5 -5
  60. package/dist/Redacted.d.ts +2 -2
  61. package/dist/Redacted.js +1 -1
  62. package/dist/Ref.d.ts +6 -6
  63. package/dist/Ref.js +6 -6
  64. package/dist/RegExp.d.ts +1 -1
  65. package/dist/RegExp.js +1 -1
  66. package/dist/Request.d.ts +4 -4
  67. package/dist/RequestResolver.d.ts +6 -6
  68. package/dist/RequestResolver.js +2 -2
  69. package/dist/Resource.d.ts +1 -1
  70. package/dist/Resource.js +1 -1
  71. package/dist/Result.d.ts +18 -18
  72. package/dist/Result.js +11 -11
  73. package/dist/Schedule.d.ts +44 -44
  74. package/dist/Schedule.js +18 -18
  75. package/dist/Schema.d.ts +177 -459
  76. package/dist/Schema.d.ts.map +1 -1
  77. package/dist/Schema.js +25 -25
  78. package/dist/Schema.js.map +1 -1
  79. package/dist/SchemaAST.d.ts +1 -1
  80. package/dist/SchemaGetter.d.ts +13 -13
  81. package/dist/SchemaGetter.js +12 -12
  82. package/dist/SchemaParser.d.ts +3 -3
  83. package/dist/SchemaParser.js +3 -3
  84. package/dist/Scope.d.ts +1 -1
  85. package/dist/Scope.js +1 -1
  86. package/dist/Sink.d.ts +5 -5
  87. package/dist/Sink.js +3 -3
  88. package/dist/Stream.d.ts +55 -55
  89. package/dist/Stream.js +21 -21
  90. package/dist/String.d.ts +5 -5
  91. package/dist/String.js +3 -3
  92. package/dist/Struct.d.ts +8 -8
  93. package/dist/Struct.js +3 -3
  94. package/dist/SynchronizedRef.d.ts +57 -57
  95. package/dist/SynchronizedRef.js +19 -19
  96. package/dist/Terminal.d.ts +1 -1
  97. package/dist/Terminal.js +1 -1
  98. package/dist/Tracer.d.ts +5 -5
  99. package/dist/Tracer.js +2 -2
  100. package/dist/Tuple.d.ts +14 -14
  101. package/dist/Tuple.js +6 -6
  102. package/dist/TxHashMap.d.ts +3 -3
  103. package/dist/TxHashSet.d.ts +1 -1
  104. package/dist/Unify.d.ts +7 -7
  105. package/dist/Unify.js +1 -1
  106. package/dist/testing/TestClock.d.ts +5 -5
  107. package/dist/testing/TestClock.js +4 -4
  108. package/dist/testing/TestConsole.d.ts +3 -3
  109. package/dist/testing/TestConsole.js +3 -3
  110. package/dist/unstable/ai/Chat.d.ts +2 -2
  111. package/dist/unstable/ai/Chat.js +2 -2
  112. package/dist/unstable/ai/EmbeddingModel.d.ts +1 -1
  113. package/dist/unstable/ai/IdGenerator.d.ts +2 -2
  114. package/dist/unstable/ai/IdGenerator.js +1 -1
  115. package/dist/unstable/ai/LanguageModel.d.ts +4 -4
  116. package/dist/unstable/ai/LanguageModel.js +1 -1
  117. package/dist/unstable/ai/Prompt.d.ts +15 -15
  118. package/dist/unstable/ai/Prompt.js +1 -1
  119. package/dist/unstable/ai/Telemetry.d.ts +5 -5
  120. package/dist/unstable/ai/Telemetry.js +2 -2
  121. package/dist/unstable/ai/Tokenizer.d.ts +1 -1
  122. package/dist/unstable/ai/Tokenizer.js +1 -1
  123. package/dist/unstable/ai/Tool.d.ts +6 -6
  124. package/dist/unstable/ai/Tool.js +6 -6
  125. package/dist/unstable/cli/Command.d.ts.map +1 -1
  126. package/dist/unstable/cli/Command.js +1 -1
  127. package/dist/unstable/cli/Command.js.map +1 -1
  128. package/dist/unstable/cli/Param.d.ts +1 -1
  129. package/dist/unstable/cli/Primitive.d.ts +3 -3
  130. package/dist/unstable/cli/Primitive.js +1 -1
  131. package/dist/unstable/cli/Prompt.d.ts +11 -11
  132. package/dist/unstable/cli/internal/parser.js +145 -10
  133. package/dist/unstable/cli/internal/parser.js.map +1 -1
  134. package/dist/unstable/cluster/Entity.d.ts +1 -1
  135. package/dist/unstable/cluster/Entity.js +1 -1
  136. package/dist/unstable/cluster/HttpRunner.d.ts +2 -2
  137. package/dist/unstable/cluster/HttpRunner.js +2 -2
  138. package/dist/unstable/cluster/K8sHttpClient.d.ts +1 -1
  139. package/dist/unstable/cluster/K8sHttpClient.js +1 -1
  140. package/dist/unstable/cluster/Runners.d.ts +1 -1
  141. package/dist/unstable/cluster/Runners.js +1 -1
  142. package/dist/unstable/cluster/Sharding.d.ts +1 -1
  143. package/dist/unstable/cluster/Sharding.js +1 -1
  144. package/dist/unstable/cluster/SingletonAddress.d.ts +1 -1
  145. package/dist/unstable/cluster/SingletonAddress.js +1 -1
  146. package/dist/unstable/cluster/Snowflake.d.ts +5 -5
  147. package/dist/unstable/cluster/Snowflake.js +5 -5
  148. package/dist/unstable/devtools/DevToolsClient.d.ts +1 -1
  149. package/dist/unstable/devtools/DevToolsClient.js +1 -1
  150. package/dist/unstable/eventlog/EventLog.d.ts +1 -1
  151. package/dist/unstable/eventlog/EventLog.js +1 -1
  152. package/dist/unstable/eventlog/EventLogEncryption.d.ts +1 -1
  153. package/dist/unstable/eventlog/EventLogEncryption.js +1 -1
  154. package/dist/unstable/eventlog/EventLogRemote.d.ts +1 -1
  155. package/dist/unstable/eventlog/EventLogRemote.js +1 -1
  156. package/dist/unstable/eventlog/EventLogServerUnencrypted.d.ts +3 -3
  157. package/dist/unstable/eventlog/EventLogServerUnencrypted.js +3 -3
  158. package/dist/unstable/http/Cookies.d.ts +1 -1
  159. package/dist/unstable/http/Etag.d.ts +1 -1
  160. package/dist/unstable/http/Etag.js +1 -1
  161. package/dist/unstable/http/FetchHttpClient.d.ts +2 -2
  162. package/dist/unstable/http/FetchHttpClient.js +2 -2
  163. package/dist/unstable/http/HttpClient.d.ts +1 -1
  164. package/dist/unstable/http/HttpClient.js +1 -1
  165. package/dist/unstable/http/HttpClientRequest.d.ts +2 -2
  166. package/dist/unstable/http/HttpMiddleware.d.ts +1 -1
  167. package/dist/unstable/http/HttpMiddleware.js +1 -1
  168. package/dist/unstable/http/HttpPlatform.d.ts +1 -1
  169. package/dist/unstable/http/HttpPlatform.js +1 -1
  170. package/dist/unstable/http/HttpRouter.d.ts +4 -4
  171. package/dist/unstable/http/HttpRouter.js +4 -4
  172. package/dist/unstable/http/HttpServerResponse.d.ts +3 -3
  173. package/dist/unstable/http/Url.d.ts +33 -33
  174. package/dist/unstable/http/Url.js +11 -11
  175. package/dist/unstable/httpapi/HttpApi.d.ts +1 -1
  176. package/dist/unstable/httpapi/HttpApi.js +1 -1
  177. package/dist/unstable/httpapi/HttpApiError.d.ts +13 -13
  178. package/dist/unstable/httpapi/HttpApiError.js +13 -13
  179. package/dist/unstable/observability/PrometheusMetrics.d.ts +4 -4
  180. package/dist/unstable/observability/PrometheusMetrics.js +2 -2
  181. package/dist/unstable/persistence/KeyValueStore.d.ts +3 -3
  182. package/dist/unstable/persistence/KeyValueStore.js +1 -1
  183. package/dist/unstable/persistence/Persistable.d.ts +2 -2
  184. package/dist/unstable/persistence/Persistable.js +2 -2
  185. package/dist/unstable/persistence/PersistedQueue.d.ts +8 -8
  186. package/dist/unstable/persistence/PersistedQueue.js +8 -8
  187. package/dist/unstable/persistence/RateLimiter.d.ts +1 -1
  188. package/dist/unstable/persistence/RateLimiter.js +1 -1
  189. package/dist/unstable/process/ChildProcess.d.ts +5 -5
  190. package/dist/unstable/process/ChildProcess.js +2 -2
  191. package/dist/unstable/reactivity/AsyncResult.d.ts +4 -4
  192. package/dist/unstable/reactivity/AsyncResult.js +1 -1
  193. package/dist/unstable/reactivity/Atom.d.ts +1 -1
  194. package/dist/unstable/reactivity/Atom.js +1 -1
  195. package/dist/unstable/reactivity/AtomRegistry.d.ts +1 -1
  196. package/dist/unstable/reactivity/AtomRegistry.js +1 -1
  197. package/dist/unstable/reactivity/Reactivity.d.ts +1 -1
  198. package/dist/unstable/reactivity/Reactivity.js +1 -1
  199. package/dist/unstable/rpc/Rpc.d.ts +5 -5
  200. package/dist/unstable/rpc/Rpc.js +1 -1
  201. package/dist/unstable/rpc/RpcMiddleware.d.ts +1 -1
  202. package/dist/unstable/rpc/RpcMiddleware.js +1 -1
  203. package/dist/unstable/rpc/RpcSchema.d.ts +3 -3
  204. package/dist/unstable/rpc/RpcSchema.js +2 -2
  205. package/dist/unstable/schema/Model.d.ts +2 -2
  206. package/dist/unstable/schema/Model.js +1 -1
  207. package/dist/unstable/socket/Socket.d.ts +3 -3
  208. package/dist/unstable/socket/Socket.js +3 -3
  209. package/dist/unstable/socket/SocketServer.d.ts +1 -1
  210. package/dist/unstable/socket/SocketServer.js +1 -1
  211. package/dist/unstable/sql/Migrator.d.ts +1 -1
  212. package/dist/unstable/sql/SqlClient.d.ts +3 -3
  213. package/dist/unstable/sql/SqlClient.js +2 -2
  214. package/dist/unstable/sql/SqlConnection.d.ts +1 -1
  215. package/dist/unstable/sql/SqlConnection.js +1 -1
  216. package/dist/unstable/sql/Statement.d.ts +2 -2
  217. package/dist/unstable/sql/Statement.js +2 -2
  218. package/dist/unstable/workers/Transferable.d.ts +1 -1
  219. package/dist/unstable/workers/Transferable.js +1 -1
  220. package/dist/unstable/workers/Worker.d.ts +1 -1
  221. package/dist/unstable/workers/Worker.js +1 -1
  222. package/dist/unstable/workflow/Activity.d.ts +1 -1
  223. package/dist/unstable/workflow/Activity.js +1 -1
  224. package/dist/unstable/workflow/DurableDeferred.d.ts +1 -1
  225. package/dist/unstable/workflow/DurableDeferred.js +1 -1
  226. package/package.json +1 -1
  227. package/src/Array.ts +16 -16
  228. package/src/Boolean.ts +2 -2
  229. package/src/Channel.ts +67 -67
  230. package/src/Chunk.ts +18 -18
  231. package/src/Context.ts +4 -4
  232. package/src/Cron.ts +4 -4
  233. package/src/Deferred.ts +37 -37
  234. package/src/Duration.ts +6 -6
  235. package/src/Effect.ts +58 -58
  236. package/src/Equal.ts +2 -2
  237. package/src/Equivalence.ts +1 -1
  238. package/src/ExecutionPlan.ts +2 -2
  239. package/src/FileSystem.ts +6 -6
  240. package/src/Function.ts +5 -5
  241. package/src/Graph.ts +11 -11
  242. package/src/HKT.ts +1 -1
  243. package/src/HashMap.ts +3 -3
  244. package/src/HashSet.ts +1 -1
  245. package/src/Iterable.ts +15 -15
  246. package/src/Layer.ts +16 -16
  247. package/src/Logger.ts +7 -7
  248. package/src/ManagedRuntime.ts +2 -2
  249. package/src/Match.ts +20 -20
  250. package/src/Metric.ts +20 -20
  251. package/src/Option.ts +36 -36
  252. package/src/Order.ts +1 -1
  253. package/src/Path.ts +1 -1
  254. package/src/Pipeable.ts +1 -1
  255. package/src/Predicate.ts +5 -5
  256. package/src/PubSub.ts +9 -9
  257. package/src/Queue.ts +24 -24
  258. package/src/Record.ts +15 -15
  259. package/src/Redacted.ts +2 -2
  260. package/src/Ref.ts +18 -18
  261. package/src/RegExp.ts +1 -1
  262. package/src/Request.ts +4 -4
  263. package/src/RequestResolver.ts +8 -8
  264. package/src/Resource.ts +1 -1
  265. package/src/Result.ts +18 -18
  266. package/src/Schedule.ts +45 -45
  267. package/src/Schema.ts +177 -459
  268. package/src/SchemaAST.ts +1 -1
  269. package/src/SchemaGetter.ts +13 -13
  270. package/src/SchemaParser.ts +3 -3
  271. package/src/Scope.ts +1 -1
  272. package/src/Sink.ts +5 -5
  273. package/src/Stream.ts +57 -57
  274. package/src/String.ts +5 -5
  275. package/src/Struct.ts +8 -8
  276. package/src/SynchronizedRef.ts +57 -57
  277. package/src/Terminal.ts +1 -1
  278. package/src/Tracer.ts +5 -5
  279. package/src/Tuple.ts +14 -14
  280. package/src/TxHashMap.ts +3 -3
  281. package/src/TxHashSet.ts +1 -1
  282. package/src/Unify.ts +7 -7
  283. package/src/testing/TestClock.ts +5 -5
  284. package/src/testing/TestConsole.ts +3 -3
  285. package/src/unstable/ai/Chat.ts +2 -2
  286. package/src/unstable/ai/EmbeddingModel.ts +1 -1
  287. package/src/unstable/ai/IdGenerator.ts +2 -2
  288. package/src/unstable/ai/LanguageModel.ts +4 -4
  289. package/src/unstable/ai/Prompt.ts +15 -15
  290. package/src/unstable/ai/Telemetry.ts +5 -5
  291. package/src/unstable/ai/Tokenizer.ts +1 -1
  292. package/src/unstable/ai/Tool.ts +6 -6
  293. package/src/unstable/cli/Command.ts +5 -1
  294. package/src/unstable/cli/Param.ts +1 -1
  295. package/src/unstable/cli/Primitive.ts +3 -3
  296. package/src/unstable/cli/Prompt.ts +11 -11
  297. package/src/unstable/cli/internal/parser.ts +204 -10
  298. package/src/unstable/cluster/Entity.ts +1 -1
  299. package/src/unstable/cluster/HttpRunner.ts +2 -2
  300. package/src/unstable/cluster/K8sHttpClient.ts +1 -1
  301. package/src/unstable/cluster/Runners.ts +1 -1
  302. package/src/unstable/cluster/Sharding.ts +1 -1
  303. package/src/unstable/cluster/SingletonAddress.ts +1 -1
  304. package/src/unstable/cluster/Snowflake.ts +5 -5
  305. package/src/unstable/devtools/DevToolsClient.ts +1 -1
  306. package/src/unstable/eventlog/EventLog.ts +1 -1
  307. package/src/unstable/eventlog/EventLogEncryption.ts +1 -1
  308. package/src/unstable/eventlog/EventLogRemote.ts +1 -1
  309. package/src/unstable/eventlog/EventLogServerUnencrypted.ts +3 -3
  310. package/src/unstable/http/Cookies.ts +1 -1
  311. package/src/unstable/http/Etag.ts +1 -1
  312. package/src/unstable/http/FetchHttpClient.ts +2 -2
  313. package/src/unstable/http/HttpClient.ts +1 -1
  314. package/src/unstable/http/HttpClientRequest.ts +2 -2
  315. package/src/unstable/http/HttpMiddleware.ts +1 -1
  316. package/src/unstable/http/HttpPlatform.ts +1 -1
  317. package/src/unstable/http/HttpRouter.ts +4 -4
  318. package/src/unstable/http/HttpServerResponse.ts +3 -3
  319. package/src/unstable/http/Url.ts +33 -33
  320. package/src/unstable/httpapi/HttpApi.ts +1 -1
  321. package/src/unstable/httpapi/HttpApiError.ts +13 -13
  322. package/src/unstable/observability/PrometheusMetrics.ts +4 -4
  323. package/src/unstable/persistence/KeyValueStore.ts +3 -3
  324. package/src/unstable/persistence/Persistable.ts +2 -2
  325. package/src/unstable/persistence/PersistedQueue.ts +8 -8
  326. package/src/unstable/persistence/RateLimiter.ts +1 -1
  327. package/src/unstable/process/ChildProcess.ts +5 -5
  328. package/src/unstable/reactivity/AsyncResult.ts +4 -4
  329. package/src/unstable/reactivity/Atom.ts +1 -1
  330. package/src/unstable/reactivity/AtomRegistry.ts +1 -1
  331. package/src/unstable/reactivity/Reactivity.ts +1 -1
  332. package/src/unstable/rpc/Rpc.ts +5 -5
  333. package/src/unstable/rpc/RpcMiddleware.ts +1 -1
  334. package/src/unstable/rpc/RpcSchema.ts +3 -3
  335. package/src/unstable/schema/Model.ts +2 -2
  336. package/src/unstable/socket/Socket.ts +3 -3
  337. package/src/unstable/socket/SocketServer.ts +1 -1
  338. package/src/unstable/sql/Migrator.ts +1 -1
  339. package/src/unstable/sql/SqlClient.ts +3 -3
  340. package/src/unstable/sql/SqlConnection.ts +1 -1
  341. package/src/unstable/sql/Statement.ts +2 -2
  342. package/src/unstable/workers/Transferable.ts +1 -1
  343. package/src/unstable/workers/Worker.ts +1 -1
  344. package/src/unstable/workflow/Activity.ts +1 -1
  345. package/src/unstable/workflow/DurableDeferred.ts +1 -1
@@ -211,21 +211,21 @@ export declare const mutate: {
211
211
  /**
212
212
  * Updates the hash fragment of the URL.
213
213
  *
214
- * @category Setters
214
+ * @category setters
215
215
  * @since 4.0.0
216
216
  */
217
217
  export declare const setHash: {
218
218
  /**
219
219
  * Updates the hash fragment of the URL.
220
220
  *
221
- * @category Setters
221
+ * @category setters
222
222
  * @since 4.0.0
223
223
  */
224
224
  (hash: string): (url: URL) => URL;
225
225
  /**
226
226
  * Updates the hash fragment of the URL.
227
227
  *
228
- * @category Setters
228
+ * @category setters
229
229
  * @since 4.0.0
230
230
  */
231
231
  (url: URL, hash: string): URL;
@@ -233,21 +233,21 @@ export declare const setHash: {
233
233
  /**
234
234
  * Updates the host (domain and port) of the URL.
235
235
  *
236
- * @category Setters
236
+ * @category setters
237
237
  * @since 4.0.0
238
238
  */
239
239
  export declare const setHost: {
240
240
  /**
241
241
  * Updates the host (domain and port) of the URL.
242
242
  *
243
- * @category Setters
243
+ * @category setters
244
244
  * @since 4.0.0
245
245
  */
246
246
  (host: string): (url: URL) => URL;
247
247
  /**
248
248
  * Updates the host (domain and port) of the URL.
249
249
  *
250
- * @category Setters
250
+ * @category setters
251
251
  * @since 4.0.0
252
252
  */
253
253
  (url: URL, host: string): URL;
@@ -255,21 +255,21 @@ export declare const setHost: {
255
255
  /**
256
256
  * Updates the domain of the URL without modifying the port.
257
257
  *
258
- * @category Setters
258
+ * @category setters
259
259
  * @since 4.0.0
260
260
  */
261
261
  export declare const setHostname: {
262
262
  /**
263
263
  * Updates the domain of the URL without modifying the port.
264
264
  *
265
- * @category Setters
265
+ * @category setters
266
266
  * @since 4.0.0
267
267
  */
268
268
  (hostname: string): (url: URL) => URL;
269
269
  /**
270
270
  * Updates the domain of the URL without modifying the port.
271
271
  *
272
- * @category Setters
272
+ * @category setters
273
273
  * @since 4.0.0
274
274
  */
275
275
  (url: URL, hostname: string): URL;
@@ -277,21 +277,21 @@ export declare const setHostname: {
277
277
  /**
278
278
  * Replaces the entire URL string.
279
279
  *
280
- * @category Setters
280
+ * @category setters
281
281
  * @since 4.0.0
282
282
  */
283
283
  export declare const setHref: {
284
284
  /**
285
285
  * Replaces the entire URL string.
286
286
  *
287
- * @category Setters
287
+ * @category setters
288
288
  * @since 4.0.0
289
289
  */
290
290
  (href: string): (url: URL) => URL;
291
291
  /**
292
292
  * Replaces the entire URL string.
293
293
  *
294
- * @category Setters
294
+ * @category setters
295
295
  * @since 4.0.0
296
296
  */
297
297
  (url: URL, href: string): URL;
@@ -299,21 +299,21 @@ export declare const setHref: {
299
299
  /**
300
300
  * Updates the password used for authentication.
301
301
  *
302
- * @category Setters
302
+ * @category setters
303
303
  * @since 4.0.0
304
304
  */
305
305
  export declare const setPassword: {
306
306
  /**
307
307
  * Updates the password used for authentication.
308
308
  *
309
- * @category Setters
309
+ * @category setters
310
310
  * @since 4.0.0
311
311
  */
312
312
  (password: string | Redacted.Redacted): (url: URL) => URL;
313
313
  /**
314
314
  * Updates the password used for authentication.
315
315
  *
316
- * @category Setters
316
+ * @category setters
317
317
  * @since 4.0.0
318
318
  */
319
319
  (url: URL, password: string | Redacted.Redacted): URL;
@@ -321,21 +321,21 @@ export declare const setPassword: {
321
321
  /**
322
322
  * Updates the path of the URL.
323
323
  *
324
- * @category Setters
324
+ * @category setters
325
325
  * @since 4.0.0
326
326
  */
327
327
  export declare const setPathname: {
328
328
  /**
329
329
  * Updates the path of the URL.
330
330
  *
331
- * @category Setters
331
+ * @category setters
332
332
  * @since 4.0.0
333
333
  */
334
334
  (pathname: string): (url: URL) => URL;
335
335
  /**
336
336
  * Updates the path of the URL.
337
337
  *
338
- * @category Setters
338
+ * @category setters
339
339
  * @since 4.0.0
340
340
  */
341
341
  (url: URL, pathname: string): URL;
@@ -343,21 +343,21 @@ export declare const setPathname: {
343
343
  /**
344
344
  * Updates the port of the URL.
345
345
  *
346
- * @category Setters
346
+ * @category setters
347
347
  * @since 4.0.0
348
348
  */
349
349
  export declare const setPort: {
350
350
  /**
351
351
  * Updates the port of the URL.
352
352
  *
353
- * @category Setters
353
+ * @category setters
354
354
  * @since 4.0.0
355
355
  */
356
356
  (port: string | number): (url: URL) => URL;
357
357
  /**
358
358
  * Updates the port of the URL.
359
359
  *
360
- * @category Setters
360
+ * @category setters
361
361
  * @since 4.0.0
362
362
  */
363
363
  (url: URL, port: string | number): URL;
@@ -365,21 +365,21 @@ export declare const setPort: {
365
365
  /**
366
366
  * Updates the protocol (e.g., `http`, `https`).
367
367
  *
368
- * @category Setters
368
+ * @category setters
369
369
  * @since 4.0.0
370
370
  */
371
371
  export declare const setProtocol: {
372
372
  /**
373
373
  * Updates the protocol (e.g., `http`, `https`).
374
374
  *
375
- * @category Setters
375
+ * @category setters
376
376
  * @since 4.0.0
377
377
  */
378
378
  (protocol: string): (url: URL) => URL;
379
379
  /**
380
380
  * Updates the protocol (e.g., `http`, `https`).
381
381
  *
382
- * @category Setters
382
+ * @category setters
383
383
  * @since 4.0.0
384
384
  */
385
385
  (url: URL, protocol: string): URL;
@@ -387,21 +387,21 @@ export declare const setProtocol: {
387
387
  /**
388
388
  * Updates the query string of the URL.
389
389
  *
390
- * @category Setters
390
+ * @category setters
391
391
  * @since 4.0.0
392
392
  */
393
393
  export declare const setSearch: {
394
394
  /**
395
395
  * Updates the query string of the URL.
396
396
  *
397
- * @category Setters
397
+ * @category setters
398
398
  * @since 4.0.0
399
399
  */
400
400
  (search: string): (url: URL) => URL;
401
401
  /**
402
402
  * Updates the query string of the URL.
403
403
  *
404
- * @category Setters
404
+ * @category setters
405
405
  * @since 4.0.0
406
406
  */
407
407
  (url: URL, search: string): URL;
@@ -409,21 +409,21 @@ export declare const setSearch: {
409
409
  /**
410
410
  * Updates the username used for authentication.
411
411
  *
412
- * @category Setters
412
+ * @category setters
413
413
  * @since 4.0.0
414
414
  */
415
415
  export declare const setUsername: {
416
416
  /**
417
417
  * Updates the username used for authentication.
418
418
  *
419
- * @category Setters
419
+ * @category setters
420
420
  * @since 4.0.0
421
421
  */
422
422
  (username: string): (url: URL) => URL;
423
423
  /**
424
424
  * Updates the username used for authentication.
425
425
  *
426
- * @category Setters
426
+ * @category setters
427
427
  * @since 4.0.0
428
428
  */
429
429
  (url: URL, username: string): URL;
@@ -454,7 +454,7 @@ export declare const setUsername: {
454
454
  * // Output: https://example.com/?key=value
455
455
  * ```
456
456
  *
457
- * @category Setters
457
+ * @category setters
458
458
  * @since 4.0.0
459
459
  */
460
460
  export declare const setUrlParams: {
@@ -484,7 +484,7 @@ export declare const setUrlParams: {
484
484
  * // Output: https://example.com/?key=value
485
485
  * ```
486
486
  *
487
- * @category Setters
487
+ * @category setters
488
488
  * @since 4.0.0
489
489
  */
490
490
  (urlParams: UrlParams.UrlParams): (url: URL) => URL;
@@ -514,7 +514,7 @@ export declare const setUrlParams: {
514
514
  * // Output: https://example.com/?key=value
515
515
  * ```
516
516
  *
517
- * @category Setters
517
+ * @category setters
518
518
  * @since 4.0.0
519
519
  */
520
520
  (url: URL, urlParams: UrlParams.UrlParams): URL;
@@ -124,35 +124,35 @@ const immutableURLSetter = property => dual(2, (url, value) => mutate(url, url =
124
124
  /**
125
125
  * Updates the hash fragment of the URL.
126
126
  *
127
- * @category Setters
127
+ * @category setters
128
128
  * @since 4.0.0
129
129
  */
130
130
  export const setHash = /*#__PURE__*/immutableURLSetter("hash");
131
131
  /**
132
132
  * Updates the host (domain and port) of the URL.
133
133
  *
134
- * @category Setters
134
+ * @category setters
135
135
  * @since 4.0.0
136
136
  */
137
137
  export const setHost = /*#__PURE__*/immutableURLSetter("host");
138
138
  /**
139
139
  * Updates the domain of the URL without modifying the port.
140
140
  *
141
- * @category Setters
141
+ * @category setters
142
142
  * @since 4.0.0
143
143
  */
144
144
  export const setHostname = /*#__PURE__*/immutableURLSetter("hostname");
145
145
  /**
146
146
  * Replaces the entire URL string.
147
147
  *
148
- * @category Setters
148
+ * @category setters
149
149
  * @since 4.0.0
150
150
  */
151
151
  export const setHref = /*#__PURE__*/immutableURLSetter("href");
152
152
  /**
153
153
  * Updates the password used for authentication.
154
154
  *
155
- * @category Setters
155
+ * @category setters
156
156
  * @since 4.0.0
157
157
  */
158
158
  export const setPassword = /*#__PURE__*/dual(2, (url, password) => mutate(url, url => {
@@ -161,35 +161,35 @@ export const setPassword = /*#__PURE__*/dual(2, (url, password) => mutate(url, u
161
161
  /**
162
162
  * Updates the path of the URL.
163
163
  *
164
- * @category Setters
164
+ * @category setters
165
165
  * @since 4.0.0
166
166
  */
167
167
  export const setPathname = /*#__PURE__*/immutableURLSetter("pathname");
168
168
  /**
169
169
  * Updates the port of the URL.
170
170
  *
171
- * @category Setters
171
+ * @category setters
172
172
  * @since 4.0.0
173
173
  */
174
174
  export const setPort = /*#__PURE__*/immutableURLSetter("port");
175
175
  /**
176
176
  * Updates the protocol (e.g., `http`, `https`).
177
177
  *
178
- * @category Setters
178
+ * @category setters
179
179
  * @since 4.0.0
180
180
  */
181
181
  export const setProtocol = /*#__PURE__*/immutableURLSetter("protocol");
182
182
  /**
183
183
  * Updates the query string of the URL.
184
184
  *
185
- * @category Setters
185
+ * @category setters
186
186
  * @since 4.0.0
187
187
  */
188
188
  export const setSearch = /*#__PURE__*/immutableURLSetter("search");
189
189
  /**
190
190
  * Updates the username used for authentication.
191
191
  *
192
- * @category Setters
192
+ * @category setters
193
193
  * @since 4.0.0
194
194
  */
195
195
  export const setUsername = /*#__PURE__*/immutableURLSetter("username");
@@ -219,7 +219,7 @@ export const setUsername = /*#__PURE__*/immutableURLSetter("username");
219
219
  * // Output: https://example.com/?key=value
220
220
  * ```
221
221
  *
222
- * @category Setters
222
+ * @category setters
223
223
  * @since 4.0.0
224
224
  */
225
225
  export const setUrlParams = /*#__PURE__*/dual(2, (url, searchParams) => mutate(url, url => {
@@ -176,7 +176,7 @@ declare const AdditionalSchemas_base: Context.ServiceClass<AdditionalSchemas, "e
176
176
  * Adds additional schemas to components/schemas.
177
177
  * The provided schemas must have a `identifier` annotation.
178
178
  *
179
- * @category tags
179
+ * @category services
180
180
  * @since 4.0.0
181
181
  */
182
182
  export declare class AdditionalSchemas extends AdditionalSchemas_base {
@@ -153,7 +153,7 @@ const extractResponseContent = (schemas, getStatus) => {
153
153
  * Adds additional schemas to components/schemas.
154
154
  * The provided schemas must have a `identifier` annotation.
155
155
  *
156
- * @category tags
156
+ * @category services
157
157
  * @since 4.0.0
158
158
  */
159
159
  export class AdditionalSchemas extends /*#__PURE__*/Context.Service()("effect/httpapi/HttpApi/AdditionalSchemas") {}
@@ -11,7 +11,7 @@ declare const BadRequest_base: Schema.Class<BadRequest, Schema.Struct<{
11
11
  * Built-in HTTP API error for a `400 Bad Request` response. When used directly as
12
12
  * a server response, it renders as an empty response with status 400.
13
13
  *
14
- * @category Built-in errors
14
+ * @category errors
15
15
  * @since 4.0.0
16
16
  */
17
17
  export declare class BadRequest extends BadRequest_base {
@@ -34,7 +34,7 @@ declare const Unauthorized_base: Schema.Class<Unauthorized, Schema.Struct<{
34
34
  * Built-in HTTP API error for a `401 Unauthorized` response. When used directly as
35
35
  * a server response, it renders as an empty response with status 401.
36
36
  *
37
- * @category Built-in errors
37
+ * @category errors
38
38
  * @since 4.0.0
39
39
  */
40
40
  export declare class Unauthorized extends Unauthorized_base {
@@ -56,7 +56,7 @@ declare const Forbidden_base: Schema.Class<Forbidden, Schema.Struct<{
56
56
  * Built-in HTTP API error for a `403 Forbidden` response. When used directly as a
57
57
  * server response, it renders as an empty response with status 403.
58
58
  *
59
- * @category Built-in errors
59
+ * @category errors
60
60
  * @since 4.0.0
61
61
  */
62
62
  export declare class Forbidden extends Forbidden_base {
@@ -78,7 +78,7 @@ declare const NotFound_base: Schema.Class<NotFound, Schema.Struct<{
78
78
  * Built-in HTTP API error for a `404 Not Found` response. When used directly as a
79
79
  * server response, it renders as an empty response with status 404.
80
80
  *
81
- * @category Built-in errors
81
+ * @category errors
82
82
  * @since 4.0.0
83
83
  */
84
84
  export declare class NotFound extends NotFound_base {
@@ -100,7 +100,7 @@ declare const MethodNotAllowed_base: Schema.Class<MethodNotAllowed, Schema.Struc
100
100
  * Built-in HTTP API error for a `405 Method Not Allowed` response. When used
101
101
  * directly as a server response, it renders as an empty response with status 405.
102
102
  *
103
- * @category Built-in errors
103
+ * @category errors
104
104
  * @since 4.0.0
105
105
  */
106
106
  export declare class MethodNotAllowed extends MethodNotAllowed_base {
@@ -122,7 +122,7 @@ declare const NotAcceptable_base: Schema.Class<NotAcceptable, Schema.Struct<{
122
122
  * Built-in HTTP API error for a `406 Not Acceptable` response. When used directly
123
123
  * as a server response, it renders as an empty response with status 406.
124
124
  *
125
- * @category Built-in errors
125
+ * @category errors
126
126
  * @since 4.0.0
127
127
  */
128
128
  export declare class NotAcceptable extends NotAcceptable_base {
@@ -144,7 +144,7 @@ declare const RequestTimeout_base: Schema.Class<RequestTimeout, Schema.Struct<{
144
144
  * Built-in HTTP API error for a `408 Request Timeout` response. When used directly
145
145
  * as a server response, it renders as an empty response with status 408.
146
146
  *
147
- * @category Built-in errors
147
+ * @category errors
148
148
  * @since 4.0.0
149
149
  */
150
150
  export declare class RequestTimeout extends RequestTimeout_base {
@@ -166,7 +166,7 @@ declare const Conflict_base: Schema.Class<Conflict, Schema.Struct<{
166
166
  * Built-in HTTP API error for a `409 Conflict` response. When used directly as a
167
167
  * server response, it renders as an empty response with status 409.
168
168
  *
169
- * @category Built-in errors
169
+ * @category errors
170
170
  * @since 4.0.0
171
171
  */
172
172
  export declare class Conflict extends Conflict_base {
@@ -188,7 +188,7 @@ declare const Gone_base: Schema.Class<Gone, Schema.Struct<{
188
188
  * Built-in HTTP API error for a `410 Gone` response. When used directly as a
189
189
  * server response, it renders as an empty response with status 410.
190
190
  *
191
- * @category Built-in errors
191
+ * @category errors
192
192
  * @since 4.0.0
193
193
  */
194
194
  export declare class Gone extends Gone_base {
@@ -210,7 +210,7 @@ declare const InternalServerError_base: Schema.Class<InternalServerError, Schema
210
210
  * Built-in HTTP API error for a `500 Internal Server Error` response. When used
211
211
  * directly as a server response, it renders as an empty response with status 500.
212
212
  *
213
- * @category Built-in errors
213
+ * @category errors
214
214
  * @since 4.0.0
215
215
  */
216
216
  export declare class InternalServerError extends InternalServerError_base {
@@ -231,7 +231,7 @@ declare const NotImplemented_base: Schema.Class<NotImplemented, Schema.Struct<{
231
231
  * Built-in HTTP API error for a `501 Not Implemented` response. When used directly
232
232
  * as a server response, it renders as an empty response with status 501.
233
233
  *
234
- * @category Built-in errors
234
+ * @category errors
235
235
  * @since 4.0.0
236
236
  */
237
237
  export declare class NotImplemented extends NotImplemented_base {
@@ -252,7 +252,7 @@ declare const ServiceUnavailable_base: Schema.Class<ServiceUnavailable, Schema.S
252
252
  * Built-in HTTP API error for a `503 Service Unavailable` response. When used
253
253
  * directly as a server response, it renders as an empty response with status 503.
254
254
  *
255
- * @category Built-in errors
255
+ * @category errors
256
256
  * @since 4.0.0
257
257
  */
258
258
  export declare class ServiceUnavailable extends ServiceUnavailable_base {
@@ -288,7 +288,7 @@ declare const HttpApiSchemaError_base: new <A extends Record<string, any> = {}>(
288
288
  * which component failed and responds as an empty `400 Bad Request` when rendered
289
289
  * as a server response.
290
290
  *
291
- * @category Parsing errors
291
+ * @category errors
292
292
  * @since 4.0.0
293
293
  */
294
294
  export declare class HttpApiSchemaError extends HttpApiSchemaError_base<{
@@ -88,7 +88,7 @@ const serviceUnavailableResponse = /*#__PURE__*/HttpServerResponse.empty({
88
88
  * Built-in HTTP API error for a `400 Bad Request` response. When used directly as
89
89
  * a server response, it renders as an empty response with status 400.
90
90
  *
91
- * @category Built-in errors
91
+ * @category errors
92
92
  * @since 4.0.0
93
93
  */
94
94
  export class BadRequest extends /*#__PURE__*/Schema.ErrorClass("effect/HttpApiError/BadRequest")({
@@ -117,7 +117,7 @@ export const BadRequestNoContent = /*#__PURE__*/BadRequest.pipe(/*#__PURE__*/Htt
117
117
  * Built-in HTTP API error for a `401 Unauthorized` response. When used directly as
118
118
  * a server response, it renders as an empty response with status 401.
119
119
  *
120
- * @category Built-in errors
120
+ * @category errors
121
121
  * @since 4.0.0
122
122
  */
123
123
  export class Unauthorized extends /*#__PURE__*/Schema.ErrorClass("effect/HttpApiError/Unauthorized")({
@@ -145,7 +145,7 @@ export const UnauthorizedNoContent = /*#__PURE__*/Unauthorized.pipe(/*#__PURE__*
145
145
  * Built-in HTTP API error for a `403 Forbidden` response. When used directly as a
146
146
  * server response, it renders as an empty response with status 403.
147
147
  *
148
- * @category Built-in errors
148
+ * @category errors
149
149
  * @since 4.0.0
150
150
  */
151
151
  export class Forbidden extends /*#__PURE__*/Schema.ErrorClass("effect/HttpApiError/Forbidden")({
@@ -173,7 +173,7 @@ export const ForbiddenNoContent = /*#__PURE__*/Forbidden.pipe(/*#__PURE__*/HttpA
173
173
  * Built-in HTTP API error for a `404 Not Found` response. When used directly as a
174
174
  * server response, it renders as an empty response with status 404.
175
175
  *
176
- * @category Built-in errors
176
+ * @category errors
177
177
  * @since 4.0.0
178
178
  */
179
179
  export class NotFound extends /*#__PURE__*/Schema.ErrorClass("effect/HttpApiError/NotFound")({
@@ -201,7 +201,7 @@ export const NotFoundNoContent = /*#__PURE__*/NotFound.pipe(/*#__PURE__*/HttpApi
201
201
  * Built-in HTTP API error for a `405 Method Not Allowed` response. When used
202
202
  * directly as a server response, it renders as an empty response with status 405.
203
203
  *
204
- * @category Built-in errors
204
+ * @category errors
205
205
  * @since 4.0.0
206
206
  */
207
207
  export class MethodNotAllowed extends /*#__PURE__*/Schema.ErrorClass("effect/HttpApiError/MethodNotAllowed")({
@@ -229,7 +229,7 @@ export const MethodNotAllowedNoContent = /*#__PURE__*/MethodNotAllowed.pipe(/*#_
229
229
  * Built-in HTTP API error for a `406 Not Acceptable` response. When used directly
230
230
  * as a server response, it renders as an empty response with status 406.
231
231
  *
232
- * @category Built-in errors
232
+ * @category errors
233
233
  * @since 4.0.0
234
234
  */
235
235
  export class NotAcceptable extends /*#__PURE__*/Schema.ErrorClass("effect/HttpApiError/NotAcceptable")({
@@ -257,7 +257,7 @@ export const NotAcceptableNoContent = /*#__PURE__*/NotAcceptable.pipe(/*#__PURE_
257
257
  * Built-in HTTP API error for a `408 Request Timeout` response. When used directly
258
258
  * as a server response, it renders as an empty response with status 408.
259
259
  *
260
- * @category Built-in errors
260
+ * @category errors
261
261
  * @since 4.0.0
262
262
  */
263
263
  export class RequestTimeout extends /*#__PURE__*/Schema.ErrorClass("effect/HttpApiError/RequestTimeout")({
@@ -285,7 +285,7 @@ export const RequestTimeoutNoContent = /*#__PURE__*/RequestTimeout.pipe(/*#__PUR
285
285
  * Built-in HTTP API error for a `409 Conflict` response. When used directly as a
286
286
  * server response, it renders as an empty response with status 409.
287
287
  *
288
- * @category Built-in errors
288
+ * @category errors
289
289
  * @since 4.0.0
290
290
  */
291
291
  export class Conflict extends /*#__PURE__*/Schema.ErrorClass("effect/HttpApiError/Conflict")({
@@ -313,7 +313,7 @@ export const ConflictNoContent = /*#__PURE__*/Conflict.pipe(/*#__PURE__*/HttpApi
313
313
  * Built-in HTTP API error for a `410 Gone` response. When used directly as a
314
314
  * server response, it renders as an empty response with status 410.
315
315
  *
316
- * @category Built-in errors
316
+ * @category errors
317
317
  * @since 4.0.0
318
318
  */
319
319
  export class Gone extends /*#__PURE__*/Schema.ErrorClass("effect/HttpApiError/Gone")({
@@ -341,7 +341,7 @@ export const GoneNoContent = /*#__PURE__*/Gone.pipe(/*#__PURE__*/HttpApiSchema.a
341
341
  * Built-in HTTP API error for a `500 Internal Server Error` response. When used
342
342
  * directly as a server response, it renders as an empty response with status 500.
343
343
  *
344
- * @category Built-in errors
344
+ * @category errors
345
345
  * @since 4.0.0
346
346
  */
347
347
  export class InternalServerError extends /*#__PURE__*/Schema.ErrorClass("effect/HttpApiError/InternalServerError")({
@@ -368,7 +368,7 @@ export const InternalServerErrorNoContent = /*#__PURE__*/InternalServerError.pip
368
368
  * Built-in HTTP API error for a `501 Not Implemented` response. When used directly
369
369
  * as a server response, it renders as an empty response with status 501.
370
370
  *
371
- * @category Built-in errors
371
+ * @category errors
372
372
  * @since 4.0.0
373
373
  */
374
374
  export class NotImplemented extends /*#__PURE__*/Schema.ErrorClass("effect/HttpApiError/NotImplemented")({
@@ -395,7 +395,7 @@ export const NotImplementedNoContent = /*#__PURE__*/NotImplemented.pipe(/*#__PUR
395
395
  * Built-in HTTP API error for a `503 Service Unavailable` response. When used
396
396
  * directly as a server response, it renders as an empty response with status 503.
397
397
  *
398
- * @category Built-in errors
398
+ * @category errors
399
399
  * @since 4.0.0
400
400
  */
401
401
  export class ServiceUnavailable extends /*#__PURE__*/Schema.ErrorClass("effect/HttpApiError/ServiceUnavailable")({
@@ -430,7 +430,7 @@ export const HttpApiSchemaErrorTypeId = "~effect/httpapi/HttpApiError/HttpApiSch
430
430
  * which component failed and responds as an empty `400 Bad Request` when rendered
431
431
  * as a server response.
432
432
  *
433
- * @category Parsing errors
433
+ * @category errors
434
434
  * @since 4.0.0
435
435
  */
436
436
  export class HttpApiSchemaError extends /*#__PURE__*/Data.TaggedClass("HttpApiSchemaError") {
@@ -68,7 +68,7 @@ export type MetricNameMapper = (name: string) => string;
68
68
  /**
69
69
  * Options for formatting metrics.
70
70
  *
71
- * @category models
71
+ * @category options
72
72
  * @since 4.0.0
73
73
  */
74
74
  export interface FormatOptions {
@@ -85,7 +85,7 @@ export interface FormatOptions {
85
85
  /**
86
86
  * Options for exporting Prometheus metrics over HTTP.
87
87
  *
88
- * @category models
88
+ * @category options
89
89
  * @since 4.0.0
90
90
  */
91
91
  export interface HttpOptions extends FormatOptions {
@@ -122,7 +122,7 @@ export interface HttpOptions extends FormatOptions {
122
122
  * })
123
123
  * ```
124
124
  *
125
- * @category Formatting
125
+ * @category formatting
126
126
  * @since 4.0.0
127
127
  */
128
128
  export declare const format: (options?: FormatOptions | undefined) => Effect.Effect<string>;
@@ -134,7 +134,7 @@ export declare const format: (options?: FormatOptions | undefined) => Effect.Eff
134
134
  * Use when you use this low-level function when you already have access to the context. Most
135
135
  * users should use `format` instead.
136
136
  *
137
- * @category Formatting
137
+ * @category formatting
138
138
  * @since 4.0.0
139
139
  */
140
140
  export declare const formatUnsafe: (context: Context.Context<never>, options?: FormatOptions | undefined) => string;
@@ -31,7 +31,7 @@ import * as HttpServerResponse from "../http/HttpServerResponse.js";
31
31
  * })
32
32
  * ```
33
33
  *
34
- * @category Formatting
34
+ * @category formatting
35
35
  * @since 4.0.0
36
36
  */
37
37
  export const format = /*#__PURE__*/Effect.fnUntraced(function* (options) {
@@ -46,7 +46,7 @@ export const format = /*#__PURE__*/Effect.fnUntraced(function* (options) {
46
46
  * Use when you use this low-level function when you already have access to the context. Most
47
47
  * users should use `format` instead.
48
48
  *
49
- * @category Formatting
49
+ * @category formatting
50
50
  * @since 4.0.0
51
51
  */
52
52
  export const formatUnsafe = (context, options) => {