From 0694c45c08fa14119171729a0374acb5653bfe46 Mon Sep 17 00:00:00 2001 From: Ivan <8611739+IRBorisov@users.noreply.github.com> Date: Thu, 20 Feb 2025 18:10:34 +0300 Subject: [PATCH] npm update + fix name collision --- rsconcept/frontend/package-lock.json | 107 ++++++++++++------ rsconcept/frontend/package.json | 17 +-- rsconcept/frontend/src/app/GlobalTooltips.tsx | 10 +- .../src/app/Navigation/NavigationButton.tsx | 4 +- .../src/app/Navigation/ToggleNavigation.tsx | 6 +- .../src/components/Control/Button.tsx | 4 +- .../src/components/Control/MiniButton.tsx | 4 +- .../src/components/Control/SelectorButton.tsx | 4 +- .../components/Dropdown/DropdownButton.tsx | 4 +- .../src/components/Input/Checkbox.tsx | 4 +- .../src/components/Input/CheckboxTristate.tsx | 4 +- .../src/components/Input/SelectTree.tsx | 4 +- .../frontend/src/components/Tabs/TabLabel.tsx | 4 +- .../src/components/View/Indicator.tsx | 4 +- .../src/components/View/TextContent.tsx | 4 +- .../src/components/View/ValueIcon.tsx | 4 +- .../library/components/BadgeLocation.tsx | 4 +- .../OssPage/EditorOssCard/EditorOssCard.tsx | 4 +- .../pages/OssPage/EditorOssCard/FormOSS.tsx | 4 +- .../OssPage/EditorOssGraph/graph/NodeCore.tsx | 4 +- .../rsform/components/BadgeConstituenta.tsx | 4 +- .../DlgShowTypeGraph/graph/MGraphNode.tsx | 4 +- .../EditorConstituenta/EditorConstituenta.tsx | 6 +- .../EditorRSExpression/RSLocalButton.tsx | 4 +- .../EditorRSExpression/RSTokenButton.tsx | 4 +- .../EditorRSExpression/StatusBar.tsx | 4 +- .../EditorRSFormCard/EditorRSFormCard.tsx | 4 +- .../EditorRSFormCard/FormRSForm.tsx | 4 +- .../EditorTermGraph/SchemasGuide.tsx | 6 +- .../RSFormPage/EditorTermGraph/ViewHidden.tsx | 4 +- .../users/pages/RegisterPage/FormSignup.tsx | 6 +- rsconcept/frontend/src/utils/constants.ts | 2 +- 32 files changed, 145 insertions(+), 111 deletions(-) diff --git a/rsconcept/frontend/package-lock.json b/rsconcept/frontend/package-lock.json index b539707f..86a63c78 100644 --- a/rsconcept/frontend/package-lock.json +++ b/rsconcept/frontend/package-lock.json @@ -11,13 +11,14 @@ "@dagrejs/dagre": "^1.1.4", "@hookform/resolvers": "^4.1.0", "@lezer/lr": "^1.4.2", - "@tanstack/react-query": "^5.66.7", - "@tanstack/react-query-devtools": "^5.66.7", + "@tanstack/react-query": "^5.66.8", + "@tanstack/react-query-devtools": "^5.66.8", "@tanstack/react-table": "^8.21.2", "@uiw/codemirror-themes": "^4.23.8", "@uiw/react-codemirror": "^4.23.8", "axios": "^1.7.9", "clsx": "^2.1.1", + "global": "^4.4.0", "html-to-image": "^1.11.13", "js-file-download": "^0.4.12", "qrcode.react": "^4.2.0", @@ -25,7 +26,7 @@ "react-dom": "^19.0.0", "react-error-boundary": "^5.0.0", "react-hook-form": "^7.54.2", - "react-icons": "^5.4.0", + "react-icons": "^5.5.0", "react-intl": "^7.1.6", "react-router": "^7.2.0", "react-scan": "^0.1.3", @@ -50,21 +51,21 @@ "@typescript-eslint/parser": "^8.0.1", "@vitejs/plugin-react": "^4.3.4", "autoprefixer": "^10.4.20", - "babel-plugin-react-compiler": "^19.0.0-beta-30d8a17-20250209", + "babel-plugin-react-compiler": "^19.0.0-beta-21e868a-20250216", "eslint": "^9.20.1", "eslint-plugin-import": "^2.31.0", "eslint-plugin-react": "^7.37.4", - "eslint-plugin-react-compiler": "^19.0.0-beta-30d8a17-20250209", + "eslint-plugin-react-compiler": "^19.0.0-beta-21e868a-20250216", "eslint-plugin-react-hooks": "^5.1.0", "eslint-plugin-simple-import-sort": "^12.1.1", - "globals": "^15.15.0", + "globals": "^16.0.0", "jest": "^29.7.0", - "postcss": "^8.5.2", + "postcss": "^8.5.3", "tailwindcss": "^3.4.17", "ts-jest": "^29.2.5", "typescript": "^5.7.3", "typescript-eslint": "^8.24.1", - "vite": "^6.1.0" + "vite": "^6.1.1" } }, "node_modules/@alloc/quick-lru": { @@ -1755,9 +1756,9 @@ } }, "node_modules/@humanwhocodes/retry": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.1.tgz", - "integrity": "sha512-c7hNEllBlenFTHBky65mhq8WD2kbN9Q6gk0bTk8lSBvc554jpXSkST1iePudpt7+A/AQvuHs9EMqjHDXMY1lrA==", + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.2.tgz", + "integrity": "sha512-xeO57FpIu4p1Ri3Jq/EXq4ClRm86dVF2z/+kvFnyqVYRavTZmaFaUBbWCOuuTh0o/g7DSsk6kc2vrS4Vl5oPOQ==", "dev": true, "license": "Apache-2.0", "engines": { @@ -3104,9 +3105,9 @@ } }, "node_modules/@tanstack/react-query": { - "version": "5.66.7", - "resolved": "https://registry.npmjs.org/@tanstack/react-query/-/react-query-5.66.7.tgz", - "integrity": "sha512-qd3q/tUpF2K1xItfPZddk1k/8pSXnovg41XyCqJgPoyYEirMBtB0sVEVVQ/CsAOngzgWtBPXimVf4q4kM9uO6A==", + "version": "5.66.8", + "resolved": "https://registry.npmjs.org/@tanstack/react-query/-/react-query-5.66.8.tgz", + "integrity": "sha512-LqYHYArmM7ycyT1I/Txc/n6KzI8S/hBFw2SQ9Uj1GpbZ89AvZLEvetquiQEHkZ5rFEm+iVNpZ6zYjTiPmJ9N5Q==", "license": "MIT", "dependencies": { "@tanstack/query-core": "5.66.4" @@ -3120,9 +3121,9 @@ } }, "node_modules/@tanstack/react-query-devtools": { - "version": "5.66.7", - "resolved": "https://registry.npmjs.org/@tanstack/react-query-devtools/-/react-query-devtools-5.66.7.tgz", - "integrity": "sha512-40z4PPkz06tYIF0vwLZZIZfZxKUH4OAaBOR14blCFyYm6hlU6qc+M82mkZ+D00HcEMhV7P4XeJiEuDhFq0q9Qw==", + "version": "5.66.8", + "resolved": "https://registry.npmjs.org/@tanstack/react-query-devtools/-/react-query-devtools-5.66.8.tgz", + "integrity": "sha512-OOdGk4ijs1SEliluWoE5D0ghxwDQz4x2LKzO69K6++VuxtizONXEXtk/oC3QGa9Tru/2CQmsJ5HUk8pmUAi9Qg==", "license": "MIT", "dependencies": { "@tanstack/query-devtools": "5.65.0" @@ -3132,7 +3133,7 @@ "url": "https://github.com/sponsors/tannerlinsley" }, "peerDependencies": { - "@tanstack/react-query": "^5.66.7", + "@tanstack/react-query": "^5.66.8", "react": "^18 || ^19" } }, @@ -4370,9 +4371,9 @@ } }, "node_modules/babel-plugin-react-compiler": { - "version": "19.0.0-beta-e552027-20250112", - "resolved": "https://registry.npmjs.org/babel-plugin-react-compiler/-/babel-plugin-react-compiler-19.0.0-beta-e552027-20250112.tgz", - "integrity": "sha512-pUTT0mAZ4XLewC6bvqVeX015nVRLVultcSQlkzGdC10G6YV6K2h4E7cwGlLAuLKWTj3Z08mTO9uTnPP/opUBsg==", + "version": "19.0.0-beta-21e868a-20250216", + "resolved": "https://registry.npmjs.org/babel-plugin-react-compiler/-/babel-plugin-react-compiler-19.0.0-beta-21e868a-20250216.tgz", + "integrity": "sha512-WDOBsm9t9P0RADm8CSlav5OqWvs+3mZFvrBo/qf3vuNtdz78OG5TFxOy7De8ePR3rA6qg1Qmcjjae6nR1pOpCA==", "dev": true, "license": "MIT", "dependencies": { @@ -5256,6 +5257,11 @@ "csstype": "^3.0.2" } }, + "node_modules/dom-walk": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/dom-walk/-/dom-walk-0.1.2.tgz", + "integrity": "sha512-6QvTW9mrGeIegrFXdtQi9pk7O/nSK6lSdXW2eqUspN5LWD7UTji2Fqw5V2YLjBpHEoU9Xl/eUWNpDeZvoyOv2w==" + }, "node_modules/dunder-proto": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", @@ -5781,9 +5787,9 @@ } }, "node_modules/eslint-plugin-react-compiler": { - "version": "19.0.0-beta-e552027-20250112", - "resolved": "https://registry.npmjs.org/eslint-plugin-react-compiler/-/eslint-plugin-react-compiler-19.0.0-beta-e552027-20250112.tgz", - "integrity": "sha512-VjkIXHouCYyJHgk5HmZ1LH+fAK5CX+ULRX9iNYtwYJ+ljbivFhIT+JJyxNT/USQpCeS2Dt5ahjFeeMv0RRwTww==", + "version": "19.0.0-beta-21e868a-20250216", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-compiler/-/eslint-plugin-react-compiler-19.0.0-beta-21e868a-20250216.tgz", + "integrity": "sha512-LstAv6tKgZylMmJniWxQL9TOY9kwRddLnvBsoTbRsgUDROL5bsg0k5XHMaNJLyX8cxh4iafQ/WxAw5shNUf3GQ==", "dev": true, "license": "MIT", "dependencies": { @@ -6581,10 +6587,20 @@ "node": "*" } }, + "node_modules/global": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/global/-/global-4.4.0.tgz", + "integrity": "sha512-wv/LAoHdRE3BeTGz53FAamhGlPLhlssK45usmGFThIi4XqnBmjKQ16u+RNbP7WvigRZDxUsM0J3gcQ5yicaL0w==", + "license": "MIT", + "dependencies": { + "min-document": "^2.19.0", + "process": "^0.11.10" + } + }, "node_modules/globals": { - "version": "15.15.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-15.15.0.tgz", - "integrity": "sha512-7ACyT3wmyp3I61S4fG682L0VA2RGD9otkqGJIwNUMF1SWUombIIk+af1unuDYgMm082aHYwD+mzJvv9Iu8dsgg==", + "version": "16.0.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-16.0.0.tgz", + "integrity": "sha512-iInW14XItCXET01CQFqudPOWP2jYMl7T+QRQT+UNcR/iQncN/F0UNpgd76iFkBPgNQb4+X3LV9tLJYzwh+Gl3A==", "dev": true, "license": "MIT", "engines": { @@ -8385,6 +8401,14 @@ "node": ">=6" } }, + "node_modules/min-document": { + "version": "2.19.0", + "resolved": "https://registry.npmjs.org/min-document/-/min-document-2.19.0.tgz", + "integrity": "sha512-9Wy1B3m3f66bPPmU5hdA4DR4PB2OfDU/+GS3yAB7IQozE3tqXaVv2zOjgla7MEGSRv95+ILmOuvhLkOK6wJtCQ==", + "dependencies": { + "dom-walk": "^0.1.0" + } + }, "node_modules/minimatch": { "version": "9.0.5", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", @@ -9024,9 +9048,9 @@ } }, "node_modules/postcss": { - "version": "8.5.2", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.2.tgz", - "integrity": "sha512-MjOadfU3Ys9KYoX0AdkBlFEF1Vx37uCCeN4ZHnmwm9FfpbsGWMZeBLMmmpY+6Ocqod7mkdZ0DT31OlbsFrLlkA==", + "version": "8.5.3", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.3.tgz", + "integrity": "sha512-dle9A3yYxlBSrt8Fu+IpjGT8SY8hN0mlaA6GY8t0P5PjIOZemULz/E2Bnm/2dcUOena75OTNkHI76uZBNUUq3A==", "dev": true, "funding": [ { @@ -9221,6 +9245,15 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, + "node_modules/process": { + "version": "0.11.10", + "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", + "integrity": "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==", + "license": "MIT", + "engines": { + "node": ">= 0.6.0" + } + }, "node_modules/prompts": { "version": "2.4.2", "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz", @@ -9365,9 +9398,9 @@ } }, "node_modules/react-icons": { - "version": "5.4.0", - "resolved": "https://registry.npmjs.org/react-icons/-/react-icons-5.4.0.tgz", - "integrity": "sha512-7eltJxgVt7X64oHh6wSWNwwbKTCtMfK35hcjvJS0yxEAhPM8oUKdS3+kqaW1vicIltw+kR2unHaa12S9pPALoQ==", + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/react-icons/-/react-icons-5.5.0.tgz", + "integrity": "sha512-MEFcXdkP3dLo8uumGI5xN3lDFNsRtrjbOEKDLD7yv76v4wpnEq2Lt2qeHaQOr34I/wPN3s3+N08WkQ+CW37Xiw==", "license": "MIT", "peerDependencies": { "react": "*" @@ -11434,14 +11467,14 @@ } }, "node_modules/vite": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/vite/-/vite-6.1.0.tgz", - "integrity": "sha512-RjjMipCKVoR4hVfPY6GQTgveinjNuyLw+qruksLDvA5ktI1150VmcMBKmQaEWJhg/j6Uaf6dNCNA0AfdzUb/hQ==", + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/vite/-/vite-6.1.1.tgz", + "integrity": "sha512-4GgM54XrwRfrOp297aIYspIti66k56v16ZnqHvrIM7mG+HjDlAwS7p+Srr7J6fGvEdOJ5JcQ/D9T7HhtdXDTzA==", "dev": true, "license": "MIT", "dependencies": { "esbuild": "^0.24.2", - "postcss": "^8.5.1", + "postcss": "^8.5.2", "rollup": "^4.30.1" }, "bin": { diff --git a/rsconcept/frontend/package.json b/rsconcept/frontend/package.json index 9dd19a92..0eea8024 100644 --- a/rsconcept/frontend/package.json +++ b/rsconcept/frontend/package.json @@ -16,13 +16,14 @@ "@dagrejs/dagre": "^1.1.4", "@hookform/resolvers": "^4.1.0", "@lezer/lr": "^1.4.2", - "@tanstack/react-query": "^5.66.7", - "@tanstack/react-query-devtools": "^5.66.7", + "@tanstack/react-query": "^5.66.8", + "@tanstack/react-query-devtools": "^5.66.8", "@tanstack/react-table": "^8.21.2", "@uiw/codemirror-themes": "^4.23.8", "@uiw/react-codemirror": "^4.23.8", "axios": "^1.7.9", "clsx": "^2.1.1", + "global": "^4.4.0", "html-to-image": "^1.11.13", "js-file-download": "^0.4.12", "qrcode.react": "^4.2.0", @@ -30,7 +31,7 @@ "react-dom": "^19.0.0", "react-error-boundary": "^5.0.0", "react-hook-form": "^7.54.2", - "react-icons": "^5.4.0", + "react-icons": "^5.5.0", "react-intl": "^7.1.6", "react-router": "^7.2.0", "react-scan": "^0.1.3", @@ -55,21 +56,21 @@ "@typescript-eslint/parser": "^8.0.1", "@vitejs/plugin-react": "^4.3.4", "autoprefixer": "^10.4.20", - "babel-plugin-react-compiler": "^19.0.0-beta-30d8a17-20250209", + "babel-plugin-react-compiler": "^19.0.0-beta-21e868a-20250216", "eslint": "^9.20.1", "eslint-plugin-import": "^2.31.0", "eslint-plugin-react": "^7.37.4", - "eslint-plugin-react-compiler": "^19.0.0-beta-30d8a17-20250209", + "eslint-plugin-react-compiler": "^19.0.0-beta-21e868a-20250216", "eslint-plugin-react-hooks": "^5.1.0", "eslint-plugin-simple-import-sort": "^12.1.1", - "globals": "^15.15.0", + "globals": "^16.0.0", "jest": "^29.7.0", - "postcss": "^8.5.2", + "postcss": "^8.5.3", "tailwindcss": "^3.4.17", "ts-jest": "^29.2.5", "typescript": "^5.7.3", "typescript-eslint": "^8.24.1", - "vite": "^6.1.0" + "vite": "^6.1.1" }, "overrides": { "react": "^19.0.0" diff --git a/rsconcept/frontend/src/app/GlobalTooltips.tsx b/rsconcept/frontend/src/app/GlobalTooltips.tsx index 5ff3b3bd..5af8d577 100644 --- a/rsconcept/frontend/src/app/GlobalTooltips.tsx +++ b/rsconcept/frontend/src/app/GlobalTooltips.tsx @@ -5,7 +5,7 @@ import React, { Suspense } from 'react'; import { Tooltip } from '@/components/Container'; import { Loader } from '@/components/Loader'; import { useTooltipsStore } from '@/stores/tooltips'; -import { globals } from '@/utils/constants'; +import { globalIDs } from '@/utils/constants'; const InfoConstituenta = React.lazy(() => import('@/features/rsform/components/InfoConstituenta').then(module => ({ default: module.InfoConstituenta })) @@ -23,20 +23,20 @@ export const GlobalTooltips = () => { <>