Skip to content

Commit

Permalink
Update version list
Browse files Browse the repository at this point in the history
  • Loading branch information
Dianliang233 committed Oct 26, 2023
1 parent c763d63 commit 625effe
Show file tree
Hide file tree
Showing 16 changed files with 140 additions and 73 deletions.
Empty file modified .yarn/sdks/eslint/bin/eslint.js
100644 → 100755
Empty file.
20 changes: 20 additions & 0 deletions .yarn/sdks/eslint/lib/unsupported-api.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/usr/bin/env node

const {existsSync} = require(`fs`);
const {createRequire} = require(`module`);
const {resolve} = require(`path`);

const relPnpApiPath = "../../../../.pnp.cjs";

const absPnpApiPath = resolve(__dirname, relPnpApiPath);
const absRequire = createRequire(absPnpApiPath);

if (existsSync(absPnpApiPath)) {
if (!process.versions.pnp) {
// Setup the environment to be able to require eslint/use-at-your-own-risk
require(absPnpApiPath).setup();
}
}

// Defer to the real eslint/use-at-your-own-risk your application uses
module.exports = absRequire(`eslint/use-at-your-own-risk`);
12 changes: 10 additions & 2 deletions .yarn/sdks/eslint/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
{
"name": "eslint",
"version": "8.36.0-sdk",
"version": "8.51.0-sdk",
"main": "./lib/api.js",
"type": "commonjs"
"type": "commonjs",
"bin": {
"eslint": "./bin/eslint.js"
},
"exports": {
"./package.json": "./package.json",
".": "./lib/api.js",
"./use-at-your-own-risk": "./lib/unsupported-api.js"
}
}
20 changes: 20 additions & 0 deletions .yarn/sdks/prettier/bin/prettier.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/usr/bin/env node

const {existsSync} = require(`fs`);
const {createRequire} = require(`module`);
const {resolve} = require(`path`);

const relPnpApiPath = "../../../../.pnp.cjs";

const absPnpApiPath = resolve(__dirname, relPnpApiPath);
const absRequire = createRequire(absPnpApiPath);

if (existsSync(absPnpApiPath)) {
if (!process.versions.pnp) {
// Setup the environment to be able to require prettier/bin/prettier.cjs
require(absPnpApiPath).setup();
}
}

// Defer to the real prettier/bin/prettier.cjs your application uses
module.exports = absRequire(`prettier/bin/prettier.cjs`);
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ const absRequire = createRequire(absPnpApiPath);

if (existsSync(absPnpApiPath)) {
if (!process.versions.pnp) {
// Setup the environment to be able to require prettier/index.js
// Setup the environment to be able to require prettier
require(absPnpApiPath).setup();
}
}

// Defer to the real prettier/index.js your application uses
module.exports = absRequire(`prettier/index.js`);
// Defer to the real prettier your application uses
module.exports = absRequire(`prettier`);
7 changes: 4 additions & 3 deletions .yarn/sdks/prettier/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "prettier",
"version": "2.8.4-sdk",
"main": "./index.js",
"type": "commonjs"
"version": "3.0.3-sdk",
"main": "./index.cjs",
"type": "commonjs",
"bin": "./bin/prettier.cjs"
}
Empty file modified .yarn/sdks/typescript/bin/tsc
100644 → 100755
Empty file.
Empty file modified .yarn/sdks/typescript/bin/tsserver
100644 → 100755
Empty file.
2 changes: 2 additions & 0 deletions .yarn/sdks/typescript/lib/tsserver.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ const moduleWrapper = tsserver => {
str = `zip:${str}`;
} break;
}
} else {
str = str.replace(/^\/?/, process.platform === `win32` ? `` : `/`);
}
}

Expand Down
2 changes: 2 additions & 0 deletions .yarn/sdks/typescript/lib/tsserverlibrary.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ const moduleWrapper = tsserver => {
str = `zip:${str}`;
} break;
}
} else {
str = str.replace(/^\/?/, process.platform === `win32` ? `` : `/`);
}
}

Expand Down
6 changes: 3 additions & 3 deletions .yarn/sdks/typescript/lib/typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ const absRequire = createRequire(absPnpApiPath);

if (existsSync(absPnpApiPath)) {
if (!process.versions.pnp) {
// Setup the environment to be able to require typescript/lib/typescript.js
// Setup the environment to be able to require typescript
require(absPnpApiPath).setup();
}
}

