This commit is contained in:
2025-05-09 05:30:08 +02:00
parent 7bb10e7df4
commit 73367bad9e
5322 changed files with 1266973 additions and 313 deletions

View File

@@ -0,0 +1,22 @@
import { createRequire } from "node:module";
import _createJiti from "../dist/jiti.cjs";
import transform from "../dist/babel.cjs";
function onError(err) {
throw err; /* ↓ Check stack trace ↓ */
}
const nativeImport = (id) => import(id);
export function createJiti(id, opts = {}) {
if (!opts.transform) {
opts = { ...opts, transform };
}
return _createJiti(id, opts, {
onError,
nativeImport,
createRequire,
});
}
export default createJiti;

View File

@@ -0,0 +1,7 @@
var stringify = require('../');
var obj = { d: 6, c: 5, b: [{z:3,y:2,x:1},9], a: 10 };
var s = stringify(obj, function (a, b) {
return a.value < b.value ? 1 : -1;
});
console.log(s);

View File

@@ -0,0 +1 @@
module.exports={C:{"48":0.05156,"60":0.00573,"78":0.01719,"106":0.00573,"111":0.01146,"113":0.02292,"115":0.38957,"127":0.00573,"128":0.26926,"129":0.00573,"131":0.00573,"133":0.02292,"134":0.04583,"135":0.48697,"136":1.64995,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 49 50 51 52 53 54 55 56 57 58 59 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 107 108 109 110 112 114 116 117 118 119 120 121 122 123 124 125 126 130 132 137 138 139 140 3.5 3.6"},D:{"52":0.02292,"74":0.01146,"79":0.0401,"87":0.01719,"90":0.0401,"93":0.00573,"95":0.00573,"98":0.00573,"100":0.01719,"103":0.06875,"108":0.05156,"109":0.32655,"110":0.01719,"111":0.02292,"112":0.02292,"113":0.14895,"114":0.25208,"116":0.20052,"118":0.08021,"119":0.00573,"120":0.05729,"121":0.08021,"122":0.18333,"123":0.03437,"124":0.03437,"125":0.00573,"126":0.09166,"127":0.19479,"128":0.16614,"129":0.04583,"130":0.38957,"131":0.97393,"132":1.92494,"133":11.34342,"134":16.41931,"135":0.02292,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 75 76 77 78 80 81 83 84 85 86 88 89 91 92 94 96 97 99 101 102 104 105 106 107 115 117 136 137 138"},F:{"46":0.00573,"87":0.00573,"88":0.00573,"95":0.10312,"113":0.00573,"114":0.00573,"116":0.41822,"117":1.62704,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 115 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"92":0.00573,"121":0.00573,"122":0.00573,"126":0.46978,"130":0.03437,"131":0.02292,"132":0.29791,"133":1.73016,"134":4.23373,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 123 124 125 127 128 129"},E:{"14":0.02292,"15":0.00573,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1","13.1":0.02865,"14.1":0.08021,"15.1":0.01146,"15.2-15.3":0.00573,"15.4":0.01719,"15.5":0.2177,"15.6":0.48124,"16.0":0.10885,"16.1":0.03437,"16.2":0.02292,"16.3":0.23489,"16.4":0.03437,"16.5":0.22343,"16.6":0.33801,"17.0":0.03437,"17.1":0.26353,"17.2":0.0401,"17.3":0.20052,"17.4":0.14895,"17.5":0.23489,"17.6":2.22858,"18.0":0.14895,"18.1":0.48697,"18.2":0.16614,"18.3":4.05613,"18.4":0.02865},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00376,"5.0-5.1":0,"6.0-6.1":0.01128,"7.0-7.1":0.00752,"8.1-8.4":0,"9.0-9.2":0.00564,"9.3":0.02631,"10.0-10.2":0.00188,"10.3":0.04322,"11.0-11.2":0.1992,"11.3-11.4":0.01315,"12.0-12.1":0.00752,"12.2-12.5":0.18604,"13.0-13.1":0.00376,"13.2":0.00564,"13.3":0.00752,"13.4-13.7":0.02631,"14.0-14.4":0.06577,"14.5-14.8":0.07893,"15.0-15.1":0.04322,"15.2-15.3":0.04322,"15.4":0.05262,"15.5":0.06014,"15.6-15.8":0.74042,"16.0":0.10524,"16.1":0.21611,"16.2":0.11275,"16.3":0.19544,"16.4":0.04322,"16.5":0.08081,"16.6-16.7":0.87761,"17.0":0.05262,"17.1":0.09396,"17.2":0.07141,"17.3":0.0996,"17.4":0.1992,"17.5":0.4435,"17.6-17.7":1.28728,"18.0":0.36081,"18.1":1.18016,"18.2":0.52807,"18.3":11.03678,"18.4":0.16349},P:{"4":0.01032,"21":0.02064,"22":0.01032,"23":0.02064,"24":0.01032,"25":0.01032,"26":0.15479,"27":3.07517,_:"20 5.0-5.4 6.2-6.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0","7.2-7.4":0.01032},I:{"0":0.00852,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.00001},K:{"0":0.32033,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},R:{_:"0"},M:{"0":0.67909},Q:{"14.9":0.0299},O:{"0":0.05125},H:{"0":0},L:{"0":19.58686}};

View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2018 inspiredware
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@@ -0,0 +1 @@
module.exports={A:{A:{"2":"K D E F A B mC"},B:{"1":"0 9 e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB I","2":"C L M G N O P Q H","516":"R S T U V W X Y Z a b c d"},C:{"2":"0 1 2 3 4 5 6 7 8 9 nC LC J PB K D E F A B C L M G N O P QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB MC wB NC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC Q H R OC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB I PC EC QC RC oC pC qC rC"},D:{"1":"JB KB LB MB NB OB I PC EC QC RC","2":"6 7 8 J PB K D E F A B C L M G N O RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB MC wB NC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC Q H R S T U V W X","130":"1 2 3 4 5 P QB","1028":"0 9 Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB"},E:{"1":"M G yC zC UC VC HC 0C IC WC XC YC ZC aC 1C JC bC cC dC eC fC 2C KC gC hC iC jC 3C","2":"J PB K D E F A B C sC SC tC uC vC wC TC FC","2049":"L GC xC"},F:{"1":"0 x y z","2":"1 2 3 4 5 6 7 8 F B C G N O P QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC Q H R OC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w 4C 5C 6C 7C FC kC 8C GC"},G:{"1":"QD RD SD UC VC HC TD IC WC XC YC ZC aC UD JC bC cC dC eC fC VD KC gC hC iC jC","2":"E SC 9C lC AD BD CD DD ED FD GD HD ID JD KD","2049":"LD MD ND OD PD"},H:{"2":"WD"},I:{"2":"LC J XD YD ZD aD lC bD","258":"I cD"},J:{"2":"D A"},K:{"1":"H","2":"A B C FC kC GC"},L:{"1":"I"},M:{"1":"EC"},N:{"2":"A B"},O:{"2":"HC"},P:{"1":"1 2 3 4 5 6 7 8 gD hD TC iD jD kD lD mD IC JC KC nD","2":"J","258":"dD eD fD"},Q:{"2":"oD"},R:{"2":"pD"},S:{"2":"qD rD"}},B:4,C:"Web Share API",D:true};

View File

@@ -0,0 +1,73 @@
'use strict';
module.exports = function generate_anyOf(it, $keyword, $ruleType) {
var out = ' ';
var $lvl = it.level;
var $dataLvl = it.dataLevel;
var $schema = it.schema[$keyword];
var $schemaPath = it.schemaPath + it.util.getProperty($keyword);
var $errSchemaPath = it.errSchemaPath + '/' + $keyword;
var $breakOnError = !it.opts.allErrors;
var $data = 'data' + ($dataLvl || '');
var $valid = 'valid' + $lvl;
var $errs = 'errs__' + $lvl;
var $it = it.util.copy(it);
var $closingBraces = '';
$it.level++;
var $nextValid = 'valid' + $it.level;
var $noEmptySchema = $schema.every(function($sch) {
return (it.opts.strictKeywords ? (typeof $sch == 'object' && Object.keys($sch).length > 0) || $sch === false : it.util.schemaHasRules($sch, it.RULES.all));
});
if ($noEmptySchema) {
var $currentBaseId = $it.baseId;
out += ' var ' + ($errs) + ' = errors; var ' + ($valid) + ' = false; ';
var $wasComposite = it.compositeRule;
it.compositeRule = $it.compositeRule = true;
var arr1 = $schema;
if (arr1) {
var $sch, $i = -1,
l1 = arr1.length - 1;
while ($i < l1) {
$sch = arr1[$i += 1];
$it.schema = $sch;
$it.schemaPath = $schemaPath + '[' + $i + ']';
$it.errSchemaPath = $errSchemaPath + '/' + $i;
out += ' ' + (it.validate($it)) + ' ';
$it.baseId = $currentBaseId;
out += ' ' + ($valid) + ' = ' + ($valid) + ' || ' + ($nextValid) + '; if (!' + ($valid) + ') { ';
$closingBraces += '}';
}
}
it.compositeRule = $it.compositeRule = $wasComposite;
out += ' ' + ($closingBraces) + ' if (!' + ($valid) + ') { var err = '; /* istanbul ignore else */
if (it.createErrors !== false) {
out += ' { keyword: \'' + ('anyOf') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: {} ';
if (it.opts.messages !== false) {
out += ' , message: \'should match some schema in anyOf\' ';
}
if (it.opts.verbose) {
out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';
}
out += ' } ';
} else {
out += ' {} ';
}
out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';
if (!it.compositeRule && $breakOnError) {
/* istanbul ignore if */
if (it.async) {
out += ' throw new ValidationError(vErrors); ';
} else {
out += ' validate.errors = vErrors; return false; ';
}
}
out += ' } else { errors = ' + ($errs) + '; if (vErrors !== null) { if (' + ($errs) + ') vErrors.length = ' + ($errs) + '; else vErrors = null; } ';
if (it.opts.allErrors) {
out += ' } ';
}
} else {
if ($breakOnError) {
out += ' if (true) { ';
}
}
return out;
}

View File

@@ -0,0 +1 @@
module.exports={C:{"4":0.0089,"34":0.00223,"52":0.00668,"59":0.00445,"78":0.00668,"83":0.00223,"99":0.03783,"110":0.00223,"115":0.09345,"120":0.00223,"123":0.00223,"124":0.00223,"125":0.00223,"127":0.00223,"128":0.02003,"130":0.00223,"131":0.00223,"132":0.00223,"133":0.00668,"134":0.0089,"135":0.16688,"136":0.60743,"137":0.00445,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 100 101 102 103 104 105 106 107 108 109 111 112 113 114 116 117 118 119 121 122 126 129 138 139 140 3.5 3.6"},D:{"39":0.00223,"40":0.00223,"41":0.00223,"42":0.00223,"43":0.00223,"44":0.00223,"45":0.00223,"46":0.00223,"47":0.00223,"48":0.00223,"49":0.00668,"50":0.00223,"51":0.00223,"52":0.00668,"53":0.00223,"54":0.00223,"55":0.00223,"56":0.00223,"57":0.00223,"58":0.00223,"59":0.00223,"60":0.00223,"65":0.00223,"66":0.02448,"74":0.00223,"75":0.00223,"76":0.00668,"78":0.00223,"79":0.01113,"81":0.00223,"84":0.00223,"85":0.00223,"87":0.02448,"88":0.00223,"89":0.00223,"90":0.00223,"91":0.00445,"92":0.00223,"93":0.00668,"94":0.00445,"95":0.00223,"96":0.00223,"98":0.00223,"99":0.00223,"100":0.00445,"101":0.00223,"102":0.00445,"103":0.0534,"104":0.01335,"105":0.00223,"106":0.00445,"107":0.00668,"108":0.01558,"109":0.7031,"110":0.00668,"111":0.01335,"112":0.00445,"113":0.00445,"114":0.02225,"115":0.00223,"116":0.07788,"117":0.00223,"118":0.00223,"119":0.01113,"120":0.01335,"121":0.01558,"122":0.08233,"123":0.02893,"124":0.03783,"125":0.04005,"126":0.04895,"127":0.1068,"128":0.11348,"129":0.02448,"130":0.0356,"131":0.17355,"132":0.23363,"133":3.91155,"134":8.0456,"135":0.0089,"136":0.00223,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 61 62 63 64 67 68 69 70 71 72 73 77 80 83 86 97 137 138"},F:{"86":0.00223,"87":0.00668,"88":0.00223,"95":0.02003,"102":0.00223,"114":0.00668,"115":0.00223,"116":0.1958,"117":0.59185,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 89 90 91 92 93 94 96 97 98 99 100 101 103 104 105 106 107 108 109 110 111 112 113 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.00223,"18":0.00223,"92":0.00668,"99":0.00223,"100":0.00223,"106":0.00223,"108":0.00223,"109":0.02448,"112":0.00223,"113":0.00223,"114":0.00668,"118":0.00223,"119":0.00223,"120":0.00223,"121":0.00223,"122":0.00445,"123":0.00223,"124":0.00223,"125":0.00223,"126":0.00445,"127":0.00445,"128":0.00445,"129":0.00668,"130":0.01113,"131":0.02893,"132":0.11125,"133":0.86108,"134":2.0381,_:"12 13 14 15 16 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 101 102 103 104 105 107 110 111 115 116 117"},E:{"14":0.00445,"15":0.00223,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 6.1 7.1 9.1 10.1","5.1":0.00223,"11.1":0.00445,"12.1":0.00445,"13.1":0.01113,"14.1":0.0178,"15.1":0.00223,"15.2-15.3":0.00223,"15.4":0.00445,"15.5":0.00445,"15.6":0.06898,"16.0":0.01558,"16.1":0.01113,"16.2":0.0089,"16.3":0.01335,"16.4":0.00445,"16.5":0.01113,"16.6":0.06898,"17.0":0.00445,"17.1":0.03338,"17.2":0.0178,"17.3":0.0089,"17.4":0.02225,"17.5":0.04005,"17.6":0.11348,"18.0":0.0267,"18.1":0.06008,"18.2":0.02893,"18.3":0.54735,"18.4":0.01558},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00153,"5.0-5.1":0,"6.0-6.1":0.0046,"7.0-7.1":0.00307,"8.1-8.4":0,"9.0-9.2":0.0023,"9.3":0.01074,"10.0-10.2":0.00077,"10.3":0.01765,"11.0-11.2":0.08134,"11.3-11.4":0.00537,"12.0-12.1":0.00307,"12.2-12.5":0.07597,"13.0-13.1":0.00153,"13.2":0.0023,"13.3":0.00307,"13.4-13.7":0.01074,"14.0-14.4":0.02686,"14.5-14.8":0.03223,"15.0-15.1":0.01765,"15.2-15.3":0.01765,"15.4":0.02149,"15.5":0.02456,"15.6-15.8":0.30235,"16.0":0.04297,"16.1":0.08825,"16.2":0.04604,"16.3":0.07981,"16.4":0.01765,"16.5":0.033,"16.6-16.7":0.35837,"17.0":0.02149,"17.1":0.03837,"17.2":0.02916,"17.3":0.04067,"17.4":0.08134,"17.5":0.1811,"17.6-17.7":0.52566,"18.0":0.14734,"18.1":0.48192,"18.2":0.21564,"18.3":4.5069,"18.4":0.06676},P:{"4":0.0213,"23":0.01065,"24":0.01065,"26":0.01065,"27":0.41529,_:"20 21 22 25 5.0-5.4 6.2-6.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0","7.2-7.4":0.0213},I:{"0":0.14741,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00004,"4.4":0,"4.4.3-4.4.4":0.00016},K:{"0":0.13995,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00478,"10":0.00239,"11":0.0885,_:"6 7 9 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},R:{_:"0"},M:{"0":0.20993},Q:{_:"14.9"},O:{"0":0.02333},H:{"0":0},L:{"0":70.34185}};

View File

@@ -0,0 +1 @@
module.exports={A:{A:{"2":"K D E F A B mC"},B:{"1":"Q H R S T U V W X Y Z","2":"C L M G","194":"N O P","513":"0 9 a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB I"},C:{"2":"1 2 3 4 5 6 7 8 nC LC J PB K D E F A B C L M G N O P QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB qC rC","194":"uB vB MC wB NC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B","450":"9B AC BC CC DC","513":"0 9 Q H R OC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB I PC EC QC RC oC pC"},D:{"1":"3B 4B 5B 6B 7B 8B 9B AC BC CC DC Q H R S T U V W X Y Z","2":"1 2 3 4 5 6 7 8 J PB K D E F A B C L M G N O P QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB MC","194":"wB NC xB yB zB 0B 1B 2B","513":"0 9 a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB I PC EC QC RC"},E:{"2":"J PB K D E F A sC SC tC uC vC wC","194":"B C L M G TC FC GC xC yC zC","513":"UC VC HC 0C IC WC XC YC ZC aC 1C JC bC cC dC eC fC 2C KC gC hC iC jC 3C"},F:{"1":"zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC","2":"1 2 3 4 5 6 7 8 F B C G N O P QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB 4C 5C 6C 7C FC kC 8C GC","194":"kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB","513":"0 DC Q H R OC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},G:{"2":"E SC 9C lC AD BD CD DD ED FD GD","194":"HD ID JD KD LD MD ND OD PD QD RD SD","513":"UC VC HC TD IC WC XC YC ZC aC UD JC bC cC dC eC fC VD KC gC hC iC jC"},H:{"2":"WD"},I:{"2":"LC J I XD YD ZD aD lC bD cD"},J:{"2":"D A"},K:{"2":"A B C FC kC GC","513":"H"},L:{"513":"I"},M:{"513":"EC"},N:{"2":"A B"},O:{"1":"HC"},P:{"2":"J dD eD fD gD hD TC iD jD kD lD","513":"1 2 3 4 5 6 7 8 mD IC JC KC nD"},Q:{"2":"oD"},R:{"513":"pD"},S:{"2":"qD","513":"rD"}},B:6,C:"Shared Array Buffer",D:true};

View File

@@ -0,0 +1 @@
module.exports={A:{A:{"2":"K D E F A B mC"},B:{"1":"0 9 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB I","2":"C L M G N O P"},C:{"1":"0 9 NC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC Q H R OC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB I PC EC QC RC oC pC","2":"1 2 3 4 5 6 7 8 nC LC J PB K D E F A B C L M G N O P QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB MC wB qC rC"},D:{"1":"0 9 9B AC BC CC DC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB I PC EC QC RC","2":"1 2 3 4 5 6 7 8 J PB K D E F A B C L M G N O P QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB MC wB NC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B"},E:{"1":"C L M G GC xC yC zC UC VC HC 0C IC WC XC YC ZC aC 1C JC bC cC dC eC fC 2C KC gC hC iC jC 3C","2":"J PB K D E F A B sC SC tC uC vC wC TC FC"},F:{"1":"0 wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC Q H R OC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 F B C G N O P QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB 4C 5C 6C 7C FC kC 8C GC"},G:{"1":"KD LD MD ND OD PD QD RD SD UC VC HC TD IC WC XC YC ZC aC UD JC bC cC dC eC fC VD KC gC hC iC jC","2":"E SC 9C lC AD BD CD DD ED FD GD HD ID JD"},H:{"2":"WD"},I:{"1":"I","2":"LC J XD YD ZD aD lC bD cD"},J:{"2":"D A"},K:{"1":"H","2":"A B C FC kC GC"},L:{"1":"I"},M:{"1":"EC"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"1 2 3 4 5 6 7 8 iD jD kD lD mD IC JC KC nD","2":"J dD eD fD gD hD TC"},Q:{"16":"oD"},R:{"16":"pD"},S:{"2":"qD","16":"rD"}},B:5,C:"WebAssembly Import/Export of Mutable Globals",D:true};

View File

@@ -0,0 +1,73 @@
//compile doT templates to js functions
'use strict';
var glob = require('glob')
, fs = require('fs')
, path = require('path')
, doT = require('dot')
, beautify = require('js-beautify').js_beautify;
var defsRootPath = process.argv[2] || path.join(__dirname, '../lib');
var defs = {};
var defFiles = glob.sync('./dot/**/*.def', { cwd: defsRootPath });
defFiles.forEach(function (f) {
var name = path.basename(f, '.def');
defs[name] = fs.readFileSync(path.join(defsRootPath, f));
});
var filesRootPath = process.argv[3] || path.join(__dirname, '../lib');
var files = glob.sync('./dot/**/*.jst', { cwd: filesRootPath });
var dotjsPath = path.join(filesRootPath, './dotjs');
try { fs.mkdirSync(dotjsPath); } catch(e) {}
console.log('\n\nCompiling:');
var FUNCTION_NAME = /function\s+anonymous\s*\(it[^)]*\)\s*{/;
var OUT_EMPTY_STRING = /out\s*\+=\s*'\s*';/g;
var ISTANBUL = /'(istanbul[^']+)';/g;
var ERROR_KEYWORD = /\$errorKeyword/g;
var ERROR_KEYWORD_OR = /\$errorKeyword\s+\|\|/g;
var VARS = [
'$errs', '$valid', '$lvl', '$data', '$dataLvl',
'$errorKeyword', '$closingBraces', '$schemaPath',
'$validate'
];
files.forEach(function (f) {
var keyword = path.basename(f, '.jst');
var targetPath = path.join(dotjsPath, keyword + '.js');
var template = fs.readFileSync(path.join(filesRootPath, f));
var code = doT.compile(template, defs);
code = code.toString()
.replace(OUT_EMPTY_STRING, '')
.replace(FUNCTION_NAME, 'function generate_' + keyword + '(it, $keyword, $ruleType) {')
.replace(ISTANBUL, '/* $1 */');
removeAlwaysFalsyInOr();
VARS.forEach(removeUnusedVar);
code = "'use strict';\nmodule.exports = " + code;
code = beautify(code, { indent_size: 2 }) + '\n';
fs.writeFileSync(targetPath, code);
console.log('compiled', keyword);
function removeUnusedVar(v) {
v = v.replace(/\$/g, '\\$$');
var regexp = new RegExp(v + '[^A-Za-z0-9_$]', 'g');
var count = occurrences(regexp);
if (count == 1) {
regexp = new RegExp('var\\s+' + v + '\\s*=[^;]+;|var\\s+' + v + ';');
code = code.replace(regexp, '');
}
}
function removeAlwaysFalsyInOr() {
var countUsed = occurrences(ERROR_KEYWORD);
var countOr = occurrences(ERROR_KEYWORD_OR);
if (countUsed == countOr + 1) code = code.replace(ERROR_KEYWORD_OR, '');
}
function occurrences(regexp) {
return (code.match(regexp) || []).length;
}
});

View File

@@ -0,0 +1 @@
module.exports={A:{A:{"2":"K D E F A B mC"},B:{"1":"0 9 S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB I","2":"C L M G N O P Q H R"},C:{"2":"0 1 2 3 4 5 6 7 8 9 nC LC J PB K D E F A B C L M G N O P QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB MC wB NC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC Q H R OC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB I PC EC QC RC oC pC qC rC"},D:{"1":"0 9 S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB I PC EC QC RC","2":"1 2 3 4 5 6 7 8 J PB K D E F A B C L M G N O P QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB MC wB NC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC Q H R"},E:{"1":"3C","2":"J PB K D E F A B C L M G sC SC tC uC vC wC TC FC GC xC yC zC UC VC HC 0C IC WC XC YC ZC aC 1C JC bC cC dC eC fC 2C KC gC hC iC jC"},F:{"1":"0 4B 5B 6B 7B 8B 9B AC BC CC DC Q H R OC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 F B C G N O P QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4C 5C 6C 7C FC kC 8C GC"},G:{"2":"E SC 9C lC AD BD CD DD ED FD GD HD ID JD KD LD MD ND OD PD QD RD SD UC VC HC TD IC WC XC YC ZC aC UD JC bC cC dC eC fC VD KC gC hC iC jC"},H:{"2":"WD"},I:{"1":"I","2":"LC J XD YD ZD aD lC bD cD"},J:{"2":"D A"},K:{"1":"H","2":"A B C FC kC GC"},L:{"1":"I"},M:{"2":"EC"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"1 2 3 4 5 6 7 8 kD lD mD IC JC KC nD","2":"J dD eD fD gD hD TC iD jD"},Q:{"2":"oD"},R:{"1":"pD"},S:{"2":"qD rD"}},B:7,C:"Trusted Types for DOM manipulation",D:true};

View File

@@ -0,0 +1,42 @@
# globals
> Global identifiers from different JavaScript environments
It's just a [JSON file](globals.json), so you can use it in any environment.
This package is used by ESLint 8 and earlier. For ESLint 9 and later, you should depend on this package directly in [your ESLint config](https://eslint.org/docs/latest/use/configure/language-options#predefined-global-variables).
## Install
```sh
npm install globals
```
## Usage
```js
import globals from 'globals';
console.log(globals.browser);
/*
{
addEventListener: false,
applicationCache: false,
ArrayBuffer: false,
atob: false,
}
*/
```
Each global is given a value of `true` or `false`. A value of `true` indicates that the variable may be overwritten. A value of `false` indicates that the variable should be considered read-only. This information is used by static analysis tools to flag incorrect behavior. We assume all variables should be `false` unless we hear otherwise.
For Node.js this package provides two sets of globals:
- `globals.nodeBuiltin`: Globals available to all code running in Node.js.
These will usually be available as properties on the `globalThis` object and include `process`, `Buffer`, but not CommonJS arguments like `require`.
See: https://nodejs.org/api/globals.html
- `globals.node`: A combination of the globals from `nodeBuiltin` plus all CommonJS arguments ("CommonJS module scope").
See: https://nodejs.org/api/modules.html#modules_the_module_scope
When analyzing code that is known to run outside of a CommonJS wrapper, for example, JavaScript modules, `nodeBuiltin` can find accidental CommonJS references.

View File

@@ -0,0 +1,17 @@
export function convertBlackAndWhiteToRGBA({ src, srcPos, dest, width, height, nonBlackColor, inverseDecode, }: {
src: any;
srcPos?: number | undefined;
dest: any;
width: any;
height: any;
nonBlackColor?: number | undefined;
inverseDecode?: boolean | undefined;
}): {
srcPos: number;
destPos: number;
};
export function convertToRGBA(params: any): {
srcPos: number;
destPos: number;
} | null;
export function grayToRGBA(src: any, dest: any): void;

View File

@@ -0,0 +1,88 @@
'use strict';
var Type = require('../type');
var YAML_DATE_REGEXP = new RegExp(
'^([0-9][0-9][0-9][0-9])' + // [1] year
'-([0-9][0-9])' + // [2] month
'-([0-9][0-9])$'); // [3] day
var YAML_TIMESTAMP_REGEXP = new RegExp(
'^([0-9][0-9][0-9][0-9])' + // [1] year
'-([0-9][0-9]?)' + // [2] month
'-([0-9][0-9]?)' + // [3] day
'(?:[Tt]|[ \\t]+)' + // ...
'([0-9][0-9]?)' + // [4] hour
':([0-9][0-9])' + // [5] minute
':([0-9][0-9])' + // [6] second
'(?:\\.([0-9]*))?' + // [7] fraction
'(?:[ \\t]*(Z|([-+])([0-9][0-9]?)' + // [8] tz [9] tz_sign [10] tz_hour
'(?::([0-9][0-9]))?))?$'); // [11] tz_minute
function resolveYamlTimestamp(data) {
if (data === null) return false;
if (YAML_DATE_REGEXP.exec(data) !== null) return true;
if (YAML_TIMESTAMP_REGEXP.exec(data) !== null) return true;
return false;
}
function constructYamlTimestamp(data) {
var match, year, month, day, hour, minute, second, fraction = 0,
delta = null, tz_hour, tz_minute, date;
match = YAML_DATE_REGEXP.exec(data);
if (match === null) match = YAML_TIMESTAMP_REGEXP.exec(data);
if (match === null) throw new Error('Date resolve error');
// match: [1] year [2] month [3] day
year = +(match[1]);
month = +(match[2]) - 1; // JS month starts with 0
day = +(match[3]);
if (!match[4]) { // no hour
return new Date(Date.UTC(year, month, day));
}
// match: [4] hour [5] minute [6] second [7] fraction
hour = +(match[4]);
minute = +(match[5]);
second = +(match[6]);
if (match[7]) {
fraction = match[7].slice(0, 3);
while (fraction.length < 3) { // milli-seconds
fraction += '0';
}
fraction = +fraction;
}
// match: [8] tz [9] tz_sign [10] tz_hour [11] tz_minute
if (match[9]) {
tz_hour = +(match[10]);
tz_minute = +(match[11] || 0);
delta = (tz_hour * 60 + tz_minute) * 60000; // delta in mili-seconds
if (match[9] === '-') delta = -delta;
}
date = new Date(Date.UTC(year, month, day, hour, minute, second, fraction));
if (delta) date.setTime(date.getTime() - delta);
return date;
}
function representYamlTimestamp(object /*, style*/) {
return object.toISOString();
}
module.exports = new Type('tag:yaml.org,2002:timestamp', {
kind: 'scalar',
resolve: resolveYamlTimestamp,
construct: constructYamlTimestamp,
instanceOf: Date,
represent: representYamlTimestamp
});

View File

@@ -0,0 +1 @@
module.exports={C:{"4":0.08282,"78":0.0036,"101":0.0036,"113":0.0036,"115":0.05041,"120":0.0108,"122":0.0036,"123":0.0072,"125":0.0072,"128":0.01801,"131":0.0036,"133":0.0072,"134":0.0072,"135":0.16205,"136":0.57976,"137":0.0036,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 102 103 104 105 106 107 108 109 110 111 112 114 116 117 118 119 121 124 126 127 129 130 132 138 139 140 3.5 3.6"},D:{"38":0.0072,"39":0.0036,"40":0.0036,"41":0.0036,"42":0.0036,"43":0.0036,"44":0.0036,"45":0.0036,"46":0.0036,"47":0.0108,"48":0.0036,"49":0.0036,"50":0.0036,"51":0.0036,"52":0.0036,"53":0.0036,"54":0.0036,"55":0.0036,"56":0.0036,"57":0.0036,"58":0.0036,"59":0.0036,"60":0.0036,"63":0.0036,"72":0.0036,"73":0.0036,"75":0.0036,"79":0.05762,"81":0.0036,"85":0.0036,"87":0.07202,"88":0.0036,"89":0.0072,"91":0.0036,"93":0.0036,"94":0.0072,"95":0.0036,"98":0.0036,"99":0.0036,"100":0.0036,"101":0.0036,"102":0.0036,"103":0.02881,"104":0.01801,"105":0.03601,"106":0.0108,"107":0.0072,"108":0.03601,"109":0.80662,"110":0.01801,"111":0.0072,"112":0.0072,"113":0.0072,"114":0.02161,"115":0.0036,"116":0.08282,"117":0.0036,"118":0.03601,"119":0.0144,"120":0.03241,"121":0.02881,"122":0.11163,"123":0.03241,"124":0.05762,"125":0.06122,"126":0.11163,"127":0.03601,"128":0.19085,"129":0.05041,"130":0.07562,"131":0.29888,"132":0.33489,"133":7.43967,"134":15.09899,"135":0.0144,"136":0.0072,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 61 62 64 65 66 67 68 69 70 71 74 76 77 78 80 83 84 86 90 92 96 97 137 138"},F:{"85":0.0036,"87":0.0072,"95":0.01801,"100":0.0036,"102":0.0036,"114":0.0072,"116":0.48614,"117":1.19553,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 86 88 89 90 91 92 93 94 96 97 98 99 101 103 104 105 106 107 108 109 110 111 112 113 115 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.0036,"85":0.0036,"92":0.0108,"100":0.0036,"102":0.0036,"109":0.02161,"114":0.0072,"121":0.0036,"122":0.0072,"124":0.0036,"126":0.0036,"127":0.0036,"128":0.0072,"129":0.02881,"130":0.0108,"131":0.03241,"132":0.08282,"133":1.00468,"134":2.38026,_:"12 13 14 15 16 17 79 80 81 83 84 86 87 88 89 90 91 93 94 95 96 97 98 99 101 103 104 105 106 107 108 110 111 112 113 115 116 117 118 119 120 123 125"},E:{"14":0.0036,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1 15.5","5.1":0.0036,"13.1":0.0072,"14.1":0.0144,"15.1":0.0036,"15.2-15.3":0.0036,"15.4":0.0108,"15.6":0.06122,"16.0":0.0036,"16.1":0.0072,"16.2":0.0036,"16.3":0.0072,"16.4":0.0072,"16.5":0.0108,"16.6":0.05762,"17.0":0.0072,"17.1":0.02521,"17.2":0.01801,"17.3":0.0108,"17.4":0.0144,"17.5":0.03601,"17.6":0.11523,"18.0":0.02161,"18.1":0.05402,"18.2":0.02881,"18.3":0.64458,"18.4":0.01801},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00287,"5.0-5.1":0,"6.0-6.1":0.00862,"7.0-7.1":0.00575,"8.1-8.4":0,"9.0-9.2":0.00431,"9.3":0.02011,"10.0-10.2":0.00144,"10.3":0.03304,"11.0-11.2":0.15228,"11.3-11.4":0.01006,"12.0-12.1":0.00575,"12.2-12.5":0.14222,"13.0-13.1":0.00287,"13.2":0.00431,"13.3":0.00575,"13.4-13.7":0.02011,"14.0-14.4":0.05028,"14.5-14.8":0.06034,"15.0-15.1":0.03304,"15.2-15.3":0.03304,"15.4":0.04022,"15.5":0.04597,"15.6-15.8":0.56601,"16.0":0.08045,"16.1":0.16521,"16.2":0.08619,"16.3":0.1494,"16.4":0.03304,"16.5":0.06177,"16.6-16.7":0.67088,"17.0":0.04022,"17.1":0.07183,"17.2":0.05459,"17.3":0.07614,"17.4":0.15228,"17.5":0.33903,"17.6-17.7":0.98405,"18.0":0.27582,"18.1":0.90217,"18.2":0.40368,"18.3":8.43701,"18.4":0.12498},P:{"4":0.09177,"20":0.0102,"21":0.0102,"22":0.02039,"23":0.02039,"24":0.02039,"25":0.0102,"26":0.04079,"27":0.92791,"5.0-5.4":0.0102,"6.2-6.4":0.0102,"7.2-7.4":0.05098,_:"8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 18.0","16.0":0.0102,"17.0":0.0102,"19.0":0.0102},I:{"0":0.02554,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00003},K:{"0":0.13438,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.00798,"11":0.13966,_:"6 7 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},R:{_:"0"},M:{"0":0.17917},Q:{_:"14.9"},O:{"0":0.0128},H:{"0":0},L:{"0":49.8696}};

View File

@@ -0,0 +1,118 @@
var Stream = require('stream').Stream
module.exports = legacy
function legacy (fs) {
return {
ReadStream: ReadStream,
WriteStream: WriteStream
}
function ReadStream (path, options) {
if (!(this instanceof ReadStream)) return new ReadStream(path, options);
Stream.call(this);
var self = this;
this.path = path;
this.fd = null;
this.readable = true;
this.paused = false;
this.flags = 'r';
this.mode = 438; /*=0666*/
this.bufferSize = 64 * 1024;
options = options || {};
// Mixin options into this
var keys = Object.keys(options);
for (var index = 0, length = keys.length; index < length; index++) {
var key = keys[index];
this[key] = options[key];
}
if (this.encoding) this.setEncoding(this.encoding);
if (this.start !== undefined) {
if ('number' !== typeof this.start) {
throw TypeError('start must be a Number');
}
if (this.end === undefined) {
this.end = Infinity;
} else if ('number' !== typeof this.end) {
throw TypeError('end must be a Number');
}
if (this.start > this.end) {
throw new Error('start must be <= end');
}
this.pos = this.start;
}
if (this.fd !== null) {
process.nextTick(function() {
self._read();
});
return;
}
fs.open(this.path, this.flags, this.mode, function (err, fd) {
if (err) {
self.emit('error', err);
self.readable = false;
return;
}
self.fd = fd;
self.emit('open', fd);
self._read();
})
}
function WriteStream (path, options) {
if (!(this instanceof WriteStream)) return new WriteStream(path, options);
Stream.call(this);
this.path = path;
this.fd = null;
this.writable = true;
this.flags = 'w';
this.encoding = 'binary';
this.mode = 438; /*=0666*/
this.bytesWritten = 0;
options = options || {};
// Mixin options into this
var keys = Object.keys(options);
for (var index = 0, length = keys.length; index < length; index++) {
var key = keys[index];
this[key] = options[key];
}
if (this.start !== undefined) {
if ('number' !== typeof this.start) {
throw TypeError('start must be a Number');
}
if (this.start < 0) {
throw new Error('start must be >= zero');
}
this.pos = this.start;
}
this.busy = false;
this._queue = [];
if (this.fd === null) {
this._open = fs.open;
this._queue.push([this._open, this.path, this.flags, this.mode, undefined]);
this.flush();
}
}
}

View File

@@ -0,0 +1 @@
module.exports={A:{A:{"2":"K D E F A B mC"},B:{"1":"0 9 V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB I","2":"C L M G N O P","328":"Q H R S T U"},C:{"1":"0 9 U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB I PC EC QC RC oC pC","2":"nC LC qC rC","161":"1 2 3 4 5 6 7 8 J PB K D E F A B C L M G N O P QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB MC wB NC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC Q H R OC S T"},D:{"1":"0 9 V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB I PC EC QC RC","2":"1 2 3 4 5 6 7 8 J PB K D E F A B C L M G N O P QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB MC wB NC xB yB zB 0B 1B","328":"2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC Q H R S T U"},E:{"1":"VC HC 0C IC WC XC YC ZC aC 1C JC bC cC dC eC fC 2C KC gC hC iC jC 3C","2":"J PB K D E F A B C L M sC SC tC uC vC wC TC FC GC xC yC","578":"G zC UC"},F:{"1":"0 7B 8B 9B AC BC CC DC Q H R OC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 F B C G N O P QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 4C 5C 6C 7C FC kC 8C GC","328":"1B 2B 3B 4B 5B 6B"},G:{"1":"VC HC TD IC WC XC YC ZC aC UD JC bC cC dC eC fC VD KC gC hC iC jC","2":"E SC 9C lC AD BD CD DD ED FD GD HD ID JD KD LD MD ND OD PD QD RD","578":"SD UC"},H:{"2":"WD"},I:{"1":"I","2":"LC J XD YD ZD aD lC bD cD"},J:{"2":"D A"},K:{"1":"H","2":"A B C FC kC GC"},L:{"1":"I"},M:{"1":"EC"},N:{"2":"A B"},O:{"2":"HC"},P:{"1":"1 2 3 4 5 6 7 8 lD mD IC JC KC nD","2":"J dD eD fD gD hD TC iD jD kD"},Q:{"2":"oD"},R:{"1":"pD"},S:{"161":"qD rD"}},B:5,C:":focus-visible CSS pseudo-class",D:true};

View File

@@ -0,0 +1,15 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = isPlaceholderType;
var _index = require("../definitions/index.js");
function isPlaceholderType(placeholderType, targetType) {
if (placeholderType === targetType) return true;
const aliases = _index.PLACEHOLDERS_ALIAS[placeholderType];
if (aliases != null && aliases.includes(targetType)) return true;
return false;
}
//# sourceMappingURL=isPlaceholderType.js.map

View File

@@ -0,0 +1,54 @@
# Node.js ABI
[![Build Status](https://github.com/electron/node-abi/actions/workflows/test.yml/badge.svg)](https://github.com/electron/node-abi/actions/workflows/test.yml)
[![Auto-update ABI JSON file](https://github.com/electron/node-abi/actions/workflows/update-abi.yml/badge.svg)](https://github.com/electron/node-abi/actions/workflows/update-abi.yml)
[![Snyk badge](https://snyk.io/test/github/electron/node-abi/badge.svg)](https://snyk.io/test/github/electron/node-abi)
[![npm version](http://img.shields.io/npm/v/node-abi.svg)](https://npmjs.org/package/node-abi)
Get the Node ABI (application binary interface) for a given target and runtime, and vice versa.
## Installation
```shell
npm install node-abi
```
## Usage
```javascript
const nodeAbi = require('node-abi')
nodeAbi.getAbi('7.2.0', 'node')
// '51'
nodeAbi.getAbi('1.4.10', 'electron')
// '50'
nodeAbi.getTarget('51', 'node')
// '7.2.0'
nodeAbi.getTarget('50', 'electron')
// '1.4.15'
nodeAbi.allTargets
// [
// { runtime: 'node', target: '0.10.48', abi: '11', lts: false },
// { runtime: 'node', target: '0.12.17', abi: '14', lts: false },
// { runtime: 'node', target: '4.6.1', abi: '46', lts: true },
// { runtime: 'node', target: '5.12.0', abi: '47', lts: false },
// { runtime: 'node', target: '6.9.4', abi: '48', lts: true },
// { runtime: 'node', target: '7.4.0', abi: '51', lts: false },
// { runtime: 'electron', target: '1.0.2', abi: '47', lts: false },
// { runtime: 'electron', target: '1.2.8', abi: '48', lts: false },
// { runtime: 'electron', target: '1.3.13', abi: '49', lts: false },
// { runtime: 'electron', target: '1.4.15', abi: '50', lts: false }
// ]
nodeAbi.deprecatedTargets
nodeAbi.supportedTargets
nodeAbi.additionalTargets
nodeAbi.futureTargets
// ...
```
## References
- https://github.com/lgeiger/electron-abi
- https://nodejs.org/en/download/releases/
- https://github.com/nodejs/Release

View File

@@ -0,0 +1 @@
{"version":3,"file":"utils.cjs","sources":["../../src/utils.ts"],"sourcesContent":["import * as React from 'react'\n\nexport function useStableCallback<T extends (...args: Array<any>) => any>(\n fn: T,\n): T {\n const fnRef = React.useRef(fn)\n fnRef.current = fn\n\n const ref = React.useRef((...args: Array<any>) => fnRef.current(...args))\n return ref.current as T\n}\n\nexport const useLayoutEffect =\n typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect\n\n/**\n * Taken from https://www.developerway.com/posts/implementing-advanced-use-previous-hook#part3\n */\nexport function usePrevious<T>(value: T): T | null {\n // initialise the ref with previous and current values\n const ref = React.useRef<{ value: T; prev: T | null }>({\n value: value,\n prev: null,\n })\n\n const current = ref.current.value\n\n // if the value passed into hook doesn't match what we store as \"current\"\n // move the \"current\" to the \"previous\"\n // and store the passed value as \"current\"\n if (value !== current) {\n ref.current = {\n value: value,\n prev: current,\n }\n }\n\n // return the previous value only\n return ref.current.prev\n}\n\n/**\n * React hook to wrap `IntersectionObserver`.\n *\n * This hook will create an `IntersectionObserver` and observe the ref passed to it.\n *\n * When the intersection changes, the callback will be called with the `IntersectionObserverEntry`.\n *\n * @param ref - The ref to observe\n * @param intersectionObserverOptions - The options to pass to the IntersectionObserver\n * @param options - The options to pass to the hook\n * @param callback - The callback to call when the intersection changes\n * @returns The IntersectionObserver instance\n * @example\n * ```tsx\n * const MyComponent = () => {\n * const ref = React.useRef<HTMLDivElement>(null)\n * useIntersectionObserver(\n * ref,\n * (entry) => { doSomething(entry) },\n * { rootMargin: '10px' },\n * { disabled: false }\n * )\n * return <div ref={ref} />\n * ```\n */\nexport function useIntersectionObserver<T extends Element>(\n ref: React.RefObject<T | null>,\n callback: (entry: IntersectionObserverEntry | undefined) => void,\n intersectionObserverOptions: IntersectionObserverInit = {},\n options: { disabled?: boolean } = {},\n): IntersectionObserver | null {\n const isIntersectionObserverAvailable = React.useRef(\n typeof IntersectionObserver === 'function',\n )\n\n const observerRef = React.useRef<IntersectionObserver | null>(null)\n\n React.useEffect(() => {\n if (\n !ref.current ||\n !isIntersectionObserverAvailable.current ||\n options.disabled\n ) {\n return\n }\n\n observerRef.current = new IntersectionObserver(([entry]) => {\n callback(entry)\n }, intersectionObserverOptions)\n\n observerRef.current.observe(ref.current)\n\n return () => {\n observerRef.current?.disconnect()\n }\n }, [callback, intersectionObserverOptions, options.disabled, ref])\n\n return observerRef.current\n}\n\n/**\n * React hook to take a `React.ForwardedRef` and returns a `ref` that can be used on a DOM element.\n *\n * @param ref - The forwarded ref\n * @returns The inner ref returned by `useRef`\n * @example\n * ```tsx\n * const MyComponent = React.forwardRef((props, ref) => {\n * const innerRef = useForwardedRef(ref)\n * return <div ref={innerRef} />\n * })\n * ```\n */\nexport function useForwardedRef<T>(ref?: React.ForwardedRef<T>) {\n const innerRef = React.useRef<T>(null)\n React.useImperativeHandle(ref, () => innerRef.current!, [])\n return innerRef\n}\n"],"names":["React"],"mappings":";;;;;;;;;;;;;;;;;;;;AAEO,SAAS,kBACd,IACG;AACG,QAAA,QAAQA,iBAAM,OAAO,EAAE;AAC7B,QAAM,UAAU;AAEV,QAAA,MAAMA,iBAAM,OAAO,IAAI,SAAqB,MAAM,QAAQ,GAAG,IAAI,CAAC;AACxE,SAAO,IAAI;AACb;AAEO,MAAM,kBACX,OAAO,WAAW,cAAcA,iBAAM,kBAAkBA,iBAAM;AAKzD,SAAS,YAAe,OAAoB;AAE3C,QAAA,MAAMA,iBAAM,OAAqC;AAAA,IACrD;AAAA,IACA,MAAM;AAAA,EAAA,CACP;AAEK,QAAA,UAAU,IAAI,QAAQ;AAK5B,MAAI,UAAU,SAAS;AACrB,QAAI,UAAU;AAAA,MACZ;AAAA,MACA,MAAM;AAAA,IACR;AAAA,EAAA;AAIF,SAAO,IAAI,QAAQ;AACrB;AA2BgB,SAAA,wBACd,KACA,UACA,8BAAwD,CACxD,GAAA,UAAkC,IACL;AAC7B,QAAM,kCAAkCA,iBAAM;AAAA,IAC5C,OAAO,yBAAyB;AAAA,EAClC;AAEM,QAAA,cAAcA,iBAAM,OAAoC,IAAI;AAElEA,mBAAM,UAAU,MAAM;AACpB,QACE,CAAC,IAAI,WACL,CAAC,gCAAgC,WACjC,QAAQ,UACR;AACA;AAAA,IAAA;AAGF,gBAAY,UAAU,IAAI,qBAAqB,CAAC,CAAC,KAAK,MAAM;AAC1D,eAAS,KAAK;AAAA,OACb,2BAA2B;AAElB,gBAAA,QAAQ,QAAQ,IAAI,OAAO;AAEvC,WAAO,MAAM;;AACX,wBAAY,YAAZ,mBAAqB;AAAA,IACvB;AAAA,EAAA,GACC,CAAC,UAAU,6BAA6B,QAAQ,UAAU,GAAG,CAAC;AAEjE,SAAO,YAAY;AACrB;AAeO,SAAS,gBAAmB,KAA6B;AACxD,QAAA,WAAWA,iBAAM,OAAU,IAAI;AACrCA,mBAAM,oBAAoB,KAAK,MAAM,SAAS,SAAU,CAAA,CAAE;AACnD,SAAA;AACT;;;;;;"}

View File

@@ -0,0 +1,221 @@
/**
* @fileoverview Rule to flag consistent return values
* @author Nicholas C. Zakas
*/
"use strict";
//------------------------------------------------------------------------------
// Requirements
//------------------------------------------------------------------------------
const astUtils = require("./utils/ast-utils");
const { upperCaseFirst } = require("../shared/string-utils");
//------------------------------------------------------------------------------
// Helpers
//------------------------------------------------------------------------------
/**
* Checks all segments in a set and returns true if all are unreachable.
* @param {Set<CodePathSegment>} segments The segments to check.
* @returns {boolean} True if all segments are unreachable; false otherwise.
*/
function areAllSegmentsUnreachable(segments) {
for (const segment of segments) {
if (segment.reachable) {
return false;
}
}
return true;
}
/**
* Checks whether a given node is a `constructor` method in an ES6 class
* @param {ASTNode} node A node to check
* @returns {boolean} `true` if the node is a `constructor` method
*/
function isClassConstructor(node) {
return (
node.type === "FunctionExpression" &&
node.parent &&
node.parent.type === "MethodDefinition" &&
node.parent.kind === "constructor"
);
}
//------------------------------------------------------------------------------
// Rule Definition
//------------------------------------------------------------------------------
/** @type {import('../shared/types').Rule} */
module.exports = {
meta: {
type: "suggestion",
docs: {
description:
"Require `return` statements to either always or never specify values",
recommended: false,
url: "https://eslint.org/docs/latest/rules/consistent-return",
},
schema: [
{
type: "object",
properties: {
treatUndefinedAsUnspecified: {
type: "boolean",
},
},
additionalProperties: false,
},
],
defaultOptions: [{ treatUndefinedAsUnspecified: false }],
messages: {
missingReturn: "Expected to return a value at the end of {{name}}.",
missingReturnValue: "{{name}} expected a return value.",
unexpectedReturnValue: "{{name}} expected no return value.",
},
},
create(context) {
const [{ treatUndefinedAsUnspecified }] = context.options;
let funcInfo = null;
/**
* Checks whether of not the implicit returning is consistent if the last
* code path segment is reachable.
* @param {ASTNode} node A program/function node to check.
* @returns {void}
*/
function checkLastSegment(node) {
let loc, name;
/*
* Skip if it expected no return value or unreachable.
* When unreachable, all paths are returned or thrown.
*/
if (
!funcInfo.hasReturnValue ||
areAllSegmentsUnreachable(funcInfo.currentSegments) ||
astUtils.isES5Constructor(node) ||
isClassConstructor(node)
) {
return;
}
// Adjust a location and a message.
if (node.type === "Program") {
// The head of program.
loc = { line: 1, column: 0 };
name = "program";
} else if (node.type === "ArrowFunctionExpression") {
// `=>` token
loc = context.sourceCode.getTokenBefore(
node.body,
astUtils.isArrowToken,
).loc;
} else if (
node.parent.type === "MethodDefinition" ||
(node.parent.type === "Property" && node.parent.method)
) {
// Method name.
loc = node.parent.key.loc;
} else {
// Function name or `function` keyword.
loc = (node.id || context.sourceCode.getFirstToken(node)).loc;
}
if (!name) {
name = astUtils.getFunctionNameWithKind(node);
}
// Reports.
context.report({
node,
loc,
messageId: "missingReturn",
data: { name },
});
}
return {
// Initializes/Disposes state of each code path.
onCodePathStart(codePath, node) {
funcInfo = {
upper: funcInfo,
codePath,
hasReturn: false,
hasReturnValue: false,
messageId: "",
node,
currentSegments: new Set(),
};
},
onCodePathEnd() {
funcInfo = funcInfo.upper;
},
onUnreachableCodePathSegmentStart(segment) {
funcInfo.currentSegments.add(segment);
},
onUnreachableCodePathSegmentEnd(segment) {
funcInfo.currentSegments.delete(segment);
},
onCodePathSegmentStart(segment) {
funcInfo.currentSegments.add(segment);
},
onCodePathSegmentEnd(segment) {
funcInfo.currentSegments.delete(segment);
},
// Reports a given return statement if it's inconsistent.
ReturnStatement(node) {
const argument = node.argument;
let hasReturnValue = Boolean(argument);
if (treatUndefinedAsUnspecified && hasReturnValue) {
hasReturnValue =
!astUtils.isSpecificId(argument, "undefined") &&
argument.operator !== "void";
}
if (!funcInfo.hasReturn) {
funcInfo.hasReturn = true;
funcInfo.hasReturnValue = hasReturnValue;
funcInfo.messageId = hasReturnValue
? "missingReturnValue"
: "unexpectedReturnValue";
funcInfo.data = {
name:
funcInfo.node.type === "Program"
? "Program"
: upperCaseFirst(
astUtils.getFunctionNameWithKind(
funcInfo.node,
),
),
};
} else if (funcInfo.hasReturnValue !== hasReturnValue) {
context.report({
node,
messageId: funcInfo.messageId,
data: funcInfo.data,
});
}
},
// Reports a given program/function if the implicit returning is not consistent.
"Program:exit": checkLastSegment,
"FunctionDeclaration:exit": checkLastSegment,
"FunctionExpression:exit": checkLastSegment,
"ArrowFunctionExpression:exit": checkLastSegment,
};
},
};

View File

@@ -0,0 +1,70 @@
/*
Copyright (C) 2014 Yusuke Suzuki <utatane.tea@gmail.com>
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
'use strict';
var gulp = require('gulp'),
git = require('gulp-git'),
bump = require('gulp-bump'),
filter = require('gulp-filter'),
tagVersion = require('gulp-tag-version');
var TEST = [ 'test/*.js' ];
var POWERED = [ 'powered-test/*.js' ];
var SOURCE = [ 'src/**/*.js' ];
/**
* Bumping version number and tagging the repository with it.
* Please read http://semver.org/
*
* You can use the commands
*
* gulp patch # makes v0.1.0 -> v0.1.1
* gulp feature # makes v0.1.1 -> v0.2.0
* gulp release # makes v0.2.1 -> v1.0.0
*
* To bump the version numbers accordingly after you did a patch,
* introduced a feature or made a backwards-incompatible release.
*/
function inc(importance) {
// get all the files to bump version in
return gulp.src(['./package.json'])
// bump the version number in those files
.pipe(bump({type: importance}))
// save it back to filesystem
.pipe(gulp.dest('./'))
// commit the changed version number
.pipe(git.commit('Bumps package version'))
// read only one file to get the version number
.pipe(filter('package.json'))
// **tag it in the repository**
.pipe(tagVersion({
prefix: ''
}));
}
gulp.task('patch', [ ], function () { return inc('patch'); })
gulp.task('minor', [ ], function () { return inc('minor'); })
gulp.task('major', [ ], function () { return inc('major'); })

View File

@@ -0,0 +1 @@
module.exports={C:{"30":0.00112,"44":0.00112,"47":0.00112,"49":0.00112,"52":0.00112,"56":0.00336,"57":0.00112,"60":0.00336,"72":0.00224,"83":0.00112,"85":0.00112,"88":0.00224,"89":0.00112,"92":0.00112,"94":0.00112,"96":0.00112,"99":0.00112,"109":0.00224,"110":0.00112,"112":0.00112,"115":0.06714,"118":0.00112,"121":0.00112,"127":0.01007,"128":0.00448,"129":0.00336,"130":0.00112,"131":0.00112,"132":0.00448,"133":0.00783,"134":0.00671,"135":0.08616,"136":0.21149,"137":0.00895,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 31 32 33 34 35 36 37 38 39 40 41 42 43 45 46 48 50 51 53 54 55 58 59 61 62 63 64 65 66 67 68 69 70 71 73 74 75 76 77 78 79 80 81 82 84 86 87 90 91 93 95 97 98 100 101 102 103 104 105 106 107 108 111 113 114 116 117 119 120 122 123 124 125 126 138 139 140 3.5 3.6"},D:{"11":0.00671,"33":0.00336,"38":0.00336,"43":0.00783,"47":0.00336,"48":0.00224,"49":0.00448,"50":0.00336,"52":0.00112,"54":0.00112,"55":0.00112,"56":0.00448,"57":0.00112,"58":0.13876,"63":0.00448,"64":0.00448,"66":0.00224,"67":0.00224,"68":0.0056,"69":0.00671,"70":0.02238,"71":0.00224,"73":0.00336,"74":0.00112,"75":0.00112,"78":0.094,"79":0.03133,"80":0.00224,"81":0.00895,"83":0.00336,"84":0.00224,"85":0.00336,"86":0.00224,"87":0.00783,"88":0.00671,"89":0.00224,"90":0.00112,"91":0.00336,"92":0.00224,"93":0.00224,"94":0.00112,"95":0.00112,"98":0.00336,"99":0.00895,"102":0.00336,"103":0.00448,"104":0.00783,"105":0.00224,"106":0.00783,"107":0.00112,"108":0.00671,"109":0.11973,"110":0.00224,"111":0.02909,"114":0.00783,"116":0.03133,"117":0.0056,"118":0.01119,"119":0.00671,"120":0.02798,"121":0.00336,"122":0.00336,"123":0.01343,"124":0.0056,"125":0.00224,"126":0.05371,"127":0.0056,"128":0.00895,"129":0.00336,"130":0.02909,"131":0.08281,"132":0.05595,"133":0.57852,"134":0.66469,"135":0.00112,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 34 35 36 37 39 40 41 42 44 45 46 51 53 59 60 61 62 65 72 76 77 96 97 100 101 112 113 115 136 137 138"},F:{"29":0.00224,"42":0.00112,"46":0.00112,"49":0.00112,"66":0.00112,"69":0.00224,"79":0.0056,"81":0.03469,"83":0.00448,"85":0.00336,"86":0.03245,"87":0.28646,"88":0.09847,"90":0.00336,"95":0.0179,"99":0.00112,"101":0.00112,"104":0.00112,"106":0.00112,"110":0.00112,"112":0.00112,"113":0.00112,"114":0.00224,"115":0.00336,"116":0.01007,"117":0.14435,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 30 31 32 33 34 35 36 37 38 39 40 41 43 44 45 47 48 50 51 52 53 54 55 56 57 58 60 62 63 64 65 67 68 70 71 72 73 74 75 76 77 78 80 82 84 89 91 92 93 94 96 97 98 100 102 103 105 107 108 109 111 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00224,"14":0.00112,"16":0.00112,"17":0.00224,"18":0.00895,"81":0.00112,"84":0.0056,"89":0.00336,"90":0.00783,"92":0.03357,"97":0.00112,"100":0.00448,"109":0.01119,"110":0.00112,"111":0.00224,"112":0.00112,"113":0.00112,"114":0.00112,"119":0.00112,"120":0.00112,"121":0.00112,"122":0.00224,"126":0.00112,"127":0.00336,"128":0.00671,"129":0.00336,"130":0.00895,"131":0.02574,"132":0.01343,"133":0.13316,"134":0.21149,_:"13 15 79 80 83 85 86 87 88 91 93 94 95 96 98 99 101 102 103 104 105 106 107 108 115 116 117 118 123 124 125"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1 13.1 15.1 15.4 15.5 16.0 16.1 16.2 16.3 16.4 16.5 17.0 17.1 17.2 17.3 17.4 17.6 18.4","5.1":0.08616,"14.1":0.00336,"15.2-15.3":0.00112,"15.6":0.00336,"16.6":0.01343,"17.5":0.00336,"18.0":0.00112,"18.1":0.00112,"18.2":0.00112,"18.3":0.00671},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.0004,"5.0-5.1":0,"6.0-6.1":0.00119,"7.0-7.1":0.00079,"8.1-8.4":0,"9.0-9.2":0.00059,"9.3":0.00277,"10.0-10.2":0.0002,"10.3":0.00455,"11.0-11.2":0.02099,"11.3-11.4":0.00139,"12.0-12.1":0.00079,"12.2-12.5":0.0196,"13.0-13.1":0.0004,"13.2":0.00059,"13.3":0.00079,"13.4-13.7":0.00277,"14.0-14.4":0.00693,"14.5-14.8":0.00832,"15.0-15.1":0.00455,"15.2-15.3":0.00455,"15.4":0.00554,"15.5":0.00634,"15.6-15.8":0.07802,"16.0":0.01109,"16.1":0.02277,"16.2":0.01188,"16.3":0.02059,"16.4":0.00455,"16.5":0.00852,"16.6-16.7":0.09248,"17.0":0.00554,"17.1":0.0099,"17.2":0.00752,"17.3":0.0105,"17.4":0.02099,"17.5":0.04673,"17.6-17.7":0.13565,"18.0":0.03802,"18.1":0.12436,"18.2":0.05564,"18.3":1.16299,"18.4":0.01723},P:{"4":0.19153,"20":0.0504,"21":0.0504,"22":0.15121,"23":0.06048,"24":0.30242,"25":0.18145,"26":0.43347,"27":1.21977,"5.0-5.4":0.02016,"6.2-6.4":0.03024,"7.2-7.4":0.18145,_:"8.2 9.2 10.1 12.0","11.1-11.2":0.01008,"13.0":0.02016,"14.0":0.03024,"15.0":0.01008,"16.0":0.08065,"17.0":0.07057,"18.0":0.04032,"19.0":0.06048},I:{"0":0.09747,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00003,"4.4":0,"4.4.3-4.4.4":0.00011},K:{"0":8.34048,_:"10 11 12 11.1 11.5 12.1"},A:{"9":0.01007,"11":0.00336,_:"6 7 8 10 5.5"},S:{"2.5":0.02664,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},R:{_:"0"},M:{"0":0.222},Q:{_:"14.9"},O:{"0":1.01232},H:{"0":1.17},L:{"0":79.66016}};