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 rehype-rewrite to v3 #264

Merged
merged 1 commit into from
Oct 2, 2021

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 2, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
rehype-rewrite (source) 2.1.3 -> 3.0.0 age adoption passing confidence

Release Notes

jaywcjlove/rehype-rewrite

v3.0.0

Compare Source

⚠️ Migrate from rehype-rewrite v2.x to v3.x.

rehype()
- .use(rehypeRewrite, (node, index, parent) => {})
+ .use(rehypeRewrite, {
+   rewrite: (node, index, parent) => {}
+ })

Options

import { Root, Element, ElementContent } from 'hast';
export declare type RehypeRewriteOptions = {
  selector?: string;
  rewrite(node: ElementContent, index: number | null, parent: Root | Element | null): void;
};
selector?: string;

Select an element to be wrapped. Expects a string selector that can be passed to hast-util-select (supported selectors). If selector is not set then wrap will check for a body all elements.

rewrite(node, index, parent): void;

Rewrite element.


Configuration

📅 Schedule: 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 has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/rehype-rewrite-3.x branch from ec5a49d to 161eafb Compare October 2, 2021 18:10
@jaywcjlove jaywcjlove merged commit 3f71cac into master Oct 2, 2021
@renovate renovate bot deleted the renovate/rehype-rewrite-3.x branch October 2, 2021 18:13
jaywcjlove added a commit that referenced this pull request Oct 2, 2021
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

2 participants