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

look-up

Package Overview
Dependencies
Maintainers
2
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

look-up - npm Package Compare versions

Comparing version 0.7.1 to 0.7.2

34

package.json
{
"name": "look-up",
"description": "Like findup-sync and supports the same features but 20x-40x faster on avg.",
"version": "0.7.1",
"version": "0.7.2",
"homepage": "https://github.com/jonschlinkert/look-up",
"author": {
"name": "Jon Schlinkert",
"url": "https://github.com/jonschlinkert"
},
"repository": {
"type": "git",
"url": "git://github.com/jonschlinkert/look-up.git"
},
"author": "Jon Schlinkert (https://github.com/jonschlinkert)",
"repository": "jonschlinkert/look-up",
"bugs": {
"url": "https://github.com/jonschlinkert/look-up/issues"
},
"license": {
"type": "MIT",
"url": "https://github.com/jonschlinkert/look-up/blob/master/LICENSE"
},
"license": "MIT",
"files": [

@@ -34,4 +25,4 @@ "index.js"

"expand-tilde": "^1.2.0",
"is-glob": "^1.1.3",
"micromatch": "^2.1.5"
"is-glob": "^2.0.0",
"micromatch": "^2.2.0"
},

@@ -63,3 +54,12 @@ "devDependencies": {

"up"
]
}
],
"verb": {
"related": {
"list": [
"look-up-cli",
"is-glob",
"micromatch"
]
}
}
}

@@ -1,9 +0,9 @@

# look-up [![NPM version](https://badge.fury.io/js/look-up.svg)](http://badge.fury.io/js/look-up) [![Build Status](https://travis-ci.org/jonschlinkert/look-up.svg)](https://travis-ci.org/jonschlinkert/look-up)
# look-up [![NPM version](https://badge.fury.io/js/look-up.svg)](http://badge.fury.io/js/look-up) [![Build Status](https://travis-ci.org/jonschlinkert/look-up.svg)](https://travis-ci.org/jonschlinkert/look-up)
> Like findup-sync and supports the same features but 20x-40x faster on avg.
## Install with [npm](npmjs.org)
Install with [npm](https://www.npmjs.com/)
```bash
npm i look-up --save
```sh
$ npm i look-up --save
```

@@ -20,7 +20,6 @@

- `pattern` **{String|Array}**: glob pattern for the file to find
- `options` **{Object}**: options to pass to [micromatch]
+ `cwd` **{String}**: the directory to start looking (upwards) from
* `pattern` **{String|Array}**: glob pattern for the file to find
* `options` **{Object}**: options to pass to [micromatch](https://github.com/jonschlinkert/micromatch)
- `cwd` **{String}**: the directory to start looking (upwards) from
**Examples:**

@@ -33,3 +32,3 @@

Pass options to [micromatch]
Pass options to [micromatch](https://github.com/jonschlinkert/micromatch)

@@ -49,3 +48,3 @@ ```js

Benchmarks were run on [mac and windows](https://github.com/jonschlinkert/look-up/issues/1). look-up is 20-50x faster than [findup-sync] on avg.
Benchmarks were run on [mac and windows](https://github.com/jonschlinkert/look-up/issues/1). look-up is 20-100x faster than [findup-sync](https://github.com/cowboy/node-findup-sync)on avg.

@@ -74,12 +73,20 @@ ```bash

## Related
* [is-glob](https://www.npmjs.com/package/is-glob): Returns `true` if the given string looks like a glob pattern. | [homepage](https://github.com/jonschlinkert/is-glob)
* [look-up-cli](https://www.npmjs.com/package/look-up-cli): Find a file matching a pattern by walking up parent directories | [homepage](https://github.com/lydell/look-up-cli)
* [micromatch](https://www.npmjs.com/package/micromatch): Glob matching for javascript/node.js. A drop-in replacement and faster alternative to minimatch and multimatch. Just… [more](https://www.npmjs.com/package/micromatch) | [homepage](https://github.com/jonschlinkert/micromatch)
## Running tests
Install dev dependencies:
```bash
npm i -d && npm test
```sh
$ npm i -d && npm test
```
## Contributing
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/look-up/issues)
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/look-up/issues/new).
## Author

@@ -90,13 +97,11 @@

+ [github/jonschlinkert](https://github.com/jonschlinkert)
+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
## License
Copyright (c) 2015 Jon Schlinkert
Released under the MIT license
Copyright © 2015 Jon Schlinkert
Released under the MIT license.
***
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on April 07, 2015._
[micromatch]: https://github.com/jonschlinkert/micromatch
[findup-sync]: https://github.com/cowboy/node-findup-sync
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on September 12, 2015._
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