Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update all non-major dependencies #32

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 7, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence Type Update
@antfu/eslint-config ^3.0.0 -> ^3.8.0 age adoption passing confidence devDependencies minor
@effect/schema (source) ^0.72.0 -> ^0.75.5 age adoption passing confidence devDependencies minor
@effect/schema (source) ^0.72.0 -> ^0.75.5 age adoption passing confidence dependencies minor
@vitejs/plugin-react-swc ^3.7.0 -> ^3.7.1 age adoption passing confidence devDependencies patch
bumpp ^9.5.2 -> ^9.7.1 age adoption passing confidence devDependencies minor
effect (source) ^3.7.0 -> ^3.10.1 age adoption passing confidence dependencies minor
node (source) 20.17.0 -> 20.18.0 age adoption passing confidence minor
pnpm (source) 9.9.0 -> 9.12.2 age adoption passing confidence packageManager minor
typescript (source) ^5.5.4 -> ^5.6.3 age adoption passing confidence devDependencies minor
vite (source) ^5.4.2 -> ^5.4.10 age adoption passing confidence devDependencies patch

Release Notes

antfu/eslint-config (@​antfu/eslint-config)

v3.8.0

Compare Source

   🚀 Features
    View changes on GitHub

v3.7.3

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v3.7.2

Compare Source

   🚀 Features
   🐞 Bug Fixes
  • Disable antfu/no-top-level-await for markdown snippets  -  by @​antfu (a984c)
    View changes on GitHub

v3.7.1

Compare Source

   🚀 Features
    View changes on GitHub

v3.7.0

Compare Source

   🚀 Features
   🐞 Bug Fixes
  • Disable explicit-function-return-type in markdown code  -  by @​antfu (60ffd)
  • Disable ts/explicit-function-return-type in vue files  -  by @​antfu (1788d)
    View changes on GitHub

v3.6.2

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v3.6.1

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v3.6.0

Compare Source

   🐞 Bug Fixes
  • perfectionist/sort-imports sort types always on top  -  by @​antfu (e2839)
    View changes on GitHub

v3.5.1

Compare Source

No significant changes

    View changes on GitHub

v3.5.0

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v3.4.1

Compare Source

No significant changes

    View changes on GitHub

v3.4.0

Compare Source

   🚀 Features
    View changes on GitHub

v3.3.2

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v3.3.1

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v3.3.0

Compare Source

   🚀 Features
    View changes on GitHub

v3.2.2

Compare Source

   🐞 Bug Fixes
  • Disable unicorn/consistent-function-scoping for arrow functions  -  by @​antfu (362ab)
    View changes on GitHub

v3.2.1

Compare Source

No significant changes

    View changes on GitHub

v3.2.0

Compare Source

   🚀 Features
  • Move disable rules to the end, remove deprecated rules  -  by @​antfu (c3e2d)
    View changes on GitHub

v3.1.0

Compare Source

   🚀 Features
    View changes on GitHub
Effect-TS/effect (@​effect/schema)

v0.75.5

Compare Source

Patch Changes
  • #​3792 382556f Thanks @​gcanti! - resolve parse error when using pick with union of class schemas, closes #​3751

  • #​3790 97cb014 Thanks @​gcanti! - Equivalence: Fixed a bug related to discriminated tuples.

    Example:

    The following equivalence check was incorrectly returning false:

    import * as E from "@​effect/schema/Equivalence"
    import * as S from "@​effect/schema/Schema"
    
    // Union of discriminated tuples
    const schema = S.Union(
      S.Tuple(S.Literal("a"), S.String),
      S.Tuple(S.Literal("b"), S.Number)
    )
    
    const equivalence = E.make(schema)
    
    console.log(equivalence(["a", "x"], ["a", "x"]))
    // false

v0.75.4

Compare Source

Patch Changes

v0.75.3

Compare Source

Patch Changes
  • #​3761 360ec14 Thanks @​gcanti! - Allow Schema.Either to support Schema.Never without type errors, closes #​3755.

    • Updated the type parameters of format to extend Schema.All instead of Schema<A, I, R>.
    • Updated the type parameters of Schema.EitherFromSelf to extend Schema.All instead of Schema.Any.
    • Updated the type parameters of Schema.Either to extend Schema.All instead of Schema.Any.
    • Updated the type parameters of Schema.EitherFromUnion to extend Schema.All instead of Schema.Any.

v0.75.2

Compare Source

