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

fix(deps): update dependency marked to v13 - autoclosed #364

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 13, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
marked (source) ^12.0.0 -> ^13.0.0 age adoption passing confidence

Release Notes

markedjs/marked (marked)

v13.0.2

Compare Source

Bug Fixes

v13.0.1

Compare Source

Bug Fixes

v13.0.0

Compare Source

Bug Fixes
  • Fix blockquote code continuation (#​3264) (7ab8185)
  • Add parser as a property on the Renderer object (#​3291)
  • Send block text tokens to the text renderer (#​3291)
Features
  • Send token objects to renderers (#​3291) (1ce59ea)
  • Add space renderer that returns empty string by default (#​3291)
  • Add header and align properties to TableCell token (#​3291)
  • Add TableRow token (#​3291)
  • Add Checkbox token (#​3291)
BREAKING CHANGES
  • Add space token after blockquote and hr if there are multiple newlines
  • Send token objects to renderers and move logic to parse tokens from the parser to the renderers.
    • Most extensions that update marked renderers should still work with this version but will break in a future major version.

    • Extensions that change marked renderers will need to be updated and use new option useNewRenderer and accept a token object instead of multiple parameters. See updated Renderer docs

      // v12 renderer extension
      
      const extension = {
        renderer: {
          heading(text, level) {
            // increase level by 1
            return `<h${level + 1}>${text}</h${level + 1}>`;
          }
        }
      };
      
      marked.use(extension);
      // v13 renderer extension
      
      const extension = {
        useNewRenderer: true,
        renderer: {
          heading(token) {
            // increase depth by 1
            const text = this.parser.parseInline(token.tokens);
            const level = token.depth;
            return `<h${level + 1}>${text}</h${level + 1}>`;
          }
        }
      };
      
      marked.use(extension);

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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.

Copy link
Contributor Author

renovate bot commented Jun 13, 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: package-lock.json
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: [email protected]
npm error Found: [email protected]
npm error node_modules/marked
npm error   marked@"^13.0.0" from the root project
npm error
npm error Could not resolve dependency:
npm error peer marked@">= 9.0.0 < 13.0.0" from [email protected]
npm error node_modules/ngx-markdown
npm error   ngx-markdown@"^18.0.0" from the root project
npm error
npm error Conflicting peer dependency: [email protected]
npm error node_modules/marked
npm error   peer marked@">= 9.0.0 < 13.0.0" from [email protected]
npm error   node_modules/ngx-markdown
npm error     ngx-markdown@"^18.0.0" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /tmp/renovate/cache/others/npm/_logs/2024-08-06T07_41_33_466Z-eresolve-report.txt
npm error A complete log of this run can be found in: /tmp/renovate/cache/others/npm/_logs/2024-08-06T07_41_33_466Z-debug-0.log

@renovate renovate bot force-pushed the renovate/marked-13.x branch 7 times, most recently from a2f2579 to 19cd1ee Compare June 17, 2024 13:29
@renovate renovate bot force-pushed the renovate/marked-13.x branch 5 times, most recently from 82ea182 to 2f8c9da Compare June 27, 2024 05:44
@renovate renovate bot force-pushed the renovate/marked-13.x branch 7 times, most recently from f466104 to e019a50 Compare July 3, 2024 20:05
@renovate renovate bot force-pushed the renovate/marked-13.x branch 7 times, most recently from 41b9b1e to 4b28442 Compare July 14, 2024 08:01
@renovate renovate bot force-pushed the renovate/marked-13.x branch 3 times, most recently from b5b66d7 to 41e1665 Compare July 18, 2024 05:16
@renovate renovate bot force-pushed the renovate/marked-13.x branch 8 times, most recently from c0828e0 to bb204ff Compare July 25, 2024 05:59
@renovate renovate bot force-pushed the renovate/marked-13.x branch 15 times, most recently from 2233021 to b1bcb78 Compare August 1, 2024 18:30
@renovate renovate bot force-pushed the renovate/marked-13.x branch 2 times, most recently from e1ab279 to 123c44a Compare August 5, 2024 20:30
@renovate renovate bot changed the title fix(deps): update dependency marked to v13 fix(deps): update dependency marked to v13 - autoclosed Aug 8, 2024
@renovate renovate bot closed this Aug 8, 2024
@renovate renovate bot deleted the renovate/marked-13.x branch August 8, 2024 09:17
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.

None yet

0 participants