Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vfile-reporter

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vfile-reporter - npm Package Compare versions

Comparing version 7.0.0 to 7.0.1

1

index.d.ts

@@ -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.

7

package.json
{
"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])`

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