mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 11:44:49 +08:00
FIX: Use the same hljs version in prod and tests (#14913)
It was at ~10.7.0 (`7f3240ea`) in tests and 10.6.0 (`eb122d3b`) in production build before… So my #14908 broke the build.
This commit is contained in:
parent
9c6ad955aa
commit
904275a8f1
|
@ -8,7 +8,7 @@
|
|||
"dependencies": {
|
||||
"@discourse/itsatrap": "^2.0.10",
|
||||
"@fortawesome/fontawesome-free": "5.11.2",
|
||||
"@highlightjs/cdn-assets": "^10.6.0",
|
||||
"@highlightjs/cdn-assets": "^10.7.0",
|
||||
"@json-editor/json-editor": "^2.5.2",
|
||||
"@popperjs/core": "v2.9.3",
|
||||
"@uppy/aws-s3": "^2.0.4",
|
||||
|
|
|
@ -22,7 +22,7 @@ markup, doesn’t depend on any framework, and has automatic language
|
|||
detection.
|
||||
|
||||
If you'd like to read the full README:<br>
|
||||
<https://github.com/highlightjs/highlight.js/blob/master/README.md>
|
||||
<https://github.com/highlightjs/highlight.js/blob/main/README.md>
|
||||
|
||||
## License
|
||||
|
||||
|
@ -38,8 +38,8 @@ The Github project may be found at: <https://github.com/highlightjs/highlight.js
|
|||
Further in-depth documentation for the API and other topics is at
|
||||
<http://highlightjs.readthedocs.io/>.
|
||||
|
||||
Authors and contributors are listed in the [AUTHORS.txt][8] file.
|
||||
A list of the Core Team and contributors can be found in the [CONTRIBUTORS.md][8] file.
|
||||
|
||||
[1]: https://www.npmjs.com/package/highlight.js
|
||||
[7]: https://github.com/highlightjs/highlight.js/blob/master/LICENSE
|
||||
[8]: https://github.com/highlightjs/highlight.js/blob/master/AUTHORS.txt
|
||||
[7]: https://github.com/highlightjs/highlight.js/blob/main/LICENSE
|
||||
[8]: https://github.com/highlightjs/highlight.js/blob/main/CONTRIBUTORS.md
|
||||
|
|
File diff suppressed because one or more lines are too long
974
vendor/assets/javascripts/highlightjs/highlight.js
vendored
974
vendor/assets/javascripts/highlightjs/highlight.js
vendored
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -8,8 +8,8 @@ begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},i={
|
|||
className:"subst",begin:"\\$\\{",end:"\\}",keywords:a,contains:[]},r={
|
||||
className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,i]}
|
||||
;i.contains=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,r,t,e.REGEXP_MODE]
|
||||
;const s=i.contains.concat([e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE])
|
||||
;return{name:"ArcGIS Arcade",aliases:["arcade"],keywords:a,
|
||||
;const o=i.contains.concat([e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE])
|
||||
;return{name:"ArcGIS Arcade",keywords:a,
|
||||
contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,r,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{
|
||||
className:"symbol",
|
||||
begin:"\\$[datastore|feature|layer|map|measure|sourcefeature|sourcelayer|targetfeature|targetlayer|value|view]+"
|
||||
|
@ -19,8 +19,8 @@ begin:"("+e.RE_STARTERS_RE+"|\\b(return)\\b)\\s*",keywords:"return",
|
|||
contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{
|
||||
className:"function",begin:"(\\(.*?\\)|"+n+")\\s*=>",returnBegin:!0,
|
||||
end:"\\s*=>",contains:[{className:"params",variants:[{begin:n},{begin:/\(\s*\)/
|
||||
},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:s}]}]
|
||||
},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:o}]}]
|
||||
}],relevance:0},{className:"function",beginKeywords:"function",end:/\{/,
|
||||
excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:n}),{className:"params",
|
||||
begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:s}],illegal:/\[|%/},{
|
||||
begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:o}],illegal:/\[|%/},{
|
||||
begin:/\$[(.]/}],illegal:/#(?!!)/}}})());
|
|
@ -1,45 +1,52 @@
|
|||
hljs.registerLanguage("arduino",(()=>{"use strict";function e(e){
|
||||
return((...e)=>e.map((e=>(e=>e?"string"==typeof e?e:e.source:null)(e))).join(""))("(",e,")?")
|
||||
}return t=>{const r=(t=>{const r=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]
|
||||
}),n="[a-zA-Z_]\\w*::",i="(decltype\\(auto\\)|"+e(n)+"[a-zA-Z_]\\w*"+e("<[^<>]+>")+")",a={
|
||||
className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"},s={className:"string",
|
||||
return t("(",e,")?")}function t(...e){return e.map((e=>{
|
||||
return(t=e)?"string"==typeof t?t:t.source:null;var t})).join("")}return r=>{
|
||||
const n=(r=>{const n=r.COMMENT("//","$",{contains:[{begin:/\\\n/}]
|
||||
}),i="[a-zA-Z_]\\w*::",a="(decltype\\(auto\\)|"+e(i)+"[a-zA-Z_]\\w*"+e("<[^<>]+>")+")",s={
|
||||
className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"},o={className:"string",
|
||||
variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",
|
||||
contains:[t.BACKSLASH_ESCAPE]},{
|
||||
contains:[r.BACKSLASH_ESCAPE]},{
|
||||
begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",
|
||||
end:"'",illegal:"."},t.END_SAME_AS_BEGIN({
|
||||
begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},o={
|
||||
end:"'",illegal:"."},r.END_SAME_AS_BEGIN({
|
||||
begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={
|
||||
className:"number",variants:[{begin:"\\b(0b[01']+)"},{
|
||||
begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"
|
||||
},{
|
||||
begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"
|
||||
}],relevance:0},l={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{
|
||||
}],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{
|
||||
"meta-keyword":"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"
|
||||
},contains:[{begin:/\\\n/,relevance:0},t.inherit(s,{className:"meta-string"}),{
|
||||
className:"meta-string",begin:/<.*?>/,end:/$/,illegal:"\\n"
|
||||
},r,t.C_BLOCK_COMMENT_MODE]},c={className:"title",begin:e(n)+t.IDENT_RE,
|
||||
relevance:0},d=e(n)+t.IDENT_RE+"\\s*\\(",u={
|
||||
},contains:[{begin:/\\\n/,relevance:0},r.inherit(o,{className:"meta-string"}),{
|
||||
className:"meta-string",begin:/<.*?>/},n,r.C_BLOCK_COMMENT_MODE]},d={
|
||||
className:"title",begin:e(i)+r.IDENT_RE,relevance:0
|
||||
},u=e(i)+r.IDENT_RE+"\\s*\\(",m={
|
||||
keyword:"int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid wchar_t short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignas alignof constexpr consteval constinit decltype concept co_await co_return co_yield requires noexcept static_assert thread_local restrict final override atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq",
|
||||
built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr _Bool complex _Complex imaginary _Imaginary",
|
||||
literal:"true false nullptr NULL"},m=[l,a,r,t.C_BLOCK_COMMENT_MODE,o,s],p={
|
||||
built_in:"_Bool _Complex _Imaginary",
|
||||
_relevance_hints:["asin","atan2","atan","calloc","ceil","cosh","cos","exit","exp","fabs","floor","fmod","fprintf","fputs","free","frexp","auto_ptr","deque","list","queue","stack","vector","map","set","pair","bitset","multiset","multimap","unordered_set","fscanf","future","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","tolower","toupper","labs","ldexp","log10","log","malloc","realloc","memchr","memcmp","memcpy","memset","modf","pow","printf","putchar","puts","scanf","sinh","sin","snprintf","sprintf","sqrt","sscanf","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","tanh","tan","unordered_map","unordered_multiset","unordered_multimap","priority_queue","make_pair","array","shared_ptr","abort","terminate","abs","acos","vfprintf","vprintf","vsprintf","endl","initializer_list","unique_ptr","complex","imaginary","std","string","wstring","cin","cout","cerr","clog","stdin","stdout","stderr","stringstream","istringstream","ostringstream"],
|
||||
literal:"true false nullptr NULL"},p={className:"function.dispatch",relevance:0,
|
||||
keywords:m,
|
||||
begin:t(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!while)/,r.IDENT_RE,(g=/\s*\(/,
|
||||
t("(?=",g,")")))};var g;const b=[p,c,s,n,r.C_BLOCK_COMMENT_MODE,l,o],_={
|
||||
variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{
|
||||
beginKeywords:"new throw return else",end:/;/}],keywords:u,contains:m.concat([{
|
||||
begin:/\(/,end:/\)/,keywords:u,contains:m.concat(["self"]),relevance:0}]),
|
||||
relevance:0},g={className:"function",begin:"("+i+"[\\*&\\s]+)+"+d,
|
||||
returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:u,illegal:/[^\w\s\*&:<>.]/,
|
||||
contains:[{begin:"decltype\\(auto\\)",keywords:u,relevance:0},{begin:d,
|
||||
returnBegin:!0,contains:[c],relevance:0},{className:"params",begin:/\(/,
|
||||
end:/\)/,keywords:u,relevance:0,contains:[r,t.C_BLOCK_COMMENT_MODE,s,o,a,{
|
||||
begin:/\(/,end:/\)/,keywords:u,relevance:0,
|
||||
contains:["self",r,t.C_BLOCK_COMMENT_MODE,s,o,a]}]
|
||||
},a,r,t.C_BLOCK_COMMENT_MODE,l]};return{name:"C++",
|
||||
aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:u,illegal:"</",
|
||||
contains:[].concat(p,g,m,[l,{
|
||||
beginKeywords:"new throw return else",end:/;/}],keywords:m,contains:b.concat([{
|
||||
begin:/\(/,end:/\)/,keywords:m,contains:b.concat(["self"]),relevance:0}]),
|
||||
relevance:0},y={className:"function",begin:"("+a+"[\\*&\\s]+)+"+u,
|
||||
returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:m,illegal:/[^\w\s\*&:<>.]/,
|
||||
contains:[{begin:"decltype\\(auto\\)",keywords:m,relevance:0},{begin:u,
|
||||
returnBegin:!0,contains:[d],relevance:0},{begin:/::/,relevance:0},{begin:/:/,
|
||||
endsWithParent:!0,contains:[o,l]},{className:"params",begin:/\(/,end:/\)/,
|
||||
keywords:m,relevance:0,contains:[n,r.C_BLOCK_COMMENT_MODE,o,l,s,{begin:/\(/,
|
||||
end:/\)/,keywords:m,relevance:0,contains:["self",n,r.C_BLOCK_COMMENT_MODE,o,l,s]
|
||||
}]},s,n,r.C_BLOCK_COMMENT_MODE,c]};return{name:"C++",
|
||||
aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:m,illegal:"</",
|
||||
classNameAliases:{"function.dispatch":"built_in"},
|
||||
contains:[].concat(_,y,p,b,[c,{
|
||||
begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\s*<",
|
||||
end:">",keywords:u,contains:["self",a]},{begin:t.IDENT_RE+"::",keywords:u},{
|
||||
end:">",keywords:m,contains:["self",s]},{begin:r.IDENT_RE+"::",keywords:m},{
|
||||
className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,
|
||||
contains:[{beginKeywords:"final class struct"},t.TITLE_MODE]}]),exports:{
|
||||
preprocessor:l,strings:s,keywords:u}}})(t),n=r.keywords
|
||||
;return n.keyword+=" boolean byte word String",
|
||||
n.literal+=" DIGITAL_MESSAGE FIRMATA_STRING ANALOG_MESSAGE REPORT_DIGITAL REPORT_ANALOG INPUT_PULLUP SET_PIN_MODE INTERNAL2V56 SYSTEM_RESET LED_BUILTIN INTERNAL1V1 SYSEX_START INTERNAL EXTERNAL DEFAULT OUTPUT INPUT HIGH LOW",
|
||||
n.built_in+=" setup loop KeyboardController MouseController SoftwareSerial EthernetServer EthernetClient LiquidCrystal RobotControl GSMVoiceCall EthernetUDP EsploraTFT HttpClient RobotMotor WiFiClient GSMScanner FileSystem Scheduler GSMServer YunClient YunServer IPAddress GSMClient GSMModem Keyboard Ethernet Console GSMBand Esplora Stepper Process WiFiUDP GSM_SMS Mailbox USBHost Firmata PImage Client Server GSMPIN FileIO Bridge Serial EEPROM Stream Mouse Audio Servo File Task GPRS WiFi Wire TFT GSM SPI SD runShellCommandAsynchronously analogWriteResolution retrieveCallingNumber printFirmwareVersion analogReadResolution sendDigitalPortPair noListenOnLocalhost readJoystickButton setFirmwareVersion readJoystickSwitch scrollDisplayRight getVoiceCallStatus scrollDisplayLeft writeMicroseconds delayMicroseconds beginTransmission getSignalStrength runAsynchronously getAsynchronously listenOnLocalhost getCurrentCarrier readAccelerometer messageAvailable sendDigitalPorts lineFollowConfig countryNameWrite runShellCommand readStringUntil rewindDirectory readTemperature setClockDivider readLightSensor endTransmission analogReference detachInterrupt countryNameRead attachInterrupt encryptionType readBytesUntil robotNameWrite readMicrophone robotNameRead cityNameWrite userNameWrite readJoystickY readJoystickX mouseReleased openNextFile scanNetworks noInterrupts digitalWrite beginSpeaker mousePressed isActionDone mouseDragged displayLogos noAutoscroll addParameter remoteNumber getModifiers keyboardRead userNameRead waitContinue processInput parseCommand printVersion readNetworks writeMessage blinkVersion cityNameRead readMessage setDataMode parsePacket isListening setBitOrder beginPacket isDirectory motorsWrite drawCompass digitalRead clearScreen serialEvent rightToLeft setTextSize leftToRight requestFrom keyReleased compassRead analogWrite interrupts WiFiServer disconnect playMelody parseFloat autoscroll getPINUsed setPINUsed setTimeout sendAnalog readSlider analogRead beginWrite createChar motorsStop keyPressed tempoWrite readButton subnetMask debugPrint macAddress writeGreen randomSeed attachGPRS readString sendString remotePort releaseAll mouseMoved background getXChange getYChange answerCall getResult voiceCall endPacket constrain getSocket writeJSON getButton available connected findUntil readBytes exitValue readGreen writeBlue startLoop IPAddress isPressed sendSysex pauseMode gatewayIP setCursor getOemKey tuneWrite noDisplay loadImage switchPIN onRequest onReceive changePIN playFile noBuffer parseInt overflow checkPIN knobRead beginTFT bitClear updateIR bitWrite position writeRGB highByte writeRed setSpeed readBlue noStroke remoteIP transfer shutdown hangCall beginSMS endWrite attached maintain noCursor checkReg checkPUK shiftOut isValid shiftIn pulseIn connect println localIP pinMode getIMEI display noBlink process getBand running beginSD drawBMP lowByte setBand release bitRead prepare pointTo readRed setMode noFill remove listen stroke detach attach noTone exists buffer height bitSet circle config cursor random IRread setDNS endSMS getKey micros millis begin print write ready flush width isPIN blink clear press mkdir rmdir close point yield image BSSID click delay read text move peek beep rect line open seek fill size turn stop home find step tone sqrt RSSI SSID end bit tan cos sin pow map abs max min get run put",
|
||||
r.name="Arduino",r.aliases=["ino"],r.supersetOf="cpp",r}})());
|
||||
contains:[{beginKeywords:"final class struct"},r.TITLE_MODE]}]),exports:{
|
||||
preprocessor:c,strings:o,keywords:m}}})(r),i=n.keywords
|
||||
;return i.keyword+=" boolean byte word String",
|
||||
i.literal+=" DIGITAL_MESSAGE FIRMATA_STRING ANALOG_MESSAGE REPORT_DIGITAL REPORT_ANALOG INPUT_PULLUP SET_PIN_MODE INTERNAL2V56 SYSTEM_RESET LED_BUILTIN INTERNAL1V1 SYSEX_START INTERNAL EXTERNAL DEFAULT OUTPUT INPUT HIGH LOW",
|
||||
i.built_in+=" KeyboardController MouseController SoftwareSerial EthernetServer EthernetClient LiquidCrystal RobotControl GSMVoiceCall EthernetUDP EsploraTFT HttpClient RobotMotor WiFiClient GSMScanner FileSystem Scheduler GSMServer YunClient YunServer IPAddress GSMClient GSMModem Keyboard Ethernet Console GSMBand Esplora Stepper Process WiFiUDP GSM_SMS Mailbox USBHost Firmata PImage Client Server GSMPIN FileIO Bridge Serial EEPROM Stream Mouse Audio Servo File Task GPRS WiFi Wire TFT GSM SPI SD ",
|
||||
i._+=" setup loop runShellCommandAsynchronously analogWriteResolution retrieveCallingNumber printFirmwareVersion analogReadResolution sendDigitalPortPair noListenOnLocalhost readJoystickButton setFirmwareVersion readJoystickSwitch scrollDisplayRight getVoiceCallStatus scrollDisplayLeft writeMicroseconds delayMicroseconds beginTransmission getSignalStrength runAsynchronously getAsynchronously listenOnLocalhost getCurrentCarrier readAccelerometer messageAvailable sendDigitalPorts lineFollowConfig countryNameWrite runShellCommand readStringUntil rewindDirectory readTemperature setClockDivider readLightSensor endTransmission analogReference detachInterrupt countryNameRead attachInterrupt encryptionType readBytesUntil robotNameWrite readMicrophone robotNameRead cityNameWrite userNameWrite readJoystickY readJoystickX mouseReleased openNextFile scanNetworks noInterrupts digitalWrite beginSpeaker mousePressed isActionDone mouseDragged displayLogos noAutoscroll addParameter remoteNumber getModifiers keyboardRead userNameRead waitContinue processInput parseCommand printVersion readNetworks writeMessage blinkVersion cityNameRead readMessage setDataMode parsePacket isListening setBitOrder beginPacket isDirectory motorsWrite drawCompass digitalRead clearScreen serialEvent rightToLeft setTextSize leftToRight requestFrom keyReleased compassRead analogWrite interrupts WiFiServer disconnect playMelody parseFloat autoscroll getPINUsed setPINUsed setTimeout sendAnalog readSlider analogRead beginWrite createChar motorsStop keyPressed tempoWrite readButton subnetMask debugPrint macAddress writeGreen randomSeed attachGPRS readString sendString remotePort releaseAll mouseMoved background getXChange getYChange answerCall getResult voiceCall endPacket constrain getSocket writeJSON getButton available connected findUntil readBytes exitValue readGreen writeBlue startLoop IPAddress isPressed sendSysex pauseMode gatewayIP setCursor getOemKey tuneWrite noDisplay loadImage switchPIN onRequest onReceive changePIN playFile noBuffer parseInt overflow checkPIN knobRead beginTFT bitClear updateIR bitWrite position writeRGB highByte writeRed setSpeed readBlue noStroke remoteIP transfer shutdown hangCall beginSMS endWrite attached maintain noCursor checkReg checkPUK shiftOut isValid shiftIn pulseIn connect println localIP pinMode getIMEI display noBlink process getBand running beginSD drawBMP lowByte setBand release bitRead prepare pointTo readRed setMode noFill remove listen stroke detach attach noTone exists buffer height bitSet circle config cursor random IRread setDNS endSMS getKey micros millis begin print write ready flush width isPIN blink clear press mkdir rmdir close point yield image BSSID click delay read text move peek beep rect line open seek fill size turn stop home find step tone sqrt RSSI SSID end bit tan cos sin pow map abs max min get run put",
|
||||
n.name="Arduino",n.aliases=["ino"],n.supersetOf="cpp",n}})());
|
File diff suppressed because one or more lines are too long
|
@ -1,45 +1,51 @@
|
|||
hljs.registerLanguage("c-like",(()=>{"use strict";function e(e){
|
||||
return((...e)=>e.map((e=>(e=>e?"string"==typeof e?e:e.source:null)(e))).join(""))("(",e,")?")
|
||||
}return t=>{const n=(t=>{const n=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]
|
||||
}),a="[a-zA-Z_]\\w*::",r="(decltype\\(auto\\)|"+e(a)+"[a-zA-Z_]\\w*"+e("<[^<>]+>")+")",s={
|
||||
className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"},i={className:"string",
|
||||
return t("(",e,")?")}function t(...e){return e.map((e=>{
|
||||
return(t=e)?"string"==typeof t?t:t.source:null;var t})).join("")}return n=>{
|
||||
const a=(n=>{const a=n.COMMENT("//","$",{contains:[{begin:/\\\n/}]
|
||||
}),r="[a-zA-Z_]\\w*::",s="(decltype\\(auto\\)|"+e(r)+"[a-zA-Z_]\\w*"+e("<[^<>]+>")+")",i={
|
||||
className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"},c={className:"string",
|
||||
variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",
|
||||
contains:[t.BACKSLASH_ESCAPE]},{
|
||||
contains:[n.BACKSLASH_ESCAPE]},{
|
||||
begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",
|
||||
end:"'",illegal:"."},t.END_SAME_AS_BEGIN({
|
||||
begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},c={
|
||||
end:"'",illegal:"."},n.END_SAME_AS_BEGIN({
|
||||
begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},o={
|
||||
className:"number",variants:[{begin:"\\b(0b[01']+)"},{
|
||||
begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"
|
||||
},{
|
||||
begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"
|
||||
}],relevance:0},o={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{
|
||||
}],relevance:0},l={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{
|
||||
"meta-keyword":"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"
|
||||
},contains:[{begin:/\\\n/,relevance:0},t.inherit(i,{className:"meta-string"}),{
|
||||
className:"meta-string",begin:/<.*?>/,end:/$/,illegal:"\\n"
|
||||
},n,t.C_BLOCK_COMMENT_MODE]},l={className:"title",begin:e(a)+t.IDENT_RE,
|
||||
relevance:0},d=e(a)+t.IDENT_RE+"\\s*\\(",u={
|
||||
},contains:[{begin:/\\\n/,relevance:0},n.inherit(c,{className:"meta-string"}),{
|
||||
className:"meta-string",begin:/<.*?>/},a,n.C_BLOCK_COMMENT_MODE]},d={
|
||||
className:"title",begin:e(r)+n.IDENT_RE,relevance:0
|
||||
},u=e(r)+n.IDENT_RE+"\\s*\\(",p={
|
||||
keyword:"int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid wchar_t short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignas alignof constexpr consteval constinit decltype concept co_await co_return co_yield requires noexcept static_assert thread_local restrict final override atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq",
|
||||
built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr _Bool complex _Complex imaginary _Imaginary",
|
||||
literal:"true false nullptr NULL"},p=[o,s,n,t.C_BLOCK_COMMENT_MODE,c,i],m={
|
||||
built_in:"_Bool _Complex _Imaginary",
|
||||
_relevance_hints:["asin","atan2","atan","calloc","ceil","cosh","cos","exit","exp","fabs","floor","fmod","fprintf","fputs","free","frexp","auto_ptr","deque","list","queue","stack","vector","map","set","pair","bitset","multiset","multimap","unordered_set","fscanf","future","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","tolower","toupper","labs","ldexp","log10","log","malloc","realloc","memchr","memcmp","memcpy","memset","modf","pow","printf","putchar","puts","scanf","sinh","sin","snprintf","sprintf","sqrt","sscanf","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","tanh","tan","unordered_map","unordered_multiset","unordered_multimap","priority_queue","make_pair","array","shared_ptr","abort","terminate","abs","acos","vfprintf","vprintf","vsprintf","endl","initializer_list","unique_ptr","complex","imaginary","std","string","wstring","cin","cout","cerr","clog","stdin","stdout","stderr","stringstream","istringstream","ostringstream"],
|
||||
literal:"true false nullptr NULL"},m={className:"function.dispatch",relevance:0,
|
||||
keywords:p,
|
||||
begin:t(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!while)/,n.IDENT_RE,(_=/\s*\(/,
|
||||
t("(?=",_,")")))};var _;const g=[m,l,i,a,n.C_BLOCK_COMMENT_MODE,o,c],b={
|
||||
variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{
|
||||
beginKeywords:"new throw return else",end:/;/}],keywords:u,contains:p.concat([{
|
||||
begin:/\(/,end:/\)/,keywords:u,contains:p.concat(["self"]),relevance:0}]),
|
||||
relevance:0},_={className:"function",begin:"("+r+"[\\*&\\s]+)+"+d,
|
||||
returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:u,illegal:/[^\w\s\*&:<>.]/,
|
||||
contains:[{begin:"decltype\\(auto\\)",keywords:u,relevance:0},{begin:d,
|
||||
returnBegin:!0,contains:[l],relevance:0},{className:"params",begin:/\(/,
|
||||
end:/\)/,keywords:u,relevance:0,contains:[n,t.C_BLOCK_COMMENT_MODE,i,c,s,{
|
||||
begin:/\(/,end:/\)/,keywords:u,relevance:0,
|
||||
contains:["self",n,t.C_BLOCK_COMMENT_MODE,i,c,s]}]
|
||||
},s,n,t.C_BLOCK_COMMENT_MODE,o]};return{name:"C++",
|
||||
aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:u,illegal:"</",
|
||||
contains:[].concat(m,_,p,[o,{
|
||||
beginKeywords:"new throw return else",end:/;/}],keywords:p,contains:g.concat([{
|
||||
begin:/\(/,end:/\)/,keywords:p,contains:g.concat(["self"]),relevance:0}]),
|
||||
relevance:0},f={className:"function",begin:"("+s+"[\\*&\\s]+)+"+u,
|
||||
returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:p,illegal:/[^\w\s\*&:<>.]/,
|
||||
contains:[{begin:"decltype\\(auto\\)",keywords:p,relevance:0},{begin:u,
|
||||
returnBegin:!0,contains:[d],relevance:0},{begin:/::/,relevance:0},{begin:/:/,
|
||||
endsWithParent:!0,contains:[c,o]},{className:"params",begin:/\(/,end:/\)/,
|
||||
keywords:p,relevance:0,contains:[a,n.C_BLOCK_COMMENT_MODE,c,o,i,{begin:/\(/,
|
||||
end:/\)/,keywords:p,relevance:0,contains:["self",a,n.C_BLOCK_COMMENT_MODE,c,o,i]
|
||||
}]},i,a,n.C_BLOCK_COMMENT_MODE,l]};return{name:"C++",
|
||||
aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:p,illegal:"</",
|
||||
classNameAliases:{"function.dispatch":"built_in"},
|
||||
contains:[].concat(b,f,m,g,[l,{
|
||||
begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\s*<",
|
||||
end:">",keywords:u,contains:["self",s]},{begin:t.IDENT_RE+"::",keywords:u},{
|
||||
end:">",keywords:p,contains:["self",i]},{begin:n.IDENT_RE+"::",keywords:p},{
|
||||
className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,
|
||||
contains:[{beginKeywords:"final class struct"},t.TITLE_MODE]}]),exports:{
|
||||
preprocessor:o,strings:i,keywords:u}}})(t)
|
||||
;return n.disableAutodetect=!0,n.aliases=[],
|
||||
t.getLanguage("c")||n.aliases.push("c","h"),
|
||||
t.getLanguage("cpp")||n.aliases.push("cc","c++","h++","hpp","hh","hxx","cxx"),n}
|
||||
contains:[{beginKeywords:"final class struct"},n.TITLE_MODE]}]),exports:{
|
||||
preprocessor:l,strings:c,keywords:p}}})(n)
|
||||
;return a.disableAutodetect=!0,a.aliases=[],
|
||||
n.getLanguage("c")||a.aliases.push("c","h"),
|
||||
n.getLanguage("cpp")||a.aliases.push("cc","c++","h++","hpp","hh","hxx","cxx"),a}
|
||||
})());
|
|
@ -15,9 +15,9 @@ begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?
|
|||
}],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{
|
||||
"meta-keyword":"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"
|
||||
},contains:[{begin:/\\\n/,relevance:0},t.inherit(s,{className:"meta-string"}),{
|
||||
className:"meta-string",begin:/<.*?>/,end:/$/,illegal:"\\n"
|
||||
},n,t.C_BLOCK_COMMENT_MODE]},l={className:"title",begin:e(r)+t.IDENT_RE,
|
||||
relevance:0},d=e(r)+t.IDENT_RE+"\\s*\\(",u={
|
||||
className:"meta-string",begin:/<.*?>/},n,t.C_BLOCK_COMMENT_MODE]},l={
|
||||
className:"title",begin:e(r)+t.IDENT_RE,relevance:0
|
||||
},d=e(r)+t.IDENT_RE+"\\s*\\(",u={
|
||||
keyword:"int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid wchar_t short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignas alignof constexpr consteval constinit decltype concept co_await co_return co_yield requires noexcept static_assert thread_local restrict final override atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq",
|
||||
built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr _Bool complex _Complex imaginary _Imaginary",
|
||||
literal:"true false nullptr NULL"},m=[c,i,n,t.C_BLOCK_COMMENT_MODE,o,s],p={
|
||||
|
@ -31,7 +31,7 @@ returnBegin:!0,contains:[l],relevance:0},{className:"params",begin:/\(/,
|
|||
end:/\)/,keywords:u,relevance:0,contains:[n,t.C_BLOCK_COMMENT_MODE,s,o,i,{
|
||||
begin:/\(/,end:/\)/,keywords:u,relevance:0,
|
||||
contains:["self",n,t.C_BLOCK_COMMENT_MODE,s,o,i]}]
|
||||
},i,n,t.C_BLOCK_COMMENT_MODE,c]};return{name:"C",aliases:["c","h"],keywords:u,
|
||||
},i,n,t.C_BLOCK_COMMENT_MODE,c]};return{name:"C",aliases:["h"],keywords:u,
|
||||
disableAutodetect:!0,illegal:"</",contains:[].concat(p,_,m,[c,{
|
||||
begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\s*<",
|
||||
end:">",keywords:u,contains:["self",i]},{begin:t.IDENT_RE+"::",keywords:u},{
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
hljs.registerLanguage("clean",(()=>{"use strict";return e=>({name:"Clean",
|
||||
aliases:["clean","icl","dcl"],keywords:{
|
||||
aliases:["icl","dcl"],keywords:{
|
||||
keyword:"if let in with where case of class instance otherwise implementation definition system module from import qualified as special code inline foreign export ccall stdcall generic derive infix infixl infixr",
|
||||
built_in:"Int Real Char Bool",literal:"True False"},
|
||||
contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
hljs.registerLanguage("coffeescript",(()=>{"use strict"
|
||||
;const e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],n=["true","false","null","undefined","NaN","Infinity"],a=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],["arguments","this","super","console","window","document","localStorage","module","global"],["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer"],["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"])
|
||||
;const e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],n=["true","false","null","undefined","NaN","Infinity"],a=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],["arguments","this","super","console","window","document","localStorage","module","global"],["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"])
|
||||
;return r=>{const t={
|
||||
keyword:e.concat(["then","unless","until","loop","by","when","and","or","is","isnt","not"]).filter((i=["var","const","let","function","static"],
|
||||
e=>!i.includes(e))),literal:n.concat(["yes","no","on","off"]),
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
hljs.registerLanguage("cos",(()=>{"use strict";return e=>({
|
||||
name:"Cach\xe9 Object Script",case_insensitive:!0,aliases:["cos","cls"],
|
||||
name:"Cach\xe9 Object Script",case_insensitive:!0,aliases:["cls"],
|
||||
keywords:"property parameter class classmethod clientmethod extends as break catch close continue do d|0 else elseif for goto halt hang h|0 if job j|0 kill k|0 lock l|0 merge new open quit q|0 read r|0 return set s|0 tcommit throw trollback try tstart use view while write w|0 xecute x|0 zkill znspace zn ztrap zwrite zw zzdump zzwrite print zbreak zinsert zload zprint zremove zsave zzprint mv mvcall mvcrt mvdim mvprint zquit zsync ascii",
|
||||
contains:[{className:"number",begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)",relevance:0},{
|
||||
className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',
|
||||
|
|
|
@ -1,41 +1,47 @@
|
|||
hljs.registerLanguage("cpp",(()=>{"use strict";function e(e){
|
||||
return((...e)=>e.map((e=>(e=>e?"string"==typeof e?e:e.source:null)(e))).join(""))("(",e,")?")
|
||||
}return t=>{const n=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]
|
||||
}),r="[a-zA-Z_]\\w*::",a="(decltype\\(auto\\)|"+e(r)+"[a-zA-Z_]\\w*"+e("<[^<>]+>")+")",i={
|
||||
className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"},s={className:"string",
|
||||
return t("(",e,")?")}function t(...e){return e.map((e=>{
|
||||
return(t=e)?"string"==typeof t?t:t.source:null;var t})).join("")}return n=>{
|
||||
const r=n.COMMENT("//","$",{contains:[{begin:/\\\n/}]
|
||||
}),a="[a-zA-Z_]\\w*::",i="(decltype\\(auto\\)|"+e(a)+"[a-zA-Z_]\\w*"+e("<[^<>]+>")+")",s={
|
||||
className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"},c={className:"string",
|
||||
variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",
|
||||
contains:[t.BACKSLASH_ESCAPE]},{
|
||||
contains:[n.BACKSLASH_ESCAPE]},{
|
||||
begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",
|
||||
end:"'",illegal:"."},t.END_SAME_AS_BEGIN({
|
||||
end:"'",illegal:"."},n.END_SAME_AS_BEGIN({
|
||||
begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},o={
|
||||
className:"number",variants:[{begin:"\\b(0b[01']+)"},{
|
||||
begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"
|
||||
},{
|
||||
begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"
|
||||
}],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{
|
||||
}],relevance:0},l={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{
|
||||
"meta-keyword":"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"
|
||||
},contains:[{begin:/\\\n/,relevance:0},t.inherit(s,{className:"meta-string"}),{
|
||||
className:"meta-string",begin:/<.*?>/,end:/$/,illegal:"\\n"
|
||||
},n,t.C_BLOCK_COMMENT_MODE]},l={className:"title",begin:e(r)+t.IDENT_RE,
|
||||
relevance:0},d=e(r)+t.IDENT_RE+"\\s*\\(",u={
|
||||
},contains:[{begin:/\\\n/,relevance:0},n.inherit(c,{className:"meta-string"}),{
|
||||
className:"meta-string",begin:/<.*?>/},r,n.C_BLOCK_COMMENT_MODE]},d={
|
||||
className:"title",begin:e(a)+n.IDENT_RE,relevance:0
|
||||
},u=e(a)+n.IDENT_RE+"\\s*\\(",m={
|
||||
keyword:"int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid wchar_t short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignas alignof constexpr consteval constinit decltype concept co_await co_return co_yield requires noexcept static_assert thread_local restrict final override atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq",
|
||||
built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr _Bool complex _Complex imaginary _Imaginary",
|
||||
literal:"true false nullptr NULL"},m=[c,i,n,t.C_BLOCK_COMMENT_MODE,o,s],p={
|
||||
built_in:"_Bool _Complex _Imaginary",
|
||||
_relevance_hints:["asin","atan2","atan","calloc","ceil","cosh","cos","exit","exp","fabs","floor","fmod","fprintf","fputs","free","frexp","auto_ptr","deque","list","queue","stack","vector","map","set","pair","bitset","multiset","multimap","unordered_set","fscanf","future","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","tolower","toupper","labs","ldexp","log10","log","malloc","realloc","memchr","memcmp","memcpy","memset","modf","pow","printf","putchar","puts","scanf","sinh","sin","snprintf","sprintf","sqrt","sscanf","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","tanh","tan","unordered_map","unordered_multiset","unordered_multimap","priority_queue","make_pair","array","shared_ptr","abort","terminate","abs","acos","vfprintf","vprintf","vsprintf","endl","initializer_list","unique_ptr","complex","imaginary","std","string","wstring","cin","cout","cerr","clog","stdin","stdout","stderr","stringstream","istringstream","ostringstream"],
|
||||
literal:"true false nullptr NULL"},p={className:"function.dispatch",relevance:0,
|
||||
keywords:m,
|
||||
begin:t(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!while)/,n.IDENT_RE,(_=/\s*\(/,
|
||||
t("(?=",_,")")))};var _;const g=[p,l,s,r,n.C_BLOCK_COMMENT_MODE,o,c],b={
|
||||
variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{
|
||||
beginKeywords:"new throw return else",end:/;/}],keywords:u,contains:m.concat([{
|
||||
begin:/\(/,end:/\)/,keywords:u,contains:m.concat(["self"]),relevance:0}]),
|
||||
relevance:0},_={className:"function",begin:"("+a+"[\\*&\\s]+)+"+d,
|
||||
returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:u,illegal:/[^\w\s\*&:<>.]/,
|
||||
contains:[{begin:"decltype\\(auto\\)",keywords:u,relevance:0},{begin:d,
|
||||
returnBegin:!0,contains:[l],relevance:0},{className:"params",begin:/\(/,
|
||||
end:/\)/,keywords:u,relevance:0,contains:[n,t.C_BLOCK_COMMENT_MODE,s,o,i,{
|
||||
begin:/\(/,end:/\)/,keywords:u,relevance:0,
|
||||
contains:["self",n,t.C_BLOCK_COMMENT_MODE,s,o,i]}]
|
||||
},i,n,t.C_BLOCK_COMMENT_MODE,c]};return{name:"C++",
|
||||
aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:u,illegal:"</",
|
||||
contains:[].concat(p,_,m,[c,{
|
||||
beginKeywords:"new throw return else",end:/;/}],keywords:m,contains:g.concat([{
|
||||
begin:/\(/,end:/\)/,keywords:m,contains:g.concat(["self"]),relevance:0}]),
|
||||
relevance:0},f={className:"function",begin:"("+i+"[\\*&\\s]+)+"+u,
|
||||
returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:m,illegal:/[^\w\s\*&:<>.]/,
|
||||
contains:[{begin:"decltype\\(auto\\)",keywords:m,relevance:0},{begin:u,
|
||||
returnBegin:!0,contains:[d],relevance:0},{begin:/::/,relevance:0},{begin:/:/,
|
||||
endsWithParent:!0,contains:[c,o]},{className:"params",begin:/\(/,end:/\)/,
|
||||
keywords:m,relevance:0,contains:[r,n.C_BLOCK_COMMENT_MODE,c,o,s,{begin:/\(/,
|
||||
end:/\)/,keywords:m,relevance:0,contains:["self",r,n.C_BLOCK_COMMENT_MODE,c,o,s]
|
||||
}]},s,r,n.C_BLOCK_COMMENT_MODE,l]};return{name:"C++",
|
||||
aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:m,illegal:"</",
|
||||
classNameAliases:{"function.dispatch":"built_in"},
|
||||
contains:[].concat(b,f,p,g,[l,{
|
||||
begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\s*<",
|
||||
end:">",keywords:u,contains:["self",i]},{begin:t.IDENT_RE+"::",keywords:u},{
|
||||
end:">",keywords:m,contains:["self",s]},{begin:n.IDENT_RE+"::",keywords:m},{
|
||||
className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,
|
||||
contains:[{beginKeywords:"final class struct"},t.TITLE_MODE]}]),exports:{
|
||||
preprocessor:c,strings:s,keywords:u}}}})());
|
||||
contains:[{beginKeywords:"final class struct"},n.TITLE_MODE]}]),exports:{
|
||||
preprocessor:l,strings:c,keywords:m}}}})());
|
|
@ -1,6 +1,6 @@
|
|||
hljs.registerLanguage("csharp",(()=>{"use strict";return e=>{var n={
|
||||
hljs.registerLanguage("csharp",(()=>{"use strict";return e=>{const n={
|
||||
keyword:["abstract","as","base","break","case","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"].concat(["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"]),
|
||||
built_in:["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","unit","ushort"],
|
||||
built_in:["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],
|
||||
literal:["default","false","null","true"]},a=e.inherit(e.TITLE_MODE,{
|
||||
begin:"[a-zA-Z](\\.?\\w)*"}),i={className:"number",variants:[{
|
||||
begin:"\\b(0b[01']+)"},{
|
||||
|
@ -15,7 +15,7 @@ begin:/\{\{/},{begin:/\}\}/},{begin:'""'},r]},d=e.inherit(o,{illegal:/\n/,
|
|||
contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},l]})
|
||||
;r.contains=[o,c,s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,i,e.C_BLOCK_COMMENT_MODE],
|
||||
l.contains=[d,c,t,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,i,e.inherit(e.C_BLOCK_COMMENT_MODE,{
|
||||
illegal:/\n/})];var g={variants:[o,c,s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]
|
||||
illegal:/\n/})];const g={variants:[o,c,s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]
|
||||
},E={begin:"<",end:">",contains:[{beginKeywords:"in out"},a]
|
||||
},_=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",b={
|
||||
begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,13 +1,13 @@
|
|||
hljs.registerLanguage("http",(()=>{"use strict";function e(...e){
|
||||
return e.map((e=>{return(n=e)?"string"==typeof n?n:n.source:null;var n
|
||||
})).join("")}return n=>{const a="HTTP/(2|1\\.[01])",s=[{className:"attribute",
|
||||
})).join("")}return n=>{const a="HTTP/(2|1\\.[01])",s={className:"attribute",
|
||||
begin:e("^",/[A-Za-z][A-Za-z0-9-]*/,"(?=\\:\\s)"),starts:{contains:[{
|
||||
className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}
|
||||
},{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{
|
||||
},t=[s,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{
|
||||
name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+a+" \\d{3})",
|
||||
end:/$/,contains:[{className:"meta",begin:a},{className:"number",
|
||||
begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:s}},{
|
||||
begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:t}},{
|
||||
begin:"(?=^[A-Z]+ (.*?) "+a+"$)",end:/$/,contains:[{className:"string",
|
||||
begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:a},{
|
||||
className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:s}
|
||||
}]}}})());
|
||||
className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:t}
|
||||
},n.inherit(s,{relevance:0})]}}})());
|
|
@ -15,7 +15,7 @@ begin:":[ \\t]*(IApplication|IAccessRights|IAccountRepository|IAccountSelectionR
|
|||
end:"[ \\t]*=",excludeEnd:!0},A={className:"variable",keywords:C,begin:E,
|
||||
relevance:0,contains:[N,I]
|
||||
},e="[A-Za-z\u0410-\u042f\u0430-\u044f\u0451\u0401_][A-Za-z\u0410-\u042f\u0430-\u044f\u0451\u0401_0-9]*\\("
|
||||
;return{name:"ISBL",aliases:["isbl"],case_insensitive:!0,keywords:C,
|
||||
;return{name:"ISBL",case_insensitive:!0,keywords:C,
|
||||
illegal:"\\$|\\?|%|,|;$|~|#|@|</",contains:[{className:"function",begin:e,
|
||||
end:"\\)$",returnBegin:!0,keywords:C,illegal:"[\\[\\]\\|\\$\\?%,~#@]",
|
||||
contains:[{className:"title",keywords:{$pattern:E,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
hljs.registerLanguage("javascript",(()=>{"use strict"
|
||||
;const e="[A-Za-z$_][0-9A-Za-z$_]*",n=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],a=["true","false","null","undefined","NaN","Infinity"],s=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],["arguments","this","super","console","window","document","localStorage","module","global"],["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer"],["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"])
|
||||
;const e="[A-Za-z$_][0-9A-Za-z$_]*",n=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],a=["true","false","null","undefined","NaN","Infinity"],s=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],["arguments","this","super","console","window","document","localStorage","module","global"],["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"])
|
||||
;function r(e){return t("(?=",e,")")}function t(...e){return e.map((e=>{
|
||||
return(n=e)?"string"==typeof n?n:n.source:null;var n})).join("")}return i=>{
|
||||
const c=e,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,
|
||||
|
@ -7,10 +7,10 @@ isTrulyOpeningTag:(e,n)=>{const a=e[0].length+e.index,s=e.input[a]
|
|||
;"<"!==s?">"===s&&(((e,{after:n})=>{const a="</"+e[0].slice(1)
|
||||
;return-1!==e.input.indexOf(a,n)})(e,{after:a
|
||||
})||n.ignoreMatch()):n.ignoreMatch()}},l={$pattern:e,keyword:n,literal:a,
|
||||
built_in:s},b="\\.([0-9](_?[0-9])*)",g="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",d={
|
||||
built_in:s},g="\\.([0-9](_?[0-9])*)",b="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",d={
|
||||
className:"number",variants:[{
|
||||
begin:`(\\b(${g})((${b})|\\.)?|(${b}))[eE][+-]?([0-9](_?[0-9])*)\\b`},{
|
||||
begin:`\\b(${g})\\b((${b})\\b|\\.)?|(${b})\\b`},{
|
||||
begin:`(\\b(${b})((${g})|\\.)?|(${g}))[eE][+-]?([0-9](_?[0-9])*)\\b`},{
|
||||
begin:`\\b(${b})\\b((${g})\\b|\\.)?|(${g})\\b`},{
|
||||
begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{
|
||||
begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{
|
||||
begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{
|
||||
|
@ -19,30 +19,30 @@ end:"\\}",keywords:l,contains:[]},u={begin:"html`",end:"",starts:{end:"`",
|
|||
returnEnd:!1,contains:[i.BACKSLASH_ESCAPE,E],subLanguage:"xml"}},_={
|
||||
begin:"css`",end:"",starts:{end:"`",returnEnd:!1,
|
||||
contains:[i.BACKSLASH_ESCAPE,E],subLanguage:"css"}},m={className:"string",
|
||||
begin:"`",end:"`",contains:[i.BACKSLASH_ESCAPE,E]},N={className:"comment",
|
||||
begin:"`",end:"`",contains:[i.BACKSLASH_ESCAPE,E]},y={className:"comment",
|
||||
variants:[i.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{
|
||||
className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",
|
||||
end:"\\}",relevance:0},{className:"variable",begin:c+"(?=\\s*(-)|$)",
|
||||
endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]
|
||||
}),i.C_BLOCK_COMMENT_MODE,i.C_LINE_COMMENT_MODE]
|
||||
},y=[i.APOS_STRING_MODE,i.QUOTE_STRING_MODE,u,_,m,d,i.REGEXP_MODE]
|
||||
;E.contains=y.concat({begin:/\{/,end:/\}/,keywords:l,contains:["self"].concat(y)
|
||||
});const f=[].concat(N,E.contains),A=f.concat([{begin:/\(/,end:/\)/,keywords:l,
|
||||
contains:["self"].concat(f)}]),p={className:"params",begin:/\(/,end:/\)/,
|
||||
excludeBegin:!0,excludeEnd:!0,keywords:l,contains:A};return{name:"Javascript",
|
||||
aliases:["js","jsx","mjs","cjs"],keywords:l,exports:{PARAMS_CONTAINS:A},
|
||||
},N=[i.APOS_STRING_MODE,i.QUOTE_STRING_MODE,u,_,m,d,i.REGEXP_MODE]
|
||||
;E.contains=N.concat({begin:/\{/,end:/\}/,keywords:l,contains:["self"].concat(N)
|
||||
});const A=[].concat(y,E.contains),f=A.concat([{begin:/\(/,end:/\)/,keywords:l,
|
||||
contains:["self"].concat(A)}]),p={className:"params",begin:/\(/,end:/\)/,
|
||||
excludeBegin:!0,excludeEnd:!0,keywords:l,contains:f};return{name:"Javascript",
|
||||
aliases:["js","jsx","mjs","cjs"],keywords:l,exports:{PARAMS_CONTAINS:f},
|
||||
illegal:/#(?![$_A-z])/,contains:[i.SHEBANG({label:"shebang",binary:"node",
|
||||
relevance:5}),{label:"use_strict",className:"meta",relevance:10,
|
||||
begin:/^\s*['"]use (strict|asm)['"]/
|
||||
},i.APOS_STRING_MODE,i.QUOTE_STRING_MODE,u,_,m,N,d,{
|
||||
},i.APOS_STRING_MODE,i.QUOTE_STRING_MODE,u,_,m,y,d,{
|
||||
begin:t(/[{,\n]\s*/,r(t(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,c+"\\s*:"))),
|
||||
relevance:0,contains:[{className:"attr",begin:c+r("\\s*:"),relevance:0}]},{
|
||||
begin:"("+i.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",
|
||||
keywords:"return throw case",contains:[N,i.REGEXP_MODE,{className:"function",
|
||||
keywords:"return throw case",contains:[y,i.REGEXP_MODE,{className:"function",
|
||||
begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+i.UNDERSCORE_IDENT_RE+")\\s*=>",
|
||||
returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{
|
||||
begin:i.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0
|
||||
},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:l,contains:A}]}]
|
||||
},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:l,contains:f}]}]
|
||||
},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{
|
||||
variants:[{begin:"<>",end:"</>"},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,
|
||||
end:o.end}],subLanguage:"xml",contains:[{begin:o.begin,end:o.end,skip:!0,
|
||||
|
|
|
@ -23,9 +23,9 @@ end:/\)/,contains:[e.inherit(r,{className:"meta-string"})]}]
|
|||
},o=a,b=e.COMMENT("/\\*","\\*/",{contains:[e.C_BLOCK_COMMENT_MODE]}),E={
|
||||
variants:[{className:"type",begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,
|
||||
contains:[]}]},d=E;return d.variants[1].contains=[E],E.variants[1].contains=[d],
|
||||
{name:"Kotlin",aliases:["kt"],keywords:n,contains:[e.COMMENT("/\\*\\*","\\*/",{
|
||||
relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]
|
||||
}),e.C_LINE_COMMENT_MODE,b,{className:"keyword",
|
||||
{name:"Kotlin",aliases:["kt","kts"],keywords:n,
|
||||
contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",
|
||||
begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,b,{className:"keyword",
|
||||
begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",
|
||||
begin:/@\w+/}]}},i,l,c,{className:"function",beginKeywords:"fun",end:"[(]|$",
|
||||
returnBegin:!0,excludeEnd:!0,keywords:n,relevance:5,contains:[{
|
||||
|
|
|
@ -24,7 +24,7 @@ end:/(.|\r?\n)/,excludeBegin:!0,excludeEnd:!0,endsParent:!0}),b=e=>({
|
|||
className:"string",end:"(?=\\\\end\\{"+e+"\\})"}),p=(e="string")=>({relevance:0,
|
||||
begin:/\{/,starts:{endsParent:!0,contains:[{className:e,end:/(?=\})/,
|
||||
endsParent:!0,contains:[{begin:/\{/,end:/\}/,relevance:0,contains:["self"]}]}]}
|
||||
});return{name:"LaTeX",aliases:["TeX"],
|
||||
});return{name:"LaTeX",aliases:["tex"],
|
||||
contains:[...["verb","lstinline"].map((e=>d(e,{contains:[m()]}))),d("mint",o(c,{
|
||||
contains:[m()]})),d("mintinline",o(c,{contains:[p(),m()]})),d("url",{
|
||||
contains:[p("link"),p("link")]}),d("hyperref",{contains:[p("link")]
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,11 +1,11 @@
|
|||
hljs.registerLanguage("livescript",(()=>{"use strict"
|
||||
;const e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],n=["true","false","null","undefined","NaN","Infinity"],a=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],["arguments","this","super","console","window","document","localStorage","module","global"],["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer"],["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"])
|
||||
;const e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],n=["true","false","null","undefined","NaN","Infinity"],a=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],["arguments","this","super","console","window","document","localStorage","module","global"],["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"])
|
||||
;return t=>{const r={
|
||||
keyword:e.concat(["then","unless","until","loop","of","by","when","and","or","is","isnt","not","it","that","otherwise","from","to","til","fallthrough","case","enum","native","list","map","__hasProp","__extends","__slice","__bind","__indexOf"]),
|
||||
literal:n.concat(["yes","no","on","off","it","that","void"]),
|
||||
built_in:a.concat(["npm","print"])
|
||||
},s="[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*",i=t.inherit(t.TITLE_MODE,{
|
||||
begin:s}),o={className:"subst",begin:/#\{/,end:/\}/,keywords:r},c={
|
||||
},i="[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*",s=t.inherit(t.TITLE_MODE,{
|
||||
begin:i}),o={className:"subst",begin:/#\{/,end:/\}/,keywords:r},c={
|
||||
className:"subst",begin:/#[A-Za-z$_]/,end:/(?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*/,
|
||||
keywords:r},l=[t.BINARY_NUMBER_MODE,{className:"number",
|
||||
begin:"(\\b0[xX][a-fA-F0-9_]+)|(\\b\\d(\\d|_\\d)*(\\.(\\d(\\d|_\\d)*)?)?(_*[eE]([-+]\\d(_\\d|\\d)*)?)?[_a-z]*)",
|
||||
|
@ -16,19 +16,19 @@ contains:[t.BACKSLASH_ESCAPE,o,c]},{begin:/"/,end:/"/,
|
|||
contains:[t.BACKSLASH_ESCAPE,o,c]},{begin:/\\/,end:/(\s|$)/,excludeEnd:!0}]},{
|
||||
className:"regexp",variants:[{begin:"//",end:"//[gim]*",
|
||||
contains:[o,t.HASH_COMMENT_MODE]},{
|
||||
begin:/\/(?![ *])(\\.|[^\\\n])*?\/[gim]*(?=\W)/}]},{begin:"@"+s},{begin:"``",
|
||||
begin:/\/(?![ *])(\\.|[^\\\n])*?\/[gim]*(?=\W)/}]},{begin:"@"+i},{begin:"``",
|
||||
end:"``",excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"}];o.contains=l
|
||||
;const d={className:"params",begin:"\\(",returnBegin:!0,contains:[{begin:/\(/,
|
||||
end:/\)/,keywords:r,contains:["self"].concat(l)}]};return{name:"LiveScript",
|
||||
aliases:["ls"],keywords:r,illegal:/\/\*/,
|
||||
contains:l.concat([t.COMMENT("\\/\\*","\\*\\/"),t.HASH_COMMENT_MODE,{
|
||||
begin:"(#=>|=>|\\|>>|-?->|!->)"},{className:"function",contains:[i,d],
|
||||
begin:"(#=>|=>|\\|>>|-?->|!->)"},{className:"function",contains:[s,d],
|
||||
returnBegin:!0,variants:[{
|
||||
begin:"("+s+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B->\\*?",end:"->\\*?"},{
|
||||
begin:"("+s+"\\s*(?:=|:=)\\s*)?!?(\\(.*\\)\\s*)?\\B[-~]{1,2}>\\*?",
|
||||
begin:"("+i+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B->\\*?",end:"->\\*?"},{
|
||||
begin:"("+i+"\\s*(?:=|:=)\\s*)?!?(\\(.*\\)\\s*)?\\B[-~]{1,2}>\\*?",
|
||||
end:"[-~]{1,2}>\\*?"},{
|
||||
begin:"("+s+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B!?[-~]{1,2}>\\*?",
|
||||
begin:"("+i+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B!?[-~]{1,2}>\\*?",
|
||||
end:"!?[-~]{1,2}>\\*?"}]},{className:"class",beginKeywords:"class",end:"$",
|
||||
illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,
|
||||
illegal:/[:="\[\]]/,contains:[i]},i]},{begin:s+":",end:":",returnBegin:!0,
|
||||
illegal:/[:="\[\]]/,contains:[s]},s]},{begin:i+":",end:":",returnBegin:!0,
|
||||
returnEnd:!0,relevance:0}])}}})());
|
|
@ -1,5 +1,4 @@
|
|||
hljs.registerLanguage("nim",(()=>{"use strict";return e=>({name:"Nim",
|
||||
aliases:["nim"],keywords:{
|
||||
hljs.registerLanguage("nim",(()=>{"use strict";return e=>({name:"Nim",keywords:{
|
||||
keyword:"addr and as asm bind block break case cast const continue converter discard distinct div do elif else end enum except export finally for from func generic if import in include interface is isnot iterator let macro method mixin mod nil not notin object of or out proc ptr raise ref return shl shr static template try tuple type using var when while with without xor yield",
|
||||
literal:"shared guarded stdin stdout stderr result true false",
|
||||
built_in:"int int8 int16 int32 int64 uint uint8 uint16 uint32 uint64 float float32 float64 bool char string cstring pointer expr stmt void auto any range array openarray varargs seq set clong culong cchar cschar cshort cint csize clonglong cfloat cdouble clongdouble cuchar cushort cuint culonglong cstringarray semistatic"
|
||||
|
|
|
@ -9,24 +9,29 @@ contains:e.QUOTE_STRING_MODE.contains.concat(a)}),o=e.END_SAME_AS_BEGIN({
|
|||
begin:/<<<[ \t]*(\w+)\n/,end:/[ \t]*(\w+)\b/,
|
||||
contains:e.QUOTE_STRING_MODE.contains.concat(a)}),l={className:"string",
|
||||
contains:[e.BACKSLASH_ESCAPE,t],variants:[e.inherit(n,{begin:"b'",end:"'"
|
||||
}),e.inherit(i,{begin:'b"',end:'"'}),i,n,o]},c={
|
||||
variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},s={
|
||||
keyword:"__CLASS__ __DIR__ __FILE__ __FUNCTION__ __LINE__ __METHOD__ __NAMESPACE__ __TRAIT__ die echo exit include include_once print require require_once array abstract and as binary bool boolean break callable case catch class clone const continue declare default do double else elseif empty enddeclare endfor endforeach endif endswitch endwhile eval extends final finally float for foreach from global goto if implements instanceof insteadof int integer interface isset iterable list match|0 new object or private protected public real return string switch throw trait try unset use var void while xor yield",
|
||||
}),e.inherit(i,{begin:'b"',end:'"'}),i,n,o]},s={className:"number",variants:[{
|
||||
begin:"\\b0b[01]+(?:_[01]+)*\\b"},{begin:"\\b0o[0-7]+(?:_[0-7]+)*\\b"},{
|
||||
begin:"\\b0x[\\da-f]+(?:_[\\da-f]+)*\\b"},{
|
||||
begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:e[+-]?\\d+)?"
|
||||
}],relevance:0},c={
|
||||
keyword:"__CLASS__ __DIR__ __FILE__ __FUNCTION__ __LINE__ __METHOD__ __NAMESPACE__ __TRAIT__ die echo exit include include_once print require require_once array abstract and as binary bool boolean break callable case catch class clone const continue declare default do double else elseif empty enddeclare endfor endforeach endif endswitch endwhile enum eval extends final finally float for foreach from global goto if implements instanceof insteadof int integer interface isset iterable list match|0 mixed new object or private protected public real return string switch throw trait try unset use var void while xor yield",
|
||||
literal:"false null true",
|
||||
built_in:"Error|0 AppendIterator ArgumentCountError ArithmeticError ArrayIterator ArrayObject AssertionError BadFunctionCallException BadMethodCallException CachingIterator CallbackFilterIterator CompileError Countable DirectoryIterator DivisionByZeroError DomainException EmptyIterator ErrorException Exception FilesystemIterator FilterIterator GlobIterator InfiniteIterator InvalidArgumentException IteratorIterator LengthException LimitIterator LogicException MultipleIterator NoRewindIterator OutOfBoundsException OutOfRangeException OuterIterator OverflowException ParentIterator ParseError RangeException RecursiveArrayIterator RecursiveCachingIterator RecursiveCallbackFilterIterator RecursiveDirectoryIterator RecursiveFilterIterator RecursiveIterator RecursiveIteratorIterator RecursiveRegexIterator RecursiveTreeIterator RegexIterator RuntimeException SeekableIterator SplDoublyLinkedList SplFileInfo SplFileObject SplFixedArray SplHeap SplMaxHeap SplMinHeap SplObjectStorage SplObserver SplObserver SplPriorityQueue SplQueue SplStack SplSubject SplSubject SplTempFileObject TypeError UnderflowException UnexpectedValueException ArrayAccess Closure Generator Iterator IteratorAggregate Serializable Throwable Traversable WeakReference Directory __PHP_Incomplete_Class parent php_user_filter self static stdClass"
|
||||
};return{aliases:["php","php3","php4","php5","php6","php7","php8"],
|
||||
case_insensitive:!0,keywords:s,
|
||||
built_in:"Error|0 AppendIterator ArgumentCountError ArithmeticError ArrayIterator ArrayObject AssertionError BadFunctionCallException BadMethodCallException CachingIterator CallbackFilterIterator CompileError Countable DirectoryIterator DivisionByZeroError DomainException EmptyIterator ErrorException Exception FilesystemIterator FilterIterator GlobIterator InfiniteIterator InvalidArgumentException IteratorIterator LengthException LimitIterator LogicException MultipleIterator NoRewindIterator OutOfBoundsException OutOfRangeException OuterIterator OverflowException ParentIterator ParseError RangeException RecursiveArrayIterator RecursiveCachingIterator RecursiveCallbackFilterIterator RecursiveDirectoryIterator RecursiveFilterIterator RecursiveIterator RecursiveIteratorIterator RecursiveRegexIterator RecursiveTreeIterator RegexIterator RuntimeException SeekableIterator SplDoublyLinkedList SplFileInfo SplFileObject SplFixedArray SplHeap SplMaxHeap SplMinHeap SplObjectStorage SplObserver SplObserver SplPriorityQueue SplQueue SplStack SplSubject SplSubject SplTempFileObject TypeError UnderflowException UnexpectedValueException UnhandledMatchError ArrayAccess Closure Generator Iterator IteratorAggregate Serializable Stringable Throwable Traversable WeakReference WeakMap Directory __PHP_Incomplete_Class parent php_user_filter self static stdClass"
|
||||
};return{aliases:["php3","php4","php5","php6","php7","php8"],
|
||||
case_insensitive:!0,keywords:c,
|
||||
contains:[e.HASH_COMMENT_MODE,e.COMMENT("//","$",{contains:[t]
|
||||
}),e.COMMENT("/\\*","\\*/",{contains:[{className:"doctag",begin:"@[A-Za-z]+"}]
|
||||
}),e.COMMENT("__halt_compiler.+?;",!1,{endsWithParent:!0,
|
||||
keywords:"__halt_compiler"}),t,{className:"keyword",begin:/\$this\b/},r,{
|
||||
begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",
|
||||
relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,
|
||||
illegal:"[$%\\[]",contains:[e.UNDERSCORE_TITLE_MODE,{begin:"=>"},{
|
||||
className:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,
|
||||
keywords:s,contains:["self",r,e.C_BLOCK_COMMENT_MODE,l,c]}]},{className:"class",
|
||||
beginKeywords:"class interface",relevance:0,end:/\{/,excludeEnd:!0,
|
||||
illegal:/[:($"]/,contains:[{beginKeywords:"extends implements"
|
||||
},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",
|
||||
illegal:/[.']/,contains:[e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"use",
|
||||
relevance:0,end:";",contains:[e.UNDERSCORE_TITLE_MODE]},l,c]}}})());
|
||||
illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{
|
||||
begin:"=>",endsParent:!0},{className:"params",begin:"\\(",end:"\\)",
|
||||
excludeBegin:!0,excludeEnd:!0,keywords:c,
|
||||
contains:["self",r,e.C_BLOCK_COMMENT_MODE,l,s]}]},{className:"class",variants:[{
|
||||
beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",
|
||||
illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{
|
||||
beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{
|
||||
beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,
|
||||
contains:[e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"use",relevance:0,end:";",
|
||||
contains:[e.UNDERSCORE_TITLE_MODE]},l,s]}}})());
|
|
@ -1,35 +1,40 @@
|
|||
hljs.registerLanguage("python",(()=>{"use strict";return e=>{const n={
|
||||
keyword:["and","as","assert","async","await","break","class","continue","def","del","elif","else","except","finally","for","","from","global","if","import","in","is","lambda","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],
|
||||
$pattern:/[A-Za-z]\w+|__\w+__/,
|
||||
keyword:["and","as","assert","async","await","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],
|
||||
built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],
|
||||
literal:["__debug__","Ellipsis","False","None","NotImplemented","True"]},a={
|
||||
className:"meta",begin:/^(>>>|\.\.\.) /},s={className:"subst",begin:/\{/,
|
||||
end:/\}/,keywords:n,illegal:/#/},i={begin:/\{\{/,relevance:0},r={
|
||||
literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],
|
||||
type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]
|
||||
},a={className:"meta",begin:/^(>>>|\.\.\.) /},i={className:"subst",begin:/\{/,
|
||||
end:/\}/,keywords:n,illegal:/#/},s={begin:/\{\{/,relevance:0},t={
|
||||
className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{
|
||||
begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,
|
||||
contains:[e.BACKSLASH_ESCAPE,a],relevance:10},{
|
||||
begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,
|
||||
contains:[e.BACKSLASH_ESCAPE,a],relevance:10},{
|
||||
begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,
|
||||
contains:[e.BACKSLASH_ESCAPE,a,i,s]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,
|
||||
end:/"""/,contains:[e.BACKSLASH_ESCAPE,a,i,s]},{begin:/([uU]|[rR])'/,end:/'/,
|
||||
contains:[e.BACKSLASH_ESCAPE,a,s,i]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,
|
||||
end:/"""/,contains:[e.BACKSLASH_ESCAPE,a,s,i]},{begin:/([uU]|[rR])'/,end:/'/,
|
||||
relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{
|
||||
begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,
|
||||
end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,
|
||||
contains:[e.BACKSLASH_ESCAPE,i,s]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,
|
||||
contains:[e.BACKSLASH_ESCAPE,i,s]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]
|
||||
},t="[0-9](_?[0-9])*",l=`(\\b(${t}))?\\.(${t})|\\b(${t})\\.`,b={
|
||||
contains:[e.BACKSLASH_ESCAPE,s,i]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,
|
||||
contains:[e.BACKSLASH_ESCAPE,s,i]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]
|
||||
},r="[0-9](_?[0-9])*",l=`(\\b(${r}))?\\.(${r})|\\b(${r})\\.`,b={
|
||||
className:"number",relevance:0,variants:[{
|
||||
begin:`(\\b(${t})|(${l}))[eE][+-]?(${t})[jJ]?\\b`},{begin:`(${l})[jJ]?`},{
|
||||
begin:`(\\b(${r})|(${l}))[eE][+-]?(${r})[jJ]?\\b`},{begin:`(${l})[jJ]?`},{
|
||||
begin:"\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?\\b"},{
|
||||
begin:"\\b0[bB](_?[01])+[lL]?\\b"},{begin:"\\b0[oO](_?[0-7])+[lL]?\\b"},{
|
||||
begin:"\\b0[xX](_?[0-9a-fA-F])+[lL]?\\b"},{begin:`\\b(${t})[jJ]\\b`}]},o={
|
||||
className:"params",variants:[{begin:/\(\s*\)/,skip:!0,className:null},{
|
||||
begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:n,
|
||||
contains:["self",a,b,r,e.HASH_COMMENT_MODE]}]};return s.contains=[r,b,a],{
|
||||
name:"Python",aliases:["py","gyp","ipython"],keywords:n,
|
||||
illegal:/(<\/|->|\?)|=>/,contains:[a,b,{begin:/\bself\b/},{beginKeywords:"if",
|
||||
relevance:0},r,e.HASH_COMMENT_MODE,{variants:[{className:"function",
|
||||
beginKeywords:"def"},{className:"class",beginKeywords:"class"}],end:/:/,
|
||||
illegal:/[${=;\n,]/,contains:[e.UNDERSCORE_TITLE_MODE,o,{begin:/->/,
|
||||
endsWithParent:!0,keywords:"None"}]},{className:"meta",begin:/^[\t ]*@/,
|
||||
end:/(?=#)|$/,contains:[b,o,r]},{begin:/\b(print|exec)\(/}]}}})());
|
||||
begin:"\\b0[xX](_?[0-9a-fA-F])+[lL]?\\b"},{begin:`\\b(${r})[jJ]\\b`}]},o={
|
||||
className:"comment",
|
||||
begin:(d=/# type:/,((...e)=>e.map((e=>(e=>e?"string"==typeof e?e:e.source:null)(e))).join(""))("(?=",d,")")),
|
||||
end:/$/,keywords:n,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,
|
||||
endsWithParent:!0}]},c={className:"params",variants:[{className:"",
|
||||
begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,
|
||||
keywords:n,contains:["self",a,b,t,e.HASH_COMMENT_MODE]}]};var d
|
||||
;return i.contains=[t,b,a],{name:"Python",aliases:["py","gyp","ipython"],
|
||||
keywords:n,illegal:/(<\/|->|\?)|=>/,contains:[a,b,{begin:/\bself\b/},{
|
||||
beginKeywords:"if",relevance:0},t,o,e.HASH_COMMENT_MODE,{variants:[{
|
||||
className:"function",beginKeywords:"def"},{className:"class",
|
||||
beginKeywords:"class"}],end:/:/,illegal:/[${=;\n,]/,
|
||||
contains:[e.UNDERSCORE_TITLE_MODE,c,{begin:/->/,endsWithParent:!0,keywords:n}]
|
||||
},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[b,c,t]}]}}})());
|
|
@ -4,8 +4,8 @@ className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)\}/
|
|||
}]},s={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,i,{
|
||||
className:"variable",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]}]},t={
|
||||
className:"string",begin:/'/,end:/'/};return{name:"Microtik RouterOS script",
|
||||
aliases:["routeros","mikrotik"],case_insensitive:!0,keywords:{
|
||||
$pattern:/:?[\w-]+/,literal:n,
|
||||
aliases:["mikrotik"],case_insensitive:!0,keywords:{$pattern:/:?[\w-]+/,
|
||||
literal:n,
|
||||
keyword:r+" :"+r.split(" ").join(" :")+" :"+"global local beep delay put len typeof pick log time set find environment terminal error execute parse resolve toarray tobool toid toip toip6 tonum tostr totime".split(" ").join(" :")
|
||||
},contains:[{variants:[{begin:/\/\*/,end:/\*\//},{begin:/\/\//,end:/$/},{
|
||||
begin:/<\//,end:/>/}],illegal:/./},e.COMMENT("^#","$"),s,t,i,{
|
||||
|
|
|
@ -29,7 +29,7 @@ endsParent:!0,keywords:i},o=[t,{className:"class",beginKeywords:"class module",
|
|||
end:"$|;",illegal:/=/,contains:[n.inherit(n.TITLE_MODE,{
|
||||
begin:"[A-Za-z_]\\w*(::\\w+)*(\\?|!)?"}),{begin:"<\\s*",contains:[{
|
||||
begin:"("+n.IDENT_RE+"::)?"+n.IDENT_RE,relevance:0}]}].concat(b)},{
|
||||
className:"function",begin:e(/def\s*/,(_=a+"\\s*(\\(|;|$)",e("(?=",_,")"))),
|
||||
className:"function",begin:e(/def\s+/,(_=a+"\\s*(\\(|;|$)",e("(?=",_,")"))),
|
||||
relevance:0,keywords:"def",end:"$|;",contains:[n.inherit(n.TITLE_MODE,{begin:a
|
||||
}),l].concat(b)},{begin:n.IDENT_RE+"::"},{className:"symbol",
|
||||
begin:n.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
hljs.registerLanguage("sas",(()=>{"use strict";return e=>({name:"SAS",
|
||||
aliases:["sas","SAS"],case_insensitive:!0,keywords:{
|
||||
case_insensitive:!0,keywords:{
|
||||
literal:"null missing _all_ _automatic_ _character_ _infile_ _n_ _name_ _null_ _numeric_ _user_ _webout_",
|
||||
meta:"do if then else end until while abort array attrib by call cards cards4 catname continue datalines datalines4 delete delim delimiter display dm drop endsas error file filename footnote format goto in infile informat input keep label leave length libname link list lostcard merge missing modify options output out page put redirect remove rename replace retain return select set skip startsas stop title update waitsas where window x systask add and alter as cascade check create delete describe distinct drop foreign from group having index insert into in key like message modify msgtype not null on or order primary references reset restrict select set table unique update validate view where"
|
||||
},contains:[{className:"keyword",begin:/^\s*(proc [\w\d_]+|data|run|quit)[\s;]/
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,9 +1,9 @@
|
|||
hljs.registerLanguage("smali",(()=>{"use strict";return e=>{
|
||||
const n=["add","and","cmp","cmpg","cmpl","const","div","double","float","goto","if","int","long","move","mul","neg","new","nop","not","or","rem","return","shl","shr","sput","sub","throw","ushr","xor"]
|
||||
;return{name:"Smali",aliases:["smali"],contains:[{className:"string",begin:'"',
|
||||
end:'"',relevance:0},e.COMMENT("#","$",{relevance:0}),{className:"keyword",
|
||||
variants:[{begin:"\\s*\\.end\\s[a-zA-Z0-9]*"},{begin:"^[ ]*\\.[a-zA-Z]*",
|
||||
relevance:0},{begin:"\\s:[a-zA-Z_0-9]*",relevance:0},{
|
||||
;return{name:"Smali",contains:[{className:"string",begin:'"',end:'"',relevance:0
|
||||
},e.COMMENT("#","$",{relevance:0}),{className:"keyword",variants:[{
|
||||
begin:"\\s*\\.end\\s[a-zA-Z0-9]*"},{begin:"^[ ]*\\.[a-zA-Z]*",relevance:0},{
|
||||
begin:"\\s:[a-zA-Z_0-9]*",relevance:0},{
|
||||
begin:"\\s(transient|constructor|abstract|final|synthetic|public|private|protected|static|bridge|system)"
|
||||
}]},{className:"built_in",variants:[{begin:"\\s("+n.join("|")+")\\s"},{
|
||||
begin:"\\s("+n.join("|")+")((-|/)[a-zA-Z0-9]+)+\\s",relevance:10},{
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -2,7 +2,7 @@ hljs.registerLanguage("swift",(()=>{"use strict";function e(e){
|
|||
return e?"string"==typeof e?e:e.source:null}function n(e){return a("(?=",e,")")}
|
||||
function a(...n){return n.map((n=>e(n))).join("")}function t(...n){
|
||||
return"("+n.map((n=>e(n))).join("|")+")"}
|
||||
const i=e=>a(/\b/,e,/\w$/.test(e)?/\b/:/\B/),s=["Protocol","Type"].map(i),u=["init","self"].map(i),c=["Any","Self"],r=["associatedtype",/as\?/,/as!/,"as","break","case","catch","class","continue","convenience","default","defer","deinit","didSet","do","dynamic","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","lazy","let","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],o=["false","nil","true"],l=["assignment","associativity","higherThan","left","lowerThan","none","right"],m=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warn_unqualified_access","#warning"],d=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],p=t(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),F=t(p,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),b=a(p,F,"*"),h=t(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),f=t(h,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),w=a(h,f,"*"),y=a(/[A-Z]/,f,"*"),g=["autoclosure",a(/convention\(/,t("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",a(/objc\(/,w,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","testable","UIApplicationMain","unknown","usableFromInline"],E=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"]
|
||||
const i=e=>a(/\b/,e,/\w$/.test(e)?/\b/:/\B/),s=["Protocol","Type"].map(i),u=["init","self"].map(i),c=["Any","Self"],r=["associatedtype","async","await",/as\?/,/as!/,"as","break","case","catch","class","continue","convenience","default","defer","deinit","didSet","do","dynamic","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","lazy","let","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],o=["false","nil","true"],l=["assignment","associativity","higherThan","left","lowerThan","none","right"],m=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warn_unqualified_access","#warning"],d=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],p=t(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),F=t(p,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),b=a(p,F,"*"),h=t(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),f=t(h,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),w=a(h,f,"*"),y=a(/[A-Z]/,f,"*"),g=["autoclosure",a(/convention\(/,t("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",a(/objc\(/,w,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","testable","UIApplicationMain","unknown","usableFromInline"],E=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"]
|
||||
;return e=>{const p={match:/\s+/,relevance:0},h=e.COMMENT("/\\*","\\*/",{
|
||||
contains:["self"]}),v=[e.C_LINE_COMMENT_MODE,h],N={className:"keyword",
|
||||
begin:a(/\./,n(t(...s,...u))),end:t(...s,...u),excludeBegin:!0},A={
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
hljs.registerLanguage("tcl",(()=>{"use strict";return e=>({name:"Tcl",
|
||||
hljs.registerLanguage("tcl",(()=>{"use strict";function e(...e){
|
||||
return e.map((e=>{return(a=e)?"string"==typeof a?a:a.source:null;var a
|
||||
})).join("")}return a=>{const t=/[a-zA-Z_][a-zA-Z0-9_]*/,r={className:"number",
|
||||
variants:[a.BINARY_NUMBER_MODE,a.C_NUMBER_MODE]};return{name:"Tcl",
|
||||
aliases:["tk"],
|
||||
keywords:"after append apply array auto_execok auto_import auto_load auto_mkindex auto_mkindex_old auto_qualify auto_reset bgerror binary break catch cd chan clock close concat continue dde dict encoding eof error eval exec exit expr fblocked fconfigure fcopy file fileevent filename flush for foreach format gets glob global history http if incr info interp join lappend|10 lassign|10 lindex|10 linsert|10 list llength|10 load lrange|10 lrepeat|10 lreplace|10 lreverse|10 lsearch|10 lset|10 lsort|10 mathfunc mathop memory msgcat namespace open package parray pid pkg::create pkg_mkIndex platform platform::shell proc puts pwd read refchan regexp registry regsub|10 rename return safe scan seek set socket source split string subst switch tcl_endOfWord tcl_findLibrary tcl_startOfNextWord tcl_startOfPreviousWord tcl_wordBreakAfter tcl_wordBreakBefore tcltest tclvars tell time tm trace unknown unload unset update uplevel upvar variable vwait while",
|
||||
contains:[e.COMMENT(";[ \\t]*#","$"),e.COMMENT("^[ \\t]*#","$"),{
|
||||
contains:[a.COMMENT(";[ \\t]*#","$"),a.COMMENT("^[ \\t]*#","$"),{
|
||||
beginKeywords:"proc",end:"[\\{]",excludeEnd:!0,contains:[{className:"title",
|
||||
begin:"[ \\t\\n\\r]+(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"[ \\t\\n\\r]",
|
||||
endsWithParent:!0,excludeEnd:!0}]},{excludeEnd:!0,variants:[{
|
||||
begin:"\\$(\\{)?(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*\\(([a-zA-Z0-9_])*\\)",
|
||||
end:"[^a-zA-Z0-9_\\}\\$]"},{begin:"\\$(\\{)?(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",
|
||||
end:"(\\))?[^a-zA-Z0-9_\\}\\$]"}]},{className:"string",
|
||||
contains:[e.BACKSLASH_ESCAPE],variants:[e.inherit(e.QUOTE_STRING_MODE,{
|
||||
illegal:null})]},{className:"number",
|
||||
variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]}]})})());
|
||||
endsWithParent:!0,excludeEnd:!0}]},{className:"variable",variants:[{
|
||||
begin:e(/\$/,(n=/::/,e("(",n,")?")),t,"(::",t,")*")},{
|
||||
begin:"\\$\\{(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"\\}",contains:[r]}]},{
|
||||
className:"string",contains:[a.BACKSLASH_ESCAPE],
|
||||
variants:[a.inherit(a.QUOTE_STRING_MODE,{illegal:null})]},r]};var n}})());
|
|
@ -1,5 +1,5 @@
|
|||
hljs.registerLanguage("typescript",(()=>{"use strict"
|
||||
;const e="[A-Za-z$_][0-9A-Za-z$_]*",n=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],a=["true","false","null","undefined","NaN","Infinity"],s=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],["arguments","this","super","console","window","document","localStorage","module","global"],["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer"],["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"])
|
||||
;const e="[A-Za-z$_][0-9A-Za-z$_]*",n=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],a=["true","false","null","undefined","NaN","Infinity"],s=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],["arguments","this","super","console","window","document","localStorage","module","global"],["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"])
|
||||
;function t(e){return r("(?=",e,")")}function r(...e){return e.map((e=>{
|
||||
return(n=e)?"string"==typeof n?n:n.source:null;var n})).join("")}return i=>{
|
||||
const c={$pattern:e,
|
||||
|
@ -25,27 +25,27 @@ begin:"\\b0[0-7]+n?\\b"}],relevance:0},u={className:"subst",begin:"\\$\\{",
|
|||
end:"\\}",keywords:l,contains:[]},E={begin:"html`",end:"",starts:{end:"`",
|
||||
returnEnd:!1,contains:[i.BACKSLASH_ESCAPE,u],subLanguage:"xml"}},m={
|
||||
begin:"css`",end:"",starts:{end:"`",returnEnd:!1,
|
||||
contains:[i.BACKSLASH_ESCAPE,u],subLanguage:"css"}},_={className:"string",
|
||||
begin:"`",end:"`",contains:[i.BACKSLASH_ESCAPE,u]},y={className:"comment",
|
||||
contains:[i.BACKSLASH_ESCAPE,u],subLanguage:"css"}},y={className:"string",
|
||||
begin:"`",end:"`",contains:[i.BACKSLASH_ESCAPE,u]},_={className:"comment",
|
||||
variants:[i.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{
|
||||
className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",
|
||||
end:"\\}",relevance:0},{className:"variable",begin:c+"(?=\\s*(-)|$)",
|
||||
endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]
|
||||
}),i.C_BLOCK_COMMENT_MODE,i.C_LINE_COMMENT_MODE]
|
||||
},p=[i.APOS_STRING_MODE,i.QUOTE_STRING_MODE,E,m,_,g,i.REGEXP_MODE]
|
||||
},p=[i.APOS_STRING_MODE,i.QUOTE_STRING_MODE,E,m,y,g,i.REGEXP_MODE]
|
||||
;u.contains=p.concat({begin:/\{/,end:/\}/,keywords:l,contains:["self"].concat(p)
|
||||
});const N=[].concat(y,u.contains),f=N.concat([{begin:/\(/,end:/\)/,keywords:l,
|
||||
});const N=[].concat(_,u.contains),f=N.concat([{begin:/\(/,end:/\)/,keywords:l,
|
||||
contains:["self"].concat(N)}]),A={className:"params",begin:/\(/,end:/\)/,
|
||||
excludeBegin:!0,excludeEnd:!0,keywords:l,contains:f};return{name:"Javascript",
|
||||
aliases:["js","jsx","mjs","cjs"],keywords:l,exports:{PARAMS_CONTAINS:f},
|
||||
illegal:/#(?![$_A-z])/,contains:[i.SHEBANG({label:"shebang",binary:"node",
|
||||
relevance:5}),{label:"use_strict",className:"meta",relevance:10,
|
||||
begin:/^\s*['"]use (strict|asm)['"]/
|
||||
},i.APOS_STRING_MODE,i.QUOTE_STRING_MODE,E,m,_,y,g,{
|
||||
},i.APOS_STRING_MODE,i.QUOTE_STRING_MODE,E,m,y,_,g,{
|
||||
begin:r(/[{,\n]\s*/,t(r(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,c+"\\s*:"))),
|
||||
relevance:0,contains:[{className:"attr",begin:c+t("\\s*:"),relevance:0}]},{
|
||||
begin:"("+i.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",
|
||||
keywords:"return throw case",contains:[y,i.REGEXP_MODE,{className:"function",
|
||||
keywords:"return throw case",contains:[_,i.REGEXP_MODE,{className:"function",
|
||||
begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+i.UNDERSCORE_IDENT_RE+")\\s*=>",
|
||||
returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{
|
||||
begin:i.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0
|
||||
|
@ -72,4 +72,4 @@ end:/\{/,excludeEnd:!0,keywords:"interface extends"
|
|||
}]),l(b,"shebang",i.SHEBANG()),l(b,"use_strict",{className:"meta",relevance:10,
|
||||
begin:/^\s*['"]use strict['"]/
|
||||
}),b.contains.find((e=>"function"===e.className)).relevance=0,Object.assign(b,{
|
||||
name:"TypeScript",aliases:["ts"]}),b}})());
|
||||
name:"TypeScript",aliases:["ts","tsx"]}),b}})());
|
|
@ -25,5 +25,5 @@ end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{
|
|||
className:"tag",begin:/<>|<\/>/},{className:"tag",
|
||||
begin:a(/</,n(a(t,s(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",
|
||||
begin:t,relevance:0,starts:m}]},{className:"tag",begin:a(/<\//,n(a(t,/>/))),
|
||||
contains:[{className:"name",begin:t,relevance:0},{begin:/>/,relevance:0}]}]}}
|
||||
})());
|
||||
contains:[{className:"name",begin:t,relevance:0},{begin:/>/,relevance:0,
|
||||
endsParent:!0}]}]}}})());
|
|
@ -21,4 +21,4 @@ className:"number",
|
|||
begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b"
|
||||
},{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},t,g,s],r=[...b]
|
||||
;return r.pop(),r.push(i),l.contains=r,{name:"YAML",case_insensitive:!0,
|
||||
aliases:["yml","YAML"],contains:b}}})());
|
||||
aliases:["yml"],contains:b}}})());
|
293
vendor/assets/javascripts/highlightjs/package.json
vendored
293
vendor/assets/javascripts/highlightjs/package.json
vendored
|
@ -6,7 +6,7 @@
|
|||
"syntax"
|
||||
],
|
||||
"homepage": "https://highlightjs.org/",
|
||||
"version": "10.6.0",
|
||||
"version": "10.7.3",
|
||||
"author": {
|
||||
"name": "Ivan Sagalaev",
|
||||
"email": "maniac@softwaremaniacs.org"
|
||||
|
@ -22,295 +22,7 @@
|
|||
"Jan T. Sott <git@idleberg.com>",
|
||||
"Li Xuanji <xuanji@gmail.com>",
|
||||
"Marcos Cáceres <marcos@marcosc.com>",
|
||||
"Sang Dang <sang.dang@polku.io>",
|
||||
"Peter Leonov <gojpeg@gmail.com>",
|
||||
"Vanessa Sochat (https://github.com/vsoch)",
|
||||
"Victor Karamzin <Victor.Karamzin@enterra-inc.com>",
|
||||
"Vsevolod Solovyov <vsevolod.solovyov@gmail.com>",
|
||||
"Anton Kovalyov <anton@kovalyov.net>",
|
||||
"Nikita Ledyaev <lenikita@yandex.ru>",
|
||||
"Konstantin Evdokimenko <qewerty@gmail.com>",
|
||||
"Dmitri Roudakov <dmitri@roudakov.ru>",
|
||||
"Yuri Ivanov <ivanov@supersoft.ru>",
|
||||
"Vladimir Ermakov <vooon341@mail.ru>",
|
||||
"Vladimir Gubarkov <xonixx@gmail.com>",
|
||||
"Brian Beck <exogen@gmail.com>",
|
||||
"MajestiC <majestic2k@gmail.com>",
|
||||
"Vasily Polovnyov <vast@whiteants.net>",
|
||||
"Vladimir Epifanov <voldmar@voldmar.ru>",
|
||||
"Alexander Makarov <sam@rmcreative.ru>",
|
||||
"Vah <vahtenberg@gmail.com>",
|
||||
"Shuen-Huei Guan <drake.guan@gmail.com>",
|
||||
"Jason Diamond <jason@diamond.name>",
|
||||
"Michal Gabrukiewicz <mgabru@gmail.com>",
|
||||
"Ruslan Keba <rukeba@gmail.com>",
|
||||
"Sergey Baranov <segyrn@yandex.ru>",
|
||||
"Zaripov Yura <yur4ik7@ukr.net>",
|
||||
"Oleg Volchkov <oleg@volchkov.net>",
|
||||
"Vasily Mikhailitchenko <vaskas@programica.ru>",
|
||||
"Jan Berkel <jan.berkel@gmail.com>",
|
||||
"Vladimir Moskva <vladmos@gmail.com>",
|
||||
"Loren Segal <lsegal@soen.ca>",
|
||||
"Andrew Fedorov <dmmdrs@mail.ru>",
|
||||
"Igor Kalnitsky <igor@kalnitsky.org>",
|
||||
"Valerii Hiora <valerii.hiora@gmail.com>",
|
||||
"Nikolay Zakharov <nikolay.desh@gmail.com>",
|
||||
"Dmitry Kovega <arhibot@gmail.com>",
|
||||
"Sergey Ignatov <sergey@ignatov.spb.su>",
|
||||
"Antono Vasiljev <self@antono.info>",
|
||||
"Stephan Kountso <steplg@gmail.com>",
|
||||
"pumbur <pumbur@pumbur.net>",
|
||||
"John Crepezzi <john.crepezzi@gmail.com>",
|
||||
"Andrey Vlasovskikh <andrey.vlasovskikh@gmail.com>",
|
||||
"Alexander Myadzel <myadzel@gmail.com>",
|
||||
"Evgeny Stepanischev <imbolk@gmail.com>",
|
||||
"Dmytrii Nagirniak <dnagir@gmail.com>",
|
||||
"Luigi Maselli <grigio.org@gmail.com>",
|
||||
"Denis Bardadym <bardadymchik@gmail.com>",
|
||||
"Aahan Krish <geekpanth3r@gmail.com>",
|
||||
"Ilya Baryshev <baryshev@gmail.com>",
|
||||
"Aleksandar Ruzicic <aleksandar@ruzicic.info>",
|
||||
"Joe Cheng <joe@rstudio.org>",
|
||||
"Angel G. Olloqui <angelgarcia.mail@gmail.com>",
|
||||
"Jason Tate <adminz@web-cms-designs.com>",
|
||||
"Sergey Tikhomirov <sergey@tikhomirov.io>",
|
||||
"Marc Fornos <marc.fornos@gmail.com>",
|
||||
"Yoshihide Jimbo <yjimbo@gmail.com>",
|
||||
"Casey Duncan <casey.duncan@gmail.com>",
|
||||
"Eugene Nizhibitsky <nizhibitsky@gmail.com>",
|
||||
"Alberto Gimeno <gimenete@gmail.com>",
|
||||
"Kirk Kimmel <kimmel.k.programmer@gmail.com>",
|
||||
"Nathan Grigg <nathan@nathanamy.org>",
|
||||
"Dr. Drang <drdrang@gmail.com>",
|
||||
"Robin Ward <robin.ward@gmail.com>",
|
||||
"Dmitry Medvinsky <me@dmedvinsky.name>",
|
||||
"Jason Jacobson <jason.a.jacobson@gmail.com>",
|
||||
"Jonas Follesø <jonas@follesoe.no>",
|
||||
"Dan Allen <dan.j.allen@gmail.com>",
|
||||
"noformnocontent <i@noformnocontent.com>",
|
||||
"Damien White <damien.white@visoftinc.com>",
|
||||
"Alexander Marenin <great_muchacho@mail.ru>",
|
||||
"Cédric Néhémie <cedric.nehemie@gmail.com>",
|
||||
"Simon Madine <simon@angryrobotzombie.com>",
|
||||
"Benjamin Pannell <contact@sierrasoftworks.com>",
|
||||
"Eric Knibbe <eric@lassosoft.com>",
|
||||
"Poren Chiang <ren.chiang@gmail.com>",
|
||||
"Kelley van Evert <kelleyvanevert@gmail.com>",
|
||||
"Kurt Emch <kurt@kurtemch.com>",
|
||||
"Mehdi Dogguy <mehdi@dogguy.org>",
|
||||
"Nicolas Braud-Santoni <nicolas.braud-santoni@ens-cachan.fr>",
|
||||
"Ralf Bitter <rabit@revigniter.com>",
|
||||
"Sylvestre Ledru <sylvestre.ledru@scilab-enterprises.com>",
|
||||
"Troy Kershaw <hello@troykershaw.com>",
|
||||
"Zena Treep <zena.treep@gmail.com>",
|
||||
"Daniel Kvasnicka <dkvasnicka@vendavo.com>",
|
||||
"Carlo Kok <ck@remobjects.com>",
|
||||
"Bram de Haan <info@atelierbramdehaan.nl>",
|
||||
"Seongwon Lee <dlimpid@gmail.com>",
|
||||
"Zaven Muradyan <megalivoithos@gmail.com>",
|
||||
"Brent Bradbury <brent@brentium.com>",
|
||||
"Martin Dilling-Hansen <martindlling@gmail.com>",
|
||||
"Ilya Vassilevsky <vassilevsky@gmail.com>",
|
||||
"Josh Adams <josh@isotope11.com>",
|
||||
"Dan Tao <daniel.tao@gmail.com>",
|
||||
"Jeff Escalante <hello@jenius.me>",
|
||||
"Jun Yang <yangjvn@126.com>",
|
||||
"Nikolay Lisienko <info@neor.ru>",
|
||||
"Heiko August <post@auge8472.de>",
|
||||
"Domen Kožar <domen@dev.si>",
|
||||
"Travis Odom <travis.a.odom@gmail.com>",
|
||||
"innocenat <innocenat@gmail.com>",
|
||||
"Arthur Bikmullin <devolonter@gmail.com>",
|
||||
"Pascal Hurni <phi@ruby-reactive.org>",
|
||||
"Roman Shmatov <romanshmatov@gmail.com>",
|
||||
"Nic West <nic@letolab.com>",
|
||||
"Panu Horsmalahti <panu.horsmalahti@iki.fi>",
|
||||
"Flaviu Tamas <tamas.flaviu@gmail.com>",
|
||||
"Damian Mee <mee.damian@gmail.com>",
|
||||
"Christopher Kaster <ikasoki@gmail.com>",
|
||||
"Chris Eidhof <chris@eidhof.nl>",
|
||||
"Nate Cook <natecook@gmail.com>",
|
||||
"Matt Diephouse <matt@diephouse.com>",
|
||||
"Erik Osheim <d_m@plastic-idolatry.com>",
|
||||
"Guillaume Laforge <glaforge@gmail.com>",
|
||||
"Lucas Mazza <lucastmazza@gmail.com>",
|
||||
"Maxim Dikun <dikmax@gmail.com>",
|
||||
"Henrik Feldt <henrik@haf.se>",
|
||||
"Anton Kochkov <anton.kochkov@gmail.com>",
|
||||
"Michael Allen <Michael.Allen@benefitfocus.com>",
|
||||
"JP Verkamp <me@jverkamp.com>",
|
||||
"Adam Joseph Cook <adam.joseph.cook@gmail.com>",
|
||||
"Sergey Vidyuk <svidyuk@gmail.com>",
|
||||
"Radek Liska <radekliska@gmail.com>",
|
||||
"Jose Molina Colmenero <gaudy41@gmail.com>",
|
||||
"Max Mikhailov <seven.phases.max@gmail.com>",
|
||||
"Bryant Williams <b.n.williams@gmail.com>",
|
||||
"Erik Paluka <erik.paluka@gmail.com>",
|
||||
"Luke Holder <lukemh@gmail.com>",
|
||||
"David Mohundro <david@mohundro.com>",
|
||||
"Nicholas Blumhardt <nblumhardt@nblumhardt.com>",
|
||||
"Christophe de Dinechin <christophe@taodyne.com>",
|
||||
"Taneli Vatanen <taneli.vatanen@gmail.com>",
|
||||
"Jen Evers-Corvina <jen@sevvie.net>",
|
||||
"Kassio Borges <kassioborgesm@gmail.com>",
|
||||
"Cedric Sohrauer <sohrauer@googlemail.com>",
|
||||
"Mickaël Delahaye <mickael.delahaye@gmail.com>",
|
||||
"Hakan Özler <ozler.hakan@gmail.com>",
|
||||
"Trey Shugart <treshugart@gmail.com>",
|
||||
"Vincent Zurczak <vzurczak@linagora.com>",
|
||||
"Adam Joseph Cook <adam.joseph.cook@gmail.com>",
|
||||
"Edwin Dalorzo <edwin@dalorzo.org>",
|
||||
"mucaho <mkucko@gmail.com>",
|
||||
"Dennis Titze <dennis.titze@gmail.com>",
|
||||
"Jon Evans <jon@craftyjon.com>",
|
||||
"Brian Quistorff <bquistorff@gmail.com>",
|
||||
"Jonathan Suever <suever@gmail.com>",
|
||||
"Alexis Hénaut <alexis@henaut.net>",
|
||||
"Chris Kiehl <audionautic@gmail.com>",
|
||||
"Peter Piwowarski <oldlaptop654@aol.com>",
|
||||
"Kenta Sato <bicycle1885@gmail.com>",
|
||||
"Anthony Scemama <scemama@irsamc.ups-tlse.fr>",
|
||||
"Taufik Nurrohman <latitudu.latitudu@gmail.com>",
|
||||
"Pedro Oliveira <kanytu@gmail.com>",
|
||||
"Gu Yiling <justice360@gmail.com>",
|
||||
"Thomas Applencourt <thomas.applencourt@irsamc.ups-tlse.fr>",
|
||||
"Andrew Farmer <ahfarmer@gmail.com>",
|
||||
"Sergey Mashkov <cy6erGn0m@gmail.com>",
|
||||
"Raivo Laanemets <raivo@infdot.com>",
|
||||
"Kenneth Fuglsang <kfuglsang@gmail.com>",
|
||||
"David Anson <david@dlaa.me>",
|
||||
"Louis Barranqueiro <louis.barranqueiro@gmail.com>",
|
||||
"Tim Schumacher <tim@datenknoten.me>",
|
||||
"Lucas Werkmeister <mail@lucaswerkmeister.de>",
|
||||
"Dan Panzarella <alsoelp@gmail.com>",
|
||||
"Bruno Dias <bruno.r.dias@gmail.com>",
|
||||
"Jay Strybis <jay.strybis@gmail.com>",
|
||||
"Guillaume Gomez <guillaume1.gomez@gmail.com>",
|
||||
"Janis Voigtländer <janis.voigtlaender@gmail.com>",
|
||||
"Dirk Kirsten <dk@basex.org>",
|
||||
"MY Sun <simonmysun@gmail.com>",
|
||||
"Vadimtro <vadimtro@yahoo.com>",
|
||||
"Benjamin Auder <benjamin.auder@gmail.com>",
|
||||
"Dotan Dimet <dotan@corky.net>",
|
||||
"Manh Tuan <junookyo@gmail.com>",
|
||||
"Philippe Charrière <ph.charriere@gmail.com>",
|
||||
"Stefan Bechert <stefan.bechert@gmx.net>",
|
||||
"Samuel Reed <sam@bitmex.com>",
|
||||
"Yury Selivanov <yselivanov@gmail.com>",
|
||||
"Tsuyusato Kitsune <make.just.on@gmail.com>",
|
||||
"Mick MacCallum <micksmaccallum@gmail.com>",
|
||||
"Kristoffer Gronlund <kgronlund@suse.com>",
|
||||
"Søren Enevoldsen <senevoldsen90@gmail.com>",
|
||||
"Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>",
|
||||
"Ladislav Prskavec <ladislav@prskavec.net>",
|
||||
"Jan Kühle <jkuehle90@gmail.com>",
|
||||
"Stefan Wienert <stwienert@gmail.com>",
|
||||
"Nikita Savchenko <zitros.lab@gmail.com>",
|
||||
"Stefania Mellai <s.mellai@arduino.cc>",
|
||||
"Nebuleon Fumika <nebuleon.fumika@gmail.com>",
|
||||
"prince <MC.prince.0203@gmail.com>",
|
||||
"Brendan Rocks <rocks.brendan@gmail.com>",
|
||||
"Raphaël Assénat <raph@raphnet.net>",
|
||||
"Matt Evans <matt@aptech.com>",
|
||||
"Martin Braun <martin.braun@ettus.com>",
|
||||
"Boris Cherny <boris@performancejs.com>",
|
||||
"John Foster <jfoster@esri.com>",
|
||||
"Robert Dodier <robert.dodier@gmail.com>",
|
||||
"Anthony Dugois <dev.anthonydugois@gmail.com>",
|
||||
"Qeole <qeole@outlook.com>",
|
||||
"Denis Ciccale <dciccale@gmail.com>",
|
||||
"Michael Johnston <lastobelus@gmail.com>",
|
||||
"Taras <oxdef@oxdef.info>",
|
||||
"Philipp Wolfer <ph.wolfer@gmail.com>",
|
||||
"Mikko Kouhia <mikko.kouhia@iki.fi>",
|
||||
"Billy Quith <chinbillybilbo@gmail.com>",
|
||||
"Herbert Shin <initbar@protonmail.ch>",
|
||||
"Tristano Ajmone <tajmone@gmail.com>",
|
||||
"Taisuke Fujimoto <temp-impl@users.noreply.github.com>",
|
||||
"Boone Severson <boone.severson@gmail.com>",
|
||||
"Victor Zhou <OiCMudkips@users.noreply.github.com>",
|
||||
"Lars Schulna <kartoffelbrei.mit.muskatnuss@gmail.org>",
|
||||
"Jacob Childress <jacobc@gmail.com>",
|
||||
"Gavin Siu <gavsiu@gmail.com>",
|
||||
"Builder's Brewery <buildersbrewery@gmail.com>",
|
||||
"Sergey Bronnikov <sergeyb@bronevichok.ru>",
|
||||
"Joe Eli McIlvain <joe.eli.mac@gmail.org>",
|
||||
"Stephan Boyer <stephan@stephanboyer.com>",
|
||||
"Alex McKibben <alex@nullscope.net>",
|
||||
"Daniel Gamage <hellodanielgamage@gmail.com>",
|
||||
"Matthew Daly <matthewbdaly@gmail.com>",
|
||||
"Magnus Madsen <mmadsen@uwaterloo.ca>",
|
||||
"Camil Staps <info@camilstaps.nl>",
|
||||
"Alexander Lichter <manniL@gmx.net>",
|
||||
"Nicolas Le Gall <contact@nlegall.fr>",
|
||||
"Kenton Hamaluik <kentonh@gmail.com>",
|
||||
"Marvin Saignat <contact@zgmrvn.com>",
|
||||
"Michael Rodler <contact@f0rki.at>",
|
||||
"Sergey Sobko <s.sobko@profitware.ru>",
|
||||
"Hale Chan <halechan@qq.com>",
|
||||
"Kasper Andersen <kma_untrusted@protonmail.com>",
|
||||
"Philipp A. <flying-sheep@web.de>",
|
||||
"Guannan Wei <guannanwei@outlook.com>",
|
||||
"Sam Wu <samsam2310@gmail.com>",
|
||||
"Ike Ku <dempfi@yahoo.com>",
|
||||
"Andres Täht <andres.taht@gmail.com>",
|
||||
"Rene Saarsoo <nene@triin.net>",
|
||||
"Jordi Petit <jordi.petit@gmail.com>",
|
||||
"Raphaël Parrëe <rparree@edc4it.com>",
|
||||
"Joël Porquet <joel@porquet.org>",
|
||||
"Alex Arslan <ararslan@comcast.net>",
|
||||
"Stanislav Belov <stbelov@gmail.com>",
|
||||
"Ivan Dementev <ivan_div@mail.ru>",
|
||||
"Nicolas LLOBERA <nllobera@gmail.com>",
|
||||
"Morten Piibeleht <morten.piibeleht@gmail.com>",
|
||||
"Martin Clausen <martin.clausene@gmail.com>",
|
||||
"Arctic Ice Studio <development@arcticicestudio.com>",
|
||||
"Google Inc. ",
|
||||
"Ahmad Awais <me@AhmadAwais.com>",
|
||||
"Duncan Paterson <duncan@exist-db.org>",
|
||||
"Tristian Kelly <tristian.kelly560@gmail.com>",
|
||||
"Melissa Geels <melissa@nimble.tools>",
|
||||
"Dmitriy Tarasov <dimatar@gmail.com>",
|
||||
"Egor Rogov <e.rogov@postgrespro.ru>",
|
||||
"Meseta <meseta@gmail.com>",
|
||||
"Harmon <Harmon.Public@gmail.com>",
|
||||
"Eric Bailey <eric.w.bailey@gmail.com>",
|
||||
"Gustavo Costa <gusbemacbe@gmail.com>",
|
||||
"Jeffrey Arnold <jeffrey.arnold@gmail.com>",
|
||||
"Antoine Boisier-Michaud <aboisiermichaud@gmail.com>",
|
||||
"Alejandro Isaza <al@isaza.ca>",
|
||||
"Laurent Voullemier <laurent.voullemier@gmail.com>",
|
||||
"Sean T. Allen <sean@monkeysnatchbanana.com>",
|
||||
"Greg Cline <gregrcline@gmail.com>",
|
||||
"Sejin Jeon <jinaidy93@gmail.com>",
|
||||
"Taif Alimov <inzeppelin@gmail.com>",
|
||||
"Yuri Mazursky <mail@colomolome.com>",
|
||||
"Carl Baxter <carl@cbax.tech>",
|
||||
"Thomas Reichel <tom.p.reichel@gmail.com>",
|
||||
"G8t Guy <g8tguy@g8tguy.com>",
|
||||
"Samia Ali <samiaab1990@gmail.com>",
|
||||
"Alexandre Grison <a.grison@gmail.com>",
|
||||
"Jim Mason <jmason@ibinx.com>",
|
||||
"lioshi <lioshi@lioshi.com>",
|
||||
"David Pine <david.pine.7@gmail.com>",
|
||||
"Konrad Rudolph <konrad.rudolph@gmail.com>",
|
||||
"Tom Wallace <thomasmichaelwallace@gmail.com>",
|
||||
"Michael Newton (https://github.com/miken32)",
|
||||
"Richard Gibson (https://github.com/gibson042)",
|
||||
"Fredrik Ekre <ekrefredrik@gmail.com>",
|
||||
"Jan Pilzer (https://github.com/Hirse)",
|
||||
"Jonathan Sharpe <mail@jonrshar.pe>",
|
||||
"Michael Rush <michaelrush@gmail.com>",
|
||||
"Florian Bezdeka <florian@bezdeka.de>",
|
||||
"Marat Nagayev <nagaevmt@yandex.ru>",
|
||||
"Patrick Scheibe <patrick@halirutan.de>",
|
||||
"Kyle Brown (https://github.com/kylebrown9)",
|
||||
"Marcus Ortiz <mportiz08@gmail.com>",
|
||||
"Guillaume Grossetie <ggrossetie@yuzutech.fr>",
|
||||
"Steven Van Impe <steven.vanimpe@icloud.com>",
|
||||
"Martin Dørum <martid0311@gmail.com>",
|
||||
"John Haugeland <stonecypher@gmail.com>",
|
||||
"davidhcefx <davidhu0903ex3@gmail.com>"
|
||||
"Sang Dang <sang.dang@polku.io>"
|
||||
],
|
||||
"bugs": {
|
||||
"url": "https://github.com/highlightjs/highlight.js/issues"
|
||||
|
@ -343,6 +55,7 @@
|
|||
"@rollup/plugin-commonjs": "^17.0.0",
|
||||
"@rollup/plugin-json": "^4.1.0",
|
||||
"@rollup/plugin-node-resolve": "^11.1.0",
|
||||
"@types/mocha": "^8.2.2",
|
||||
"@typescript-eslint/eslint-plugin": "^4.6.1",
|
||||
"@typescript-eslint/parser": "^4.6.1",
|
||||
"clean-css": "^5.0.1",
|
||||
|
|
|
@ -152,10 +152,10 @@
|
|||
"@glimmer/interfaces" "^0.54.2"
|
||||
"@simple-dom/interface" "^1.4.0"
|
||||
|
||||
"@highlightjs/cdn-assets@^10.6.0":
|
||||
version "10.6.0"
|
||||
resolved "https://registry.yarnpkg.com/@highlightjs/cdn-assets/-/cdn-assets-10.6.0.tgz#ec1404662cd20ed3de4e918d952f01af6350d5d0"
|
||||
integrity sha512-u1nkZi2HRsZ3FuvnafUxhv6Bk3tyXboG4F0SE+QQJk+GhAxRQaENPMdZ6zVVQg6Vsv9r23VyWJLo4Vnw72NIxQ==
|
||||
"@highlightjs/cdn-assets@^10.7.0":
|
||||
version "10.7.3"
|
||||
resolved "https://registry.yarnpkg.com/@highlightjs/cdn-assets/-/cdn-assets-10.7.3.tgz#bccdef5cdfe4bf74ed9393cba528539f94753306"
|
||||
integrity sha512-Bz1c7NOPQE1h/0S3lYaDyA5wTimP9b8ppeN3HBfv+SF0IEeLsu86xneMcBvCaXBMwcwLc6/xGpyPOmPhCM8hAg==
|
||||
|
||||
"@json-editor/json-editor@^2.5.2":
|
||||
version "2.5.2"
|
||||
|
|
Loading…
Reference in New Issue
Block a user