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 @total-typescript/ts-reset to ^0.6.0 #488

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 6, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@total-typescript/ts-reset (source) ^0.4.2 -> ^0.6.0 age adoption passing confidence

Release Notes

total-typescript/ts-reset (@​total-typescript/ts-reset)

v0.6.1

Patch Changes
  • 757be40: Fixed a bug where creating an empty map would no longer infer types correctly.

v0.6.0

Minor Changes
  • 6574858: Added a rule, /map-constructor, to default Map to Map<unknown, unknown> when no arguments are passed to the constructor.

    Before, you'd get any for both key and value types. Now, the result of Map.get is unknown instead of any:

    const userMap = new Map();
    
    const value = userMap.get("matt"); // value: unknown

    This now is part of the recommended rules.

  • 5bf3a15: Added a rule, /promise-catch, to change the catch method to take unknown instead of any as an argument.

    const promise = Promise.reject("error");
    
    // BEFORE
    
    promise.catch((error) => {
      console.error(error); // error is any!
    });
    
    // AFTER
    
    promise.catch((error) => {
      console.error(error); // error is unknown!
    });
Patch Changes
  • 53cee4f: author: @​none23

    Fixed a bug where running .filter on a union of arrays would not work.

v0.5.1

Patch Changes
  • Added homepage for npm purposes.

v0.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.


Configuration

📅 Schedule: Branch creation - "* 0-3 * * 1" (UTC), 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 added dependencies Pull requests that update a dependency file javascript labels Jan 6, 2025
@renovate renovate bot requested a review from a team as a code owner January 6, 2025 00:17
Copy link

netlify bot commented Jan 6, 2025

Deploy Preview for remix-serverless ready!

Name Link
🔨 Latest commit 76d3478
🔍 Latest deploy log https://app.netlify.com/sites/remix-serverless/deploys/677b210cb8559f00087a84a0
😎 Deploy Preview https://deploy-preview-488--remix-serverless.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@github-actions github-actions bot added the type: chore work needed to keep the product and development running smoothly label Jan 6, 2025
Copy link

netlify bot commented Jan 6, 2025

Deploy Preview for remix-edge ready!

Name Link
🔨 Latest commit 76d3478
🔍 Latest deploy log https://app.netlify.com/sites/remix-edge/deploys/677b210c7f273400088ef45c
😎 Deploy Preview https://deploy-preview-488--remix-edge.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript type: chore work needed to keep the product and development running smoothly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants