update socials section
This commit is contained in:
		
							
								
								
									
										17
									
								
								node_modules/is-fullwidth-code-point/index.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								node_modules/is-fullwidth-code-point/index.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,17 @@ | ||||
| /** | ||||
| Check if the character represented by a given [Unicode code point](https://en.wikipedia.org/wiki/Code_point) is [fullwidth](https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms). | ||||
|  | ||||
| @param codePoint - The [code point](https://en.wikipedia.org/wiki/Code_point) of a character. | ||||
|  | ||||
| @example | ||||
| ``` | ||||
| import isFullwidthCodePoint from 'is-fullwidth-code-point'; | ||||
|  | ||||
| isFullwidthCodePoint('谢'.codePointAt(0)); | ||||
| //=> true | ||||
|  | ||||
| isFullwidthCodePoint('a'.codePointAt(0)); | ||||
| //=> false | ||||
| ``` | ||||
| */ | ||||
| export default function isFullwidthCodePoint(codePoint: number): boolean; | ||||
							
								
								
									
										40
									
								
								node_modules/is-fullwidth-code-point/index.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										40
									
								
								node_modules/is-fullwidth-code-point/index.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,40 @@ | ||||
| /* eslint-disable yoda */ | ||||
|  | ||||
| export default function isFullwidthCodePoint(codePoint) { | ||||
| 	if (!Number.isInteger(codePoint)) { | ||||
| 		return false; | ||||
| 	} | ||||
|  | ||||
| 	// Code points are derived from: | ||||
| 	// https://unicode.org/Public/UNIDATA/EastAsianWidth.txt | ||||
| 	return codePoint >= 0x1100 && ( | ||||
| 		codePoint <= 0x115F || // Hangul Jamo | ||||
| 		codePoint === 0x2329 || // LEFT-POINTING ANGLE BRACKET | ||||
| 		codePoint === 0x232A || // RIGHT-POINTING ANGLE BRACKET | ||||
| 		// CJK Radicals Supplement .. Enclosed CJK Letters and Months | ||||
| 		(0x2E80 <= codePoint && codePoint <= 0x3247 && codePoint !== 0x303F) || | ||||
| 		// Enclosed CJK Letters and Months .. CJK Unified Ideographs Extension A | ||||
| 		(0x3250 <= codePoint && codePoint <= 0x4DBF) || | ||||
| 		// CJK Unified Ideographs .. Yi Radicals | ||||
| 		(0x4E00 <= codePoint && codePoint <= 0xA4C6) || | ||||
| 		// Hangul Jamo Extended-A | ||||
| 		(0xA960 <= codePoint && codePoint <= 0xA97C) || | ||||
| 		// Hangul Syllables | ||||
| 		(0xAC00 <= codePoint && codePoint <= 0xD7A3) || | ||||
| 		// CJK Compatibility Ideographs | ||||
| 		(0xF900 <= codePoint && codePoint <= 0xFAFF) || | ||||
| 		// Vertical Forms | ||||
| 		(0xFE10 <= codePoint && codePoint <= 0xFE19) || | ||||
| 		// CJK Compatibility Forms .. Small Form Variants | ||||
| 		(0xFE30 <= codePoint && codePoint <= 0xFE6B) || | ||||
| 		// Halfwidth and Fullwidth Forms | ||||
| 		(0xFF01 <= codePoint && codePoint <= 0xFF60) || | ||||
| 		(0xFFE0 <= codePoint && codePoint <= 0xFFE6) || | ||||
| 		// Kana Supplement | ||||
| 		(0x1B000 <= codePoint && codePoint <= 0x1B001) || | ||||
| 		// Enclosed Ideographic Supplement | ||||
| 		(0x1F200 <= codePoint && codePoint <= 0x1F251) || | ||||
| 		// CJK Unified Ideographs Extension B .. Tertiary Ideographic Plane | ||||
| 		(0x20000 <= codePoint && codePoint <= 0x3FFFD) | ||||
| 	); | ||||
| } | ||||
							
								
								
									
										9
									
								
								node_modules/is-fullwidth-code-point/license
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								node_modules/is-fullwidth-code-point/license
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| MIT License | ||||
|  | ||||
| Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://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. | ||||
							
								
								
									
										45
									
								
								node_modules/is-fullwidth-code-point/package.json
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										45
									
								
								node_modules/is-fullwidth-code-point/package.json
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,45 @@ | ||||
| { | ||||
| 	"name": "is-fullwidth-code-point", | ||||
| 	"version": "4.0.0", | ||||
| 	"description": "Check if the character represented by a given Unicode code point is fullwidth", | ||||
| 	"license": "MIT", | ||||
| 	"repository": "sindresorhus/is-fullwidth-code-point", | ||||
| 	"funding": "https://github.com/sponsors/sindresorhus", | ||||
| 	"author": { | ||||
| 		"name": "Sindre Sorhus", | ||||
| 		"email": "sindresorhus@gmail.com", | ||||
| 		"url": "https://sindresorhus.com" | ||||
| 	}, | ||||
| 	"type": "module", | ||||
| 	"exports": "./index.js", | ||||
| 	"engines": { | ||||
| 		"node": ">=12" | ||||
| 	}, | ||||
| 	"scripts": { | ||||
| 		"test": "xo && ava && tsd" | ||||
| 	}, | ||||
| 	"files": [ | ||||
| 		"index.js", | ||||
| 		"index.d.ts" | ||||
| 	], | ||||
| 	"keywords": [ | ||||
| 		"fullwidth", | ||||
| 		"full-width", | ||||
| 		"full", | ||||
| 		"width", | ||||
| 		"unicode", | ||||
| 		"character", | ||||
| 		"string", | ||||
| 		"codepoint", | ||||
| 		"code", | ||||
| 		"point", | ||||
| 		"is", | ||||
| 		"detect", | ||||
| 		"check" | ||||
| 	], | ||||
| 	"devDependencies": { | ||||
| 		"ava": "^3.15.0", | ||||
| 		"tsd": "^0.14.0", | ||||
| 		"xo": "^0.38.2" | ||||
| 	} | ||||
| } | ||||
							
								
								
									
										43
									
								
								node_modules/is-fullwidth-code-point/readme.md
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										43
									
								
								node_modules/is-fullwidth-code-point/readme.md
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,43 @@ | ||||
| # is-fullwidth-code-point | ||||
|  | ||||
| > Check if the character represented by a given [Unicode code point](https://en.wikipedia.org/wiki/Code_point) is [fullwidth](https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms) | ||||
|  | ||||
| ## Install | ||||
|  | ||||
| ``` | ||||
| $ npm install is-fullwidth-code-point | ||||
| ``` | ||||
|  | ||||
| ## Usage | ||||
|  | ||||
| ```js | ||||
| import isFullwidthCodePoint from 'is-fullwidth-code-point'; | ||||
|  | ||||
| isFullwidthCodePoint('谢'.codePointAt(0)); | ||||
| //=> true | ||||
|  | ||||
| isFullwidthCodePoint('a'.codePointAt(0)); | ||||
| //=> false | ||||
| ``` | ||||
|  | ||||
| ## API | ||||
|  | ||||
| ### isFullwidthCodePoint(codePoint) | ||||
|  | ||||
| #### codePoint | ||||
|  | ||||
| Type: `number` | ||||
|  | ||||
| The [code point](https://en.wikipedia.org/wiki/Code_point) of a character. | ||||
|  | ||||
| --- | ||||
|  | ||||
| <div align="center"> | ||||
| 	<b> | ||||
| 		<a href="https://tidelift.com/subscription/pkg/npm-is-fullwidth-code-point?utm_source=npm-is-fullwidth-code-point&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a> | ||||
| 	</b> | ||||
| 	<br> | ||||
| 	<sub> | ||||
| 		Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies. | ||||
| 	</sub> | ||||
| </div> | ||||
		Reference in New Issue
	
	Block a user