Patch Changes
  • #​3753 f02b354 Thanks @​gcanti! - Enhanced Error Reporting for Discriminated Union Tuple Schemas, closes #​3752

    Previously, irrelevant error messages were generated for each member of the union. Now, when a discriminator is present in the input, only the relevant member will trigger an error.

    Before

    import * as Schema from "@&#8203;effect/schema/Schema"
    
    const schema = Schema.Union(
      Schema.Tuple(Schema.Literal("a"), Schema.String),
      Schema.Tuple(Schema.Literal("b"), Schema.Number)
    ).annotations({ identifier: "MyUnion" })
    
    console.log(Schema.decodeUnknownSync(schema)(["a", 0]))
    /*
    throws:
    ParseError: MyUnion
    ├─ readonly ["a", string]
    │  └─ [1]
    │     └─ Expected string, actual 0
    └─ readonly ["b", number]
       └─ [0]
          └─ Expected "b", actual "a"
    */

    After

    import * as Schema from "@&#8203;effect/schema/Schema"
    
    const schema = Schema.Union(
      Schema.Tuple(Schema.Literal("a"), Schema.String),
      Schema.Tuple(Schema.Literal("b"), Schema.Number)
    ).annotations({ identifier: "MyUnion" })
    
    console.log(Schema.decodeUnknownSync(schema)(["a", 0]))
    /*
    throws:
    ParseError: MyUnion
    └─ readonly ["a", string]
       └─ [1]
          └─ Expected string, actual 0
    */

v0.75.1

Compare Source

Patch Changes

v0.75.0

Compare Source

Minor Changes
Patch Changes

v0.74.2

Compare Source

Patch Changes

v0.74.1

Compare Source

Patch Changes
  • #​3669 734eae6 Thanks @​gcanti! - Add description annotation to the encoded part of NumberFromString.

    Before

    import { JSONSchema, Schema } from "@&#8203;effect/schema"
    
    const schema = Schema.NumberFromString
    
    console.log(JSON.stringify(JSONSchema.make(schema), null, 2))
    /*
    {
      "$schema": "http://json-schema.org/draft-07/schema#",
      "type": "string"
    }
    */

    After

    import { JSONSchema, Schema } from "@&#8203;effect/schema"
    
    const schema = Schema.NumberFromString
    
    console.log(JSON.stringify(JSONSchema.make(schema), null, 2))
    /*
    {
      "$schema": "http://json-schema.org/draft-07/schema#",
      "type": "string",
      "description": "a string that will be parsed into a number"
    }
    */
  • #​3667 fd83d0e Thanks @​gcanti! - Remove default json schema annotations from string, number and boolean.

    Before

    import { JSONSchema, Schema } from "@&#8203;effect/schema"
    
    const schema = Schema.String.annotations({ examples: ["a", "b"] })
    
    console.log(JSON.stringify(JSONSchema.make(schema), null, 2))
    /*
    {
      "$schema": "http://json-schema.org/draft-07/schema#",
      "type": "string",
      "description": "a string",
      "title": "string",
      "examples": [
        "a",
        "b"
      ]
    }
    */

    After

    import { JSONSchema, Schema } from "@&#8203;effect/schema"
    
    const schema = Schema.String.annotations({ examples: ["a", "b"] })
    
    console.log(JSON.stringify(JSONSchema.make(schema), null, 2))
    /*
    {
      "$schema": "http://json-schema.org/draft-07/schema#",
      "type": "string",
      "examples": [
        "a",
        "b"
      ]
    }
    */
  • #​3673 ad7e1de Thanks @​gcanti! - Add more description annotations.

  • #​3672 090e41c Thanks @​gcanti! - JSON Schema: handle refinements where the 'from' part includes a transformation, closes #​3662

    Before

    import { JSONSchema, Schema } from "@&#8203;effect/schema"
    
    const schema = Schema.Date
    
    console.log(JSON.stringify(JSONSchema.make(schema), null, 2))
    /*
    throws
    Error: Missing annotation
    details: Generating a JSON Schema for this schema requires a "jsonSchema" annotation
    schema (Refinement): Date
    */

    After

    import { JSONSchema, Schema } from "@&#8203;effect/schema"
    
    const schema = Schema.Date
    
    console.log(JSON.stringify(JSONSchema.make(schema), null, 2))
    /*
    {
      "$schema": "http://json-schema.org/draft-07/schema#",
      "type": "string",
      "description": "a string that will be parsed into a Date"
    }
    */
  • #​3672 090e41c Thanks @​gcanti! - Add description annotation to the encoded part of DateFromString.

    Before

    import { JSONSchema, Schema } from "@&#8203;effect/schema"
    
    const schema = Schema.DateFromString
    
    console.log(JSON.stringify(JSONSchema.make(schema), null, 2))
    /*
    {
      "$schema": "http://json-schema.org/draft-07/schema#",
      "type": "string"
    }
    */

    After

    import { JSONSchema, Schema } from "@&#8203;effect/schema"
    
    const schema = Schema.DateFromString
    
    console.log(JSON.stringify(JSONSchema.make(schema), null, 2))
    /*
    {
      "$schema": "http://json-schema.org/draft-07/schema#",
      "type": "string",
      "description": "a string that will be parsed into a Date"
    }
    */
  • Updated dependencies [4509656]:

v0.74.0

Compare Source

Minor Changes

v0.73.4

Compare Source

Patch Changes

v0.73.3

Compare Source

Patch Changes
  • #​3635 e6440a7 Thanks @​gcanti! - Stable filters such as minItems, maxItems, and itemsCount now generate multiple errors when the 'errors' option is set to 'all', closes #​3633

    Example:

    import { ArrayFormatter, Schema } from "@&#8203;effect/schema"
    
    const schema = Schema.Struct({
      tags: Schema.Array(Schema.String.pipe(Schema.minLength(2))).pipe(
        Schema.minItems(3)
      )
    })
    
    const invalidData = { tags: ["AB", "B"] }
    
    const either = Schema.decodeUnknownEither(schema, { errors: "all" })(
      invalidData
    )
    if (either._tag === "Left") {
      console.log(ArrayFormatter.formatErrorSync(either.left))
      /*
      Output:
      [
        {
          _tag: 'Type',
          path: [ 'tags', 1 ],
          message: 'Expected a string at least 2 character(s) long, actual "B"'
        },
        {
          _tag: 'Type',
          path: [ 'tags' ],
          message: 'Expected an array of at least 3 items, actual ["AB","B"]'
        }
      ]
      */
    }

    Previously, only the issue related to the [ 'tags', 1 ] path was reported.

v0.73.2

Compare Source

Patch Changes

v0.73.1

Compare Source

Patch Changes

v0.73.0

Compare Source

Minor Changes
  • #​3589 7fdf9d9 Thanks @​gcanti! - Updates the constraints for members within a union from the more restrictive Schema.Any to the more inclusive Schema.All, closes #​3587.

    Affected APIs include:

    • Schema.Union
    • Schema.UndefinedOr
    • Schema.NullOr
    • Schema.NullishOr
    • Schema.optional
    • AST.Union.make now retains duplicate members and no longer eliminates the neverKeyword.
Patch Changes

v0.72.4

Compare Source

Patch Changes

v0.72.3

Compare Source

Patch Changes

v0.72.2

Compare Source

Patch Changes

v0.72.1

Compare Source

Patch Changes
vitejs/vite-plugin-react-swc (@​vitejs/plugin-react-swc)

v3.7.1

Compare Source

Ignore directive sourcemap error #​231

antfu/bumpp (bumpp)

v9.7.1

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v9.7.0

Compare Source

   🚀 Features
    View changes on GitHub

v9.6.1

Compare Source

   🚀 Features
    View changes on GitHub

v9.6.0

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub
Effect-TS/effect (effect)

v3.10.1

Compare Source

Patch Changes

v3.10.0

Compare Source

Minor Changes
Modules

Before

import {
  Arbitrary,
  AST,
  FastCheck,
  JSONSchema,
  ParseResult,
  Pretty,
  Schema
} from "@&#8203;effect/schema"

After

import {
  Arbitrary,
  SchemaAST, // changed
  FastCheck,
  JSONSchema,
  ParseResult,
  Pretty,
  Schema
} from "effect"
Formatters

ArrayFormatter / TreeFormatter merged into ParseResult module.

Before

import { ArrayFormatter, TreeFormatter } from "@&#8203;effect/schema"

After

import { ArrayFormatter, TreeFormatter } from "effect/ParseResult"
Serializable

Merged into Schema module.

Equivalence

Merged into Schema module.

Before

import { Equivalence } from "@&#8203;effect/schema"

Equivalence.make(myschema)

After

import { Schema } from "@&#8203;effect/schema"

Schema.equivalence(myschema)

v3.9.2

Compare Source

Patch Changes

v3.9.1

Compare Source

Patch Changes

v3.9.0

Compare Source

Minor Changes
  • #​3620 ff3d1aa Thanks @​vinassefranche! - Adds HashMap.HashMap.Entry type helper

  • #​3620 0ba66f2 Thanks @​tim-smart! - add deno support to Inspectable

  • #​3620 bf77f51 Thanks @​KhraksMamtsov! - Latch implements Effect<void> with .await semantic

  • #​3620 0779681 Thanks @​KhraksMamtsov! - Effect.mapAccum & Array.mapAccum preserve non-emptiness

  • #​3620 534129f Thanks @​KhraksMamtsov! - Pool is now a subtype of Effect, equivalent to Pool.get

  • #​3620 d75140c Thanks @​mikearnaldi! - Support providing an array of layers via Effect.provide and Layer.provide

  • #​3620 be0451c Thanks @​leonitousconforti! - support ManagedRuntime in Effect.provide

  • #​3620 be0451c Thanks @​leonitousconforti! - ManagedRuntime<R, E> is subtype of Effect<Runtime<R>, E, never>

  • #​3620 5b36494 Thanks @​KhraksMamtsov! - Tuple.map transforms each element of tuple using the given function, treating tuple homomorphically

    import { pipe, Tuple } from "effect"
    
    const result = pipe(
      //  ^? [string, string, string]
      ["a", 1, false] as const,
      T.map((el) => {
        //^? "a" | 1 | false
        return el.toString().toUppercase()
      })
    )
    assert.deepStrictEqual(result, ["A", "1", "FALSE"])
  • #​3620 c716adb Thanks @​AlexGeb! - Add Array.pad function

  • #​3620 4986391 Thanks @​ianbollinger! - Add an isRegExp type guard

  • #​3620 d75140c Thanks @​mikearnaldi! - Implement Effect.Service as a Tag and Layer with Opaque Type.

    Namely the following is now possible:

    class Prefix extends Effect.Service<Prefix>()("Prefix", {
      sync: () => ({
        prefix: "PRE"
      })
    }) {}
    
    class Postfix extends Effect.Service<Postfix>()("Postfix", {
      sync: () => ({
        postfix: "POST"
      })
    }) {}
    
    const messages: Array<string> = []
    
    class Logger extends Effect.Service<Logger>()("Logger", {
      accessors: true,
      effect: Effect.gen(function* () {
        const { prefix } = yield* Prefix
        const { postfix } = yield* Postfix
        return {
          info: (message: string) =>
            Effect.sync(() => {
              messages.push(`[${prefix}][${message}][${postfix}]`)
            })
        }
      }),
      dependencies: [Prefix.Default, Postfix.Default]
    }) {}
    
    describe("Effect", () => {
      it.effect("Service correctly wires dependencies", () =>
        Effect.gen(function* () {
          const { _tag } = yield* Logger
          expect(_tag).toEqual("Logger")
          yield* Logger.info("Ok")
          expect(messages).toEqual(["[PRE][Ok][POST]"])
          const { prefix } = yield* Prefix
          expect(prefix).toEqual("PRE")
          const { postfix } = yield* Postfix
          expect(postfix).toEqual("POST")
        }).pipe(Effect.provide([Logger.Default, Prefix.Default, Postfix.Default]))
      )
    })
  • #​3620 d1387ae Thanks @​KhraksMamtsov! - Resource<A, E> is subtype of Effect<A, E>.
    ScopedRed<A> is subtype of Effect<A>.

Patch Changes

v3.8.5

Compare Source

Patch Changes
  • #​3734 88e85db Thanks @​mikearnaldi! - Ensure random numbers are correctly distributed

  • #​3717 83887ca Thanks @​mikearnaldi! - Consider async operation in runSync as a defect, add span based stack

  • #​3731 5266b6c Thanks @​patroza! - Improve DX of type errors from inside pipe and flow

  • #​3699 cdead5c Thanks @​jessekelly881! - added Stream.mergeWithTag

    Combines a struct of streams into a single stream of tagged values where the tag is the key of the struct.

    import { Stream } from "effect"
    
    // Stream.Stream<{ _tag: "a"; value: number; } | { _tag: "b"; value: string; }>
    const stream = Stream.mergeWithTag(
      {
        a: Stream.make(0),
        b: Stream.make("")
      },
      { concurrency: 1 }
    )
  • #​3706 766a8af Thanks @​fubhy! - Made BigDecimal.scale dual.

v3.8.4

Compare Source

Patch Changes

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies label Sep 7, 2024
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 9 times, most recently from 4776ffb to 7cd4b3e Compare September 13, 2024 09:30
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 15 times, most recently from eaa9e4e to eba9bf6 Compare September 21, 2024 07:02
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 3 times, most recently from 7fd33fb to 34fba69 Compare September 25, 2024 03:42
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 7 times, most recently from 248cc68 to 22ac0db Compare October 2, 2024 13:49
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 11 times, most recently from 0382e47 to 209a3d2 Compare October 9, 2024 11:31
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 8 times, most recently from 541b54b to d21edc9 Compare October 17, 2024 00:36
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from b0e6dce to d8aa691 Compare October 21, 2024 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants