penambahan web socket
This commit is contained in:
121
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/LICENSE
generated
vendored
Normal file
121
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,121 @@
|
||||
Creative Commons Legal Code
|
||||
|
||||
CC0 1.0 Universal
|
||||
|
||||
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
|
||||
LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
|
||||
ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
|
||||
INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
|
||||
REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
|
||||
PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
|
||||
THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
|
||||
HEREUNDER.
|
||||
|
||||
Statement of Purpose
|
||||
|
||||
The laws of most jurisdictions throughout the world automatically confer
|
||||
exclusive Copyright and Related Rights (defined below) upon the creator
|
||||
and subsequent owner(s) (each and all, an "owner") of an original work of
|
||||
authorship and/or a database (each, a "Work").
|
||||
|
||||
Certain owners wish to permanently relinquish those rights to a Work for
|
||||
the purpose of contributing to a commons of creative, cultural and
|
||||
scientific works ("Commons") that the public can reliably and without fear
|
||||
of later claims of infringement build upon, modify, incorporate in other
|
||||
works, reuse and redistribute as freely as possible in any form whatsoever
|
||||
and for any purposes, including without limitation commercial purposes.
|
||||
These owners may contribute to the Commons to promote the ideal of a free
|
||||
culture and the further production of creative, cultural and scientific
|
||||
works, or to gain reputation or greater distribution for their Work in
|
||||
part through the use and efforts of others.
|
||||
|
||||
For these and/or other purposes and motivations, and without any
|
||||
expectation of additional consideration or compensation, the person
|
||||
associating CC0 with a Work (the "Affirmer"), to the extent that he or she
|
||||
is an owner of Copyright and Related Rights in the Work, voluntarily
|
||||
elects to apply CC0 to the Work and publicly distribute the Work under its
|
||||
terms, with knowledge of his or her Copyright and Related Rights in the
|
||||
Work and the meaning and intended legal effect of CC0 on those rights.
|
||||
|
||||
1. Copyright and Related Rights. A Work made available under CC0 may be
|
||||
protected by copyright and related or neighboring rights ("Copyright and
|
||||
Related Rights"). Copyright and Related Rights include, but are not
|
||||
limited to, the following:
|
||||
|
||||
i. the right to reproduce, adapt, distribute, perform, display,
|
||||
communicate, and translate a Work;
|
||||
ii. moral rights retained by the original author(s) and/or performer(s);
|
||||
iii. publicity and privacy rights pertaining to a person's image or
|
||||
likeness depicted in a Work;
|
||||
iv. rights protecting against unfair competition in regards to a Work,
|
||||
subject to the limitations in paragraph 4(a), below;
|
||||
v. rights protecting the extraction, dissemination, use and reuse of data
|
||||
in a Work;
|
||||
vi. database rights (such as those arising under Directive 96/9/EC of the
|
||||
European Parliament and of the Council of 11 March 1996 on the legal
|
||||
protection of databases, and under any national implementation
|
||||
thereof, including any amended or successor version of such
|
||||
directive); and
|
||||
vii. other similar, equivalent or corresponding rights throughout the
|
||||
world based on applicable law or treaty, and any national
|
||||
implementations thereof.
|
||||
|
||||
2. Waiver. To the greatest extent permitted by, but not in contravention
|
||||
of, applicable law, Affirmer hereby overtly, fully, permanently,
|
||||
irrevocably and unconditionally waives, abandons, and surrenders all of
|
||||
Affirmer's Copyright and Related Rights and associated claims and causes
|
||||
of action, whether now known or unknown (including existing as well as
|
||||
future claims and causes of action), in the Work (i) in all territories
|
||||
worldwide, (ii) for the maximum duration provided by applicable law or
|
||||
treaty (including future time extensions), (iii) in any current or future
|
||||
medium and for any number of copies, and (iv) for any purpose whatsoever,
|
||||
including without limitation commercial, advertising or promotional
|
||||
purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
|
||||
member of the public at large and to the detriment of Affirmer's heirs and
|
||||
successors, fully intending that such Waiver shall not be subject to
|
||||
revocation, rescission, cancellation, termination, or any other legal or
|
||||
equitable action to disrupt the quiet enjoyment of the Work by the public
|
||||
as contemplated by Affirmer's express Statement of Purpose.
|
||||
|
||||
3. Public License Fallback. Should any part of the Waiver for any reason
|
||||
be judged legally invalid or ineffective under applicable law, then the
|
||||
Waiver shall be preserved to the maximum extent permitted taking into
|
||||
account Affirmer's express Statement of Purpose. In addition, to the
|
||||
extent the Waiver is so judged Affirmer hereby grants to each affected
|
||||
person a royalty-free, non transferable, non sublicensable, non exclusive,
|
||||
irrevocable and unconditional license to exercise Affirmer's Copyright and
|
||||
Related Rights in the Work (i) in all territories worldwide, (ii) for the
|
||||
maximum duration provided by applicable law or treaty (including future
|
||||
time extensions), (iii) in any current or future medium and for any number
|
||||
of copies, and (iv) for any purpose whatsoever, including without
|
||||
limitation commercial, advertising or promotional purposes (the
|
||||
"License"). The License shall be deemed effective as of the date CC0 was
|
||||
applied by Affirmer to the Work. Should any part of the License for any
|
||||
reason be judged legally invalid or ineffective under applicable law, such
|
||||
partial invalidity or ineffectiveness shall not invalidate the remainder
|
||||
of the License, and in such case Affirmer hereby affirms that he or she
|
||||
will not (i) exercise any of his or her remaining Copyright and Related
|
||||
Rights in the Work or (ii) assert any associated claims and causes of
|
||||
action with respect to the Work, in either case contrary to Affirmer's
|
||||
express Statement of Purpose.
|
||||
|
||||
4. Limitations and Disclaimers.
|
||||
|
||||
a. No trademark or patent rights held by Affirmer are waived, abandoned,
|
||||
surrendered, licensed or otherwise affected by this document.
|
||||
b. Affirmer offers the Work as-is and makes no representations or
|
||||
warranties of any kind concerning the Work, express, implied,
|
||||
statutory or otherwise, including without limitation warranties of
|
||||
title, merchantability, fitness for a particular purpose, non
|
||||
infringement, or the absence of latent or other defects, accuracy, or
|
||||
the present or absence of errors, whether or not discoverable, all to
|
||||
the greatest extent permissible under applicable law.
|
||||
c. Affirmer disclaims responsibility for clearing rights of other persons
|
||||
that may apply to the Work or any use thereof, including without
|
||||
limitation any person's Copyright and Related Rights in the Work.
|
||||
Further, Affirmer disclaims responsibility for obtaining any necessary
|
||||
consents, permissions or other rights required for any use of the
|
||||
Work.
|
||||
d. Affirmer understands and acknowledges that Creative Commons is not a
|
||||
party to this document and has no duty or obligation with respect to
|
||||
this CC0 or use of the Work.
|
||||
206
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/README.md
generated
vendored
Normal file
206
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/README.md
generated
vendored
Normal file
@@ -0,0 +1,206 @@
|
||||
# Speed-highlight JS
|
||||
|
||||
Light, fast, and easy to use, dependencies free javascript syntax highlighter, with automatic language detection, [try it out here](https://speed-highlight.github.io/core/examples/)
|
||||
|
||||

|
||||
|
||||
## Light 📦
|
||||
|
||||
- The core is about **1kB** (gzipped & minified)
|
||||
- Languages definition are from **a few bytes** to **1kB**
|
||||
- Themes are about **1kB**
|
||||
- Language rules needed are automatically loaded
|
||||
|
||||
## Fast ⚡
|
||||
|
||||
Blazing fast highlighting using regex
|
||||
|
||||
## Simple setup 🚀
|
||||
|
||||
### Web
|
||||
|
||||
Style/theme (in the header of your html file):
|
||||
|
||||
```html
|
||||
<link rel="stylesheet" href="/path/dist/themes/default.css">
|
||||
```
|
||||
|
||||
In the body of your html file:
|
||||
|
||||
```html
|
||||
<div class='shj-lang-[code-language]'>[code]</div>
|
||||
or
|
||||
<code class='shj-lang-[code-language]'>[inline code]</code>
|
||||
```
|
||||
|
||||
Highlight the code (in your javascript):
|
||||
|
||||
```js
|
||||
import { highlightAll } from '/path/dist/index.js';
|
||||
highlightAll();
|
||||
```
|
||||
|
||||
Auto language detection
|
||||
|
||||
```js
|
||||
import { highlightElement } from '../src/index.js';
|
||||
import { detectLanguage } from '../src/detect.js';
|
||||
|
||||
elm.textContent = code;
|
||||
highlightElement(elm, detectLanguage(code));
|
||||
```
|
||||
|
||||
Load custom language
|
||||
|
||||
```js
|
||||
import { loadLanguage } from '../src/index.js';
|
||||
|
||||
loadLanguage('language-name', customLanguage);
|
||||
```
|
||||
|
||||
#### CDN
|
||||
|
||||
```html
|
||||
<link rel="stylesheet" href="https://unpkg.com/@speed-highlight/core/dist/themes/default.css">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/speed-highlight/core/dist/themes/default.css">
|
||||
```
|
||||
|
||||
```js
|
||||
import ... from 'https://unpkg.com/@speed-highlight/core/dist/index.js';
|
||||
import ... from 'https://cdn.jsdelivr.net/gh/speed-highlight/core/dist/index.js';
|
||||
```
|
||||
|
||||
### Deno
|
||||
|
||||
Use the [deno module](https://deno.land/x/speed_highlight_js)
|
||||
|
||||
```js
|
||||
import { setTheme, printHighlight } from 'https://x.nest.land/speed_highlight_js/dist/terminal.js';
|
||||
|
||||
await setTheme('[theme-name]');
|
||||
printHighlight('console.log("hello")', 'js');
|
||||
```
|
||||
|
||||
## Node
|
||||
|
||||
Use the [npm package](https://www.npmjs.com/package/@speed-highlight/core)
|
||||
|
||||
```bash
|
||||
npm i @speed-highlight/core
|
||||
```
|
||||
|
||||
```js
|
||||
const { setTheme, printHighlight } = require('@speed-highlight/core/terminal');
|
||||
|
||||
setTheme('[theme-name]');
|
||||
printHighlight('console.log("hello")', 'js');
|
||||
```
|
||||
|
||||
## Migrating from prism
|
||||
|
||||
Speed-highlight JS is a lighter and faster version of prism that share a similar API
|
||||
|
||||
### Style
|
||||
|
||||
Remove the prism stylesheet in the head of your html file
|
||||
Clone this repository or use a cdn to load our stylesheet
|
||||
|
||||
```diff
|
||||
<head>
|
||||
- <link href="themes/prism.css" rel="stylesheet" />
|
||||
+ <link rel="stylesheet" href="https://unpkg.com/@speed-highlight/core/dist/themes/default.css">
|
||||
</head>
|
||||
```
|
||||
|
||||
### Script
|
||||
|
||||
For the script part remove the prism.js script and replace it by a import and a call to `highlightAll`
|
||||
|
||||
```diff
|
||||
<body>
|
||||
- <script src="prism.js"></script>
|
||||
+<script>
|
||||
+ import { highlightAll } from 'https://unpkg.com/@speed-highlight/core/dist/index.js';
|
||||
+ highlightAll();
|
||||
+</script>
|
||||
</body>
|
||||
```
|
||||
|
||||
If you want to highlight only a specific element you can use the `highlightElement` function instead
|
||||
|
||||
### Code block
|
||||
|
||||
For the code blocks replace the `<pre><code>` by only one `<div>`
|
||||
And use `shj-lang-` prefix instead of `language-` for the class property
|
||||
|
||||
```diff
|
||||
-<pre><code class="language-css">p { color: red }</code></pre>
|
||||
+<div class="shj-lang-css">p { color: red }</div>
|
||||
```
|
||||
|
||||
And for inline code block you just have to change the class property
|
||||
|
||||
```diff
|
||||
-<code class="language-css">p { color: red }</code>
|
||||
+<code class="shj-lang-css">p { color: red }</code>
|
||||
```
|
||||
|
||||
## Languages supported 🌐
|
||||
|
||||
| Name | Class name | Support | Language detection |
|
||||
| ---------- | ------------------- | --------------------------------------------------- | ------------------ |
|
||||
| bash | shj-lang-bash | | ✅ |
|
||||
| brainfuck | shj-lang-bf | increment, operator, print, comment | ❌ |
|
||||
| css | shj-lang-css | comment, str, selector, units, function, ... | ✅ |
|
||||
| csv | shj-lang-csv | punctuation, ... | ❌ |
|
||||
| diff | shj-lang-diff | | ✅ |
|
||||
| git | shj-lang-git | comment, insert, deleted, string, ... | ❌ |
|
||||
| html | shj-lang-html | | ✅ |
|
||||
| http | shj-lang-http | keywork, string, punctuation, variable, version | ✅ |
|
||||
| ini | shj-lang-ini | | ❌ |
|
||||
| javascipt | shj-lang-js | basic syntax, regex, jsdoc, json, template literals | ✅ |
|
||||
| jsdoc | shj-lang-jsdoc | | ❌ |
|
||||
| json | shj-lang-json | string, number, bool, ... | ❌ |
|
||||
| leanpub-md | shj-lang-leanpub-md | | ❌ |
|
||||
| log | shj-lang-log | number, string, comment, errors | ❌ |
|
||||
| lua | shj-lang-lua | | ✅ |
|
||||
| makefile | shj-lang-make | | ✅ |
|
||||
| markdown | shj-lang-md | | ✅ |
|
||||
| perl | shj-lang-pl | | ✅ |
|
||||
| plain | shj-lang-plain | | ❌ |
|
||||
| python | shj-lang-py | | ✅ |
|
||||
| regex | shj-lang-regex | count, set, ... | ❌ |
|
||||
| sql | shj-lang-sql | number, string, function, ... | ✅ |
|
||||
| todo | shj-lang-todo | | ❌ |
|
||||
| toml | shj-lang-toml | comment, table, string, bool, variable | ❌ |
|
||||
| typescript | shj-lang-ts | js syntax, ts keyword, types | ✅ |
|
||||
| uri | shj-lang-uri | | ✅ |
|
||||
| yaml | shj-lang-yaml | comment, numbers, variable, string, bool | ❌ |
|
||||
| docker | shj-lang-docker | | ✅ |
|
||||
| c | shj-lang-c | | ✅ |
|
||||
| xml | shj-lang-xml | | ✅ |
|
||||
| rust | shj-lang-rs | | ✅ |
|
||||
| go | shj-lang-go | | ✅ |
|
||||
| java | shj-lang-java | | ✅ |
|
||||
| asm | shj-lang-asm | | ✅ |
|
||||
|
||||
## Themes 🌈
|
||||
|
||||
A modern theme by default
|
||||
|
||||
| Name | Terminal | Web |
|
||||
| ------------------- | -------- | --- |
|
||||
| default | ✅ | ✅ |
|
||||
| github-dark | ❌ | ✅ |
|
||||
| github-light | ❌ | ✅ |
|
||||
| github-dim | ❌ | ✅ |
|
||||
| atom-dark | ✅ | ✅ |
|
||||
| visual-studio-dark | ❌ | ✅ |
|
||||
|
||||
## Documentation 👀
|
||||
|
||||
Further in-depth documentation for the API and other topics is in our [Wiki](https://github.com/speed-highlight/core/wiki) and our [Documentation](https://speed-highlight.github.io/core/docs/)
|
||||
|
||||
## License 📃
|
||||
|
||||
Shj is released under the Creative Commons Zero License. See our [LICENSE](https://github.com/speed-highlight/core/blob/main/LICENSE) file for details.
|
||||
20
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/common.d.ts
generated
vendored
Normal file
20
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/common.d.ts
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
declare namespace _default {
|
||||
namespace num {
|
||||
let type: string;
|
||||
let match: RegExp;
|
||||
}
|
||||
namespace str {
|
||||
let type_1: string;
|
||||
export { type_1 as type };
|
||||
let match_1: RegExp;
|
||||
export { match_1 as match };
|
||||
}
|
||||
namespace strDouble {
|
||||
let type_2: string;
|
||||
export { type_2 as type };
|
||||
let match_2: RegExp;
|
||||
export { match_2 as match };
|
||||
}
|
||||
}
|
||||
export default _default;
|
||||
//# sourceMappingURL=common.d.ts.map
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/common.d.ts.map
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/common.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../src/common.js"],"names":[],"mappings":""}
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/common.js
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/common.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
var t={num:{type:"num",match:/(\.e?|\b)\d(e-|[\d.oxa-fA-F_])*(\.|\b)/g},str:{type:"str",match:/(["'])(\\[^]|(?!\1)[^\r\n\\])*\1?/g},strDouble:{type:"str",match:/"((?!")[^\r\n\\]|\\[^])*"?/g}};export{t as default};
|
||||
3
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/detect.d.ts
generated
vendored
Normal file
3
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/detect.d.ts
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
export function detectLanguage(code: string): ShjLanguage;
|
||||
export type ShjLanguage = import("./index.js").ShjLanguage;
|
||||
//# sourceMappingURL=detect.d.ts.map
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/detect.d.ts.map
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/detect.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"detect.d.ts","sourceRoot":"","sources":["../src/detect.js"],"names":[],"mappings":"AA8CO,qCAHI,MAAM,GACJ,WAAW,CAUvB;0BAhDY,OAAO,YAAY,EAAE,WAAW"}
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/detect.js
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/detect.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
var g=[["bash",[/#!(\/usr)?\/bin\/bash/g,500],[/\b(if|elif|then|fi|echo)\b|\$/g,10]],["html",[/<\/?[a-z-]+[^\n>]*>/g,10],[/^\s+<!DOCTYPE\s+html/g,500]],["http",[/^(GET|HEAD|POST|PUT|DELETE|PATCH|HTTP)\b/g,500]],["js",[/\b(console|await|async|function|export|import|this|class|for|let|const|map|join|require)\b/g,10]],["ts",[/\b(console|await|async|function|export|import|this|class|for|let|const|map|join|require|implements|interface|namespace)\b/g,10]],["py",[/\b(def|print|class|and|or|lambda)\b/g,10]],["sql",[/\b(SELECT|INSERT|FROM)\b/g,50]],["pl",[/#!(\/usr)?\/bin\/perl/g,500],[/\b(use|print)\b|\$/g,10]],["lua",[/#!(\/usr)?\/bin\/lua/g,500]],["make",[/\b(ifneq|endif|if|elif|then|fi|echo|.PHONY|^[a-z]+ ?:$)\b|\$/gm,10]],["uri",[/https?:|mailto:|tel:|ftp:/g,30]],["css",[/^(@import|@page|@media|(\.|#)[a-z]+)/gm,20]],["diff",[/^[+><-]/gm,10],[/^@@ ?[-+,0-9 ]+ ?@@/gm,25]],["md",[/^(>|\t\*|\t\d+.)/gm,10],[/\[.*\](.*)/g,10]],["docker",[/^(FROM|ENTRYPOINT|RUN)/gm,500]],["xml",[/<\/?[a-z-]+[^\n>]*>/g,10],[/^<\?xml/g,500]],["c",[/#include\b|\bprintf\s+\(/g,100]],["rs",[/^\s+(use|fn|mut|match)\b/gm,100]],["go",[/\b(func|fmt|package)\b/g,100]],["java",[/^import\s+java/gm,500]],["asm",[/^(section|global main|extern|\t(call|mov|ret))/gm,100]],["css",[/^(@import|@page|@media|(\.|#)[a-z]+)/gm,20]],["json",[/\b(true|false|null|\{})\b|\"[^"]+\":/g,10]],["yaml",[/^(\s+)?[a-z][a-z0-9]*:/gmi,10]]],m=e=>g.map(([t,...a])=>[t,a.reduce((s,[n,i])=>s+[...e.matchAll(n)].length*i,0)]).filter(([t,a])=>a>20).sort((t,a)=>a[1]-t[1])[0]?.[0]||"plain";export{m as detectLanguage};
|
||||
76
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/index.d.ts
generated
vendored
Normal file
76
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,76 @@
|
||||
/**
|
||||
* Find the tokens in the given code and call the given callback
|
||||
*
|
||||
* @function tokenize
|
||||
* @param {string} src The code
|
||||
* @param {ShjLanguage|Array} lang The language of the code
|
||||
* @param {function(string, ShjToken=):void} token The callback function
|
||||
* this function will be given
|
||||
* * the text of the token
|
||||
* * the type of the token
|
||||
*/
|
||||
export function tokenize(src: string, lang: ShjLanguage | any[], token: (arg0: string, arg1: ShjToken | undefined) => void): Promise<void>;
|
||||
/**
|
||||
* Highlight a string passed as argument and return it
|
||||
* @example
|
||||
* elm.innerHTML = await highlightText(code, 'js');
|
||||
*
|
||||
* @async
|
||||
* @function highlightText
|
||||
* @param {string} src The code
|
||||
* @param {ShjLanguage} lang The language of the code
|
||||
* @param {Boolean} [multiline=true] If it is multiline, it will add a wrapper for the line numbering and header
|
||||
* @param {ShjOptions} [opt={}] Customization options
|
||||
* @returns {Promise<string>} The highlighted string
|
||||
*/
|
||||
export function highlightText(src: string, lang: ShjLanguage, multiline?: boolean, opt?: ShjOptions): Promise<string>;
|
||||
/**
|
||||
* Highlight a DOM element by getting the new innerHTML with highlightText
|
||||
*
|
||||
* @async
|
||||
* @function highlightElement
|
||||
* @param {Element} elm The DOM element
|
||||
* @param {ShjLanguage} [lang] The language of the code (seaching by default on `elm` for a 'shj-lang-' class)
|
||||
* @param {ShjDisplayMode} [mode] The display mode (guessed by default)
|
||||
* @param {ShjOptions} [opt={}] Customization options
|
||||
*/
|
||||
export function highlightElement(elm: Element, lang?: ShjLanguage, mode?: ShjDisplayMode, opt?: ShjOptions): Promise<void>;
|
||||
export function highlightAll(opt?: ShjOptions): Promise<void[]>;
|
||||
export function loadLanguage(languageName: string, language: {
|
||||
default: ShjLanguageDefinition;
|
||||
}): void;
|
||||
/**
|
||||
* Default languages supported
|
||||
*/
|
||||
export type ShjLanguage = ("asm" | "bash" | "bf" | "c" | "css" | "csv" | "diff" | "docker" | "git" | "go" | "html" | "http" | "ini" | "java" | "js" | "jsdoc" | "json" | "leanpub-md" | "log" | "lua" | "make" | "md" | "pl" | "plain" | "py" | "regex" | "rs" | "sql" | "todo" | "toml" | "ts" | "uri" | "xml" | "yaml");
|
||||
/**
|
||||
* Themes supported in the browser
|
||||
*/
|
||||
export type ShjBrowserTheme = ("atom-dark" | "github-dark" | "github-dim" | "dark" | "default" | "github-light" | "visual-studio-dark");
|
||||
export type ShjOptions = {
|
||||
/**
|
||||
* Indicates whether to hide line numbers
|
||||
*/
|
||||
hideLineNumbers?: boolean;
|
||||
};
|
||||
/**
|
||||
* * `inline` inside `code` element
|
||||
* * `oneline` inside `div` element and containing only one line
|
||||
* * `multiline` inside `div` element
|
||||
*/
|
||||
export type ShjDisplayMode = ("inline" | "oneline" | "multiline");
|
||||
/**
|
||||
* Token types
|
||||
*/
|
||||
export type ShjToken = ("deleted" | "err" | "var" | "section" | "kwd" | "class" | "cmnt" | "insert" | "type" | "func" | "bool" | "num" | "oper" | "str" | "esc");
|
||||
export type ShjLanguageComponent = {
|
||||
match: RegExp;
|
||||
type: string;
|
||||
} | {
|
||||
match: RegExp;
|
||||
sub: string | ShjLanguageDefinition | ((code: string) => ShjLanguageComponent);
|
||||
} | {
|
||||
expand: string;
|
||||
};
|
||||
export type ShjLanguageDefinition = ShjLanguageComponent[];
|
||||
//# sourceMappingURL=index.d.ts.map
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/index.d.ts.map
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/index.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.js"],"names":[],"mappings":"AAgDA;;;;;;;;;;GAUG;AACH,8BAPW,MAAM,QACN,WAAW,QAAM,SACjB,CAAS,IAAM,EAAN,MAAM,EAAE,IAAS,EAAT,QAAQ,YAAC,KAAE,IAAI,iBAyD1C;AAED;;;;;;;;;;;;GAYG;AACH,mCANW,MAAM,QACN,WAAW,6BAEX,UAAU,GACR,OAAO,CAAC,MAAM,CAAC,CAS3B;AAED;;;;;;;;;GASG;AACH,sCALW,OAAO,SACP,WAAW,SACX,cAAc,QACd,UAAU,iBAQpB;AASM,mCAFI,UAAU,mBAK2C;AAoBzD,2CAHI,MAAM,YACN;IAAE,OAAO,EAAE,qBAAqB,CAAA;CAAE,QAI5C;;;;0BAlLY,CAAC,KAAK,GAAC,MAAM,GAAC,IAAI,GAAC,GAAG,GAAC,KAAK,GAAC,KAAK,GAAC,MAAM,GAAC,QAAQ,GAAC,KAAK,GAAC,IAAI,GAAC,MAAM,GAAC,MAAM,GAAC,KAAK,GAAC,MAAM,GAAC,IAAI,GAAC,OAAO,GAAC,MAAM,GAAC,YAAY,GAAC,KAAK,GAAC,KAAK,GAAC,MAAM,GAAC,IAAI,GAAC,IAAI,GAAC,OAAO,GAAC,IAAI,GAAC,OAAO,GAAC,IAAI,GAAC,KAAK,GAAC,MAAM,GAAC,MAAM,GAAC,IAAI,GAAC,KAAK,GAAC,KAAK,GAAC,MAAM,CAAC;;;;8BAK7N,CAAC,WAAW,GAAC,aAAa,GAAC,YAAY,GAAC,MAAM,GAAC,SAAS,GAAC,cAAc,GAAC,oBAAoB,CAAC;;;;;;;;;;;;6BAS7F,CAAC,QAAQ,GAAC,SAAS,GAAC,WAAW,CAAC;;;;uBAQhC,CAAC,SAAS,GAAC,KAAK,GAAC,KAAK,GAAC,SAAS,GAAC,KAAK,GAAC,OAAO,GAAC,MAAM,GAAC,QAAQ,GAAC,MAAM,GAAC,MAAM,GAAC,MAAM,GAAC,KAAK,GAAC,MAAM,GAAC,KAAK,GAAC,KAAK,CAAC;mCAyI7G;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GACrC;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,GAAG,qBAAqB,IAAG,CAAC,IAAI,EAAC,MAAM,KAAK,oBAAoB,CAAA,CAAA;CAAE,GAC9F;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE;oCAKZ,oBAAoB,EAAE"}
|
||||
4
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/index.js
generated
vendored
Normal file
4
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/index.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
21
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/asm.d.ts
generated
vendored
Normal file
21
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/asm.d.ts
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
declare const _default: ({
|
||||
type: string;
|
||||
match: RegExp;
|
||||
expand?: undefined;
|
||||
sub?: undefined;
|
||||
} | {
|
||||
expand: string;
|
||||
type?: undefined;
|
||||
match?: undefined;
|
||||
sub?: undefined;
|
||||
} | {
|
||||
type: string;
|
||||
match: RegExp;
|
||||
sub: {
|
||||
type: string;
|
||||
match: RegExp;
|
||||
}[];
|
||||
expand?: undefined;
|
||||
})[];
|
||||
export default _default;
|
||||
//# sourceMappingURL=asm.d.ts.map
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/asm.d.ts.map
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/asm.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"asm.d.ts","sourceRoot":"","sources":["../../src/languages/asm.js"],"names":[],"mappings":""}
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/asm.js
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/asm.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
var t=[{type:"cmnt",match:/(;|#).*/gm},{expand:"str"},{expand:"num"},{type:"num",match:/\$[\da-fA-F]*\b/g},{type:"kwd",match:/^[a-z]+\s+[a-z.]+\b/gm,sub:[{type:"func",match:/^[a-z]+/g}]},{type:"kwd",match:/^\t*[a-z][a-z\d]*\b/gm},{match:/%|\$/g,type:"oper"}];export{t as default};
|
||||
14
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/bash.d.ts
generated
vendored
Normal file
14
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/bash.d.ts
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
declare const _default: ({
|
||||
type: string;
|
||||
match: RegExp;
|
||||
} | {
|
||||
sub: string;
|
||||
match: RegExp;
|
||||
expand?: undefined;
|
||||
} | {
|
||||
expand: string;
|
||||
sub?: undefined;
|
||||
match?: undefined;
|
||||
})[];
|
||||
export default _default;
|
||||
//# sourceMappingURL=bash.d.ts.map
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/bash.d.ts.map
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/bash.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"bash.d.ts","sourceRoot":"","sources":["../../src/languages/bash.js"],"names":[],"mappings":""}
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/bash.js
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/bash.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
var e={type:"var",match:/\$\w+|\${[^}]*}|\$\([^)]*\)/g},t=[{sub:"todo",match:/#.*/g},{type:"str",match:/(["'])((?!\1)[^\r\n\\]|\\[^])*\1?/g,sub:[e]},{type:"oper",match:/(?<=\s|^)\.*\/[a-z/_.-]+/gi},{type:"kwd",match:/\s-[a-zA-Z]+|$<|[&|;]+|\b(unset|readonly|shift|export|if|fi|else|elif|while|do|done|for|until|case|esac|break|continue|exit|return|trap|wait|eval|exec|then|declare|enable|local|select|typeset|time|add|remove|install|update|delete)(?=\s|$)/g},{expand:"num"},{type:"func",match:/(?<=(^|\||\&\&|\;)\s*)[a-z_.-]+(?=\s|$)/gmi},{type:"bool",match:/(?<=\s|^)(true|false)(?=\s|$)/g},{type:"oper",match:/[=(){}<>!]+/g},{type:"var",match:/(?<=\s|^)[\w_]+(?=\s*=)/g},e];export{t as default};
|
||||
11
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/bf.d.ts
generated
vendored
Normal file
11
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/bf.d.ts
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
declare const _default: ({
|
||||
match: RegExp;
|
||||
sub: string;
|
||||
type?: undefined;
|
||||
} | {
|
||||
type: string;
|
||||
match: RegExp;
|
||||
sub?: undefined;
|
||||
})[];
|
||||
export default _default;
|
||||
//# sourceMappingURL=bf.d.ts.map
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/bf.d.ts.map
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/bf.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"bf.d.ts","sourceRoot":"","sources":["../../src/languages/bf.js"],"names":[],"mappings":""}
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/bf.js
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/bf.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
var t=[{match:/[^\[\->+.<\]\s].*/g,sub:"todo"},{type:"func",match:/\.+/g},{type:"kwd",match:/[<>]+/g},{type:"oper",match:/[+-]+/g}];export{t as default};
|
||||
39
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/c.d.ts
generated
vendored
Normal file
39
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/c.d.ts
generated
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
declare const _default: ({
|
||||
match: RegExp;
|
||||
sub: string;
|
||||
expand?: undefined;
|
||||
type?: undefined;
|
||||
} | {
|
||||
expand: string;
|
||||
match?: undefined;
|
||||
sub?: undefined;
|
||||
type?: undefined;
|
||||
} | {
|
||||
type: string;
|
||||
match: RegExp;
|
||||
sub: {
|
||||
type: string;
|
||||
match: RegExp;
|
||||
}[];
|
||||
expand?: undefined;
|
||||
} | {
|
||||
match: RegExp;
|
||||
sub: ({
|
||||
type: string;
|
||||
match: RegExp;
|
||||
sub?: undefined;
|
||||
} | {
|
||||
match: RegExp;
|
||||
sub: string;
|
||||
type?: undefined;
|
||||
})[];
|
||||
expand?: undefined;
|
||||
type?: undefined;
|
||||
} | {
|
||||
type: string;
|
||||
match: RegExp;
|
||||
sub?: undefined;
|
||||
expand?: undefined;
|
||||
})[];
|
||||
export default _default;
|
||||
//# sourceMappingURL=c.d.ts.map
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/c.d.ts.map
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/c.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"c.d.ts","sourceRoot":"","sources":["../../src/languages/c.js"],"names":[],"mappings":""}
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/c.js
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/c.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
var t=[{match:/\/\/.*\n?|\/\*((?!\*\/)[^])*(\*\/)?/g,sub:"todo"},{expand:"str"},{expand:"num"},{type:"kwd",match:/#\s*include (<.*>|".*")/g,sub:[{type:"str",match:/(<|").*/g}]},{match:/asm\s*{[^}]*}/g,sub:[{type:"kwd",match:/^asm/g},{match:/[^{}]*(?=}$)/g,sub:"asm"}]},{type:"kwd",match:/\*|&|#[a-z]+\b|\b(asm|auto|double|int|struct|break|else|long|switch|case|enum|register|typedef|char|extern|return|union|const|float|short|unsigned|continue|for|signed|void|default|goto|sizeof|volatile|do|if|static|while)\b/g},{type:"oper",match:/[/*+:?&|%^~=!,<>.^-]+/g},{type:"func",match:/[a-zA-Z_][\w_]*(?=\s*\()/g},{type:"class",match:/\b[A-Z][\w_]*\b/g}];export{t as default};
|
||||
34
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/css.d.ts
generated
vendored
Normal file
34
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/css.d.ts
generated
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
declare const _default: ({
|
||||
match: RegExp;
|
||||
sub: string;
|
||||
expand?: undefined;
|
||||
type?: undefined;
|
||||
} | {
|
||||
expand: string;
|
||||
match?: undefined;
|
||||
sub?: undefined;
|
||||
type?: undefined;
|
||||
} | {
|
||||
type: string;
|
||||
match: RegExp;
|
||||
sub?: undefined;
|
||||
expand?: undefined;
|
||||
} | {
|
||||
type: string;
|
||||
match: RegExp;
|
||||
sub: {
|
||||
type: string;
|
||||
match: RegExp;
|
||||
}[];
|
||||
expand?: undefined;
|
||||
} | {
|
||||
match: RegExp;
|
||||
sub: {
|
||||
type: string;
|
||||
match: RegExp;
|
||||
}[];
|
||||
expand?: undefined;
|
||||
type?: undefined;
|
||||
})[];
|
||||
export default _default;
|
||||
//# sourceMappingURL=css.d.ts.map
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/css.d.ts.map
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/css.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"css.d.ts","sourceRoot":"","sources":["../../src/languages/css.js"],"names":[],"mappings":""}
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/css.js
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/css.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
var t=[{match:/\/\*((?!\*\/)[^])*(\*\/)?/g,sub:"todo"},{expand:"str"},{type:"kwd",match:/@\w+\b|\b(and|not|only|or)\b|\b[a-z-]+(?=[^{}]*{)/g},{type:"var",match:/\b[\w-]+(?=\s*:)|(::?|\.)[\w-]+(?=[^{}]*{)/g},{type:"func",match:/#[\w-]+(?=[^{}]*{)/g},{type:"num",match:/#[\da-f]{3,8}/g},{type:"num",match:/\d+(\.\d+)?(cm|mm|in|px|pt|pc|em|ex|ch|rem|vm|vh|vmin|vmax|%)?/g,sub:[{type:"var",match:/[a-z]+|%/g}]},{match:/url\([^)]*\)/g,sub:[{type:"func",match:/url(?=\()/g},{type:"str",match:/[^()]+/g}]},{type:"func",match:/\b[a-zA-Z]\w*(?=\s*\()/g},{type:"num",match:/\b[a-z-]+\b/g}];export{t as default};
|
||||
11
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/csv.d.ts
generated
vendored
Normal file
11
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/csv.d.ts
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
declare const _default: ({
|
||||
expand: string;
|
||||
type?: undefined;
|
||||
match?: undefined;
|
||||
} | {
|
||||
type: string;
|
||||
match: RegExp;
|
||||
expand?: undefined;
|
||||
})[];
|
||||
export default _default;
|
||||
//# sourceMappingURL=csv.d.ts.map
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/csv.d.ts.map
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/csv.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"csv.d.ts","sourceRoot":"","sources":["../../src/languages/csv.js"],"names":[],"mappings":""}
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/csv.js
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/csv.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
var e=[{expand:"strDouble"},{type:"oper",match:/,/g}];export{e as default};
|
||||
6
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/diff.d.ts
generated
vendored
Normal file
6
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/diff.d.ts
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
declare const _default: {
|
||||
type: string;
|
||||
match: RegExp;
|
||||
}[];
|
||||
export default _default;
|
||||
//# sourceMappingURL=diff.d.ts.map
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/diff.d.ts.map
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/diff.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"diff.d.ts","sourceRoot":"","sources":["../../src/languages/diff.js"],"names":[],"mappings":""}
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/diff.js
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/diff.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
var t=[{type:"deleted",match:/^[-<].*/gm},{type:"insert",match:/^[+>].*/gm},{type:"kwd",match:/!.*/gm},{type:"section",match:/^@@.*@@$|^\d.*|^([*-+])\1\1.*/gm}];export{t as default};
|
||||
14
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/docker.d.ts
generated
vendored
Normal file
14
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/docker.d.ts
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
declare const _default: ({
|
||||
type: string;
|
||||
match: RegExp;
|
||||
} | {
|
||||
sub: string;
|
||||
match: RegExp;
|
||||
expand?: undefined;
|
||||
} | {
|
||||
expand: string;
|
||||
sub?: undefined;
|
||||
match?: undefined;
|
||||
})[];
|
||||
export default _default;
|
||||
//# sourceMappingURL=docker.d.ts.map
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/docker.d.ts.map
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/docker.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"docker.d.ts","sourceRoot":"","sources":["../../src/languages/docker.js"],"names":[],"mappings":""}
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/docker.js
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/docker.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
var e={type:"var",match:/\$\w+|\${[^}]*}|\$\([^)]*\)/g},t=[{sub:"todo",match:/#.*/g},{type:"str",match:/(["'])((?!\1)[^\r\n\\]|\\[^])*\1?/g,sub:[e]},{type:"oper",match:/(?<=\s|^)\.*\/[a-z/_.-]+/gi},{type:"kwd",match:/\s-[a-zA-Z]+|$<|[&|;]+|\b(unset|readonly|shift|export|if|fi|else|elif|while|do|done|for|until|case|esac|break|continue|exit|return|trap|wait|eval|exec|then|declare|enable|local|select|typeset|time|add|remove|install|update|delete)(?=\s|$)/g},{expand:"num"},{type:"func",match:/(?<=(^|\||\&\&|\;)\s*)[a-z_.-]+(?=\s|$)/gmi},{type:"bool",match:/(?<=\s|^)(true|false)(?=\s|$)/g},{type:"oper",match:/[=(){}<>!]+/g},{type:"var",match:/(?<=\s|^)[\w_]+(?=\s*=)/g},e];var r=[{type:"kwd",match:/^(FROM|RUN|CMD|LABEL|MAINTAINER|EXPOSE|ENV|ADD|COPY|ENTRYPOINT|VOLUME|USER|WORKDIR|ARG|ONBUILD|STOPSIGNAL|HEALTHCHECK|SHELL)\b/gmi},...t];export{r as default};
|
||||
14
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/git.d.ts
generated
vendored
Normal file
14
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/git.d.ts
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
declare const _default: ({
|
||||
type: string;
|
||||
match: RegExp;
|
||||
} | {
|
||||
match: RegExp;
|
||||
sub: string;
|
||||
expand?: undefined;
|
||||
} | {
|
||||
expand: string;
|
||||
match?: undefined;
|
||||
sub?: undefined;
|
||||
})[];
|
||||
export default _default;
|
||||
//# sourceMappingURL=git.d.ts.map
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/git.d.ts.map
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/git.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"git.d.ts","sourceRoot":"","sources":["../../src/languages/git.js"],"names":[],"mappings":""}
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/git.js
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/git.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
var t=[{type:"deleted",match:/^[-<].*/gm},{type:"insert",match:/^[+>].*/gm},{type:"kwd",match:/!.*/gm},{type:"section",match:/^@@.*@@$|^\d.*|^([*-+])\1\1.*/gm}];var a=[{match:/^#.*/gm,sub:"todo"},{expand:"str"},...t,{type:"func",match:/^(\$ )?git(\s.*)?$/gm},{type:"kwd",match:/^commit \w+$/gm}];export{a as default};
|
||||
18
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/go.d.ts
generated
vendored
Normal file
18
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/go.d.ts
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
declare const _default: ({
|
||||
match: RegExp;
|
||||
sub: string;
|
||||
expand?: undefined;
|
||||
type?: undefined;
|
||||
} | {
|
||||
expand: string;
|
||||
match?: undefined;
|
||||
sub?: undefined;
|
||||
type?: undefined;
|
||||
} | {
|
||||
type: string;
|
||||
match: RegExp;
|
||||
sub?: undefined;
|
||||
expand?: undefined;
|
||||
})[];
|
||||
export default _default;
|
||||
//# sourceMappingURL=go.d.ts.map
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/go.d.ts.map
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/go.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"go.d.ts","sourceRoot":"","sources":["../../src/languages/go.js"],"names":[],"mappings":""}
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/go.js
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/go.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
var t=[{match:/\/\/.*\n?|\/\*((?!\*\/)[^])*(\*\/)?/g,sub:"todo"},{expand:"str"},{expand:"num"},{type:"kwd",match:/\*|&|\b(break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go|goto|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/g},{type:"func",match:/[a-zA-Z_][\w_]*(?=\s*\()/g},{type:"class",match:/\b[A-Z][\w_]*\b/g},{type:"oper",match:/[+\-*\/%&|^~=!<>.^-]+/g}];export{t as default};
|
||||
45
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/html.d.ts
generated
vendored
Normal file
45
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/html.d.ts
generated
vendored
Normal file
@@ -0,0 +1,45 @@
|
||||
declare const _default: ({
|
||||
match: RegExp;
|
||||
sub: ({
|
||||
type: string;
|
||||
match: RegExp;
|
||||
sub: {
|
||||
type: string;
|
||||
match: RegExp;
|
||||
}[];
|
||||
} | {
|
||||
type: string;
|
||||
match: RegExp;
|
||||
sub?: undefined;
|
||||
})[];
|
||||
} | {
|
||||
match: RegExp;
|
||||
sub: string;
|
||||
type?: undefined;
|
||||
} | {
|
||||
type: string;
|
||||
match: RegExp;
|
||||
sub?: undefined;
|
||||
} | {
|
||||
match: RegExp;
|
||||
sub: ({
|
||||
match: RegExp;
|
||||
sub: ({
|
||||
type: string;
|
||||
match: RegExp;
|
||||
sub: {
|
||||
type: string;
|
||||
match: RegExp;
|
||||
}[];
|
||||
} | {
|
||||
type: string;
|
||||
match: RegExp;
|
||||
sub?: undefined;
|
||||
})[];
|
||||
} | {
|
||||
match: RegExp;
|
||||
sub: string;
|
||||
})[];
|
||||
})[];
|
||||
export default _default;
|
||||
//# sourceMappingURL=html.d.ts.map
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/html.d.ts.map
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/html.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"html.d.ts","sourceRoot":"","sources":["../../src/languages/html.js"],"names":[],"mappings":""}
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/html.js
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/html.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
var p=":A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD",a=p+"\\-\\.0-9\xB7\u0300-\u036F\u203F-\u2040",e=`[${p}][${a}]*`,s=`\\s*(\\s+${e}\\s*(=\\s*([^"']\\S*|("|')(\\\\[^]|(?!\\4)[^])*\\4?)?)?\\s*)*`,t={match:RegExp(`<[/!?]?${e}${s}[/!?]?>`,"g"),sub:[{type:"var",match:RegExp(`^<[/!?]?${e}`,"g"),sub:[{type:"oper",match:/^<[\/!?]?/g}]},{type:"str",match:/=\s*([^"']\S*|("|')(\\[^]|(?!\2)[^])*\2?)/g,sub:[{type:"oper",match:/^=/g}]},{type:"oper",match:/[\/!?]?>/g},{type:"class",match:RegExp(e,"g")}]},u=[{match:/<!--((?!-->)[^])*-->/g,sub:"todo"},{type:"class",match:/<!\[CDATA\[[\s\S]*?\]\]>/gi},t,{type:"str",match:RegExp(`<\\?${e}([^?]|\\?[^?>])*\\?+>`,"g"),sub:[{type:"var",match:RegExp(`^<\\?${e}`,"g"),sub:[{type:"oper",match:/^<\?/g}]},{type:"oper",match:/\?+>$/g}]},{type:"var",match:/&(#x?)?[\da-z]{1,8};/gi}];var g=[{type:"class",match:/<!DOCTYPE("[^"]*"|'[^']*'|[^"'>])*>/gi,sub:[{type:"str",match:/"[^"]*"|'[^']*'/g},{type:"oper",match:/^<!|>$/g},{type:"var",match:/DOCTYPE/gi}]},{match:RegExp(`<style${s}>((?!</style>)[^])*</style\\s*>`,"g"),sub:[{match:RegExp(`^<style${s}>`,"g"),sub:t.sub},{match:RegExp(`${t.match}|[^]*(?=</style\\s*>$)`,"g"),sub:"css"},t]},{match:RegExp(`<script${s}>((?!<\/script>)[^])*<\/script\\s*>`,"g"),sub:[{match:RegExp(`^<script${s}>`,"g"),sub:t.sub},{match:RegExp(`${t.match}|[^]*(?=<\/script\\s*>$)`,"g"),sub:"js"},t]},...u];export{g as default};
|
||||
18
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/http.d.ts
generated
vendored
Normal file
18
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/http.d.ts
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
declare const _default: ({
|
||||
type: string;
|
||||
match: RegExp;
|
||||
expand?: undefined;
|
||||
sub?: undefined;
|
||||
} | {
|
||||
expand: string;
|
||||
type?: undefined;
|
||||
match?: undefined;
|
||||
sub?: undefined;
|
||||
} | {
|
||||
match: RegExp;
|
||||
sub: (code: string) => ShjLanguage;
|
||||
type?: undefined;
|
||||
expand?: undefined;
|
||||
})[];
|
||||
export default _default;
|
||||
//# sourceMappingURL=http.d.ts.map
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/http.d.ts.map
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/http.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../src/languages/http.js"],"names":[],"mappings":""}
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/http.js
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/http.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
var i=[["bash",[/#!(\/usr)?\/bin\/bash/g,500],[/\b(if|elif|then|fi|echo)\b|\$/g,10]],["html",[/<\/?[a-z-]+[^\n>]*>/g,10],[/^\s+<!DOCTYPE\s+html/g,500]],["http",[/^(GET|HEAD|POST|PUT|DELETE|PATCH|HTTP)\b/g,500]],["js",[/\b(console|await|async|function|export|import|this|class|for|let|const|map|join|require)\b/g,10]],["ts",[/\b(console|await|async|function|export|import|this|class|for|let|const|map|join|require|implements|interface|namespace)\b/g,10]],["py",[/\b(def|print|class|and|or|lambda)\b/g,10]],["sql",[/\b(SELECT|INSERT|FROM)\b/g,50]],["pl",[/#!(\/usr)?\/bin\/perl/g,500],[/\b(use|print)\b|\$/g,10]],["lua",[/#!(\/usr)?\/bin\/lua/g,500]],["make",[/\b(ifneq|endif|if|elif|then|fi|echo|.PHONY|^[a-z]+ ?:$)\b|\$/gm,10]],["uri",[/https?:|mailto:|tel:|ftp:/g,30]],["css",[/^(@import|@page|@media|(\.|#)[a-z]+)/gm,20]],["diff",[/^[+><-]/gm,10],[/^@@ ?[-+,0-9 ]+ ?@@/gm,25]],["md",[/^(>|\t\*|\t\d+.)/gm,10],[/\[.*\](.*)/g,10]],["docker",[/^(FROM|ENTRYPOINT|RUN)/gm,500]],["xml",[/<\/?[a-z-]+[^\n>]*>/g,10],[/^<\?xml/g,500]],["c",[/#include\b|\bprintf\s+\(/g,100]],["rs",[/^\s+(use|fn|mut|match)\b/gm,100]],["go",[/\b(func|fmt|package)\b/g,100]],["java",[/^import\s+java/gm,500]],["asm",[/^(section|global main|extern|\t(call|mov|ret))/gm,100]],["css",[/^(@import|@page|@media|(\.|#)[a-z]+)/gm,20]],["json",[/\b(true|false|null|\{})\b|\"[^"]+\":/g,10]],["yaml",[/^(\s+)?[a-z][a-z0-9]*:/gmi,10]]],e=n=>i.map(([a,...t])=>[a,t.reduce((m,[s,g])=>m+[...n.matchAll(s)].length*g,0)]).filter(([a,t])=>t>20).sort((a,t)=>t[1]-a[1])[0]?.[0]||"plain";var o=[{type:"kwd",match:/^(GET|HEAD|POST|PUT|DELETE|CONNECT|OPTIONS|TRACE|PATCH|PRI|SEARCH)\b/gm},{expand:"str"},{type:"section",match:/\bHTTP\/[\d.]+\b/g},{expand:"num"},{type:"oper",match:/[,;:=]/g},{type:"var",match:/[a-zA-Z][\w-]*(?=:)/g},{match:/\n\n[^]*/g,sub:e}];export{o as default};
|
||||
11
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/ini.d.ts
generated
vendored
Normal file
11
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/ini.d.ts
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
declare const _default: ({
|
||||
match: RegExp;
|
||||
sub: string;
|
||||
type?: undefined;
|
||||
} | {
|
||||
type: string;
|
||||
match: RegExp;
|
||||
sub?: undefined;
|
||||
})[];
|
||||
export default _default;
|
||||
//# sourceMappingURL=ini.d.ts.map
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/ini.d.ts.map
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/ini.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ini.d.ts","sourceRoot":"","sources":["../../src/languages/ini.js"],"names":[],"mappings":""}
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/ini.js
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/ini.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
var t=[{match:/(^[ \f\t\v]*)[#;].*/gm,sub:"todo"},{type:"str",match:/.*/g},{type:"var",match:/.*(?==)/g},{type:"section",match:/^\s*\[.+\]\s*$/gm},{type:"oper",match:/=/g}];export{t as default};
|
||||
18
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/java.d.ts
generated
vendored
Normal file
18
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/java.d.ts
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
declare const _default: ({
|
||||
match: RegExp;
|
||||
sub: string;
|
||||
expand?: undefined;
|
||||
type?: undefined;
|
||||
} | {
|
||||
expand: string;
|
||||
match?: undefined;
|
||||
sub?: undefined;
|
||||
type?: undefined;
|
||||
} | {
|
||||
type: string;
|
||||
match: RegExp;
|
||||
sub?: undefined;
|
||||
expand?: undefined;
|
||||
})[];
|
||||
export default _default;
|
||||
//# sourceMappingURL=java.d.ts.map
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/java.d.ts.map
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/java.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"java.d.ts","sourceRoot":"","sources":["../../src/languages/java.js"],"names":[],"mappings":""}
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/java.js
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/java.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
var t=[{match:/\/\/.*\n?|\/\*((?!\*\/)[^])*(\*\/)?/g,sub:"todo"},{expand:"str"},{expand:"num"},{type:"kwd",match:/\b(abstract|assert|boolean|break|byte|case|catch|char|class|continue|const|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|package|private|protected|public|requires|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|transient|try|var|void|volatile|while)\b/g},{type:"oper",match:/[/*+:?&|%^~=!,<>.^-]+/g},{type:"func",match:/[a-zA-Z_][\w_]*(?=\s*\()/g},{type:"class",match:/\b[A-Z][\w_]*\b/g}];export{t as default};
|
||||
18
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/js.d.ts
generated
vendored
Normal file
18
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/js.d.ts
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
declare const _default: ({
|
||||
match: RegExp;
|
||||
sub: string;
|
||||
expand?: undefined;
|
||||
type?: undefined;
|
||||
} | {
|
||||
expand: string;
|
||||
match?: undefined;
|
||||
sub?: undefined;
|
||||
type?: undefined;
|
||||
} | {
|
||||
type: string;
|
||||
match: RegExp;
|
||||
sub?: undefined;
|
||||
expand?: undefined;
|
||||
})[];
|
||||
export default _default;
|
||||
//# sourceMappingURL=js.d.ts.map
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/js.d.ts.map
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/js.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"js.d.ts","sourceRoot":"","sources":["../../src/languages/js.js"],"names":[],"mappings":""}
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/js.js
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/js.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
var t=[{match:/\/\*\*((?!\*\/)[^])*(\*\/)?/g,sub:"jsdoc"},{match:/\/\/.*\n?|\/\*((?!\*\/)[^])*(\*\/)?/g,sub:"todo"},{expand:"str"},{match:/`((?!`)[^]|\\[^])*`?/g,sub:"js_template_literals"},{type:"kwd",match:/=>|\b(this|set|get|as|async|await|break|case|catch|class|const|constructor|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|if|implements|import|in|instanceof|interface|let|var|of|new|package|private|protected|public|return|static|super|switch|throw|throws|try|typeof|void|while|with|yield)\b/g},{match:/\/((?!\/)[^\r\n\\]|\\.)+\/[dgimsuy]*/g,sub:"regex"},{expand:"num"},{type:"num",match:/\b(NaN|null|undefined|[A-Z][A-Z_]*)\b/g},{type:"bool",match:/\b(true|false)\b/g},{type:"oper",match:/[/*+:?&|%^~=!,<>.^-]+/g},{type:"class",match:/\b[A-Z][\w_]*\b/g},{type:"func",match:/[a-zA-Z$_][\w$_]*(?=\s*((\?\.)?\s*\(|=\s*(\(?[\w,{}\[\])]+\)? =>|function\b)))/g}];export{t as default};
|
||||
21
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/js_template_literals.d.ts
generated
vendored
Normal file
21
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/js_template_literals.d.ts
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
declare const _default: {
|
||||
match: {
|
||||
exec(str: any): {
|
||||
index: number;
|
||||
0: any;
|
||||
};
|
||||
lastIndex: any;
|
||||
};
|
||||
sub: ({
|
||||
type: string;
|
||||
match: RegExp;
|
||||
sub?: undefined;
|
||||
} | {
|
||||
match: RegExp;
|
||||
sub: string;
|
||||
type?: undefined;
|
||||
})[];
|
||||
}[];
|
||||
export default _default;
|
||||
export let type: string;
|
||||
//# sourceMappingURL=js_template_literals.d.ts.map
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/js_template_literals.d.ts.map
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/js_template_literals.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"js_template_literals.d.ts","sourceRoot":"","sources":["../../src/languages/js_template_literals.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAiCA,wBAAwB"}
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/js_template_literals.js
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/js_template_literals.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
var h=[{match:new class{exec(l){let e=this.lastIndex,t,n=i=>{for(;++e<l.length-2;)if(l[e]=="{")n();else if(l[e]=="}")return};for(;e<l.length;++e)if(l[e-1]!="\\"&&l[e]=="$"&&l[e+1]=="{")return t=e++,n(e),this.lastIndex=e+1,{index:t,0:l.slice(t,e+1)};return null}},sub:[{type:"kwd",match:/^\${|}$/g},{match:/(?!^\$|{)[^]+(?=}$)/g,sub:"js"}]}],a="str";export{h as default,a as type};
|
||||
7
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/jsdoc.d.ts
generated
vendored
Normal file
7
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/jsdoc.d.ts
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
declare const _default: {
|
||||
type: string;
|
||||
match: RegExp;
|
||||
}[];
|
||||
export default _default;
|
||||
export let type: string;
|
||||
//# sourceMappingURL=jsdoc.d.ts.map
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/jsdoc.d.ts.map
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/jsdoc.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"jsdoc.d.ts","sourceRoot":"","sources":["../../src/languages/jsdoc.js"],"names":[],"mappings":";;;;;AAiBA,wBAAyB"}
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/jsdoc.js
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/jsdoc.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
var t=[{type:"err",match:/\b(TODO|FIXME|DEBUG|OPTIMIZE|WARNING|XXX|BUG)\b/g},{type:"class",match:/\bIDEA\b/g},{type:"insert",match:/\b(CHANGED|FIX|CHANGE)\b/g},{type:"oper",match:/\bQUESTION\b/g}];var a=[{type:"kwd",match:/@\w+/g},{type:"class",match:/{[\w\s|<>,.@\[\]]+}/g},{type:"var",match:/\[[\w\s="']+\]/g},...t],c="cmnt";export{a as default,c as type};
|
||||
11
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/json.d.ts
generated
vendored
Normal file
11
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/json.d.ts
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
declare const _default: ({
|
||||
type: string;
|
||||
match: RegExp;
|
||||
expand?: undefined;
|
||||
} | {
|
||||
expand: string;
|
||||
type?: undefined;
|
||||
match?: undefined;
|
||||
})[];
|
||||
export default _default;
|
||||
//# sourceMappingURL=json.d.ts.map
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/json.d.ts.map
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/json.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"json.d.ts","sourceRoot":"","sources":["../../src/languages/json.js"],"names":[],"mappings":""}
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/json.js
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/json.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
var t=[{type:"var",match:/("|')?[a-zA-Z]\w*\1(?=\s*:)/g},{expand:"str"},{expand:"num"},{type:"num",match:/\bnull\b/g},{type:"bool",match:/\b(true|false)\b/g}];export{t as default};
|
||||
29
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/leanpub-md.d.ts
generated
vendored
Normal file
29
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/leanpub-md.d.ts
generated
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
declare const _default: ({
|
||||
type: string;
|
||||
match: RegExp;
|
||||
sub?: undefined;
|
||||
} | {
|
||||
match: RegExp;
|
||||
sub: (code: any) => {
|
||||
type: string;
|
||||
sub: {
|
||||
match: RegExp;
|
||||
sub: any;
|
||||
}[];
|
||||
};
|
||||
type?: undefined;
|
||||
} | {
|
||||
type: string;
|
||||
match: RegExp;
|
||||
sub: ({
|
||||
type: string;
|
||||
match: RegExp;
|
||||
sub?: undefined;
|
||||
} | {
|
||||
match: RegExp;
|
||||
sub: (code: string) => ShjLanguage;
|
||||
type?: undefined;
|
||||
})[];
|
||||
})[];
|
||||
export default _default;
|
||||
//# sourceMappingURL=leanpub-md.d.ts.map
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/leanpub-md.d.ts.map
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/leanpub-md.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"leanpub-md.d.ts","sourceRoot":"","sources":["../../src/languages/leanpub-md.js"],"names":[],"mappings":""}
|
||||
2
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/leanpub-md.js
generated
vendored
Normal file
2
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/leanpub-md.js
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
var r=[["bash",[/#!(\/usr)?\/bin\/bash/g,500],[/\b(if|elif|then|fi|echo)\b|\$/g,10]],["html",[/<\/?[a-z-]+[^\n>]*>/g,10],[/^\s+<!DOCTYPE\s+html/g,500]],["http",[/^(GET|HEAD|POST|PUT|DELETE|PATCH|HTTP)\b/g,500]],["js",[/\b(console|await|async|function|export|import|this|class|for|let|const|map|join|require)\b/g,10]],["ts",[/\b(console|await|async|function|export|import|this|class|for|let|const|map|join|require|implements|interface|namespace)\b/g,10]],["py",[/\b(def|print|class|and|or|lambda)\b/g,10]],["sql",[/\b(SELECT|INSERT|FROM)\b/g,50]],["pl",[/#!(\/usr)?\/bin\/perl/g,500],[/\b(use|print)\b|\$/g,10]],["lua",[/#!(\/usr)?\/bin\/lua/g,500]],["make",[/\b(ifneq|endif|if|elif|then|fi|echo|.PHONY|^[a-z]+ ?:$)\b|\$/gm,10]],["uri",[/https?:|mailto:|tel:|ftp:/g,30]],["css",[/^(@import|@page|@media|(\.|#)[a-z]+)/gm,20]],["diff",[/^[+><-]/gm,10],[/^@@ ?[-+,0-9 ]+ ?@@/gm,25]],["md",[/^(>|\t\*|\t\d+.)/gm,10],[/\[.*\](.*)/g,10]],["docker",[/^(FROM|ENTRYPOINT|RUN)/gm,500]],["xml",[/<\/?[a-z-]+[^\n>]*>/g,10],[/^<\?xml/g,500]],["c",[/#include\b|\bprintf\s+\(/g,100]],["rs",[/^\s+(use|fn|mut|match)\b/gm,100]],["go",[/\b(func|fmt|package)\b/g,100]],["java",[/^import\s+java/gm,500]],["asm",[/^(section|global main|extern|\t(call|mov|ret))/gm,100]],["css",[/^(@import|@page|@media|(\.|#)[a-z]+)/gm,20]],["json",[/\b(true|false|null|\{})\b|\"[^"]+\":/g,10]],["yaml",[/^(\s+)?[a-z][a-z0-9]*:/gmi,10]]],t=a=>r.map(([n,...e])=>[n,e.reduce((m,[l,g])=>m+[...a.matchAll(l)].length*g,0)]).filter(([n,e])=>e>20).sort((n,e)=>e[1]-n[1])[0]?.[0]||"plain";var s=[{type:"cmnt",match:/^>.*|(=|-)\1+/gm},{type:"class",match:/\*\*((?!\*\*).)*\*\*/g},{match:/```((?!```)[^])*\n```/g,sub:a=>({type:"kwd",sub:[{match:/\n[^]*(?=```)/g,sub:a.split(`
|
||||
`)[0].slice(3)||t(a)}]})},{type:"str",match:/`[^`]*`/g},{type:"var",match:/~~((?!~~).)*~~/g},{type:"kwd",match:/_[^_]*_|\*[^*]*\*/g},{type:"kwd",match:/^\s*(\*|\d+\.)\s/gm},{type:"oper",match:/\[[^\]]*]/g},{type:"func",match:/\([^)]*\)/g}];var o=[{type:"insert",match:/(leanpub-start-insert)((?!leanpub-end-insert)[^])*(leanpub-end-insert)?/g,sub:[{type:"insert",match:/leanpub-(start|end)-insert/g},{match:/(?!leanpub-start-insert)((?!leanpub-end-insert)[^])*/g,sub:t}]},{type:"deleted",match:/(leanpub-start-delete)((?!leanpub-end-delete)[^])*(leanpub-end-delete)?/g,sub:[{type:"deleted",match:/leanpub-(start|end)-delete/g},{match:/(?!leanpub-start-delete)((?!leanpub-end-delete)[^])*/g,sub:t}]},...s];export{o as default};
|
||||
11
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/log.d.ts
generated
vendored
Normal file
11
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/log.d.ts
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
declare const _default: ({
|
||||
type: string;
|
||||
match: RegExp;
|
||||
expand?: undefined;
|
||||
} | {
|
||||
expand: string;
|
||||
type?: undefined;
|
||||
match?: undefined;
|
||||
})[];
|
||||
export default _default;
|
||||
//# sourceMappingURL=log.d.ts.map
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/log.d.ts.map
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/log.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"log.d.ts","sourceRoot":"","sources":["../../src/languages/log.js"],"names":[],"mappings":""}
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/log.js
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/log.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
var e=[{type:"cmnt",match:/^#.*/gm},{expand:"strDouble"},{expand:"num"},{type:"err",match:/\b(err(or)?|[a-z_-]*exception|warn|warning|failed|ko|invalid|not ?found|alert|fatal)\b/gi},{type:"num",match:/\b(null|undefined)\b/gi},{type:"bool",match:/\b(false|true|yes|no)\b/gi},{type:"oper",match:/\.|,/g}];export{e as default};
|
||||
18
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/lua.d.ts
generated
vendored
Normal file
18
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/lua.d.ts
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
declare const _default: ({
|
||||
match: RegExp;
|
||||
sub: string;
|
||||
expand?: undefined;
|
||||
type?: undefined;
|
||||
} | {
|
||||
expand: string;
|
||||
match?: undefined;
|
||||
sub?: undefined;
|
||||
type?: undefined;
|
||||
} | {
|
||||
type: string;
|
||||
match: RegExp;
|
||||
sub?: undefined;
|
||||
expand?: undefined;
|
||||
})[];
|
||||
export default _default;
|
||||
//# sourceMappingURL=lua.d.ts.map
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/lua.d.ts.map
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/lua.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"lua.d.ts","sourceRoot":"","sources":["../../src/languages/lua.js"],"names":[],"mappings":""}
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/lua.js
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/lua.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
var e=[{match:/^#!.*|--(\[(=*)\[((?!--\]\2\])[^])*--\]\2\]|.*)/g,sub:"todo"},{expand:"str"},{type:"kwd",match:/\b(and|break|do|else|elseif|end|for|function|if|in|local|not|or|repeat|return|then|until|while)\b/g},{type:"bool",match:/\b(true|false|nil)\b/g},{type:"oper",match:/[+*/%^#=~<>:,.-]+/g},{expand:"num"},{type:"func",match:/[a-z_]+(?=\s*[({])/g}];export{e as default};
|
||||
18
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/make.d.ts
generated
vendored
Normal file
18
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/make.d.ts
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
declare const _default: ({
|
||||
match: RegExp;
|
||||
sub: string;
|
||||
expand?: undefined;
|
||||
type?: undefined;
|
||||
} | {
|
||||
expand: string;
|
||||
match?: undefined;
|
||||
sub?: undefined;
|
||||
type?: undefined;
|
||||
} | {
|
||||
type: string;
|
||||
match: RegExp;
|
||||
sub?: undefined;
|
||||
expand?: undefined;
|
||||
})[];
|
||||
export default _default;
|
||||
//# sourceMappingURL=make.d.ts.map
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/make.d.ts.map
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/make.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"make.d.ts","sourceRoot":"","sources":["../../src/languages/make.js"],"names":[],"mappings":""}
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/make.js
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/make.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
var t=[{match:/^\s*#.*/gm,sub:"todo"},{expand:"str"},{type:"oper",match:/[${}()]+/g},{type:"class",match:/.PHONY:/gm},{type:"section",match:/^[\w.]+:/gm},{type:"kwd",match:/\b(ifneq|endif)\b/g},{expand:"num"},{type:"var",match:/[A-Z_]+(?=\s*=)/g},{match:/^.*$/gm,sub:"bash"}];export{t as default};
|
||||
17
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/md.d.ts
generated
vendored
Normal file
17
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/md.d.ts
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
declare const _default: ({
|
||||
type: string;
|
||||
match: RegExp;
|
||||
sub?: undefined;
|
||||
} | {
|
||||
match: RegExp;
|
||||
sub: (code: any) => {
|
||||
type: string;
|
||||
sub: {
|
||||
match: RegExp;
|
||||
sub: any;
|
||||
}[];
|
||||
};
|
||||
type?: undefined;
|
||||
})[];
|
||||
export default _default;
|
||||
//# sourceMappingURL=md.d.ts.map
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/md.d.ts.map
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/md.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"md.d.ts","sourceRoot":"","sources":["../../src/languages/md.js"],"names":[],"mappings":""}
|
||||
2
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/md.js
generated
vendored
Normal file
2
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/md.js
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
var i=[["bash",[/#!(\/usr)?\/bin\/bash/g,500],[/\b(if|elif|then|fi|echo)\b|\$/g,10]],["html",[/<\/?[a-z-]+[^\n>]*>/g,10],[/^\s+<!DOCTYPE\s+html/g,500]],["http",[/^(GET|HEAD|POST|PUT|DELETE|PATCH|HTTP)\b/g,500]],["js",[/\b(console|await|async|function|export|import|this|class|for|let|const|map|join|require)\b/g,10]],["ts",[/\b(console|await|async|function|export|import|this|class|for|let|const|map|join|require|implements|interface|namespace)\b/g,10]],["py",[/\b(def|print|class|and|or|lambda)\b/g,10]],["sql",[/\b(SELECT|INSERT|FROM)\b/g,50]],["pl",[/#!(\/usr)?\/bin\/perl/g,500],[/\b(use|print)\b|\$/g,10]],["lua",[/#!(\/usr)?\/bin\/lua/g,500]],["make",[/\b(ifneq|endif|if|elif|then|fi|echo|.PHONY|^[a-z]+ ?:$)\b|\$/gm,10]],["uri",[/https?:|mailto:|tel:|ftp:/g,30]],["css",[/^(@import|@page|@media|(\.|#)[a-z]+)/gm,20]],["diff",[/^[+><-]/gm,10],[/^@@ ?[-+,0-9 ]+ ?@@/gm,25]],["md",[/^(>|\t\*|\t\d+.)/gm,10],[/\[.*\](.*)/g,10]],["docker",[/^(FROM|ENTRYPOINT|RUN)/gm,500]],["xml",[/<\/?[a-z-]+[^\n>]*>/g,10],[/^<\?xml/g,500]],["c",[/#include\b|\bprintf\s+\(/g,100]],["rs",[/^\s+(use|fn|mut|match)\b/gm,100]],["go",[/\b(func|fmt|package)\b/g,100]],["java",[/^import\s+java/gm,500]],["asm",[/^(section|global main|extern|\t(call|mov|ret))/gm,100]],["css",[/^(@import|@page|@media|(\.|#)[a-z]+)/gm,20]],["json",[/\b(true|false|null|\{})\b|\"[^"]+\":/g,10]],["yaml",[/^(\s+)?[a-z][a-z0-9]*:/gmi,10]]],s=a=>i.map(([e,...t])=>[e,t.reduce((m,[g,n])=>m+[...a.matchAll(g)].length*n,0)]).filter(([e,t])=>t>20).sort((e,t)=>t[1]-e[1])[0]?.[0]||"plain";var r=[{type:"cmnt",match:/^>.*|(=|-)\1+/gm},{type:"class",match:/\*\*((?!\*\*).)*\*\*/g},{match:/```((?!```)[^])*\n```/g,sub:a=>({type:"kwd",sub:[{match:/\n[^]*(?=```)/g,sub:a.split(`
|
||||
`)[0].slice(3)||s(a)}]})},{type:"str",match:/`[^`]*`/g},{type:"var",match:/~~((?!~~).)*~~/g},{type:"kwd",match:/_[^_]*_|\*[^*]*\*/g},{type:"kwd",match:/^\s*(\*|\d+\.)\s/gm},{type:"oper",match:/\[[^\]]*]/g},{type:"func",match:/\([^)]*\)/g}];export{r as default};
|
||||
18
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/pl.d.ts
generated
vendored
Normal file
18
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/pl.d.ts
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
declare const _default: ({
|
||||
match: RegExp;
|
||||
sub: string;
|
||||
type?: undefined;
|
||||
expand?: undefined;
|
||||
} | {
|
||||
type: string;
|
||||
match: RegExp;
|
||||
sub?: undefined;
|
||||
expand?: undefined;
|
||||
} | {
|
||||
expand: string;
|
||||
match?: undefined;
|
||||
sub?: undefined;
|
||||
type?: undefined;
|
||||
})[];
|
||||
export default _default;
|
||||
//# sourceMappingURL=pl.d.ts.map
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/pl.d.ts.map
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/pl.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"pl.d.ts","sourceRoot":"","sources":["../../src/languages/pl.js"],"names":[],"mappings":""}
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/pl.js
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/pl.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
var e=[{match:/#.*/g,sub:"todo"},{type:"str",match:/(["'])(\\[^]|(?!\1)[^])*\1?/g},{expand:"num"},{type:"kwd",match:/\b(any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while|not|and|or|xor)\b/g},{type:"oper",match:/[-+*/%~!&<>|=?,]+/g},{type:"func",match:/[a-z_]+(?=\s*\()/g}];export{e as default};
|
||||
5
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/plain.d.ts
generated
vendored
Normal file
5
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/plain.d.ts
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
declare const _default: {
|
||||
expand: string;
|
||||
}[];
|
||||
export default _default;
|
||||
//# sourceMappingURL=plain.d.ts.map
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/plain.d.ts.map
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/plain.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"plain.d.ts","sourceRoot":"","sources":["../../src/languages/plain.js"],"names":[],"mappings":""}
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/plain.js
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/plain.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
var e=[{expand:"strDouble"}];export{e as default};
|
||||
30
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/py.d.ts
generated
vendored
Normal file
30
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/py.d.ts
generated
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
declare const _default: ({
|
||||
match: RegExp;
|
||||
sub: string;
|
||||
type?: undefined;
|
||||
expand?: undefined;
|
||||
} | {
|
||||
type: string;
|
||||
match: RegExp;
|
||||
sub: {
|
||||
type: string;
|
||||
match: RegExp;
|
||||
sub: {
|
||||
match: RegExp;
|
||||
sub: string;
|
||||
}[];
|
||||
}[];
|
||||
expand?: undefined;
|
||||
} | {
|
||||
expand: string;
|
||||
match?: undefined;
|
||||
sub?: undefined;
|
||||
type?: undefined;
|
||||
} | {
|
||||
type: string;
|
||||
match: RegExp;
|
||||
sub?: undefined;
|
||||
expand?: undefined;
|
||||
})[];
|
||||
export default _default;
|
||||
//# sourceMappingURL=py.d.ts.map
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/py.d.ts.map
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/py.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"py.d.ts","sourceRoot":"","sources":["../../src/languages/py.js"],"names":[],"mappings":""}
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/py.js
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/py.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
var t=[{match:/#.*/g,sub:"todo"},{match:/("""|''')(\\[^]|(?!\1)[^])*\1?/g,sub:"todo"},{type:"str",match:/f("|')(\\[^]|(?!\1).)*\1?|f((["'])\4\4)(\\[^]|(?!\3)[^])*\3?/gi,sub:[{type:"var",match:/{[^{}]*}/g,sub:[{match:/(?!^{)[^]*(?=}$)/g,sub:"py"}]}]},{expand:"str"},{type:"kwd",match:/\b(and|as|assert|break|class|continue|def|del|elif|else|except|finally|for|from|global|if|import|in|is|lambda|nonlocal|not|or|pass|raise|return|try|while|with|yield)\b/g},{type:"bool",match:/\b(False|True|None)\b/g},{expand:"num"},{type:"func",match:/[a-z_]+(?=\s*\()/g},{type:"oper",match:/[-/*+<>,=!&|^%]+/g},{type:"class",match:/\b[A-Z][\w_]*\b/g}];export{t as default};
|
||||
12
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/regex.d.ts
generated
vendored
Normal file
12
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/regex.d.ts
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
declare const _default: ({
|
||||
match: RegExp;
|
||||
sub: string;
|
||||
type?: undefined;
|
||||
} | {
|
||||
type: string;
|
||||
match: RegExp;
|
||||
sub?: undefined;
|
||||
})[];
|
||||
export default _default;
|
||||
export let type: string;
|
||||
//# sourceMappingURL=regex.d.ts.map
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/regex.d.ts.map
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/regex.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"regex.d.ts","sourceRoot":"","sources":["../../src/languages/regex.js"],"names":[],"mappings":";;;;;;;;;;AAkBA,wBAAyB"}
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/regex.js
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/regex.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
var t=[{match:/^(?!\/).*/gm,sub:"todo"},{type:"num",match:/\[((?!\])[^\\]|\\.)*\]/g},{type:"kwd",match:/\||\^|\$|\\.|\w+($|\r|\n)/g},{type:"var",match:/\*|\+|\{\d+,\d+\}/g}],e="oper";export{t as default,e as type};
|
||||
18
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/rs.d.ts
generated
vendored
Normal file
18
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/rs.d.ts
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
declare const _default: ({
|
||||
match: RegExp;
|
||||
sub: string;
|
||||
expand?: undefined;
|
||||
type?: undefined;
|
||||
} | {
|
||||
expand: string;
|
||||
match?: undefined;
|
||||
sub?: undefined;
|
||||
type?: undefined;
|
||||
} | {
|
||||
type: string;
|
||||
match: RegExp;
|
||||
sub?: undefined;
|
||||
expand?: undefined;
|
||||
})[];
|
||||
export default _default;
|
||||
//# sourceMappingURL=rs.d.ts.map
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/rs.d.ts.map
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/rs.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"rs.d.ts","sourceRoot":"","sources":["../../src/languages/rs.js"],"names":[],"mappings":""}
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/rs.js
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/rs.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
var e=[{match:/\/\/.*\n?|\/\*((?!\*\/)[^])*(\*\/)?/g,sub:"todo"},{expand:"str"},{expand:"num"},{type:"kwd",match:/\b(as|break|const|continue|crate|else|enum|extern|false|fn|for|if|impl|in|let|loop|match|mod|move|mut|pub|ref|return|self|Self|static|struct|super|trait|true|type|unsafe|use|where|while|async|await|dyn|abstract|become|box|do|final|macro|override|priv|typeof|unsized|virtual|yield|try)\b/g},{type:"oper",match:/[/*+:?&|%^~=!,<>.^-]+/g},{type:"class",match:/\b[A-Z][\w_]*\b/g},{type:"func",match:/[a-zA-Z_][\w_]*(?=\s*!?\s*\()/g}];export{e as default};
|
||||
18
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/sql.d.ts
generated
vendored
Normal file
18
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/sql.d.ts
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
declare const _default: ({
|
||||
match: RegExp;
|
||||
sub: string;
|
||||
expand?: undefined;
|
||||
type?: undefined;
|
||||
} | {
|
||||
expand: string;
|
||||
match?: undefined;
|
||||
sub?: undefined;
|
||||
type?: undefined;
|
||||
} | {
|
||||
type: string;
|
||||
match: RegExp;
|
||||
sub?: undefined;
|
||||
expand?: undefined;
|
||||
})[];
|
||||
export default _default;
|
||||
//# sourceMappingURL=sql.d.ts.map
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/sql.d.ts.map
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/sql.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"sql.d.ts","sourceRoot":"","sources":["../../src/languages/sql.js"],"names":[],"mappings":""}
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/sql.js
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/sql.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
var E=[{match:/--.*\n?|\/\*((?!\*\/)[^])*(\*\/)?/g,sub:"todo"},{expand:"str"},{type:"func",match:/\b(AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/g},{type:"kwd",match:/\b(ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:_INSERT|COL)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|kwdS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:S|ING)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/g},{type:"num",match:/\.?\d[\d.oxa-fA-F-]*|\bNULL\b/g},{type:"bool",match:/\b(TRUE|FALSE)\b/g},{type:"oper",match:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|IN|ILIKE|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/g},{type:"var",match:/@\S+/g}];export{E as default};
|
||||
7
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/todo.d.ts
generated
vendored
Normal file
7
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/todo.d.ts
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
declare const _default: {
|
||||
type: string;
|
||||
match: RegExp;
|
||||
}[];
|
||||
export default _default;
|
||||
export let type: string;
|
||||
//# sourceMappingURL=todo.d.ts.map
|
||||
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/todo.d.ts.map
generated
vendored
Normal file
1
examples/nuxt3-websocket-client/node_modules/@speed-highlight/core/dist/languages/todo.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"todo.d.ts","sourceRoot":"","sources":["../../src/languages/todo.js"],"names":[],"mappings":";;;;;AAkBA,wBAAyB"}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user