diff --git a/uncoder-os/package.json b/uncoder-os/package.json index 4c746e7d..d5b02123 100644 --- a/uncoder-os/package.json +++ b/uncoder-os/package.json @@ -53,11 +53,11 @@ "html-webpack-plugin": "^5.6.3", "mini-css-extract-plugin": "^2.9.2", "node-polyfill-webpack-plugin": "^4.0.0", - "postcss": "^8.4.49", - "postcss-inline-base64": "^7.3.1", - "postcss-loader": "^8.1.1", - "sass": "^1.81.0", - "sass-loader": "^16.0.3", + "postcss": "8.4.47", + "postcss-inline-base64": "7.3.1", + "postcss-loader": "8.1.1", + "sass": "1.77.6", + "sass-loader": "16.0.2", "source-map-loader": "^5.0.0", "style-loader": "^4.0.0", "ts-loader": "^9.5.1", diff --git a/uncoder-os/src/components/IocsStatistic/useIocsStatistic.ts b/uncoder-os/src/components/IocsStatistic/useIocsStatistic.ts index 939ce069..44718a65 100644 --- a/uncoder-os/src/components/IocsStatistic/useIocsStatistic.ts +++ b/uncoder-os/src/components/IocsStatistic/useIocsStatistic.ts @@ -1,4 +1,3 @@ -import { parseInt } from 'lodash'; import { BasicIocType } from '../../types/iocsTypes'; export const useIocsStatistic = () => { @@ -43,7 +42,7 @@ export const useIocsStatistic = () => { }; const convertValue = (value?: string | number): string => { - const convertedValue: number = parseInt((value ?? 0).toString()); + const convertedValue: number = parseInt((value ?? 0).toString(), 10); if (convertedValue >= 1000) { return `${Math.floor(convertedValue / 1000)}k`; diff --git a/uncoder-os/src/components/TextEditor/InputTextEditor/useInputEditor.ts b/uncoder-os/src/components/TextEditor/InputTextEditor/useInputEditor.ts index 4ca9b896..a7116de2 100644 --- a/uncoder-os/src/components/TextEditor/InputTextEditor/useInputEditor.ts +++ b/uncoder-os/src/components/TextEditor/InputTextEditor/useInputEditor.ts @@ -3,7 +3,7 @@ import { useDispatch, useSelector } from 'react-redux'; import { Dispatch } from '@reduxjs/toolkit'; import { clearText, inputEditorSelector } from '../../../reduxData/inputEditor'; -import ace from 'ace-builds'; +import ace from 'ace-builds/src-noconflict/ace'; import 'ace-builds/src-noconflict/ext-language_tools'; import { loadSuggesterData, suggesterSelector } from '../../../reduxData/suggester'; import { useEditorSuggestion } from '../useEditorSuggestion';