Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@amanda-mitchell/micromark-extension-footer

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@amanda-mitchell/micromark-extension-footer - npm Package Compare versions

Comparing version 2.0.0 to 3.0.0

20

__tests__/index.js

@@ -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 @@ });

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc