remark-message-control
Advanced tools
Comparing version 1.0.1 to 2.0.0
@@ -5,2 +5,8 @@ <!--remark setext--> | ||
2.0.0 / 2016-02-14 | ||
================== | ||
* Remove Duo support ([`6d35947`](https://github.com/wooorm/remark-message-control/commit/6d35947)) | ||
* Update for changes in remark ([`90aa089`](https://github.com/wooorm/remark-message-control/commit/90aa089)) | ||
1.0.1 / 2016-02-03 | ||
@@ -7,0 +13,0 @@ ================== |
@@ -17,3 +17,3 @@ /** | ||
var range = require('remark-range'); | ||
var vfileLocation = require('vfile-location'); | ||
var visit = require('unist-util-visit'); | ||
@@ -127,4 +127,2 @@ var marker = require('mdast-comment-marker'); | ||
processor.use(range); | ||
known = options.known; | ||
@@ -143,2 +141,3 @@ reset = options.reset; | ||
return function (ast, file) { | ||
var location = vfileLocation(file); | ||
var initial = !reset; | ||
@@ -377,3 +376,3 @@ var gaps = detectGaps(ast); | ||
pos = file.positionToOffset(message); | ||
pos = location.toOffset(message); | ||
@@ -380,0 +379,0 @@ while (gapIndex--) { |
{ | ||
"name": "remark-message-control", | ||
"version": "1.0.1", | ||
"version": "2.0.0", | ||
"description": "Enable, disable, and ignore messages with remark", | ||
@@ -22,10 +22,13 @@ "license": "MIT", | ||
"author": "Titus Wormer <tituswormer@gmail.com> (http://wooorm.com)", | ||
"contributors": [ | ||
"Titus Wormer <tituswormer@gmail.com> (http://wooorm.com)" | ||
], | ||
"dependencies": { | ||
"mdast-comment-marker": "^1.0.0", | ||
"remark-range": "^2.0.0", | ||
"unist-util-visit": "^1.0.0" | ||
"unist-util-visit": "^1.0.0", | ||
"vfile-location": "^2.0.0" | ||
}, | ||
"devDependencies": { | ||
"browserify": "^13.0.0", | ||
"eslint": "^1.0.0", | ||
"eslint": "^2.0.0", | ||
"esmangle": "^1.0.0", | ||
@@ -35,10 +38,10 @@ "istanbul": "^0.4.0", | ||
"jscs-jsdoc": "^1.0.0", | ||
"remark": "^3.0.0", | ||
"remark-comment-config": "^2.0.2", | ||
"remark-github": "^4.0.0", | ||
"remark-lint": "^2.0.2", | ||
"remark": "^4.0.0-alpha.4", | ||
"remark-comment-config": "^3.0.0", | ||
"remark-github": "^4.0.1", | ||
"remark-lint": "^3.0.0", | ||
"remark-slug": "^4.0.0", | ||
"remark-toc": "^2.0.1", | ||
"remark-toc": "^3.0.0", | ||
"remark-validate-links": "^2.0.2", | ||
"remark-yaml-config": "^2.0.0", | ||
"remark-yaml-config": "^3.0.0", | ||
"tape": "^4.0.0", | ||
@@ -45,0 +48,0 @@ "vfile-reporter": "^1.5.0" |
@@ -13,4 +13,4 @@ # remark-message-control [![Build Status][travis-badge]][travis] [![Coverage Status][codecov-badge]][codecov] | ||
**remark-message-control** is also available for [duo][duo-install], and as an | ||
AMD, CommonJS, and globals module, [uncompressed and compressed][releases]. | ||
**remark-message-control** is also available as an AMD, CommonJS, and | ||
globals module, [uncompressed and compressed][releases]. | ||
@@ -143,4 +143,2 @@ ## Usage | ||
[duo-install]: http://duojs.org/#getting-started | ||
[releases]: https://github.com/wooorm/remark-message-control/releases | ||
@@ -147,0 +145,0 @@ |
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
16750
149
+ Addedvfile-location@^2.0.0
+ Addedvfile-location@2.0.6(transitive)
- Removedremark-range@^2.0.0
- Removedremark-range@2.0.0(transitive)