@amanda-mitchell/micromark-extension-footer
Advanced tools
Comparing version 2.0.0 to 3.0.0
@@ -1,2 +0,2 @@ | ||
import micromark from 'micromark'; | ||
import { micromark } from 'micromark'; | ||
@@ -33,6 +33,4 @@ import syntax from '../index.js'; | ||
with a second line`, | ||
`<footer> | ||
<p>a footer | ||
with a second line</p> | ||
</footer>` | ||
`<footer>a footer | ||
with a second line</footer>` | ||
); | ||
@@ -45,6 +43,4 @@ }); | ||
^^ with a second line`, | ||
`<footer> | ||
<p>a footer | ||
with a second line</p> | ||
</footer>` | ||
`<footer>a footer | ||
with a second line</footer>` | ||
); | ||
@@ -82,8 +78,6 @@ }); | ||
^^ > containing a blockquote`, | ||
`<footer> | ||
<p>a footer</p> | ||
`<footer>a footer | ||
<blockquote> | ||
<p>containing a blockquote</p> | ||
</blockquote> | ||
</footer>` | ||
</blockquote></footer>` | ||
); | ||
@@ -90,0 +84,0 @@ }); |
12
index.js
@@ -1,6 +0,6 @@ | ||
import codes from 'micromark/dist/character/codes'; | ||
import markdownSpace from 'micromark/dist/character/markdown-space'; | ||
import constants from 'micromark/dist/constant/constants'; | ||
import types from 'micromark/dist/constant/types'; | ||
import spaceFactory from 'micromark/dist/tokenize/factory-space'; | ||
import { codes } from 'micromark-util-symbol/codes.js'; | ||
import { markdownSpace } from 'micromark-util-character'; | ||
import { constants } from 'micromark-util-symbol/constants.js'; | ||
import { types } from 'micromark-util-symbol/types.js'; | ||
import { factorySpace } from 'micromark-factory-space'; | ||
@@ -72,3 +72,3 @@ const nodeNames = { | ||
this.containerState.lineCount++; | ||
return spaceFactory( | ||
return factorySpace( | ||
effects, | ||
@@ -75,0 +75,0 @@ effects.attempt(footer, ok, nok), |
{ | ||
"name": "@amanda-mitchell/micromark-extension-footer", | ||
"version": "2.0.0", | ||
"version": "3.0.0", | ||
"description": "A micromark extension that parses footer elements.", | ||
@@ -25,7 +25,12 @@ "main": "index.js", | ||
"@amanda-mitchell/node-project-scripts": "^3.0.11", | ||
"micromark": "~2.11.0" | ||
"micromark": "~3.0.10" | ||
}, | ||
"peerDependencies": { | ||
"micromark": "~2.11.0" | ||
"micromark": "~3.0.10" | ||
}, | ||
"dependencies": { | ||
"micromark-factory-space": "^1.0.0", | ||
"micromark-util-character": "^1.1.0", | ||
"micromark-util-symbol": "^1.0.1" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10666
4
199
+ Addedmicromark-util-symbol@^1.0.1
+ Added@types/debug@4.1.12(transitive)
+ Added@types/ms@0.7.34(transitive)
+ Addedcharacter-entities@2.0.2(transitive)
+ Addeddecode-named-character-reference@1.0.2(transitive)
+ Addeddequal@2.0.3(transitive)
+ Addeddiff@5.2.0(transitive)
+ Addedkleur@4.1.5(transitive)
+ Addedmicromark@3.0.10(transitive)
+ Addedmicromark-core-commonmark@1.1.0(transitive)
+ Addedmicromark-factory-destination@1.1.0(transitive)
+ Addedmicromark-factory-label@1.1.0(transitive)
+ Addedmicromark-factory-space@1.1.0(transitive)
+ Addedmicromark-factory-title@1.1.0(transitive)
+ Addedmicromark-factory-whitespace@1.1.0(transitive)
+ Addedmicromark-util-character@1.2.0(transitive)
+ Addedmicromark-util-chunked@1.1.0(transitive)
+ Addedmicromark-util-classify-character@1.1.0(transitive)
+ Addedmicromark-util-combine-extensions@1.1.0(transitive)
+ Addedmicromark-util-decode-numeric-character-reference@1.1.0(transitive)
+ Addedmicromark-util-encode@1.1.0(transitive)
+ Addedmicromark-util-html-tag-name@1.2.0(transitive)
+ Addedmicromark-util-normalize-identifier@1.1.0(transitive)
+ Addedmicromark-util-resolve-all@1.1.0(transitive)
+ Addedmicromark-util-sanitize-uri@1.2.0(transitive)
+ Addedmicromark-util-subtokenize@1.1.0(transitive)
+ Addedmicromark-util-symbol@1.1.0(transitive)
+ Addedmicromark-util-types@1.1.0(transitive)
+ Addedmri@1.2.0(transitive)
+ Addedsade@1.8.1(transitive)
+ Addeduvu@0.5.6(transitive)
- Removedcharacter-entities@1.2.4(transitive)
- Removedcharacter-entities-legacy@1.1.4(transitive)
- Removedcharacter-reference-invalid@1.1.4(transitive)
- Removedis-alphabetical@1.0.4(transitive)
- Removedis-alphanumerical@1.0.4(transitive)
- Removedis-decimal@1.0.4(transitive)
- Removedis-hexadecimal@1.0.4(transitive)
- Removedmicromark@2.11.4(transitive)
- Removedparse-entities@2.0.0(transitive)