Skip to content

chore(deps): update devdependencies#50

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/devdependencies
Open

chore(deps): update devdependencies#50
renovate[bot] wants to merge 1 commit intomainfrom
renovate/devdependencies

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 23, 2025

This PR contains the following updates:

Package Change Age Confidence
@embroider/compat (source) 4.1.134.1.14 age confidence
@embroider/core (source) 4.4.34.4.4 age confidence
@embroider/macros (source) 1.19.71.20.0 age confidence
@embroider/vite (source) 1.5.21.6.0 age confidence
autoprefixer 10.4.2410.4.27 age confidence
ember-auto-import (source) 2.12.02.12.1 age confidence
expect-type ^0.15.0^0.20.0 age confidence
turbo (source) 2.8.102.8.11 age confidence

Release Notes

embroider-build/embroider (@​embroider/compat)

v4.1.14

🚀 Enhancement
Committers: 1
postcss/autoprefixer (autoprefixer)

v10.4.27

Compare Source

  • Removed development key from package.json.

v10.4.26

Compare Source

  • Reduced package size.

v10.4.25

Compare Source

  • Fixed broken gradients on CSS Custom Properties (by @​serger777).
embroider-build/ember-auto-import (ember-auto-import)

v2.12.1

  • ember-auto-import 2.12.1 (patch)
🐛 Bug Fix
  • ember-auto-import
    • #​687 Fix externals tracking for deps with escaped characters (@​ef4)
🏠 Internal
Committers: 2
mmkal/expect-type (expect-type)

v0.20.0

Compare Source

Breaking changes

This change updates how overloaded functions are treated. Now, .parameters gives you a union of the parameter-tuples that a function can take. For example, given the following type:

type Factorize = {
  (input: number): number[]
  (input: bigint): bigint[]
}

Behvaiour before:

expectTypeOf<Factorize>().parameters.toEqualTypeOf<[bigint]>()

Behaviour now:

expectTypeOf<Factorize>().parameters.toEqualTypeOf<[number] | [bigint]>()

There were similar changes for .returns, .parameter(...), and .toBeCallableWith. Also, overloaded functions are now differentiated properly when using .branded.toEqualTypeOf (this was a bug that it seems nobody found).

See #​83 for more details or look at the updated docs (including a new section called "Overloaded functions", which has more info on how this behaviour differs for TypeScript versions before 5.3).

What's Changed

Full Changelog: mmkal/expect-type@v0.19.0...v0.20.0

v0.19.0

Compare Source

What's Changed

Full Changelog: mmkal/expect-type@0.18.0...0.19.0

v0.18.0

Compare Source

What's Changed
New Contributors

Full Changelog: mmkal/expect-type@v0.17.3...0.18.0

v0.17.3

Compare Source

v0.17.2

Compare Source

Diff(truncated - scroll right!):

test('toEqualTypeOf with tuples', () => {
  const assertion = `expectTypeOf<[[number], [1], []]>().toEqualTypeOf<[[number], [2], []]>()`
  expect(tsErrors(assertion)).toMatchInlineSnapshot(`
-    "test/test.ts:999:999 - error TS2344: Type '[[number], [2], []]' does not satisfy the constraint '{ [x: number]: { [x: number]: number; [iterator]: (() => IterableIterator<1>) | (() => IterableIterator<number>) | (() => IterableIterator<never>); [unscopables]: (() => { copyWithin: boolean; entries: boolean; fill: boolean; find: boolean; findIndex: boolean; keys: boolean; values: boolean; }) | (() => { copyWithin: boolean; entries: boolean; fill: boolean; find: boolean; findIndex: boolean; keys: boolean; values: boolean; }) | (() => { copyWithin: boolean; entries: boolean; fill: boolean; find: boolean; findIndex: boolean; keys: boolean; values: boolean; }); length: 0 | 1; toString:  ... truncated!!!!'.
-      Types of property 'sort' are incompatible.
-        Type '(compareFn?: ((a: [] | [number] | [2], b: [] | [number] | [2]) => number) | undefined) => [[number], [2], []]' is not assignable to type '\\"Expected: function, Actual: function\\"'.
+    "test/test.ts:999:999 - error TS2344: Type '[[number], [2], []]' does not satisfy the constraint '{ 0: { 0: number; }; 1: { 0: \\"Expected: literal number: 2, Actual: literal number: 1\\"; }; 2: {}; }'.
+      The types of '1[0]' are incompatible between these types.
+        Type '2' is not assignable to type '\\"Expected: literal number: 2, Actual: literal number: 1\\"'.
    999 expectTypeOf<[[number], [1], []]>().toEqualTypeOf<[[number], [2], []]>()
                                                          ~~~~~~~~~~~~~~~~~~~"
  `)
})

v0.17.1

Compare Source

  • disallow .not and .branded together cf38918

(this was actually documented in the v0.17.0 release but really it was only pushed here)

v0.17.0

Compare Source

#​16 went in to - hopefully - significantly improve the error messages produce on failing assertions. Here's an example of how vitest's failing tests were improved:

Before:

image

After:

image

Docs copied from the readme about how to interpret these error messages


Error messages

When types don't match, .toEqualTypeOf and .toMatchTypeOf use a special helper type to produce error messages that are as actionable as possible. But there's a bit of an nuance to understanding them. Since the assertions are written "fluently", the failure should be on the "expected" type, not the "actual" type (expect<Actual>().toEqualTypeOf<Expected>()). This means that type errors can be a little confusing - so this library produces a MismatchInfo type to try to make explicit what the expectation is. For example:

expectTypeOf({a: 1}).toEqualTypeOf<{a: string}>()

Is an assertion that will fail, since {a: 1} has type {a: number} and not {a: string}. The error message in this case will read something like this:

test/test.ts:999:999 - error TS2344: Type '{ a: string; }' does not satisfy the constraint '{ a: \\"Expected: string, Actual: number\\"; }'.
  Types of property 'a' are incompatible.
    Type 'string' is not assignable to type '\\"Expected: string, Actual: number\\"'.

999 expectTypeOf({a: 1}).toEqualTypeOf<{a: string}>()

Note that the type constraint reported is a human-readable messaging specifying both the "expected" and "actual" types. Rather than taking the sentence Types of property 'a' are incompatible // Type 'string' is not assignable to type "Expected: string, Actual: number" literally - just look at the property name ('a') and the message: Expected: string, Actual: number. This will tell you what's wrong, in most cases. Extremely complex types will of course be more effort to debug, and may require some experimentation. Please raise an issue if the error messages are actually misleading.

The toBe... methods (like toBeString, toBeNumber, toBeVoid etc.) fail by resolving to a non-callable type when the Actual type under test doesn't match up. For example, the failure for an assertion like expectTypeOf(1).toBeString() will look something like this:

test/test.ts:999:999 - error TS2349: This expression is not callable.
  Type 'ExpectString<number>' has no call signatures.

999 expectTypeOf(1).toBeString()
                    ~~~~~~~~~~

The This expression is not callable part isn't all that helpful - the meaningful error is the next line, Type 'ExpectString<number> has no call signatures. This essentially means you passed a number but asserted it should be a string.

If TypeScript added support for "throw" types these error messagess could be improved. Until then they will take a certain amount of squinting.

Concrete "expected" objects vs typeargs

Error messages for an assertion like this:

expectTypeOf({a: 1}).toEqualTypeOf({a: ''})

Will be less helpful than for an assertion like this:

expectTypeOf({a: 1}).toEqualTypeOf<{a: string}>()

This is because the TypeScript compiler needs to infer the typearg for the .toEqualTypeOf({a: ''}) style, and this library can only mark it as a failure by comparing it against a generic Mismatch type. So, where possible, use a typearg rather than a concrete type for .toEqualTypeOf and toMatchTypeOf. If it's much more convenient to compare two concrete types, you can use typeof:

const one = valueFromFunctionOne({some: {complex: inputs}})
const two = valueFromFunctionTwo({some: {other: inputs}})

expectTypeOf(one).toEqualTypeof<typeof two>()

Kinda-breaking changes: essentially none, but technically, .branded no longer returns a "full" ExpectTypeOf instance at compile-time. Previously you could do this:

expectTypeOf<{a: {b: 1} & {c: 1}}>().branded.not.toEqualTypeOf<{a: {b: 1; c: ''}}>()
expectTypeOf<{a: {b: 1} & {c: 1}}>().not.branded.toEqualTypeOf<{a: {b: 1; c: ''}}>()

Now that won't work (and it was always slightly nonsensical), so you'd have to use // @&#8203;ts-expect-error instead of not if you have a negated case where you need branded:

// @&#8203;ts-expect-error
expectTypeOf<{a: {b: 1} & {c: 1}}>().branded.not.toEqualTypeOf<{a: {b: 1; c: ''}}>()

What's Changed
New Contributors

Full Changelog: mmkal/expect-type@v0.16.0...v0.17.0

v0.16.0

Compare Source

What's Changed

Note that #​21 has affected behavior for intersection types, which can result in (arguably) false errors:

// @&#8203;ts-expect-error the following line doesn't compile, even though the types are arguably the same.
// See https://github.com/mmkal/expect-type/pull/21
expectTypeOf<{a: 1} & {b: 2}>().toEqualTypeOf<{a: 1; b: 2}>()

