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

@elderjs/plugin-markdown

Package Overview
Dependencies
Maintainers
2
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@elderjs/plugin-markdown - npm Package Compare versions

Comparing version 0.1.10 to 0.1.11

6

index.js

@@ -83,3 +83,7 @@ const glob = require('glob');

// if there is a date in frontmatter, sort them by most recent
const haveDates = plugin.markdown[route].reduce((out, cv) => cv.frontmatter && cv.frontmatter.date && out);
const haveDates = plugin.markdown[route].reduce(
(out, cv) => out && !!cv.frontmatter && !!cv.frontmatter.date,
true,
);
if (haveDates) {

@@ -86,0 +90,0 @@ plugin.markdown[route] = plugin.markdown[route].sort(

2

package.json
{
"name": "@elderjs/plugin-markdown",
"version": "0.1.10",
"version": "0.1.11",
"description": "Easily create routes from your markdown files on your Elder.js site using the remark ecosystem.",

@@ -5,0 +5,0 @@ "keywords": [

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