mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
39 lines
1.2 KiB
JavaScript
39 lines
1.2 KiB
JavaScript
"use strict";
|
|
|
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
|
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
|
|
|
|
_Object$defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
|
|
exports.default = void 0;
|
|
|
|
var _categories = _interopRequireDefault(require("../../tools/output/categories"));
|
|
|
|
/*!
|
|
* XRegExp Unicode Categories 4.3.0
|
|
* <xregexp.com>
|
|
* Steven Levithan (c) 2010-present MIT License
|
|
* Unicode data by Mathias Bynens <mathiasbynens.be>
|
|
*/
|
|
var _default = function _default(XRegExp) {
|
|
/**
|
|
* Adds support for Unicode's general categories. E.g., `\p{Lu}` or `\p{Uppercase Letter}`. See
|
|
* category descriptions in UAX #44 <http://unicode.org/reports/tr44/#GC_Values_Table>. Token
|
|
* names are case insensitive, and any spaces, hyphens, and underscores are ignored.
|
|
*
|
|
* Uses Unicode 12.1.0.
|
|
*
|
|
* @requires XRegExp, Unicode Base
|
|
*/
|
|
if (!XRegExp.addUnicodeData) {
|
|
throw new ReferenceError('Unicode Base must be loaded before Unicode Categories');
|
|
}
|
|
|
|
XRegExp.addUnicodeData(_categories.default);
|
|
};
|
|
|
|
exports.default = _default;
|
|
module.exports = exports["default"]; |