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 all dependencies #362

Merged
merged 1 commit into from
Sep 1, 2023
Merged

chore(deps): update all dependencies #362

merged 1 commit into from
Sep 1, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 1, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@types/jest (source) 29.5.3 -> 29.5.4 age adoption passing confidence
@types/node (source) 18.17.5 -> 18.17.12 age adoption passing confidence
glob 10.3.3 -> 10.3.4 age adoption passing confidence
jest (source) 29.6.2 -> 29.6.4 age adoption passing confidence
lint-staged ^13.1.0 -> ^14.0.0 age adoption passing confidence
prettier (source) ^2.8.1 -> ^3.0.0 age adoption passing confidence
typedoc (source) ^0.24.0 -> ^0.25.0 age adoption passing confidence

Release Notes

isaacs/node-glob (glob)

v10.3.4

Compare Source

jestjs/jest (jest)

v29.6.4

Compare Source

Fixes
  • [jest-core] Fix typo in scheduleAndRun performance marker (#​14434)
  • [jest-environment-node] Make sure atob and btoa are writeable in Node 20 (#​14446)
  • [jest-worker] Additional error wrapper for parentPort.postMessage to fix unhandled DataCloneError. (#​14437)

v29.6.3

Compare Source

Fixes
  • [expect, @​jest/expect-utils] ObjectContaining support sumbol as key (#​14414)
  • [expect] Remove @types/node from dependencies (#​14385)
  • [jest-core] Use workers in watch mode by default to avoid crashes (#​14059 & #​14085).
  • [jest-reporters] Update istanbul-lib-instrument dependency to v6. (#​14401)
  • [jest-mock] Revert #​13692 as it was a breaking change (#​14429)
  • [jest-mock] Revert #​13866 as it was a breaking change (#​14429)
  • [jest-mock] Revert #​13867 as it was a breaking change (#​14429)
  • [@jest/reporters] Marks Reporter's hooks as optional (#​14433)
  • [jest-runtime] Fix dynamic ESM import module bug when loaded module through jest.isolateModulesAsync (#​14397)
Chore & Maintenance
  • [jest-changed-files, jest-circus, jest-console, @​jest/core, @​jest/runtime, @​jest/transform] Use invariant and notEmpty from jest-util rather than own internal (#​14366)
okonet/lint-staged (lint-staged)

v14.0.1

Compare Source

Bug Fixes
  • fix reading config from stdin, introduced in v14.0.0 (#​1317) (fc3bfea)

v14.0.0

Compare Source

Features
BREAKING CHANGES
  • Please upgrade your Node.js version to at least 16.14.0.
prettier/prettier (prettier)

v3.0.3

Compare Source

diff

Add preferUnplugged: true to package.json (#​15169 by @​fisker and @​so1ve)

Prettier v3 uses dynamic imports, user will need to unplug Prettier when Yarn's PnP mode is enabled, add preferUnplugged: true to package.json, so Yarn will install Prettier as unplug by default.

Support shared config that forbids require() (#​15233 by @​fisker)

If an external shared config package is used, and the package exports don't have require or default export.

In Prettier 3.0.2 Prettier fails when attempt to require() the package, and throws an error.

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in <packageName>/package.json
Allow argument of require() to break (#​15256 by @​fisker)
// Input
const plugin = require(
  global.STANDALONE
    ? path.join(__dirname, "../standalone.js")
    : path.join(__dirname, "..")
);

// Prettier 3.0.2
const plugin = require(global.STANDALONE
  ? path.join(__dirname, "../standalone.js")
  : path.join(__dirname, ".."));

// Prettier 3.0.3
const plugin = require(
  global.STANDALONE
    ? path.join(__dirname, "../standalone.js")
    : path.join(__dirname, "..")
);
Do not print trailing commas in arrow function type parameter lists in ts code blocks (#​15286 by @​sosukesuzuki)
<!-- Input -->
```ts
const foo = <T>() => {}
```

<!-- Prettier 3.0.2 -->
```ts
const foo = <T,>() => {}
```

<!-- Prettier 3.0.3 -->
```ts
const foo = <T>() => {}
```
Support TypeScript 5.2 using / await using declaration (#​15321 by @​sosukesuzuki)

Support for the upcoming Explicit Resource Management feature in ECMAScript. using / await using declaration

{
   using foo = new Foo();
   await using bar = new Bar();
}

v3.0.2

Compare Source

diff

Break after = of assignment if RHS is poorly breakable AwaitExpression or YieldExpression (#​15204 by @​seiyab)
// Input
const { section, rubric, authors, tags } = await utils.upsertCommonData(mainData);

// Prettier 3.0.1
const { section, rubric, authors, tags } = await utils.upsertCommonData(
  mainData,
);

// Prettier 3.0.2
const { section, rubric, authors, tags } =
  await utils.upsertCommonData(mainData);
Do not add trailing comma for grouped scss comments (#​15217 by @​auvred)
/* Input */
$foo: (
	'property': (),
	// comment 1
	// comment 2
)

/* Prettier 3.0.1 */
$foo: (
  "property": (),
  // comment 1
  // comment 2,
);

/* Prettier 3.0.2 */
$foo: (
  "property": (),
  // comment 1
  // comment 2
);
Print declare and export keywords for nested namespace (#​15249 by @​sosukesuzuki)
// Input
declare namespace abc1.def {}
export namespace abc2.def {}

// Prettier 3.0.1
namespace abc1.def {}
namespace abc2.def {}

// Prettier 3.0.2
declare namespace abc1.def {}
export namespace abc2.def {}

v3.0.1

Compare Source

diff

Fix cursor positioning for a special case (#​14812 by @​fisker)
// <|> is the cursor position

/* Input */
// All messages are represented in JSON.
// So, the prettier.py controls a subprocess which spawns "node {this_file}".
import {<|>  } from "fs"

/* Prettier 3.0.0 */
// All messages are represented in JSON.
// So, the prettier.py <|>controls a subprocess which spawns "node {this_file}".
import {} from "fs"

/* Prettier 3.0.1 */
// All messages are represented in JSON.
// So, the prettier.py controls a subprocess which spawns "node {this_file}".
import {<|>} from "fs"
Fix plugins/estree.d.ts to make it a module (#​15018 by @​kingyue737)

Add export {} in plugins/estree.d.ts to fix the "File is not a module" error

Add parenthesis around leading multiline comment in return statement (#​15037 by @​auvred)
// Input
function fn() {
  return (
    /**
     * @&#8203;type {...}
     */ expresssion
  )
}

// Prettier 3.0.0
function fn() {
  return /**
   * @&#8203;type {...}
   */ expresssion;
}

// Prettier 3.0.1
function fn() {
  return (
    /**
     * @&#8203;type {...}
     */ expresssion
  );
}
Add support for Vue "Generic Components" (#​15066 by @​auvred)

https://blog.vuejs.org/posts/vue-3-3#generic-components

<!-- Input -->
<script setup lang="ts" generic="T extends Type1 & Type2 & (Type3 | Type4), U extends string | number | boolean"></script>

<!-- Prettier 3.0.0 -->
<script
  setup
  lang="ts"
  generic="T extends Type1 & Type2 & (Type3 | Type4), U extends string | number | boolean"
></script>

<!-- Prettier 3.0.1 -->
<script
  setup
  lang="ts"
  generic="
    T extends Type1 & Type2 & (Type3 | Type4),
    U extends string | number | boolean
  "
></script>
Fix comments print in IfStatement (#​15076 by @​fisker)
function a(b) {
  if (b) return 1; // comment
  else return 2;
}

/* Prettier 3.0.0 */
Error: Comment "comment" was not printed. Please report this error!

/* Prettier 3.0.1 */
function a(b) {
  if (b) return 1; // comment
  else return 2;
}
Add missing type definition for printer.preprocess (#​15123 by @​so1ve)
export interface Printer<T = any> {
  // ...
+ preprocess?:
+   | ((ast: T, options: ParserOptions<T>) => T | Promise<T>)
+   | undefined;
}
Add missing getVisitorKeys method type definition for Printer (#​15125 by @​auvred)
const printer: Printer = {
  print: () => [],
  getVisitorKeys(node, nonTraversableKeys) {
    return ["body"];
  },
};
Add typing to support readonly array properties of AST Node (#​15127 by @​auvred)
// Input
interface TestNode {
  readonlyArray: readonly string[];
}

declare const path: AstPath<TestNode>;

path.map(() => "", "readonlyArray");

// Prettier 3.0.0
interface TestNode {
  readonlyArray: readonly string[];
}

declare const path: AstPath<TestNode>;

path.map(() => "", "readonlyArray");
//                  ^ Argument of type '"readonlyArray"' is not assignable to parameter of type '"regularArray"'. ts(2345)

// Prettier 3.0.1
interface TestNode {
  readonlyArray: readonly string[];
}

declare const path: AstPath<TestNode>;

path.map(() => "", "readonlyArray");
Add space before unary minus followed by a function call (#​15129 by @​pamelalozano)
// Input
div {
  margin: - func();
}

// Prettier 3.0.0
div {
  margin: -func();
}

// Prettier 3.0.1
div {
  margin: - func();
}

v3.0.0

Compare Source

diff

🔗 Release Notes

TypeStrong/TypeDoc (typedoc)

v0.25.0

Compare Source

Breaking Changes
  • Bump minimum Node version to 16.
  • Removed legacy-packages option for --entryPointStrategy.
  • Changed default value of --categorizeByGroup to false.
  • Specifying a link as the gitRemote is no longer supported.
  • An Application instance must now be retrieved via Application.bootstrap or Application.bootstrapWithPlugins, #​2268.
  • Removed ReflectionKind.ObjectLiteral that was never used by TypeDoc.
  • Removed deprecated members DefaultThemeRenderContext.comment and DefaultThemeRenderContext.attemptExternalResolution.
Features
  • Added support for TypeScript 5.2, #​2373.
  • TypeDoc config files now support options default-exported from an ESM config file, #​2268.
  • TypeDoc config files may now export a promise containing configuration, #​2268.
  • Added --preserveLinkText option (defaults to true) which determines whether the reflection name or full link text is included
    in the output when no override is specified, #​2355.
  • Added a no-results placeholder when no search results are available, #​2347.
  • Implemented several miscellaneous performance improvements to generate docs faster, this took the time to generate TypeDoc's
    site from ~5.6 seconds to ~5.4 seconds.
  • Added --disableGit option to prevent TypeDoc from using Git to try to determine if sources can be linked, #​2326.
  • Added support for tags @showGroups, @hideGroups, @showCategories, @hideCategories to configure the navigation pane on a
    per-reflection basis, #​2329.
  • With --jsDocCompatibility.defaultTags set, @defaultValue is now implicitly a code block if the text contains no code, #​2370.
Bug Fixes
  • Fixed link discovery if nested (Foo#bar) links were used and --useTsLinkResolution is enabled in some cases, #​2360.
  • Links with invalid declaration references will no longer silently link to the wrong page in some cases, #​2360.
  • Fixed duplicate definitions in type hierarchy when using packages mode, #​2327.
  • @inheritDoc was not properly resolved across packages in packages mode, #​2331.
  • Added warning for attempted @interface use on union types, #​2352.
  • Fixed misleading type annotation on Theme.getUrls, #​2318.
  • Fixed duplicate namespace in documentation if @namespace is used on a variable with an associated namespace, #​2364.
  • Fixed @namespace property discovery if merged with a type and the type was declared first #​2364.
  • Tables in markdown are now styled, #​2366.
  • Sidebar links no longer open in a new tab, #​2353.
  • Headers now include some padding before rendering text, #​2316.
  • Symbol locations for signatures on reflection.sources now considers the node's name like non-signature location discovery does.
Thanks!

v0.24.8 (2023-06-04)

Features
  • Added support for TypeScript 5.1, #​2296.
  • Added navigation.fullTree to control rendering the full navigation tree on each page, #​2287.
    This option will likely be replaced in 0.25 with dynamic loading of the full tree.
  • TypeDoc's --pretty option now also controls whether generated HTML contains line breaks, #​2287.
  • Optimized icon caching to reduce file size in generated HTML documentation, #​2287.
  • Render property description of "roughly top level" object types, #​2276.
  • Added MarkdownEvent.INCLUDE for plugins, #​2284.
Bug Fixes
  • When rendering functions/methods, TypeDoc will now render the comment summary above the parameters/return type,
    and any other block tags in the order they are defined in the comment, #​2285.
  • Comments are no longer removed from classes/interfaces containing call signatures, #​2290.
Thanks!

v0.24.7 (2023-05-08)

Features
  • TypeDoc will now allow conversion without any entry points to support "readme only" packages, #​2264.
Bug Fixes
  • Category children are now sorted according to the sort option, #​2272.
  • Inline tags no longer require a space after the tag name to be parsed as a tag, #​2273.
  • Fixed module/namespace links in navigation when viewed in Safari, #​2275.

v0.24.6 (2023-04-24)

Features
  • Improved error messaging if a provided entry point could not be converted into a documented module reflection, #​2242.
  • API: Added support for g, circle, ellipse, polygon, and polyline svg elements, #​2259.
  • Extended jsDocCompatibility option with inheritDocTag to ignore fully lowercase inheritDoc tags and
    ignoreUnescapedBraces to disable warnings about unescaped { and } characters in comments.
Bug Fixes
  • --useTsLinkResolution is no longer ignored within block tags, #​2260.
  • The current namespace will also be expanded in the navigation on page load, #​2260.
  • Fixed flicker of navigation pane when reloading a page caused by updating expansion state after the page was loaded.
  • Fixed an infinite loop if more than one entry point was provided, and all entry points were the same.
Thanks!

v0.24.5 (2023-04-22)

Features
  • Categories and groups can now be shown in the navigation, added --navigation.includeCategories
    and --navigation.includeGroups to control this behavior. The --categorizeByGroup option also
    effects this behavior. If categorizeByGroup is set (the default) and navigation.includeGroups is
    not set, the value of navigation.includeCategories will be effectively ignored since categories
    will be created only within groups, #​1532.
  • Added support for discovering a "module" comment on global files, #​2165.
  • Added copy code to clipboard button, #​2153.
  • Function @returns blocks will now be rendered with the return type, #​2180.
  • Added --groupOrder option to specify the sort order of groups, #​2251.
Bug Fixes
  • Type parameter constraints now respect the --hideParameterTypesInTitle option, #​2226.
  • Even more contrast fixes, #​2248.
  • Fix semantic highlighting for predicate type's parameter references, #​2249.
  • Fixed broken links to heading titles.
  • Fixed inconsistent styling between type parameter lists and parameter lists.
  • TypeDoc will now warn if more than one @returns block is is present in a function, and ignore the duplicate blocks as specified by TSDoc.
Thanks!

v0.24.4 (2023-04-16)

Bug Fixes
  • Fixed broken semantic coloring, #​2247.
  • Increased contrast for parameter titles in dark mode to meet WCAG AA contrast requirements, #​2244.
  • Underline color of index links now matches the text color, #​2245.
  • Increased contract for active menu item text in dark mode.

v0.24.3 (2023-04-16)

Bug Fixes

v0.24.2 (2023-04-15)

Features
  • Added semantic link coloring for reflection names & links, #​2227.
    Note: This resulted in function signatures becoming too busy for easy scanning with even slightly
    complicated signatures as such, TypeDoc now only renders parameter names in the signature title
    and includes the type in the parameter details as usual. This can be controlled with the new
    --hideParameterTypesInTitle option.
  • Conditional types will now render their branches on the next line for easier comprehension.
Bug Fixes
  • Fixed & showing as &amp; and HTML text showing up in page contents navigation, #​2224.
  • Increased padding between sections when one navigation column is displayed, #​2225.
  • Correct padding for navigation elements with a displayed icon, #​2229.
  • Fixed source-order sort strategy failing to compare reflections within a file.
  • Added enum-member-source-order specialization of the source-order sort strategy which only compares enum members, #​2237.
  • Updated highlight colors for semantic links to meet WCAG AA contrast requirements, #​2228.
  • Type parameters are now highlighted consistently, #​2230.
  • Fixed semantic coloring in type and function signatures, #​2227.
  • Fixed issue where removing a reflection indirectly containing an object/function type would only partially remove the reflection, #​2231.
  • Fixed "Implementation of X.y" links if a mixture of methods and property-methods are used, #​2233.
  • "Implementation of" text to symbol-properties not contained in the documentation will now use the resolved name instead of a __@&#8203; symbol name, #​2234.
  • Fix expansion of globs if a single entry point is provided, #​2235.
  • Validation will no longer be skipped for sub packages when running with --entryPointStrategy packages.
  • Fixed broken theme toggle if the page contained a member named "theme".
Thanks!

v0.24.1 (2023-04-09)

Bug Fixes
  • Improve detection for legacy JSDoc @example tags, #​2222.
  • The page footer will now appear at the bottom of the page even if the page is short, #​2223.

Configuration

📅 Schedule: Branch creation - "before 4am on the first day of the month" (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.

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

@codecov
Copy link

codecov bot commented Sep 1, 2023

Codecov Report

Merging #362 (2ea7980) into main (ffce733) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #362   +/-   ##
=======================================
  Coverage   98.62%   98.62%           
=======================================
  Files         284      284           
  Lines        4087     4087           
  Branches      955      955           
=======================================
  Hits         4031     4031           
  Misses         49       49           
  Partials        7        7           
Flag Coverage Δ
unittests 98.62% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@kofrasa kofrasa merged commit 6ee9b06 into main Sep 1, 2023
8 checks passed
@renovate renovate bot deleted the renovate/all branch September 1, 2023 04:40
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.

1 participant