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

front-matter

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

front-matter - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

2

index.js
const parser = require('yaml-js')
const seperators = [ '---', '= yaml =']
const pattern = pattern = '^('
const pattern = '^('
+ '((= yaml =)|(---))'

@@ -6,0 +6,0 @@ + '$([\\s\\S]*?)'

@@ -11,3 +11,3 @@ {

"license": "MIT",
"version": "0.2.1",
"version": "0.2.2",
"homepage": "https://github.com/jxson/front-matter",

@@ -14,0 +14,0 @@ "bugs": "https://github.com/jxson/front-matter/issues",

@@ -52,3 +52,3 @@

}
, body: 'This is some content'
, body: 'This is some text about some stuff that happened sometime ago'
}

@@ -55,0 +55,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