aboutsummaryrefslogtreecommitdiff
path: root/node_modules/object.omit
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-11-03 01:33:53 +0100
committerFlorian Dold <florian.dold@gmail.com>2016-11-03 01:33:53 +0100
commitd1291f67551c58168af43698a359cb5ddfd266b0 (patch)
tree55a13ed29fe1915e3f42f1b1b7038dafa2e975a7 /node_modules/object.omit
parentd0a0695fb5d34996850723f7d4b1b59c3df909c2 (diff)
downloadwallet-core-d1291f67551c58168af43698a359cb5ddfd266b0.tar.xz
node_modules
Diffstat (limited to 'node_modules/object.omit')
-rw-r--r--node_modules/object.omit/LICENSE2
-rw-r--r--node_modules/object.omit/README.md54
-rw-r--r--node_modules/object.omit/index.js4
-rw-r--r--node_modules/object.omit/package.json128
4 files changed, 78 insertions, 110 deletions
diff --git a/node_modules/object.omit/LICENSE b/node_modules/object.omit/LICENSE
index fa30c4cb3..842218cf0 100644
--- a/node_modules/object.omit/LICENSE
+++ b/node_modules/object.omit/LICENSE
@@ -1,6 +1,6 @@
The MIT License (MIT)
-Copyright (c) 2014-2015, Jon Schlinkert.
+Copyright (c) 2014-2016, Jon Schlinkert
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff --git a/node_modules/object.omit/README.md b/node_modules/object.omit/README.md
index 392518339..246efe092 100644
--- a/node_modules/object.omit/README.md
+++ b/node_modules/object.omit/README.md
@@ -1,11 +1,13 @@
-# object.omit [![NPM version](https://badge.fury.io/js/object.omit.svg)](http://badge.fury.io/js/object.omit)
+# object.omit [![NPM version](https://img.shields.io/npm/v/object.omit.svg?style=flat)](https://www.npmjs.com/package/object.omit) [![NPM monthly downloads](https://img.shields.io/npm/dm/object.omit.svg?style=flat)](https://npmjs.org/package/object.omit) [![NPM total downloads](https://img.shields.io/npm/dt/object.omit.svg?style=flat)](https://npmjs.org/package/object.omit) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/object.omit.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/object.omit)
> Return a copy of an object excluding the given key, or array of keys. Also accepts an optional filter function as the last argument.
## Install
+Install with [npm](https://www.npmjs.com/):
+
```sh
-$ npm i object.omit --save-dev
+$ npm install --save object.omit
```
## Usage
@@ -67,38 +69,50 @@ var res = omit(obj, ['a'], function (val, key) {
//=> {b: 'b'}
```
-### Other awesome javascript/node.js utils
+## About
-* [object.filter](https://github.com/jonschlinkert/object.filter): Create a new object filtered to have only properties for which the callback returns true.
-* [object.pick](https://github.com/jonschlinkert/object.pick): Returns a filtered copy of an object with only the specified keys, like `pick` from… [more](https://github.com/jonschlinkert/object.pick)
-* [object.pluck](https://github.com/jonschlinkert/object.pluck): Like pluck from underscore / lo-dash, but returns an object composed of specified properties, with… [more](https://github.com/jonschlinkert/object.pluck)
-* [object.reduce](https://github.com/jonschlinkert/object.reduce): Reduces an object to a value that is the accumulated result of running each property… [more](https://github.com/jonschlinkert/object.reduce)
-* [object.defaults](https://github.com/jonschlinkert/object.defaults): Like `extend` but only copies missing properties/values to the target object.
+### Related projects
-## Runing tests
+* [object.defaults](https://www.npmjs.com/package/object.defaults): Like `extend` but only copies missing properties/values to the target object. | [homepage](https://github.com/jonschlinkert/object.defaults "Like `extend` but only copies missing properties/values to the target object.")
+* [object.filter](https://www.npmjs.com/package/object.filter): Create a new object filtered to have only properties for which the callback returns true. | [homepage](https://github.com/jonschlinkert/object.filter "Create a new object filtered to have only properties for which the callback returns true.")
+* [object.pick](https://www.npmjs.com/package/object.pick): Returns a filtered copy of an object with only the specified keys, similar to `_.pick… [more](https://github.com/jonschlinkert/object.pick) | [homepage](https://github.com/jonschlinkert/object.pick "Returns a filtered copy of an object with only the specified keys, similar to`_.pick` from lodash / underscore.")
+* [object.pluck](https://www.npmjs.com/package/object.pluck): Like pluck from underscore / lo-dash, but returns an object composed of specified properties, with… [more](https://github.com/jonschlinkert/object.pluck) | [homepage](https://github.com/jonschlinkert/object.pluck "Like pluck from underscore / lo-dash, but returns an object composed of specified properties, with values unmodified from those of the original object.")
+* [object.reduce](https://www.npmjs.com/package/object.reduce): Reduces an object to a value that is the accumulated result of running each property… [more](https://github.com/jonschlinkert/object.reduce) | [homepage](https://github.com/jonschlinkert/object.reduce "Reduces an object to a value that is the accumulated result of running each property in the object through a callback.")
-Install dev dependencies:
+### Contributing
+
+Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
+
+### 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).)_
+
+To generate the readme and API documentation with [verb](https://github.com/verbose/verb):
```sh
-$ npm i -d && npm test
+$ npm install -g verb verb-generate-readme && verb
```
-## Contributing
+### Running tests
+
+Install dev dependencies:
-Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/object.omit/issues/new)
+```sh
+$ npm install -d && npm test
+```
-## Author
+### Author
**Jon Schlinkert**
-+ [github/jonschlinkert](https://github.com/jonschlinkert)
-+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
+* [github/jonschlinkert](https://github.com/jonschlinkert)
+* [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
-## License
+### License
-Copyright © 2014-2015 Jon Schlinkert
-Released under the MIT license.
+Copyright © 2016, [Jon Schlinkert](https://github.com/jonschlinkert).
+Released under the [MIT license](https://github.com/jonschlinkert/object.omit/blob/master/LICENSE).
***
-_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on July 22, 2015._ \ No newline at end of file
+_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.2.0, on October 27, 2016._ \ No newline at end of file
diff --git a/node_modules/object.omit/index.js b/node_modules/object.omit/index.js
index 576a578f8..503a3c303 100644
--- a/node_modules/object.omit/index.js
+++ b/node_modules/object.omit/index.js
@@ -13,7 +13,7 @@ var forOwn = require('for-own');
module.exports = function omit(obj, keys) {
if (!isObject(obj)) return {};
- var keys = [].concat.apply([], [].slice.call(arguments, 1));
+ keys = [].concat.apply([], [].slice.call(arguments, 1));
var last = keys[keys.length - 1];
var res = {}, fn;
@@ -26,7 +26,7 @@ module.exports = function omit(obj, keys) {
return obj;
}
- forOwn(obj, function (value, key) {
+ forOwn(obj, function(value, key) {
if (keys.indexOf(key) === -1) {
if (!isFunction) {
diff --git a/node_modules/object.omit/package.json b/node_modules/object.omit/package.json
index e935f19bb..2cec4c10e 100644
--- a/node_modules/object.omit/package.json
+++ b/node_modules/object.omit/package.json
@@ -1,113 +1,67 @@
{
- "_args": [
- [
- {
- "raw": "object.omit@^2.0.0",
- "scope": null,
- "escapedName": "object.omit",
- "name": "object.omit",
- "rawSpec": "^2.0.0",
- "spec": ">=2.0.0 <3.0.0",
- "type": "range"
- },
- "/home/dold/repos/taler/wallet-webex/node_modules/micromatch"
- ]
- ],
- "_from": "object.omit@>=2.0.0 <3.0.0",
- "_id": "object.omit@2.0.0",
- "_inCache": true,
- "_location": "/object.omit",
- "_nodeVersion": "0.12.4",
- "_npmUser": {
- "name": "jonschlinkert",
- "email": "github@sellside.com"
- },
- "_npmVersion": "2.10.1",
- "_phantomChildren": {},
- "_requested": {
- "raw": "object.omit@^2.0.0",
- "scope": null,
- "escapedName": "object.omit",
- "name": "object.omit",
- "rawSpec": "^2.0.0",
- "spec": ">=2.0.0 <3.0.0",
- "type": "range"
+ "name": "object.omit",
+ "description": "Return a copy of an object excluding the given key, or array of keys. Also accepts an optional filter function as the last argument.",
+ "version": "2.0.1",
+ "homepage": "https://github.com/jonschlinkert/object.omit",
+ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",
+ "repository": "jonschlinkert/object.omit",
+ "bugs": {
+ "url": "https://github.com/jonschlinkert/object.omit/issues"
},
- "_requiredBy": [
- "/micromatch"
+ "license": "MIT",
+ "files": [
+ "index.js"
],
- "_resolved": "https://registry.npmjs.org/object.omit/-/object.omit-2.0.0.tgz",
- "_shasum": "868597333d54e60662940bb458605dd6ae12fe94",
- "_shrinkwrap": null,
- "_spec": "object.omit@^2.0.0",
- "_where": "/home/dold/repos/taler/wallet-webex/node_modules/micromatch",
- "author": {
- "name": "Jon Schlinkert",
- "url": "https://github.com/jonschlinkert"
+ "main": "index.js",
+ "engines": {
+ "node": ">=0.10.0"
},
- "bugs": {
- "url": "https://github.com/jonschlinkert/object.omit/issues"
+ "scripts": {
+ "test": "mocha"
},
"dependencies": {
- "for-own": "^0.1.3",
+ "for-own": "^0.1.4",
"is-extendable": "^0.1.1"
},
- "description": "Return a copy of an object excluding the given key, or array of keys. Also accepts an optional filter function as the last argument.",
"devDependencies": {
- "mocha": "*",
- "should": "*"
+ "gulp-format-md": "^0.1.11",
+ "mocha": "^3.1.2",
+ "should": "^11.1.1"
},
- "directories": {},
- "dist": {
- "shasum": "868597333d54e60662940bb458605dd6ae12fe94",
- "tarball": "https://registry.npmjs.org/object.omit/-/object.omit-2.0.0.tgz"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "files": [
- "index.js"
- ],
- "gitHead": "6e222f2cf39634faa26f642b06af4eb2050b5e75",
- "homepage": "https://github.com/jonschlinkert/object.omit",
"keywords": [
"clear",
"delete",
"key",
- "value",
"object",
"omit",
"property",
- "remove"
- ],
- "license": "MIT",
- "main": "index.js",
- "maintainers": [
- {
- "name": "jonschlinkert",
- "email": "github@sellside.com"
- }
+ "remove",
+ "value"
],
- "name": "object.omit",
- "optionalDependencies": {},
- "readme": "ERROR: No README data found!",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/jonschlinkert/object.omit.git"
- },
- "scripts": {
- "test": "mocha"
- },
"verb": {
"related": {
"list": [
+ "object.defaults",
"object.filter",
"object.pick",
"object.pluck",
- "object.reduce",
- "object.defaults"
+ "object.reduce"
]
- }
- },
- "version": "2.0.0"
+ },
+ "toc": false,
+ "layout": "default",
+ "tasks": [
+ "readme"
+ ],
+ "plugins": [
+ "gulp-format-md"
+ ],
+ "lint": {
+ "reflinks": true
+ },
+ "reflinks": [
+ "verb",
+ "verb-generate-readme"
+ ]
+ }
}