[Snyk] Upgrade commonmark from 0.29.3 to 0.30.0 #18
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade commonmark from 0.29.3 to 0.30.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
Release notes
Package name: commonmark
was flawed, leading to some corner cases where nested emphasis was
parsed incorrectly.
reThematicBreak
.node.listType
(TheWastl). The parser produceslowercase strings, but the README said the strings are capitalized.
They can't interrupt paragraphs (even with laziness).
This makes the punctuation use match
reUnicodeWhitespaceChar
usagein
scanDelims
. It's effectively a no-op, aschar_after
is expectedto only contain a single character anyways.
--banner
to include license info.with pretest and prepublish scripts.
Closes commonmark/commonmark-spec-web#15.
(#195, #201, #203):
A number of JavaScript files were rewritten as ES
Modules, but their extensions remained
.js
. Thatextension is ambiguous to newer version of the Node.js
runtime, which can load both CommonJS modules and ES
Modules. To fix this, we add
package.json
files withtype
properties to the various subdirectories. Settingtype
to"module"
tells Node.js to interpret.js
files in that directory and below as ES Modules.
Otherwise, Node.js falls back on the
package.json
atroot, which currently sets
type
to"commonjs"
.require('../')
.Node.js version 14, which supports ES Modules without any flag or the
esm
package, is currently in long-term support. But a great manyfolks still run older version of Node.js that either don't support ES
Modules at all or hide that support behind a feature flag.
entities
package.lib/index.js
.reHtmlTag
: don't use case-insensitive matching (#193).The spec specifies uppercase for declarations and CDATA.
instead of '/dev/stdin'. Note that this allows piping but doesn't
handle the case where users run
bin/commonmark
and enter inputdirectly. See #198 for some relevant discussion.
Commit messages
Package name: commonmark
Compare
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs