summaryrefslogtreecommitdiff
path: root/tools/node_modules/eslint/node_modules/has
diff options
context:
space:
mode:
Diffstat (limited to 'tools/node_modules/eslint/node_modules/has')
-rw-r--r--tools/node_modules/eslint/node_modules/has/LICENSE-MIT22
-rw-r--r--tools/node_modules/eslint/node_modules/has/README.mkd18
-rw-r--r--tools/node_modules/eslint/node_modules/has/package.json62
-rw-r--r--tools/node_modules/eslint/node_modules/has/src/index.js3
4 files changed, 105 insertions, 0 deletions
diff --git a/tools/node_modules/eslint/node_modules/has/LICENSE-MIT b/tools/node_modules/eslint/node_modules/has/LICENSE-MIT
new file mode 100644
index 0000000000..ae7014d385
--- /dev/null
+++ b/tools/node_modules/eslint/node_modules/has/LICENSE-MIT
@@ -0,0 +1,22 @@
+Copyright (c) 2013 Thiago de Arruda
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation
+files (the "Software"), to deal in the Software without
+restriction, including without limitation the rights to use,
+copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following
+conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
diff --git a/tools/node_modules/eslint/node_modules/has/README.mkd b/tools/node_modules/eslint/node_modules/has/README.mkd
new file mode 100644
index 0000000000..635e3a4baa
--- /dev/null
+++ b/tools/node_modules/eslint/node_modules/has/README.mkd
@@ -0,0 +1,18 @@
+# has
+
+> Object.prototype.hasOwnProperty.call shortcut
+
+## Installation
+
+```sh
+npm install --save has
+```
+
+## Usage
+
+```js
+var has = require('has');
+
+has({}, 'hasOwnProperty'); // false
+has(Object.prototype, 'hasOwnProperty'); // true
+```
diff --git a/tools/node_modules/eslint/node_modules/has/package.json b/tools/node_modules/eslint/node_modules/has/package.json
new file mode 100644
index 0000000000..9f6d51d662
--- /dev/null
+++ b/tools/node_modules/eslint/node_modules/has/package.json
@@ -0,0 +1,62 @@
+{
+ "_from": "has@^1.0.1",
+ "_id": "has@1.0.1",
+ "_inBundle": false,
+ "_integrity": "sha1-hGFzP1OLCDfJNh45qauelwTcLyg=",
+ "_location": "/has",
+ "_phantomChildren": {},
+ "_requested": {
+ "type": "range",
+ "registry": true,
+ "raw": "has@^1.0.1",
+ "name": "has",
+ "escapedName": "has",
+ "rawSpec": "^1.0.1",
+ "saveSpec": null,
+ "fetchSpec": "^1.0.1"
+ },
+ "_requiredBy": [
+ "/remark-parse"
+ ],
+ "_resolved": "https://registry.npmjs.org/has/-/has-1.0.1.tgz",
+ "_shasum": "8461733f538b0837c9361e39a9ab9e9704dc2f28",
+ "_spec": "has@^1.0.1",
+ "_where": "/Users/cjihrig/iojs/node/tools/eslint-tmp/node_modules/eslint/node_modules/remark-parse",
+ "author": {
+ "name": "Thiago de Arruda",
+ "email": "tpadilha84@gmail.com"
+ },
+ "bugs": {
+ "url": "https://github.com/tarruda/has/issues"
+ },
+ "bundleDependencies": false,
+ "dependencies": {
+ "function-bind": "^1.0.2"
+ },
+ "deprecated": false,
+ "description": "Object.prototype.hasOwnProperty.call shortcut",
+ "devDependencies": {
+ "chai": "~1.7.2",
+ "mocha": "^1.21.4"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ },
+ "homepage": "https://github.com/tarruda/has",
+ "licenses": [
+ {
+ "type": "MIT",
+ "url": "https://github.com/tarruda/has/blob/master/LICENSE-MIT"
+ }
+ ],
+ "main": "./src/index",
+ "name": "has",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/tarruda/has.git"
+ },
+ "scripts": {
+ "test": "node_modules/mocha/bin/mocha"
+ },
+ "version": "1.0.1"
+}
diff --git a/tools/node_modules/eslint/node_modules/has/src/index.js b/tools/node_modules/eslint/node_modules/has/src/index.js
new file mode 100644
index 0000000000..cdf328576e
--- /dev/null
+++ b/tools/node_modules/eslint/node_modules/has/src/index.js
@@ -0,0 +1,3 @@
+var bind = require('function-bind');
+
+module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);