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 remarkable from 1.6.1 to 2.0.0 #575

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 21, 2020

Bumps remarkable from 1.6.1 to 2.0.0.

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.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
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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants