remark-usage
Advanced tools
Comparing version 6.0.1 to 6.1.0
10
index.js
@@ -142,3 +142,3 @@ 'use strict' | ||
pack = require(resolve(cwd, 'package.json')) | ||
} catch (err) { | ||
} catch (error) { | ||
pack = {} | ||
@@ -221,4 +221,4 @@ } | ||
uncached(tmp) | ||
} catch (err) { | ||
err.message = | ||
} catch (error) { | ||
error.message = | ||
'Invalid example `' + | ||
@@ -228,5 +228,5 @@ example + | ||
'Ensure example is a valid JavaScript file:\n\n' + | ||
err.message | ||
error.message | ||
throw err | ||
throw error | ||
} finally { | ||
@@ -233,0 +233,0 @@ stop() |
{ | ||
"name": "remark-usage", | ||
"version": "6.0.1", | ||
"version": "6.1.0", | ||
"description": "Add a usage example to your README", | ||
@@ -24,3 +24,3 @@ "license": "MIT", | ||
"mdast-util-heading-range": "^2.0.0", | ||
"remark-parse": "^5.0.0", | ||
"remark-parse": "^6.0.0", | ||
"require-uncached": "^1.0.2", | ||
@@ -34,9 +34,9 @@ "trim-trailing-lines": "^1.0.0", | ||
"negate": "^1.0.0", | ||
"nyc": "^12.0.0", | ||
"nyc": "^13.0.0", | ||
"prettier": "^1.14.2", | ||
"remark": "^9.0.0", | ||
"remark-cli": "^5.0.0", | ||
"remark": "^10.0.0", | ||
"remark-cli": "^6.0.0", | ||
"remark-preset-wooorm": "^4.0.0", | ||
"tape": "^4.0.0", | ||
"xo": "^0.22.0" | ||
"xo": "^0.23.0" | ||
}, | ||
@@ -43,0 +43,0 @@ "scripts": { |
@@ -138,3 +138,3 @@ # remark-usage [![Build Status][build-badge]][build-status] [![Coverage Status][coverage-badge]][coverage-status] [![Chat][chat-badge]][chat] | ||
[license]: LICENSE | ||
[license]: license | ||
@@ -141,0 +141,0 @@ [author]: http://wooorm.com |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
13869
0
+ Addedremark-parse@6.0.3(transitive)
- Removedremark-parse@5.0.0(transitive)
Updatedremark-parse@^6.0.0