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 1.0.0 to 2.0.0

.eslintrc.cjs

6

__tests__/index.js

@@ -1,5 +0,5 @@

const micromark = require('micromark');
import micromark from 'micromark';
const syntax = require('../index');
const html = require('../html');
import syntax from '../index.js';
import html from '../html.js';

@@ -6,0 +6,0 @@ function renderMarkdown(document) {

@@ -1,2 +0,2 @@

function createHtmlExtension() {
export default function createHtmlExtension() {
function enterFooter(event) {

@@ -28,3 +28,1 @@ const isTight = !event.loose;

}
module.exports = createHtmlExtension;

@@ -1,6 +0,6 @@

const codes = require('micromark/dist/character/codes');
const markdownSpace = require('micromark/dist/character/markdown-space');
const constants = require('micromark/dist/constant/constants');
const types = require('micromark/dist/constant/types');
const spaceFactory = require('micromark/dist/tokenize/factory-space');
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';

@@ -93,6 +93,6 @@ const nodeNames = {

module.exports = function directive() {
export default function directive() {
return {
document: { [codes.caret]: [footer] },
};
};
}
{
"name": "@amanda-mitchell/micromark-extension-footer",
"version": "1.0.0",
"version": "2.0.0",
"description": "A micromark extension that parses footer elements.",

@@ -19,2 +19,3 @@ "main": "index.js",

],
"type": "module",
"publishConfig": {

@@ -24,9 +25,8 @@ "access": "public"

"devDependencies": {
"@amanda-mitchell/node-project-scripts": "^2.12.0",
"jest": "^26.6.3",
"micromark": "~2.10.0"
"@amanda-mitchell/node-project-scripts": "^3.0.11",
"micromark": "~2.11.0"
},
"peerDependencies": {
"micromark": "~2.10.0"
"micromark": "~2.11.0"
}
}

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