Firebase Update
This commit is contained in:
		
							
								
								
									
										32
									
								
								express-server/node_modules/code-point-at/index.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								express-server/node_modules/code-point-at/index.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,32 @@
 | 
			
		||||
/* eslint-disable babel/new-cap, xo/throw-new-error */
 | 
			
		||||
'use strict';
 | 
			
		||||
module.exports = function (str, pos) {
 | 
			
		||||
	if (str === null || str === undefined) {
 | 
			
		||||
		throw TypeError();
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	str = String(str);
 | 
			
		||||
 | 
			
		||||
	var size = str.length;
 | 
			
		||||
	var i = pos ? Number(pos) : 0;
 | 
			
		||||
 | 
			
		||||
	if (Number.isNaN(i)) {
 | 
			
		||||
		i = 0;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if (i < 0 || i >= size) {
 | 
			
		||||
		return undefined;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	var first = str.charCodeAt(i);
 | 
			
		||||
 | 
			
		||||
	if (first >= 0xD800 && first <= 0xDBFF && size > i + 1) {
 | 
			
		||||
		var second = str.charCodeAt(i + 1);
 | 
			
		||||
 | 
			
		||||
		if (second >= 0xDC00 && second <= 0xDFFF) {
 | 
			
		||||
			return ((first - 0xD800) * 0x400) + second - 0xDC00 + 0x10000;
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	return first;
 | 
			
		||||
};
 | 
			
		||||
							
								
								
									
										21
									
								
								express-server/node_modules/code-point-at/license
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								express-server/node_modules/code-point-at/license
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,21 @@
 | 
			
		||||
The MIT License (MIT)
 | 
			
		||||
 | 
			
		||||
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
 | 
			
		||||
 | 
			
		||||
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.
 | 
			
		||||
							
								
								
									
										70
									
								
								express-server/node_modules/code-point-at/package.json
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										70
									
								
								express-server/node_modules/code-point-at/package.json
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,70 @@
 | 
			
		||||
{
 | 
			
		||||
  "_from": "code-point-at@^1.0.0",
 | 
			
		||||
  "_id": "code-point-at@1.1.0",
 | 
			
		||||
  "_inBundle": false,
 | 
			
		||||
  "_integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=",
 | 
			
		||||
  "_location": "/code-point-at",
 | 
			
		||||
  "_phantomChildren": {},
 | 
			
		||||
  "_requested": {
 | 
			
		||||
    "type": "range",
 | 
			
		||||
    "registry": true,
 | 
			
		||||
    "raw": "code-point-at@^1.0.0",
 | 
			
		||||
    "name": "code-point-at",
 | 
			
		||||
    "escapedName": "code-point-at",
 | 
			
		||||
    "rawSpec": "^1.0.0",
 | 
			
		||||
    "saveSpec": null,
 | 
			
		||||
    "fetchSpec": "^1.0.0"
 | 
			
		||||
  },
 | 
			
		||||
  "_requiredBy": [
 | 
			
		||||
    "/string-width"
 | 
			
		||||
  ],
 | 
			
		||||
  "_resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz",
 | 
			
		||||
  "_shasum": "0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77",
 | 
			
		||||
  "_spec": "code-point-at@^1.0.0",
 | 
			
		||||
  "_where": "D:\\Desktop\\smartshopperNodeReworkFirebase\\node_modules\\string-width",
 | 
			
		||||
  "author": {
 | 
			
		||||
    "name": "Sindre Sorhus",
 | 
			
		||||
    "email": "sindresorhus@gmail.com",
 | 
			
		||||
    "url": "sindresorhus.com"
 | 
			
		||||
  },
 | 
			
		||||
  "bugs": {
 | 
			
		||||
    "url": "https://github.com/sindresorhus/code-point-at/issues"
 | 
			
		||||
  },
 | 
			
		||||
  "bundleDependencies": false,
 | 
			
		||||
  "deprecated": false,
 | 
			
		||||
  "description": "ES2015 `String#codePointAt()` ponyfill",
 | 
			
		||||
  "devDependencies": {
 | 
			
		||||
    "ava": "*",
 | 
			
		||||
    "xo": "^0.16.0"
 | 
			
		||||
  },
 | 
			
		||||
  "engines": {
 | 
			
		||||
    "node": ">=0.10.0"
 | 
			
		||||
  },
 | 
			
		||||
  "files": [
 | 
			
		||||
    "index.js"
 | 
			
		||||
  ],
 | 
			
		||||
  "homepage": "https://github.com/sindresorhus/code-point-at#readme",
 | 
			
		||||
  "keywords": [
 | 
			
		||||
    "es2015",
 | 
			
		||||
    "ponyfill",
 | 
			
		||||
    "polyfill",
 | 
			
		||||
    "shim",
 | 
			
		||||
    "string",
 | 
			
		||||
    "str",
 | 
			
		||||
    "code",
 | 
			
		||||
    "point",
 | 
			
		||||
    "at",
 | 
			
		||||
    "codepoint",
 | 
			
		||||
    "unicode"
 | 
			
		||||
  ],
 | 
			
		||||
  "license": "MIT",
 | 
			
		||||
  "name": "code-point-at",
 | 
			
		||||
  "repository": {
 | 
			
		||||
    "type": "git",
 | 
			
		||||
    "url": "git+https://github.com/sindresorhus/code-point-at.git"
 | 
			
		||||
  },
 | 
			
		||||
  "scripts": {
 | 
			
		||||
    "test": "xo && ava"
 | 
			
		||||
  },
 | 
			
		||||
  "version": "1.1.0"
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										32
									
								
								express-server/node_modules/code-point-at/readme.md
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								express-server/node_modules/code-point-at/readme.md
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,32 @@
 | 
			
		||||
# code-point-at [](https://travis-ci.org/sindresorhus/code-point-at)
 | 
			
		||||
 | 
			
		||||
> ES2015 [`String#codePointAt()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/codePointAt) [ponyfill](https://ponyfill.com)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
## Install
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
$ npm install --save code-point-at
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
## Usage
 | 
			
		||||
 | 
			
		||||
```js
 | 
			
		||||
var codePointAt = require('code-point-at');
 | 
			
		||||
 | 
			
		||||
codePointAt('🐴');
 | 
			
		||||
//=> 128052
 | 
			
		||||
 | 
			
		||||
codePointAt('abc', 2);
 | 
			
		||||
//=> 99
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
## API
 | 
			
		||||
 | 
			
		||||
### codePointAt(input, [position])
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
## License
 | 
			
		||||
 | 
			
		||||
MIT © [Sindre Sorhus](https://sindresorhus.com)
 | 
			
		||||
		Reference in New Issue
	
	Block a user