mirror of
				https://github.com/fooflington/selfdefined.git
				synced 2025-10-31 14:18:32 +00:00 
			
		
		
		
	update
This commit is contained in:
		
							
								
								
									
										3
									
								
								node_modules/base64-arraybuffer/.npmignore
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								node_modules/base64-arraybuffer/.npmignore
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| /node_modules/ | ||||
| Gruntfile.js | ||||
| /test/ | ||||
							
								
								
									
										19
									
								
								node_modules/base64-arraybuffer/.travis.yml
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								node_modules/base64-arraybuffer/.travis.yml
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,19 @@ | ||||
| language: node_js | ||||
| node_js: | ||||
| - '0.12' | ||||
| - iojs-1 | ||||
| - iojs-2 | ||||
| - iojs-3 | ||||
| - '4.1' | ||||
| before_script: | ||||
| - npm install | ||||
| before_install: npm install -g npm@'>=2.13.5' | ||||
| deploy: | ||||
|   provider: npm | ||||
|   email: niklasvh@gmail.com | ||||
|   api_key: | ||||
|     secure: oHV9ArprTj5WOk7MP1UF7QMJ70huXw+y7xXb5wF4+V2H8Hyfa5TfE0DiOmqrube1WXTeH1FLgq54shp/sJWi47Hkg/GyeoB5NnsPhYEaJkaON9UG5blML+ODiNVsEnq/1kNBQ8e0+0JItMPLGySKyFmuZ3yflulXKS8O88mfINo= | ||||
|   on: | ||||
|     tags: true | ||||
|     branch: master | ||||
|     repo: niklasvh/base64-arraybuffer | ||||
							
								
								
									
										22
									
								
								node_modules/base64-arraybuffer/LICENSE-MIT
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								node_modules/base64-arraybuffer/LICENSE-MIT
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,22 @@ | ||||
| Copyright (c) 2012 Niklas von Hertzen | ||||
|  | ||||
| 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. | ||||
							
								
								
									
										20
									
								
								node_modules/base64-arraybuffer/README.md
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								node_modules/base64-arraybuffer/README.md
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,20 @@ | ||||
| # base64-arraybuffer | ||||
|  | ||||
| [](https://travis-ci.org/niklasvh/base64-arraybuffer) | ||||
| [](https://www.npmjs.org/package/base64-arraybuffer) | ||||
| [](https://www.npmjs.org/package/base64-arraybuffer) | ||||
|  | ||||
| Encode/decode base64 data into ArrayBuffers | ||||
|  | ||||
| ## Getting Started | ||||
| Install the module with: `npm install base64-arraybuffer` | ||||
|  | ||||
| ## API | ||||
| The library encodes and decodes base64 to and from ArrayBuffers | ||||
|  | ||||
|  - __encode(buffer)__ - Encodes `ArrayBuffer` into base64 string | ||||
|  - __decode(str)__ - Decodes base64 string to `ArrayBuffer` | ||||
|  | ||||
| ## License | ||||
| Copyright (c) 2012 Niklas von Hertzen | ||||
| Licensed under the MIT license. | ||||
							
								
								
									
										67
									
								
								node_modules/base64-arraybuffer/lib/base64-arraybuffer.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										67
									
								
								node_modules/base64-arraybuffer/lib/base64-arraybuffer.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,67 @@ | ||||
| /* | ||||
|  * base64-arraybuffer | ||||
|  * https://github.com/niklasvh/base64-arraybuffer | ||||
|  * | ||||
|  * Copyright (c) 2012 Niklas von Hertzen | ||||
|  * Licensed under the MIT license. | ||||
|  */ | ||||
| (function(){ | ||||
|   "use strict"; | ||||
|  | ||||
|   var chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; | ||||
|  | ||||
|   // Use a lookup table to find the index. | ||||
|   var lookup = new Uint8Array(256); | ||||
|   for (var i = 0; i < chars.length; i++) { | ||||
|     lookup[chars.charCodeAt(i)] = i; | ||||
|   } | ||||
|  | ||||
|   exports.encode = function(arraybuffer) { | ||||
|     var bytes = new Uint8Array(arraybuffer), | ||||
|     i, len = bytes.length, base64 = ""; | ||||
|  | ||||
|     for (i = 0; i < len; i+=3) { | ||||
|       base64 += chars[bytes[i] >> 2]; | ||||
|       base64 += chars[((bytes[i] & 3) << 4) | (bytes[i + 1] >> 4)]; | ||||
|       base64 += chars[((bytes[i + 1] & 15) << 2) | (bytes[i + 2] >> 6)]; | ||||
|       base64 += chars[bytes[i + 2] & 63]; | ||||
|     } | ||||
|  | ||||
|     if ((len % 3) === 2) { | ||||
|       base64 = base64.substring(0, base64.length - 1) + "="; | ||||
|     } else if (len % 3 === 1) { | ||||
|       base64 = base64.substring(0, base64.length - 2) + "=="; | ||||
|     } | ||||
|  | ||||
|     return base64; | ||||
|   }; | ||||
|  | ||||
|   exports.decode =  function(base64) { | ||||
|     var bufferLength = base64.length * 0.75, | ||||
|     len = base64.length, i, p = 0, | ||||
|     encoded1, encoded2, encoded3, encoded4; | ||||
|  | ||||
|     if (base64[base64.length - 1] === "=") { | ||||
|       bufferLength--; | ||||
|       if (base64[base64.length - 2] === "=") { | ||||
|         bufferLength--; | ||||
|       } | ||||
|     } | ||||
|  | ||||
|     var arraybuffer = new ArrayBuffer(bufferLength), | ||||
|     bytes = new Uint8Array(arraybuffer); | ||||
|  | ||||
|     for (i = 0; i < len; i+=4) { | ||||
|       encoded1 = lookup[base64.charCodeAt(i)]; | ||||
|       encoded2 = lookup[base64.charCodeAt(i+1)]; | ||||
|       encoded3 = lookup[base64.charCodeAt(i+2)]; | ||||
|       encoded4 = lookup[base64.charCodeAt(i+3)]; | ||||
|  | ||||
|       bytes[p++] = (encoded1 << 2) | (encoded2 >> 4); | ||||
|       bytes[p++] = ((encoded2 & 15) << 4) | (encoded3 >> 2); | ||||
|       bytes[p++] = ((encoded3 & 3) << 6) | (encoded4 & 63); | ||||
|     } | ||||
|  | ||||
|     return arraybuffer; | ||||
|   }; | ||||
| })(); | ||||
							
								
								
									
										71
									
								
								node_modules/base64-arraybuffer/package.json
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										71
									
								
								node_modules/base64-arraybuffer/package.json
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,71 @@ | ||||
| { | ||||
|   "_args": [ | ||||
|     [ | ||||
|       "base64-arraybuffer@0.1.5", | ||||
|       "/Users/tatiana/selfdefined" | ||||
|     ] | ||||
|   ], | ||||
|   "_from": "base64-arraybuffer@0.1.5", | ||||
|   "_id": "base64-arraybuffer@0.1.5", | ||||
|   "_inBundle": false, | ||||
|   "_integrity": "sha1-c5JncZI7Whl0etZmqlzUv5xunOg=", | ||||
|   "_location": "/base64-arraybuffer", | ||||
|   "_phantomChildren": {}, | ||||
|   "_requested": { | ||||
|     "type": "version", | ||||
|     "registry": true, | ||||
|     "raw": "base64-arraybuffer@0.1.5", | ||||
|     "name": "base64-arraybuffer", | ||||
|     "escapedName": "base64-arraybuffer", | ||||
|     "rawSpec": "0.1.5", | ||||
|     "saveSpec": null, | ||||
|     "fetchSpec": "0.1.5" | ||||
|   }, | ||||
|   "_requiredBy": [ | ||||
|     "/engine.io-parser", | ||||
|     "/engine.io/engine.io-parser", | ||||
|     "/socket.io-client", | ||||
|     "/socket.io/engine.io-parser", | ||||
|     "/socket.io/socket.io-client" | ||||
|   ], | ||||
|   "_resolved": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-0.1.5.tgz", | ||||
|   "_spec": "0.1.5", | ||||
|   "_where": "/Users/tatiana/selfdefined", | ||||
|   "author": { | ||||
|     "name": "Niklas von Hertzen", | ||||
|     "email": "niklasvh@gmail.com", | ||||
|     "url": "http://hertzen.com" | ||||
|   }, | ||||
|   "bugs": { | ||||
|     "url": "https://github.com/niklasvh/base64-arraybuffer/issues" | ||||
|   }, | ||||
|   "description": "Encode/decode base64 data into ArrayBuffers", | ||||
|   "devDependencies": { | ||||
|     "grunt": "^0.4.5", | ||||
|     "grunt-cli": "^0.1.13", | ||||
|     "grunt-contrib-jshint": "^0.11.2", | ||||
|     "grunt-contrib-nodeunit": "^0.4.1", | ||||
|     "grunt-contrib-watch": "^0.6.1" | ||||
|   }, | ||||
|   "engines": { | ||||
|     "node": ">= 0.6.0" | ||||
|   }, | ||||
|   "homepage": "https://github.com/niklasvh/base64-arraybuffer", | ||||
|   "keywords": [], | ||||
|   "licenses": [ | ||||
|     { | ||||
|       "type": "MIT", | ||||
|       "url": "https://github.com/niklasvh/base64-arraybuffer/blob/master/LICENSE-MIT" | ||||
|     } | ||||
|   ], | ||||
|   "main": "lib/base64-arraybuffer", | ||||
|   "name": "base64-arraybuffer", | ||||
|   "repository": { | ||||
|     "type": "git", | ||||
|     "url": "git+https://github.com/niklasvh/base64-arraybuffer.git" | ||||
|   }, | ||||
|   "scripts": { | ||||
|     "test": "grunt nodeunit" | ||||
|   }, | ||||
|   "version": "0.1.5" | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 tatianamac
					tatianamac