Full Changelog: mmkal/expect-type@v0.15.0...v16.0.0

vercel/turborepo (turbo)

v2.8.11: Turborepo v2.8.11

Compare Source

What's Changed

Docs
@​turbo/repository
Changelog

Full Changelog: vercel/turborepo@v2.8.10...v2.8.11


Configuration

📅 Schedule: Branch creation - "after 9pm on sunday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, 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 force-pushed the renovate/devdependencies branch 7 times, most recently from 547c90f to a354601 Compare March 23, 2025 23:56
@renovate renovate bot force-pushed the renovate/devdependencies branch 2 times, most recently from 866182e to db31372 Compare April 6, 2025 22:13
@renovate renovate bot force-pushed the renovate/devdependencies branch 2 times, most recently from 3bc19a5 to 2dca787 Compare April 20, 2025 22:49
@renovate renovate bot force-pushed the renovate/devdependencies branch 2 times, most recently from b2f356a to f4aaade Compare May 4, 2025 21:48
@renovate renovate bot force-pushed the renovate/devdependencies branch from f4aaade to cb362e3 Compare May 18, 2025 21:20
@renovate renovate bot force-pushed the renovate/devdependencies branch 2 times, most recently from cdf9d98 to be050c7 Compare May 25, 2025 23:14
@renovate renovate bot force-pushed the renovate/devdependencies branch 2 times, most recently from 4bb0ca2 to 856a174 Compare June 15, 2025 21:11
@renovate renovate bot force-pushed the renovate/devdependencies branch 2 times, most recently from 813c151 to 09f1bb1 Compare June 22, 2025 21:11
@renovate renovate bot force-pushed the renovate/devdependencies branch from 09f1bb1 to c9ccceb Compare July 6, 2025 21:46
@renovate renovate bot force-pushed the renovate/devdependencies branch 2 times, most recently from af7f468 to 6073b35 Compare July 20, 2025 22:12
@renovate renovate bot force-pushed the renovate/devdependencies branch 2 times, most recently from 39a35c9 to 4dbd49f Compare August 3, 2025 21:27
@renovate renovate bot force-pushed the renovate/devdependencies branch 2 times, most recently from 3147258 to 8a7dd53 Compare August 10, 2025 21:42
@renovate renovate bot force-pushed the renovate/devdependencies branch 2 times, most recently from 886b071 to f8db6ab Compare August 17, 2025 22:41
@renovate renovate bot force-pushed the renovate/devdependencies branch from f8db6ab to 6ee8998 Compare August 31, 2025 21:47
@renovate renovate bot force-pushed the renovate/devdependencies branch from 6ee8998 to 7edc733 Compare September 14, 2025 21:24
@renovate renovate bot changed the title Update devDependencies chore(deps): update devdependencies Sep 14, 2025
@renovate renovate bot force-pushed the renovate/devdependencies branch 2 times, most recently from e77d9ae to 886f428 Compare September 28, 2025 21:44
@renovate renovate bot force-pushed the renovate/devdependencies branch from 886f428 to 21d3bde Compare October 5, 2025 21:25
@renovate renovate bot force-pushed the renovate/devdependencies branch from 21d3bde to cdb16b8 Compare October 12, 2025 21:34
@renovate renovate bot force-pushed the renovate/devdependencies branch from cdb16b8 to 33c0477 Compare October 26, 2025 21:51
@renovate renovate bot force-pushed the renovate/devdependencies branch 2 times, most recently from 134d732 to 22250b6 Compare November 9, 2025 21:11
@renovate renovate bot force-pushed the renovate/devdependencies branch from 22250b6 to a75d4e9 Compare November 30, 2025 21:44
@renovate renovate bot force-pushed the renovate/devdependencies branch from a75d4e9 to 8f38689 Compare December 7, 2025 21:51
@renovate renovate bot force-pushed the renovate/devdependencies branch 3 times, most recently from 3aa3427 to ccc41d5 Compare January 4, 2026 22:08
@renovate renovate bot force-pushed the renovate/devdependencies branch 3 times, most recently from 8198334 to f117325 Compare January 18, 2026 21:10
@renovate renovate bot force-pushed the renovate/devdependencies branch 2 times, most recently from 36b9fcd to d0abe58 Compare January 26, 2026 13:13
@renovate renovate bot force-pushed the renovate/devdependencies branch from d0abe58 to 7778d67 Compare February 8, 2026 21:17
@renovate renovate bot force-pushed the renovate/devdependencies branch from 7778d67 to e667954 Compare March 1, 2026 21:50
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