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

resolve-file

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

resolve-file - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

4

index.js

@@ -90,6 +90,2 @@ /*!

break;
case '@':
file.path = path.resolve(file.cwd, name.slice(2));
file.cwd = path.dirname(file.cwd);
break;
case '.':

@@ -96,0 +92,0 @@ default: {

2

package.json
{
"name": "resolve-file",
"description": "Resolve an absolute file path from local directories, local node_modules or global node_modules.",
"version": "0.2.0",
"version": "0.2.1",
"homepage": "https://github.com/doowb/resolve-file",

@@ -6,0 +6,0 @@ "author": "Brian Woodward (https://github.com/doowb)",

@@ -10,3 +10,3 @@ # 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)

```sh
$ npm install resolve-file --save
$ npm install --save resolve-file
```

@@ -71,7 +71,7 @@

## Related projects
## About
You might also be interested in these projects:
### Related projects
* [cwd](https://www.npmjs.com/package/cwd): Easily get the CWD (current working directory) of a project based on package.json, optionally starting… [more](https://github.com/jonschlinkert/cwd) | [homepage](https://github.com/jonschlinkert/cwd "Easily get the CWD (current working directory) of a project based on package.json, optionally starting from a given path. (Node.js/javascript util)")
* [cwd](https://www.npmjs.com/package/cwd): Easily get the CWD (current working directory) of a project based on package.json, optionally starting… [more](https://github.com/jonschlinkert/cwd) | [homepage](https://github.com/jonschlinkert/cwd "Easily get the CWD (current working directory) of a project based on package.json, optionally starting from a given path. (node.js/javascript util)")
* [expand-tilde](https://www.npmjs.com/package/expand-tilde): Bash-like tilde expansion for node.js. Expands a leading tilde in a file path to the… [more](https://github.com/jonschlinkert/expand-tilde) | [homepage](https://github.com/jonschlinkert/expand-tilde "Bash-like tilde expansion for node.js. Expands a leading tilde in a file path to the user home directory, or `~+` to the cwd.")

@@ -81,24 +81,18 @@ * [look-up](https://www.npmjs.com/package/look-up): Faster drop-in replacement for find-up and findup-sync. | [homepage](https://github.com/jonschlinkert/look-up "Faster drop-in replacement for find-up and findup-sync.")

## Contributing
### Contributing
This document was generated by [verb](https://github.com/verbose/verb), please don't edit directly. Any changes to the readme must be made in [.verb.md](.verb.md). See [Building Docs](#building-docs).
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/doowb/resolve-file/issues/new).
### Building docs
## Building docs
_(This document was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme) (a [verb](https://github.com/verbose/verb) generator), please don't edit the readme directly. Any changes to the readme must be made in [.verb.md](.verb.md).)_
Generate readme and API documentation with [verb](https://github.com/verbose/verb):
To generate the readme and API documentation with [verb](https://github.com/verbose/verb):
```sh
$ npm install -g verb verb-readme-generator && verb
$ npm install -g verb verb-generate-readme && verb
```
Or, if [verb](https://github.com/verbose/verb) is installed globally:
### Running tests
```sh
$ verb
```
## Running tests
Install dev dependencies:

@@ -110,3 +104,3 @@

## Author
### Author

@@ -118,3 +112,3 @@ **Brian Woodward**

## License
### License

@@ -126,2 +120,2 @@ Copyright © 2016, [Brian Woodward](https://github.com/doowb).

_This file was generated by [verb](https://github.com/verbose/verb), v0.9.0, on June 06, 2016._
_This file was generated by [verb](https://github.com/verbose/verb), v0.9.0, on August 17, 2016._
'use strict';
var fs = require('fs');
var path = require('path');
var utils = require('lazy-cache')(require);

@@ -6,0 +5,0 @@ var fn = require;

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