pyscript-react icon indicating copy to clipboard operation
pyscript-react copied to clipboard

Bump @total-typescript/ts-reset from 0.4.2 to 0.5.1

Open dependabot[bot] opened this issue 2 years ago • 0 comments

Bumps @total-typescript/ts-reset from 0.4.2 to 0.5.1.

Changelog

Sourced from @​total-typescript/ts-reset's changelog.

0.5.1

Patch Changes

  • Added homepage for npm purposes.

0.5.0

Minor Changes

  • 49b8603: Added a rule, /session, to make sessionStorage and localStorage safer.

    // Is now typed as `unknown`, not `any`!
    localStorage.a;
    

    // Is now typed as unknown, not any! sessionStorage.abc;

  • 49b8603: Added a /dom entrypoint to allow users to import DOM-only rules.

0.4.1

Patch Changes

  • No changes, just pushing to fix the previous slightly borked release.

0.4.0

Minor Changes

  • ce9db42: Added support for widening in Array.lastIndexOf, Array.indexOf, ReadonlyArray.lastIndexOf and ReadonlyArray.indexOf.

  • 107dfc2: Changed the array.includes on readonly arrays to NOT be a type predicate. Before this change, this perfectly valid code would not behave correctly.

    type Code = 0 | 1 | 2;
    type SpecificCode = 0 | 1;
    

    const currentCode: Code = 0;

    // Create an empty list of subset type const specificCodeList: ReadonlyArray<SpecificCode> = [];

    // This will be false, since 0 is not in [] if (specificCodeList.includes(currentCode)) { currentCode; // -> SpecificCode } else { // This branch will be entered, and ts will think z is 2, when it is actually 0 currentCode; // -> 2

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

dependabot[bot] avatar Aug 17 '23 19:08 dependabot[bot]