Skip to content

Conversation

samchon
Copy link
Owner

@samchon samchon commented Jun 21, 2025

This pull request introduces updates to the project's dependencies, focusing on adding new packages and plugins to enhance functionality, particularly around JSDoc formatting and markdown processing. Below is a summary of the most significant changes:

Dependency Additions and Updates:

  • Prettier Plugin for JSDoc:

    • Added prettier-plugin-jsdoc to the package.json and pnpm-lock.yaml files, enabling better formatting for JSDoc comments. [1] [2] [3]
  • Type Definitions:

    • Added type definitions for debug, mdast, and ms, improving TypeScript support for these libraries. [1] [2] [3] [4]
  • Markdown Utilities:

    • Introduced several markdown-related utilities, such as mdast-util-from-markdown, mdast-util-to-string, and micromark packages, enhancing markdown parsing and processing capabilities. [1] [2] [3] [4]
  • New Packages for Parsing and Searching:

    • Added binary-searching, character-entities, comment-parser, and decode-named-character-reference to support various parsing and searching functionalities. [1] [2] [3] [4] [5]
  • Deprecated Package Warning:

    • Added a deprecation warning for multer@1.4.5-lts.2, recommending an upgrade to version 2.x due to known vulnerabilities.

@samchon samchon requested a review from Copilot June 21, 2025 10:29
@samchon samchon self-assigned this Jun 21, 2025
@samchon samchon added the documentation Improvements or additions to documentation label Jun 21, 2025
Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedprettier-plugin-jsdoc@​1.3.210010010078100

View full report

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enhances project documentation by introducing detailed JSDoc for the new IValidation type and applies consistent Prettier formatting to existing JSDoc comments.

  • Added comprehensive documentation for the IValidation discriminated union and its member interfaces.
  • Applied one-line formatting to multi-line @internal comments across multiple files for consistency.
  • Adjusted JSDoc links, spacing, and punctuation throughout utility and composer modules.

Reviewed Changes

Copilot reviewed 52 out of 54 changed files in this pull request and generated no comments.

File Description
src/structures/IValidation.ts Added full JSDoc for IValidation, ISuccess, IFailure, and IError.
src/utils/LlmDataMerger.ts Reformatted JSDoc and updated references in LlmDataMerger.parameters.
src/composers/migrate/HttpMigrateRouteComposer.ts Added missing @param connection tag in route composer comments.
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported
Comments suppressed due to low confidence (3)

src/utils/LlmDataMerger.ts:29

  • The JSDoc reference {@link IOpenAiFunction.separated} below is incorrect for this module. It should reference the LLM function separated interface, e.g., {@link ILlmFunction.ISeparated}.
   *

src/utils/LlmDataMerger.ts:54

  • [nitpick] The sentence Otherwise, returns the latter value if it's not null, otherwise the former value is missing proper punctuation and could be clearer. Consider: Otherwise, returns the latter value if it's not null; otherwise, returns the former value.
   * value

src/composers/migrate/HttpMigrateRouteComposer.ts:340

  • You've added @param connection to the JSDoc but no description is provided. Please include a brief description, e.g., @param connection - HTTP connection details for the migration.
    add("@param connection");

@samchon samchon merged commit 337ce35 into master Jun 21, 2025
4 checks passed
@samchon samchon deleted the feat/doc branch June 21, 2025 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant