Open
Conversation
547c90f to
a354601
Compare
866182e to
db31372
Compare
3bc19a5 to
2dca787
Compare
b2f356a to
f4aaade
Compare
f4aaade to
cb362e3
Compare
cdf9d98 to
be050c7
Compare
4bb0ca2 to
856a174
Compare
813c151 to
09f1bb1
Compare
09f1bb1 to
c9ccceb
Compare
af7f468 to
6073b35
Compare
39a35c9 to
4dbd49f
Compare
3147258 to
8a7dd53
Compare
886b071 to
f8db6ab
Compare
f8db6ab to
6ee8998
Compare
6ee8998 to
7edc733
Compare
e77d9ae to
886f428
Compare
886f428 to
21d3bde
Compare
21d3bde to
cdb16b8
Compare
cdb16b8 to
33c0477
Compare
134d732 to
22250b6
Compare
22250b6 to
a75d4e9
Compare
a75d4e9 to
8f38689
Compare
3aa3427 to
ccc41d5
Compare
8198334 to
f117325
Compare
36b9fcd to
d0abe58
Compare
d0abe58 to
7778d67
Compare
cb3b62c to
45924f5
Compare
c3a09e3 to
3fc9a57
Compare
3fc9a57 to
33c4968
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
4.1.13→4.1.174.4.3→4.4.71.20.1→1.20.21.5.2→1.7.22.0.0→2.1.11.1.1→1.5.01.7.4→1.7.75.0.2→5.0.510.4.24→10.5.04.28.1→4.28.21.0.30001774→1.0.300017887.1.2→7.1.52.12.0→2.13.1~6.11.0→~6.12.06.11.0→6.12.0~6.11.0→~6.12.09.39.3→9.39.4^0.15.0→^0.20.08.5.6→8.5.103.8.1→3.8.32.1.3→2.1.43.5.0→3.5.1^0.17.4→^0.18.04.59.0→4.60.12.8.10→2.9.60.28.17→0.28.194.10.0→4.11.0Release Notes
embroider-build/embroider (@embroider/compat)
v4.1.17🐛 Bug Fix
@embroider/compat🏠 Internal
@embroider/viteCommitters: 2
v4.1.16🐛 Bug Fix
@embroider/compat,@embroider/core,@embroider/macros,@embroider/template-tag-codemod@embroider/macrosCommitters: 2
v4.1.15🐛 Bug Fix
@embroider/macrosCommitters: 1
v4.1.14🚀 Enhancement
@embroider/macrossetTesting()from@embroider/macros(@NullVoxPopuli)@embroider/viteCommitters: 1
emberjs/ember.js (@glimmer/component)
v2.1.1Compare Source
{{link-to}}forbubbles,preventDefault,target,replace, anddisabledWhen.Ember.String.htmlSafe()should return a instance of SafeString fornull/undefined.v2.1.0Compare Source
this._superis called when extending fromEmber.Component.Ember.String.classifyto underscore items with a leading dash/underscore.{{link-to}}properly handles bound values foractiveClass,disabledClass, andloadingClass..callor.apply(this is in addition to._super).initis completed beforedidReceiveAttrsis fired.{{get something 'path.goes.here'}}work.run.laterandrun.next.Application(argument to initializers) andApplicationInstance(argument to instance initializers) instances.Ember.computed.App.reset.{{each}}is inside an{{if}}.classNamesfrom being duplicated.link-tocomponent, allow for extending{{link-to}}viaEmber.LinkComponent.extend._actionsspecified to extend works.View#currentStatetoView#_currentState.currentStateproperty on views/components._superwrapper updates.this._super(...arguments)when components implementdidReceiveAttrs.Ember.computed.sumreturns0if the array to be operated on isnullorundefined.Ember.LinkComponentfor customizations.instanceInitializersto setcustomEvents.Application#customEventstonullto opt out of event listeners.currentRouteNameandcurrentPathare set properly for loading and error routes.this.__nextSuper, and make debugging methods withthis._supercalls much easier.instance.container.lookupon first argument toinstanceInitializers. Useinstance.lookupinstead.initializefunction.typed-ember/glint (@glint/ember-tsc)
v1.5.0Compare Source
🚀 Enhancement
coreCommitters: 1
v1.4.0Compare Source
🚀 Enhancement
@glint/ember-tsc🏠 Internal
@glint/tsserver-pluginCommitters: 1
v1.3.0🚀 Enhancement
@glint/ember-tsc,@glint/tsserver-plugin@glint/ember-tsc🐛 Bug Fix
@glint/ember-tsc...attributeserror when component signature is missingElementin Signature (@johanrd)Committers: 1
v1.2.3🐛 Bug Fix
@glint/template@glint/ember-tsc@glint/ember-tsc,@glint/template🏠 Internal
@glint/templateCommitters: 1
v1.2.2Compare Source
🐛 Bug Fix
@glint/ember-tsc,@glint/template,@glint/tsserver-plugin,@glint/type-test🏠 Internal
Committers: 1
v1.2.1🐛 Bug Fix
@glint/template,@glint/tsserver-plugin📝 Documentation
@glint/template,@glint/tsserver-plugin🏠 Internal
Committers: 1
html-next/vertical-collection (@html-next/vertical-collection)
v5.0.5🐛 Bug Fix
@html-next/vertical-collection🏠 Internal
@html-next/vertical-collectionCommitters: 4
v5.0.3🐛 Bug Fix
@html-next/vertical-collection🏠 Internal
@html-next/vertical-collectionCommitters: 1
postcss/autoprefixer (autoprefixer)
v10.5.0Compare Source
mask-position-xandmask-position-ysupport (by @toporek).v10.4.27Compare Source
package.json.v10.4.26Compare Source
v10.4.25Compare Source
browserslist/browserslist (browserslist)
v4.28.2Compare Source
browserslist/caniuse-lite (caniuse-lite)
v1.0.30001788Compare Source
v1.0.30001787Compare Source
v1.0.30001786Compare Source
v1.0.30001785Compare Source
v1.0.30001784Compare Source
v1.0.30001782Compare Source
v1.0.30001781Compare Source
v1.0.30001780Compare Source
v1.0.30001779Compare Source
v1.0.30001778Compare Source
v1.0.30001777Compare Source
v1.0.30001776Compare Source
v1.0.30001775Compare Source
cssnano/cssnano (cssnano)
v7.1.5: v7.1.5Compare Source
Bug Fixes
Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@7.1.4...cssnano@7.1.5
v7.1.4: v7.1.4Compare Source
Bug Fixes
Update color conversion library to @colordx/core to fix rounding errors in color conversions #1755
v7.1.3: v7.1.3Compare Source
What's Changed
Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@7.1.2...cssnano@7.1.3
embroider-build/ember-auto-import (ember-auto-import)
v2.13.1🐛 Bug Fix
ember-auto-importCommitters: 1
v2.13.0🚀 Enhancement
ember-auto-importuse-ember-modules(@kategengler)🏠 Internal
Committers: 3
v2.12.1🐛 Bug Fix
ember-auto-import🏠 Internal
ember-auto-importCommitters: 2
ember-cli/ember-cli (ember-cli)
v6.12.0🐛 Bug Fix
ember-cli🏠 Internal
ember-cliCommitters: 1
eslint/eslint (eslint)
v9.39.4Compare Source
Bug Fixes
f18f6c8fix: update dependency minimatch to ^3.1.5 (#20564) (Milos Djermanovic)a3c868ffix: update dependency @eslint/eslintrc to ^3.3.4 (#20554) (Milos Djermanovic)234d005fix: minimatch security vulnerability patch for v9.x (#20549) (Andrej Beles)b1b37eefix: updateajvto6.14.0to address security vulnerabilities (#20538) (루밀LuMir)Documentation
4675152docs: add deprecation notice partial (#20520) (Milos Djermanovic)Chores
b8b4eb1chore: update dependencies for ESLint v9.39.4 (#20596) (Francesco Trotta)71b2f6bchore: package.json update for @eslint/js release (Jenkins)1d16c2fci: pin Node.js 25.6.1 (#20563) (Milos Djermanovic)mmkal/expect-type (expect-type)
v0.20.0Compare Source
Breaking changes
This change updates how overloaded functions are treated. Now,
.parametersgives you a union of the parameter-tuples that a function can take. For example, given the following type:Behvaiour before:
Behaviour now:
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
1e37116@internalJSDoc tag (#104)4c40b07overloads.tsfile (#107)5ee01810bbeffaFull Changelog: mmkal/expect-type@v0.19.0...v0.20.0
v0.19.0Compare Source
What's Changed
.omit()to work similarly toOmitby @aryaemami59 in #54testimport inREADME.mdby @aryaemami59 in #65Full Changelog: mmkal/expect-type@0.18.0...0.19.0
v0.18.0Compare Source
What's Changed
.pickand.omitby @aryaemami59 in #51New Contributors
Full Changelog: mmkal/expect-type@v0.17.3...0.18.0
v0.17.3Compare Source
907b8aav0.17.2Compare Source
4b38117Diff(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.1Compare Source
.notand.brandedtogethercf38918(this was actually documented in the v0.17.0 release but really it was only pushed here)
v0.17.0Compare 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:
After:
Docs copied from the readme about how to interpret these error messages
Error messages
When types don't match,
.toEqualTypeOfand.toMatchTypeOfuse 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 aMismatchInfotype to try to make explicit what the expectation is. For example: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: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 (liketoBeString,toBeNumber,toBeVoidetc.) fail by resolving to a non-callable type wheConfiguration
📅 Schedule: (UTC)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.