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 dependency svelte2tsx to v0.7.23 #94

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 29, 2022

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
svelte2tsx (source) 0.5.5 -> 0.7.23 age adoption passing confidence

Release Notes

sveltejs/language-tools (svelte2tsx)

v0.7.23

Compare Source

  • feat: autotype const load = ... declarations (#​2540)
  • feat: provide component instance type in Svelte 5 (#​2553)
  • fix: infer object and array shapes from fallback types (#​2562)
  • fix: ignore exported variable declarations that aren't simple identifiers when checking for valid SvelteKit exports

v0.7.22

Compare Source

  • fix: include named exports in svelte 5 type (#​2528)

v0.7.21

Compare Source

  • fix: relax component constructor type (#​2524)

v0.7.20

Compare Source

  • fix: silence type error in old d.ts files
  • fix: revert additional two-way-binding checks as they were causing bugs (#​2508)
  • breaking(svelte5): only generate function component shape in runes mode (#​2517)

v0.7.19

Compare Source

  • fix: ensure components typed through Svelte 5's Component interface get proper intellisense

v0.7.18

Compare Source

  • fix: remove ancient process augmentation from internal d.ts file

v0.7.17

Compare Source

  • chore: bump magic-string (#​2476)
  • chore: show more error diagnostics for emitDts
  • feat: better type checking for bindings in Svelte 5 (#​2477)

v0.7.16

Compare Source

  • feat: support specifying tsconfig for emitDts (#​2454)
  • fix: support Svelte 5 module script attribute (#​2473)

v0.7.15

Compare Source

  • fix: add legacy methods to own component shape (#​2451)

v0.7.14

Compare Source

  • feat: warn on likely failed d.ts file generation (#​2428)
  • fix: no implicit children prop when using slot (#​2427)
  • fix: correctly detect real Svelte files for declarationMap (#​2443)
  • fix: correctly handle HTML between implicit snippet props (#​2450)
  • fix: correctly scope snippet declarations (#​2449)
  • fix: make it possible to type snippet parameters using JSDoc (#​2449)

v0.7.13

Compare Source

  • fix: ensure bindings and exports work properly for Svelte 5 + TS5.5

v0.7.12

Compare Source

  • fix: detect root snippets correctly
  • fix: prevent false positive store declarations (#​2422)

v0.7.11

Compare Source

  • fix: handle snippets with typed arguments (#​2412)
  • fix: handle optional arguments in snippets (#​2414)

v0.7.10

Compare Source

  • chore: speed up regex

v0.7.9

Compare Source

  • fix: allow for whitespace in snippets declaration (#​2366)
  • fix: allow as expressions for bindable props (#​2372)
  • fix: force correct semantic tokens for $props types (#​2379)
  • feat: Svelte 5 component class/function interop (#​2380)

v0.7.8

Compare Source

  • fix: rework bindable types strategy (#​2361)

v0.7.7

Compare Source

  • feat: mark only properties as bindable that were declared using $bindable() in Svelte 5 runes mode (#​2336)
  • chore: better Svelte 5 interop (#​2336)
  • fix: preserve event attribute casing in Svelte 5 (#​2347)
  • fix: handle #await inside #snippet (#​2348)
  • fix: better bind:group transformation (#​2349)
  • fix: handle boolean css var (#​2350)

v0.7.6

Compare Source

  • fix: ensure type widening for bind:group

v0.7.5

Compare Source

  • chore: support TypeScript 5.4 (#​2313)
  • fix: allow falsy values for render tags

v0.7.4

Compare Source

  • fix: use type instead of generic for $props() (#​2314)

v0.7.3

Compare Source

  • fix: adjust render tag for latest AST version

v0.7.2

Compare Source

  • fix: adjust $props() comment type logic (#​2294)
  • fix: adjust snippet helper type to new snippet API
  • fix: also take type argument into account when analyzing $props()
  • fix: don't add form type to zero types when property is not typed out

v0.7.1

Compare Source

  • fix: take type annotations into account when transforming one-way bindings (#​2283)

Svelte 5:

  • fix: deduplicate generate props/events/slot types correctly (#​2269)
  • fix: adjust snippet code generation for new AST shape (#​2282)
  • fix: ensure correct types for media bindings (#​2284)
  • fix: implict children tweaks (#​2285) (#​2263)

v0.7.0

Compare Source

  • fix: various snippet improvements
  • fix: handle svelte.ts/js files when emitting types (#​2241)
  • fix: don't remove non-null-assertion operator (#​2248)
  • feat: transpile $props() differently to support rename/find reference (#​2255)
  • feat: zero effort typings for reroute (#​2252)

v0.6.27

Compare Source

  • feat: add best-effort fallback typings to $props() rune
  • fix: don't add generic type when snippet has no params
  • fix: pass children to zero types Svelte 5 (#​2212)
  • fix: add possibility to pass in version to svelte2tsx to differentiate transpiler targets
  • fix: add implicit children prop in Svelte 5 mode (#​2211)
  • perf: faster checks for certain characters (#​2179)

v0.6.26

Compare Source

  • feat: support SvelteKit zero types with $props rune
  • feat: use Snippet type and ensure @render tag only uses snippet functions
  • fix: account for > in attribute strings (#​2204)
  • fix: handle contexts in each/await
  • fix: don't lowercase custom element attributes (#​2190)
  • fix: make root snippets available in instance script (#​2201)

v0.6.25

Compare Source

  • fix: handle runes looking like stores

v0.6.24

Compare Source

  • feat: add experimental compatibility for Svelte 5
  • fix: enhance numberOnlyAttributes list

v0.6.23

Compare Source

  • fix: enhance precompile blank for parser error workaround (#​2173)

v0.6.22

Compare Source

  • fix: output $$Props code differently to deal with unions better (#​2153)
  • feat: add fallback handler to auto-types (#​2156)

v0.6.21

Compare Source

  • fix: ignore style tag inside script tag (#​2104)

v0.6.20

Compare Source

  • fix: svelte:document types
  • fix: generic const modifier (#​2118)

v0.6.19

Compare Source

  • fix: use SvelteComponent in shims-v4

v0.6.18

Compare Source

  • fix: don't use deprecated SvelteComponentTyped import if shims path hints at v4 when emitting dts

v0.6.17

Compare Source

  • feat: don't use deprecated SvelteComponentTyped import if shims path hints at v4
  • feat: SvelteKit HEAD export
  • fix: deduplicate exports (#​2083)
  • fix: type one way bindings that are not the element (#​2066)

v0.6.16

Compare Source

  • (feat) add support for resize observer bindings (#​2044)

v0.6.15

Compare Source

  • (feat) implement generics attr on script tags (#​2020)
  • (fix) support nested destructuring in export const (#​2028)
  • (feat) get ready for Svelte 4 (#​2030)

v0.6.14

Compare Source

  • (fix) allow non-literal createEventDispatcher generic template (#​2004)

v0.6.13

Compare Source

  • (fix) add entries as a valid export

v0.6.12

Compare Source

  • (feat) Auto-typing support for entries (#​1983)

v0.6.11

Compare Source

  • (feat) intellisense for new bindings (#​1957)
  • (feat) support <svelte:document> (#​1958)
  • (fix) swap order of inserted statements for store prop with type (#​1960)
  • (fix) add .js to $types imports to support node16/nodenext resolution (#​1967)
  • (fix) use Svelte's ComponentConstructorOptions (#​1969)

v0.6.10

Compare Source

  • (chore) mark svelte2tsx as compatible with TS 5

v0.6.9

Compare Source

  • (fix) various kit auto typing fixes (#​1936)

v0.6.8

Compare Source

  • (fix) take arrow function into account when adding return type (#​1934)

v0.6.7

Compare Source

  • (fix) check return type of API methods

v0.6.6

Compare Source

  • (fix) correct request handler event type for SvelteKit auto-typings

v0.6.5

Compare Source

invalid release, don't use

v0.6.4

Compare Source

  • (internal) create interhal helpers for language server / typescript plugin
  • (fix) allow more actions on one element
  • (fix) remove overzealous $$Props check (#​1920)

v0.6.3

Compare Source

v0.6.2

Compare Source

  • (fix) set rootDir in emitDts for consistent output structure (#​1886)
  • (fix) add data-sveltekit-replacestate/-keepfocus to SvelteKit anchor tag props (#​1865)
  • (fix) no error with unkown props if uses $$restProps (#​1887)
  • (chore) remove old transformation (#​1858)

v0.6.1

Compare Source

  • (fix) adjust sourcemap paths when emitting d.ts.map files (#​1851)

v0.6.0

Compare Source

BREAKING CHANGES

  • the old transformation is no longer available. If you're using the svelte.JSX namespace in your projects, you should migrate accordingly
  • minimum required Node version is now 16
  • minimum required TypeScript version is now 4.9
  • minimum required Svelte version is now 3.55

v0.5.23

Compare Source

  • (fix) move interface if referenced by generic (#​1791)
  • (fix) data-sveltekit attributes are valid on all elements (#​1773)
  • (fix) no error with unkown props if uses $$props (#​1769)

v0.5.22

Compare Source

v0.5.21

Compare Source

  • (fix) update SvelteKit anchor tag props (#​1682)
  • (fix) type error for component with no props (#​1744)
  • (fix) prevent spell-check suggesting generated variable (#​1738)
  • (fix) generic support for component getter and accessor (#​1689)
  • (fix) allow falsy values for svelte:component (#​1694)
  • (fix) skip forwarded event from svelte:self (#​1693)

v0.5.20

Compare Source

  • (fix) relax event handler typings (#​1502)
  • (fix) ensure correct typings are accessed (#​1675)

v0.5.19

Compare Source

  • (fix) add JSDoc before the export keyword in quick-fix (#​1643)
  • (fix) ts-nocheck, ts-ignore code action for module script (#​1648)
  • (fix) don't blank non-top-level scripts (#​1662)

v0.5.18

Compare Source

New transformation:

  • (fix) use let for #each block (#​1636)
  • (fix) better backwards compatibility (#​1640)
  • (fix) more robust check for block start (#​1641)

v0.5.17

Compare Source

  • (fix) prevent crash during completions (#​1629)
  • (fix) new line before the JSDoc of the first import (#​1621)
  • (fix) style directive with multiple values (#​1632)

v0.5.16

Compare Source

  • (fix) add a missing file in 0.5.15

New transformation:

  • (feat) enable actions to enhance typings on applied element (not usable yet, requires pending Svelte PR) (#​1553)
  • (feat) preserve bind: for better type checking of HTML elements (#​1596)
  • (feat) keep colon while transforming events (#​1549)

v0.5.15

Compare Source

  • (fix) extract name in destructuring with default in reactive statement (#​1605)

New transformation:

  • (feat) enable actions to enhance typings on applied element (not usable yet, requires pending Svelte PR) (#​1553)
  • (feat) preserve bind: for better type checking of HTML elements (#​1596)
  • (feat) keep colon while transforming events (#​1549)

v0.5.14

Compare Source

  • (fix) allow SapperAnchorProps & SvelteKitAnchorProps on svelte:element (#​1577)

v0.5.13

Compare Source

  • (feat) support inert attribute (#​1565)

v0.5.12

Compare Source

  • (feat) use SvelteComponentTyped if available for some typings (#​1548)

New transformation:

  • (fix) adjust special element typings (#​1547)

v0.5.11

Compare Source

  • (feat) support TypeScript 4.7 group aware organize import (#​1515)
  • (fix) store rework (#​1531)

v0.5.10

Compare Source

  • (feat) support const tag in if block (#​1478)

New transformation

  • (fix) better mapping for empty text attribute (#​1483)

v0.5.9

Compare Source

  • (fix) more robust transformation for reactive declare with destructure (#​1442)
  • (fix) relax tag mapping for <svelte:element> (#​1443)
  • (fix) add ping attribute for (#​1450)

v0.5.8

Compare Source

  • (feat) add support for <svelte:element> (#​1437)

v0.5.7

Compare Source

  • (feat) add sveltekit:reload (#​1431)
  • (fix) allow null and undefined for style and class directives (#​1432)
  • (fix) more robust handling of script tags in {@&#8203;html ..} tags (#​1433)

v0.5.6

Compare Source

  • (fix) $store++/$store-- return type (#​1395)
  • (fix) make uninitialized props be typed as any (#​1410)

Configuration

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • 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 changed the title chore(deps): update dependency svelte2tsx to v0.5.9 chore(deps): update dependency svelte2tsx to v0.5.10 May 14, 2022
@renovate renovate bot force-pushed the renovate/svelte2tsx-0.x branch from 4b8c2e1 to f202919 Compare May 14, 2022 17:31
@renovate renovate bot changed the title chore(deps): update dependency svelte2tsx to v0.5.10 chore(deps): update dependency svelte2tsx to v0.5.18 Sep 25, 2022
@renovate renovate bot changed the title chore(deps): update dependency svelte2tsx to v0.5.18 chore(deps): update dependency svelte2tsx to v0.5.20 Nov 20, 2022
@renovate renovate bot force-pushed the renovate/svelte2tsx-0.x branch from ca597b5 to b9c2b31 Compare March 18, 2023 07:57
@renovate renovate bot changed the title chore(deps): update dependency svelte2tsx to v0.5.20 chore(deps): update dependency svelte2tsx to v0.6.10 Mar 18, 2023
@renovate
Copy link
Contributor Author

renovate bot commented Mar 18, 2023

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/svelte
npm ERR!   dev svelte@"3.46.4" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer svelte@"^3.55 || ^4.0.0-next.0 || ^4.0 || ^5.0.0-next.0" from [email protected]
npm ERR! node_modules/svelte2tsx
npm ERR!   dev svelte2tsx@"0.7.8" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /tmp/renovate/cache/others/npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /tmp/renovate/cache/others/npm/_logs/2024-05-02T21_11_38_441Z-debug-0.log

@renovate renovate bot force-pushed the renovate/svelte2tsx-0.x branch from b9c2b31 to 467d9c7 Compare May 31, 2023 01:55
@renovate renovate bot changed the title chore(deps): update dependency svelte2tsx to v0.6.10 chore(deps): update dependency svelte2tsx to v0.6.15 May 31, 2023
@renovate renovate bot force-pushed the renovate/svelte2tsx-0.x branch from 467d9c7 to f936472 Compare June 21, 2023 19:29
@renovate renovate bot changed the title chore(deps): update dependency svelte2tsx to v0.6.15 chore(deps): update dependency svelte2tsx to v0.6.16 Jun 21, 2023
@renovate renovate bot force-pushed the renovate/svelte2tsx-0.x branch from f936472 to 8abb597 Compare July 6, 2023 13:36
@renovate renovate bot changed the title chore(deps): update dependency svelte2tsx to v0.6.16 chore(deps): update dependency svelte2tsx to v0.6.17 Jul 6, 2023
@renovate renovate bot force-pushed the renovate/svelte2tsx-0.x branch from 8abb597 to ce3b354 Compare July 6, 2023 18:33
@renovate renovate bot changed the title chore(deps): update dependency svelte2tsx to v0.6.17 chore(deps): update dependency svelte2tsx to v0.6.19 Jul 6, 2023
@renovate renovate bot changed the title chore(deps): update dependency svelte2tsx to v0.6.19 chore(deps): update dependency svelte2tsx to v0.6.20 Aug 11, 2023
@renovate renovate bot changed the title chore(deps): update dependency svelte2tsx to v0.6.20 chore(deps): update dependency svelte2tsx to v0.6.21 Aug 29, 2023
@renovate renovate bot changed the title chore(deps): update dependency svelte2tsx to v0.6.21 chore(deps): update dependency svelte2tsx to v0.6.22 Sep 19, 2023
@renovate renovate bot changed the title chore(deps): update dependency svelte2tsx to v0.6.22 chore(deps): update dependency svelte2tsx to v0.6.23 Oct 10, 2023
@renovate renovate bot changed the title chore(deps): update dependency svelte2tsx to v0.6.23 chore(deps): update dependency svelte2tsx to v0.6.24 Nov 10, 2023
@renovate renovate bot changed the title chore(deps): update dependency svelte2tsx to v0.6.24 chore(deps): update dependency svelte2tsx to v0.6.25 Nov 10, 2023
@renovate renovate bot force-pushed the renovate/svelte2tsx-0.x branch from c13374c to 0ed5b27 Compare May 29, 2024 16:33
@renovate renovate bot changed the title chore(deps): update dependency svelte2tsx to v0.7.8 chore(deps): update dependency svelte2tsx to v0.7.9 May 29, 2024
Copy link
Contributor Author

renovate bot commented May 29, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/svelte
npm ERR!   dev svelte@"3.46.4" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer svelte@"^3.55 || ^4.0.0-next.0 || ^4.0 || ^5.0.0-next.0" from [email protected]
npm ERR! node_modules/svelte2tsx
npm ERR!   dev svelte2tsx@"0.7.23" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /tmp/renovate/cache/others/npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /tmp/renovate/cache/others/npm/_logs/2024-11-08T14_15_46_866Z-debug-0.log

@renovate renovate bot force-pushed the renovate/svelte2tsx-0.x branch from 0ed5b27 to e238784 Compare June 17, 2024 23:21
@renovate renovate bot changed the title chore(deps): update dependency svelte2tsx to v0.7.9 chore(deps): update dependency svelte2tsx to v0.7.10 Jun 17, 2024
@renovate renovate bot force-pushed the renovate/svelte2tsx-0.x branch from e238784 to 71dc411 Compare June 24, 2024 17:33
@renovate renovate bot changed the title chore(deps): update dependency svelte2tsx to v0.7.10 chore(deps): update dependency svelte2tsx to v0.7.11 Jun 24, 2024
@renovate renovate bot force-pushed the renovate/svelte2tsx-0.x branch from 71dc411 to fdf893d Compare June 26, 2024 11:04
@renovate renovate bot changed the title chore(deps): update dependency svelte2tsx to v0.7.11 chore(deps): update dependency svelte2tsx to v0.7.12 Jun 26, 2024
@renovate renovate bot force-pushed the renovate/svelte2tsx-0.x branch from fdf893d to a2d6b89 Compare June 26, 2024 16:53
@renovate renovate bot changed the title chore(deps): update dependency svelte2tsx to v0.7.12 chore(deps): update dependency svelte2tsx to v0.7.13 Jun 26, 2024
@renovate renovate bot force-pushed the renovate/svelte2tsx-0.x branch from a2d6b89 to 54ffdca Compare July 30, 2024 16:31
@renovate renovate bot changed the title chore(deps): update dependency svelte2tsx to v0.7.13 chore(deps): update dependency svelte2tsx to v0.7.15 Jul 30, 2024
@renovate renovate bot changed the title chore(deps): update dependency svelte2tsx to v0.7.15 chore(deps): update dependency svelte2tsx to v0.7.16 Aug 22, 2024
@renovate renovate bot changed the title chore(deps): update dependency svelte2tsx to v0.7.16 chore(deps): update dependency svelte2tsx to v0.7.17 Sep 2, 2024
@renovate renovate bot changed the title chore(deps): update dependency svelte2tsx to v0.7.17 chore(deps): update dependency svelte2tsx to v0.7.18 Sep 4, 2024
@renovate renovate bot changed the title chore(deps): update dependency svelte2tsx to v0.7.18 chore(deps): update dependency svelte2tsx to v0.7.19 Sep 12, 2024
@renovate renovate bot changed the title chore(deps): update dependency svelte2tsx to v0.7.19 chore(deps): update dependency svelte2tsx to v0.7.20 Sep 26, 2024
@renovate renovate bot changed the title chore(deps): update dependency svelte2tsx to v0.7.20 chore(deps): update dependency svelte2tsx to v0.7.21 Sep 27, 2024
@renovate renovate bot changed the title chore(deps): update dependency svelte2tsx to v0.7.21 chore(deps): update dependency svelte2tsx to v0.7.22 Oct 11, 2024
@renovate renovate bot changed the title chore(deps): update dependency svelte2tsx to v0.7.22 chore(deps): update dependency svelte2tsx to v0.7.23 Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants