Skip to content
This repository was archived by the owner on May 13, 2025. It is now read-only.

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Jun 28, 2023

Bumps remarkable from 1.7.1 to 2.0.1.

Release notes

Sourced from remarkable's releases.

v2.0.0

This major bump mostly improves and simplifies distribution.

  • source code is converted to esm
  • lib is not longer published to hide internals and allow us safely change them
  • we started to use rollup to provide umd, cjs and esm bundles
  • bower support is removed as not relevant these days
  • autolinker is upgraded so you should not get old vulnerabilities

To make esm/cjs interop safe we migrated to named exports in public api

- import Remarkable from 'remarkable';
- const utils = Remarkable.utils;
+ import { Remarkable, utils } from 'remarkable';
- const Remarkable = require('remarkable');
- const utils = Remarkable.utils;
+ const { Remarkable, utils } = require('remarkable');
- const Remarkable = window.Remarkable;
- const utils = Remarkable.utils;
+ // note: window namespace is lowercased
+ const { Remarkable, utils } = window.remarkable;

In order is reduce bundle size for browser builds linkify option is decoupled into own plugin

- import Remarkable from 'remarkable';
- new Remarkable({ html: true, linkify: true })
+ import { Remarkable } from 'remarkable';
+ import { linkify } from 'remarkable/linkify';
+ new Remarkable({ html: true }).use(linkify);

For the same reason we ditched large generated entities list in favour of dom trick in browser build.

Checkout bundlephobia to see results we achieved

Changelog

Sourced from remarkable's changelog.

2.0.1 / 2020-05-25

  • decode entities in browser properly (#386)

2.0.0 / 2019-08-07

  • bundle umd with rollup (#346)
  • remove bower support (#347)
  • decouple linkify in separate plugin (#351)
  • convert code to esm and distribute as cjs and esm bundles (#352)
  • upgrade autolinker (#356)
  • provide smaller browser version of entities (#359)
  • use named exports for public api (#354)

1.7.4 / 2019-07-30

1.7.0 / 2016-09-27

  • Special thanks to lemoinem for adding much needed, and well-written documentation!
  • Footnotes are now enabled by default
  • Adds support for "passthrough classes", thanks to matthewmueller
  • Outlaws data: URLs by default, thanks to spicyj
  • Improves whitespace trimming performance, thanks to dpkirchner
  • Image alts are now properly unescaped, thanks to adam187

1.6.2 / 2016-02-04

  • Add support for specifying link target
  • StateBlock.getLines should only read from the current line
  • Fix missing space after shortcut links
  • Fix "Manage rules" sample code in README.md
  • Fix encoding of non-ASCII text (fixes #141)
  • Option to not alter links provided for href
  • Add Node.js v0.12 and v4 to Travis config
  • Define bin script for npm
  • Fix "Manage rules" sample code in README.md
  • Fix typo in github proj url in Makefile
  • Fix build by ignoring the demo directory in eslint

1.6.1 / 2015-11-19

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by trysound, a new releaser for remarkable since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [remarkable](https://github.com/jonschlinkert/remarkable) from 1.7.1 to 2.0.1.
- [Release notes](https://github.com/jonschlinkert/remarkable/releases)
- [Changelog](https://github.com/jonschlinkert/remarkable/blob/master/CHANGELOG.md)
- [Commits](jonschlinkert/remarkable@1.7.1...v2.0.1)

---
updated-dependencies:
- dependency-name: remarkable
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants