dundalek / markmap

Visualize markdown documents as mindmaps
MIT License
1.7k stars 175 forks source link

Bump remarkable from 1.6.0 to 2.0.0 #30

Closed dependabot[bot] closed 4 years ago

dependabot[bot] commented 4 years ago

Bumps remarkable from 1.6.0 to 2.0.0.

Release notes *Sourced from [remarkable's releases](https://github.com/jonschlinkert/remarkable/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 > > ```diff > - import Remarkable from 'remarkable'; > - const utils = Remarkable.utils; > + import { Remarkable, utils } from 'remarkable'; > ``` > > ```diff > - const Remarkable = require('remarkable'); > - const utils = Remarkable.utils; > + const { Remarkable, utils } = require('remarkable'); > ``` > > ```diff > - 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 > > ```diff > - 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](https://github.com/jonschlinkert/remarkable/blob/master/lib/common/entities.js) in favour of [dom trick](https://github.com/jonschlinkert/remarkable/blob/master/lib/common/entities.browser.js) in browser build. > > > Checkout [bundlephobia](https://bundlephobia.com/result?p=remarkable@2.0.0) to see results we achieved
Changelog *Sourced from [remarkable's changelog](https://github.com/jonschlinkert/remarkable/blob/master/CHANGELOG.md).* > 2.0.0 / 2019-08-07 > ------------------ > > - bundle umd with rollup ([#346](https://github-redirect.dependabot.com/jonschlinkert/remarkable/issues/346)) > - remove bower support ([#347](https://github-redirect.dependabot.com/jonschlinkert/remarkable/issues/347)) > - decouple linkify in separate plugin ([#351](https://github-redirect.dependabot.com/jonschlinkert/remarkable/issues/351)) > - convert code to esm and distribute as cjs and esm bundles ([#352](https://github-redirect.dependabot.com/jonschlinkert/remarkable/issues/352)) > - upgrade autolinker ([#356](https://github-redirect.dependabot.com/jonschlinkert/remarkable/issues/356)) > - provide smaller browser version of entities ([#359](https://github-redirect.dependabot.com/jonschlinkert/remarkable/issues/359)) > - use named exports for public api ([#354](https://github-redirect.dependabot.com/jonschlinkert/remarkable/issues/354)) > > 1.7.4 / 2019-07-30 > ------------------ > > - upgrade argparse (https://github-redirect.dependabot.com/jonschlinkert/remarkable/pull/349) > - prevent a ReDoS vulnerability ([#335](https://github-redirect.dependabot.com/jonschlinkert/remarkable/issues/335)) > - disallow ascii control characters in URLs ([#334](https://github-redirect.dependabot.com/jonschlinkert/remarkable/issues/334)) > > 1.7.0 / 2016-09-27 > ------------------ > > - Special thanks to [lemoinem](https://github.com/lemoinem) for adding much needed, and well-written [documentation](https://github.com/jonschlinkert/remarkable/blob/master/docs)! > - Footnotes are now enabled by default > - Adds support for "passthrough classes", thanks to [matthewmueller](https://github.com/matthewmueller) > - Outlaws data: URLs by default, thanks to [spicyj](https://github.com/spicyj) > - Improves whitespace trimming performance, thanks to [dpkirchner](https://github.com/dpkirchner) > - Image alts are now properly unescaped, thanks to [adam187](https://github.com/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](https://github-redirect.dependabot.com/jonschlinkert/remarkable/issues/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 > ------------------ > > - npm now installs a script so you can access remarkable from the command > line. > > 1.5.0 / 2014-12-12 > ... (truncated)
Commits - [`f65cee0`](https://github.com/jonschlinkert/remarkable/commit/f65cee018cd3cfde49e03a4591e8d712f1fe3f8e) v2.0.0 - [`cbf0a0b`](https://github.com/jonschlinkert/remarkable/commit/cbf0a0bb1f883567423f132021d5417deed2226c) Update changelog - [`4a97d45`](https://github.com/jonschlinkert/remarkable/commit/4a97d45ce3232d4e693410ecdac13ab800774248) Cleanup scripts - [`ccdd6bb`](https://github.com/jonschlinkert/remarkable/commit/ccdd6bbed488f8033301b705fa2bc7ff701780d4) Set node 6 as minimal engine - [`925392d`](https://github.com/jonschlinkert/remarkable/commit/925392de13bf2c0a7a144e65f2eb7a8a730169b3) Add trysound to maintainers list - [`ee51d42`](https://github.com/jonschlinkert/remarkable/commit/ee51d42e9cd0cd28b9d8063a02fae662b68a6678) Add eslint and lint es5 syntax ([#360](https://github-redirect.dependabot.com/jonschlinkert/remarkable/issues/360)) - [`dff9165`](https://github.com/jonschlinkert/remarkable/commit/dff9165ec620bf61d80e36ea724b03a96785f4ca) Use named exports for public api ([#354](https://github-redirect.dependabot.com/jonschlinkert/remarkable/issues/354)) - [`1898b25`](https://github.com/jonschlinkert/remarkable/commit/1898b259b4dde6689cd4cc5bae13ad3e64acd73e) Provide smaller browser version of entities ([#359](https://github-redirect.dependabot.com/jonschlinkert/remarkable/issues/359)) - [`cda227f`](https://github.com/jonschlinkert/remarkable/commit/cda227f08150770dd2503730b77e2f24d5b34753) Extend autolinker version range - [`3b4f64a`](https://github.com/jonschlinkert/remarkable/commit/3b4f64a7826963df0a93cf885122e85a6672e7ae) Upgrade autolinker ([#356](https://github-redirect.dependabot.com/jonschlinkert/remarkable/issues/356)) - Additional commits viewable in [compare view](https://github.com/jonschlinkert/remarkable/compare/1.6.0...v2.0.0)
Maintainer changes This version was pushed to npm by [trysound](https://www.npmjs.com/~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 ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major 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](https://github.com/dundalek/markmap/network/alerts).
dundalek commented 4 years ago

Until your AI learns how to fix tests this is not happening :smile:

dependabot[bot] commented 4 years ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.