完成世界书、骰子、apiconfig页面处理
This commit is contained in:
1
frontend/node_modules/micromark-util-sanitize-uri/dev/index.d.ts.map
generated
vendored
Normal file
1
frontend/node_modules/micromark-util-sanitize-uri/dev/index.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.js"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,iCAPW,MAAM,GAAG,IAAI,GAAG,SAAS,aAEzB,MAAM,GAAG,IAAI,GAAG,SAAS,GAEvB,MAAM,CA6BlB;AAED;;;;;;;;;;GAUG;AACH,oCALW,MAAM,GAEJ,MAAM,CA6DlB"}
|
||||
36
frontend/node_modules/micromark-util-sanitize-uri/index.d.ts
generated
vendored
Normal file
36
frontend/node_modules/micromark-util-sanitize-uri/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
/**
|
||||
* Make a value safe for injection as a URL.
|
||||
*
|
||||
* This encodes unsafe characters with percent-encoding and skips already
|
||||
* encoded sequences (see `normalizeUri`).
|
||||
* Further unsafe characters are encoded as character references (see
|
||||
* `micromark-util-encode`).
|
||||
*
|
||||
* A regex of allowed protocols can be given, in which case the URL is
|
||||
* sanitized.
|
||||
* For example, `/^(https?|ircs?|mailto|xmpp)$/i` can be used for `a[href]`, or
|
||||
* `/^https?$/i` for `img[src]` (this is what `github.com` allows).
|
||||
* If the URL includes an unknown protocol (one not matched by `protocol`, such
|
||||
* as a dangerous example, `javascript:`), the value is ignored.
|
||||
*
|
||||
* @param {string | null | undefined} url
|
||||
* URI to sanitize.
|
||||
* @param {RegExp | null | undefined} [protocol]
|
||||
* Allowed protocols.
|
||||
* @returns {string}
|
||||
* Sanitized URI.
|
||||
*/
|
||||
export function sanitizeUri(url: string | null | undefined, protocol?: RegExp | null | undefined): string;
|
||||
/**
|
||||
* Normalize a URL.
|
||||
*
|
||||
* Encode unsafe characters with percent-encoding, skipping already encoded
|
||||
* sequences.
|
||||
*
|
||||
* @param {string} value
|
||||
* URI to normalize.
|
||||
* @returns {string}
|
||||
* Normalized URI.
|
||||
*/
|
||||
export function normalizeUri(value: string): string;
|
||||
//# sourceMappingURL=index.d.ts.map
|
||||
22
frontend/node_modules/micromark-util-sanitize-uri/license
generated
vendored
Normal file
22
frontend/node_modules/micromark-util-sanitize-uri/license
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
(The MIT License)
|
||||
|
||||
Copyright (c) Titus Wormer <tituswormer@gmail.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.
|
||||
Reference in New Issue
Block a user