Skip to content
This repository has been archived by the owner on Dec 30, 2023. It is now read-only.

chore(Renovate): ⬆️ Update dependencies - autoclosed #11

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 10, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@total-typescript/ts-reset 0.3.7 -> 0.4.2 age adoption passing confidence
eslint (source) 8.33.0 -> 8.36.0 age adoption passing confidence
jsdom 21.1.0 -> 21.1.1 age adoption passing confidence
lint-staged 13.1.0 -> 13.2.0 age adoption passing confidence
magic-regexp 0.6.2 -> 0.6.3 age adoption passing confidence
prettier (source) 2.8.3 -> 2.8.4 age adoption passing confidence
syncpack 8.4.11 -> 8.5.14 age adoption passing confidence
tsup (source) 6.5.0 -> 6.6.3 age adoption passing confidence
tsx 3.12.3 -> 3.12.5 age adoption passing confidence
turbo (source) 1.7.4 -> 1.8.3 age adoption passing confidence
type-fest 3.5.7 -> 3.6.1 age adoption passing confidence
vitest 0.28.4 -> 0.29.2 age adoption passing confidence
zod (source) 3.20.6 -> 3.21.4 age adoption passing confidence

Release Notes

total-typescript/ts-reset

v0.4.2

0.4.2

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
    }

    Removing the type predicate brings ts-reset closer towards correctness.

  • 4765413: author: @​mefechoel

    Added the Map.has rule.

    Similar to .includes or Set.has(), Map.has() doesn't let you pass members that don't exist in the map's keys:

    // BEFORE
    const userMap = new Map([
      ["matt", 0],
      ["sofia", 1],
      [2, "waqas"],
    ] as const);
    
    // Argument of type '"bryan"' is not assignable to
    // parameter of type '"matt" | "sofia" | "waqas"'.
    userMap.has("bryan");

    With the rule enabled, Map follows the same semantics as Set.

    // AFTER
    import "@&#8203;total-typescript/ts-reset/map-has";
    
    const userMap = new Map([
      ["matt", 0],
      ["sofia", 1],
      [2, "waqas"],
    ] as const);
    
    // .has now takes a string as the argument!
    userMap.has("bryan");
Patch Changes
  • b15aaa4: Fixed an oversight with the initial set-has implementation by adding support to ReadonlySet.

v0.4.1

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

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

    Removing the type predicate brings ts-reset closer towards correctness.

  • 4765413: author: @​mefechoel

    Added the Map.has rule.

    Similar to .includes or Set.has(), Map.has() doesn't let you pass members that don't exist in the map's keys:

    // BEFORE
    const userMap = new Map([
      ["matt", 0],
      ["sofia", 1],
      [2, "waqas"],
    ] as const);
    
    // Argument of type '"bryan"' is not assignable to
    // parameter of type '"matt" | "sofia" | "waqas"'.
    userMap.has("bryan");

    With the rule enabled, Map follows the same semantics as Set.

    // AFTER
    import "@&#8203;total-typescript/ts-reset/map-has";
    
    const userMap = new Map([
      ["matt", 0],
      ["sofia", 1],
      [2, "waqas"],
    ] as const);
    
    // .has now takes a string as the argument!
    userMap.has("bryan");
Patch Changes
  • b15aaa4: Fixed an oversight with the initial set-has implementation by adding support to ReadonlySet.
eslint/eslint

v8.36.0

Compare Source

Features

