cache-base
Advanced tools
Comparing version 0.8.1 to 0.8.2
@@ -80,3 +80,3 @@ 'use strict'; | ||
} | ||
if (utils.isObject(key)) { | ||
if (utils.isObject(key) || Array.isArray(key)) { | ||
this.visit('set', key); | ||
@@ -83,0 +83,0 @@ } else { |
{ | ||
"name": "cache-base", | ||
"description": "Basic object cache with `get`, `set`, `del`, and `has` methods for node.js/javascript projects.", | ||
"version": "0.8.1", | ||
"version": "0.8.2", | ||
"homepage": "https://github.com/jonschlinkert/cache-base", | ||
@@ -51,3 +51,8 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", | ||
"verb": { | ||
"run": true, | ||
"toc": false, | ||
"layout": "default", | ||
"tasks": [ | ||
"readme" | ||
], | ||
"plugins": [ | ||
@@ -66,4 +71,10 @@ "gulp-format-md" | ||
] | ||
}, | ||
"reflinks": [ | ||
"verb" | ||
], | ||
"lint": { | ||
"reflinks": true | ||
} | ||
} | ||
} |
@@ -10,3 +10,3 @@ # cache-base [![NPM version](https://img.shields.io/npm/v/cache-base.svg)](https://www.npmjs.com/package/cache-base) [![Build Status](https://img.shields.io/travis/jonschlinkert/cache-base.svg)](https://travis-ci.org/jonschlinkert/cache-base) | ||
```sh | ||
$ npm i cache-base --save | ||
$ npm install cache-base --save | ||
``` | ||
@@ -132,3 +132,3 @@ | ||
Return the value of `key`. Dot notation may be used to get [nested property values](https://github.com/jonschlinkert/get-value). | ||
Return the value of `key`. Dot notation may be used to get [nested property values][get-value]. | ||
@@ -209,3 +209,3 @@ **Params** | ||
### [.visit](index.js#L198) | ||
### [.visit](index.js#L200) | ||
@@ -230,2 +230,20 @@ Visit `method` over the properties in the given object, or map | ||
## Contributing | ||
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/cache-base/issues/new). | ||
## Building docs | ||
Generate readme and API documentation with [verb](https://github.com/verbose/verb): | ||
```sh | ||
$ npm install verb && npm run docs | ||
``` | ||
Or, if [verb](https://github.com/verbose/verb) is installed globally: | ||
```sh | ||
$ verb | ||
``` | ||
## Running tests | ||
@@ -236,9 +254,5 @@ | ||
```sh | ||
$ npm i -d && npm test | ||
$ npm install -d && npm test | ||
``` | ||
## Contributing | ||
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/cache-base/issues/new). | ||
## Author | ||
@@ -258,2 +272,2 @@ | ||
_This file was generated by [verb](https://github.com/verbose/verb), v0.9.0, on February 09, 2016._ | ||
_This file was generated by [verb](https://github.com/verbose/verb), v0.9.0, on March 02, 2016._ |
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
14175
267