update
This commit is contained in:
@@ -0,0 +1 @@
|
||||
module.exports={C:{"52":0.00421,"115":0.18954,"125":0.00421,"127":0.00421,"128":0.01264,"131":0.00421,"132":0.00421,"133":0.00842,"134":0.01264,"135":0.32854,"136":0.99824,"137":0.00421,_:"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 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 74 75 76 77 78 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 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 123 124 126 129 130 138 139 140 3.5 3.6"},D:{"29":0.02527,"49":0.00421,"55":0.00421,"70":0.00421,"75":0.00421,"77":0.11372,"79":0.02106,"80":0.00421,"81":0.01264,"86":0.02527,"87":0.02106,"88":0.00421,"91":0.02106,"92":0.00421,"93":0.04212,"94":0.01264,"96":0.00421,"97":0.00421,"98":0.01264,"99":0.01264,"100":0.00421,"101":0.00421,"102":0.03791,"103":0.98982,"104":0.00842,"105":0.0716,"106":0.00421,"107":0.00842,"108":0.01685,"109":1.02352,"110":0.00421,"111":0.00842,"112":0.02527,"113":0.00842,"114":0.04633,"115":0.01264,"116":0.10109,"117":0.01264,"118":0.139,"119":0.02106,"120":0.0337,"121":0.03791,"122":0.13057,"123":0.04212,"124":0.05476,"125":0.03791,"126":0.15163,"127":0.06318,"128":0.15584,"129":0.11372,"130":0.14742,"131":0.39172,"132":0.65286,"133":8.12074,"134":18.16214,"135":0.02948,"136":0.01264,_:"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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 51 52 53 54 56 57 58 59 60 61 62 63 64 65 66 67 68 69 71 72 73 74 76 78 83 84 85 89 90 95 137 138"},F:{"28":0.00421,"46":0.00421,"85":0.00421,"87":0.02527,"88":0.01264,"95":0.00842,"116":0.14321,"117":0.53071,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 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 86 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"92":0.00421,"109":0.01685,"114":0.00842,"120":0.01264,"122":0.00421,"126":0.00421,"127":0.00421,"128":0.00421,"129":0.00421,"130":0.00842,"131":0.02527,"132":0.0337,"133":0.85925,"134":2.20288,_:"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 110 111 112 113 115 116 117 118 119 121 123 124 125"},E:{"14":0.01264,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1","13.1":0.00842,"14.1":0.02948,"15.1":0.00421,"15.2-15.3":0.00421,"15.4":0.00421,"15.5":0.00842,"15.6":0.05897,"16.0":0.01685,"16.1":0.02527,"16.2":0.01264,"16.3":0.02948,"16.4":0.00842,"16.5":0.02948,"16.6":0.1053,"17.0":0.01264,"17.1":0.05054,"17.2":0.02106,"17.3":0.0337,"17.4":0.05054,"17.5":0.10951,"17.6":0.21902,"18.0":0.0716,"18.1":0.1769,"18.2":0.08003,"18.3":1.07827,"18.4":0.01264},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00337,"5.0-5.1":0,"6.0-6.1":0.01011,"7.0-7.1":0.00674,"8.1-8.4":0,"9.0-9.2":0.00506,"9.3":0.0236,"10.0-10.2":0.00169,"10.3":0.03877,"11.0-11.2":0.17866,"11.3-11.4":0.0118,"12.0-12.1":0.00674,"12.2-12.5":0.16686,"13.0-13.1":0.00337,"13.2":0.00506,"13.3":0.00674,"13.4-13.7":0.0236,"14.0-14.4":0.05899,"14.5-14.8":0.07079,"15.0-15.1":0.03877,"15.2-15.3":0.03877,"15.4":0.04719,"15.5":0.05393,"15.6-15.8":0.66407,"16.0":0.09439,"16.1":0.19383,"16.2":0.10113,"16.3":0.17529,"16.4":0.03877,"16.5":0.07248,"16.6-16.7":0.78711,"17.0":0.04719,"17.1":0.08427,"17.2":0.06405,"17.3":0.08933,"17.4":0.17866,"17.5":0.39777,"17.6-17.7":1.15454,"18.0":0.32361,"18.1":1.05847,"18.2":0.47362,"18.3":9.89874,"18.4":0.14664},P:{"4":0.0319,"20":0.01063,"21":0.01063,"22":0.01063,"23":0.02127,"24":0.01063,"25":0.02127,"26":0.05317,"27":1.56328,"5.0-5.4":0.01063,_:"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.02127},I:{"0":0.02888,"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.67141,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.06318,_:"6 7 8 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},R:{_:"0"},M:{"0":0.2894},Q:{"14.9":0.01158},O:{"0":0.75823},H:{"0":0},L:{"0":39.87252}};
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"name": "@babel/helper-plugin-utils",
|
||||
"version": "7.26.5",
|
||||
"description": "General utilities for plugins to use",
|
||||
"author": "The Babel Team (https://babel.dev/team)",
|
||||
"homepage": "https://babel.dev/docs/en/next/babel-helper-plugin-utils",
|
||||
"license": "MIT",
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/babel/babel.git",
|
||||
"directory": "packages/babel-helper-plugin-utils"
|
||||
},
|
||||
"main": "./lib/index.js",
|
||||
"engines": {
|
||||
"node": ">=6.9.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.26.0"
|
||||
},
|
||||
"type": "commonjs"
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
module.exports={A:{A:{"1":"F A B","2":"K D E mC"},B:{"1":"0 9 C L M G N O P 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"},C:{"1":"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 1 2 3 4 5 6 7 8 9 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 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"},E:{"1":"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 3C"},F:{"1":"0 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 x y z 4C 5C 6C 7C FC kC 8C GC"},G:{"1":"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:{"1":"WD"},I:{"1":"LC J I XD YD ZD aD lC bD cD"},J:{"1":"D A"},K:{"1":"A B C H FC kC GC"},L:{"1":"I"},M:{"1":"EC"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"1 2 3 4 5 6 7 8 J dD eD fD gD hD TC iD jD kD lD mD IC JC KC nD"},Q:{"1":"oD"},R:{"1":"pD"},S:{"1":"qD rD"}},B:1,C:"DOMContentLoaded",D:true};
|
||||
@@ -0,0 +1 @@
|
||||
module.exports={C:{"103":0.0034,"109":0.0034,"115":0.0816,"128":0.017,"134":0.0068,"135":0.2856,"136":0.3366,_:"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 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 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 104 105 106 107 108 110 111 112 113 114 116 117 118 119 120 121 122 123 124 125 126 127 129 130 131 132 133 137 138 139 140 3.5 3.6"},D:{"41":0.0034,"45":0.0034,"46":0.0034,"48":0.0034,"49":0.0034,"50":0.0034,"51":0.0034,"52":0.0034,"53":0.0034,"54":0.0034,"57":0.0034,"59":0.0034,"60":0.0034,"79":0.0714,"83":0.0034,"84":0.017,"99":0.0034,"103":0.0136,"109":0.6052,"112":0.0034,"116":0.0476,"122":0.0102,"124":0.0068,"125":0.0068,"126":0.0204,"128":0.1088,"129":0.0408,"130":0.0306,"131":0.5134,"132":0.2278,"133":4.3044,"134":7.123,"135":0.0034,"136":0.0034,_:"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 42 43 44 47 55 56 58 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 85 86 87 88 89 90 91 92 93 94 95 96 97 98 100 101 102 104 105 106 107 108 110 111 113 114 115 117 118 119 120 121 123 127 137 138"},F:{"114":0.0034,"116":0.0884,"117":1.5606,_:"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 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 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:{"92":0.0034,"109":0.0136,"126":0.0034,"127":0.0034,"129":0.0068,"131":0.017,"132":0.0612,"133":1.955,"134":4.3078,_:"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 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 128 130"},E:{"12":0.0034,"14":0.0102,"15":0.017,_:"0 4 5 6 7 8 9 10 11 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1","12.1":0.0102,"13.1":0.0884,"14.1":0.0646,"15.1":0.0204,"15.2-15.3":0.0034,"15.4":0.0578,"15.5":0.0952,"15.6":0.2788,"16.0":0.5134,"16.1":0.0068,"16.2":0.1156,"16.3":0.3026,"16.4":0.0374,"16.5":0.0068,"16.6":1.326,"17.0":0.0102,"17.1":0.4352,"17.2":0.017,"17.3":0.0578,"17.4":0.017,"17.5":0.1564,"17.6":0.4046,"18.0":0.0544,"18.1":0.4318,"18.2":0.1224,"18.3":6.7048,"18.4":0.0748},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00755,"5.0-5.1":0,"6.0-6.1":0.02265,"7.0-7.1":0.0151,"8.1-8.4":0,"9.0-9.2":0.01132,"9.3":0.05284,"10.0-10.2":0.00377,"10.3":0.08681,"11.0-11.2":0.4001,"11.3-11.4":0.02642,"12.0-12.1":0.0151,"12.2-12.5":0.37368,"13.0-13.1":0.00755,"13.2":0.01132,"13.3":0.0151,"13.4-13.7":0.05284,"14.0-14.4":0.13211,"14.5-14.8":0.15853,"15.0-15.1":0.08681,"15.2-15.3":0.08681,"15.4":0.10569,"15.5":0.12079,"15.6-15.8":1.48717,"16.0":0.21137,"16.1":0.43407,"16.2":0.22647,"16.3":0.39255,"16.4":0.08681,"16.5":0.16231,"16.6-16.7":1.76271,"17.0":0.10569,"17.1":0.18873,"17.2":0.14343,"17.3":0.20005,"17.4":0.4001,"17.5":0.89079,"17.6-17.7":2.58556,"18.0":0.72471,"18.1":2.37041,"18.2":1.06065,"18.3":22.16787,"18.4":0.32838},P:{"4":0.03465,"21":0.01155,"24":0.01155,"26":0.0231,"27":3.5574,_:"20 22 23 25 6.2-6.4 7.2-7.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","5.0-5.4":0.01155},I:{"0":0.03293,"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.00004},K:{"0":0.0132,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.0068,_:"6 7 8 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},R:{_:"0"},M:{"0":0.8382},Q:{_:"14.9"},O:{_:"0"},H:{"0":0},L:{"0":23.4596}};
|
||||
@@ -0,0 +1,189 @@
|
||||
#!/usr/bin/env node
|
||||
// Standalone semver comparison program.
|
||||
// Exits successfully and prints matching version(s) if
|
||||
// any supplied version is valid and passes all tests.
|
||||
|
||||
const argv = process.argv.slice(2)
|
||||
|
||||
let versions = []
|
||||
|
||||
const range = []
|
||||
|
||||
let inc = null
|
||||
|
||||
const version = require('../package.json').version
|
||||
|
||||
let loose = false
|
||||
|
||||
let includePrerelease = false
|
||||
|
||||
let coerce = false
|
||||
|
||||
let rtl = false
|
||||
|
||||
let identifier
|
||||
|
||||
let identifierBase
|
||||
|
||||
const semver = require('../')
|
||||
const parseOptions = require('../internal/parse-options')
|
||||
|
||||
let reverse = false
|
||||
|
||||
let options = {}
|
||||
|
||||
const main = () => {
|
||||
if (!argv.length) {
|
||||
return help()
|
||||
}
|
||||
while (argv.length) {
|
||||
let a = argv.shift()
|
||||
const indexOfEqualSign = a.indexOf('=')
|
||||
if (indexOfEqualSign !== -1) {
|
||||
const value = a.slice(indexOfEqualSign + 1)
|
||||
a = a.slice(0, indexOfEqualSign)
|
||||
argv.unshift(value)
|
||||
}
|
||||
switch (a) {
|
||||
case '-rv': case '-rev': case '--rev': case '--reverse':
|
||||
reverse = true
|
||||
break
|
||||
case '-l': case '--loose':
|
||||
loose = true
|
||||
break
|
||||
case '-p': case '--include-prerelease':
|
||||
includePrerelease = true
|
||||
break
|
||||
case '-v': case '--version':
|
||||
versions.push(argv.shift())
|
||||
break
|
||||
case '-i': case '--inc': case '--increment':
|
||||
switch (argv[0]) {
|
||||
case 'major': case 'minor': case 'patch': case 'prerelease':
|
||||
case 'premajor': case 'preminor': case 'prepatch':
|
||||
case 'release':
|
||||
inc = argv.shift()
|
||||
break
|
||||
default:
|
||||
inc = 'patch'
|
||||
break
|
||||
}
|
||||
break
|
||||
case '--preid':
|
||||
identifier = argv.shift()
|
||||
break
|
||||
case '-r': case '--range':
|
||||
range.push(argv.shift())
|
||||
break
|
||||
case '-n':
|
||||
identifierBase = argv.shift()
|
||||
if (identifierBase === 'false') {
|
||||
identifierBase = false
|
||||
}
|
||||
break
|
||||
case '-c': case '--coerce':
|
||||
coerce = true
|
||||
break
|
||||
case '--rtl':
|
||||
rtl = true
|
||||
break
|
||||
case '--ltr':
|
||||
rtl = false
|
||||
break
|
||||
case '-h': case '--help': case '-?':
|
||||
return help()
|
||||
default:
|
||||
versions.push(a)
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
options = parseOptions({ loose, includePrerelease, rtl })
|
||||
|
||||
versions = versions.map((v) => {
|
||||
return coerce ? (semver.coerce(v, options) || { version: v }).version : v
|
||||
}).filter((v) => {
|
||||
return semver.valid(v)
|
||||
})
|
||||
if (!versions.length) {
|
||||
return fail()
|
||||
}
|
||||
if (inc && (versions.length !== 1 || range.length)) {
|
||||
return failInc()
|
||||
}
|
||||
|
||||
for (let i = 0, l = range.length; i < l; i++) {
|
||||
versions = versions.filter((v) => {
|
||||
return semver.satisfies(v, range[i], options)
|
||||
})
|
||||
if (!versions.length) {
|
||||
return fail()
|
||||
}
|
||||
}
|
||||
versions
|
||||
.sort((a, b) => semver[reverse ? 'rcompare' : 'compare'](a, b, options))
|
||||
.map(v => semver.clean(v, options))
|
||||
.map(v => inc ? semver.inc(v, inc, options, identifier, identifierBase) : v)
|
||||
.forEach(v => console.log(v))
|
||||
}
|
||||
|
||||
const failInc = () => {
|
||||
console.error('--inc can only be used on a single version with no range')
|
||||
fail()
|
||||
}
|
||||
|
||||
const fail = () => process.exit(1)
|
||||
|
||||
const help = () => console.log(
|
||||
`SemVer ${version}
|
||||
|
||||
A JavaScript implementation of the https://semver.org/ specification
|
||||
Copyright Isaac Z. Schlueter
|
||||
|
||||
Usage: semver [options] <version> [<version> [...]]
|
||||
Prints valid versions sorted by SemVer precedence
|
||||
|
||||
Options:
|
||||
-r --range <range>
|
||||
Print versions that match the specified range.
|
||||
|
||||
-i --increment [<level>]
|
||||
Increment a version by the specified level. Level can
|
||||
be one of: major, minor, patch, premajor, preminor,
|
||||
prepatch, prerelease, or release. Default level is 'patch'.
|
||||
Only one version may be specified.
|
||||
|
||||
--preid <identifier>
|
||||
Identifier to be used to prefix premajor, preminor,
|
||||
prepatch or prerelease version increments.
|
||||
|
||||
-l --loose
|
||||
Interpret versions and ranges loosely
|
||||
|
||||
-p --include-prerelease
|
||||
Always include prerelease versions in range matching
|
||||
|
||||
-c --coerce
|
||||
Coerce a string into SemVer if possible
|
||||
(does not imply --loose)
|
||||
|
||||
--rtl
|
||||
Coerce version strings right to left
|
||||
|
||||
--ltr
|
||||
Coerce version strings left to right (default)
|
||||
|
||||
-n <base>
|
||||
Base number to be used for the prerelease identifier.
|
||||
Can be either 0 or 1, or false to omit the number altogether.
|
||||
Defaults to 0.
|
||||
|
||||
Program exits successfully if any valid version satisfies
|
||||
all supplied ranges, and prints all satisfying versions.
|
||||
|
||||
If no satisfying versions are found, then exits failure.
|
||||
|
||||
Versions are printed in ascending order, so supplying
|
||||
multiple versions to the utility will just sort them.`)
|
||||
|
||||
main()
|
||||
@@ -0,0 +1,23 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) React Training LLC 2015-2019
|
||||
Copyright (c) Remix Software Inc. 2020-2021
|
||||
Copyright (c) Shopify Inc. 2022-2023
|
||||
|
||||
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.
|
||||
@@ -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","1028":"L M G N O P","1346":"C"},C:{"1":"0 9 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","2":"nC LC qC","196":"XB","516":"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 rC"},D:{"1":"0 9 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 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":"J PB K D E F A B C L M G N O","33":"1 2 3 4 5 6 7 8 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"},E:{"1":"A B C L M G 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 3C","2":"J PB sC SC tC","33":"K D E F uC vC"},F:{"1":"0 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 x y z","2":"F B C 4C 5C 6C 7C FC kC 8C GC","33":"1 2 3 4 5 6 7 8 G N O P QB RB SB TB UB VB WB XB YB ZB aB bB cB"},G:{"1":"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","2":"SC 9C lC AD","33":"E BD CD DD ED"},H:{"2":"WD"},I:{"1":"I","2":"LC J XD YD ZD aD lC","33":"bD cD"},J:{"2":"D","33":"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 fD gD hD TC iD jD kD lD mD IC JC KC nD","33":"J dD eD"},Q:{"1":"oD"},R:{"1":"pD"},S:{"1":"qD rD"}},B:5,C:"CSS Filter Effects",D:true};
|
||||
@@ -0,0 +1,13 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = _classPrivateMethodGet;
|
||||
var _assertClassBrand = require("assertClassBrand");
|
||||
function _classPrivateMethodGet(receiver, privateSet, fn) {
|
||||
_assertClassBrand(privateSet, receiver);
|
||||
return fn;
|
||||
}
|
||||
|
||||
//# sourceMappingURL=classPrivateMethodGet.js.map
|
||||
@@ -0,0 +1,22 @@
|
||||
Copyright (c) 2013 Dominic Tarr
|
||||
|
||||
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.
|
||||
@@ -0,0 +1 @@
|
||||
module.exports={A:{A:{"1":"A B","16":"mC","900":"K D E F"},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","1025":"C L M G N O P"},C:{"1":"0 9 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","900":"nC LC qC rC","1025":"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"},D:{"1":"0 1 2 3 4 5 6 7 8 9 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 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"},E:{"1":"K D E F A B C L M G 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 3C","16":"PB sC","900":"J SC"},F:{"1":"0 1 2 3 4 5 6 7 8 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 x y z","16":"F","132":"B C 4C 5C 6C 7C FC kC 8C GC"},G:{"1":"9C lC AD BD CD 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","16":"SC","2052":"E DD"},H:{"132":"WD"},I:{"1":"LC J ZD aD lC bD cD","16":"XD YD","4097":"I"},J:{"1":"D A"},K:{"132":"A B C FC kC GC","4097":"H"},L:{"4097":"I"},M:{"4097":"EC"},N:{"1":"A B"},O:{"1":"HC"},P:{"4097":"1 2 3 4 5 6 7 8 J dD eD fD gD hD TC iD jD kD lD mD IC JC KC nD"},Q:{"1":"oD"},R:{"1":"pD"},S:{"1025":"qD rD"}},B:1,C:"maxlength attribute for input and textarea elements",D:true};
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"names":["TargetNames","exports","node","deno","chrome","opera","edge","firefox","safari","ie","ios","android","electron","samsung","rhino","opera_mobile"],"sources":["../src/options.ts"],"sourcesContent":["export const TargetNames = {\n node: \"node\",\n deno: \"deno\",\n chrome: \"chrome\",\n opera: \"opera\",\n edge: \"edge\",\n firefox: \"firefox\",\n safari: \"safari\",\n ie: \"ie\",\n ios: \"ios\",\n android: \"android\",\n electron: \"electron\",\n samsung: \"samsung\",\n rhino: \"rhino\",\n opera_mobile: \"opera_mobile\",\n};\n"],"mappings":";;;;;;AAAO,MAAMA,WAAW,GAAAC,OAAA,CAAAD,WAAA,GAAG;EACzBE,IAAI,EAAE,MAAM;EACZC,IAAI,EAAE,MAAM;EACZC,MAAM,EAAE,QAAQ;EAChBC,KAAK,EAAE,OAAO;EACdC,IAAI,EAAE,MAAM;EACZC,OAAO,EAAE,SAAS;EAClBC,MAAM,EAAE,QAAQ;EAChBC,EAAE,EAAE,IAAI;EACRC,GAAG,EAAE,KAAK;EACVC,OAAO,EAAE,SAAS;EAClBC,QAAQ,EAAE,UAAU;EACpBC,OAAO,EAAE,SAAS;EAClBC,KAAK,EAAE,OAAO;EACdC,YAAY,EAAE;AAChB,CAAC","ignoreList":[]}
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"names":["_isNativeReflectConstruct","result","Boolean","prototype","valueOf","call","Reflect","construct","_","exports","default"],"sources":["../../src/helpers/isNativeReflectConstruct.ts"],"sourcesContent":["/* @minVersion 7.9.0 */\n\nexport default function _isNativeReflectConstruct() {\n // Since Reflect.construct can't be properly polyfilled, some\n // implementations (e.g. core-js@2) don't set the correct internal slots.\n // Those polyfills don't allow us to subclass built-ins, so we need to\n // use our fallback implementation.\n try {\n // If the internal slots aren't set, this throws an error similar to\n // TypeError: this is not a Boolean object.\n var result = !Boolean.prototype.valueOf.call(\n Reflect.construct(Boolean, [], function () {}),\n );\n } catch (_) {}\n // @ts-expect-error assign to function\n return (_isNativeReflectConstruct = function () {\n return !!result;\n })();\n}\n"],"mappings":";;;;;;AAEe,SAASA,yBAAyBA,CAAA,EAAG;EAKlD,IAAI;IAGF,IAAIC,MAAM,GAAG,CAACC,OAAO,CAACC,SAAS,CAACC,OAAO,CAACC,IAAI,CAC1CC,OAAO,CAACC,SAAS,CAACL,OAAO,EAAE,EAAE,EAAE,YAAY,CAAC,CAAC,CAC/C,CAAC;EACH,CAAC,CAAC,OAAOM,CAAC,EAAE,CAAC;EAEb,OAAO,CAAAC,OAAA,CAAAC,OAAA,GAACV,yBAAyB,GAAG,SAAAA,CAAA,EAAY;IAC9C,OAAO,CAAC,CAACC,MAAM;EACjB,CAAC,EAAE,CAAC;AACN","ignoreList":[]}
|
||||
@@ -0,0 +1,253 @@
|
||||
/**
|
||||
* @fileoverview Rule to disallow mixed binary operators.
|
||||
* @author Toru Nagashima
|
||||
* @deprecated in ESLint v8.53.0
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// Requirements
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
const astUtils = require("./utils/ast-utils.js");
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// Helpers
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
const ARITHMETIC_OPERATORS = ["+", "-", "*", "/", "%", "**"];
|
||||
const BITWISE_OPERATORS = ["&", "|", "^", "~", "<<", ">>", ">>>"];
|
||||
const COMPARISON_OPERATORS = ["==", "!=", "===", "!==", ">", ">=", "<", "<="];
|
||||
const LOGICAL_OPERATORS = ["&&", "||"];
|
||||
const RELATIONAL_OPERATORS = ["in", "instanceof"];
|
||||
const TERNARY_OPERATOR = ["?:"];
|
||||
const COALESCE_OPERATOR = ["??"];
|
||||
const ALL_OPERATORS = [].concat(
|
||||
ARITHMETIC_OPERATORS,
|
||||
BITWISE_OPERATORS,
|
||||
COMPARISON_OPERATORS,
|
||||
LOGICAL_OPERATORS,
|
||||
RELATIONAL_OPERATORS,
|
||||
TERNARY_OPERATOR,
|
||||
COALESCE_OPERATOR,
|
||||
);
|
||||
const DEFAULT_GROUPS = [
|
||||
ARITHMETIC_OPERATORS,
|
||||
BITWISE_OPERATORS,
|
||||
COMPARISON_OPERATORS,
|
||||
LOGICAL_OPERATORS,
|
||||
RELATIONAL_OPERATORS,
|
||||
];
|
||||
const TARGET_NODE_TYPE = /^(?:Binary|Logical|Conditional)Expression$/u;
|
||||
|
||||
/**
|
||||
* Normalizes options.
|
||||
* @param {Object|undefined} options A options object to normalize.
|
||||
* @returns {Object} Normalized option object.
|
||||
*/
|
||||
function normalizeOptions(options = {}) {
|
||||
const hasGroups = options.groups && options.groups.length > 0;
|
||||
const groups = hasGroups ? options.groups : DEFAULT_GROUPS;
|
||||
const allowSamePrecedence = options.allowSamePrecedence !== false;
|
||||
|
||||
return {
|
||||
groups,
|
||||
allowSamePrecedence,
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks whether any group which includes both given operator exists or not.
|
||||
* @param {Array<string[]>} groups A list of groups to check.
|
||||
* @param {string} left An operator.
|
||||
* @param {string} right Another operator.
|
||||
* @returns {boolean} `true` if such group existed.
|
||||
*/
|
||||
function includesBothInAGroup(groups, left, right) {
|
||||
return groups.some(group => group.includes(left) && group.includes(right));
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks whether the given node is a conditional expression and returns the test node else the left node.
|
||||
* @param {ASTNode} node A node which can be a BinaryExpression or a LogicalExpression node.
|
||||
* This parent node can be BinaryExpression, LogicalExpression
|
||||
* , or a ConditionalExpression node
|
||||
* @returns {ASTNode} node the appropriate node(left or test).
|
||||
*/
|
||||
function getChildNode(node) {
|
||||
return node.type === "ConditionalExpression" ? node.test : node.left;
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// Rule Definition
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
/** @type {import('../shared/types').Rule} */
|
||||
module.exports = {
|
||||
meta: {
|
||||
deprecated: {
|
||||
message: "Formatting rules are being moved out of ESLint core.",
|
||||
url: "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
|
||||
deprecatedSince: "8.53.0",
|
||||
availableUntil: "10.0.0",
|
||||
replacedBy: [
|
||||
{
|
||||
message:
|
||||
"ESLint Stylistic now maintains deprecated stylistic core rules.",
|
||||
url: "https://eslint.style/guide/migration",
|
||||
plugin: {
|
||||
name: "@stylistic/eslint-plugin-js",
|
||||
url: "https://eslint.style/packages/js",
|
||||
},
|
||||
rule: {
|
||||
name: "no-mixed-operators",
|
||||
url: "https://eslint.style/rules/js/no-mixed-operators",
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
type: "suggestion",
|
||||
|
||||
docs: {
|
||||
description: "Disallow mixed binary operators",
|
||||
recommended: false,
|
||||
url: "https://eslint.org/docs/latest/rules/no-mixed-operators",
|
||||
},
|
||||
|
||||
schema: [
|
||||
{
|
||||
type: "object",
|
||||
properties: {
|
||||
groups: {
|
||||
type: "array",
|
||||
items: {
|
||||
type: "array",
|
||||
items: { enum: ALL_OPERATORS },
|
||||
minItems: 2,
|
||||
uniqueItems: true,
|
||||
},
|
||||
uniqueItems: true,
|
||||
},
|
||||
allowSamePrecedence: {
|
||||
type: "boolean",
|
||||
default: true,
|
||||
},
|
||||
},
|
||||
additionalProperties: false,
|
||||
},
|
||||
],
|
||||
|
||||
messages: {
|
||||
unexpectedMixedOperator:
|
||||
"Unexpected mix of '{{leftOperator}}' and '{{rightOperator}}'. Use parentheses to clarify the intended order of operations.",
|
||||
},
|
||||
},
|
||||
|
||||
create(context) {
|
||||
const sourceCode = context.sourceCode;
|
||||
const options = normalizeOptions(context.options[0]);
|
||||
|
||||
/**
|
||||
* Checks whether a given node should be ignored by options or not.
|
||||
* @param {ASTNode} node A node to check. This is a BinaryExpression
|
||||
* node or a LogicalExpression node. This parent node is one of
|
||||
* them, too.
|
||||
* @returns {boolean} `true` if the node should be ignored.
|
||||
*/
|
||||
function shouldIgnore(node) {
|
||||
const a = node;
|
||||
const b = node.parent;
|
||||
|
||||
return (
|
||||
!includesBothInAGroup(
|
||||
options.groups,
|
||||
a.operator,
|
||||
b.type === "ConditionalExpression" ? "?:" : b.operator,
|
||||
) ||
|
||||
(options.allowSamePrecedence &&
|
||||
astUtils.getPrecedence(a) === astUtils.getPrecedence(b))
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks whether the operator of a given node is mixed with parent
|
||||
* node's operator or not.
|
||||
* @param {ASTNode} node A node to check. This is a BinaryExpression
|
||||
* node or a LogicalExpression node. This parent node is one of
|
||||
* them, too.
|
||||
* @returns {boolean} `true` if the node was mixed.
|
||||
*/
|
||||
function isMixedWithParent(node) {
|
||||
return (
|
||||
node.operator !== node.parent.operator &&
|
||||
!astUtils.isParenthesised(sourceCode, node)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the operator token of a given node.
|
||||
* @param {ASTNode} node A node to check. This is a BinaryExpression
|
||||
* node or a LogicalExpression node.
|
||||
* @returns {Token} The operator token of the node.
|
||||
*/
|
||||
function getOperatorToken(node) {
|
||||
return sourceCode.getTokenAfter(
|
||||
getChildNode(node),
|
||||
astUtils.isNotClosingParenToken,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Reports both the operator of a given node and the operator of the
|
||||
* parent node.
|
||||
* @param {ASTNode} node A node to check. This is a BinaryExpression
|
||||
* node or a LogicalExpression node. This parent node is one of
|
||||
* them, too.
|
||||
* @returns {void}
|
||||
*/
|
||||
function reportBothOperators(node) {
|
||||
const parent = node.parent;
|
||||
const left = getChildNode(parent) === node ? node : parent;
|
||||
const right = getChildNode(parent) !== node ? node : parent;
|
||||
const data = {
|
||||
leftOperator: left.operator || "?:",
|
||||
rightOperator: right.operator || "?:",
|
||||
};
|
||||
|
||||
context.report({
|
||||
node: left,
|
||||
loc: getOperatorToken(left).loc,
|
||||
messageId: "unexpectedMixedOperator",
|
||||
data,
|
||||
});
|
||||
context.report({
|
||||
node: right,
|
||||
loc: getOperatorToken(right).loc,
|
||||
messageId: "unexpectedMixedOperator",
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks between the operator of this node and the operator of the
|
||||
* parent node.
|
||||
* @param {ASTNode} node A node to check.
|
||||
* @returns {void}
|
||||
*/
|
||||
function check(node) {
|
||||
if (
|
||||
TARGET_NODE_TYPE.test(node.parent.type) &&
|
||||
isMixedWithParent(node) &&
|
||||
!shouldIgnore(node)
|
||||
) {
|
||||
reportBothOperators(node);
|
||||
}
|
||||
}
|
||||
|
||||
return {
|
||||
BinaryExpression: check,
|
||||
LogicalExpression: check,
|
||||
};
|
||||
},
|
||||
};
|
||||
@@ -0,0 +1,28 @@
|
||||
let parts = [process.platform, process.arch];
|
||||
if (process.platform === 'linux') {
|
||||
const { MUSL, familySync } = require('detect-libc');
|
||||
const family = familySync();
|
||||
if (family === MUSL) {
|
||||
parts.push('musl');
|
||||
} else if (process.arch === 'arm') {
|
||||
parts.push('gnueabihf');
|
||||
} else {
|
||||
parts.push('gnu');
|
||||
}
|
||||
} else if (process.platform === 'win32') {
|
||||
parts.push('msvc');
|
||||
}
|
||||
|
||||
if (process.env.CSS_TRANSFORMER_WASM) {
|
||||
module.exports = require(`../pkg`);
|
||||
} else {
|
||||
try {
|
||||
module.exports = require(`lightningcss-${parts.join('-')}`);
|
||||
} catch (err) {
|
||||
module.exports = require(`../lightningcss.${parts.join('-')}.node`);
|
||||
}
|
||||
}
|
||||
|
||||
module.exports.browserslistToTargets = require('./browserslistToTargets');
|
||||
module.exports.composeVisitors = require('./composeVisitors');
|
||||
module.exports.Features = require('./flags').Features;
|
||||
@@ -0,0 +1,26 @@
|
||||
import { NavigateOptions, ToOptions } from './link.cjs';
|
||||
import { ParsedLocation } from './location.cjs';
|
||||
import { RoutePaths } from './routeInfo.cjs';
|
||||
import { AnyRouter, RegisteredRouter, ViewTransitionOptions } from './router.cjs';
|
||||
export interface MatchLocation {
|
||||
to?: string | number | null;
|
||||
fuzzy?: boolean;
|
||||
caseSensitive?: boolean;
|
||||
from?: string;
|
||||
}
|
||||
export interface CommitLocationOptions {
|
||||
replace?: boolean;
|
||||
resetScroll?: boolean;
|
||||
hashScrollIntoView?: boolean | ScrollIntoViewOptions;
|
||||
viewTransition?: boolean | ViewTransitionOptions;
|
||||
/**
|
||||
* @deprecated All navigations use React transitions under the hood now
|
||||
**/
|
||||
startTransition?: boolean;
|
||||
ignoreBlocker?: boolean;
|
||||
}
|
||||
export type NavigateFn = <TRouter extends RegisteredRouter, TTo extends string | undefined, TFrom extends RoutePaths<TRouter['routeTree']> | string = string, TMaskFrom extends RoutePaths<TRouter['routeTree']> | string = TFrom, TMaskTo extends string = ''>(opts: NavigateOptions<TRouter, TFrom, TTo, TMaskFrom, TMaskTo>) => Promise<void> | void;
|
||||
export type BuildLocationFn = <TRouter extends AnyRouter, TTo extends string | undefined, TFrom extends RoutePaths<TRouter['routeTree']> | string = string, TMaskFrom extends RoutePaths<TRouter['routeTree']> | string = TFrom, TMaskTo extends string = ''>(opts: ToOptions<TRouter, TFrom, TTo, TMaskFrom, TMaskTo> & {
|
||||
leaveParams?: boolean;
|
||||
_includeValidateSearch?: boolean;
|
||||
}) => ParsedLocation;
|
||||
@@ -0,0 +1 @@
|
||||
module.exports={C:{"48":0.00281,"115":0.0477,"128":0.00561,"133":0.00281,"134":0.00561,"135":0.05331,"136":0.188,"137":0.00281,_:"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 60 61 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 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 123 124 125 126 127 129 130 131 132 138 139 140 3.5 3.6"},D:{"71":0.00281,"75":0.00281,"76":0.00561,"87":0.00281,"90":0.00281,"93":0.00561,"98":0.00281,"101":0.00281,"103":0.05331,"104":0.00281,"109":0.14591,"114":0.00281,"115":0.00842,"116":0.03928,"119":0.00281,"120":0.00281,"122":0.00842,"123":0.00281,"124":0.00561,"125":0.00281,"126":0.03928,"127":0.00281,"128":0.03087,"129":0.01684,"130":0.01684,"131":0.08979,"132":0.15714,"133":1.27112,"134":2.18026,_:"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 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 72 73 74 77 78 79 80 81 83 84 85 86 88 89 91 92 94 95 96 97 99 100 102 105 106 107 108 110 111 112 113 117 118 121 135 136 137 138"},F:{"95":0.00281,"115":0.00281,"116":0.02525,"117":0.05612,_:"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 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"107":0.00281,"109":0.01403,"123":0.00281,"126":0.00281,"131":0.01403,"132":0.05331,"133":0.5612,"134":1.20377,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 108 110 111 112 113 114 115 116 117 118 119 120 121 122 124 125 127 128 129 130"},E:{"14":0.00842,_:"0 4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1","11.1":0.00281,"12.1":0.00281,"13.1":0.01403,"14.1":0.02245,"15.1":0.01964,"15.2-15.3":0.01403,"15.4":0.08979,"15.5":0.09821,"15.6":0.7969,"16.0":0.01684,"16.1":0.12066,"16.2":0.0954,"16.3":0.24693,"16.4":0.08418,"16.5":0.16836,"16.6":1.42545,"17.0":0.03928,"17.1":1.34407,"17.2":0.05893,"17.3":0.11505,"17.4":0.2357,"17.5":0.50508,"17.6":1.46754,"18.0":0.15152,"18.1":0.60329,"18.2":0.30024,"18.3":12.52318,"18.4":0.06734},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.01309,"5.0-5.1":0,"6.0-6.1":0.03926,"7.0-7.1":0.02617,"8.1-8.4":0,"9.0-9.2":0.01963,"9.3":0.0916,"10.0-10.2":0.00654,"10.3":0.15049,"11.0-11.2":0.69355,"11.3-11.4":0.0458,"12.0-12.1":0.02617,"12.2-12.5":0.64775,"13.0-13.1":0.01309,"13.2":0.01963,"13.3":0.02617,"13.4-13.7":0.0916,"14.0-14.4":0.229,"14.5-14.8":0.2748,"15.0-15.1":0.15049,"15.2-15.3":0.15049,"15.4":0.1832,"15.5":0.20937,"15.6-15.8":2.57792,"16.0":0.3664,"16.1":0.75244,"16.2":0.39258,"16.3":0.68047,"16.4":0.15049,"16.5":0.28135,"16.6-16.7":3.05555,"17.0":0.1832,"17.1":0.32715,"17.2":0.24863,"17.3":0.34678,"17.4":0.69355,"17.5":1.54413,"17.6-17.7":4.48192,"18.0":1.25625,"18.1":4.10897,"18.2":1.83857,"18.3":38.4267,"18.4":0.56924},P:{"22":0.01058,"24":0.01058,"25":0.01058,"26":0.03175,"27":0.83616,_:"4 20 21 23 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 18.0 19.0","7.2-7.4":0.01058,"17.0":0.01058},I:{"0":0,"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},K:{"0":0.00719,_:"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.03597},Q:{_:"14.9"},O:{"0":0.00719},H:{"0":0},L:{"0":5.94727}};
|
||||
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2018–2023 Wojciech Maj
|
||||
|
||||
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.
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1 @@
|
||||
module.exports={C:{"78":0.00444,"102":0.00444,"115":0.38184,"120":0.02664,"127":0.00444,"128":0.04884,"133":0.00444,"134":0.00888,"135":0.38628,"136":1.4208,"137":0.01332,_:"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 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 101 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 121 122 123 124 125 126 129 130 131 132 138 139 140 3.5 3.6"},D:{"39":0.00444,"40":0.00444,"41":0.00444,"42":0.00444,"43":0.00444,"44":0.00444,"45":0.00444,"46":0.00444,"47":0.00444,"48":0.00444,"49":0.00444,"50":0.00444,"51":0.00444,"52":0.00444,"53":0.00444,"54":0.00444,"55":0.00444,"56":0.00444,"57":0.00444,"58":0.00444,"59":0.00444,"60":0.00444,"65":0.00444,"73":0.00444,"75":0.0222,"76":0.00444,"79":0.0222,"80":0.00888,"81":0.00444,"83":0.00888,"85":0.00444,"86":0.00888,"87":0.10656,"88":0.00444,"91":0.00888,"93":0.00444,"94":0.00888,"98":0.07992,"101":0.00444,"103":0.05772,"105":0.00444,"106":0.00444,"108":0.0222,"109":0.26196,"110":0.01776,"111":0.00444,"112":0.00444,"114":0.01332,"115":0.00888,"116":0.11988,"118":0.01332,"119":0.01776,"120":0.00888,"121":0.00888,"122":0.08436,"123":0.03552,"124":0.07992,"125":0.15096,"126":0.05772,"127":0.07548,"128":0.21756,"129":0.0222,"130":0.06216,"131":0.27972,"132":0.46176,"133":8.37828,"134":16.50348,"135":0.06216,_:"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 66 67 68 69 70 71 72 74 77 78 84 89 90 92 95 96 97 99 100 102 104 107 113 117 136 137 138"},F:{"87":0.00888,"89":0.00888,"95":0.00888,"110":0.00444,"116":0.54168,"117":1.57176,_:"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 86 88 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 109 111 112 113 114 115 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.00444,"92":0.0222,"100":0.00444,"109":0.0222,"114":0.0222,"118":0.00444,"122":0.00444,"124":0.00444,"125":0.00888,"126":0.00888,"127":0.00888,"128":0.00888,"129":0.00888,"130":0.01776,"131":0.03108,"132":0.0888,"133":1.67832,"134":4.62648,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 110 111 112 113 115 116 117 119 120 121 123"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 12.1 15.1 15.2-15.3","11.1":0.00444,"13.1":0.01332,"14.1":0.00888,"15.4":0.00888,"15.5":0.00444,"15.6":0.08436,"16.0":0.03996,"16.1":0.0222,"16.2":0.00444,"16.3":0.0222,"16.4":0.01332,"16.5":0.01332,"16.6":0.12876,"17.0":0.0222,"17.1":0.31524,"17.2":0.01776,"17.3":0.01776,"17.4":0.0444,"17.5":0.16872,"17.6":0.28416,"18.0":0.03552,"18.1":0.17316,"18.2":0.05772,"18.3":1.60728,"18.4":0.03996},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00289,"5.0-5.1":0,"6.0-6.1":0.00868,"7.0-7.1":0.00579,"8.1-8.4":0,"9.0-9.2":0.00434,"9.3":0.02025,"10.0-10.2":0.00145,"10.3":0.03327,"11.0-11.2":0.15335,"11.3-11.4":0.01013,"12.0-12.1":0.00579,"12.2-12.5":0.14322,"13.0-13.1":0.00289,"13.2":0.00434,"13.3":0.00579,"13.4-13.7":0.02025,"14.0-14.4":0.05063,"14.5-14.8":0.06076,"15.0-15.1":0.03327,"15.2-15.3":0.03327,"15.4":0.04051,"15.5":0.04629,"15.6-15.8":0.57,"16.0":0.08102,"16.1":0.16637,"16.2":0.0868,"16.3":0.15046,"16.4":0.03327,"16.5":0.06221,"16.6-16.7":0.67561,"17.0":0.04051,"17.1":0.07234,"17.2":0.05498,"17.3":0.07668,"17.4":0.15335,"17.5":0.34142,"17.6-17.7":0.991,"18.0":0.27777,"18.1":0.90854,"18.2":0.40653,"18.3":8.49654,"18.4":0.12586},P:{"4":0.02069,"21":0.01035,"22":0.01035,"23":0.02069,"24":0.06208,"25":0.04139,"26":0.13451,"27":2.36938,_:"20 6.2-6.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 18.0 19.0","5.0-5.4":0.02069,"7.2-7.4":0.03104,"17.0":0.01035},I:{"0":0.03329,"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.00004},K:{"0":0.31136,_:"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.50596},Q:{_:"14.9"},O:{"0":0.05004},H:{"0":0},L:{"0":38.38008}};
|
||||
@@ -0,0 +1,26 @@
|
||||
import { AnyUpdater, Listener } from './types.js';
|
||||
export interface StoreOptions<TState, TUpdater extends AnyUpdater = (cb: TState) => TState> {
|
||||
/**
|
||||
* Replace the default update function with a custom one.
|
||||
*/
|
||||
updateFn?: (previous: TState) => (updater: TUpdater) => TState;
|
||||
/**
|
||||
* Called when a listener subscribes to the store.
|
||||
*
|
||||
* @return a function to unsubscribe the listener
|
||||
*/
|
||||
onSubscribe?: (listener: Listener<TState>, store: Store<TState, TUpdater>) => () => void;
|
||||
/**
|
||||
* Called after the state has been updated, used to derive other state.
|
||||
*/
|
||||
onUpdate?: () => void;
|
||||
}
|
||||
export declare class Store<TState, TUpdater extends AnyUpdater = (cb: TState) => TState> {
|
||||
listeners: Set<Listener<TState>>;
|
||||
state: TState;
|
||||
prevState: TState;
|
||||
options?: StoreOptions<TState, TUpdater>;
|
||||
constructor(initialState: TState, options?: StoreOptions<TState, TUpdater>);
|
||||
subscribe: (listener: Listener<TState>) => () => void;
|
||||
setState: (updater: TUpdater) => void;
|
||||
}
|
||||
Reference in New Issue
Block a user