mirror of
				https://github.com/shivammathur/setup-php.git
				synced 2025-10-31 07:16:22 +07:00 
			
		
		
		
	init
This commit is contained in:
		
							
								
								
									
										22
									
								
								node_modules/has/LICENSE-MIT
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								node_modules/has/LICENSE-MIT
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -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. | ||||
							
								
								
									
										18
									
								
								node_modules/has/README.md
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								node_modules/has/README.md
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -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 | ||||
| ``` | ||||
							
								
								
									
										78
									
								
								node_modules/has/package.json
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										78
									
								
								node_modules/has/package.json
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,78 @@ | ||||
| { | ||||
|   "_args": [ | ||||
|     [ | ||||
|       "has@1.0.3", | ||||
|       "E:\\python\\setup-php" | ||||
|     ] | ||||
|   ], | ||||
|   "_development": true, | ||||
|   "_from": "has@1.0.3", | ||||
|   "_id": "has@1.0.3", | ||||
|   "_inBundle": false, | ||||
|   "_integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", | ||||
|   "_location": "/has", | ||||
|   "_phantomChildren": {}, | ||||
|   "_requested": { | ||||
|     "type": "version", | ||||
|     "registry": true, | ||||
|     "raw": "has@1.0.3", | ||||
|     "name": "has", | ||||
|     "escapedName": "has", | ||||
|     "rawSpec": "1.0.3", | ||||
|     "saveSpec": null, | ||||
|     "fetchSpec": "1.0.3" | ||||
|   }, | ||||
|   "_requiredBy": [ | ||||
|     "/es-abstract", | ||||
|     "/is-regex" | ||||
|   ], | ||||
|   "_resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", | ||||
|   "_spec": "1.0.3", | ||||
|   "_where": "E:\\python\\setup-php", | ||||
|   "author": { | ||||
|     "name": "Thiago de Arruda", | ||||
|     "email": "tpadilha84@gmail.com" | ||||
|   }, | ||||
|   "bugs": { | ||||
|     "url": "https://github.com/tarruda/has/issues" | ||||
|   }, | ||||
|   "contributors": [ | ||||
|     { | ||||
|       "name": "Jordan Harband", | ||||
|       "email": "ljharb@gmail.com", | ||||
|       "url": "http://ljharb.codes" | ||||
|     } | ||||
|   ], | ||||
|   "dependencies": { | ||||
|     "function-bind": "^1.1.1" | ||||
|   }, | ||||
|   "description": "Object.prototype.hasOwnProperty.call shortcut", | ||||
|   "devDependencies": { | ||||
|     "@ljharb/eslint-config": "^12.2.1", | ||||
|     "eslint": "^4.19.1", | ||||
|     "tape": "^4.9.0" | ||||
|   }, | ||||
|   "engines": { | ||||
|     "node": ">= 0.4.0" | ||||
|   }, | ||||
|   "homepage": "https://github.com/tarruda/has", | ||||
|   "license": "MIT", | ||||
|   "licenses": [ | ||||
|     { | ||||
|       "type": "MIT", | ||||
|       "url": "https://github.com/tarruda/has/blob/master/LICENSE-MIT" | ||||
|     } | ||||
|   ], | ||||
|   "main": "./src", | ||||
|   "name": "has", | ||||
|   "repository": { | ||||
|     "type": "git", | ||||
|     "url": "git://github.com/tarruda/has.git" | ||||
|   }, | ||||
|   "scripts": { | ||||
|     "lint": "eslint .", | ||||
|     "pretest": "npm run lint", | ||||
|     "test": "tape test" | ||||
|   }, | ||||
|   "version": "1.0.3" | ||||
| } | ||||
							
								
								
									
										5
									
								
								node_modules/has/src/index.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								node_modules/has/src/index.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | ||||
| 'use strict'; | ||||
|  | ||||
| var bind = require('function-bind'); | ||||
|  | ||||
| module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty); | ||||
							
								
								
									
										10
									
								
								node_modules/has/test/index.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								node_modules/has/test/index.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,10 @@ | ||||
| 'use strict'; | ||||
|  | ||||
| var test = require('tape'); | ||||
| var has = require('../'); | ||||
|  | ||||
| test('has', function (t) { | ||||
|   t.equal(has({}, 'hasOwnProperty'), false, 'object literal does not have own property "hasOwnProperty"'); | ||||
|   t.equal(has(Object.prototype, 'hasOwnProperty'), true, 'Object.prototype has own property "hasOwnProperty"'); | ||||
|   t.end(); | ||||
| }); | ||||
		Reference in New Issue
	
	Block a user
	 Shivam Mathur
					Shivam Mathur