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

vfile

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vfile - npm Package Compare versions

Comparing version 1.1.2 to 1.2.0

10

history.md

@@ -1,5 +0,13 @@

<!--mdast setext-->
<!--remark setext-->
<!--lint disable no-multiple-toplevel-headings-->
1.2.0 / 2015-12-27
==================
* Update list of related tools ([69e576f](https://github.com/wooorm/vfile/commit/69e576f))
* Remove distribution files from source ([b45c780](https://github.com/wooorm/vfile/commit/b45c780))
* Remove support for bower ([849c3ad](https://github.com/wooorm/vfile/commit/849c3ad))
* Rename mdast to remark ([b3c8cea](https://github.com/wooorm/vfile/commit/b3c8cea))
1.1.2 / 2015-10-16

@@ -6,0 +14,0 @@ ==================

8

index.js

@@ -39,2 +39,4 @@ /**

/* eslint-env commonjs */
var SEPARATOR = '/';

@@ -127,3 +129,3 @@

* those available at `node.position.start`.
* @return {string}
* @return {string} - Compiled location.
*/

@@ -156,3 +158,3 @@ function stringify(position) {

* @param {VFile} file - Virtual file.
* @return {Function}
* @return {Function} - `filePath` getter.
*/

@@ -298,3 +300,3 @@ function filePathFactory(file) {

'extension': options.extension
})
});
}

@@ -301,0 +303,0 @@

{
"name": "vfile",
"version": "1.1.2",
"version": "1.2.0",
"description": "Virtual file format for text processing",

@@ -14,3 +14,3 @@ "license": "MIT",

"error",
"mdast",
"remark",
"retext"

@@ -25,31 +25,30 @@ ],

"devDependencies": {
"browserify": "^11.0.0",
"browserify": "^12.0.0",
"eslint": "^1.0.0",
"esmangle": "^1.0.0",
"istanbul": "^0.3.0",
"istanbul": "^0.4.0",
"jscs": "^2.0.0",
"jscs-jsdoc": "^1.0.0",
"mdast": "^1.0.0",
"mdast-comment-config": "^1.0.0",
"mdast-github": "^1.0.0",
"mdast-lint": "^1.0.0",
"mdast-man": "^1.0.0",
"mdast-toc": "^1.0.0",
"mdast-validate-links": "^1.0.0",
"remark": "^3.0.0",
"remark-comment-config": "^2.0.0",
"remark-github": "^2.0.0",
"remark-lint": "^2.0.0",
"remark-man": "^2.0.0",
"remark-toc": "^2.0.0",
"remark-validate-links": "^2.0.0",
"mocha": "^2.0.0"
},
"scripts": {
"build-md": "remark . --quiet --frail",
"build-bundle": "browserify index.js -s VFile > vfile.js",
"build-mangle": "esmangle vfile.js > vfile.min.js",
"build": "npm run build-md && npm run build-bundle && npm run build-mangle",
"lint-api": "eslint .",
"lint-style": "jscs --reporter inline .",
"lint": "npm run lint-api && npm run lint-style",
"test-api": "mocha --check-leaks test.js",
"test-coverage": "istanbul cover _mocha -- test.js",
"test-travis": "npm run test-coverage",
"test": "npm run test-api",
"lint-api": "eslint .",
"lint-style": "jscs --reporter inline .",
"lint": "npm run lint-api && npm run lint-style",
"make": "npm run lint && npm run test-coverage",
"build-md": "mdast . --quiet",
"build-bundle": "browserify index.js -s VFile > vfile.js",
"postbuild-bundle": "esmangle vfile.js > vfile.min.js",
"build": "npm run build-md && npm run build-bundle"
"test": "npm run build && npm run lint && npm run test-coverage"
}
}

@@ -6,6 +6,6 @@ # ![vfile](https://cdn.rawgit.com/wooorm/vfile/master/logo.svg)

**VFile** is a virtual file format used by [**retext**](https://github.com/wooorm/retext)
(natural language) and [**mdast**](https://github.com/wooorm/mdast) (markdown).
Two processors which parse, transform, and compile text. Both need a virtual
representation of files and a place to store metadata and messages. And, they
work in the browser. **VFile** provides these requirements.
(natural language) and [**remark**](https://github.com/wooorm/remark)
(markdown). Two processors which parse, transform, and compile text. Both need
a virtual representation of files and a place to store metadata and messages.
And, they work in the browser. **VFile** provides these requirements.

@@ -32,5 +32,5 @@ Also, **VFile** exposes a warning mechanism compatible with [**ESLint**](https://github.com/eslint/eslint)s

**VFile** is also available for [bower](http://bower.io/#install-packages),
[component](https://github.com/componentjs/component), and [duo](http://duojs.org/#getting-started),
and as an AMD, CommonJS, and globals module, [uncompressed](vfile.js) and [compressed](vfile.min.js).
**VFile** is also available for [duo](http://duojs.org/#getting-started),
and as an AMD, CommonJS, and globals module, [uncompressed and
compressed](https://github.com/wooorm/vfile/releases).

@@ -96,3 +96,3 @@ ## Table of Contents

[**VFile**](#api)s are used by both [**retext**](https://github.com/wooorm/retext)
and [**mdast**](https://github.com/wooorm/mdast).
and [**remark**](https://github.com/wooorm/remark).

@@ -104,2 +104,5 @@ In addition, here’s a list of useful tools:

* [`shinnn/is-vfile-message`](https://github.com/shinnn/is-vfile-message)
— Check if a value is a `VFileMessage` object;
* [`wooorm/to-vfile`](https://github.com/wooorm/to-vfile)

@@ -111,2 +114,5 @@ — Create a virtual file from a file-path;

* [`shinnn/vfile-messages-to-vscode-diagnostics`](https://github.com/shinnn/vfile-messages-to-vscode-diagnostics)
— Convert `VFileMessage`s into an array of VS Code diagnostics;
* [`wooorm/vfile-reporter`](https://github.com/wooorm/vfile-reporter)

@@ -113,0 +119,0 @@ — Stylish reporter for virtual files.

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