// Defer to the real typescript/lib/typescript.js your application uses
module.exports = absRequire(`typescript/lib/typescript.js`);
// Defer to the real typescript your application uses
module.exports = absRequire(`typescript`);
8 changes: 6 additions & 2 deletions .yarn/sdks/typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{
"name": "typescript",
"version": "5.0.2-sdk",
"version": "5.2.2-sdk",
"main": "./lib/typescript.js",
"type": "commonjs"
"type": "commonjs",
"bin": {
"tsc": "./bin/tsc",
"tsserver": "./bin/tsserver"
}
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
"@types/react-dom": "^18.2.11",
"@types/react-highlight-words": "^0.16.5",
"@types/react-transition-group": "^4.4.7",
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"@vitejs/plugin-legacy": "^4.1.1",
"@vitejs/plugin-react": "^4.1.0",
"eslint": "^8.51.0",
Expand Down
16 changes: 13 additions & 3 deletions src/components/form/JavaForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ export default function JavaForm({

const versionModules = useMemo(() => {
return {
20: [],
18: [],
15: [],
13: ['version_1.19.4'],
12: ['version_1.19.3'],
Expand Down Expand Up @@ -273,10 +275,18 @@ export default function JavaForm({
>
{[
{
version: '1.20+',
format: 15,
version: '23w43a+',
format: 20,
caption: t('form.version.captions.snapshot'),
},
{
version: '1.20.2',
format: 18,
caption: t('form.version.captions.release'),
// caption: t('form.version.captions.snapshot'),
},
{
version: '1.20 - 1.20.1',
format: 15,
emoji: emojis.monocleFace,
},
{
Expand Down
2 changes: 1 addition & 1 deletion src/components/form/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const schema = z.object({
resource: z.string().array().default([]),
language: z.string().array().default([]),
mod: z.string().array().default([]),
gameVersion: z.number().default(15),
gameVersion: z.number().default(18),
compatible: z.boolean().default(false),
sfw: z.number().default(2),
})
Expand Down
108 changes: 54 additions & 54 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4368,15 +4368,15 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/eslint-plugin@npm:^6.7.4":
version: 6.7.4
resolution: "@typescript-eslint/eslint-plugin@npm:6.7.4"
"@typescript-eslint/eslint-plugin@npm:^6.9.0":
version: 6.9.0
resolution: "@typescript-eslint/eslint-plugin@npm:6.9.0"
dependencies:
"@eslint-community/regexpp": "npm:^4.5.1"
"@typescript-eslint/scope-manager": "npm:6.7.4"
"@typescript-eslint/type-utils": "npm:6.7.4"
"@typescript-eslint/utils": "npm:6.7.4"
"@typescript-eslint/visitor-keys": "npm:6.7.4"
"@typescript-eslint/scope-manager": "npm:6.9.0"
"@typescript-eslint/type-utils": "npm:6.9.0"
"@typescript-eslint/utils": "npm:6.9.0"
"@typescript-eslint/visitor-keys": "npm:6.9.0"
debug: "npm:^4.3.4"
graphemer: "npm:^1.4.0"
ignore: "npm:^5.2.4"
Expand All @@ -4389,68 +4389,68 @@ __metadata:
peerDependenciesMeta:
typescript:
optional: true
checksum: d888cef041d0d4f804c6f37831afd5cfc93579894313de34bda1197a688f007580c6f48aa791243af59fec476d9f605e9f21e87452ade7b50df9b5d53a0160a3
checksum: bcf4578ef5ec046149d3692a622d0ffff125df9d9436a1964ac560024b3ccf8e847e83d608c4b9f1b3bde7a48f4c42c34b1c8dfad99df076c41bfcef9d6704fe
languageName: node
linkType: hard

"@typescript-eslint/parser@npm:^6.7.4":
version: 6.7.4
resolution: "@typescript-eslint/parser@npm:6.7.4"
"@typescript-eslint/parser@npm:^6.9.0":
version: 6.9.0
resolution: "@typescript-eslint/parser@npm:6.9.0"
dependencies:
"@typescript-eslint/scope-manager": "npm:6.7.4"
"@typescript-eslint/types": "npm:6.7.4"
"@typescript-eslint/typescript-estree": "npm:6.7.4"
"@typescript-eslint/visitor-keys": "npm:6.7.4"
"@typescript-eslint/scope-manager": "npm:6.9.0"
"@typescript-eslint/types": "npm:6.9.0"
"@typescript-eslint/typescript-estree": "npm:6.9.0"
"@typescript-eslint/visitor-keys": "npm:6.9.0"
debug: "npm:^4.3.4"
peerDependencies:
eslint: ^7.0.0 || ^8.0.0
peerDependenciesMeta:
typescript:
optional: true
checksum: 78284615694b4bcb54dec5079bab7e36a04f58cf7cbd005a5eaa05a1544769e41d7a47c2be651312b2f764f5612b3c11ed63799f3bb5b628d2b7720252f3572c
checksum: 607813cc677095f77000a77eee58c5e2fd02d45c10e35e51830cb1284d1e3b9ff33c3b06124368e51d7ff312a88311026931026b3eb36f77436b88901ef3a8fd
languageName: node
linkType: hard

"@typescript-eslint/scope-manager@npm:6.7.4":
version: 6.7.4
resolution: "@typescript-eslint/scope-manager@npm:6.7.4"
"@typescript-eslint/scope-manager@npm:6.9.0":
version: 6.9.0
resolution: "@typescript-eslint/scope-manager@npm:6.9.0"
dependencies:
"@typescript-eslint/types": "npm:6.7.4"
"@typescript-eslint/visitor-keys": "npm:6.7.4"
checksum: eabf3f0d18389c9c799c9f9648c9fcd1b098468979459d86267f51403ab2bb005d16b6d1278c6d54794956b4c699d41e7d8bb84e73db2b448f73797701907e9d
"@typescript-eslint/types": "npm:6.9.0"
"@typescript-eslint/visitor-keys": "npm:6.9.0"
checksum: ee872441fb9224859b31270e1a7dec3a51078f0475926b8f6132502db68f080eccaa7191915e91c9f8aa53179000af2523af4707c81a8a5218db3815f1887aa6
languageName: node
linkType: hard

"@typescript-eslint/type-utils@npm:6.7.4":
version: 6.7.4
resolution: "@typescript-eslint/type-utils@npm:6.7.4"
"@typescript-eslint/type-utils@npm:6.9.0":
version: 6.9.0
resolution: "@typescript-eslint/type-utils@npm:6.9.0"
dependencies:
"@typescript-eslint/typescript-estree": "npm:6.7.4"
"@typescript-eslint/utils": "npm:6.7.4"
"@typescript-eslint/typescript-estree": "npm:6.9.0"
"@typescript-eslint/utils": "npm:6.9.0"
debug: "npm:^4.3.4"
ts-api-utils: "npm:^1.0.1"
peerDependencies:
eslint: ^7.0.0 || ^8.0.0
peerDependenciesMeta:
typescript:
optional: true
checksum: 88778c47d912c4846645ed817e33a7c05433353954b670f6d257748361f5cf88ec6dd089e109298ec9c58a8a2cb96509ca9187b7d46bf810c1b0d61e3f475746
checksum: b435914bfce1ef3335a511fe4bb22c178090175997e39569db174e39ffc2b02eb62112ddfe093ef70509e429219dd373a31dba4b5cb899de38583f7c80353201
languageName: node
linkType: hard

"@typescript-eslint/types@npm:6.7.4":
version: 6.7.4
resolution: "@typescript-eslint/types@npm:6.7.4"
checksum: 14aa41aefee32efe8ad469d301c2acc522e411663b912d143c327e1161242e568b8d446a72faec491b86ae44517af3ecb988823aed7b1b1bc6693ff950be4809
"@typescript-eslint/types@npm:6.9.0":
version: 6.9.0
resolution: "@typescript-eslint/types@npm:6.9.0"
checksum: 39a9206062dc8efb9ec4378d7f03e7e59ce85d2171a4e0ed90653eb44ec92089a1d587371600dfa3a28521d818bbc79e8cce825787f7800f381ecee9b497cc40
languageName: node
linkType: hard

"@typescript-eslint/typescript-estree@npm:6.7.4":
version: 6.7.4
resolution: "@typescript-eslint/typescript-estree@npm:6.7.4"
"@typescript-eslint/typescript-estree@npm:6.9.0":
version: 6.9.0
resolution: "@typescript-eslint/typescript-estree@npm:6.9.0"
dependencies:
"@typescript-eslint/types": "npm:6.7.4"
"@typescript-eslint/visitor-keys": "npm:6.7.4"
"@typescript-eslint/types": "npm:6.9.0"
"@typescript-eslint/visitor-keys": "npm:6.9.0"
debug: "npm:^4.3.4"
globby: "npm:^11.1.0"
is-glob: "npm:^4.0.3"
Expand All @@ -4459,34 +4459,34 @@ __metadata:
peerDependenciesMeta:
typescript:
optional: true
checksum: 3336fc8bcd141c124ab50e26a707c1ca928fa6bcb93cef4754167acbeec7022f0660e7772fc4ffa79cff139711275422449ffc9fd03c6472cf8f77e92405f82c
checksum: f1ca4fd2cb586ff54e58f3f1967c0800ef9489829df9acb5ccea61e90395ec915ac1eeb8ba8c102d34ab161a9c3342c756ec7da983c2512c13104be3e1eb4f69
languageName: node
linkType: hard

"@typescript-eslint/utils@npm:6.7.4":
version: 6.7.4
resolution: "@typescript-eslint/utils@npm:6.7.4"
"@typescript-eslint/utils@npm:6.9.0":
version: 6.9.0
resolution: "@typescript-eslint/utils@npm:6.9.0"
dependencies:
"@eslint-community/eslint-utils": "npm:^4.4.0"
"@types/json-schema": "npm:^7.0.12"
"@types/semver": "npm:^7.5.0"
"@typescript-eslint/scope-manager": "npm:6.7.4"
"@typescript-eslint/types": "npm:6.7.4"
"@typescript-eslint/typescript-estree": "npm:6.7.4"
"@typescript-eslint/scope-manager": "npm:6.9.0"
"@typescript-eslint/types": "npm:6.9.0"
"@typescript-eslint/typescript-estree": "npm:6.9.0"
semver: "npm:^7.5.4"
peerDependencies:
eslint: ^7.0.0 || ^8.0.0
checksum: a2b9b4307385599c1b8d073e319a49a79d9b9315d642d56380385524f333dbe98325128ff6f113566ff10f3447be98b79450567060c37b013fae0b5a83c6b9cc
checksum: 4937c9ad754681b4f0591eb5be3caa34b2df6c07845f16292120b03755453c4c19f1c34710f6f9eb138d509ec554575b899b44b33e263536d9d43f5b1fbe2208
languageName: node
linkType: hard

"@typescript-eslint/visitor-keys@npm:6.7.4":
version: 6.7.4
resolution: "@typescript-eslint/visitor-keys@npm:6.7.4"
"@typescript-eslint/visitor-keys@npm:6.9.0":
version: 6.9.0
resolution: "@typescript-eslint/visitor-keys@npm:6.9.0"
dependencies:
"@typescript-eslint/types": "npm:6.7.4"
"@typescript-eslint/types": "npm:6.9.0"
eslint-visitor-keys: "npm:^3.4.1"
checksum: b9e086c04689ea2180f7cacf63fcea7e6a25bb699ae7ac78b9ed4b23633711d93e08341275e38cda8eba09697d5dcb36da493dfe0e8d4cd6aadc629dc6d4b113
checksum: 562ce06df6d4e13257c396f5322b4839383bbd78d68411781ab0a9a336579b0b3480e3b4cb8e67b9e27ebc108560643e0be22712ba453db1cdd7a3424d8d86ac
languageName: node
linkType: hard

Expand Down Expand Up @@ -8400,8 +8400,8 @@ __metadata:
"@types/react-dom": "npm:^18.2.11"
"@types/react-highlight-words": "npm:^0.16.5"
"@types/react-transition-group": "npm:^4.4.7"
"@typescript-eslint/eslint-plugin": "npm:^6.7.4"
"@typescript-eslint/parser": "npm:^6.7.4"
"@typescript-eslint/eslint-plugin": "npm:^6.9.0"
"@typescript-eslint/parser": "npm:^6.9.0"
"@vitejs/plugin-legacy": "npm:^4.1.1"
"@vitejs/plugin-react": "npm:^4.1.0"
brotli-wasm: "npm:^2.0.0"
Expand Down Expand Up @@ -9090,11 +9090,11 @@ __metadata:

"typescript@patch:typescript@npm%3A^5.2.2#optional!builtin<compat/typescript>":
version: 5.2.2
resolution: "typescript@patch:typescript@npm%3A5.2.2#optional!builtin<compat/typescript>::version=5.2.2&hash=14eedb"
resolution: "typescript@patch:typescript@npm%3A5.2.2#optional!builtin<compat/typescript>::version=5.2.2&hash=f3b441"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 1f0e3f341f0d8b8351b2367470ac58de9c63ea676ea00570fd142ec3b2020413d950d9424ab61c599d3579bb0c43a05d07123ba12a2eec16078d3be4b5226b09
checksum: f79cc2ba802c94c2b78dbb00d767a10adb67368ae764709737dc277273ec148aa4558033a03ce901406b35fddf4eac46dabc94a1e1d12d2587e2b9cfe5707b4a
languageName: node
linkType: hard

Expand Down

0 comments on commit 625effe

Please sign in to comment.