@onebun/envs 0.1.1 → 0.1.3

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 (2) hide show
  1. package/package.json +1 -1
  2. package/src/helpers.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onebun/envs",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Environment variables management for OneBun framework - typed config with validation",
5
5
  "license": "LGPL-3.0",
6
6
  "author": "RemRyahirev",
package/src/helpers.ts CHANGED
@@ -242,7 +242,7 @@ export const Env = {
242
242
  */
243
243
  port(errorMessage?: string): (value: number) => Effect.Effect<number, EnvValidationError> {
244
244
  return (value: number) => {
245
- // eslint-disable-next-line no-magic-numbers
245
+ // eslint-disable-next-line @typescript-eslint/no-magic-numbers
246
246
  if (!Number.isInteger(value) || value < 1 || value > 65535) {
247
247
  return Effect.fail(
248
248
  new EnvValidationError(