diff --git a/.changeset/fruity-experts-laugh.md b/.changeset/fruity-experts-laugh.md new file mode 100644 index 00000000..85b52e1e --- /dev/null +++ b/.changeset/fruity-experts-laugh.md @@ -0,0 +1,9 @@ +--- +'@solidmaterial/material': patch +'@solidmaterial/calculator': patch +'@solidmaterial/hero': patch +'@solidmaterial/landing-page': patch +'@solidmaterial/vite-plugin-solid-svg': patch +--- + +Update oxlint/oxfmt and solid-js because of CVE's in dependencies diff --git a/.oxfmtrc.json b/.oxfmtrc.json index d2f02542..10da9ceb 100644 --- a/.oxfmtrc.json +++ b/.oxfmtrc.json @@ -9,10 +9,6 @@ { "groupName": "icons", "elementNamePattern": ["@solidmaterial/icons/**"] - }, - { - "groupName": "style", - "selector": "style" } ], "groups": [ diff --git a/.oxlintrc.json b/.oxlintrc.json index 784d77e7..e841326c 100644 --- a/.oxlintrc.json +++ b/.oxlintrc.json @@ -56,6 +56,7 @@ "no-duplicate-imports": ["error", { "allowSeparateTypeImports": true }], "no-magic-numbers": "off", "no-ternary": "off", + "one-var": "off", "prefer-default-export": "off", "sort-imports": ["warn", { "ignoreDeclarationSort": true }], "sort-keys": "off", diff --git a/apps/calculator/src/calculator/tokenizer/tokenizer.ts b/apps/calculator/src/calculator/tokenizer/tokenizer.ts index 367117ff..f03cd747 100644 --- a/apps/calculator/src/calculator/tokenizer/tokenizer.ts +++ b/apps/calculator/src/calculator/tokenizer/tokenizer.ts @@ -118,7 +118,7 @@ export const backspace = (tokens: Token[]): Token[] => tokens.slice(0, -1); */ export const balanceParentheses = (tokens: Token[]): Token[] => { const amount = Math.max(0, getBalance(tokens)); - const parentheses: Token[] = Array.from({ length: amount }).map(_ => ({ type: 'PARENTHESIS_CLOSE' })); + const parentheses: Token[] = Array.from({ length: amount }).map(_item => ({ type: 'PARENTHESIS_CLOSE' })); return [...tokens, ...parentheses]; }; diff --git a/apps/landing-page/src/pages/home/sections/components/SectionComponents.tsx b/apps/landing-page/src/pages/home/sections/components/SectionComponents.tsx index ef7c223d..82ad92d7 100644 --- a/apps/landing-page/src/pages/home/sections/components/SectionComponents.tsx +++ b/apps/landing-page/src/pages/home/sections/components/SectionComponents.tsx @@ -50,7 +50,7 @@ export const SectionComponents: VoidComponent = () => {