Comparing version 4.2.0 to 4.2.1
@@ -5,2 +5,7 @@ <!--remark setext--> | ||
4.2.1 / 2016-04-12 | ||
================== | ||
* Fix non-magic globs from matching all files ([`a4ec698`](https://github.com/wooorm/remark/commit/a4ec698)) | ||
4.2.0 / 2016-03-30 | ||
@@ -7,0 +12,0 @@ ================== |
@@ -6,3 +6,3 @@ /** | ||
* @module remark | ||
* @version 4.2.0 | ||
* @version 4.2.1 | ||
* @fileoverview Markdown processor powered by plugins. | ||
@@ -9,0 +9,0 @@ */ |
@@ -6,3 +6,3 @@ /** | ||
* @module remark:cli:cli | ||
* @version 4.2.0 | ||
* @version 4.2.1 | ||
* @fileoverview Bridge between CLI options and node. | ||
@@ -9,0 +9,0 @@ */ |
@@ -6,3 +6,3 @@ /** | ||
* @module remark:cli:configuration | ||
* @version 4.2.0 | ||
* @version 4.2.1 | ||
* @fileoverview Find remark rc files. | ||
@@ -9,0 +9,0 @@ */ |
@@ -6,3 +6,3 @@ /** | ||
* @module remark:cli:file-pipeline:configure | ||
* @version 4.2.0 | ||
* @version 4.2.1 | ||
* @fileoverview Configure a file. | ||
@@ -9,0 +9,0 @@ */ |
@@ -6,3 +6,3 @@ /** | ||
* @module remark:cli:file-pipeline:copy | ||
* @version 4.2.0 | ||
* @version 4.2.1 | ||
* @fileoverview Move a file. | ||
@@ -9,0 +9,0 @@ */ |
@@ -6,3 +6,3 @@ /** | ||
* @module remark:cli:file-pipeline:file-system | ||
* @version 4.2.0 | ||
* @version 4.2.1 | ||
* @fileoverview Write a file to the file system. | ||
@@ -9,0 +9,0 @@ */ |
@@ -6,3 +6,3 @@ /** | ||
* @module remark:cli:file-pipeline | ||
* @version 4.2.0 | ||
* @version 4.2.1 | ||
* @fileoverview Process a file. | ||
@@ -9,0 +9,0 @@ */ |
@@ -6,3 +6,3 @@ /** | ||
* @module remark:cli:file-pipeline:parse | ||
* @version 4.2.0 | ||
* @version 4.2.1 | ||
* @fileoverview Parse a file into an AST. | ||
@@ -9,0 +9,0 @@ */ |
@@ -6,3 +6,3 @@ /** | ||
* @module remark:cli:file-pipeline:queue | ||
* @version 4.2.0 | ||
* @version 4.2.1 | ||
* @fileoverview Queue all files which came this far. | ||
@@ -9,0 +9,0 @@ */ |
@@ -6,3 +6,3 @@ /** | ||
* @module remark:cli:file-pipeline:read | ||
* @version 4.2.0 | ||
* @version 4.2.1 | ||
* @fileoverview Read a file if not already filled. | ||
@@ -9,0 +9,0 @@ */ |
@@ -6,3 +6,3 @@ /** | ||
* @module remark:cli:file-pipeline:stdout | ||
* @version 4.2.0 | ||
* @version 4.2.1 | ||
* @fileoverview Write a file to stdout(4). | ||
@@ -9,0 +9,0 @@ */ |
@@ -6,3 +6,3 @@ /** | ||
* @module remark:cli:file-pipeline:stringify | ||
* @version 4.2.0 | ||
* @version 4.2.1 | ||
* @fileoverview Compile an AST into a file. | ||
@@ -9,0 +9,0 @@ */ |
@@ -6,3 +6,3 @@ /** | ||
* @module remark:cli:file-pipeline:transform | ||
* @version 4.2.0 | ||
* @version 4.2.1 | ||
* @fileoverview Transform an AST associated with a file. | ||
@@ -9,0 +9,0 @@ */ |
@@ -6,3 +6,3 @@ /** | ||
* @module remark:cli:file-set-pipeline:configure | ||
* @version 4.2.0 | ||
* @version 4.2.1 | ||
* @fileoverview Configure a collection of files. | ||
@@ -9,0 +9,0 @@ */ |
@@ -6,3 +6,3 @@ /** | ||
* @module remark:cli:file-set-pipeline:traverse | ||
* @version 4.2.0 | ||
* @version 4.2.1 | ||
* @fileoverview Find files from the file-system. | ||
@@ -9,0 +9,0 @@ */ |
@@ -6,3 +6,3 @@ /** | ||
* @module remark:cli:file-set-pipeline | ||
* @version 4.2.0 | ||
* @version 4.2.1 | ||
* @fileoverview Process a collection of files. | ||
@@ -9,0 +9,0 @@ */ |
@@ -6,3 +6,3 @@ /** | ||
* @module remark:cli:log | ||
* @version 4.2.0 | ||
* @version 4.2.1 | ||
* @fileoverview Log a file context on successful completion. | ||
@@ -9,0 +9,0 @@ */ |
@@ -6,3 +6,3 @@ /** | ||
* @module remark:cli:file-set-pipeline:stdin | ||
* @version 4.2.0 | ||
* @version 4.2.1 | ||
* @fileoverview Read from stdin. | ||
@@ -9,0 +9,0 @@ */ |
@@ -6,3 +6,3 @@ /** | ||
* @module remark:cli:file-set-pipeline:transform | ||
* @version 4.2.0 | ||
* @version 4.2.1 | ||
* @fileoverview Transform all files. | ||
@@ -9,0 +9,0 @@ */ |
@@ -6,3 +6,3 @@ /** | ||
* @module remark:cli:file-set | ||
* @version 4.2.0 | ||
* @version 4.2.1 | ||
* @fileoverview Collection of virtual files. | ||
@@ -9,0 +9,0 @@ */ |
@@ -6,3 +6,3 @@ /** | ||
* @module remark:cli:traverser | ||
* @version 4.2.0 | ||
* @version 4.2.1 | ||
* @fileoverview Get applicable input files from | ||
@@ -139,3 +139,11 @@ * the file system to be processed by remark, respecting | ||
return globs.some(function (glob) { | ||
return match(filePath, glob) && stat(filePath).isFile(); | ||
if (!stat(filePath).isFile()) { | ||
return false; | ||
} | ||
if (hasMagic(glob)) { | ||
return match(filePath, glob); | ||
} | ||
return given.indexOf(filePath) !== -1; | ||
}); | ||
@@ -142,0 +150,0 @@ }, filePaths, function (err, files) { |
@@ -6,3 +6,3 @@ /** | ||
* @module remark:cli:ignore | ||
* @version 4.2.0 | ||
* @version 4.2.1 | ||
* @fileoverview Find remark ignore files. | ||
@@ -9,0 +9,0 @@ */ |
@@ -6,3 +6,3 @@ /** | ||
* @module remark:cli | ||
* @version 4.2.0 | ||
* @version 4.2.1 | ||
* @fileoverview CLI Engine. | ||
@@ -9,0 +9,0 @@ */ |
@@ -6,3 +6,3 @@ /** | ||
* @module remark:cli:spinner | ||
* @version 4.2.0 | ||
* @version 4.2.1 | ||
* @fileoverview A spinner for stdout(4). | ||
@@ -9,0 +9,0 @@ */ |
@@ -5,3 +5,3 @@ /** | ||
* @license MIT | ||
* @version 4.2.0 | ||
* @version 4.2.1 | ||
* @module remark:cli:watch-output-cache | ||
@@ -8,0 +8,0 @@ * @fileoverview Cache changed files which are also watched. |
@@ -6,3 +6,3 @@ /** | ||
* @module remark:defaults | ||
* @version 4.2.0 | ||
* @version 4.2.1 | ||
* @fileoverview Default values for parse and | ||
@@ -9,0 +9,0 @@ * stringification settings. |
@@ -6,3 +6,3 @@ /** | ||
* @module remark:stringify | ||
* @version 4.2.0 | ||
* @version 4.2.1 | ||
* @fileoverview Compile an abstract syntax tree into | ||
@@ -9,0 +9,0 @@ * a markdown document. |
@@ -6,3 +6,3 @@ /** | ||
* @module remark:utilities | ||
* @version 4.2.0 | ||
* @version 4.2.1 | ||
* @fileoverview Collection of tiny helpers useful for | ||
@@ -9,0 +9,0 @@ * both parsing and compiling markdown. |
{ | ||
"name": "remark", | ||
"version": "4.2.0", | ||
"version": "4.2.1", | ||
"description": "Markdown processor powered by plugins", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -96,7 +96,7 @@ # ![remark][logo] | ||
**Signatures** | ||
**Signatures**: | ||
* `doc = remark.process(value, options?, done?)`. | ||
**Parameters** | ||
**Parameters**: | ||
@@ -137,3 +137,3 @@ * `value` (`string`) — Markdown document; | ||
**Returns** | ||
**Returns**: | ||
@@ -150,3 +150,3 @@ `string` or `null`: A document. Formatted in markdown by default, or in | ||
**Signatures** | ||
**Signatures**: | ||
@@ -156,3 +156,3 @@ * `processor = remark.use(plugin, options?)`; | ||
**Parameters** | ||
**Parameters**: | ||
@@ -163,3 +163,3 @@ * `plugin` (`Function`) — A [**Plugin**][plugins]; | ||
**Returns** | ||
**Returns**: | ||
@@ -166,0 +166,0 @@ `Object`: an instance of Remark: The returned object functions just like |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
371236
10207