mirror of
				https://github.com/SillyTavern/SillyTavern.git
				synced 2025-06-05 21:59:27 +02:00 
			
		
		
		
	modules
This commit is contained in:
		
							
								
								
									
										21
									
								
								node_modules/is-arrayish/LICENSE
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								node_modules/is-arrayish/LICENSE
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,21 @@ | ||||
| The MIT License (MIT) | ||||
|  | ||||
| Copyright (c) 2015 JD Ballard | ||||
|  | ||||
| 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. | ||||
							
								
								
									
										16
									
								
								node_modules/is-arrayish/README.md
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								node_modules/is-arrayish/README.md
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,16 @@ | ||||
| # node-is-arrayish [](https://travis-ci.org/Qix-/node-is-arrayish) [](https://coveralls.io/r/Qix-/node-is-arrayish) | ||||
| > Determines if an object can be used like an Array | ||||
|  | ||||
| ## Example | ||||
| ```javascript | ||||
| var isArrayish = require('is-arrayish'); | ||||
|  | ||||
| isArrayish([]); // true | ||||
| isArrayish({__proto__: []}); // true | ||||
| isArrayish({}); // false | ||||
| isArrayish({length:10}); // false | ||||
| ``` | ||||
|  | ||||
| ## License | ||||
| Licensed under the [MIT License](http://opensource.org/licenses/MIT). | ||||
| You can find a copy of it in [LICENSE](LICENSE). | ||||
							
								
								
									
										9
									
								
								node_modules/is-arrayish/index.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								node_modules/is-arrayish/index.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| module.exports = function isArrayish(obj) { | ||||
| 	if (!obj || typeof obj === 'string') { | ||||
| 		return false; | ||||
| 	} | ||||
|  | ||||
| 	return obj instanceof Array || Array.isArray(obj) || | ||||
| 		(obj.length >= 0 && (obj.splice instanceof Function || | ||||
| 			(Object.getOwnPropertyDescriptor(obj, (obj.length - 1)) && obj.constructor.name !== 'String'))); | ||||
| }; | ||||
							
								
								
									
										45
									
								
								node_modules/is-arrayish/package.json
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										45
									
								
								node_modules/is-arrayish/package.json
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,45 @@ | ||||
| { | ||||
|   "name": "is-arrayish", | ||||
|   "description": "Determines if an object can be used as an array", | ||||
|   "version": "0.3.2", | ||||
|   "author": "Qix (http://github.com/qix-)", | ||||
|   "keywords": [ | ||||
|     "is", | ||||
|     "array", | ||||
|     "duck", | ||||
|     "type", | ||||
|     "arrayish", | ||||
|     "similar", | ||||
|     "proto", | ||||
|     "prototype", | ||||
|     "type" | ||||
|   ], | ||||
|   "license": "MIT", | ||||
|   "scripts": { | ||||
|     "test": "mocha --require coffeescript/register ./test/**/*.coffee", | ||||
|     "lint": "zeit-eslint --ext .jsx,.js .", | ||||
|     "lint-staged": "git diff --diff-filter=ACMRT --cached --name-only '*.js' '*.jsx' | xargs zeit-eslint" | ||||
|   }, | ||||
|   "repository": { | ||||
|     "type": "git", | ||||
|     "url": "https://github.com/qix-/node-is-arrayish.git" | ||||
|   }, | ||||
|   "devDependencies": { | ||||
|     "@zeit/eslint-config-node": "^0.3.0", | ||||
|     "@zeit/git-hooks": "^0.1.4", | ||||
|     "coffeescript": "^2.3.1", | ||||
|     "coveralls": "^3.0.1", | ||||
|     "eslint": "^4.19.1", | ||||
|     "istanbul": "^0.4.5", | ||||
|     "mocha": "^5.2.0", | ||||
|     "should": "^13.2.1" | ||||
|   }, | ||||
|   "eslintConfig": { | ||||
|     "extends": [ | ||||
|       "@zeit/eslint-config-node" | ||||
|     ] | ||||
|   }, | ||||
|   "git": { | ||||
|     "pre-commit": "lint-staged" | ||||
|   } | ||||
| } | ||||
							
								
								
									
										1443
									
								
								node_modules/is-arrayish/yarn-error.log
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1443
									
								
								node_modules/is-arrayish/yarn-error.log
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Reference in New Issue
	
	Block a user