Skip to content

Commit

Permalink
Chore: Upgrade dependencies (#623)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcustyphoon committed Nov 29, 2023
1 parent 94d6103 commit ebb5f8a
Show file tree
Hide file tree
Showing 5 changed files with 802 additions and 517 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
"prettier": "^3.0.3",
"ts-node": "^10.9.1",
"typescript": "^5.2.2",
"vite": "^4.3.9",
"vite": "^5.0.0",
"vite-plugin-wasm-pack": "^0.1.12",
"wrangler": "^3.11.0"
}
Expand Down
8 changes: 4 additions & 4 deletions src/assets/modifierdata/metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -254,10 +254,10 @@ export type AttributeModifiers = {
[Key in AttributeKey]?: Key extends AttributePointKey
? [number, AttributePointMode, number?, AttributePointMode?]
: Key extends AttributeCoefficientKey
? number
: Key extends AttributePercentKey
? Percent
: never;
? number
: Key extends AttributePercentKey
? Percent
: never;
};

export type ConversionValue = Partial<Record<ConversionSourceKey, Percent>>;
Expand Down
8 changes: 4 additions & 4 deletions src/components/sections/extras/ModalContent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -323,8 +323,8 @@ function ModalContent(props) {
amountData
? ''
: Array.isArray(value) && value.length === 2
? value[0]
: value
? value[0]
: value
} ${key}`,
)
.join(', ')}`
Expand All @@ -337,8 +337,8 @@ function ModalContent(props) {
amountData
? ''
: Array.isArray(value) && value.length === 2
? value[0]
: value
? value[0]
: value
} ${key}`,
)
.join(', ')}`
Expand Down
2 changes: 1 addition & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ export default defineConfig({
plugins: [react(), yamlImporter(), wasmPack('./wasm_module')],
worker: {
format: 'iife',
plugins: [yamlImporter(), wasmPack('./wasm_module')],
plugins: () => [yamlImporter(), wasmPack('./wasm_module')],
},
});

0 comments on commit ebb5f8a

Please sign in to comment.