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

Bump dependencies #80

Closed
73 tasks done
Tracked by #86
vweevers opened this issue Nov 14, 2020 · 1 comment
Closed
73 tasks done
Tracked by #86

Bump dependencies #80

vweevers opened this issue Nov 14, 2020 · 1 comment
Labels
security Vulnerabilities and other security-related matters semver-major Changes that break backward compatibility

Comments

@vweevers
Copy link
Owner

vweevers commented Nov 14, 2020

To bump:

  • remark (12.0.1 ❯ 14.0.1)
    • v13: micromark
      • Add remark-gfm plugin
      • Remove gfm, pedantic, commonmark, entities and blocks options if we use them
      • Set emphasis option (for stringify and linter) which now defaults to *
      • Set bullet option (for stringify and linter) which now defaults to *
      • Move tableCellPadding, tablePipeAlign and stringLength to remark-gfm options
    • v14: ESM
      • Drink several cups of coffee
  • remark-github (9.0.1 ❯ 11.2.1)
    • No longer operates in parse phase, may need to change order of plugins - or not?
    • v10: micromark
    • v11: ESM
  • remark-lint (7.0.1 ❯ 9.1.0)
    • v8: micromark
    • v9: ESM
  • remark-lint-blockquote-indentation (2.0.1 ❯ 3.1.0)
  • remark-lint-checkbox-character-style (2.0.1 ❯ 4.1.0)
    • v3: micromark
    • v4: ESM
  • remark-lint-checkbox-content-indent (2.0.1 ❯ 4.1.0)
    • v3: micromark
    • v4: ESM
  • remark-lint-code-block-style (2.0.1 ❯ 3.1.0): ESM
  • remark-lint-definition-case (2.0.1 ❯ 3.1.0): ESM
  • remark-lint-final-newline (1.0.5 ❯ 2.1.0): ESM
  • remark-lint-hard-break-spaces (2.0.1 ❯ 3.1.0): ESM
  • remark-lint-list-item-bullet-indent (2.0.1 ❯ 4.1.0)
    • v3: micromark
    • v4: ESM
  • remark-lint-list-item-indent (2.0.1 ❯ 3.1.0): ESM
  • remark-lint-no-auto-link-without-protocol (2.0.1 ❯ 3.1.0): ESM
  • remark-lint-no-blockquote-without-marker (3.0.1 ❯ 5.1.0)
    • v4: micromark
    • v5: ESM
  • remark-lint-no-duplicate-definitions (2.0.1 ❯ 3.1.0): ESM
  • remark-lint-no-heading-content-indent (2.0.1 ❯ 4.1.0)
    • v3: micromark
    • v4: ESM
  • remark-lint-no-inline-padding (2.0.1 ❯ 4.1.0)
    • v3: micromark
    • v4: ESM
  • remark-lint-no-literal-urls (2.0.1 ❯ 3.1.0): ESM
  • remark-lint-no-undefined-references (2.0.1 ❯ 4.1.0)
    • v3: micromark
    • v4: ESM
  • remark-lint-no-unused-definitions (2.0.1 ❯ 3.1.0): ESM
  • remark-lint-table-cell-padding (2.0.1 ❯ 4.1.1)
    • v3: micromark
    • v4: ESM
  • remark-lint-table-pipes (2.0.1 ❯ 4.1.0)
    • v3: micromark
    • v4: ESM
  • remark-toc (7.2.0 ❯ 8.0.1): ESM
  • remark-validate-links (10.0.4 ❯ 11.0.2): ESM
  • supports-color (7.2.0 ❯ 9.0.2)
    • v8: Node 10 (OK)
    • v9: ESM, named export
  • unified-engine (8.1.0 ❯ 9.0.4)
    • ESM
    • Renames vfile.contents to vfile.value (via vfile@5)
  • tempy (devDep) (0.2.1 ❯ 2.0.0)
    • 0.3.0: Node 8, 0.4.0: Node 10 (OK)
    • v2: ESM

To add:

  • remark-lint-strong-marker
  • remark-lint-emphasis-marker
  • remark-lint-fenced-code-marker
  • remark-lint-rule-style
  • remark-lint-unordered-list-marker-style

To rewrite/update:

@vweevers vweevers added the semver-major Changes that break backward compatibility label Nov 14, 2020
@vweevers vweevers mentioned this issue Sep 18, 2021
9 tasks
@vweevers vweevers added the security Vulnerabilities and other security-related matters label Nov 13, 2021
@vweevers vweevers changed the title Upgrade to remark 13 Bump dependencies Nov 13, 2021
vweevers added a commit that referenced this issue Nov 13, 2021
CommonJS modules can no longer `require('hallmark')`. They must use
ESM themselves, or a dynamic `import()`. For further guidance please
see https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c

As for the `hallmark` CLI: in Node.js versions older than 14 it is
now a noop.

Needed for #80.
Depends on tape-testing/tape#571
vweevers added a commit that referenced this issue Nov 13, 2021
Except those that had breaking changes for micromark (remark v13).
Those will follow later.

Ref #80
vweevers added a commit that referenced this issue Nov 14, 2021
Changes a few escape sequences:

- `<` and `>` are no longer escaped as HTML entities
- Underscores if not used for emphasis, are escaped with a backslash
- Ampersands in URLs are escaped with a backslash.
- Square brackets if not used for definitions (links) are escaped.

Added one new rule that is a breaking change: thematic breaks must
be `---` rather than `***` or `* * *` or `- - -`.

Ref #80
vweevers added a commit that referenced this issue Nov 14, 2021
CommonJS modules can no longer `require('hallmark')`. They must use
ESM themselves, or a dynamic `import()`. For further guidance please
see https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c

As for the `hallmark` CLI: in Node.js versions older than 14 it is
now a noop.

Needed for #80.
Depends on tape-testing/tape#571
vweevers added a commit that referenced this issue Nov 14, 2021
Except those that had breaking changes for micromark (remark v13).
Those will follow later.

Ref #80
vweevers added a commit that referenced this issue Nov 14, 2021
Changes a few escape sequences:

- `<` and `>` are no longer escaped as HTML entities
- Underscores if not used for emphasis, are escaped with a backslash
- Ampersands in URLs are escaped with a backslash.
- Square brackets if not used for definitions (links) are escaped.

Added one new rule that is a breaking change: thematic breaks must
be `---` rather than `***` or `* * *` or `- - -`.

Ref #80
@vweevers
Copy link
Owner Author

4.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
security Vulnerabilities and other security-related matters semver-major Changes that break backward compatibility
Projects
None yet
Development

No branches or pull requests

1 participant