Add yet-another-react-lightbox package and update .gitignore to exclude node_modules
This commit is contained in:
16
frontend/node_modules/eslint/lib/rules/utils/unicode/index.js
generated
vendored
16
frontend/node_modules/eslint/lib/rules/utils/unicode/index.js
generated
vendored
@@ -1,16 +0,0 @@
|
||||
/**
|
||||
* @author Toru Nagashima <https://github.com/mysticatea>
|
||||
*/
|
||||
"use strict";
|
||||
|
||||
const isCombiningCharacter = require("./is-combining-character");
|
||||
const isEmojiModifier = require("./is-emoji-modifier");
|
||||
const isRegionalIndicatorSymbol = require("./is-regional-indicator-symbol");
|
||||
const isSurrogatePair = require("./is-surrogate-pair");
|
||||
|
||||
module.exports = {
|
||||
isCombiningCharacter,
|
||||
isEmojiModifier,
|
||||
isRegionalIndicatorSymbol,
|
||||
isSurrogatePair
|
||||
};
|
||||
13
frontend/node_modules/eslint/lib/rules/utils/unicode/is-combining-character.js
generated
vendored
13
frontend/node_modules/eslint/lib/rules/utils/unicode/is-combining-character.js
generated
vendored
@@ -1,13 +0,0 @@
|
||||
/**
|
||||
* @author Toru Nagashima <https://github.com/mysticatea>
|
||||
*/
|
||||
"use strict";
|
||||
|
||||
/**
|
||||
* Check whether a given character is a combining mark or not.
|
||||
* @param {number} codePoint The character code to check.
|
||||
* @returns {boolean} `true` if the character belongs to the category, any of `Mc`, `Me`, and `Mn`.
|
||||
*/
|
||||
module.exports = function isCombiningCharacter(codePoint) {
|
||||
return /^[\p{Mc}\p{Me}\p{Mn}]$/u.test(String.fromCodePoint(codePoint));
|
||||
};
|
||||
13
frontend/node_modules/eslint/lib/rules/utils/unicode/is-emoji-modifier.js
generated
vendored
13
frontend/node_modules/eslint/lib/rules/utils/unicode/is-emoji-modifier.js
generated
vendored
@@ -1,13 +0,0 @@
|
||||
/**
|
||||
* @author Toru Nagashima <https://github.com/mysticatea>
|
||||
*/
|
||||
"use strict";
|
||||
|
||||
/**
|
||||
* Check whether a given character is an emoji modifier.
|
||||
* @param {number} code The character code to check.
|
||||
* @returns {boolean} `true` if the character is an emoji modifier.
|
||||
*/
|
||||
module.exports = function isEmojiModifier(code) {
|
||||
return code >= 0x1F3FB && code <= 0x1F3FF;
|
||||
};
|
||||
13
frontend/node_modules/eslint/lib/rules/utils/unicode/is-regional-indicator-symbol.js
generated
vendored
13
frontend/node_modules/eslint/lib/rules/utils/unicode/is-regional-indicator-symbol.js
generated
vendored
@@ -1,13 +0,0 @@
|
||||
/**
|
||||
* @author Toru Nagashima <https://github.com/mysticatea>
|
||||
*/
|
||||
"use strict";
|
||||
|
||||
/**
|
||||
* Check whether a given character is a regional indicator symbol.
|
||||
* @param {number} code The character code to check.
|
||||
* @returns {boolean} `true` if the character is a regional indicator symbol.
|
||||
*/
|
||||
module.exports = function isRegionalIndicatorSymbol(code) {
|
||||
return code >= 0x1F1E6 && code <= 0x1F1FF;
|
||||
};
|
||||
14
frontend/node_modules/eslint/lib/rules/utils/unicode/is-surrogate-pair.js
generated
vendored
14
frontend/node_modules/eslint/lib/rules/utils/unicode/is-surrogate-pair.js
generated
vendored
@@ -1,14 +0,0 @@
|
||||
/**
|
||||
* @author Toru Nagashima <https://github.com/mysticatea>
|
||||
*/
|
||||
"use strict";
|
||||
|
||||
/**
|
||||
* Check whether given two characters are a surrogate pair.
|
||||
* @param {number} lead The code of the lead character.
|
||||
* @param {number} tail The code of the tail character.
|
||||
* @returns {boolean} `true` if the character pair is a surrogate pair.
|
||||
*/
|
||||
module.exports = function isSurrogatePair(lead, tail) {
|
||||
return lead >= 0xD800 && lead < 0xDC00 && tail >= 0xDC00 && tail < 0xE000;
|
||||
};
|
||||
Reference in New Issue
Block a user