New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

docmatter

Package Overview
Dependencies
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

docmatter - npm Package Compare versions

Comparing version 2.5.0 to 3.0.0-next.1585175555.5f300a4a15c659e530c4192ba37000e51c9fb352

18

edition-esnext/index.js

@@ -1,22 +0,22 @@

// Generated by CoffeeScript 2.4.1
// Generated by CoffeeScript 2.5.1
// Prepare
var regex;
// allow some space
regex = /^\s*[^\n]*?(([^\s\d\w])\2{2,})(?:\x20*([a-z]+))?([\s\S]*?)[^\n]*?\1[^\n]*\n/; // allow some space
// allow potential comment characters in delimiter
// discover our delimiter
// discover our parser (optional)
// discover our meta content
// allow potential comment characters in delimiter
// match our delimiter (the first group) exactly
// allow potential comment characters in delimiter
// end with a newline
regex = /^\s*[^\n]*?(([^\s\d\w])\2{2,})(?:\x20*([a-z]+))?([\s\S]*?)[^\n]*?\1[^\n]*\n/; //\2
//\2
// match the above (the first character of our delimiter), 2 or more times
//\1
// discover our parser (optional)
// allow zero or more space characters, see https://github.com/jashkenas/coffee-script/issues/2668
// parser must be lowercase alpha
//\3
// discover our meta content
// match anything/everything lazily
//\4
// allow potential comment characters in delimiter
// match our delimiter (the first group) exactly
// allow potential comment characters in delimiter
// end with a newline

@@ -23,0 +23,0 @@ // Export

# History
## v3.0.0 2020 March 26
- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
- Minimum required node version changed from `node: >=8` to `node: >=10` to keep up with mandatory ecosystem changes
## v2.5.0 2019 December 9

@@ -4,0 +9,0 @@

{
"name": "docmatter",
"version": "2.5.0",
"version": "3.0.0-next.1585175555.5f300a4a15c659e530c4192ba37000e51c9fb352",
"description": "Battle tested SSG front matter parser. Extracted from DocPad. Delimiter lines have 3+ of the same character (such as `/***` and `***/`) allowing front matters to work with the syntax highlighting of your code editor. Supports custom parsers, e.g. `--- cson`. Parsers are handled externally.",

@@ -8,16 +8,17 @@ "homepage": "https://github.com/bevry/docmatter",

"keywords": [
"coffeescript",
"data",
"extract",
"extracting",
"front",
"front-matter",
"frontmatter",
"front-matter",
"front",
"generator",
"matter",
"template",
"meta",
"meta-data",
"metadata",
"ssg",
"static-site-generator",
"generator",
"meta",
"metadata",
"meta-data",
"data",
"extract",
"extracting"
"template"
],

@@ -61,4 +62,3 @@ "badges": {

"contributors": [
"Benjamin Lupton (http://balupton.com)",
"dependabot-preview[bot] (http://github.com/apps/dependabot-preview)"
"Benjamin Lupton (http://balupton.com)"
],

@@ -73,7 +73,7 @@ "bugs": {

"engines": {
"node": ">=8"
"node": ">=10"
},
"editions": [
{
"description": "coffeescript source code with require for modules",
"description": "CoffeeScript source code with Require for modules",
"directory": "source",

@@ -88,3 +88,3 @@ "entry": "index.coffee",

{
"description": "coffeescript compiled for node.js with require for modules",
"description": "CoffeeScript compiled for Node.js with Require for modules",
"directory": "edition-esnext",

@@ -98,3 +98,3 @@ "entry": "index.js",

"engines": {
"node": "8 || 10 || 12"
"node": "10 || 12"
}

@@ -106,8 +106,8 @@ }

"devDependencies": {
"assert-helpers": "^5.8.0",
"assert-helpers": "^6.0.0",
"coffeelint": "^2.1.0",
"coffeescript": "^2.4.1",
"kava": "^4.3.0",
"projectz": "^1.15.0",
"valid-directory": "^1.5.0",
"coffeescript": "^2.5.1",
"kava": "^4.4.0",
"projectz": "^1.19.0",
"valid-directory": "^1.6.0",
"yamljs": "^0.3.0"

@@ -133,5 +133,5 @@ },

"our:verify:coffeelint": "coffeelint ./source",
"our:verify:directory": "npx valid-directory",
"our:verify:directory": "valid-directory",
"test": "node ./edition-esnext/test.js"
}
}

@@ -36,25 +36,2 @@ <!-- TITLE/ -->

<!-- INSTALL/ -->
<h2>Install</h2>
<a href="https://npmjs.com" title="npm is a package manager for javascript"><h3>npm</h3></a>
<ul>
<li>Install: <code>npm install --save docmatter</code></li>
<li>Require: <code>require('docmatter')</code></li>
</ul>
<h3><a href="https://editions.bevry.me" title="Editions are the best way to produce and consume packages you care about.">Editions</a></h3>
<p>This package is published with the following editions:</p>
<ul><li><code>docmatter/source/index.coffee</code> is coffeescript source code with require for modules</li>
<li><code>docmatter</code> aliases <code>docmatter/edition-esnext/index.js</code></li>
<li><code>docmatter/edition-esnext/index.js</code> is coffeescript compiled for node.js with require for modules</li></ul>
<p>Environments older than Node.js v8 may need <a href="https://babeljs.io/docs/usage/polyfill/" title="A polyfill that emulates missing ECMAScript environment features">Babel's Polyfill</a> or something similar.</p>
<!-- /INSTALL -->
## Usage

@@ -147,2 +124,24 @@

<!-- INSTALL/ -->
<h2>Install</h2>
<a href="https://npmjs.com" title="npm is a package manager for javascript"><h3>npm</h3></a>
<ul>
<li>Install: <code>npm install --save docmatter</code></li>
<li>Import: <code>import * as pkg from ('docmatter')</code></li>
<li>Require: <code>const pkg = require('docmatter')</code></li>
</ul>
<h3><a href="https://editions.bevry.me" title="Editions are the best way to produce and consume packages you care about.">Editions</a></h3>
<p>This package is published with the following editions:</p>
<ul><li><code>docmatter/source/index.coffee</code> is <a href="https://coffeescript.org" title="CoffeeScript is a little language that compiles into JavaScript">CoffeeScript</a> source code with <a href="https://nodejs.org/dist/latest-v5.x/docs/api/modules.html" title="Node/CJS Modules">Require</a> for modules</li>
<li><code>docmatter</code> aliases <code>docmatter/edition-esnext/index.js</code></li>
<li><code>docmatter/edition-esnext/index.js</code> is <a href="https://coffeescript.org" title="CoffeeScript is a little language that compiles into JavaScript">CoffeeScript</a> compiled for <a href="https://nodejs.org" title="Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine">Node.js</a> with <a href="https://nodejs.org/dist/latest-v5.x/docs/api/modules.html" title="Node/CJS Modules">Require</a> for modules</li></ul>
<!-- /INSTALL -->
<!-- HISTORY/ -->

@@ -149,0 +148,0 @@

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