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

strapi-markdown-parser

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

strapi-markdown-parser - npm Package Compare versions

Comparing version 0.0.13 to 0.0.14

2

package.json
{
"name": "strapi-markdown-parser",
"version": "0.0.13",
"version": "0.0.14",
"description": "Strapi controller module to parse Markdown to HTML",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -26,7 +26,11 @@ # Welcome to strapi-markdown-parser 👋

async find(ctx) {
return md(await strapi.services.{COLLECTION}.find())
const data = await strapi.services.{COLLECTION}.find(ctx.query)
return md(data)
},
async findOne(ctx) {
const { id } = ctx.params
return md(await strapi.services.{COLLECTION}.findOne({ id }))
const data = await strapi.services.{COLLECTION}.findOne({ id })
return md(data)
}

@@ -33,0 +37,0 @@ }

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