Socket
Socket
Sign inDemoInstall

remark-frontmatter

Package Overview
Dependencies
Maintainers
13
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remark-frontmatter - npm Package Compare versions

Comparing version 1.2.1 to 1.3.0

license

3

lib/parse.js

@@ -12,5 +12,6 @@ 'use strict'

var newline = '\n'
var anywhere = matter.anywhere
frontmatter.displayName = name
frontmatter.onlyAtStart = true
frontmatter.onlyAtStart = typeof anywhere === 'boolean' ? !anywhere : true

@@ -17,0 +18,0 @@ return [name, frontmatter]

{
"name": "remark-frontmatter",
"version": "1.2.1",
"version": "1.3.0",
"description": "Frontmatter (yaml, toml, and more) support for remark",

@@ -32,3 +32,3 @@ "license": "MIT",

"not": "^0.1.0",
"nyc": "^12.0.0",
"nyc": "^13.0.0",
"prettier": "^1.14.2",

@@ -42,3 +42,3 @@ "remark": "^9.0.0",

"unified": "^7.0.0",
"xo": "^0.22.0"
"xo": "^0.23.0"
},

@@ -45,0 +45,0 @@ "scripts": {

@@ -110,2 +110,5 @@ # remark-frontmatter [![Build Status][build-badge]][build-status] [![Coverage Status][coverage-badge]][coverage-status] [![Chat][chat-badge]][chat]

used too if fences contain different characters or lengths other than 3
* `anywhere` (`boolean`, default: `false`) – if `true`, matter can be
found anywhere in the document. If `false` (default), only matter at the
start of the document is recognised.

@@ -223,3 +226,3 @@ ###### Example

[license]: LICENSE
[license]: license

@@ -226,0 +229,0 @@ [author]: http://wooorm.com

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