vfile-reporter
Advanced tools
Comparing version 7.0.0 to 7.0.1
@@ -12,2 +12,3 @@ /** | ||
): string | ||
export default reporter | ||
export type VFile = import('vfile').VFile | ||
@@ -14,0 +15,0 @@ export type VFileMessage = import('vfile-message').VFileMessage |
@@ -54,2 +54,4 @@ /** | ||
export default reporter | ||
/** | ||
@@ -56,0 +58,0 @@ * Report a file’s messages. |
{ | ||
"name": "vfile-reporter", | ||
"version": "7.0.0", | ||
"version": "7.0.1", | ||
"description": "vfile utility to create a report for a file", | ||
@@ -64,3 +64,3 @@ "license": "MIT", | ||
"vfile": "^5.0.0", | ||
"xo": "^0.39.0" | ||
"xo": "^0.40.0" | ||
}, | ||
@@ -89,3 +89,4 @@ "scripts": { | ||
"no-var": "off", | ||
"prefer-arrow-callback": "off" | ||
"prefer-arrow-callback": "off", | ||
"unicorn/prefer-node-protocol": "off" | ||
} | ||
@@ -92,0 +93,0 @@ }, |
@@ -37,7 +37,7 @@ # vfile-reporter | ||
```js | ||
var vfile = require('vfile') | ||
var reporter = require('vfile-reporter') | ||
import {VFile} from 'vfile' | ||
import {reporter} from 'vfile-reporter' | ||
var one = vfile({path: 'test/fixture/1.js'}) | ||
var two = vfile({path: 'test/fixture/2.js'}) | ||
var one = new VFile({path: 'test/fixture/1.js'}) | ||
var two = new VFile({path: 'test/fixture/2.js'}) | ||
@@ -63,3 +63,3 @@ one.message('Warning!', {line: 2, column: 4}) | ||
This package exports the following identifiers: `reporter`. | ||
There is no default export. | ||
That identifier is also the default export. | ||
@@ -66,0 +66,0 @@ ### `reporter(files[, options])` |
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
16745
316
0