From 9b1cd75c22bde5e3a18d23b3752d8c959e361700 Mon Sep 17 00:00:00 2001 From: Nishkalank Date: Mon, 7 Oct 2024 09:36:50 +0200 Subject: [PATCH] Resolving comments from Adam --- samples/react-flow-dashboard/README.md | 2 +- .../react-flow-dashboard/assets/sample.json | 4 +- .../react-flow-dashboard/package-lock.json | 433 ------------------ samples/react-flow-dashboard/package.json | 1 - .../Dashboard/IReactFlowDashboardState.ts | 4 +- .../Dashboard/ReactFlowDashboard.tsx | 2 +- 6 files changed, 6 insertions(+), 440 deletions(-) diff --git a/samples/react-flow-dashboard/README.md b/samples/react-flow-dashboard/README.md index 361a0f74e..6be50411a 100644 --- a/samples/react-flow-dashboard/README.md +++ b/samples/react-flow-dashboard/README.md @@ -66,7 +66,7 @@ If the problem still persists, Version|Date|Comments -------|----|-------- 1.0|August 3, 2023|Initial release -2.0|October 10, 2024|Upgraded to SharePoint Framework v1.20.0 +2.0|October 01, 2024|Upgraded to SharePoint Framework v1.20.0 ## Help diff --git a/samples/react-flow-dashboard/assets/sample.json b/samples/react-flow-dashboard/assets/sample.json index aff667c13..ff4161ecb 100644 --- a/samples/react-flow-dashboard/assets/sample.json +++ b/samples/react-flow-dashboard/assets/sample.json @@ -9,7 +9,7 @@ "This web part demonstrates displaying the list of flows in different environments, ability to re-enable flows which are stopped or suspended, and the flow run history of the selected flow." ], "creationDateTime": "2023-08-03", - "updateDateTime": "2023-08-03", + "updateDateTime": "2024-10-01", "products": [ "SharePoint" ], @@ -20,7 +20,7 @@ }, { "key": "SPFX-VERSION", - "value": "1.17.4" + "value": "1.20.0" } ], "thumbnails": [ diff --git a/samples/react-flow-dashboard/package-lock.json b/samples/react-flow-dashboard/package-lock.json index b6fb0263f..886a023b8 100644 --- a/samples/react-flow-dashboard/package-lock.json +++ b/samples/react-flow-dashboard/package-lock.json @@ -26,7 +26,6 @@ "devDependencies": { "@microsoft/eslint-config-spfx": "1.20.2", "@microsoft/eslint-plugin-spfx": "1.20.2", - "@microsoft/rush-stack-compiler-4.5": "0.5.0", "@microsoft/rush-stack-compiler-4.7": "0.1.0", "@microsoft/sp-build-web": "1.20.2", "@microsoft/sp-module-interfaces": "1.20.2", @@ -38,7 +37,6 @@ "eslint": "8.57.0", "eslint-plugin-react-hooks": "4.3.0", "gulp": "4.0.2", - "spfx-fast-serve-helpers": "~1.20.0", "typescript": "4.7.4" }, "engines": { @@ -4994,347 +4992,6 @@ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", "dev": true }, - "node_modules/@microsoft/rush-stack-compiler-4.5": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/@microsoft/rush-stack-compiler-4.5/-/rush-stack-compiler-4.5-0.5.0.tgz", - "integrity": "sha512-LUNdLsOQBHzBIFoy6Gh9oNIAPFCrRG0hvLLuUAbovaxbLJ2Sp6GkO+L1Lot/JIpUtQSOxAElb3wNPp9vVdXGOw==", - "dev": true, - "dependencies": { - "@microsoft/api-extractor": "~7.15.2", - "@rushstack/eslint-config": "~2.6.2", - "@rushstack/node-core-library": "~3.53.0", - "@types/node": "10.17.13", - "import-lazy": "~4.0.0", - "typescript": "~4.5.5" - }, - "bin": { - "rush-api-extractor": "bin/rush-api-extractor", - "rush-eslint": "bin/rush-eslint", - "rush-tsc": "bin/rush-tsc", - "rush-tslint": "bin/rush-tslint" - }, - "peerDependencies": { - "eslint": "^8.7.0" - } - }, - "node_modules/@microsoft/rush-stack-compiler-4.5/node_modules/@rushstack/eslint-config": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/@rushstack/eslint-config/-/eslint-config-2.6.2.tgz", - "integrity": "sha512-EcZENq5HlXe5XN9oFZ90K8y946zBXRgliNhy+378H0oK00v3FYADj8aSisEHS5OWz4HO0hYWe6IU57CNg+syYQ==", - "dev": true, - "dependencies": { - "@rushstack/eslint-patch": "1.1.4", - "@rushstack/eslint-plugin": "0.9.1", - "@rushstack/eslint-plugin-packlets": "0.4.1", - "@rushstack/eslint-plugin-security": "0.3.1", - "@typescript-eslint/eslint-plugin": "~5.20.0", - "@typescript-eslint/experimental-utils": "~5.20.0", - "@typescript-eslint/parser": "~5.20.0", - "@typescript-eslint/typescript-estree": "~5.20.0", - "eslint-plugin-promise": "~6.0.0", - "eslint-plugin-react": "~7.27.1", - "eslint-plugin-tsdoc": "~0.2.16" - }, - "peerDependencies": { - "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0", - "typescript": ">=3.0.0" - } - }, - "node_modules/@microsoft/rush-stack-compiler-4.5/node_modules/@rushstack/eslint-patch": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/@rushstack/eslint-patch/-/eslint-patch-1.1.4.tgz", - "integrity": "sha512-LwzQKA4vzIct1zNZzBmRKI9QuNpLgTQMEjsQLf3BXuGYb3QPTP4Yjf6mkdX+X1mYttZ808QpOwAzZjv28kq7DA==", - "dev": true - }, - "node_modules/@microsoft/rush-stack-compiler-4.5/node_modules/@rushstack/eslint-plugin": { - "version": "0.9.1", - "resolved": "https://registry.npmjs.org/@rushstack/eslint-plugin/-/eslint-plugin-0.9.1.tgz", - "integrity": "sha512-iMfRyk9FE1xdhuenIYwDEjJ67u7ygeFw/XBGJC2j4GHclznHWRfSGiwTeYZ66H74h7NkVTuTp8RYw/x2iDblOA==", - "dev": true, - "dependencies": { - "@rushstack/tree-pattern": "0.2.4", - "@typescript-eslint/experimental-utils": "~5.20.0" - }, - "peerDependencies": { - "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" - } - }, - "node_modules/@microsoft/rush-stack-compiler-4.5/node_modules/@rushstack/eslint-plugin-packlets": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/@rushstack/eslint-plugin-packlets/-/eslint-plugin-packlets-0.4.1.tgz", - "integrity": "sha512-A+mb+45fAUV6SRRlRy5EXrZAHNTnvOO3ONxw0hmRDcvyPAJwoX0ClkKQriz56QQE5SL4sPxhYoqbkoKbBmsxcA==", - "dev": true, - "dependencies": { - "@rushstack/tree-pattern": "0.2.4", - "@typescript-eslint/experimental-utils": "~5.20.0" - }, - "peerDependencies": { - "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" - } - }, - "node_modules/@microsoft/rush-stack-compiler-4.5/node_modules/@rushstack/eslint-plugin-security": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/@rushstack/eslint-plugin-security/-/eslint-plugin-security-0.3.1.tgz", - "integrity": "sha512-LOBJj7SLPkeonBq2CD9cKqujwgc84YXJP18UXmGYl8xE3OM+Fwgnav7GzsakyvkeWJwq7EtpZjjSW8DTpwfA4w==", - "dev": true, - "dependencies": { - "@rushstack/tree-pattern": "0.2.4", - "@typescript-eslint/experimental-utils": "~5.20.0" - }, - "peerDependencies": { - "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" - } - }, - "node_modules/@microsoft/rush-stack-compiler-4.5/node_modules/@rushstack/tree-pattern": { - "version": "0.2.4", - "resolved": "https://registry.npmjs.org/@rushstack/tree-pattern/-/tree-pattern-0.2.4.tgz", - "integrity": "sha512-H8i0OinWsdKM1TKEKPeRRTw85e+/7AIFpxm7q1blceZJhuxRBjCGAUZvQXZK4CMLx75xPqh/h1t5WHwFmElAPA==", - "dev": true - }, - "node_modules/@microsoft/rush-stack-compiler-4.5/node_modules/@typescript-eslint/eslint-plugin": { - "version": "5.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.20.0.tgz", - "integrity": "sha512-fapGzoxilCn3sBtC6NtXZX6+P/Hef7VDbyfGqTTpzYydwhlkevB+0vE0EnmHPVTVSy68GUncyJ/2PcrFBeCo5Q==", - "dev": true, - "dependencies": { - "@typescript-eslint/scope-manager": "5.20.0", - "@typescript-eslint/type-utils": "5.20.0", - "@typescript-eslint/utils": "5.20.0", - "debug": "^4.3.2", - "functional-red-black-tree": "^1.0.1", - "ignore": "^5.1.8", - "regexpp": "^3.2.0", - "semver": "^7.3.5", - "tsutils": "^3.21.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "@typescript-eslint/parser": "^5.0.0", - "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@microsoft/rush-stack-compiler-4.5/node_modules/@typescript-eslint/parser": { - "version": "5.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.20.0.tgz", - "integrity": "sha512-UWKibrCZQCYvobmu3/N8TWbEeo/EPQbS41Ux1F9XqPzGuV7pfg6n50ZrFo6hryynD8qOTTfLHtHjjdQtxJ0h/w==", - "dev": true, - "dependencies": { - "@typescript-eslint/scope-manager": "5.20.0", - "@typescript-eslint/types": "5.20.0", - "@typescript-eslint/typescript-estree": "5.20.0", - "debug": "^4.3.2" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@microsoft/rush-stack-compiler-4.5/node_modules/@typescript-eslint/scope-manager": { - "version": "5.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.20.0.tgz", - "integrity": "sha512-h9KtuPZ4D/JuX7rpp1iKg3zOH0WNEa+ZIXwpW/KWmEFDxlA/HSfCMhiyF1HS/drTICjIbpA6OqkAhrP/zkCStg==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "5.20.0", - "@typescript-eslint/visitor-keys": "5.20.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@microsoft/rush-stack-compiler-4.5/node_modules/@typescript-eslint/type-utils": { - "version": "5.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.20.0.tgz", - "integrity": "sha512-WxNrCwYB3N/m8ceyoGCgbLmuZwupvzN0rE8NBuwnl7APgjv24ZJIjkNzoFBXPRCGzLNkoU/WfanW0exvp/+3Iw==", - "dev": true, - "dependencies": { - "@typescript-eslint/utils": "5.20.0", - "debug": "^4.3.2", - "tsutils": "^3.21.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "*" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@microsoft/rush-stack-compiler-4.5/node_modules/@typescript-eslint/types": { - "version": "5.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.20.0.tgz", - "integrity": "sha512-+d8wprF9GyvPwtoB4CxBAR/s0rpP25XKgnOvMf/gMXYDvlUC3rPFHupdTQ/ow9vn7UDe5rX02ovGYQbv/IUCbg==", - "dev": true, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@microsoft/rush-stack-compiler-4.5/node_modules/@typescript-eslint/typescript-estree": { - "version": "5.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.20.0.tgz", - "integrity": "sha512-36xLjP/+bXusLMrT9fMMYy1KJAGgHhlER2TqpUVDYUQg4w0q/NW/sg4UGAgVwAqb8V4zYg43KMUpM8vV2lve6w==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "5.20.0", - "@typescript-eslint/visitor-keys": "5.20.0", - "debug": "^4.3.2", - "globby": "^11.0.4", - "is-glob": "^4.0.3", - "semver": "^7.3.5", - "tsutils": "^3.21.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@microsoft/rush-stack-compiler-4.5/node_modules/@typescript-eslint/utils": { - "version": "5.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.20.0.tgz", - "integrity": "sha512-lHONGJL1LIO12Ujyx8L8xKbwWSkoUKFSO+0wDAqGXiudWB2EO7WEUT+YZLtVbmOmSllAjLb9tpoIPwpRe5Tn6w==", - "dev": true, - "dependencies": { - "@types/json-schema": "^7.0.9", - "@typescript-eslint/scope-manager": "5.20.0", - "@typescript-eslint/types": "5.20.0", - "@typescript-eslint/typescript-estree": "5.20.0", - "eslint-scope": "^5.1.1", - "eslint-utils": "^3.0.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" - } - }, - "node_modules/@microsoft/rush-stack-compiler-4.5/node_modules/@typescript-eslint/visitor-keys": { - "version": "5.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.20.0.tgz", - "integrity": "sha512-1flRpNF+0CAQkMNlTJ6L/Z5jiODG/e5+7mk6XwtPOUS3UrTz3UOiAg9jG2VtKsWI6rZQfy4C6a232QNRZTRGlg==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "5.20.0", - "eslint-visitor-keys": "^3.0.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@microsoft/rush-stack-compiler-4.5/node_modules/array-union": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", - "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/@microsoft/rush-stack-compiler-4.5/node_modules/globby": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", - "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", - "dev": true, - "dependencies": { - "array-union": "^2.1.0", - "dir-glob": "^3.0.1", - "fast-glob": "^3.2.9", - "ignore": "^5.2.0", - "merge2": "^1.4.1", - "slash": "^3.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@microsoft/rush-stack-compiler-4.5/node_modules/ignore": { - "version": "5.3.2", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", - "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", - "dev": true, - "engines": { - "node": ">= 4" - } - }, - "node_modules/@microsoft/rush-stack-compiler-4.5/node_modules/merge2": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", - "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", - "dev": true, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@microsoft/rush-stack-compiler-4.5/node_modules/typescript": { - "version": "4.5.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.5.tgz", - "integrity": "sha512-TCTIul70LyWe6IJWT8QSYeA54WQe8EjQFU4wY52Fasj5UKx88LNYKCgBEHcOMOrFF1rKGbD8v/xcNWVUq9SymA==", - "dev": true, - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=4.2.0" - } - }, "node_modules/@microsoft/rush-stack-compiler-4.7": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/@microsoft/rush-stack-compiler-4.7/-/rush-stack-compiler-4.7-0.1.0.tgz", @@ -14139,25 +13796,6 @@ "node": ">=0.10.0" } }, - "node_modules/@types/gulp/node_modules/fsevents": { - "version": "1.2.13", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.13.tgz", - "integrity": "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==", - "deprecated": "Upgrade to fsevents v2 to mitigate potential security issues", - "dev": true, - "hasInstallScript": true, - "optional": true, - "os": [ - "darwin" - ], - "dependencies": { - "bindings": "^1.5.0", - "nan": "^2.12.1" - }, - "engines": { - "node": ">= 4.0" - } - }, "node_modules/@types/gulp/node_modules/glob-parent": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", @@ -16701,16 +16339,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/bindings": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz", - "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==", - "dev": true, - "optional": true, - "dependencies": { - "file-uri-to-path": "1.0.0" - } - }, "node_modules/bl": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", @@ -17400,20 +17028,6 @@ "fsevents": "~2.1.2" } }, - "node_modules/chokidar/node_modules/fsevents": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.1.3.tgz", - "integrity": "sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ==", - "dev": true, - "hasInstallScript": true, - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, "node_modules/chownr": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", @@ -21636,13 +21250,6 @@ "url": "https://opencollective.com/webpack" } }, - "node_modules/file-uri-to-path": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", - "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==", - "dev": true, - "optional": true - }, "node_modules/fill-range": { "version": "7.1.1", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", @@ -22326,20 +21933,6 @@ "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", "dev": true }, - "node_modules/fsevents": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", - "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", - "dev": true, - "hasInstallScript": true, - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, "node_modules/function-bind": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", @@ -22760,25 +22353,6 @@ "node": ">=0.10.0" } }, - "node_modules/glob-watcher/node_modules/fsevents": { - "version": "1.2.13", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.13.tgz", - "integrity": "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==", - "deprecated": "Upgrade to fsevents v2 to mitigate potential security issues", - "dev": true, - "hasInstallScript": true, - "optional": true, - "os": [ - "darwin" - ], - "dependencies": { - "bindings": "^1.5.0", - "nan": "^2.12.1" - }, - "engines": { - "node": ">= 4.0" - } - }, "node_modules/glob-watcher/node_modules/glob-parent": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", @@ -27861,13 +27435,6 @@ "thenify-all": "^1.0.0" } }, - "node_modules/nan": { - "version": "2.17.0", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.17.0.tgz", - "integrity": "sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ==", - "dev": true, - "optional": true - }, "node_modules/nano-css": { "version": "5.3.5", "resolved": "https://registry.npmjs.org/nano-css/-/nano-css-5.3.5.tgz", diff --git a/samples/react-flow-dashboard/package.json b/samples/react-flow-dashboard/package.json index 5f01efe98..54c3dee57 100644 --- a/samples/react-flow-dashboard/package.json +++ b/samples/react-flow-dashboard/package.json @@ -31,7 +31,6 @@ "devDependencies": { "@microsoft/eslint-config-spfx": "1.20.2", "@microsoft/eslint-plugin-spfx": "1.20.2", - "@microsoft/rush-stack-compiler-4.5": "0.5.0", "@microsoft/rush-stack-compiler-4.7": "0.1.0", "@microsoft/sp-build-web": "1.20.2", "@microsoft/sp-module-interfaces": "1.20.2", diff --git a/samples/react-flow-dashboard/src/webparts/reactFlowDashboard/components/Dashboard/IReactFlowDashboardState.ts b/samples/react-flow-dashboard/src/webparts/reactFlowDashboard/components/Dashboard/IReactFlowDashboardState.ts index fe03b299f..958607334 100644 --- a/samples/react-flow-dashboard/src/webparts/reactFlowDashboard/components/Dashboard/IReactFlowDashboardState.ts +++ b/samples/react-flow-dashboard/src/webparts/reactFlowDashboard/components/Dashboard/IReactFlowDashboardState.ts @@ -1,5 +1,5 @@ -import { IColumn,IGroup } from 'office-ui-fabric-react'; -import {MessageBarType } from 'office-ui-fabric-react'; +import { IColumn,IGroup } from '@fluentui/react'; +import {MessageBarType } from '@fluentui/react'; import { Items } from './IReactFlowDashboardProps'; import { IFlow } from './IReactFlowDashboardProps'; import { IFlowRun } from '../RunHistory/IReactFlowRunHistoryProps'; diff --git a/samples/react-flow-dashboard/src/webparts/reactFlowDashboard/components/Dashboard/ReactFlowDashboard.tsx b/samples/react-flow-dashboard/src/webparts/reactFlowDashboard/components/Dashboard/ReactFlowDashboard.tsx index af85992d2..ac8c5cf71 100644 --- a/samples/react-flow-dashboard/src/webparts/reactFlowDashboard/components/Dashboard/ReactFlowDashboard.tsx +++ b/samples/react-flow-dashboard/src/webparts/reactFlowDashboard/components/Dashboard/ReactFlowDashboard.tsx @@ -11,7 +11,7 @@ import { DetailsList, DetailsListLayoutMode, SelectionMode, IColumn, mergeStyles, Spinner, ProgressIndicator,ITooltipHostStyles, Link -} from 'office-ui-fabric-react'; +} from '@fluentui/react'; import FlowService from '../../services/FlowService'; import GraphService from '../../services/GraphService'; import { AadTokenProvider } from '@microsoft/sp-http-base';