Bug Fixes

  • 92c1943 fix: correctly iterate files matched by glob patterns (#​16831) (Nitin Kumar)

Documentation

  • b98fdd4 docs: Update README (GitHub Actions Bot)
  • caf08ce docs: fix estree link in custom formatters docs (#​16967) (Milos Djermanovic)
  • 3398431 docs: Custom Parsers cleanup/expansion (#​16887) (Ben Perlmutter)
  • 19d3531 docs: Update README (GitHub Actions Bot)
  • b09a512 docs: detect and fix broken links (#​16837) (Nitin Kumar)

Chores

v8.35.0

Compare Source

Features

  • 8e34a04 feat: add afterHashbangComment option to lines-around-comment rule (#​16920) (SUZUKI Sosuke)
  • c8c0c71 feat: Move all and recommended configs into package. (#​16844) (Nicholas C. Zakas)
  • 71f6f0d feat: report more cases with ?? in no-constant-binary-expression (#​16826) (Daiki Nishikawa)

Bug Fixes

Documentation

Chores

v8.34.0

Compare Source

Features

  • 9b2fcf7 feat: array-callback-return supports Array.prototype.toSorted (#​16845) (SUZUKI Sosuke)

Bug Fixes

  • 923f61d fix: false positive with assignment in no-extra-parens (#​16872) (Francesco Trotta)

Documentation

Chores

jsdom/jsdom

v21.1.1

Compare Source

  • Fixed jsdom.reconfigure() to also adjust the URL as seen by the history API, so that e.g. history.replaceState(null, "") would not mess up the URL. (jdufresne)
  • Fixed location.hash = "" to leave any # in location.href.
  • Fixes a few bugs with CSS parsing by replacing cssom with rweb-cssom, since the latter is maintained. (seanparmelee)
okonet/lint-staged

v13.2.0

Compare Source

Bug Fixes
  • dependencies: replace colorette with chalk for better color support detection (f598725)
  • use index-based stash references for improved MSYS2 compatibility (#​1270) (60fcd99)
Features

v13.1.4

Compare Source

v13.1.3

Compare Source

v13.1.2

Compare Source

Bug Fixes

v13.1.1

Compare Source

Bug Fixes
  • allow re-enabling --stash when using the --diff option (99390c3)
danielroe/magic-regexp

v0.6.3

Compare Source

   🚀 Features
    View changes on GitHub
prettier/prettier

v2.8.4

Compare Source

diff

Fix leading comments in mapped types with readonly (#​13427 by @​thorn0, @​sosukesuzuki)
// Input
type Type = {
  // comment
  readonly [key in Foo];
};

// Prettier 2.8.3
type Type = {
  readonly // comment
  [key in Foo];
};

// Prettier 2.8.4
type Type = {
  // comment
  readonly [key in Foo];
};
Group params in opening block statements (#​14067 by @​jamescdavis)

This is a follow-up to #​13930 to establish wrapping consistency between opening block statements and else blocks by
grouping params in opening blocks. This causes params to break to a new line together and not be split across lines
unless the length of params exceeds the print width. This also updates the else block wrapping to behave exactly the
same as opening blocks.

{{! Input }}
{{#block param param param param param param param param param param as |blockParam|}}
  Hello
{{else block param param param param param param param param param param as |blockParam|}}
  There
{{/block}}

{{! Prettier 2.8.3 }}
{{#block
  param
  param
  param
  param
  param
  param
  param
  param
  param
  param
  as |blockParam|
}}
  Hello
{{else block param
param
param
param
param
param
param
param
param
param}}
  There
{{/block}}

{{! Prettier 2.8.4 }}
{{#block
  param param param param param param param param param param
  as |blockParam|
}}
  Hello
{{else block
  param param param param param param param param param param
  as |blockParam|
}}
  There
{{/block}}
Ignore files in .sl/ (#​14206 by @​bolinfest)

In Sapling SCM, .sl/ is the folder where it stores its state, analogous to .git/ in Git. It should be ignored in Prettier like the other SCM folders.

Recognize @satisfies in Closure-style type casts (#​14262 by @​fisker)
// Input
const a = /** @&#8203;satisfies {Record<string, string>} */ ({hello: 1337});
const b = /** @&#8203;type {Record<string, string>} */ ({hello: 1337});

// Prettier 2.8.3
const a = /** @&#8203;satisfies {Record<string, string>} */ { hello: 1337 };
const b = /** @&#8203;type {Record<string, string>} */ ({ hello: 1337 });

// Prettier 2.8.4
const a = /** @&#8203;satisfies {Record<string, string>} */ ({hello: 1337});
const b = /** @&#8203;type {Record<string, string>} */ ({hello: 1337});
Fix parens in inferred function return types with extends (#​14279 by @​fisker)
// Input
type Foo<T> = T extends ((a) => a is infer R extends string) ? R : never;

// Prettier 2.8.3 (First format)
type Foo<T> = T extends (a) => a is infer R extends string ? R : never;

// Prettier 2.8.3 (Second format)
SyntaxError: '?' expected. 

// Prettier 2.8.4
type Foo<T> = T extends ((a) => a is infer R extends string) ? R : never;
JamieMason/syncpack

v8.5.14

Compare Source

Bug Fixes
  • npm: update dependencies (f2c0322)
  • npm: update dependencies (3ec1361)
  • output: remove console.log in readConfigFileSync (1c51366), closes #​106
Features
  • cli: tidy log output and make it more consistent (cb58070)
egoist/tsup

v6.6.3

Compare Source

Bug Fixes

v6.6.2

Compare Source

Bug Fixes

v6.6.1

Compare Source

Bug Fixes
  • types: make sure enum starts with declare keyword (a85439d), closes #​834

v6.6.0

Compare Source

Bug Fixes
Features
esbuild-kit/tsx

v3.12.5

Compare Source

Bug Fixes
  • watch: ignore hidden files (afa3c78)

v3.12.4

Compare Source

Bug Fixes
vercel/turbo

v1.8.3: Turborepo v1.8.3

Compare Source

What's Changed

Changelog

New Contributors

Full Changelog: vercel/turborepo@v1.8.2...v1.8.3

v1.8.2: Turborepo v1.8.2

Compare Source

What's Changed

Changelog

New Contributors

Full Changelog: vercel/turborepo@v1.8.1...v1.8.2

v1.8.1: Turborepo v1.8.1

Compare Source

What's Changed

Changelog

Full Changelog: vercel/turborepo@v1.8.0...v1.8.1

v1.8.0: Turborepo v1.8.0

Compare Source

Blog Post

Turborepo 1.8

What's Changed

Changelog

New Contributors

Full Changelog: vercel/turborepo@v1.7.4...v1.8.0

sindresorhus/type-fest

v3.6.1

Compare Source

v3.6.0

Compare Source

New types
Fixes
vitest-dev/vitest

v0.29.2

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v0.29.1

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v0.29.0

Compare Source

This release makes some significant changes to how tests are running. If you were using --no-threads before, you might consider enabling --single-thread instead (because your tests are now running in child_process instead of a worker thread) or try our new performance optimization feature (discussed later). If you were relying on API that was not available inside a worker (like process.chdir(), you can now use this option.

One of the potential breaking bug fixes is that environments do not share the same global scope anymore if you run them with --no-isolate, --no-threads or --single-thread - you might need to update your setup files if you were relying on a global variable before.

If you had performance issues on large code bases before, try the new deps.experimentalOptimizer option instead of disabling threads. Feedback is welcome!

One of the breaking changes includes adding a link to snapshots inside snapshot files, meaning you will need to update all your snapshots.

   🚨 Breaking Changes

Configuration

📅 Schedule: Branch creation - "after 10pm every weekday,on sunday,before 5am every weekday" in timezone Asia/Taipei, 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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from a team January 10, 2023 15:46
@renovate renovate bot added 🧩 dependencies Related to the dependencies 🧰 project Related to the project repository management labels Jan 10, 2023
@ghost
Copy link

ghost commented Jan 10, 2023

👇 Click on the image for a new way to code review

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map legend

@github-actions
Copy link
Contributor

github-actions bot commented Jan 10, 2023

Size Change: -88 B (0%)

Total Size: 32.8 kB

Filename Size Change
./packages/runtime/dist/main.js 1.67 kB -4 B (0%)
./packages/runtime/dist/module/module.js 730 B -7 B (-1%)
./packages/test/dist/main.js 2.63 kB -23 B (-1%)
./packages/test/dist/sample/groups/boolean.js 175 B -13 B (-7%)
./packages/test/dist/sample/groups/nan.js 116 B -3 B (-3%)
./packages/test/dist/sample/groups/number.js 258 B -4 B (-2%)
./packages/test/dist/sample/groups/string.js 317 B -10 B (-3%)
./packages/test/dist/sample/sample.js 1.2 kB -24 B (-2%)
ℹ️ View Unchanged
Filename Size
./packages/config/dist/main.js 700 B
./packages/config/dist/merge/merge.js 163 B
./packages/config/dist/read/read.js 651 B
./packages/error/dist/built-in/built-in.js 350 B
./packages/error/dist/custom/custom.js 328 B
./packages/error/dist/main.js 514 B
./packages/extension/dist/main.js 481 B
./packages/extension/dist/schema/groups/html.js 201 B
./packages/extension/dist/schema/groups/javascript.js 221 B
./packages/extension/dist/schema/groups/json.js 207 B
./packages/extension/dist/schema/groups/markdown.js 210 B
./packages/extension/dist/schema/groups/stylesheet.js 221 B
./packages/extension/dist/schema/groups/typescript.js 221 B
./packages/extension/dist/schema/groups/yaml.js 202 B
./packages/extension/dist/schema/schema.js 483 B
./packages/function/dist/main.js 528 B
./packages/function/dist/schema/schema.js 530 B
./packages/regexp/dist/creator/creator.js 367 B
./packages/regexp/dist/main.js 631 B
./packages/runtime/dist/environment/environment.js 684 B
./packages/runtime/dist/error/error.js 150 B
./packages/runtime/dist/scope/scope.js 1.01 kB
./packages/runtime/dist/variable/variable.js 937 B
./packages/snippets/dist/main.js 151 B
./packages/string/dist/case/case.js 87 B
./packages/string/dist/char/char.js 1.07 kB
./packages/string/dist/main.js 1.66 kB
./packages/string/dist/schema/schema.js 270 B
./packages/string/dist/word/word.js 270 B
./packages/test/dist/emoji/emoji.js 839 B
./packages/test/dist/sample/groups/array.js 126 B
./packages/test/dist/sample/groups/bigint.js 211 B
./packages/test/dist/sample/groups/date.js 133 B
./packages/test/dist/sample/groups/function.js 709 B
./packages/test/dist/sample/groups/infinity.js 140 B
./packages/test/dist/sample/groups/map.js 152 B
./packages/test/dist/sample/groups/null.js 102 B
./packages/test/dist/sample/groups/object.js 135 B
./packages/test/dist/sample/groups/regexp.js 126 B
./packages/test/dist/sample/groups/set.js 132 B
./packages/test/dist/sample/groups/symbol.js 169 B
./packages/test/dist/sample/groups/undefined.js 119 B
./packages/test/dist/unit/unit.js 1.44 kB
./packages/type/dist/built-in/built-in.js 1.49 kB
./packages/type/dist/built-in/groups/control-abstraction.js 339 B
./packages/type/dist/built-in/groups/error.js 308 B
./packages/type/dist/built-in/groups/fundamental.js 262 B
./packages/type/dist/built-in/groups/indexed-collection.js 379 B
./packages/type/dist/built-in/groups/internationalization.js 224 B
./packages/type/dist/built-in/groups/keyed-collection.js 262 B
./packages/type/dist/built-in/groups/managing-memory.js 250 B
./packages/type/dist/built-in/groups/number-and-date.js 270 B
./packages/type/dist/built-in/groups/reflection.js 227 B
./packages/type/dist/built-in/groups/structured-data.js 291 B
./packages/type/dist/built-in/groups/test-processing.js 236 B
./packages/type/dist/constructor/constructor.js 334 B
./packages/type/dist/main.js 1.96 kB
./packages/type/dist/non-primitive/non-primitive.js 348 B
./packages/type/dist/primitive/primitive.js 504 B

compressed-size-action

@coveralls
Copy link
Collaborator

coveralls commented Jan 14, 2023

Pull Request Test Coverage Report for Build 4284654719

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 4284646311: 0.0%
Covered Lines: 295
Relevant Lines: 295

💛 - Coveralls

@changeset-bot
Copy link

changeset-bot bot commented Jan 16, 2023

⚠️ No Changeset found

Latest commit: e9268cc

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@renovate renovate bot force-pushed the renovate/dependencies branch 3 times, most recently from a438126 to 50d938c Compare January 17, 2023 09:41
@xeho91 xeho91 force-pushed the main branch 14 times, most recently from 1e291a5 to d4ef467 Compare January 17, 2023 11:19
@renovate renovate bot force-pushed the renovate/dependencies branch 20 times, most recently from 2240b5d to cba12fe Compare March 15, 2023 18:56
@renovate renovate bot force-pushed the renovate/dependencies branch 4 times, most recently from 2c0beab to 9935357 Compare March 16, 2023 17:22
@sonarcloud
Copy link

sonarcloud bot commented Mar 16, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@renovate renovate bot changed the title chore(Renovate): ⬆️ Update dependencies chore(Renovate): ⬆️ Update dependencies - autoclosed Mar 16, 2023
@renovate renovate bot closed this Mar 16, 2023
@renovate renovate bot deleted the renovate/dependencies branch March 16, 2023 17:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🧩 dependencies Related to the dependencies 🧰 project Related to the project repository management
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant