resolve-file
Advanced tools
Comparing version 0.2.1 to 0.2.2
{ | ||
"name": "resolve-file", | ||
"description": "Resolve an absolute file path from local directories, local node_modules or global node_modules.", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"homepage": "https://github.com/doowb/resolve-file", | ||
@@ -25,8 +25,8 @@ "author": "Brian Woodward (https://github.com/doowb)", | ||
"cwd": "^0.10.0", | ||
"expand-tilde": "^1.2.2", | ||
"expand-tilde": "^2.0.1", | ||
"extend-shallow": "^2.0.1", | ||
"fs-exists-sync": "^0.1.0", | ||
"global-modules": "^0.2.2", | ||
"global-modules": "^0.2.3", | ||
"homedir-polyfill": "^1.0.0", | ||
"lazy-cache": "^2.0.1", | ||
"os-homedir": "^1.0.1", | ||
"resolve": "^1.1.7" | ||
@@ -33,0 +33,0 @@ }, |
@@ -1,4 +0,4 @@ | ||
# resolve-file [![NPM version](https://img.shields.io/npm/v/resolve-file.svg?style=flat)](https://www.npmjs.com/package/resolve-file) [![NPM downloads](https://img.shields.io/npm/dm/resolve-file.svg?style=flat)](https://npmjs.org/package/resolve-file) [![Build Status](https://img.shields.io/travis/doowb/resolve-file.svg?style=flat)](https://travis-ci.org/doowb/resolve-file) | ||
# resolve-file [![NPM version](https://img.shields.io/npm/v/resolve-file.svg?style=flat)](https://www.npmjs.com/package/resolve-file) [![NPM downloads](https://img.shields.io/npm/dm/resolve-file.svg?style=flat)](https://npmjs.org/package/resolve-file) [![Linux Build Status](https://img.shields.io/travis/doowb/resolve-file.svg?style=flat&label=Travis)](https://travis-ci.org/doowb/resolve-file) [![Windows Build Status](https://img.shields.io/appveyor/ci/doowb/resolve-file.svg?style=flat&label=AppVeyor)](https://ci.appveyor.com/project/doowb/resolve-file) | ||
Resolve an absolute file path from local directories, local node_modules or global node_modules. | ||
> Resolve an absolute file path from local directories, local node_modules or global node_modules. | ||
@@ -31,8 +31,2 @@ ## Install | ||
**Params** | ||
* `name` **{String}**: Filename to resolve | ||
* `options` **{Object}**: Additional options to specify `cwd` | ||
* `returns` **{String}**: Resolved `filepath` if found | ||
**Example** | ||
@@ -45,2 +39,8 @@ | ||
**Params** | ||
* `name` **{String}**: Filename to resolve | ||
* `options` **{Object}**: Additional options to specify `cwd` | ||
* `returns` **{String}**: Resolved `filepath` if found | ||
### [.file](index.js#L61) | ||
@@ -56,8 +56,2 @@ | ||
**Params** | ||
* `name` **{String}**: Filename to resolve | ||
* `options` **{Object}**: Additional options to specify `cwd` | ||
* `returns` **{Object}**: File object with resolved `path` if found. | ||
**Example** | ||
@@ -73,2 +67,8 @@ | ||
**Params** | ||
* `name` **{String}**: Filename to resolve | ||
* `options` **{Object}**: Additional options to specify `cwd` | ||
* `returns` **{Object}**: File object with resolved `path` if found. | ||
## About | ||
@@ -87,2 +87,9 @@ | ||
### Contributors | ||
| **Commits** | **Contributor**<br/> | | ||
| --- | --- | | ||
| 13 | [doowb](https://github.com/doowb) | | ||
| 7 | [jonschlinkert](https://github.com/jonschlinkert) | | ||
### Building docs | ||
@@ -116,6 +123,6 @@ | ||
Copyright © 2016, [Brian Woodward](https://github.com/doowb). | ||
Released under the [MIT license](https://github.com/doowb/resolve-file/blob/master/LICENSE). | ||
Released under the [MIT license](LICENSE). | ||
*** | ||
_This file was generated by [verb](https://github.com/verbose/verb), v0.9.0, on August 17, 2016._ | ||
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.2.0, on October 19, 2016._ |
@@ -16,3 +16,3 @@ 'use strict'; | ||
require('fs-exists-sync', 'exists'); | ||
require('os-homedir', 'home'); | ||
require('homedir-polyfill', 'home'); | ||
require('resolve'); | ||
@@ -19,0 +19,0 @@ require = fn; |
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
11704
122
+ Addedhomedir-polyfill@^1.0.0
+ Addedexpand-tilde@2.0.2(transitive)
- Removedos-homedir@^1.0.1
Updatedexpand-tilde@^2.0.1
Updatedglobal-modules@^0.2.3