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

Update dependency @total-typescript/ts-reset to ^0.6.0 #7

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

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Sep 10, 2023

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 - "before 3am on Monday" in timezone Asia/Manila, 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 force-pushed the renovate/total-typescript-ts-reset-0.x branch from 9ec247f to 28ae3ba Compare August 18, 2024 17:45
@renovate renovate bot requested a review from mplibunao as a code owner August 18, 2024 17:45
Copy link
Author

renovate bot commented Aug 18, 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: pnpm-lock.yaml
Scope: all 5 workspace projects
 WARN  GET https://registry.npmjs.org/husky/-/husky-8.0.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/turbo/-/turbo-1.8.5.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/typescript/-/typescript-5.1.6.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@remix-run/dev/-/dev-2.0.1.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@remix-run/serve/-/serve-2.0.1.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@swc/core/-/core-1.3.71.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.1.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@testing-library/jest-dom/-/jest-dom-5.16.5.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@types/compression/-/compression-1.7.2.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@types/escape-html/-/escape-html-1.0.2.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@types/express/-/express-4.17.17.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.35.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@types/minimist/-/minimist-1.2.2.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@types/node/-/node-20.4.1.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@total-typescript%2Fts-reset error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/class-variance-authority error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/husky/-/husky-8.0.0.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/turbo/-/turbo-1.8.5.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/typescript/-/typescript-5.1.6.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@remix-run/dev/-/dev-2.0.1.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@remix-run/serve/-/serve-2.0.1.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@swc/core/-/core-1.3.71.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.1.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@testing-library/jest-dom/-/jest-dom-5.16.5.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@types/compression/-/compression-1.7.2.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@types/escape-html/-/escape-html-1.0.2.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@types/express/-/express-4.17.17.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.35.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@types/minimist/-/minimist-1.2.2.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@types/node/-/node-20.4.1.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@total-typescript%2Fts-reset error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/class-variance-authority error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@types/overload-protection/-/overload-protection-1.2.1.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 ERR_INVALID_THIS  Value of "this" must be of type URLSearchParams

pnpm [ERR_INVALID_THIS]: Value of "this" must be of type URLSearchParams
    at Proxy.getAll (node:internal/url:535:13)
    at Proxy.<anonymous> (/opt/containerbase/tools/pnpm/8.2.0/20.17.0/node_modules/pnpm/dist/pnpm.cjs:60566:55)
    at /opt/containerbase/tools/pnpm/8.2.0/20.17.0/node_modules/pnpm/dist/pnpm.cjs:60628:31
    at Array.reduce (<anonymous>)
    at Proxy.raw (/opt/containerbase/tools/pnpm/8.2.0/20.17.0/node_modules/pnpm/dist/pnpm.cjs:60627:33)
    at new Headers (/opt/containerbase/tools/pnpm/8.2.0/20.17.0/node_modules/pnpm/dist/pnpm.cjs:60512:28)
    at getNodeRequestOptions (/opt/containerbase/tools/pnpm/8.2.0/20.17.0/node_modules/pnpm/dist/pnpm.cjs:60861:23)
    at /opt/containerbase/tools/pnpm/8.2.0/20.17.0/node_modules/pnpm/dist/pnpm.cjs:60918:25
    at new Promise (<anonymous>)
    at fetch (/opt/containerbase/tools/pnpm/8.2.0/20.17.0/node_modules/pnpm/dist/pnpm.cjs:60916:14)
 WARN  GET https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.6.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@types/testing-library__jest-dom/-/testing-library__jest-dom-5.14.7.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-4.0.3.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@vitest/coverage-v8/-/coverage-v8-0.33.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.14.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/cross-env/-/cross-env-7.0.3.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/css-loader/-/css-loader-6.8.1.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/esbuild/-/esbuild-0.17.19.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/eslint/-/eslint-8.44.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/execa/-/execa-7.2.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/globby/-/globby-13.2.2.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/icon-pipeline/-/icon-pipeline-0.1.3.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.

@renovate renovate bot force-pushed the renovate/total-typescript-ts-reset-0.x branch from 28ae3ba to b7b9813 Compare August 25, 2024 18:00
@renovate renovate bot changed the title Update dependency @total-typescript/ts-reset to ^0.5.0 Update dependency @total-typescript/ts-reset to ^0.6.0 Aug 25, 2024
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