Fix #365 add missing type specific predicates

This commit is contained in:
Misode
2023-06-04 16:52:52 +02:00
parent a78bb6c2a4
commit c098e1fa4d
2 changed files with 58 additions and 54 deletions

100
package-lock.json generated
View File

@@ -10,17 +10,17 @@
"license": "MIT",
"dependencies": {
"@giscus/react": "^2.2.3",
"@mcschema/core": "^0.12.37",
"@mcschema/core": "^0.12.40",
"@mcschema/java-1.15": "^0.2.6",
"@mcschema/java-1.16": "^0.6.13",
"@mcschema/java-1.17": "^0.2.32",
"@mcschema/java-1.18": "^0.3.8",
"@mcschema/java-1.18.2": "^0.1.17",
"@mcschema/java-1.19": "^0.1.43",
"@mcschema/java-1.19.3": "^0.0.5",
"@mcschema/java-1.19.4": "^0.1.7",
"@mcschema/java-1.20": "^0.0.6",
"@mcschema/locales": "^0.1.82",
"@mcschema/java-1.19": "^0.1.44",
"@mcschema/java-1.19.3": "^0.0.7",
"@mcschema/java-1.19.4": "^0.1.9",
"@mcschema/java-1.20": "^0.0.8",
"@mcschema/locales": "^0.1.83",
"@zip.js/zip.js": "^2.4.5",
"brace": "^0.11.1",
"buffer": "^6.0.3",
@@ -559,9 +559,9 @@
"integrity": "sha512-VMOxsWh/QDwrxPsgkSQnuZ+8mfNy1OTjzzUdLBvvZtpahwPTHTeVZ51RZRqO4xfKVrR+btIPA8D01IL3xeG66w=="
},
"node_modules/@mcschema/core": {
"version": "0.12.39",
"resolved": "https://registry.npmjs.org/@mcschema/core/-/core-0.12.39.tgz",
"integrity": "sha512-IM6l5SyxkRkPnv1Zuc53ixsMIaARG9PJpRXkPp3rn8FlXvM1OU5iHEzmAMB/jLADkAl0t05Yiu6tjqhmtYAE6A=="
"version": "0.12.40",
"resolved": "https://registry.npmjs.org/@mcschema/core/-/core-0.12.40.tgz",
"integrity": "sha512-XrC0mJxrTNhwcKDZ3rQnHAwWbH9zr0NEikb7jiMdrLygtjvxJB9vqLFvA6CAg6xJO2rAsLNx2j4rGg99llqBLw=="
},
"node_modules/@mcschema/java-1.15": {
"version": "0.2.6",
@@ -604,41 +604,41 @@
}
},
"node_modules/@mcschema/java-1.19": {
"version": "0.1.43",
"resolved": "https://registry.npmjs.org/@mcschema/java-1.19/-/java-1.19-0.1.43.tgz",
"integrity": "sha512-WhrA1+6RYR8OTAOjdlw0E84dts1xscHPVZPcp5YwtP1QpVwuZbH6WAdem9tRVqd6GfbSAucb8vy9VXR0hfh5Ng==",
"version": "0.1.44",
"resolved": "https://registry.npmjs.org/@mcschema/java-1.19/-/java-1.19-0.1.44.tgz",
"integrity": "sha512-VIH4YCKa8WGvW/U9bvKnxmhB7EBBtNUIbI3t0eo0i/r5lN7JLbdEC8BHY+d7Uu5jXxYRgOhh5S1oADRNSOClzg==",
"dependencies": {
"@mcschema/core": "^0.12.37"
}
},
"node_modules/@mcschema/java-1.19.3": {
"version": "0.0.5",
"resolved": "https://registry.npmjs.org/@mcschema/java-1.19.3/-/java-1.19.3-0.0.5.tgz",
"integrity": "sha512-LadLrU188bdQ6Ngjq4V9e0FnNiestZLKZntD56grlO5nqQti4gtpU7ktiBdFnBLaBpJWs1m8njFu7U8ibF9e/w==",
"version": "0.0.7",
"resolved": "https://registry.npmjs.org/@mcschema/java-1.19.3/-/java-1.19.3-0.0.7.tgz",
"integrity": "sha512-8cBFe82W24OYJJ36ah2xGOBxeZU9tvXEAlzwl08i1J5Oc2wfycGYCohJnltAS6RS6fRyT4Qrz3ZcH9fTD4WuqA==",
"dependencies": {
"@mcschema/core": "^0.12.37"
}
},
"node_modules/@mcschema/java-1.19.4": {
"version": "0.1.7",
"resolved": "https://registry.npmjs.org/@mcschema/java-1.19.4/-/java-1.19.4-0.1.7.tgz",
"integrity": "sha512-vi9pwxiKKqPS8t8g095iID/vjzbb7lUu4SITVj0/OHHze49NBXdB/6kqd0F9nSzhk2+vWIE3wNCZ7t6nCKlL6A==",
"version": "0.1.9",
"resolved": "https://registry.npmjs.org/@mcschema/java-1.19.4/-/java-1.19.4-0.1.9.tgz",
"integrity": "sha512-mnOq3YOSF+9hBf/tHXtE2jcSHvnGNna1Gi2m2rqUNzWRQqG6Y4C36suQOMlhBZ/V3eBPnL1yuYkFyZjmf77Fng==",
"dependencies": {
"@mcschema/core": "^0.12.38"
}
},
"node_modules/@mcschema/java-1.20": {
"version": "0.0.6",
"resolved": "https://registry.npmjs.org/@mcschema/java-1.20/-/java-1.20-0.0.6.tgz",
"integrity": "sha512-vyPc4APS8Q8EL9fNcYJNGZxZRKHocYsHuXpHvLovUsHRWSwFHXoaOZmUF1ZIZ+MWVgGNFH3GvrFCxWLO1CEMbg==",
"version": "0.0.8",
"resolved": "https://registry.npmjs.org/@mcschema/java-1.20/-/java-1.20-0.0.8.tgz",
"integrity": "sha512-jx0ME+hTgv8BkvUBTqlJDyZhCwbLYcAAXYDzad/QAMycgJLk9k1MQIfW4Vpq/Cx/WqOrxkOGXo9lSpJw9ZYkYw==",
"dependencies": {
"@mcschema/core": "^0.12.39"
}
},
"node_modules/@mcschema/locales": {
"version": "0.1.82",
"resolved": "https://registry.npmjs.org/@mcschema/locales/-/locales-0.1.82.tgz",
"integrity": "sha512-yONP8UsPRb4BtmZVs/MByQ+ve+Ns0oWYCa69EHB1U0zUSQH5L6HReGTvr0bPbI+ZpGOwTwsqIBvvd2fqi6BPTQ=="
"version": "0.1.83",
"resolved": "https://registry.npmjs.org/@mcschema/locales/-/locales-0.1.83.tgz",
"integrity": "sha512-NHFuq6yj0rmaHnNEWTwLg+lOcS/CanpiiQN/keZ4xgqS56giF1Ru1jOHV/X+Pgq5zpQ55RryFgeDEHeYayi6FQ=="
},
"node_modules/@nodelib/fs.scandir": {
"version": "2.1.5",
@@ -1455,9 +1455,9 @@
}
},
"node_modules/caniuse-lite": {
"version": "1.0.30001434",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001434.tgz",
"integrity": "sha512-aOBHrLmTQw//WFa2rcF1If9fa3ypkC1wzqqiKHgfdrXTWcU8C4gKVZT77eQAPWN1APys3+uQ0Df07rKauXGEYA==",
"version": "1.0.30001494",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001494.tgz",
"integrity": "sha512-sY2B5Qyl46ZzfYDegrl8GBCzdawSLT4ThM9b9F+aDYUrAG2zCOyMbd2Tq34mS1g4ZKBfjRlzOohQMxx28x6wJg==",
"dev": true,
"funding": [
{
@@ -1467,6 +1467,10 @@
{
"type": "tidelift",
"url": "https://tidelift.com/funding/github/npm/caniuse-lite"
},
{
"type": "github",
"url": "https://github.com/sponsors/ai"
}
]
},
@@ -5712,9 +5716,9 @@
"integrity": "sha512-VMOxsWh/QDwrxPsgkSQnuZ+8mfNy1OTjzzUdLBvvZtpahwPTHTeVZ51RZRqO4xfKVrR+btIPA8D01IL3xeG66w=="
},
"@mcschema/core": {
"version": "0.12.39",
"resolved": "https://registry.npmjs.org/@mcschema/core/-/core-0.12.39.tgz",
"integrity": "sha512-IM6l5SyxkRkPnv1Zuc53ixsMIaARG9PJpRXkPp3rn8FlXvM1OU5iHEzmAMB/jLADkAl0t05Yiu6tjqhmtYAE6A=="
"version": "0.12.40",
"resolved": "https://registry.npmjs.org/@mcschema/core/-/core-0.12.40.tgz",
"integrity": "sha512-XrC0mJxrTNhwcKDZ3rQnHAwWbH9zr0NEikb7jiMdrLygtjvxJB9vqLFvA6CAg6xJO2rAsLNx2j4rGg99llqBLw=="
},
"@mcschema/java-1.15": {
"version": "0.2.6",
@@ -5757,41 +5761,41 @@
}
},
"@mcschema/java-1.19": {
"version": "0.1.43",
"resolved": "https://registry.npmjs.org/@mcschema/java-1.19/-/java-1.19-0.1.43.tgz",
"integrity": "sha512-WhrA1+6RYR8OTAOjdlw0E84dts1xscHPVZPcp5YwtP1QpVwuZbH6WAdem9tRVqd6GfbSAucb8vy9VXR0hfh5Ng==",
"version": "0.1.44",
"resolved": "https://registry.npmjs.org/@mcschema/java-1.19/-/java-1.19-0.1.44.tgz",
"integrity": "sha512-VIH4YCKa8WGvW/U9bvKnxmhB7EBBtNUIbI3t0eo0i/r5lN7JLbdEC8BHY+d7Uu5jXxYRgOhh5S1oADRNSOClzg==",
"requires": {
"@mcschema/core": "^0.12.37"
}
},
"@mcschema/java-1.19.3": {
"version": "0.0.5",
"resolved": "https://registry.npmjs.org/@mcschema/java-1.19.3/-/java-1.19.3-0.0.5.tgz",
"integrity": "sha512-LadLrU188bdQ6Ngjq4V9e0FnNiestZLKZntD56grlO5nqQti4gtpU7ktiBdFnBLaBpJWs1m8njFu7U8ibF9e/w==",
"version": "0.0.7",
"resolved": "https://registry.npmjs.org/@mcschema/java-1.19.3/-/java-1.19.3-0.0.7.tgz",
"integrity": "sha512-8cBFe82W24OYJJ36ah2xGOBxeZU9tvXEAlzwl08i1J5Oc2wfycGYCohJnltAS6RS6fRyT4Qrz3ZcH9fTD4WuqA==",
"requires": {
"@mcschema/core": "^0.12.37"
}
},
"@mcschema/java-1.19.4": {
"version": "0.1.7",
"resolved": "https://registry.npmjs.org/@mcschema/java-1.19.4/-/java-1.19.4-0.1.7.tgz",
"integrity": "sha512-vi9pwxiKKqPS8t8g095iID/vjzbb7lUu4SITVj0/OHHze49NBXdB/6kqd0F9nSzhk2+vWIE3wNCZ7t6nCKlL6A==",
"version": "0.1.9",
"resolved": "https://registry.npmjs.org/@mcschema/java-1.19.4/-/java-1.19.4-0.1.9.tgz",
"integrity": "sha512-mnOq3YOSF+9hBf/tHXtE2jcSHvnGNna1Gi2m2rqUNzWRQqG6Y4C36suQOMlhBZ/V3eBPnL1yuYkFyZjmf77Fng==",
"requires": {
"@mcschema/core": "^0.12.38"
}
},
"@mcschema/java-1.20": {
"version": "0.0.6",
"resolved": "https://registry.npmjs.org/@mcschema/java-1.20/-/java-1.20-0.0.6.tgz",
"integrity": "sha512-vyPc4APS8Q8EL9fNcYJNGZxZRKHocYsHuXpHvLovUsHRWSwFHXoaOZmUF1ZIZ+MWVgGNFH3GvrFCxWLO1CEMbg==",
"version": "0.0.8",
"resolved": "https://registry.npmjs.org/@mcschema/java-1.20/-/java-1.20-0.0.8.tgz",
"integrity": "sha512-jx0ME+hTgv8BkvUBTqlJDyZhCwbLYcAAXYDzad/QAMycgJLk9k1MQIfW4Vpq/Cx/WqOrxkOGXo9lSpJw9ZYkYw==",
"requires": {
"@mcschema/core": "^0.12.39"
}
},
"@mcschema/locales": {
"version": "0.1.82",
"resolved": "https://registry.npmjs.org/@mcschema/locales/-/locales-0.1.82.tgz",
"integrity": "sha512-yONP8UsPRb4BtmZVs/MByQ+ve+Ns0oWYCa69EHB1U0zUSQH5L6HReGTvr0bPbI+ZpGOwTwsqIBvvd2fqi6BPTQ=="
"version": "0.1.83",
"resolved": "https://registry.npmjs.org/@mcschema/locales/-/locales-0.1.83.tgz",
"integrity": "sha512-NHFuq6yj0rmaHnNEWTwLg+lOcS/CanpiiQN/keZ4xgqS56giF1Ru1jOHV/X+Pgq5zpQ55RryFgeDEHeYayi6FQ=="
},
"@nodelib/fs.scandir": {
"version": "2.1.5",
@@ -6357,9 +6361,9 @@
"dev": true
},
"caniuse-lite": {
"version": "1.0.30001434",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001434.tgz",
"integrity": "sha512-aOBHrLmTQw//WFa2rcF1If9fa3ypkC1wzqqiKHgfdrXTWcU8C4gKVZT77eQAPWN1APys3+uQ0Df07rKauXGEYA==",
"version": "1.0.30001494",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001494.tgz",
"integrity": "sha512-sY2B5Qyl46ZzfYDegrl8GBCzdawSLT4ThM9b9F+aDYUrAG2zCOyMbd2Tq34mS1g4ZKBfjRlzOohQMxx28x6wJg==",
"dev": true
},
"caseless": {