From 8e1d5ce4a89e55db6538437e121624d4c8ee7724 Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Wed, 10 May 2023 08:49:05 +0300 Subject: [PATCH 01/81] chore(deps): upgrade to latest stable --- package-lock.json | 484 +++++++++---------- package.json | 20 +- packages/cli/package.json | 4 +- packages/core-test-kit/package.json | 2 +- packages/core/package.json | 2 +- packages/eslint-plugin-stylable/package.json | 2 +- packages/language-service/package.json | 4 +- 7 files changed, 259 insertions(+), 259 deletions(-) diff --git a/package-lock.json b/package-lock.json index 307f4ed5f..f7f5f2ac7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,8 +10,8 @@ "packages/*" ], "devDependencies": { - "@file-services/memory": "^7.2.5", - "@file-services/node": "^7.2.5", + "@file-services/memory": "^7.3.0", + "@file-services/node": "^7.3.0", "@rollup/plugin-html": "^1.0.2", "@rollup/plugin-node-resolve": "^15.0.2", "@types/balanced-match": "^1.0.2", @@ -34,19 +34,19 @@ "@types/mocha": "^10.0.1", "@types/node": "14", "@types/postcss-safe-parser": "^5.0.1", - "@types/react": "^18.2.0", - "@types/react-dom": "^18.2.1", - "@types/semver": "^7.3.13", + "@types/react": "^18.2.6", + "@types/react-dom": "^18.2.4", + "@types/semver": "^7.5.0", "@types/validate-npm-package-name": "^4.0.0", "@types/yargs": "^17.0.24", - "@typescript-eslint/eslint-plugin": "^5.59.2", - "@typescript-eslint/parser": "^5.59.2", + "@typescript-eslint/eslint-plugin": "^5.59.5", + "@typescript-eslint/parser": "^5.59.5", "autoprefixer": "^10.4.14", "c8": "^7.13.0", "chai": "^4.3.7", "chai-subset": "^1.6.0", "create-listening-server": "^2.1.0", - "eslint": "^8.39.0", + "eslint": "^8.40.0", "eslint-config-prettier": "^8.8.0", "eslint-plugin-react": "^7.32.2", "eslint-plugin-react-hooks": "^4.6.0", @@ -63,7 +63,7 @@ "react": "^18.2.0", "react-dom": "^18.2.0", "rimraf": "^5.0.0", - "rollup": "^3.21.3", + "rollup": "^3.21.6", "source-map": "^0.7.4", "source-map-loader": "^4.0.1", "style-loader": "^3.3.2", @@ -71,7 +71,7 @@ "tsconfig-paths-webpack-plugin": "^4.0.1", "typescript": "~5.0.4", "url-loader": "^4.1.1", - "webpack": "^5.81.0", + "webpack": "^5.82.0", "yargs": "^17.7.2" }, "engines": { @@ -459,13 +459,13 @@ } }, "node_modules/@eslint/eslintrc": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.0.2.tgz", - "integrity": "sha512-3W4f5tDUra+pA+FzgugqL2pRimUTDJWKr7BINqOpkZrC0uYI0NIc0/JFgBROCU07HR6GieA5m3/rsPIhDmCXTQ==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.0.3.tgz", + "integrity": "sha512-+5gy6OQfk+xx3q0d6jGZZC3f3KzAkXc/IanVxd1is/VIIziRqqt3ongQz0FiTUXqTk0c7aDB3OaFuKnuSoJicQ==", "dependencies": { "ajv": "^6.12.4", "debug": "^4.3.2", - "espree": "^9.5.1", + "espree": "^9.5.2", "globals": "^13.19.0", "ignore": "^5.2.0", "import-fresh": "^3.2.1", @@ -481,65 +481,65 @@ } }, "node_modules/@eslint/js": { - "version": "8.39.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.39.0.tgz", - "integrity": "sha512-kf9RB0Fg7NZfap83B3QOqOGg9QmD9yBudqQXzzOtn3i4y7ZUXe5ONeW34Gwi+TxhH4mvj72R1Zc300KUMa9Bng==", + "version": "8.40.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.40.0.tgz", + "integrity": "sha512-ElyB54bJIhXQYVKjDSvCkPO1iU1tSAeVQJbllWJq1XQSmmA4dgFk8CbiBGpiOPxleE48vDogxCtmMYku4HSVLA==", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } }, "node_modules/@file-services/memory": { - "version": "7.2.5", - "resolved": "https://registry.npmjs.org/@file-services/memory/-/memory-7.2.5.tgz", - "integrity": "sha512-SQ3QNcPZQ0w6jGCqcr4pgY2z80nCuGfNJkQ/ETEm3+iA0js6j/RZgOsXYL3W1VW9jIr7d+qFGLXHek3cqUuuBw==", + "version": "7.3.0", + "resolved": "https://registry.npmjs.org/@file-services/memory/-/memory-7.3.0.tgz", + "integrity": "sha512-ENuYyeVdaBZ56BZGoO/gEcrSJJ86bHG63+UnbIdi6VX6u2rz/XmgVdGKLcCRPnmUeswsuGwDS3d29DFJTHCKZA==", "dependencies": { - "@file-services/path": "^7.2.5", - "@file-services/types": "^7.2.5", - "@file-services/utils": "^7.2.5" + "@file-services/path": "^7.3.0", + "@file-services/types": "^7.3.0", + "@file-services/utils": "^7.3.0" } }, "node_modules/@file-services/node": { - "version": "7.2.5", - "resolved": "https://registry.npmjs.org/@file-services/node/-/node-7.2.5.tgz", - "integrity": "sha512-aujaIg8f0kOKGlW1LBTM+dk8MrhMp3sQSRoZ1lJyeZOlHpOcfL/TrncW34Co0S5sxd3FyOptJo+kBlyfsPVLoQ==", + "version": "7.3.0", + "resolved": "https://registry.npmjs.org/@file-services/node/-/node-7.3.0.tgz", + "integrity": "sha512-mF6srRnqO/kqFEn/hmw26af4WHdygBPEa6WvTMM7eUCKhZdKWaFSXb+DJVh8c8K0A4mfNh6zUZEG+c93Onhfxw==", "dependencies": { - "@file-services/types": "^7.2.5", - "@file-services/utils": "^7.2.5" + "@file-services/types": "^7.3.0", + "@file-services/utils": "^7.3.0" }, "engines": { "node": ">=14" } }, "node_modules/@file-services/path": { - "version": "7.2.5", - "resolved": "https://registry.npmjs.org/@file-services/path/-/path-7.2.5.tgz", - "integrity": "sha512-ovs34aWZ3TL0WotKKi/dywmNu5ndiRh7K/AvvEoWmXuilZFFbFknQG2/vwNLm4A4phCqIbEvy0zNToL6tU7CBA==", + "version": "7.3.0", + "resolved": "https://registry.npmjs.org/@file-services/path/-/path-7.3.0.tgz", + "integrity": "sha512-7ZqVaRJJyUD9S/F36SOvTZf1sMr8+eyX0Lr5iU88mpNsJ2qTjR5gWHFBwxaMqfzMz+so6DJmQNjLzdSmfXUbrw==", "dependencies": { - "@file-services/types": "^7.2.5" + "@file-services/types": "^7.3.0" } }, "node_modules/@file-services/types": { - "version": "7.2.5", - "resolved": "https://registry.npmjs.org/@file-services/types/-/types-7.2.5.tgz", - "integrity": "sha512-+ED491/MHemP0Kg6AjWmrUGz7BMTE0eP7rTWt6csUPkW6valBsVpZhdAm+5N4d0xkhlcRwIyZ5wRSq4lReWIKg==" + "version": "7.3.0", + "resolved": "https://registry.npmjs.org/@file-services/types/-/types-7.3.0.tgz", + "integrity": "sha512-XbOMmRSA2VkFofJBC8EMWrkNnpnOIOuSMvvTYGgg3tBQwr5Bihtrgy7/c5u+Gteq1R/yWapHXBSQ3u0moKZyWQ==" }, "node_modules/@file-services/typescript": { - "version": "7.2.5", - "resolved": "https://registry.npmjs.org/@file-services/typescript/-/typescript-7.2.5.tgz", - "integrity": "sha512-uSpLPShjGxbiR7097oa7FPF6NGecJYgG9JRWoAFbQ/N6OppoMk4eEjaIO/lfDo8BMOihiUfk6Tzj92K63FSXUQ==", + "version": "7.3.0", + "resolved": "https://registry.npmjs.org/@file-services/typescript/-/typescript-7.3.0.tgz", + "integrity": "sha512-ZqZVLcAX2PwIysThfivw1Ia7EvHRnHpOaJ4ecXeZGtPYNGlDmduxMhuCNTGUualLzSNW4LWaHrgMRX/NT3Nqvg==", "dependencies": { - "@file-services/types": "^7.2.5" + "@file-services/types": "^7.3.0" }, "peerDependencies": { "typescript": ">=2.8.0" } }, "node_modules/@file-services/utils": { - "version": "7.2.5", - "resolved": "https://registry.npmjs.org/@file-services/utils/-/utils-7.2.5.tgz", - "integrity": "sha512-ta3Um+scOxT+eNg+/wrNOF9Fgt2ila5temox35p5hNQUvRcJDRiqrfSqvKJhN/cwQu6yseJtkZiXX4sezkBKng==", + "version": "7.3.0", + "resolved": "https://registry.npmjs.org/@file-services/utils/-/utils-7.3.0.tgz", + "integrity": "sha512-TwPXinfYKy5L8xbQN7NBpgxCTqCXXc7IykWxWAR68fKWOA4FEzN3O2LqME+27JXMmQPoG6AnYnLXPaMj9K+Dgg==", "dependencies": { - "@file-services/types": "^7.2.5" + "@file-services/types": "^7.3.0" } }, "node_modules/@humanwhocodes/config-array": { @@ -1050,9 +1050,9 @@ "dev": true }, "node_modules/@types/react": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.0.tgz", - "integrity": "sha512-0FLj93y5USLHdnhIhABk83rm8XEGA7kH3cr+YUlvxoUGp1xNt/DINUMvqPxLyOQMzLmZe8i4RTHbvb8MC7NmrA==", + "version": "18.2.6", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.6.tgz", + "integrity": "sha512-wRZClXn//zxCFW+ye/D2qY65UsYP1Fpex2YXorHc8awoNamkMZSvBxwxdYVInsHOZZd2Ppq8isnSzJL5Mpf8OA==", "dev": true, "dependencies": { "@types/prop-types": "*", @@ -1061,9 +1061,9 @@ } }, "node_modules/@types/react-dom": { - "version": "18.2.1", - "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.1.tgz", - "integrity": "sha512-8QZEV9+Kwy7tXFmjJrp3XUKQSs9LTnE0KnoUb0YCguWBiNW0Yfb2iBMYZ08WPg35IR6P3Z0s00B15SwZnO26+w==", + "version": "18.2.4", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.4.tgz", + "integrity": "sha512-G2mHoTMTL4yoydITgOGwWdWMVd8sNgyEP85xVmMKAPUBwQWm9wBPQUmvbeF4V3WBY1P7mmL4BkjQ0SqUpf1snw==", "dev": true, "dependencies": { "@types/react": "*" @@ -1082,9 +1082,9 @@ "dev": true }, "node_modules/@types/semver": { - "version": "7.3.13", - "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.3.13.tgz", - "integrity": "sha512-21cFJr9z3g5dW8B0CVI9g2O9beqaThGQ6ZFBqHfwhzLDKUxaqTIy3vnfah/UPkfOiF2pLq+tGz+W8RyCskuslw==" + "version": "7.5.0", + "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.0.tgz", + "integrity": "sha512-G8hZ6XJiHnuhQKR7ZmysCeJWE08o8T0AXtk5darsCaTVsYZhhgUrq53jizaR2FvsoeCwJhlmwTjkXBY5Pn/ZHw==" }, "node_modules/@types/validate-npm-package-name": { "version": "4.0.0", @@ -1108,15 +1108,15 @@ "dev": true }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "5.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.59.2.tgz", - "integrity": "sha512-yVrXupeHjRxLDcPKL10sGQ/QlVrA8J5IYOEWVqk0lJaSZP7X5DfnP7Ns3cc74/blmbipQ1htFNVGsHX6wsYm0A==", + "version": "5.59.5", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.59.5.tgz", + "integrity": "sha512-feA9xbVRWJZor+AnLNAr7A8JRWeZqHUf4T9tlP+TN04b05pFVhO5eN7/O93Y/1OUlLMHKbnJisgDURs/qvtqdg==", "dev": true, "dependencies": { "@eslint-community/regexpp": "^4.4.0", - "@typescript-eslint/scope-manager": "5.59.2", - "@typescript-eslint/type-utils": "5.59.2", - "@typescript-eslint/utils": "5.59.2", + "@typescript-eslint/scope-manager": "5.59.5", + "@typescript-eslint/type-utils": "5.59.5", + "@typescript-eslint/utils": "5.59.5", "debug": "^4.3.4", "grapheme-splitter": "^1.0.4", "ignore": "^5.2.0", @@ -1142,11 +1142,11 @@ } }, "node_modules/@typescript-eslint/experimental-utils": { - "version": "5.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.59.2.tgz", - "integrity": "sha512-JLw2UImsjHDuVukpA8Nt+UK7JKE/LQAeV3tU5f7wJo2/NNYVwcakzkWjoYzu/2qzWY/Z9c7zojngNDfecNt92g==", + "version": "5.59.5", + "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.59.5.tgz", + "integrity": "sha512-ArcSSBifznsKNA/p4h2w3Olt/T8AZf3bNglxD8OnuTsSDJbRpjPPmI8qpr6ijyvk1J/T3GMJHwRIluS/Kuz9kA==", "dependencies": { - "@typescript-eslint/utils": "5.59.2" + "@typescript-eslint/utils": "5.59.5" }, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -1160,14 +1160,14 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "5.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.59.2.tgz", - "integrity": "sha512-uq0sKyw6ao1iFOZZGk9F8Nro/8+gfB5ezl1cA06SrqbgJAt0SRoFhb9pXaHvkrxUpZaoLxt8KlovHNk8Gp6/HQ==", + "version": "5.59.5", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.59.5.tgz", + "integrity": "sha512-NJXQC4MRnF9N9yWqQE2/KLRSOLvrrlZb48NGVfBa+RuPMN6B7ZcK5jZOvhuygv4D64fRKnZI4L4p8+M+rfeQuw==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "5.59.2", - "@typescript-eslint/types": "5.59.2", - "@typescript-eslint/typescript-estree": "5.59.2", + "@typescript-eslint/scope-manager": "5.59.5", + "@typescript-eslint/types": "5.59.5", + "@typescript-eslint/typescript-estree": "5.59.5", "debug": "^4.3.4" }, "engines": { @@ -1187,12 +1187,12 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "5.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.59.2.tgz", - "integrity": "sha512-dB1v7ROySwQWKqQ8rEWcdbTsFjh2G0vn8KUyvTXdPoyzSL6lLGkiXEV5CvpJsEe9xIdKV+8Zqb7wif2issoOFA==", + "version": "5.59.5", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.59.5.tgz", + "integrity": "sha512-jVecWwnkX6ZgutF+DovbBJirZcAxgxC0EOHYt/niMROf8p4PwxxG32Qdhj/iIQQIuOflLjNkxoXyArkcIP7C3A==", "dependencies": { - "@typescript-eslint/types": "5.59.2", - "@typescript-eslint/visitor-keys": "5.59.2" + "@typescript-eslint/types": "5.59.5", + "@typescript-eslint/visitor-keys": "5.59.5" }, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -1203,13 +1203,13 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "5.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.59.2.tgz", - "integrity": "sha512-b1LS2phBOsEy/T381bxkkywfQXkV1dWda/z0PhnIy3bC5+rQWQDS7fk9CSpcXBccPY27Z6vBEuaPBCKCgYezyQ==", + "version": "5.59.5", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.59.5.tgz", + "integrity": "sha512-4eyhS7oGym67/pSxA2mmNq7X164oqDYNnZCUayBwJZIRVvKpBCMBzFnFxjeoDeShjtO6RQBHBuwybuX3POnDqg==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "5.59.2", - "@typescript-eslint/utils": "5.59.2", + "@typescript-eslint/typescript-estree": "5.59.5", + "@typescript-eslint/utils": "5.59.5", "debug": "^4.3.4", "tsutils": "^3.21.0" }, @@ -1230,9 +1230,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "5.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.59.2.tgz", - "integrity": "sha512-LbJ/HqoVs2XTGq5shkiKaNTuVv5tTejdHgfdjqRUGdYhjW1crm/M7og2jhVskMt8/4wS3T1+PfFvL1K3wqYj4w==", + "version": "5.59.5", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.59.5.tgz", + "integrity": "sha512-xkfRPHbqSH4Ggx4eHRIO/eGL8XL4Ysb4woL8c87YuAo8Md7AUjyWKa9YMwTL519SyDPrfEgKdewjkxNCVeJW7w==", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, @@ -1242,12 +1242,12 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "5.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.2.tgz", - "integrity": "sha512-+j4SmbwVmZsQ9jEyBMgpuBD0rKwi9RxRpjX71Brr73RsYnEr3Lt5QZ624Bxphp8HUkSKfqGnPJp1kA5nl0Sh7Q==", + "version": "5.59.5", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.5.tgz", + "integrity": "sha512-+XXdLN2CZLZcD/mO7mQtJMvCkzRfmODbeSKuMY/yXbGkzvA9rJyDY5qDYNoiz2kP/dmyAxXquL2BvLQLJFPQIg==", "dependencies": { - "@typescript-eslint/types": "5.59.2", - "@typescript-eslint/visitor-keys": "5.59.2", + "@typescript-eslint/types": "5.59.5", + "@typescript-eslint/visitor-keys": "5.59.5", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -1268,16 +1268,16 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "5.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.59.2.tgz", - "integrity": "sha512-kSuF6/77TZzyGPhGO4uVp+f0SBoYxCDf+lW3GKhtKru/L8k/Hd7NFQxyWUeY7Z/KGB2C6Fe3yf2vVi4V9TsCSQ==", + "version": "5.59.5", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.59.5.tgz", + "integrity": "sha512-sCEHOiw+RbyTii9c3/qN74hYDPNORb8yWCoPLmB7BIflhplJ65u2PBpdRla12e3SSTJ2erRkPjz7ngLHhUegxA==", "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@types/json-schema": "^7.0.9", "@types/semver": "^7.3.12", - "@typescript-eslint/scope-manager": "5.59.2", - "@typescript-eslint/types": "5.59.2", - "@typescript-eslint/typescript-estree": "5.59.2", + "@typescript-eslint/scope-manager": "5.59.5", + "@typescript-eslint/types": "5.59.5", + "@typescript-eslint/typescript-estree": "5.59.5", "eslint-scope": "^5.1.1", "semver": "^7.3.7" }, @@ -1293,11 +1293,11 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "5.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.2.tgz", - "integrity": "sha512-EEpsO8m3RASrKAHI9jpavNv9NlEUebV4qmF1OWxSTtKSFBpC1NCmWazDQHFivRf0O1DV11BA645yrLEVQ0/Lig==", + "version": "5.59.5", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.5.tgz", + "integrity": "sha512-qL+Oz+dbeBRTeyJTIy0eniD3uvqU7x+y1QceBismZ41hd4aBSRh8UAw4pZP0+XzLuPZmx4raNMq/I+59W2lXKA==", "dependencies": { - "@typescript-eslint/types": "5.59.2", + "@typescript-eslint/types": "5.59.5", "eslint-visitor-keys": "^3.3.0" }, "engines": { @@ -2551,9 +2551,9 @@ } }, "node_modules/enhanced-resolve": { - "version": "5.13.0", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.13.0.tgz", - "integrity": "sha512-eyV8f0y1+bzyfh8xAwW/WTSZpLbjhqc4ne9eGSH4Zo2ejdyiNG9pU6mf9DG8a7+Auk6MFTlNOT4Y2y/9k8GKVg==", + "version": "5.14.0", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.14.0.tgz", + "integrity": "sha512-+DCows0XNwLDcUhbFJPdlQEVnT2zXlCv7hPxemTz86/O+B/hCQ+mb7ydkPKiflpVraqLPCAfu7lDy+hBXueojw==", "dependencies": { "graceful-fs": "^4.2.4", "tapable": "^2.2.0" @@ -2698,14 +2698,14 @@ } }, "node_modules/eslint": { - "version": "8.39.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.39.0.tgz", - "integrity": "sha512-mwiok6cy7KTW7rBpo05k6+p4YVZByLNjAZ/ACB9DRCu4YDRwjXI01tWHp6KAUWelsBetTxKK/2sHB0vdS8Z2Og==", + "version": "8.40.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.40.0.tgz", + "integrity": "sha512-bvR+TsP9EHL3TqNtj9sCNJVAFK3fBN8Q7g5waghxyRsPLIMwL73XSKnZFK0hk/O2ANC+iAoq6PWMQ+IfBAJIiQ==", "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.4.0", - "@eslint/eslintrc": "^2.0.2", - "@eslint/js": "8.39.0", + "@eslint/eslintrc": "^2.0.3", + "@eslint/js": "8.40.0", "@humanwhocodes/config-array": "^0.11.8", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", @@ -2716,8 +2716,8 @@ "doctrine": "^3.0.0", "escape-string-regexp": "^4.0.0", "eslint-scope": "^7.2.0", - "eslint-visitor-keys": "^3.4.0", - "espree": "^9.5.1", + "eslint-visitor-keys": "^3.4.1", + "espree": "^9.5.2", "esquery": "^1.4.2", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", @@ -2869,9 +2869,9 @@ } }, "node_modules/eslint-visitor-keys": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.0.tgz", - "integrity": "sha512-HPpKPUBQcAsZOsHAFwTtIKcYlCje62XB7SEAcxjtmW6TD1WVpkS6i6/hOVtTZIl4zGj/mBqpFVGvaDneik+VoQ==", + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz", + "integrity": "sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, @@ -2895,13 +2895,13 @@ } }, "node_modules/espree": { - "version": "9.5.1", - "resolved": "https://registry.npmjs.org/espree/-/espree-9.5.1.tgz", - "integrity": "sha512-5yxtHSZXRSW5pvv3hAlXM5+/Oswi1AUFqBmbibKb5s6bp3rGIDkyXU6xCoyuuLhijr4SFwPrXRoZjz0AZDN9tg==", + "version": "9.5.2", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.5.2.tgz", + "integrity": "sha512-7OASN1Wma5fum5SrNhFMAMJxOUAbhyfQ8dQ//PJaJbNw0URTPWqIghHWt1MmAANKhHZIYOHruW4Kw4ruUWOdGw==", "dependencies": { "acorn": "^8.8.0", "acorn-jsx": "^5.3.2", - "eslint-visitor-keys": "^3.4.0" + "eslint-visitor-keys": "^3.4.1" }, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -5678,9 +5678,9 @@ } }, "node_modules/rollup": { - "version": "3.21.3", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.21.3.tgz", - "integrity": "sha512-VnPfEG51nIv2xPLnZaekkuN06q9ZbnyDcLkaBdJa/W7UddyhOfMP2yOPziYQfeY7k++fZM8FdQIummFN5y14kA==", + "version": "3.21.6", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.21.6.tgz", + "integrity": "sha512-SXIICxvxQxR3D4dp/3LDHZIJPC8a4anKMHd4E3Jiz2/JnY+2bEjqrOokAauc5ShGVNFHlEFjBXAXlaxkJqIqSg==", "bin": { "rollup": "dist/bin/rollup" }, @@ -6528,9 +6528,9 @@ } }, "node_modules/webpack": { - "version": "5.81.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.81.0.tgz", - "integrity": "sha512-AAjaJ9S4hYCVODKLQTgG5p5e11hiMawBwV2v8MYLE0C/6UAGLuAF4n1qa9GOwdxnicaP+5k6M5HrLmD4+gIB8Q==", + "version": "5.82.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.82.0.tgz", + "integrity": "sha512-iGNA2fHhnDcV1bONdUu554eZx+XeldsaeQ8T67H6KKHl2nUSwX8Zm7cmzOA46ox/X1ARxf7Bjv8wQ/HsB5fxBg==", "dependencies": { "@types/eslint-scope": "^3.7.3", "@types/estree": "^1.0.0", @@ -6748,8 +6748,8 @@ "version": "5.11.0", "license": "MIT", "dependencies": { - "@file-services/node": "^7.2.5", - "@file-services/types": "^7.2.5", + "@file-services/node": "^7.3.0", + "@file-services/types": "^7.3.0", "@stylable/build-tools": "^5.11.0", "@stylable/code-formatter": "^5.11.0", "@stylable/core": "^5.11.0", @@ -6807,7 +6807,7 @@ "balanced-match": "^2.0.0", "css-selector-tokenizer": "^0.8.0", "cssesc": "^3.0.0", - "enhanced-resolve": "^5.13.0", + "enhanced-resolve": "^5.14.0", "is-vendor-prefixed": "^4.0.0", "lodash.clonedeep": "^4.5.0", "lodash.clonedeepwith": "^4.5.0", @@ -6826,7 +6826,7 @@ "version": "5.11.0", "license": "MIT", "dependencies": { - "@file-services/memory": "^7.2.5", + "@file-services/memory": "^7.3.0", "@stylable/core": "^5.11.0", "chai": "^4.3.7", "flat": "^5.0.2", @@ -6922,7 +6922,7 @@ "license": "MIT", "dependencies": { "@stylable/core": "^5.11.0", - "@typescript-eslint/experimental-utils": "^5.59.2" + "@typescript-eslint/experimental-utils": "^5.59.5" } }, "packages/experimental-loader": { @@ -6964,8 +6964,8 @@ "version": "5.11.0", "license": "MIT", "dependencies": { - "@file-services/types": "^7.2.5", - "@file-services/typescript": "^7.2.5", + "@file-services/types": "^7.3.0", + "@file-services/typescript": "^7.3.0", "@stylable/code-formatter": "^5.11.0", "@stylable/core": "^5.11.0", "@tokey/core": "^1.3.0", @@ -7305,13 +7305,13 @@ "integrity": "sha512-A9983Q0LnDGdLPjxyXQ00sbV+K+O+ko2Dr+CZigbHWtX9pNfxlaBkMR8X1CztI73zuEyEBXTVjx7CE+/VSwDiQ==" }, "@eslint/eslintrc": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.0.2.tgz", - "integrity": "sha512-3W4f5tDUra+pA+FzgugqL2pRimUTDJWKr7BINqOpkZrC0uYI0NIc0/JFgBROCU07HR6GieA5m3/rsPIhDmCXTQ==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.0.3.tgz", + "integrity": "sha512-+5gy6OQfk+xx3q0d6jGZZC3f3KzAkXc/IanVxd1is/VIIziRqqt3ongQz0FiTUXqTk0c7aDB3OaFuKnuSoJicQ==", "requires": { "ajv": "^6.12.4", "debug": "^4.3.2", - "espree": "^9.5.1", + "espree": "^9.5.2", "globals": "^13.19.0", "ignore": "^5.2.0", "import-fresh": "^3.2.1", @@ -7321,56 +7321,56 @@ } }, "@eslint/js": { - "version": "8.39.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.39.0.tgz", - "integrity": "sha512-kf9RB0Fg7NZfap83B3QOqOGg9QmD9yBudqQXzzOtn3i4y7ZUXe5ONeW34Gwi+TxhH4mvj72R1Zc300KUMa9Bng==" + "version": "8.40.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.40.0.tgz", + "integrity": "sha512-ElyB54bJIhXQYVKjDSvCkPO1iU1tSAeVQJbllWJq1XQSmmA4dgFk8CbiBGpiOPxleE48vDogxCtmMYku4HSVLA==" }, "@file-services/memory": { - "version": "7.2.5", - "resolved": "https://registry.npmjs.org/@file-services/memory/-/memory-7.2.5.tgz", - "integrity": "sha512-SQ3QNcPZQ0w6jGCqcr4pgY2z80nCuGfNJkQ/ETEm3+iA0js6j/RZgOsXYL3W1VW9jIr7d+qFGLXHek3cqUuuBw==", + "version": "7.3.0", + "resolved": "https://registry.npmjs.org/@file-services/memory/-/memory-7.3.0.tgz", + "integrity": "sha512-ENuYyeVdaBZ56BZGoO/gEcrSJJ86bHG63+UnbIdi6VX6u2rz/XmgVdGKLcCRPnmUeswsuGwDS3d29DFJTHCKZA==", "requires": { - "@file-services/path": "^7.2.5", - "@file-services/types": "^7.2.5", - "@file-services/utils": "^7.2.5" + "@file-services/path": "^7.3.0", + "@file-services/types": "^7.3.0", + "@file-services/utils": "^7.3.0" } }, "@file-services/node": { - "version": "7.2.5", - "resolved": "https://registry.npmjs.org/@file-services/node/-/node-7.2.5.tgz", - "integrity": "sha512-aujaIg8f0kOKGlW1LBTM+dk8MrhMp3sQSRoZ1lJyeZOlHpOcfL/TrncW34Co0S5sxd3FyOptJo+kBlyfsPVLoQ==", + "version": "7.3.0", + "resolved": "https://registry.npmjs.org/@file-services/node/-/node-7.3.0.tgz", + "integrity": "sha512-mF6srRnqO/kqFEn/hmw26af4WHdygBPEa6WvTMM7eUCKhZdKWaFSXb+DJVh8c8K0A4mfNh6zUZEG+c93Onhfxw==", "requires": { - "@file-services/types": "^7.2.5", - "@file-services/utils": "^7.2.5" + "@file-services/types": "^7.3.0", + "@file-services/utils": "^7.3.0" } }, "@file-services/path": { - "version": "7.2.5", - "resolved": "https://registry.npmjs.org/@file-services/path/-/path-7.2.5.tgz", - "integrity": "sha512-ovs34aWZ3TL0WotKKi/dywmNu5ndiRh7K/AvvEoWmXuilZFFbFknQG2/vwNLm4A4phCqIbEvy0zNToL6tU7CBA==", + "version": "7.3.0", + "resolved": "https://registry.npmjs.org/@file-services/path/-/path-7.3.0.tgz", + "integrity": "sha512-7ZqVaRJJyUD9S/F36SOvTZf1sMr8+eyX0Lr5iU88mpNsJ2qTjR5gWHFBwxaMqfzMz+so6DJmQNjLzdSmfXUbrw==", "requires": { - "@file-services/types": "^7.2.5" + "@file-services/types": "^7.3.0" } }, "@file-services/types": { - "version": "7.2.5", - "resolved": "https://registry.npmjs.org/@file-services/types/-/types-7.2.5.tgz", - "integrity": "sha512-+ED491/MHemP0Kg6AjWmrUGz7BMTE0eP7rTWt6csUPkW6valBsVpZhdAm+5N4d0xkhlcRwIyZ5wRSq4lReWIKg==" + "version": "7.3.0", + "resolved": "https://registry.npmjs.org/@file-services/types/-/types-7.3.0.tgz", + "integrity": "sha512-XbOMmRSA2VkFofJBC8EMWrkNnpnOIOuSMvvTYGgg3tBQwr5Bihtrgy7/c5u+Gteq1R/yWapHXBSQ3u0moKZyWQ==" }, "@file-services/typescript": { - "version": "7.2.5", - "resolved": "https://registry.npmjs.org/@file-services/typescript/-/typescript-7.2.5.tgz", - "integrity": "sha512-uSpLPShjGxbiR7097oa7FPF6NGecJYgG9JRWoAFbQ/N6OppoMk4eEjaIO/lfDo8BMOihiUfk6Tzj92K63FSXUQ==", + "version": "7.3.0", + "resolved": "https://registry.npmjs.org/@file-services/typescript/-/typescript-7.3.0.tgz", + "integrity": "sha512-ZqZVLcAX2PwIysThfivw1Ia7EvHRnHpOaJ4ecXeZGtPYNGlDmduxMhuCNTGUualLzSNW4LWaHrgMRX/NT3Nqvg==", "requires": { - "@file-services/types": "^7.2.5" + "@file-services/types": "^7.3.0" } }, "@file-services/utils": { - "version": "7.2.5", - "resolved": "https://registry.npmjs.org/@file-services/utils/-/utils-7.2.5.tgz", - "integrity": "sha512-ta3Um+scOxT+eNg+/wrNOF9Fgt2ila5temox35p5hNQUvRcJDRiqrfSqvKJhN/cwQu6yseJtkZiXX4sezkBKng==", + "version": "7.3.0", + "resolved": "https://registry.npmjs.org/@file-services/utils/-/utils-7.3.0.tgz", + "integrity": "sha512-TwPXinfYKy5L8xbQN7NBpgxCTqCXXc7IykWxWAR68fKWOA4FEzN3O2LqME+27JXMmQPoG6AnYnLXPaMj9K+Dgg==", "requires": { - "@file-services/types": "^7.2.5" + "@file-services/types": "^7.3.0" } }, "@humanwhocodes/config-array": { @@ -7513,8 +7513,8 @@ "@stylable/cli": { "version": "file:packages/cli", "requires": { - "@file-services/node": "^7.2.5", - "@file-services/types": "^7.2.5", + "@file-services/node": "^7.3.0", + "@file-services/types": "^7.3.0", "@stylable/build-tools": "^5.11.0", "@stylable/code-formatter": "^5.11.0", "@stylable/core": "^5.11.0", @@ -7553,7 +7553,7 @@ "balanced-match": "^2.0.0", "css-selector-tokenizer": "^0.8.0", "cssesc": "^3.0.0", - "enhanced-resolve": "^5.13.0", + "enhanced-resolve": "^5.14.0", "is-vendor-prefixed": "^4.0.0", "lodash.clonedeep": "^4.5.0", "lodash.clonedeepwith": "^4.5.0", @@ -7574,7 +7574,7 @@ "@stylable/core-test-kit": { "version": "file:packages/core-test-kit", "requires": { - "@file-services/memory": "^7.2.5", + "@file-services/memory": "^7.3.0", "@stylable/core": "^5.11.0", "chai": "^4.3.7", "flat": "^5.0.2", @@ -7646,8 +7646,8 @@ "@stylable/language-service": { "version": "file:packages/language-service", "requires": { - "@file-services/types": "^7.2.5", - "@file-services/typescript": "^7.2.5", + "@file-services/types": "^7.3.0", + "@file-services/typescript": "^7.3.0", "@stylable/code-formatter": "^5.11.0", "@stylable/core": "^5.11.0", "@tokey/core": "^1.3.0", @@ -7975,9 +7975,9 @@ "dev": true }, "@types/react": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.0.tgz", - "integrity": "sha512-0FLj93y5USLHdnhIhABk83rm8XEGA7kH3cr+YUlvxoUGp1xNt/DINUMvqPxLyOQMzLmZe8i4RTHbvb8MC7NmrA==", + "version": "18.2.6", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.6.tgz", + "integrity": "sha512-wRZClXn//zxCFW+ye/D2qY65UsYP1Fpex2YXorHc8awoNamkMZSvBxwxdYVInsHOZZd2Ppq8isnSzJL5Mpf8OA==", "dev": true, "requires": { "@types/prop-types": "*", @@ -7986,9 +7986,9 @@ } }, "@types/react-dom": { - "version": "18.2.1", - "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.1.tgz", - "integrity": "sha512-8QZEV9+Kwy7tXFmjJrp3XUKQSs9LTnE0KnoUb0YCguWBiNW0Yfb2iBMYZ08WPg35IR6P3Z0s00B15SwZnO26+w==", + "version": "18.2.4", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.4.tgz", + "integrity": "sha512-G2mHoTMTL4yoydITgOGwWdWMVd8sNgyEP85xVmMKAPUBwQWm9wBPQUmvbeF4V3WBY1P7mmL4BkjQ0SqUpf1snw==", "dev": true, "requires": { "@types/react": "*" @@ -8007,9 +8007,9 @@ "dev": true }, "@types/semver": { - "version": "7.3.13", - "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.3.13.tgz", - "integrity": "sha512-21cFJr9z3g5dW8B0CVI9g2O9beqaThGQ6ZFBqHfwhzLDKUxaqTIy3vnfah/UPkfOiF2pLq+tGz+W8RyCskuslw==" + "version": "7.5.0", + "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.0.tgz", + "integrity": "sha512-G8hZ6XJiHnuhQKR7ZmysCeJWE08o8T0AXtk5darsCaTVsYZhhgUrq53jizaR2FvsoeCwJhlmwTjkXBY5Pn/ZHw==" }, "@types/validate-npm-package-name": { "version": "4.0.0", @@ -8033,15 +8033,15 @@ "dev": true }, "@typescript-eslint/eslint-plugin": { - "version": "5.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.59.2.tgz", - "integrity": "sha512-yVrXupeHjRxLDcPKL10sGQ/QlVrA8J5IYOEWVqk0lJaSZP7X5DfnP7Ns3cc74/blmbipQ1htFNVGsHX6wsYm0A==", + "version": "5.59.5", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.59.5.tgz", + "integrity": "sha512-feA9xbVRWJZor+AnLNAr7A8JRWeZqHUf4T9tlP+TN04b05pFVhO5eN7/O93Y/1OUlLMHKbnJisgDURs/qvtqdg==", "dev": true, "requires": { "@eslint-community/regexpp": "^4.4.0", - "@typescript-eslint/scope-manager": "5.59.2", - "@typescript-eslint/type-utils": "5.59.2", - "@typescript-eslint/utils": "5.59.2", + "@typescript-eslint/scope-manager": "5.59.5", + "@typescript-eslint/type-utils": "5.59.5", + "@typescript-eslint/utils": "5.59.5", "debug": "^4.3.4", "grapheme-splitter": "^1.0.4", "ignore": "^5.2.0", @@ -8051,58 +8051,58 @@ } }, "@typescript-eslint/experimental-utils": { - "version": "5.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.59.2.tgz", - "integrity": "sha512-JLw2UImsjHDuVukpA8Nt+UK7JKE/LQAeV3tU5f7wJo2/NNYVwcakzkWjoYzu/2qzWY/Z9c7zojngNDfecNt92g==", + "version": "5.59.5", + "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.59.5.tgz", + "integrity": "sha512-ArcSSBifznsKNA/p4h2w3Olt/T8AZf3bNglxD8OnuTsSDJbRpjPPmI8qpr6ijyvk1J/T3GMJHwRIluS/Kuz9kA==", "requires": { - "@typescript-eslint/utils": "5.59.2" + "@typescript-eslint/utils": "5.59.5" } }, "@typescript-eslint/parser": { - "version": "5.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.59.2.tgz", - "integrity": "sha512-uq0sKyw6ao1iFOZZGk9F8Nro/8+gfB5ezl1cA06SrqbgJAt0SRoFhb9pXaHvkrxUpZaoLxt8KlovHNk8Gp6/HQ==", + "version": "5.59.5", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.59.5.tgz", + "integrity": "sha512-NJXQC4MRnF9N9yWqQE2/KLRSOLvrrlZb48NGVfBa+RuPMN6B7ZcK5jZOvhuygv4D64fRKnZI4L4p8+M+rfeQuw==", "dev": true, "requires": { - "@typescript-eslint/scope-manager": "5.59.2", - "@typescript-eslint/types": "5.59.2", - "@typescript-eslint/typescript-estree": "5.59.2", + "@typescript-eslint/scope-manager": "5.59.5", + "@typescript-eslint/types": "5.59.5", + "@typescript-eslint/typescript-estree": "5.59.5", "debug": "^4.3.4" } }, "@typescript-eslint/scope-manager": { - "version": "5.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.59.2.tgz", - "integrity": "sha512-dB1v7ROySwQWKqQ8rEWcdbTsFjh2G0vn8KUyvTXdPoyzSL6lLGkiXEV5CvpJsEe9xIdKV+8Zqb7wif2issoOFA==", + "version": "5.59.5", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.59.5.tgz", + "integrity": "sha512-jVecWwnkX6ZgutF+DovbBJirZcAxgxC0EOHYt/niMROf8p4PwxxG32Qdhj/iIQQIuOflLjNkxoXyArkcIP7C3A==", "requires": { - "@typescript-eslint/types": "5.59.2", - "@typescript-eslint/visitor-keys": "5.59.2" + "@typescript-eslint/types": "5.59.5", + "@typescript-eslint/visitor-keys": "5.59.5" } }, "@typescript-eslint/type-utils": { - "version": "5.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.59.2.tgz", - "integrity": "sha512-b1LS2phBOsEy/T381bxkkywfQXkV1dWda/z0PhnIy3bC5+rQWQDS7fk9CSpcXBccPY27Z6vBEuaPBCKCgYezyQ==", + "version": "5.59.5", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.59.5.tgz", + "integrity": "sha512-4eyhS7oGym67/pSxA2mmNq7X164oqDYNnZCUayBwJZIRVvKpBCMBzFnFxjeoDeShjtO6RQBHBuwybuX3POnDqg==", "dev": true, "requires": { - "@typescript-eslint/typescript-estree": "5.59.2", - "@typescript-eslint/utils": "5.59.2", + "@typescript-eslint/typescript-estree": "5.59.5", + "@typescript-eslint/utils": "5.59.5", "debug": "^4.3.4", "tsutils": "^3.21.0" } }, "@typescript-eslint/types": { - "version": "5.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.59.2.tgz", - "integrity": "sha512-LbJ/HqoVs2XTGq5shkiKaNTuVv5tTejdHgfdjqRUGdYhjW1crm/M7og2jhVskMt8/4wS3T1+PfFvL1K3wqYj4w==" + "version": "5.59.5", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.59.5.tgz", + "integrity": "sha512-xkfRPHbqSH4Ggx4eHRIO/eGL8XL4Ysb4woL8c87YuAo8Md7AUjyWKa9YMwTL519SyDPrfEgKdewjkxNCVeJW7w==" }, "@typescript-eslint/typescript-estree": { - "version": "5.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.2.tgz", - "integrity": "sha512-+j4SmbwVmZsQ9jEyBMgpuBD0rKwi9RxRpjX71Brr73RsYnEr3Lt5QZ624Bxphp8HUkSKfqGnPJp1kA5nl0Sh7Q==", + "version": "5.59.5", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.5.tgz", + "integrity": "sha512-+XXdLN2CZLZcD/mO7mQtJMvCkzRfmODbeSKuMY/yXbGkzvA9rJyDY5qDYNoiz2kP/dmyAxXquL2BvLQLJFPQIg==", "requires": { - "@typescript-eslint/types": "5.59.2", - "@typescript-eslint/visitor-keys": "5.59.2", + "@typescript-eslint/types": "5.59.5", + "@typescript-eslint/visitor-keys": "5.59.5", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -8111,26 +8111,26 @@ } }, "@typescript-eslint/utils": { - "version": "5.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.59.2.tgz", - "integrity": "sha512-kSuF6/77TZzyGPhGO4uVp+f0SBoYxCDf+lW3GKhtKru/L8k/Hd7NFQxyWUeY7Z/KGB2C6Fe3yf2vVi4V9TsCSQ==", + "version": "5.59.5", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.59.5.tgz", + "integrity": "sha512-sCEHOiw+RbyTii9c3/qN74hYDPNORb8yWCoPLmB7BIflhplJ65u2PBpdRla12e3SSTJ2erRkPjz7ngLHhUegxA==", "requires": { "@eslint-community/eslint-utils": "^4.2.0", "@types/json-schema": "^7.0.9", "@types/semver": "^7.3.12", - "@typescript-eslint/scope-manager": "5.59.2", - "@typescript-eslint/types": "5.59.2", - "@typescript-eslint/typescript-estree": "5.59.2", + "@typescript-eslint/scope-manager": "5.59.5", + "@typescript-eslint/types": "5.59.5", + "@typescript-eslint/typescript-estree": "5.59.5", "eslint-scope": "^5.1.1", "semver": "^7.3.7" } }, "@typescript-eslint/visitor-keys": { - "version": "5.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.2.tgz", - "integrity": "sha512-EEpsO8m3RASrKAHI9jpavNv9NlEUebV4qmF1OWxSTtKSFBpC1NCmWazDQHFivRf0O1DV11BA645yrLEVQ0/Lig==", + "version": "5.59.5", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.5.tgz", + "integrity": "sha512-qL+Oz+dbeBRTeyJTIy0eniD3uvqU7x+y1QceBismZ41hd4aBSRh8UAw4pZP0+XzLuPZmx4raNMq/I+59W2lXKA==", "requires": { - "@typescript-eslint/types": "5.59.2", + "@typescript-eslint/types": "5.59.5", "eslint-visitor-keys": "^3.3.0" } }, @@ -9077,9 +9077,9 @@ "dev": true }, "enhanced-resolve": { - "version": "5.13.0", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.13.0.tgz", - "integrity": "sha512-eyV8f0y1+bzyfh8xAwW/WTSZpLbjhqc4ne9eGSH4Zo2ejdyiNG9pU6mf9DG8a7+Auk6MFTlNOT4Y2y/9k8GKVg==", + "version": "5.14.0", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.14.0.tgz", + "integrity": "sha512-+DCows0XNwLDcUhbFJPdlQEVnT2zXlCv7hPxemTz86/O+B/hCQ+mb7ydkPKiflpVraqLPCAfu7lDy+hBXueojw==", "requires": { "graceful-fs": "^4.2.4", "tapable": "^2.2.0" @@ -9193,14 +9193,14 @@ "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==" }, "eslint": { - "version": "8.39.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.39.0.tgz", - "integrity": "sha512-mwiok6cy7KTW7rBpo05k6+p4YVZByLNjAZ/ACB9DRCu4YDRwjXI01tWHp6KAUWelsBetTxKK/2sHB0vdS8Z2Og==", + "version": "8.40.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.40.0.tgz", + "integrity": "sha512-bvR+TsP9EHL3TqNtj9sCNJVAFK3fBN8Q7g5waghxyRsPLIMwL73XSKnZFK0hk/O2ANC+iAoq6PWMQ+IfBAJIiQ==", "requires": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.4.0", - "@eslint/eslintrc": "^2.0.2", - "@eslint/js": "8.39.0", + "@eslint/eslintrc": "^2.0.3", + "@eslint/js": "8.40.0", "@humanwhocodes/config-array": "^0.11.8", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", @@ -9211,8 +9211,8 @@ "doctrine": "^3.0.0", "escape-string-regexp": "^4.0.0", "eslint-scope": "^7.2.0", - "eslint-visitor-keys": "^3.4.0", - "espree": "^9.5.1", + "eslint-visitor-keys": "^3.4.1", + "espree": "^9.5.2", "esquery": "^1.4.2", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", @@ -9319,7 +9319,7 @@ "version": "file:packages/eslint-plugin-stylable", "requires": { "@stylable/core": "^5.11.0", - "@typescript-eslint/experimental-utils": "^5.59.2" + "@typescript-eslint/experimental-utils": "^5.59.5" } }, "eslint-scope": { @@ -9339,18 +9339,18 @@ } }, "eslint-visitor-keys": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.0.tgz", - "integrity": "sha512-HPpKPUBQcAsZOsHAFwTtIKcYlCje62XB7SEAcxjtmW6TD1WVpkS6i6/hOVtTZIl4zGj/mBqpFVGvaDneik+VoQ==" + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz", + "integrity": "sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==" }, "espree": { - "version": "9.5.1", - "resolved": "https://registry.npmjs.org/espree/-/espree-9.5.1.tgz", - "integrity": "sha512-5yxtHSZXRSW5pvv3hAlXM5+/Oswi1AUFqBmbibKb5s6bp3rGIDkyXU6xCoyuuLhijr4SFwPrXRoZjz0AZDN9tg==", + "version": "9.5.2", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.5.2.tgz", + "integrity": "sha512-7OASN1Wma5fum5SrNhFMAMJxOUAbhyfQ8dQ//PJaJbNw0URTPWqIghHWt1MmAANKhHZIYOHruW4Kw4ruUWOdGw==", "requires": { "acorn": "^8.8.0", "acorn-jsx": "^5.3.2", - "eslint-visitor-keys": "^3.4.0" + "eslint-visitor-keys": "^3.4.1" } }, "esquery": { @@ -11317,9 +11317,9 @@ } }, "rollup": { - "version": "3.21.3", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.21.3.tgz", - "integrity": "sha512-VnPfEG51nIv2xPLnZaekkuN06q9ZbnyDcLkaBdJa/W7UddyhOfMP2yOPziYQfeY7k++fZM8FdQIummFN5y14kA==", + "version": "3.21.6", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.21.6.tgz", + "integrity": "sha512-SXIICxvxQxR3D4dp/3LDHZIJPC8a4anKMHd4E3Jiz2/JnY+2bEjqrOokAauc5ShGVNFHlEFjBXAXlaxkJqIqSg==", "requires": { "fsevents": "~2.3.2" } @@ -11920,9 +11920,9 @@ } }, "webpack": { - "version": "5.81.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.81.0.tgz", - "integrity": "sha512-AAjaJ9S4hYCVODKLQTgG5p5e11hiMawBwV2v8MYLE0C/6UAGLuAF4n1qa9GOwdxnicaP+5k6M5HrLmD4+gIB8Q==", + "version": "5.82.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.82.0.tgz", + "integrity": "sha512-iGNA2fHhnDcV1bONdUu554eZx+XeldsaeQ8T67H6KKHl2nUSwX8Zm7cmzOA46ox/X1ARxf7Bjv8wQ/HsB5fxBg==", "requires": { "@types/eslint-scope": "^3.7.3", "@types/estree": "^1.0.0", diff --git a/package.json b/package.json index 962960358..1d9ca50d5 100644 --- a/package.json +++ b/package.json @@ -17,8 +17,8 @@ "prettify": "npx prettier . --write" }, "devDependencies": { - "@file-services/memory": "^7.2.5", - "@file-services/node": "^7.2.5", + "@file-services/memory": "^7.3.0", + "@file-services/node": "^7.3.0", "@rollup/plugin-html": "^1.0.2", "@rollup/plugin-node-resolve": "^15.0.2", "@types/balanced-match": "^1.0.2", @@ -41,19 +41,19 @@ "@types/mocha": "^10.0.1", "@types/node": "14", "@types/postcss-safe-parser": "^5.0.1", - "@types/react": "^18.2.0", - "@types/react-dom": "^18.2.1", - "@types/semver": "^7.3.13", + "@types/react": "^18.2.6", + "@types/react-dom": "^18.2.4", + "@types/semver": "^7.5.0", "@types/validate-npm-package-name": "^4.0.0", "@types/yargs": "^17.0.24", - "@typescript-eslint/eslint-plugin": "^5.59.2", - "@typescript-eslint/parser": "^5.59.2", + "@typescript-eslint/eslint-plugin": "^5.59.5", + "@typescript-eslint/parser": "^5.59.5", "autoprefixer": "^10.4.14", "c8": "^7.13.0", "chai": "^4.3.7", "chai-subset": "^1.6.0", "create-listening-server": "^2.1.0", - "eslint": "^8.39.0", + "eslint": "^8.40.0", "eslint-config-prettier": "^8.8.0", "eslint-plugin-react": "^7.32.2", "eslint-plugin-react-hooks": "^4.6.0", @@ -70,7 +70,7 @@ "react": "^18.2.0", "react-dom": "^18.2.0", "rimraf": "^5.0.0", - "rollup": "^3.21.3", + "rollup": "^3.21.6", "source-map": "^0.7.4", "source-map-loader": "^4.0.1", "style-loader": "^3.3.2", @@ -78,7 +78,7 @@ "tsconfig-paths-webpack-plugin": "^4.0.1", "typescript": "~5.0.4", "url-loader": "^4.1.1", - "webpack": "^5.81.0", + "webpack": "^5.82.0", "yargs": "^17.7.2" }, "engines": { diff --git a/packages/cli/package.json b/packages/cli/package.json index 0f17ed42a..a9197ed41 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -12,8 +12,8 @@ "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 25000" }, "dependencies": { - "@file-services/node": "^7.2.5", - "@file-services/types": "^7.2.5", + "@file-services/node": "^7.3.0", + "@file-services/types": "^7.3.0", "@stylable/build-tools": "^5.11.0", "@stylable/code-formatter": "^5.11.0", "@stylable/core": "^5.11.0", diff --git a/packages/core-test-kit/package.json b/packages/core-test-kit/package.json index 11e44e016..5945b8f4e 100644 --- a/packages/core-test-kit/package.json +++ b/packages/core-test-kit/package.json @@ -7,7 +7,7 @@ "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@file-services/memory": "^7.2.5", + "@file-services/memory": "^7.3.0", "@stylable/core": "^5.11.0", "chai": "^4.3.7", "flat": "^5.0.2", diff --git a/packages/core/package.json b/packages/core/package.json index df6a95e99..a85692754 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -15,7 +15,7 @@ "balanced-match": "^2.0.0", "css-selector-tokenizer": "^0.8.0", "cssesc": "^3.0.0", - "enhanced-resolve": "^5.13.0", + "enhanced-resolve": "^5.14.0", "is-vendor-prefixed": "^4.0.0", "lodash.clonedeep": "^4.5.0", "lodash.clonedeepwith": "^4.5.0", diff --git a/packages/eslint-plugin-stylable/package.json b/packages/eslint-plugin-stylable/package.json index 7f79f57fb..e2757f618 100644 --- a/packages/eslint-plugin-stylable/package.json +++ b/packages/eslint-plugin-stylable/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "@stylable/core": "^5.11.0", - "@typescript-eslint/experimental-utils": "^5.59.2" + "@typescript-eslint/experimental-utils": "^5.59.5" }, "keywords": [ "eslint", diff --git a/packages/language-service/package.json b/packages/language-service/package.json index e62ce0c20..7288501e1 100644 --- a/packages/language-service/package.json +++ b/packages/language-service/package.json @@ -11,8 +11,8 @@ "typescript": ">=3.8" }, "dependencies": { - "@file-services/types": "^7.2.5", - "@file-services/typescript": "^7.2.5", + "@file-services/types": "^7.3.0", + "@file-services/typescript": "^7.3.0", "@stylable/code-formatter": "^5.11.0", "@stylable/core": "^5.11.0", "@tokey/core": "^1.3.0", From 541161ed82cb242f9dd6f64ee348dc51985580a4 Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Mon, 15 May 2023 13:49:51 +0300 Subject: [PATCH 02/81] chorelsp): migrate pseudo-class completions tests (#2860) * refactor: migrate single file selector completion * test(lsp): migrate pseudo-class imported cases --- .../pseudo-elements/multiple-states.st.css | 12 - .../recursive-import-3-deep-state.st.css | 11 - .../class-with-states-double-colon.st.css | 5 - .../states/class-with-states.st.css | 5 - .../complex-selectors-with-states.st.css | 10 - .../states/complex-selectors.st.css | 10 - .../states/top-level-with-extend.st.css | 10 - .../server-cases/states/top-level.st.css | 5 - .../imported-state-with-enum-middle.st.css | 12 - .../imported-state-with-enum-start.st.css | 12 - ...ted-state-with-template-enum-middle.st.css | 12 - .../with-param/enum/state-with-enum.st.css | 7 - .../state-with-param-enum-suggestion.st.css | 5 - .../with-param/imported-state-param.st.css | 10 - .../with-param/local-state-param.st.css | 5 - .../features/ls-css-pseudo-class.spec.ts | 421 +++++++++++++++- .../test/lib/completions/states.spec.ts | 454 ------------------ 17 files changed, 404 insertions(+), 602 deletions(-) delete mode 100644 packages/language-service/test/fixtures/server-cases/pseudo-elements/multiple-states.st.css delete mode 100644 packages/language-service/test/fixtures/server-cases/pseudo-elements/recursive-import-3-deep-state.st.css delete mode 100644 packages/language-service/test/fixtures/server-cases/states/class-with-states-double-colon.st.css delete mode 100644 packages/language-service/test/fixtures/server-cases/states/class-with-states.st.css delete mode 100644 packages/language-service/test/fixtures/server-cases/states/complex-selectors-with-states.st.css delete mode 100644 packages/language-service/test/fixtures/server-cases/states/complex-selectors.st.css delete mode 100644 packages/language-service/test/fixtures/server-cases/states/top-level-with-extend.st.css delete mode 100644 packages/language-service/test/fixtures/server-cases/states/top-level.st.css delete mode 100644 packages/language-service/test/fixtures/server-cases/states/with-param/enum/imported-state-with-enum-middle.st.css delete mode 100644 packages/language-service/test/fixtures/server-cases/states/with-param/enum/imported-state-with-enum-start.st.css delete mode 100644 packages/language-service/test/fixtures/server-cases/states/with-param/enum/imported-state-with-template-enum-middle.st.css delete mode 100644 packages/language-service/test/fixtures/server-cases/states/with-param/enum/state-with-enum.st.css delete mode 100644 packages/language-service/test/fixtures/server-cases/states/with-param/enum/state-with-param-enum-suggestion.st.css delete mode 100644 packages/language-service/test/fixtures/server-cases/states/with-param/imported-state-param.st.css delete mode 100644 packages/language-service/test/fixtures/server-cases/states/with-param/local-state-param.st.css diff --git a/packages/language-service/test/fixtures/server-cases/pseudo-elements/multiple-states.st.css b/packages/language-service/test/fixtures/server-cases/pseudo-elements/multiple-states.st.css deleted file mode 100644 index 303a6a630..000000000 --- a/packages/language-service/test/fixtures/server-cases/pseudo-elements/multiple-states.st.css +++ /dev/null @@ -1,12 +0,0 @@ -:import { - -st-from: "./import.st.css"; - -st-default: Comp; -} - -.local { - -st-extends: Comp; -} - -.local::momo:anotherState| { - -} diff --git a/packages/language-service/test/fixtures/server-cases/pseudo-elements/recursive-import-3-deep-state.st.css b/packages/language-service/test/fixtures/server-cases/pseudo-elements/recursive-import-3-deep-state.st.css deleted file mode 100644 index 606caf54c..000000000 --- a/packages/language-service/test/fixtures/server-cases/pseudo-elements/recursive-import-3-deep-state.st.css +++ /dev/null @@ -1,11 +0,0 @@ -:import { - -st-from: "./recursive-import-2.st.css"; - -st-default: Comp; -} - -.gaga { - -st-extends: Comp; - -st-states: lala; -} - -.gaga:lala::bobo:otherState:state::momo:anotherState| diff --git a/packages/language-service/test/fixtures/server-cases/states/class-with-states-double-colon.st.css b/packages/language-service/test/fixtures/server-cases/states/class-with-states-double-colon.st.css deleted file mode 100644 index 86bfc0aec..000000000 --- a/packages/language-service/test/fixtures/server-cases/states/class-with-states-double-colon.st.css +++ /dev/null @@ -1,5 +0,0 @@ -.gaga{ - -st-states:hello,goodbye; -} - -.gaga::| diff --git a/packages/language-service/test/fixtures/server-cases/states/class-with-states.st.css b/packages/language-service/test/fixtures/server-cases/states/class-with-states.st.css deleted file mode 100644 index 73f72b071..000000000 --- a/packages/language-service/test/fixtures/server-cases/states/class-with-states.st.css +++ /dev/null @@ -1,5 +0,0 @@ -.gaga{ - -st-states:hello,goodbye; -} - -.gaga| diff --git a/packages/language-service/test/fixtures/server-cases/states/complex-selectors-with-states.st.css b/packages/language-service/test/fixtures/server-cases/states/complex-selectors-with-states.st.css deleted file mode 100644 index 48fd079dc..000000000 --- a/packages/language-service/test/fixtures/server-cases/states/complex-selectors-with-states.st.css +++ /dev/null @@ -1,10 +0,0 @@ -.gaga{ - -st-states:hello,holla; -} -.zagzag{ - -st-states:goodbye; -} -.baga{ - -st-states:cheerio; -} -.zagzag button.gaga:holla| .baga diff --git a/packages/language-service/test/fixtures/server-cases/states/complex-selectors.st.css b/packages/language-service/test/fixtures/server-cases/states/complex-selectors.st.css deleted file mode 100644 index 18a96f705..000000000 --- a/packages/language-service/test/fixtures/server-cases/states/complex-selectors.st.css +++ /dev/null @@ -1,10 +0,0 @@ -.gaga{ - -st-states:hello; -} -.zagzag{ - -st-states:goodbye; -} -.baga{ - -st-states:cheerio; -} -.zagzag button.gaga| .baga diff --git a/packages/language-service/test/fixtures/server-cases/states/top-level-with-extend.st.css b/packages/language-service/test/fixtures/server-cases/states/top-level-with-extend.st.css deleted file mode 100644 index 03f263d3e..000000000 --- a/packages/language-service/test/fixtures/server-cases/states/top-level-with-extend.st.css +++ /dev/null @@ -1,10 +0,0 @@ -:import { - -st-from: "./comp-to-import.st.css"; - -st-default: Comp; -} - -.root { - -st-extends: Comp; -} - -| \ No newline at end of file diff --git a/packages/language-service/test/fixtures/server-cases/states/top-level.st.css b/packages/language-service/test/fixtures/server-cases/states/top-level.st.css deleted file mode 100644 index fd433e9ae..000000000 --- a/packages/language-service/test/fixtures/server-cases/states/top-level.st.css +++ /dev/null @@ -1,5 +0,0 @@ -.root { - -st-states: shmover; -} - -| \ No newline at end of file diff --git a/packages/language-service/test/fixtures/server-cases/states/with-param/enum/imported-state-with-enum-middle.st.css b/packages/language-service/test/fixtures/server-cases/states/with-param/enum/imported-state-with-enum-middle.st.css deleted file mode 100644 index cf73dfd7f..000000000 --- a/packages/language-service/test/fixtures/server-cases/states/with-param/enum/imported-state-with-enum-middle.st.css +++ /dev/null @@ -1,12 +0,0 @@ -:import { - -st-from: "./state-with-enum.st.css"; - -st-default: Enum; -} - -.blah { - -st-extends: Enum; -} - -.blah:hello(e|) { - -} diff --git a/packages/language-service/test/fixtures/server-cases/states/with-param/enum/imported-state-with-enum-start.st.css b/packages/language-service/test/fixtures/server-cases/states/with-param/enum/imported-state-with-enum-start.st.css deleted file mode 100644 index 56c8ded86..000000000 --- a/packages/language-service/test/fixtures/server-cases/states/with-param/enum/imported-state-with-enum-start.st.css +++ /dev/null @@ -1,12 +0,0 @@ -:import { - -st-from: "./state-with-enum.st.css"; - -st-default: Enum; -} - -.blah { - -st-extends: Enum; -} - -.blah:hello(|) { - -} diff --git a/packages/language-service/test/fixtures/server-cases/states/with-param/enum/imported-state-with-template-enum-middle.st.css b/packages/language-service/test/fixtures/server-cases/states/with-param/enum/imported-state-with-template-enum-middle.st.css deleted file mode 100644 index adcab58e8..000000000 --- a/packages/language-service/test/fixtures/server-cases/states/with-param/enum/imported-state-with-template-enum-middle.st.css +++ /dev/null @@ -1,12 +0,0 @@ -:import { - -st-from: "./state-with-enum.st.css"; - -st-default: Enum; -} - -.blah { - -st-extends: Enum; -} - -.blah:templateEnum(e|) { - -} diff --git a/packages/language-service/test/fixtures/server-cases/states/with-param/enum/state-with-enum.st.css b/packages/language-service/test/fixtures/server-cases/states/with-param/enum/state-with-enum.st.css deleted file mode 100644 index e87d43f23..000000000 --- a/packages/language-service/test/fixtures/server-cases/states/with-param/enum/state-with-enum.st.css +++ /dev/null @@ -1,7 +0,0 @@ -.root { - -st-states: hello(enum(bob, alice, eve)), otherState, templateEnum(".$0", enum(aaa, eee, bbb, e22)); -} - -.root .part { - -} diff --git a/packages/language-service/test/fixtures/server-cases/states/with-param/enum/state-with-param-enum-suggestion.st.css b/packages/language-service/test/fixtures/server-cases/states/with-param/enum/state-with-param-enum-suggestion.st.css deleted file mode 100644 index 588a00052..000000000 --- a/packages/language-service/test/fixtures/server-cases/states/with-param/enum/state-with-param-enum-suggestion.st.css +++ /dev/null @@ -1,5 +0,0 @@ -.gaga{ - -st-states: hello(enum(bob, alice, eve)); -} - -.gaga:hello(|) diff --git a/packages/language-service/test/fixtures/server-cases/states/with-param/imported-state-param.st.css b/packages/language-service/test/fixtures/server-cases/states/with-param/imported-state-param.st.css deleted file mode 100644 index c2c5836c6..000000000 --- a/packages/language-service/test/fixtures/server-cases/states/with-param/imported-state-param.st.css +++ /dev/null @@ -1,10 +0,0 @@ -:import { - -st-from: "./comp-to-import-with-param.st.css"; - -st-default: Comp -} - -.gaga{ - -st-extends: Comp; -} - -.gaga| diff --git a/packages/language-service/test/fixtures/server-cases/states/with-param/local-state-param.st.css b/packages/language-service/test/fixtures/server-cases/states/with-param/local-state-param.st.css deleted file mode 100644 index b22511d7c..000000000 --- a/packages/language-service/test/fixtures/server-cases/states/with-param/local-state-param.st.css +++ /dev/null @@ -1,5 +0,0 @@ -.gaga{ - -st-states:hello(string); -} - -.gaga| diff --git a/packages/language-service/test/lib-new/features/ls-css-pseudo-class.spec.ts b/packages/language-service/test/lib-new/features/ls-css-pseudo-class.spec.ts index c7c85f91f..0f890c1df 100644 --- a/packages/language-service/test/lib-new/features/ls-css-pseudo-class.spec.ts +++ b/packages/language-service/test/lib-new/features/ls-css-pseudo-class.spec.ts @@ -1,29 +1,141 @@ +import { Command } from 'vscode-languageserver'; import { testLangService } from '../../test-kit/test-lang-service'; +import { createTempDirectorySync } from '@stylable/core-test-kit'; + +const triggerCompletion = Command.create('additional', 'editor.action.triggerSuggest'); +const triggerParameterHints = Command.create('additional', 'editor.action.triggerParameterHints'); describe('LS: css-pseudo-class', () => { - it('should suggest root custom states', () => { + it('should suggest class custom states', () => { + const { service, carets, assertCompletions, textEditContext } = testLangService(` + .x { + -st-states: xxx; + } + .y { + -st-states: yyy; + } + .z { + -st-states: aaa, bbb; + } + + .z^afterRoot^ {} + + .z:a^partial^ {} + + .z .x^complex^ .y {} + `); + const entryPath = '/entry.st.css'; + const entryCarets = carets[entryPath]; + const { replaceText } = textEditContext(entryPath); + + assertCompletions({ + message: 'classes states', + actualList: service.onCompletion(entryPath, entryCarets.afterRoot), + expectedList: [{ label: ':aaa' }, { label: ':bbb' }], + unexpectedList: [{ label: ':xxx' }, { label: ':yyy' }], + }); + + assertCompletions({ + message: 'partial', + actualList: service.onCompletion(entryPath, entryCarets.partial), + expectedList: [ + { + label: ':aaa', + textEdit: replaceText(entryCarets.partial, ':aaa', { deltaStart: -2 }), + }, + ], + unexpectedList: [{ label: ':bbb' }], + }); + + assertCompletions({ + message: 'complex selector', + actualList: service.onCompletion(entryPath, entryCarets.partial), + expectedList: [ + { + label: ':aaa', + textEdit: replaceText(entryCarets.partial, ':aaa', { deltaStart: -2 }), + }, + ], + unexpectedList: [{ label: ':bbb' }], + }); + }); + it('should suggest root custom states in empty selector', () => { + // ToDo: once experimentalSelectorInference is on this should not behave like this const { service, carets, assertCompletions } = testLangService(` .root { - -st-states: aaa,bbb; + -st-states: aaa, bbb; } - .root^afterRoot^ {} - ^empty^ {} - `); - const entryCarets = carets['/entry.st.css']; + const entryPath = '/entry.st.css'; + const entryCarets = carets[entryPath]; assertCompletions({ - actualList: service.onCompletion('/entry.st.css', entryCarets.afterRoot), + message: 'empty', + actualList: service.onCompletion(entryPath, entryCarets.empty), expectedList: [{ label: ':aaa' }, { label: ':bbb' }], }); + }); + it('should NOT suggest used states', () => { + const { service, carets, assertCompletions } = testLangService(` + .x { + -st-states: aaa, bbb; + } + + .x:aaa^afterExistingState^ {} + `); + const entryPath = '/entry.st.css'; + const entryCarets = carets[entryPath]; + + assertCompletions({ + actualList: service.onCompletion(entryPath, entryCarets.afterExistingState), + expectedList: [{ label: ':bbb' }], + unexpectedList: [{ label: ':aaa' }], + }); + }); + it('should suggest pseudo-element custom states', () => { + const { service, carets, assertCompletions } = testLangService(` + .root {} + .part { + -st-states: aaa, bbb; + } + + .root::part^afterPseudoElement^ {} + `); + const entryPath = '/entry.st.css'; + const entryCarets = carets[entryPath]; assertCompletions({ - actualList: service.onCompletion('/entry.st.css', entryCarets.empty), + actualList: service.onCompletion(entryPath, entryCarets.afterPseudoElement), expectedList: [{ label: ':aaa' }, { label: ':bbb' }], }); }); + it('should suggest states from extended class', () => { + const { service, carets, assertCompletions } = testLangService(` + .y { + -st-states: aaa, bbb; + } + .x { + -st-extends: y; + -st-states: ccc, ddd; + } + + .x^afterClass^ {} + `); + const entryPath = '/entry.st.css'; + const entryCarets = carets[entryPath]; + + assertCompletions({ + actualList: service.onCompletion(entryPath, entryCarets.afterClass), + expectedList: [ + { label: ':aaa' }, + { label: ':bbb' }, + { label: ':ccc' }, + { label: ':ddd' }, + ], + }); + }); it('should provide nested context', () => { const { service, carets, assertCompletions } = testLangService(` .root { @@ -72,6 +184,117 @@ describe('LS: css-pseudo-class', () => { unexpectedList: [{ label: ':rrr' }, { label: ':aaa' }], }); }); + it('should NOT suggest states after ::', () => { + const { service, carets, assertCompletions } = testLangService(` + .x { + -st-states: aaa, bbb; + } + + .x::^afterDoubleColon^ {} + `); + const entryPath = '/entry.st.css'; + const entryCarets = carets[entryPath]; + + assertCompletions({ + actualList: service.onCompletion(entryPath, entryCarets.afterDoubleColon), + unexpectedList: [{ label: ':aaa' }, { label: ':bbb' }], + }); + }); + describe.skip('definition', () => { + /*ToDo: move tests when implementation is refactored*/ + }); + describe('state with param', () => { + it('should suggest state with parenthesis', () => { + const { service, carets, assertCompletions, textEditContext } = testLangService(` + .x { + -st-states: + word(string), + size(enum(small, big)); + } + + .x^afterClass^ {} + `); + const entryPath = '/entry.st.css'; + const entryCarets = carets[entryPath]; + const { replaceText } = textEditContext(entryPath); + + assertCompletions({ + actualList: service.onCompletion(entryPath, entryCarets.afterClass), + expectedList: [ + { + label: ':word()', + textEdit: replaceText(entryCarets.afterClass, ':word($1)'), + command: triggerParameterHints, + }, + { + label: ':size()', + textEdit: replaceText(entryCarets.afterClass, ':size($1)'), + command: triggerCompletion, + }, + ], + }); + }); + it('should suggest enum possible parameters', () => { + // ToDo: prevent names native css lsp from suggesting inside states definitions. + // because native css lsp is returning results that mix with fixture + // (everything is with prefixed with 'x') + const { service, carets, assertCompletions, textEditContext } = testLangService(` + .root { + -st-states: + size(enum(xsmall, xmedium, xbig, xbigger)), + type(enum(shirt, hat)); + } + .partA {} + + .root:size(^emptyEnumParam^) {} + + .root:size(xb^partialEnumParam^) {} + `); + const entryPath = '/entry.st.css'; + const entryCarets = carets[entryPath]; + const { replaceText } = textEditContext(entryPath); + + assertCompletions({ + message: 'empty param', + actualList: service.onCompletion(entryPath, entryCarets.emptyEnumParam), + expectedList: [ + { label: 'xsmall' }, + { label: 'xmedium' }, + { label: 'xbig' }, + { label: 'xbigger' }, + ], + unexpectedList: [ + // no selector completions + // ToDo: normalize provider API + { label: ':size' }, + { label: ':type' }, + { label: '::partA' }, + { label: ':global()' }, + // ToDo: disable native-css-lsp in this context: { label: '.partA' }, + ], + }); + + assertCompletions({ + message: 'partial param', + actualList: service.onCompletion(entryPath, entryCarets.partialEnumParam), + expectedList: [ + { + label: 'xbig', + textEdit: replaceText(entryCarets.partialEnumParam, 'xbig', { + deltaStart: -2, + }), + }, + { + label: 'xbigger', + textEdit: replaceText(entryCarets.partialEnumParam, 'xbigger', { + deltaStart: -2, + }), + }, + ], + unexpectedList: [{ label: 'xsmall' }, { label: 'xmedium' }], + }); + }); + }); describe('st-scope', () => { it('should suggest class custom states (in st-scope params)', () => { const { service, carets, assertCompletions } = testLangService(` @@ -232,13 +455,15 @@ describe('LS: css-pseudo-class', () => { }); }); it('should suggest matching intersection states', () => { - const { service, carets, assertCompletions, textEditContext } = testLangService({ - 'comp.st.css': ` + const tempDir = createTempDirectorySync('lps-import-test-'); + const { service, carets, assertCompletions, textEditContext, fs } = testLangService( + { + 'comp.st.css': ` .root { -st-states: comp-state; } `, - 'entry.st.css': ` + 'entry.st.css': ` @st-import Comp from './comp.st.css'; .root { -st-extends: Comp; @@ -259,18 +484,21 @@ describe('LS: css-pseudo-class', () => { } `, - }); - const entryCarets = carets['/entry.st.css']; - const { replaceText } = textEditContext('/entry.st.css'); + }, + { testOnNativeFileSystem: tempDir.path } + ); + const entryPath = fs.join(tempDir.path, 'entry.st.css'); + const entryCarets = carets[entryPath]; + const { replaceText } = textEditContext(entryPath); assertCompletions({ - actualList: service.onCompletion('/entry.st.css', entryCarets.inScope), + actualList: service.onCompletion(entryPath, entryCarets.inScope), expectedList: [{ label: ':root-state' }, { label: ':comp-state' }], unexpectedList: [{ label: ':shared' }, { label: ':onlyA' }, { label: ':onlyB' }], }); assertCompletions({ - actualList: service.onCompletion('/entry.st.css', entryCarets.nest), + actualList: service.onCompletion(entryPath, entryCarets.nest), expectedList: [{ label: ':shared' }], unexpectedList: [ { label: ':onlyA' }, @@ -280,7 +508,7 @@ describe('LS: css-pseudo-class', () => { }); assertCompletions({ - actualList: service.onCompletion('/entry.st.css', entryCarets.nestColon), + actualList: service.onCompletion(entryPath, entryCarets.nestColon), expectedList: [ { label: ':shared', @@ -346,4 +574,163 @@ describe('LS: css-pseudo-class', () => { }); }); }); + describe('st-import', () => { + let tempDir: ReturnType; + beforeEach('crate temp dir', () => { + tempDir = createTempDirectorySync('lps-import-test-'); + }); + afterEach('remove temp dir', () => { + tempDir.remove(); + }); + it('should suggest states from imported class', () => { + const { service, carets, assertCompletions, fs } = testLangService( + { + 'origin.st.css': ` + .root { + -st-states: stateX; + } + .part { + -st-states: stateY; + } + `, + 'entry.st.css': ` + @st-import Root, [part] from './origin.st.css'; + + .extendingDefault { + -st-extends: Root; + -st-states: stateR; + } + .extendingNamed { + -st-extends: part; + -st-states: stateZ; + } + + .Root^defaultClass^ {} + .part^namedClass^ {} + .extendingDefault^extendingDefault^ {} + .extendingNamed^extendingClass^ {} + `, + }, + { testOnNativeFileSystem: tempDir.path } + ); + const entryPath = fs.join(tempDir.path, 'entry.st.css'); + const entryCarets = carets[entryPath]; + + assertCompletions({ + message: 'default class', + actualList: service.onCompletion(entryPath, entryCarets.defaultClass), + expectedList: [{ label: ':stateX' }], + unexpectedList: [{ label: ':stateY' }, { label: ':stateZ' }, { label: ':stateR' }], + }); + assertCompletions({ + message: 'named class', + actualList: service.onCompletion(entryPath, entryCarets.namedClass), + expectedList: [{ label: ':stateY' }], + unexpectedList: [{ label: ':stateX' }, { label: ':stateZ' }, { label: ':stateR' }], + }); + assertCompletions({ + message: 'extending default (root)', + actualList: service.onCompletion(entryPath, entryCarets.extendingDefault), + expectedList: [{ label: ':stateX' }, { label: ':stateR' }], + unexpectedList: [{ label: ':stateY' }, { label: ':stateZ' }], + }); + assertCompletions({ + message: 'extending named', + actualList: service.onCompletion(entryPath, entryCarets.extendingClass), + expectedList: [{ label: ':stateY' }, { label: ':stateZ' }], + unexpectedList: [{ label: ':stateX' }, { label: ':stateR' }], + }); + }); + it('should suggest states for pseudo-elements', () => { + const { service, carets, assertCompletions, fs } = testLangService( + { + 'part-base.st.css': ` + .root { + -st-states: yyy; + } + .base { + -st-states: xxx; + } + `, + 'comp.st.css': ` + @st-import PartBase from './part-base.st.css'; + .root { + -st-states: root-state; + } + .part { + -st-extends: PartBase; + -st-states: part-state, another-part-state; + } + `, + 'entry.st.css': ` + @st-import Comp from './comp.st.css'; + + .extending { + -st-extends: Comp; + -st-states: xxx; + } + + .extending::part^afterPseudoElement^ {} + + .extending::part:another-part-state:^afterUsedState^ {} + + .extending:xxx::part:another-part-state:yyy::base:^inDeepPseudoElement^ {} + `, + }, + { testOnNativeFileSystem: tempDir.path } + ); + const entryPath = fs.join(tempDir.path, 'entry.st.css'); + const entryCarets = carets[entryPath]; + + assertCompletions({ + message: 'after pseudo element', + actualList: service.onCompletion(entryPath, entryCarets.afterPseudoElement), + expectedList: [{ label: ':part-state' }, { label: ':another-part-state' }], + unexpectedList: [{ label: ':root-state' }], + }); + assertCompletions({ + message: 'after existing state', + actualList: service.onCompletion(entryPath, entryCarets.afterUsedState), + expectedList: [{ label: ':part-state' }], + unexpectedList: [{ label: ':root-state' }, { label: ':another-part-state' }], + }); + assertCompletions({ + message: 'after 2 levels of pseudo-elements', + actualList: service.onCompletion(entryPath, entryCarets.inDeepPseudoElement), + expectedList: [{ label: ':xxx' }], + }); + }); + it('should suggest enum possible parameters', () => { + const { service, carets, assertCompletions, fs } = testLangService( + { + 'origin.st.css': ` + .root { + -st-states: type(enum(shirt, hat)); + } + `, + 'entry.st.css': ` + @st-import Root from './origin.st.css'; + + .Root:type(^empty^) {} + .Root:type(sh^partial^) {} + `, + }, + { testOnNativeFileSystem: tempDir.path } + ); + const entryPath = fs.join(tempDir.path, 'entry.st.css'); + const entryCarets = carets[entryPath]; + + assertCompletions({ + message: 'empty', + actualList: service.onCompletion(entryPath, entryCarets.empty), + expectedList: [{ label: 'shirt' }, { label: 'hat' }], + }); + assertCompletions({ + message: 'partial', + actualList: service.onCompletion(entryPath, entryCarets.partial), + expectedList: [{ label: 'shirt' }], + unexpectedList: [{ label: 'hat' }], + }); + }); + }); }); diff --git a/packages/language-service/test/lib/completions/states.spec.ts b/packages/language-service/test/lib/completions/states.spec.ts index 5e9db82a8..71a135ef8 100644 --- a/packages/language-service/test/lib/completions/states.spec.ts +++ b/packages/language-service/test/lib/completions/states.spec.ts @@ -6,134 +6,6 @@ import type { Completion } from '@stylable/language-service/dist/lib/completion- import * as asserters from '../../test-kit/completions-asserters'; describe('States', () => { - describe('Local states', () => { - const str1 = ':hello'; - const str2 = ':goodbye'; - const str3 = ':holla'; - const str4 = ':shmover'; - const createCompletion = (str: string, rng: ProviderRange, path?: string) => - asserters.stateSelectorCompletion(str.slice(1), rng, path); - - [str1, str2].forEach((str, j, a) => { - str.split('').forEach((_c, i) => { - const prefix = str.slice(0, i); - - it( - 'should complete available states from same file, with prefix ' + prefix + ' ', - () => { - const rng = createRange(4, 5, 4, 5 + i); - const asserter = asserters.getCompletions( - 'states/class-with-states.st.css', - prefix - ); - const exp: Array> = []; - const notExp: Array> = []; - exp.push(createCompletion(a[j], rng)); - if (prefix.length <= 1) { - exp.push(createCompletion(a[1 - j], rng)); - } else { - notExp.push(createCompletion(a[1 - j], rng)); - } - asserter.suggested(exp); - asserter.notSuggested(notExp); - } - ); - - it( - 'should complete available states in complex selectors, with prefix ' + - prefix + - ' ', - () => { - const rng = createRange(9, 19, 9, 19 + i); - const asserter = asserters.getCompletions( - 'states/complex-selectors.st.css', - prefix - ); - const exp: Array> = []; - const notExp: Array> = []; - if (str === str1) { - exp.push(createCompletion(str1, rng)); - } else if (prefix.length <= 1) { - exp.push(createCompletion(str1, rng)); - } - notExp.push(createCompletion(str2, rng)); - asserter.suggested(exp); - asserter.notSuggested(notExp); - } - ); - }); - }); - - [str1, str3].forEach((str) => { - str.split('').forEach((_c, i) => { - const prefix = str.slice(0, i); - - it( - 'should complete only unused states in complex selectors ending in state name, with prefix ' + - prefix + - ' ', - () => { - const rng = createRange(9, 25, 9, 25 + i); - const asserter = asserters.getCompletions( - 'states/complex-selectors-with-states.st.css', - prefix - ); - const exp: Array> = []; - const notExp: Array> = []; - if (str === str1) { - exp.push(createCompletion(str1, rng)); - } else if (prefix.length <= 2) { - exp.push(createCompletion(str1, rng)); - } - notExp.push(createCompletion(str3, rng)); - asserter.suggested(exp); - asserter.notSuggested(notExp); - } - ); - }); - }); - - str4.split('').forEach((_c, i) => { - const prefix = str4.slice(0, i); - - it('should complete local root state on top level with prefix ' + prefix + ' ', () => { - const rng = createRange(4, 0, 4, 0 + i); - const asserter = asserters.getCompletions('states/top-level.st.css', prefix); - const exp: Array> = []; - const compl = createCompletion(str4, rng); - exp.push(compl); - asserter.suggested(exp); - }); - - it( - 'should complete local root state on top level from extends with prefix ' + - prefix + - ' ', - () => { - const rng = createRange(9, 0, 9, 0 + i); - const asserter = asserters.getCompletions( - 'states/top-level-with-extend.st.css', - prefix - ); - const exp: Array> = []; - const compl = createCompletion(str4, rng, './comp-to-import.st.css'); - exp.push(compl); - asserter.suggested(exp); - } - ); - }); - - it('should not complete state value after :: ', () => { - const asserter = asserters.getCompletions( - 'states/class-with-states-double-colon.st.css' - ); - asserter.notSuggested([ - asserters.stateSelectorCompletion('hello', createRange(0, 0, 0, 0)), - asserters.stateSelectorCompletion('goodbye', createRange(0, 0, 0, 0)), - ]); - }); - }); - describe('State with param', () => { describe('Definition', () => { it('should complete available states param types', () => { @@ -427,331 +299,5 @@ describe('States', () => { }); }); }); - - describe('Usage', () => { - it('should complete available states from same file (with parenthesis)', () => { - const rng = createRange(4, 5, 4, 5); - const createCompletion = (str: string, rng: ProviderRange, path?: string) => - asserters.stateSelectorCompletion(str.slice(1), rng, path, true); - - const asserter = asserters.getCompletions( - 'states/with-param/local-state-param.st.css' - ); - const exp: Array> = []; - exp.push(createCompletion(':hello', rng)); - asserter.suggested(exp); - }); - - it('should complete imported state (with parenthesis)', () => { - const rng = createRange(9, 5, 9, 5); - const createCompletion = (str: string, rng: ProviderRange, path?: string) => - asserters.stateSelectorCompletion(str.slice(1), rng, path, true); - - const asserter = asserters.getCompletions( - 'states/with-param/imported-state-param.st.css' - ); - const exp: Array> = []; - exp.push(createCompletion(':shmover', rng, './comp-to-import-with-param.st.css')); - asserter.suggested(exp); - }); - - it('should complete enum state parameter options', () => { - const rng = createRange(4, 12, 4, 12); - const createCompletion = (str: string, rng: ProviderRange, path?: string) => - asserters.stateEnumCompletion(str, rng, path); - - const asserter = asserters.getCompletions( - 'states/with-param/enum/state-with-param-enum-suggestion.st.css' - ); - const exp: Array> = []; - exp.push(createCompletion('bob', rng)); - exp.push(createCompletion('alice', rng)); - exp.push(createCompletion('eve', rng)); - asserter.suggested(exp); - }); - - it('should complete pre-existing enum state parameter options from imported file', () => { - const rng = createRange(9, 12, 9, 13); - const createCompletion = (str: string, rng: ProviderRange, path?: string) => - asserters.stateEnumCompletion(str, rng, path); - - const asserter = asserters.getCompletions( - 'states/with-param/enum/imported-state-with-enum-middle.st.css' - ); - const exp: Array> = []; - const unExp: Array> = []; - exp.push(createCompletion('eve', rng, './state-with-enum.st.css')); - unExp.push(createCompletion('alice', rng, './state-with-enum.st.css')); - unExp.push(createCompletion('bob', rng, './state-with-enum.st.css')); - asserter.suggested(exp); - asserter.notSuggested(unExp); - }); - - it('should complete template with enum parameter options from imported file', () => { - const rng = createRange(9, 19, 9, 20); - const createCompletion = (str: string, rng: ProviderRange, path?: string) => - asserters.stateEnumCompletion(str, rng, path); - - const asserter = asserters.getCompletions( - 'states/with-param/enum/imported-state-with-template-enum-middle.st.css' - ); - const exp: Array> = []; - const unExp: Array> = []; - exp.push(createCompletion('eee', rng, './state-with-enum.st.css')); - exp.push(createCompletion('e22', rng, './state-with-enum.st.css')); - unExp.push(createCompletion('aaa', rng, './state-with-enum.st.css')); - unExp.push(createCompletion('bbb', rng, './state-with-enum.st.css')); - asserter.suggested(exp); - asserter.notSuggested(unExp); - }); - - it('should not complete pseudo-states and pseudo-elements when inside an enum (from imported file)', () => { - const rng = createRange(9, 12, 9, 12); - const createEnumComp = (str: string, rng: ProviderRange, path?: string) => - asserters.stateEnumCompletion(str, rng, path); - const createStateComp = (str: string, rng: ProviderRange, path?: string) => - asserters.stateSelectorCompletion(str, rng, path); - const createElementComp = (str: string, rng: ProviderRange, path?: string) => - asserters.pseudoElementCompletion(str, rng, path); - const createGlobalComp = (rng: ProviderRange) => asserters.globalCompletion(rng); - - const asserter = asserters.getCompletions( - 'states/with-param/enum/imported-state-with-enum-start.st.css' - ); - const exp: Array> = []; - const unExp: Array> = []; - exp.push(createEnumComp('eve', rng, './state-with-enum.st.css')); - exp.push(createEnumComp('alice', rng, './state-with-enum.st.css')); - exp.push(createEnumComp('bob', rng, './state-with-enum.st.css')); - unExp.push(createStateComp('otherState', rng, './state-with-enum.st.css')); - unExp.push(createElementComp('part', rng)); - unExp.push(createGlobalComp(rng)); - asserter.suggested(exp); - asserter.notSuggested(unExp); - }); - }); - }); - - describe('Imported states', () => { - const str1 = ':state'; - const str2 = ':otherState'; - const str3 = ':anotherState'; - const str4 = ':oneMoreState'; - - const createCompletion = (str: string, rng: ProviderRange, path: string) => - asserters.stateSelectorCompletion(str.slice(1), rng, path); - - [str1, str2].forEach((str, j, a) => { - str.split('').forEach((_c, i) => { - const prefix = str.slice(0, i); - - it( - 'should complete state ' + - str + - ' value for default import used as tag, with prefix ' + - prefix + - ' ', - () => { - const rng = createRange(6, 4, 6, 4 + i); - const asserter = asserters.getCompletions( - 'pseudo-elements/default-import-as-tag.st.css', - prefix - ); - const exp: Array> = []; - const notExp: Array> = []; - exp.push(createCompletion(a[j], rng, './import.st.css')); - if (prefix.length <= 1) { - exp.push(createCompletion(a[1 - j], rng, './import.st.css')); - } else { - notExp.push(createCompletion(a[1 - j], rng, './import.st.css')); - } - asserter.suggested(exp); - asserter.notSuggested(notExp); - } - ); - - it( - 'should complete state ' + - str + - ' value for local class extending default import, with prefix ' + - prefix + - ' ', - () => { - const rng = createRange(9, 5, 9, 5 + i); - const asserter = asserters.getCompletions( - 'pseudo-elements/default-import-extended.st.css', - prefix - ); - const exp: Array> = []; - const notExp: Array> = []; - exp.push(createCompletion(a[j], rng, './import.st.css')); - if (prefix.length <= 1) { - exp.push(createCompletion(a[1 - j], rng, './import.st.css')); - } else { - notExp.push(createCompletion(a[1 - j], rng, './import.st.css')); - } - asserter.suggested(exp); - asserter.notSuggested(notExp); - } - ); - }); - }); - - [str3, str4].forEach((str, j, a) => { - str.split('').forEach((_c, i) => { - const prefix = str.slice(0, i); - - it( - 'should complete state ' + - str + - ' value for local class extending named import, with prefix ' + - prefix + - ' ', - () => { - const rng = createRange(9, 5, 9, 5 + i); - const asserter = asserters.getCompletions( - 'pseudo-elements/named-import-extended-named.st.css', - prefix - ); - const exp: Array> = []; - const notExp: Array> = []; - exp.push(createCompletion(a[j], rng, './import.st.css')); - if (prefix.length <= 1) { - exp.push(createCompletion(a[1 - j], rng, './import.st.css')); - } else { - notExp.push(createCompletion(a[1 - j], rng, './import.st.css')); - } - notExp.push(createCompletion(str1, rng, './import.st.css')); - notExp.push(createCompletion(str2, rng, './import.st.css')); - asserter.suggested(exp); - asserter.notSuggested(notExp); - } - ); - }); - }); - - [str1, str2].forEach((str, j, a) => { - str.split('').forEach((_c, i) => { - const prefix = str.slice(0, i); - it( - 'should complete state ' + - str + - ' after pseudo-element, with prefix ' + - prefix + - ' ', - () => { - const rng = createRange(10, 11, 10, 11 + i); - const asserter = asserters.getCompletions( - 'pseudo-elements/recursive-import-3.st.css', - prefix - ); - const exp: Array> = []; - const notExp: Array> = []; - exp.push(createCompletion(a[j], rng, './recursive-import-1.st.css')); - if (prefix.length <= 1) { - exp.push( - createCompletion(a[1 - j], rng, './recursive-import-1.st.css') - ); - } else { - notExp.push( - createCompletion(a[1 - j], rng, './recursive-import-1.st.css') - ); - } - notExp.push(createCompletion(str3, rng, './recursive-import-1.st.css')); - notExp.push(createCompletion(str4, rng, './recursive-import-1.st.css')); - asserter.suggested(exp); - asserter.notSuggested(notExp); - } - ); - - it( - 'should complete state ' + - str + - ' after pseudo-element when line has leading spaces, with prefix ' + - prefix + - ' ', - () => { - const rng = createRange(10, 12, 10, 12 + i); - const asserter = asserters.getCompletions( - 'pseudo-elements/recursive-import-3-leading-space.st.css', - prefix - ); - const exp: Array> = []; - const notExp: Array> = []; - exp.push(createCompletion(a[j], rng, './recursive-import-1.st.css')); - if (prefix.length <= 1) { - exp.push( - createCompletion(a[1 - j], rng, './recursive-import-1.st.css') - ); - } else { - notExp.push( - createCompletion(a[1 - j], rng, './recursive-import-1.st.css') - ); - } - notExp.push(createCompletion(str3, rng, './recursive-import-1.st.css')); - notExp.push(createCompletion(str4, rng, './recursive-import-1.st.css')); - asserter.suggested(exp); - asserter.notSuggested(notExp); - } - ); - }); - }); - - [str3, str4].forEach((str) => { - str.split('').forEach((_c, i) => { - const prefix = str.slice(0, i); - it( - 'should complete only unused pseudo-element states when pseudo-element state exists, with prefix ' + - prefix + - ' ', - () => { - const rng = createRange(9, 25, 9, 25 + i); - const asserter = asserters.getCompletions( - 'pseudo-elements/multiple-states.st.css', - prefix - ); - const exp: Array> = []; - const notExp: Array> = []; - if (prefix.length <= 1 || str === str4) { - exp.push(createCompletion(str4, rng, './import.st.css')); - } - notExp.push(createCompletion(str1, rng, './import.st.css')); - notExp.push(createCompletion(str2, rng, './import.st.css')); - notExp.push(createCompletion(str3, rng, './import.st.css')); - asserter.suggested(exp); - asserter.notSuggested(notExp); - } - ); - }); - }); - }); - - describe('Deep recursive imports', () => { - const str = ':loompa'; - const createCompletion = (str: string, rng: ProviderRange, path: string) => - asserters.stateSelectorCompletion(str.slice(1), rng, path); - - str.split('').forEach((_c, i) => { - const prefix = str.slice(0, i); - const rng = createRange(10, 52, 10, 52 + i); - it( - 'should complete state ' + - str + - ' in deep chain ending with state, with prefix ' + - prefix + - ' ', - () => { - const asserter = asserters.getCompletions( - 'pseudo-elements/recursive-import-3-deep-state.st.css', - prefix - ); - const exp: Array> = []; - const notExp: Array> = []; - exp.push(createCompletion(str, rng, './recursive-import-0.st.css')); - asserter.suggested(exp); - asserter.notSuggested(notExp); - } - ); - }); }); }); From 7e510e7a380a23f32fa150f8ecd28ab774bc57b3 Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Wed, 17 May 2023 10:53:28 +0300 Subject: [PATCH 03/81] chore(deps): upgrade to latest stable --- package-lock.json | 216 +++++++++---------- package.json | 8 +- packages/eslint-plugin-stylable/package.json | 2 +- 3 files changed, 113 insertions(+), 113 deletions(-) diff --git a/package-lock.json b/package-lock.json index f7f5f2ac7..18f763612 100644 --- a/package-lock.json +++ b/package-lock.json @@ -39,8 +39,8 @@ "@types/semver": "^7.5.0", "@types/validate-npm-package-name": "^4.0.0", "@types/yargs": "^17.0.24", - "@typescript-eslint/eslint-plugin": "^5.59.5", - "@typescript-eslint/parser": "^5.59.5", + "@typescript-eslint/eslint-plugin": "^5.59.6", + "@typescript-eslint/parser": "^5.59.6", "autoprefixer": "^10.4.14", "c8": "^7.13.0", "chai": "^4.3.7", @@ -63,7 +63,7 @@ "react": "^18.2.0", "react-dom": "^18.2.0", "rimraf": "^5.0.0", - "rollup": "^3.21.6", + "rollup": "^3.22.0", "source-map": "^0.7.4", "source-map-loader": "^4.0.1", "style-loader": "^3.3.2", @@ -71,7 +71,7 @@ "tsconfig-paths-webpack-plugin": "^4.0.1", "typescript": "~5.0.4", "url-loader": "^4.1.1", - "webpack": "^5.82.0", + "webpack": "^5.82.1", "yargs": "^17.7.2" }, "engines": { @@ -1108,15 +1108,15 @@ "dev": true }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "5.59.5", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.59.5.tgz", - "integrity": "sha512-feA9xbVRWJZor+AnLNAr7A8JRWeZqHUf4T9tlP+TN04b05pFVhO5eN7/O93Y/1OUlLMHKbnJisgDURs/qvtqdg==", + "version": "5.59.6", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.59.6.tgz", + "integrity": "sha512-sXtOgJNEuRU5RLwPUb1jxtToZbgvq3M6FPpY4QENxoOggK+UpTxUBpj6tD8+Qh2g46Pi9We87E+eHnUw8YcGsw==", "dev": true, "dependencies": { "@eslint-community/regexpp": "^4.4.0", - "@typescript-eslint/scope-manager": "5.59.5", - "@typescript-eslint/type-utils": "5.59.5", - "@typescript-eslint/utils": "5.59.5", + "@typescript-eslint/scope-manager": "5.59.6", + "@typescript-eslint/type-utils": "5.59.6", + "@typescript-eslint/utils": "5.59.6", "debug": "^4.3.4", "grapheme-splitter": "^1.0.4", "ignore": "^5.2.0", @@ -1142,11 +1142,11 @@ } }, "node_modules/@typescript-eslint/experimental-utils": { - "version": "5.59.5", - "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.59.5.tgz", - "integrity": "sha512-ArcSSBifznsKNA/p4h2w3Olt/T8AZf3bNglxD8OnuTsSDJbRpjPPmI8qpr6ijyvk1J/T3GMJHwRIluS/Kuz9kA==", + "version": "5.59.6", + "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.59.6.tgz", + "integrity": "sha512-UIVfEaaHggOuhgqdpFlFQ7IN9UFMCiBR/N7uPBUyUlwNdJzYfAu9m4wbOj0b59oI/HSPW1N63Q7lsvfwTQY13w==", "dependencies": { - "@typescript-eslint/utils": "5.59.5" + "@typescript-eslint/utils": "5.59.6" }, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -1160,14 +1160,14 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "5.59.5", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.59.5.tgz", - "integrity": "sha512-NJXQC4MRnF9N9yWqQE2/KLRSOLvrrlZb48NGVfBa+RuPMN6B7ZcK5jZOvhuygv4D64fRKnZI4L4p8+M+rfeQuw==", + "version": "5.59.6", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.59.6.tgz", + "integrity": "sha512-7pCa6al03Pv1yf/dUg/s1pXz/yGMUBAw5EeWqNTFiSueKvRNonze3hma3lhdsOrQcaOXhbk5gKu2Fludiho9VA==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "5.59.5", - "@typescript-eslint/types": "5.59.5", - "@typescript-eslint/typescript-estree": "5.59.5", + "@typescript-eslint/scope-manager": "5.59.6", + "@typescript-eslint/types": "5.59.6", + "@typescript-eslint/typescript-estree": "5.59.6", "debug": "^4.3.4" }, "engines": { @@ -1187,12 +1187,12 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "5.59.5", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.59.5.tgz", - "integrity": "sha512-jVecWwnkX6ZgutF+DovbBJirZcAxgxC0EOHYt/niMROf8p4PwxxG32Qdhj/iIQQIuOflLjNkxoXyArkcIP7C3A==", + "version": "5.59.6", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.59.6.tgz", + "integrity": "sha512-gLbY3Le9Dxcb8KdpF0+SJr6EQ+hFGYFl6tVY8VxLPFDfUZC7BHFw+Vq7bM5lE9DwWPfx4vMWWTLGXgpc0mAYyQ==", "dependencies": { - "@typescript-eslint/types": "5.59.5", - "@typescript-eslint/visitor-keys": "5.59.5" + "@typescript-eslint/types": "5.59.6", + "@typescript-eslint/visitor-keys": "5.59.6" }, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -1203,13 +1203,13 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "5.59.5", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.59.5.tgz", - "integrity": "sha512-4eyhS7oGym67/pSxA2mmNq7X164oqDYNnZCUayBwJZIRVvKpBCMBzFnFxjeoDeShjtO6RQBHBuwybuX3POnDqg==", + "version": "5.59.6", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.59.6.tgz", + "integrity": "sha512-A4tms2Mp5yNvLDlySF+kAThV9VTBPCvGf0Rp8nl/eoDX9Okun8byTKoj3fJ52IJitjWOk0fKPNQhXEB++eNozQ==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "5.59.5", - "@typescript-eslint/utils": "5.59.5", + "@typescript-eslint/typescript-estree": "5.59.6", + "@typescript-eslint/utils": "5.59.6", "debug": "^4.3.4", "tsutils": "^3.21.0" }, @@ -1230,9 +1230,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "5.59.5", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.59.5.tgz", - "integrity": "sha512-xkfRPHbqSH4Ggx4eHRIO/eGL8XL4Ysb4woL8c87YuAo8Md7AUjyWKa9YMwTL519SyDPrfEgKdewjkxNCVeJW7w==", + "version": "5.59.6", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.59.6.tgz", + "integrity": "sha512-tH5lBXZI7T2MOUgOWFdVNUILsI02shyQvfzG9EJkoONWugCG77NDDa1EeDGw7oJ5IvsTAAGVV8I3Tk2PNu9QfA==", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, @@ -1242,12 +1242,12 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "5.59.5", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.5.tgz", - "integrity": "sha512-+XXdLN2CZLZcD/mO7mQtJMvCkzRfmODbeSKuMY/yXbGkzvA9rJyDY5qDYNoiz2kP/dmyAxXquL2BvLQLJFPQIg==", + "version": "5.59.6", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.6.tgz", + "integrity": "sha512-vW6JP3lMAs/Tq4KjdI/RiHaaJSO7IUsbkz17it/Rl9Q+WkQ77EOuOnlbaU8kKfVIOJxMhnRiBG+olE7f3M16DA==", "dependencies": { - "@typescript-eslint/types": "5.59.5", - "@typescript-eslint/visitor-keys": "5.59.5", + "@typescript-eslint/types": "5.59.6", + "@typescript-eslint/visitor-keys": "5.59.6", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -1268,16 +1268,16 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "5.59.5", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.59.5.tgz", - "integrity": "sha512-sCEHOiw+RbyTii9c3/qN74hYDPNORb8yWCoPLmB7BIflhplJ65u2PBpdRla12e3SSTJ2erRkPjz7ngLHhUegxA==", + "version": "5.59.6", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.59.6.tgz", + "integrity": "sha512-vzaaD6EXbTS29cVH0JjXBdzMt6VBlv+hE31XktDRMX1j3462wZCJa7VzO2AxXEXcIl8GQqZPcOPuW/Z1tZVogg==", "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@types/json-schema": "^7.0.9", "@types/semver": "^7.3.12", - "@typescript-eslint/scope-manager": "5.59.5", - "@typescript-eslint/types": "5.59.5", - "@typescript-eslint/typescript-estree": "5.59.5", + "@typescript-eslint/scope-manager": "5.59.6", + "@typescript-eslint/types": "5.59.6", + "@typescript-eslint/typescript-estree": "5.59.6", "eslint-scope": "^5.1.1", "semver": "^7.3.7" }, @@ -1293,11 +1293,11 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "5.59.5", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.5.tgz", - "integrity": "sha512-qL+Oz+dbeBRTeyJTIy0eniD3uvqU7x+y1QceBismZ41hd4aBSRh8UAw4pZP0+XzLuPZmx4raNMq/I+59W2lXKA==", + "version": "5.59.6", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.6.tgz", + "integrity": "sha512-zEfbFLzB9ETcEJ4HZEEsCR9HHeNku5/Qw1jSS5McYJv5BR+ftYXwFFAH5Al+xkGaZEqowMwl7uoJjQb1YSPF8Q==", "dependencies": { - "@typescript-eslint/types": "5.59.5", + "@typescript-eslint/types": "5.59.6", "eslint-visitor-keys": "^3.3.0" }, "engines": { @@ -5678,9 +5678,9 @@ } }, "node_modules/rollup": { - "version": "3.21.6", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.21.6.tgz", - "integrity": "sha512-SXIICxvxQxR3D4dp/3LDHZIJPC8a4anKMHd4E3Jiz2/JnY+2bEjqrOokAauc5ShGVNFHlEFjBXAXlaxkJqIqSg==", + "version": "3.22.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.22.0.tgz", + "integrity": "sha512-imsigcWor5Y/dC0rz2q0bBt9PabcL3TORry2hAa6O6BuMvY71bqHyfReAz5qyAqiQATD1m70qdntqBfBQjVWpQ==", "bin": { "rollup": "dist/bin/rollup" }, @@ -6528,9 +6528,9 @@ } }, "node_modules/webpack": { - "version": "5.82.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.82.0.tgz", - "integrity": "sha512-iGNA2fHhnDcV1bONdUu554eZx+XeldsaeQ8T67H6KKHl2nUSwX8Zm7cmzOA46ox/X1ARxf7Bjv8wQ/HsB5fxBg==", + "version": "5.82.1", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.82.1.tgz", + "integrity": "sha512-C6uiGQJ+Gt4RyHXXYt+v9f+SN1v83x68URwgxNQ98cvH8kxiuywWGP4XeNZ1paOzZ63aY3cTciCEQJNFUljlLw==", "dependencies": { "@types/eslint-scope": "^3.7.3", "@types/estree": "^1.0.0", @@ -6541,7 +6541,7 @@ "acorn-import-assertions": "^1.7.6", "browserslist": "^4.14.5", "chrome-trace-event": "^1.0.2", - "enhanced-resolve": "^5.13.0", + "enhanced-resolve": "^5.14.0", "es-module-lexer": "^1.2.1", "eslint-scope": "5.1.1", "events": "^3.2.0", @@ -6922,7 +6922,7 @@ "license": "MIT", "dependencies": { "@stylable/core": "^5.11.0", - "@typescript-eslint/experimental-utils": "^5.59.5" + "@typescript-eslint/experimental-utils": "^5.59.6" } }, "packages/experimental-loader": { @@ -8033,15 +8033,15 @@ "dev": true }, "@typescript-eslint/eslint-plugin": { - "version": "5.59.5", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.59.5.tgz", - "integrity": "sha512-feA9xbVRWJZor+AnLNAr7A8JRWeZqHUf4T9tlP+TN04b05pFVhO5eN7/O93Y/1OUlLMHKbnJisgDURs/qvtqdg==", + "version": "5.59.6", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.59.6.tgz", + "integrity": "sha512-sXtOgJNEuRU5RLwPUb1jxtToZbgvq3M6FPpY4QENxoOggK+UpTxUBpj6tD8+Qh2g46Pi9We87E+eHnUw8YcGsw==", "dev": true, "requires": { "@eslint-community/regexpp": "^4.4.0", - "@typescript-eslint/scope-manager": "5.59.5", - "@typescript-eslint/type-utils": "5.59.5", - "@typescript-eslint/utils": "5.59.5", + "@typescript-eslint/scope-manager": "5.59.6", + "@typescript-eslint/type-utils": "5.59.6", + "@typescript-eslint/utils": "5.59.6", "debug": "^4.3.4", "grapheme-splitter": "^1.0.4", "ignore": "^5.2.0", @@ -8051,58 +8051,58 @@ } }, "@typescript-eslint/experimental-utils": { - "version": "5.59.5", - "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.59.5.tgz", - "integrity": "sha512-ArcSSBifznsKNA/p4h2w3Olt/T8AZf3bNglxD8OnuTsSDJbRpjPPmI8qpr6ijyvk1J/T3GMJHwRIluS/Kuz9kA==", + "version": "5.59.6", + "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.59.6.tgz", + "integrity": "sha512-UIVfEaaHggOuhgqdpFlFQ7IN9UFMCiBR/N7uPBUyUlwNdJzYfAu9m4wbOj0b59oI/HSPW1N63Q7lsvfwTQY13w==", "requires": { - "@typescript-eslint/utils": "5.59.5" + "@typescript-eslint/utils": "5.59.6" } }, "@typescript-eslint/parser": { - "version": "5.59.5", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.59.5.tgz", - "integrity": "sha512-NJXQC4MRnF9N9yWqQE2/KLRSOLvrrlZb48NGVfBa+RuPMN6B7ZcK5jZOvhuygv4D64fRKnZI4L4p8+M+rfeQuw==", + "version": "5.59.6", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.59.6.tgz", + "integrity": "sha512-7pCa6al03Pv1yf/dUg/s1pXz/yGMUBAw5EeWqNTFiSueKvRNonze3hma3lhdsOrQcaOXhbk5gKu2Fludiho9VA==", "dev": true, "requires": { - "@typescript-eslint/scope-manager": "5.59.5", - "@typescript-eslint/types": "5.59.5", - "@typescript-eslint/typescript-estree": "5.59.5", + "@typescript-eslint/scope-manager": "5.59.6", + "@typescript-eslint/types": "5.59.6", + "@typescript-eslint/typescript-estree": "5.59.6", "debug": "^4.3.4" } }, "@typescript-eslint/scope-manager": { - "version": "5.59.5", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.59.5.tgz", - "integrity": "sha512-jVecWwnkX6ZgutF+DovbBJirZcAxgxC0EOHYt/niMROf8p4PwxxG32Qdhj/iIQQIuOflLjNkxoXyArkcIP7C3A==", + "version": "5.59.6", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.59.6.tgz", + "integrity": "sha512-gLbY3Le9Dxcb8KdpF0+SJr6EQ+hFGYFl6tVY8VxLPFDfUZC7BHFw+Vq7bM5lE9DwWPfx4vMWWTLGXgpc0mAYyQ==", "requires": { - "@typescript-eslint/types": "5.59.5", - "@typescript-eslint/visitor-keys": "5.59.5" + "@typescript-eslint/types": "5.59.6", + "@typescript-eslint/visitor-keys": "5.59.6" } }, "@typescript-eslint/type-utils": { - "version": "5.59.5", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.59.5.tgz", - "integrity": "sha512-4eyhS7oGym67/pSxA2mmNq7X164oqDYNnZCUayBwJZIRVvKpBCMBzFnFxjeoDeShjtO6RQBHBuwybuX3POnDqg==", + "version": "5.59.6", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.59.6.tgz", + "integrity": "sha512-A4tms2Mp5yNvLDlySF+kAThV9VTBPCvGf0Rp8nl/eoDX9Okun8byTKoj3fJ52IJitjWOk0fKPNQhXEB++eNozQ==", "dev": true, "requires": { - "@typescript-eslint/typescript-estree": "5.59.5", - "@typescript-eslint/utils": "5.59.5", + "@typescript-eslint/typescript-estree": "5.59.6", + "@typescript-eslint/utils": "5.59.6", "debug": "^4.3.4", "tsutils": "^3.21.0" } }, "@typescript-eslint/types": { - "version": "5.59.5", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.59.5.tgz", - "integrity": "sha512-xkfRPHbqSH4Ggx4eHRIO/eGL8XL4Ysb4woL8c87YuAo8Md7AUjyWKa9YMwTL519SyDPrfEgKdewjkxNCVeJW7w==" + "version": "5.59.6", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.59.6.tgz", + "integrity": "sha512-tH5lBXZI7T2MOUgOWFdVNUILsI02shyQvfzG9EJkoONWugCG77NDDa1EeDGw7oJ5IvsTAAGVV8I3Tk2PNu9QfA==" }, "@typescript-eslint/typescript-estree": { - "version": "5.59.5", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.5.tgz", - "integrity": "sha512-+XXdLN2CZLZcD/mO7mQtJMvCkzRfmODbeSKuMY/yXbGkzvA9rJyDY5qDYNoiz2kP/dmyAxXquL2BvLQLJFPQIg==", + "version": "5.59.6", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.6.tgz", + "integrity": "sha512-vW6JP3lMAs/Tq4KjdI/RiHaaJSO7IUsbkz17it/Rl9Q+WkQ77EOuOnlbaU8kKfVIOJxMhnRiBG+olE7f3M16DA==", "requires": { - "@typescript-eslint/types": "5.59.5", - "@typescript-eslint/visitor-keys": "5.59.5", + "@typescript-eslint/types": "5.59.6", + "@typescript-eslint/visitor-keys": "5.59.6", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -8111,26 +8111,26 @@ } }, "@typescript-eslint/utils": { - "version": "5.59.5", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.59.5.tgz", - "integrity": "sha512-sCEHOiw+RbyTii9c3/qN74hYDPNORb8yWCoPLmB7BIflhplJ65u2PBpdRla12e3SSTJ2erRkPjz7ngLHhUegxA==", + "version": "5.59.6", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.59.6.tgz", + "integrity": "sha512-vzaaD6EXbTS29cVH0JjXBdzMt6VBlv+hE31XktDRMX1j3462wZCJa7VzO2AxXEXcIl8GQqZPcOPuW/Z1tZVogg==", "requires": { "@eslint-community/eslint-utils": "^4.2.0", "@types/json-schema": "^7.0.9", "@types/semver": "^7.3.12", - "@typescript-eslint/scope-manager": "5.59.5", - "@typescript-eslint/types": "5.59.5", - "@typescript-eslint/typescript-estree": "5.59.5", + "@typescript-eslint/scope-manager": "5.59.6", + "@typescript-eslint/types": "5.59.6", + "@typescript-eslint/typescript-estree": "5.59.6", "eslint-scope": "^5.1.1", "semver": "^7.3.7" } }, "@typescript-eslint/visitor-keys": { - "version": "5.59.5", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.5.tgz", - "integrity": "sha512-qL+Oz+dbeBRTeyJTIy0eniD3uvqU7x+y1QceBismZ41hd4aBSRh8UAw4pZP0+XzLuPZmx4raNMq/I+59W2lXKA==", + "version": "5.59.6", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.6.tgz", + "integrity": "sha512-zEfbFLzB9ETcEJ4HZEEsCR9HHeNku5/Qw1jSS5McYJv5BR+ftYXwFFAH5Al+xkGaZEqowMwl7uoJjQb1YSPF8Q==", "requires": { - "@typescript-eslint/types": "5.59.5", + "@typescript-eslint/types": "5.59.6", "eslint-visitor-keys": "^3.3.0" } }, @@ -9319,7 +9319,7 @@ "version": "file:packages/eslint-plugin-stylable", "requires": { "@stylable/core": "^5.11.0", - "@typescript-eslint/experimental-utils": "^5.59.5" + "@typescript-eslint/experimental-utils": "^5.59.6" } }, "eslint-scope": { @@ -11317,9 +11317,9 @@ } }, "rollup": { - "version": "3.21.6", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.21.6.tgz", - "integrity": "sha512-SXIICxvxQxR3D4dp/3LDHZIJPC8a4anKMHd4E3Jiz2/JnY+2bEjqrOokAauc5ShGVNFHlEFjBXAXlaxkJqIqSg==", + "version": "3.22.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.22.0.tgz", + "integrity": "sha512-imsigcWor5Y/dC0rz2q0bBt9PabcL3TORry2hAa6O6BuMvY71bqHyfReAz5qyAqiQATD1m70qdntqBfBQjVWpQ==", "requires": { "fsevents": "~2.3.2" } @@ -11920,9 +11920,9 @@ } }, "webpack": { - "version": "5.82.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.82.0.tgz", - "integrity": "sha512-iGNA2fHhnDcV1bONdUu554eZx+XeldsaeQ8T67H6KKHl2nUSwX8Zm7cmzOA46ox/X1ARxf7Bjv8wQ/HsB5fxBg==", + "version": "5.82.1", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.82.1.tgz", + "integrity": "sha512-C6uiGQJ+Gt4RyHXXYt+v9f+SN1v83x68URwgxNQ98cvH8kxiuywWGP4XeNZ1paOzZ63aY3cTciCEQJNFUljlLw==", "requires": { "@types/eslint-scope": "^3.7.3", "@types/estree": "^1.0.0", @@ -11933,7 +11933,7 @@ "acorn-import-assertions": "^1.7.6", "browserslist": "^4.14.5", "chrome-trace-event": "^1.0.2", - "enhanced-resolve": "^5.13.0", + "enhanced-resolve": "^5.14.0", "es-module-lexer": "^1.2.1", "eslint-scope": "5.1.1", "events": "^3.2.0", diff --git a/package.json b/package.json index 1d9ca50d5..51d311641 100644 --- a/package.json +++ b/package.json @@ -46,8 +46,8 @@ "@types/semver": "^7.5.0", "@types/validate-npm-package-name": "^4.0.0", "@types/yargs": "^17.0.24", - "@typescript-eslint/eslint-plugin": "^5.59.5", - "@typescript-eslint/parser": "^5.59.5", + "@typescript-eslint/eslint-plugin": "^5.59.6", + "@typescript-eslint/parser": "^5.59.6", "autoprefixer": "^10.4.14", "c8": "^7.13.0", "chai": "^4.3.7", @@ -70,7 +70,7 @@ "react": "^18.2.0", "react-dom": "^18.2.0", "rimraf": "^5.0.0", - "rollup": "^3.21.6", + "rollup": "^3.22.0", "source-map": "^0.7.4", "source-map-loader": "^4.0.1", "style-loader": "^3.3.2", @@ -78,7 +78,7 @@ "tsconfig-paths-webpack-plugin": "^4.0.1", "typescript": "~5.0.4", "url-loader": "^4.1.1", - "webpack": "^5.82.0", + "webpack": "^5.82.1", "yargs": "^17.7.2" }, "engines": { diff --git a/packages/eslint-plugin-stylable/package.json b/packages/eslint-plugin-stylable/package.json index e2757f618..f158b7b37 100644 --- a/packages/eslint-plugin-stylable/package.json +++ b/packages/eslint-plugin-stylable/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "@stylable/core": "^5.11.0", - "@typescript-eslint/experimental-utils": "^5.59.5" + "@typescript-eslint/experimental-utils": "^5.59.6" }, "keywords": [ "eslint", From f0783ffd795cb9aec95f1091000b4929eba16aa4 Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Wed, 24 May 2023 10:04:33 +0300 Subject: [PATCH 04/81] chore(deps): upgrade to latest stable --- package-lock.json | 758 ++++++++++++------- package.json | 18 +- packages/e2e-test-kit/package.json | 4 +- packages/eslint-plugin-stylable/package.json | 2 +- packages/experimental-loader/package.json | 2 +- 5 files changed, 492 insertions(+), 292 deletions(-) diff --git a/package-lock.json b/package-lock.json index 18f763612..e7700aaba 100644 --- a/package-lock.json +++ b/package-lock.json @@ -39,39 +39,39 @@ "@types/semver": "^7.5.0", "@types/validate-npm-package-name": "^4.0.0", "@types/yargs": "^17.0.24", - "@typescript-eslint/eslint-plugin": "^5.59.6", - "@typescript-eslint/parser": "^5.59.6", + "@typescript-eslint/eslint-plugin": "^5.59.7", + "@typescript-eslint/parser": "^5.59.7", "autoprefixer": "^10.4.14", "c8": "^7.13.0", "chai": "^4.3.7", "chai-subset": "^1.6.0", "create-listening-server": "^2.1.0", - "eslint": "^8.40.0", + "eslint": "^8.41.0", "eslint-config-prettier": "^8.8.0", "eslint-plugin-react": "^7.32.2", "eslint-plugin-react-hooks": "^4.6.0", "file-loader": "^6.2.0", "html-webpack-plugin": "^5.5.1", - "mini-css-extract-plugin": "^2.7.5", + "mini-css-extract-plugin": "^2.7.6", "mocha": "^10.2.0", "node-eval": "^2.0.0", "npm-run-all": "^4.1.5", - "playwright-chromium": "^1.33.0", + "playwright-chromium": "^1.34.2", "postcss": "^8.4.23", "promise-assist": "^2.0.1", "raw-loader": "^4.0.2", "react": "^18.2.0", "react-dom": "^18.2.0", - "rimraf": "^5.0.0", - "rollup": "^3.22.0", + "rimraf": "^5.0.1", + "rollup": "^3.23.0", "source-map": "^0.7.4", "source-map-loader": "^4.0.1", - "style-loader": "^3.3.2", + "style-loader": "^3.3.3", "ts-expect": "^1.3.0", "tsconfig-paths-webpack-plugin": "^4.0.1", "typescript": "~5.0.4", "url-loader": "^4.1.1", - "webpack": "^5.82.1", + "webpack": "^5.83.1", "yargs": "^17.7.2" }, "engines": { @@ -481,9 +481,9 @@ } }, "node_modules/@eslint/js": { - "version": "8.40.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.40.0.tgz", - "integrity": "sha512-ElyB54bJIhXQYVKjDSvCkPO1iU1tSAeVQJbllWJq1XQSmmA4dgFk8CbiBGpiOPxleE48vDogxCtmMYku4HSVLA==", + "version": "8.41.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.41.0.tgz", + "integrity": "sha512-LxcyMGxwmTh2lY9FwHPGWOHmYFCZvbrFCBZL4FzSSsxsRPuhrYUg/49/0KDfW8tnIEaEHtfmn6+NPN+1DqaNmA==", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } @@ -572,6 +572,95 @@ "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==" }, + "node_modules/@isaacs/cliui": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "dependencies": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@isaacs/cliui/node_modules/ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==" + }, + "node_modules/@isaacs/cliui/node_modules/string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "dependencies": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@isaacs/cliui/node_modules/strip-ansi": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.0.1.tgz", + "integrity": "sha512-cXNxvT8dFNRVfhVME3JAe98mkXDYN2O1l7jmcwMnOslDeESg1rF/OZMtK0nRAhiari1unG5cD4jG3rapUAkLbw==", + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/wrap-ansi": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "dependencies": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, "node_modules/@istanbuljs/schema": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz", @@ -1108,15 +1197,15 @@ "dev": true }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "5.59.6", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.59.6.tgz", - "integrity": "sha512-sXtOgJNEuRU5RLwPUb1jxtToZbgvq3M6FPpY4QENxoOggK+UpTxUBpj6tD8+Qh2g46Pi9We87E+eHnUw8YcGsw==", + "version": "5.59.7", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.59.7.tgz", + "integrity": "sha512-BL+jYxUFIbuYwy+4fF86k5vdT9lT0CNJ6HtwrIvGh0PhH8s0yy5rjaKH2fDCrz5ITHy07WCzVGNvAmjJh4IJFA==", "dev": true, "dependencies": { "@eslint-community/regexpp": "^4.4.0", - "@typescript-eslint/scope-manager": "5.59.6", - "@typescript-eslint/type-utils": "5.59.6", - "@typescript-eslint/utils": "5.59.6", + "@typescript-eslint/scope-manager": "5.59.7", + "@typescript-eslint/type-utils": "5.59.7", + "@typescript-eslint/utils": "5.59.7", "debug": "^4.3.4", "grapheme-splitter": "^1.0.4", "ignore": "^5.2.0", @@ -1142,11 +1231,11 @@ } }, "node_modules/@typescript-eslint/experimental-utils": { - "version": "5.59.6", - "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.59.6.tgz", - "integrity": "sha512-UIVfEaaHggOuhgqdpFlFQ7IN9UFMCiBR/N7uPBUyUlwNdJzYfAu9m4wbOj0b59oI/HSPW1N63Q7lsvfwTQY13w==", + "version": "5.59.7", + "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.59.7.tgz", + "integrity": "sha512-jqM0Cjfvta/sBlY1MxdXYv853/dJUC2wmUWnKoG2srwp0njNGQ6Zu/XLWoRFiLvocQbzBbpHkPFwKgC2UqyovA==", "dependencies": { - "@typescript-eslint/utils": "5.59.6" + "@typescript-eslint/utils": "5.59.7" }, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -1160,14 +1249,14 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "5.59.6", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.59.6.tgz", - "integrity": "sha512-7pCa6al03Pv1yf/dUg/s1pXz/yGMUBAw5EeWqNTFiSueKvRNonze3hma3lhdsOrQcaOXhbk5gKu2Fludiho9VA==", + "version": "5.59.7", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.59.7.tgz", + "integrity": "sha512-VhpsIEuq/8i5SF+mPg9jSdIwgMBBp0z9XqjiEay+81PYLJuroN+ET1hM5IhkiYMJd9MkTz8iJLt7aaGAgzWUbQ==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "5.59.6", - "@typescript-eslint/types": "5.59.6", - "@typescript-eslint/typescript-estree": "5.59.6", + "@typescript-eslint/scope-manager": "5.59.7", + "@typescript-eslint/types": "5.59.7", + "@typescript-eslint/typescript-estree": "5.59.7", "debug": "^4.3.4" }, "engines": { @@ -1187,12 +1276,12 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "5.59.6", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.59.6.tgz", - "integrity": "sha512-gLbY3Le9Dxcb8KdpF0+SJr6EQ+hFGYFl6tVY8VxLPFDfUZC7BHFw+Vq7bM5lE9DwWPfx4vMWWTLGXgpc0mAYyQ==", + "version": "5.59.7", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.59.7.tgz", + "integrity": "sha512-FL6hkYWK9zBGdxT2wWEd2W8ocXMu3K94i3gvMrjXpx+koFYdYV7KprKfirpgY34vTGzEPPuKoERpP8kD5h7vZQ==", "dependencies": { - "@typescript-eslint/types": "5.59.6", - "@typescript-eslint/visitor-keys": "5.59.6" + "@typescript-eslint/types": "5.59.7", + "@typescript-eslint/visitor-keys": "5.59.7" }, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -1203,13 +1292,13 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "5.59.6", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.59.6.tgz", - "integrity": "sha512-A4tms2Mp5yNvLDlySF+kAThV9VTBPCvGf0Rp8nl/eoDX9Okun8byTKoj3fJ52IJitjWOk0fKPNQhXEB++eNozQ==", + "version": "5.59.7", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.59.7.tgz", + "integrity": "sha512-ozuz/GILuYG7osdY5O5yg0QxXUAEoI4Go3Do5xeu+ERH9PorHBPSdvD3Tjp2NN2bNLh1NJQSsQu2TPu/Ly+HaQ==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "5.59.6", - "@typescript-eslint/utils": "5.59.6", + "@typescript-eslint/typescript-estree": "5.59.7", + "@typescript-eslint/utils": "5.59.7", "debug": "^4.3.4", "tsutils": "^3.21.0" }, @@ -1230,9 +1319,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "5.59.6", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.59.6.tgz", - "integrity": "sha512-tH5lBXZI7T2MOUgOWFdVNUILsI02shyQvfzG9EJkoONWugCG77NDDa1EeDGw7oJ5IvsTAAGVV8I3Tk2PNu9QfA==", + "version": "5.59.7", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.59.7.tgz", + "integrity": "sha512-UnVS2MRRg6p7xOSATscWkKjlf/NDKuqo5TdbWck6rIRZbmKpVNTLALzNvcjIfHBE7736kZOFc/4Z3VcZwuOM/A==", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, @@ -1242,12 +1331,12 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "5.59.6", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.6.tgz", - "integrity": "sha512-vW6JP3lMAs/Tq4KjdI/RiHaaJSO7IUsbkz17it/Rl9Q+WkQ77EOuOnlbaU8kKfVIOJxMhnRiBG+olE7f3M16DA==", + "version": "5.59.7", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.7.tgz", + "integrity": "sha512-4A1NtZ1I3wMN2UGDkU9HMBL+TIQfbrh4uS0WDMMpf3xMRursDbqEf1ahh6vAAe3mObt8k3ZATnezwG4pdtWuUQ==", "dependencies": { - "@typescript-eslint/types": "5.59.6", - "@typescript-eslint/visitor-keys": "5.59.6", + "@typescript-eslint/types": "5.59.7", + "@typescript-eslint/visitor-keys": "5.59.7", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -1268,16 +1357,16 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "5.59.6", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.59.6.tgz", - "integrity": "sha512-vzaaD6EXbTS29cVH0JjXBdzMt6VBlv+hE31XktDRMX1j3462wZCJa7VzO2AxXEXcIl8GQqZPcOPuW/Z1tZVogg==", + "version": "5.59.7", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.59.7.tgz", + "integrity": "sha512-yCX9WpdQKaLufz5luG4aJbOpdXf/fjwGMcLFXZVPUz3QqLirG5QcwwnIHNf8cjLjxK4qtzTO8udUtMQSAToQnQ==", "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@types/json-schema": "^7.0.9", "@types/semver": "^7.3.12", - "@typescript-eslint/scope-manager": "5.59.6", - "@typescript-eslint/types": "5.59.6", - "@typescript-eslint/typescript-estree": "5.59.6", + "@typescript-eslint/scope-manager": "5.59.7", + "@typescript-eslint/types": "5.59.7", + "@typescript-eslint/typescript-estree": "5.59.7", "eslint-scope": "^5.1.1", "semver": "^7.3.7" }, @@ -1293,11 +1382,11 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "5.59.6", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.6.tgz", - "integrity": "sha512-zEfbFLzB9ETcEJ4HZEEsCR9HHeNku5/Qw1jSS5McYJv5BR+ftYXwFFAH5Al+xkGaZEqowMwl7uoJjQb1YSPF8Q==", + "version": "5.59.7", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.7.tgz", + "integrity": "sha512-tyN+X2jvMslUszIiYbF0ZleP+RqQsFVpGrKI6e0Eet1w8WmhsAtmzaqm8oM8WJQ1ysLwhnsK/4hYHJjOgJVfQQ==", "dependencies": { - "@typescript-eslint/types": "5.59.6", + "@typescript-eslint/types": "5.59.7", "eslint-visitor-keys": "^3.3.0" }, "engines": { @@ -2188,14 +2277,14 @@ } }, "node_modules/css-loader": { - "version": "6.7.3", - "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-6.7.3.tgz", - "integrity": "sha512-qhOH1KlBMnZP8FzRO6YCH9UHXQhVMcEGLyNdb7Hv2cpcmJbW0YrddO+tG1ab5nT41KpHIYGsbeHqxB9xPu1pKQ==", + "version": "6.7.4", + "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-6.7.4.tgz", + "integrity": "sha512-0Y5uHtK5BswfaGJ+jrO+4pPg1msFBc0pwPIE1VqfpmVn6YbDfYfXMj8rfd7nt+4goAhJueO+H/I40VWJfcP1mQ==", "dependencies": { "icss-utils": "^5.1.0", - "postcss": "^8.4.19", + "postcss": "^8.4.21", "postcss-modules-extract-imports": "^3.0.0", - "postcss-modules-local-by-default": "^4.0.0", + "postcss-modules-local-by-default": "^4.0.1", "postcss-modules-scope": "^3.0.0", "postcss-modules-values": "^4.0.0", "postcss-value-parser": "^4.2.0", @@ -2490,6 +2579,11 @@ "tslib": "^2.0.3" } }, + "node_modules/eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==" + }, "node_modules/editorconfig": { "version": "0.15.3", "resolved": "https://registry.npmjs.org/editorconfig/-/editorconfig-0.15.3.tgz", @@ -2698,14 +2792,14 @@ } }, "node_modules/eslint": { - "version": "8.40.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.40.0.tgz", - "integrity": "sha512-bvR+TsP9EHL3TqNtj9sCNJVAFK3fBN8Q7g5waghxyRsPLIMwL73XSKnZFK0hk/O2ANC+iAoq6PWMQ+IfBAJIiQ==", + "version": "8.41.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.41.0.tgz", + "integrity": "sha512-WQDQpzGBOP5IrXPo4Hc0814r4/v2rrIsB0rhT7jtunIalgg6gYXWhRMOejVO8yH21T/FGaxjmFjBMNqcIlmH1Q==", "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.4.0", "@eslint/eslintrc": "^2.0.3", - "@eslint/js": "8.40.0", + "@eslint/js": "8.41.0", "@humanwhocodes/config-array": "^0.11.8", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", @@ -2725,13 +2819,12 @@ "find-up": "^5.0.0", "glob-parent": "^6.0.2", "globals": "^13.19.0", - "grapheme-splitter": "^1.0.4", + "graphemer": "^1.4.0", "ignore": "^5.2.0", "import-fresh": "^3.0.0", "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", "is-path-inside": "^3.0.3", - "js-sdsl": "^4.1.4", "js-yaml": "^4.1.0", "json-stable-stringify-without-jsonify": "^1.0.1", "levn": "^0.4.1", @@ -3334,7 +3427,13 @@ "node_modules/grapheme-splitter": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz", - "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==" + "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==", + "dev": true + }, + "node_modules/graphemer": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", + "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==" }, "node_modules/has": { "version": "1.0.3", @@ -3889,11 +3988,11 @@ } }, "node_modules/jackspeak": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.0.3.tgz", - "integrity": "sha512-0Jud3OMUdMbrlr3PyUMKESq51LXVAB+a239Ywdvd+Kgxj3MaBRml/nVRxf8tQFyfthMjuRkxkv7Vg58pmIMfuQ==", + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.2.1.tgz", + "integrity": "sha512-MXbxovZ/Pm42f6cDIDkl3xpwv1AGwObKwfmjs2nQePiy85tP3fatofl3FC1aBsOtP/6fq5SbtgHwWcMsLP+bDw==", "dependencies": { - "cliui": "^7.0.4" + "@isaacs/cliui": "^8.0.2" }, "engines": { "node": ">=14" @@ -3905,16 +4004,6 @@ "@pkgjs/parseargs": "^0.11.0" } }, - "node_modules/jackspeak/node_modules/cliui": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", - "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^7.0.0" - } - }, "node_modules/jest-docblock": { "version": "29.4.3", "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-29.4.3.tgz", @@ -4009,15 +4098,6 @@ "node": ">=10" } }, - "node_modules/js-sdsl": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/js-sdsl/-/js-sdsl-4.2.0.tgz", - "integrity": "sha512-dyBIzQBDkCqCu+0upx25Y2jGdbTGxE9fshMsCdK0ViOongpV+n5tXRcZY9v7CaVQ79AGS9KA1KHtojxiM7aXSQ==", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/js-sdsl" - } - }, "node_modules/js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", @@ -4314,9 +4394,9 @@ } }, "node_modules/mini-css-extract-plugin": { - "version": "2.7.5", - "resolved": "https://registry.npmjs.org/mini-css-extract-plugin/-/mini-css-extract-plugin-2.7.5.tgz", - "integrity": "sha512-9HaR++0mlgom81s95vvNjxkg52n2b5s//3ZTI1EtzFb98awsLSivs2LMsVqnQ3ay0PVhqWcGNyDaTE961FOcjQ==", + "version": "2.7.6", + "resolved": "https://registry.npmjs.org/mini-css-extract-plugin/-/mini-css-extract-plugin-2.7.6.tgz", + "integrity": "sha512-Qk7HcgaPkGG6eD77mLvZS1nmxlao3j+9PkrT9Uc7HAE1id3F41+DdBRYRYkbyfNRGzm8/YWtzhw7nVPmwhqTQw==", "dev": true, "dependencies": { "schema-utils": "^4.0.0" @@ -4406,11 +4486,11 @@ } }, "node_modules/minipass": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", - "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-6.0.2.tgz", + "integrity": "sha512-MzWSV5nYVT7mVyWCwn2o7JH13w2TBRmmSqSRCKzTw+lmft9X4z+3wjvs06Tzijo5z4W/kahUCDpRXTF+ZrmF/w==", "engines": { - "node": ">=8" + "node": ">=16 || 14 >=14.17" } }, "node_modules/mocha": { @@ -5067,12 +5147,12 @@ "dev": true }, "node_modules/path-scurry": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.7.0.tgz", - "integrity": "sha512-UkZUeDjczjYRE495+9thsgcVgsaCPkaw80slmfVFgllxY+IO8ubTsOpFVjDPROBqJdHfVPUFRHPBV/WciOVfWg==", + "version": "1.9.2", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.9.2.tgz", + "integrity": "sha512-qSDLy2aGFPm8i4rsbHd4MNyTcrzHFsLQykrtbuGRknZZCBBVXSv2tSCDN2Cg6Rt/GFRw8GoW9y9Ecw5rIPG1sg==", "dependencies": { - "lru-cache": "^9.0.0", - "minipass": "^5.0.0" + "lru-cache": "^9.1.1", + "minipass": "^5.0.0 || ^6.0.2" }, "engines": { "node": ">=16 || 14 >=14.17" @@ -5082,9 +5162,9 @@ } }, "node_modules/path-scurry/node_modules/lru-cache": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-9.1.0.tgz", - "integrity": "sha512-qFXQEwchrZcMVen2uIDceR8Tii6kCJak5rzDStfEM0qA3YLMswaxIEZO0DhIbJ3aqaJiDjt+3crlplOb0tDtKQ==", + "version": "9.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-9.1.1.tgz", + "integrity": "sha512-65/Jky17UwSb0BuB9V+MyDpsOtXKmYwzhyl+cOa9XUiI4uV2Ouy/2voFP3+al0BjZbJgMBD8FojMpAf+Z+qn4A==", "engines": { "node": "14 || >=16.14" } @@ -5143,13 +5223,13 @@ } }, "node_modules/playwright-chromium": { - "version": "1.33.0", - "resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.33.0.tgz", - "integrity": "sha512-aG2IqRp7Q6vRltZFT+N2stWwDUH2fEUTOTv8RxSKMK5QmIQQoNL9nJvNMIJ3yLuin8+coaa3mhJXjjUheo0+/A==", + "version": "1.34.2", + "resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.34.2.tgz", + "integrity": "sha512-JlmA8kzW3ZVnnZm3NLKwrU0qilW2vAgsMveUsmxvcoUJzsWhMmgzYVDBKTEhiEdnlLOCIsmct5dMh+UvjCeI1w==", "dev": true, "hasInstallScript": true, "dependencies": { - "playwright-core": "1.33.0" + "playwright-core": "1.34.2" }, "bin": { "playwright": "cli.js" @@ -5159,9 +5239,9 @@ } }, "node_modules/playwright-core": { - "version": "1.33.0", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.33.0.tgz", - "integrity": "sha512-aizyPE1Cj62vAECdph1iaMILpT0WUDCq3E6rW6I+dleSbBoGbktvJtzS6VHkZ4DKNEOG9qJpiom/ZxO+S15LAw==", + "version": "1.34.2", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.34.2.tgz", + "integrity": "sha512-MrkgGWLANc5qthXduvIY1a/tuafROyTORVd86fwKwgoYrmnBooN/GgeZSBm7ljTLV2FCWNSXV3se7qeScKn83g==", "bin": { "playwright": "cli.js" }, @@ -5226,9 +5306,9 @@ } }, "node_modules/postcss-modules-local-by-default": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-4.0.0.tgz", - "integrity": "sha512-sT7ihtmGSF9yhm6ggikHdV0hlziDTX7oFoXtuVWeDd3hHObNkcHRo9V3yg7vCAY7cONyxJC/XXCmmiHHcvX7bQ==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-4.0.3.tgz", + "integrity": "sha512-2/u2zraspoACtrbFRnTijMiQtb4GW4BvatjaG/bCjYQo8kLTdevCUlwuBHx2sCnSyrI3x3qj4ZK1j5LQBgzmwA==", "dependencies": { "icss-utils": "^5.0.0", "postcss-selector-parser": "^6.0.2", @@ -5591,11 +5671,11 @@ } }, "node_modules/rimraf": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.0.tgz", - "integrity": "sha512-Jf9llaP+RvaEVS5nPShYFhtXIrb3LRKP281ib3So0KkeZKo2wIKyq0Re7TOSwanasA423PSr6CCIL4bP6T040g==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.1.tgz", + "integrity": "sha512-OfFZdwtd3lZ+XZzYP/6gTACubwFcHdLRqS9UX3UwpU2dnGQYkPFISRwvM3w9IiB2w7bW5qGo/uAwE4SmXXSKvg==", "dependencies": { - "glob": "^10.0.0" + "glob": "^10.2.5" }, "bin": { "rimraf": "dist/cjs/src/bin.js" @@ -5631,15 +5711,14 @@ } }, "node_modules/rimraf/node_modules/glob": { - "version": "10.2.1", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.2.1.tgz", - "integrity": "sha512-ngom3wq2UhjdbmRE/krgkD8BQyi1KZ5l+D2dVm4+Yj+jJIBp74/ZGunL6gNGc/CYuQmvUBiavWEXIotRiv5R6A==", + "version": "10.2.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.2.6.tgz", + "integrity": "sha512-U/rnDpXJGF414QQQZv5uVsabTVxMSwzS5CH0p3DRCIV6ownl4f7PzGnkGmvlum2wB+9RlJWJZ6ACU1INnBqiPA==", "dependencies": { "foreground-child": "^3.1.0", - "fs.realpath": "^1.0.0", "jackspeak": "^2.0.3", - "minimatch": "^9.0.0", - "minipass": "^5.0.0", + "minimatch": "^9.0.1", + "minipass": "^5.0.0 || ^6.0.2", "path-scurry": "^1.7.0" }, "bin": { @@ -5653,9 +5732,9 @@ } }, "node_modules/rimraf/node_modules/minimatch": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.0.tgz", - "integrity": "sha512-0jJj8AvgKqWN05mrwuqi8QYKx1WmYSUoKSxu5Qhs9prezTz10sxAHGNZe9J9cqIJzta8DWsleh2KaVaLl6Ru2w==", + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.1.tgz", + "integrity": "sha512-0jWhJpD/MdhPXwPuiRkCbfYfSKp2qnn2eOc279qI7f+osl/l+prKSrvhg157zSYvx/1nmgn2NqdT6k2Z7zSH9w==", "dependencies": { "brace-expansion": "^2.0.1" }, @@ -5667,9 +5746,9 @@ } }, "node_modules/rimraf/node_modules/signal-exit": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.0.1.tgz", - "integrity": "sha512-uUWsN4aOxJAS8KOuf3QMyFtgm1pkb6I+KRZbRF/ghdf5T7sM+B1lLLzPDxswUjkmHyxQAVzEgG35E3NzDM9GVw==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.0.2.tgz", + "integrity": "sha512-MY2/qGx4enyjprQnFaZsHib3Yadh3IXyV2C321GY0pjGfVBu4un0uDJkwgdxqO+Rdx8JMT8IfJIRwbYVz3Ob3Q==", "engines": { "node": ">=14" }, @@ -5678,9 +5757,9 @@ } }, "node_modules/rollup": { - "version": "3.22.0", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.22.0.tgz", - "integrity": "sha512-imsigcWor5Y/dC0rz2q0bBt9PabcL3TORry2hAa6O6BuMvY71bqHyfReAz5qyAqiQATD1m70qdntqBfBQjVWpQ==", + "version": "3.23.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.23.0.tgz", + "integrity": "sha512-h31UlwEi7FHihLe1zbk+3Q7z1k/84rb9BSwmBSr/XjOCEaBJ2YyedQDuM0t/kfOS0IxM+vk1/zI9XxYj9V+NJQ==", "bin": { "rollup": "dist/bin/rollup" }, @@ -5975,6 +6054,20 @@ "node": ">=8" } }, + "node_modules/string-width-cjs": { + "name": "string-width", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/string.prototype.matchall": { "version": "4.0.8", "resolved": "https://registry.npmjs.org/string.prototype.matchall/-/string.prototype.matchall-4.0.8.tgz", @@ -6050,6 +6143,18 @@ "node": ">=8" } }, + "node_modules/strip-ansi-cjs": { + "name": "strip-ansi", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/strip-bom": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", @@ -6071,9 +6176,9 @@ } }, "node_modules/style-loader": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-3.3.2.tgz", - "integrity": "sha512-RHs/vcrKdQK8wZliteNK4NKzxvLBzpuHMqYmUVWeKa6MkaIQ97ZTOS0b+zapZhy6GcrgWnvWYCMHRirC3FsUmw==", + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-3.3.3.tgz", + "integrity": "sha512-53BiGLXAcll9maCYtZi2RCQZKa8NQQai5C4horqKyRmHj9H7QmcUyucrH+4KW/gBQbXM2AsB0axoEcFZPlfPcw==", "dev": true, "engines": { "node": ">= 12.13.0" @@ -6528,9 +6633,9 @@ } }, "node_modules/webpack": { - "version": "5.82.1", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.82.1.tgz", - "integrity": "sha512-C6uiGQJ+Gt4RyHXXYt+v9f+SN1v83x68URwgxNQ98cvH8kxiuywWGP4XeNZ1paOzZ63aY3cTciCEQJNFUljlLw==", + "version": "5.83.1", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.83.1.tgz", + "integrity": "sha512-TNsG9jDScbNuB+Lb/3+vYolPplCS3bbEaJf+Bj0Gw4DhP3ioAflBb1flcRt9zsWITyvOhM96wMQNRWlSX52DgA==", "dependencies": { "@types/eslint-scope": "^3.7.3", "@types/estree": "^1.0.0", @@ -6641,6 +6746,23 @@ "url": "https://github.com/chalk/wrap-ansi?sponsor=1" } }, + "node_modules/wrap-ansi-cjs": { + "name": "wrap-ansi", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", @@ -6886,8 +7008,8 @@ "dependencies": { "@stylable/runtime": "^5.11.0", "node-eval": "^2.0.0", - "playwright-core": "^1.33.0", - "rimraf": "^5.0.0" + "playwright-core": "^1.34.2", + "rimraf": "^5.0.1" }, "engines": { "node": ">=14.14.0" @@ -6922,7 +7044,7 @@ "license": "MIT", "dependencies": { "@stylable/core": "^5.11.0", - "@typescript-eslint/experimental-utils": "^5.59.6" + "@typescript-eslint/experimental-utils": "^5.59.7" } }, "packages/experimental-loader": { @@ -6932,7 +7054,7 @@ "dependencies": { "@stylable/core": "^5.11.0", "@stylable/runtime": "^5.11.0", - "css-loader": "^6.7.3", + "css-loader": "^6.7.4", "decache": "^4.6.1", "loader-utils": "^3.2.1" } @@ -7321,9 +7443,9 @@ } }, "@eslint/js": { - "version": "8.40.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.40.0.tgz", - "integrity": "sha512-ElyB54bJIhXQYVKjDSvCkPO1iU1tSAeVQJbllWJq1XQSmmA4dgFk8CbiBGpiOPxleE48vDogxCtmMYku4HSVLA==" + "version": "8.41.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.41.0.tgz", + "integrity": "sha512-LxcyMGxwmTh2lY9FwHPGWOHmYFCZvbrFCBZL4FzSSsxsRPuhrYUg/49/0KDfW8tnIEaEHtfmn6+NPN+1DqaNmA==" }, "@file-services/memory": { "version": "7.3.0", @@ -7393,6 +7515,64 @@ "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==" }, + "@isaacs/cliui": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "requires": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==" + }, + "ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==" + }, + "emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==" + }, + "string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "requires": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + } + }, + "strip-ansi": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.0.1.tgz", + "integrity": "sha512-cXNxvT8dFNRVfhVME3JAe98mkXDYN2O1l7jmcwMnOslDeESg1rF/OZMtK0nRAhiari1unG5cD4jG3rapUAkLbw==", + "requires": { + "ansi-regex": "^6.0.1" + } + }, + "wrap-ansi": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "requires": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + } + } + } + }, "@istanbuljs/schema": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz", @@ -7600,8 +7780,8 @@ "requires": { "@stylable/runtime": "^5.11.0", "node-eval": "^2.0.0", - "playwright-core": "^1.33.0", - "rimraf": "^5.0.0" + "playwright-core": "^1.34.2", + "rimraf": "^5.0.1" } }, "@stylable/esbuild": { @@ -7622,7 +7802,7 @@ "requires": { "@stylable/core": "^5.11.0", "@stylable/runtime": "^5.11.0", - "css-loader": "^6.7.3", + "css-loader": "^6.7.4", "decache": "^4.6.1", "loader-utils": "^3.2.1" }, @@ -8033,15 +8213,15 @@ "dev": true }, "@typescript-eslint/eslint-plugin": { - "version": "5.59.6", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.59.6.tgz", - "integrity": "sha512-sXtOgJNEuRU5RLwPUb1jxtToZbgvq3M6FPpY4QENxoOggK+UpTxUBpj6tD8+Qh2g46Pi9We87E+eHnUw8YcGsw==", + "version": "5.59.7", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.59.7.tgz", + "integrity": "sha512-BL+jYxUFIbuYwy+4fF86k5vdT9lT0CNJ6HtwrIvGh0PhH8s0yy5rjaKH2fDCrz5ITHy07WCzVGNvAmjJh4IJFA==", "dev": true, "requires": { "@eslint-community/regexpp": "^4.4.0", - "@typescript-eslint/scope-manager": "5.59.6", - "@typescript-eslint/type-utils": "5.59.6", - "@typescript-eslint/utils": "5.59.6", + "@typescript-eslint/scope-manager": "5.59.7", + "@typescript-eslint/type-utils": "5.59.7", + "@typescript-eslint/utils": "5.59.7", "debug": "^4.3.4", "grapheme-splitter": "^1.0.4", "ignore": "^5.2.0", @@ -8051,58 +8231,58 @@ } }, "@typescript-eslint/experimental-utils": { - "version": "5.59.6", - "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.59.6.tgz", - "integrity": "sha512-UIVfEaaHggOuhgqdpFlFQ7IN9UFMCiBR/N7uPBUyUlwNdJzYfAu9m4wbOj0b59oI/HSPW1N63Q7lsvfwTQY13w==", + "version": "5.59.7", + "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.59.7.tgz", + "integrity": "sha512-jqM0Cjfvta/sBlY1MxdXYv853/dJUC2wmUWnKoG2srwp0njNGQ6Zu/XLWoRFiLvocQbzBbpHkPFwKgC2UqyovA==", "requires": { - "@typescript-eslint/utils": "5.59.6" + "@typescript-eslint/utils": "5.59.7" } }, "@typescript-eslint/parser": { - "version": "5.59.6", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.59.6.tgz", - "integrity": "sha512-7pCa6al03Pv1yf/dUg/s1pXz/yGMUBAw5EeWqNTFiSueKvRNonze3hma3lhdsOrQcaOXhbk5gKu2Fludiho9VA==", + "version": "5.59.7", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.59.7.tgz", + "integrity": "sha512-VhpsIEuq/8i5SF+mPg9jSdIwgMBBp0z9XqjiEay+81PYLJuroN+ET1hM5IhkiYMJd9MkTz8iJLt7aaGAgzWUbQ==", "dev": true, "requires": { - "@typescript-eslint/scope-manager": "5.59.6", - "@typescript-eslint/types": "5.59.6", - "@typescript-eslint/typescript-estree": "5.59.6", + "@typescript-eslint/scope-manager": "5.59.7", + "@typescript-eslint/types": "5.59.7", + "@typescript-eslint/typescript-estree": "5.59.7", "debug": "^4.3.4" } }, "@typescript-eslint/scope-manager": { - "version": "5.59.6", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.59.6.tgz", - "integrity": "sha512-gLbY3Le9Dxcb8KdpF0+SJr6EQ+hFGYFl6tVY8VxLPFDfUZC7BHFw+Vq7bM5lE9DwWPfx4vMWWTLGXgpc0mAYyQ==", + "version": "5.59.7", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.59.7.tgz", + "integrity": "sha512-FL6hkYWK9zBGdxT2wWEd2W8ocXMu3K94i3gvMrjXpx+koFYdYV7KprKfirpgY34vTGzEPPuKoERpP8kD5h7vZQ==", "requires": { - "@typescript-eslint/types": "5.59.6", - "@typescript-eslint/visitor-keys": "5.59.6" + "@typescript-eslint/types": "5.59.7", + "@typescript-eslint/visitor-keys": "5.59.7" } }, "@typescript-eslint/type-utils": { - "version": "5.59.6", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.59.6.tgz", - "integrity": "sha512-A4tms2Mp5yNvLDlySF+kAThV9VTBPCvGf0Rp8nl/eoDX9Okun8byTKoj3fJ52IJitjWOk0fKPNQhXEB++eNozQ==", + "version": "5.59.7", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.59.7.tgz", + "integrity": "sha512-ozuz/GILuYG7osdY5O5yg0QxXUAEoI4Go3Do5xeu+ERH9PorHBPSdvD3Tjp2NN2bNLh1NJQSsQu2TPu/Ly+HaQ==", "dev": true, "requires": { - "@typescript-eslint/typescript-estree": "5.59.6", - "@typescript-eslint/utils": "5.59.6", + "@typescript-eslint/typescript-estree": "5.59.7", + "@typescript-eslint/utils": "5.59.7", "debug": "^4.3.4", "tsutils": "^3.21.0" } }, "@typescript-eslint/types": { - "version": "5.59.6", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.59.6.tgz", - "integrity": "sha512-tH5lBXZI7T2MOUgOWFdVNUILsI02shyQvfzG9EJkoONWugCG77NDDa1EeDGw7oJ5IvsTAAGVV8I3Tk2PNu9QfA==" + "version": "5.59.7", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.59.7.tgz", + "integrity": "sha512-UnVS2MRRg6p7xOSATscWkKjlf/NDKuqo5TdbWck6rIRZbmKpVNTLALzNvcjIfHBE7736kZOFc/4Z3VcZwuOM/A==" }, "@typescript-eslint/typescript-estree": { - "version": "5.59.6", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.6.tgz", - "integrity": "sha512-vW6JP3lMAs/Tq4KjdI/RiHaaJSO7IUsbkz17it/Rl9Q+WkQ77EOuOnlbaU8kKfVIOJxMhnRiBG+olE7f3M16DA==", + "version": "5.59.7", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.7.tgz", + "integrity": "sha512-4A1NtZ1I3wMN2UGDkU9HMBL+TIQfbrh4uS0WDMMpf3xMRursDbqEf1ahh6vAAe3mObt8k3ZATnezwG4pdtWuUQ==", "requires": { - "@typescript-eslint/types": "5.59.6", - "@typescript-eslint/visitor-keys": "5.59.6", + "@typescript-eslint/types": "5.59.7", + "@typescript-eslint/visitor-keys": "5.59.7", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -8111,26 +8291,26 @@ } }, "@typescript-eslint/utils": { - "version": "5.59.6", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.59.6.tgz", - "integrity": "sha512-vzaaD6EXbTS29cVH0JjXBdzMt6VBlv+hE31XktDRMX1j3462wZCJa7VzO2AxXEXcIl8GQqZPcOPuW/Z1tZVogg==", + "version": "5.59.7", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.59.7.tgz", + "integrity": "sha512-yCX9WpdQKaLufz5luG4aJbOpdXf/fjwGMcLFXZVPUz3QqLirG5QcwwnIHNf8cjLjxK4qtzTO8udUtMQSAToQnQ==", "requires": { "@eslint-community/eslint-utils": "^4.2.0", "@types/json-schema": "^7.0.9", "@types/semver": "^7.3.12", - "@typescript-eslint/scope-manager": "5.59.6", - "@typescript-eslint/types": "5.59.6", - "@typescript-eslint/typescript-estree": "5.59.6", + "@typescript-eslint/scope-manager": "5.59.7", + "@typescript-eslint/types": "5.59.7", + "@typescript-eslint/typescript-estree": "5.59.7", "eslint-scope": "^5.1.1", "semver": "^7.3.7" } }, "@typescript-eslint/visitor-keys": { - "version": "5.59.6", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.6.tgz", - "integrity": "sha512-zEfbFLzB9ETcEJ4HZEEsCR9HHeNku5/Qw1jSS5McYJv5BR+ftYXwFFAH5Al+xkGaZEqowMwl7uoJjQb1YSPF8Q==", + "version": "5.59.7", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.7.tgz", + "integrity": "sha512-tyN+X2jvMslUszIiYbF0ZleP+RqQsFVpGrKI6e0Eet1w8WmhsAtmzaqm8oM8WJQ1ysLwhnsK/4hYHJjOgJVfQQ==", "requires": { - "@typescript-eslint/types": "5.59.6", + "@typescript-eslint/types": "5.59.7", "eslint-visitor-keys": "^3.3.0" } }, @@ -8811,14 +8991,14 @@ } }, "css-loader": { - "version": "6.7.3", - "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-6.7.3.tgz", - "integrity": "sha512-qhOH1KlBMnZP8FzRO6YCH9UHXQhVMcEGLyNdb7Hv2cpcmJbW0YrddO+tG1ab5nT41KpHIYGsbeHqxB9xPu1pKQ==", + "version": "6.7.4", + "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-6.7.4.tgz", + "integrity": "sha512-0Y5uHtK5BswfaGJ+jrO+4pPg1msFBc0pwPIE1VqfpmVn6YbDfYfXMj8rfd7nt+4goAhJueO+H/I40VWJfcP1mQ==", "requires": { "icss-utils": "^5.1.0", - "postcss": "^8.4.19", + "postcss": "^8.4.21", "postcss-modules-extract-imports": "^3.0.0", - "postcss-modules-local-by-default": "^4.0.0", + "postcss-modules-local-by-default": "^4.0.1", "postcss-modules-scope": "^3.0.0", "postcss-modules-values": "^4.0.0", "postcss-value-parser": "^4.2.0", @@ -9023,6 +9203,11 @@ "tslib": "^2.0.3" } }, + "eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==" + }, "editorconfig": { "version": "0.15.3", "resolved": "https://registry.npmjs.org/editorconfig/-/editorconfig-0.15.3.tgz", @@ -9193,14 +9378,14 @@ "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==" }, "eslint": { - "version": "8.40.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.40.0.tgz", - "integrity": "sha512-bvR+TsP9EHL3TqNtj9sCNJVAFK3fBN8Q7g5waghxyRsPLIMwL73XSKnZFK0hk/O2ANC+iAoq6PWMQ+IfBAJIiQ==", + "version": "8.41.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.41.0.tgz", + "integrity": "sha512-WQDQpzGBOP5IrXPo4Hc0814r4/v2rrIsB0rhT7jtunIalgg6gYXWhRMOejVO8yH21T/FGaxjmFjBMNqcIlmH1Q==", "requires": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.4.0", "@eslint/eslintrc": "^2.0.3", - "@eslint/js": "8.40.0", + "@eslint/js": "8.41.0", "@humanwhocodes/config-array": "^0.11.8", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", @@ -9220,13 +9405,12 @@ "find-up": "^5.0.0", "glob-parent": "^6.0.2", "globals": "^13.19.0", - "grapheme-splitter": "^1.0.4", + "graphemer": "^1.4.0", "ignore": "^5.2.0", "import-fresh": "^3.0.0", "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", "is-path-inside": "^3.0.3", - "js-sdsl": "^4.1.4", "js-yaml": "^4.1.0", "json-stable-stringify-without-jsonify": "^1.0.1", "levn": "^0.4.1", @@ -9319,7 +9503,7 @@ "version": "file:packages/eslint-plugin-stylable", "requires": { "@stylable/core": "^5.11.0", - "@typescript-eslint/experimental-utils": "^5.59.6" + "@typescript-eslint/experimental-utils": "^5.59.7" } }, "eslint-scope": { @@ -9658,7 +9842,13 @@ "grapheme-splitter": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz", - "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==" + "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==", + "dev": true + }, + "graphemer": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", + "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==" }, "has": { "version": "1.0.3", @@ -10040,24 +10230,12 @@ } }, "jackspeak": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.0.3.tgz", - "integrity": "sha512-0Jud3OMUdMbrlr3PyUMKESq51LXVAB+a239Ywdvd+Kgxj3MaBRml/nVRxf8tQFyfthMjuRkxkv7Vg58pmIMfuQ==", + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.2.1.tgz", + "integrity": "sha512-MXbxovZ/Pm42f6cDIDkl3xpwv1AGwObKwfmjs2nQePiy85tP3fatofl3FC1aBsOtP/6fq5SbtgHwWcMsLP+bDw==", "requires": { - "@pkgjs/parseargs": "^0.11.0", - "cliui": "^7.0.4" - }, - "dependencies": { - "cliui": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", - "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", - "requires": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^7.0.0" - } - } + "@isaacs/cliui": "^8.0.2", + "@pkgjs/parseargs": "^0.11.0" } }, "jest-docblock": { @@ -10129,11 +10307,6 @@ } } }, - "js-sdsl": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/js-sdsl/-/js-sdsl-4.2.0.tgz", - "integrity": "sha512-dyBIzQBDkCqCu+0upx25Y2jGdbTGxE9fshMsCdK0ViOongpV+n5tXRcZY9v7CaVQ79AGS9KA1KHtojxiM7aXSQ==" - }, "js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", @@ -10366,9 +10539,9 @@ } }, "mini-css-extract-plugin": { - "version": "2.7.5", - "resolved": "https://registry.npmjs.org/mini-css-extract-plugin/-/mini-css-extract-plugin-2.7.5.tgz", - "integrity": "sha512-9HaR++0mlgom81s95vvNjxkg52n2b5s//3ZTI1EtzFb98awsLSivs2LMsVqnQ3ay0PVhqWcGNyDaTE961FOcjQ==", + "version": "2.7.6", + "resolved": "https://registry.npmjs.org/mini-css-extract-plugin/-/mini-css-extract-plugin-2.7.6.tgz", + "integrity": "sha512-Qk7HcgaPkGG6eD77mLvZS1nmxlao3j+9PkrT9Uc7HAE1id3F41+DdBRYRYkbyfNRGzm8/YWtzhw7nVPmwhqTQw==", "dev": true, "requires": { "schema-utils": "^4.0.0" @@ -10430,9 +10603,9 @@ "dev": true }, "minipass": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", - "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==" + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-6.0.2.tgz", + "integrity": "sha512-MzWSV5nYVT7mVyWCwn2o7JH13w2TBRmmSqSRCKzTw+lmft9X4z+3wjvs06Tzijo5z4W/kahUCDpRXTF+ZrmF/w==" }, "mocha": { "version": "10.2.0", @@ -10934,18 +11107,18 @@ "dev": true }, "path-scurry": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.7.0.tgz", - "integrity": "sha512-UkZUeDjczjYRE495+9thsgcVgsaCPkaw80slmfVFgllxY+IO8ubTsOpFVjDPROBqJdHfVPUFRHPBV/WciOVfWg==", + "version": "1.9.2", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.9.2.tgz", + "integrity": "sha512-qSDLy2aGFPm8i4rsbHd4MNyTcrzHFsLQykrtbuGRknZZCBBVXSv2tSCDN2Cg6Rt/GFRw8GoW9y9Ecw5rIPG1sg==", "requires": { - "lru-cache": "^9.0.0", - "minipass": "^5.0.0" + "lru-cache": "^9.1.1", + "minipass": "^5.0.0 || ^6.0.2" }, "dependencies": { "lru-cache": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-9.1.0.tgz", - "integrity": "sha512-qFXQEwchrZcMVen2uIDceR8Tii6kCJak5rzDStfEM0qA3YLMswaxIEZO0DhIbJ3aqaJiDjt+3crlplOb0tDtKQ==" + "version": "9.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-9.1.1.tgz", + "integrity": "sha512-65/Jky17UwSb0BuB9V+MyDpsOtXKmYwzhyl+cOa9XUiI4uV2Ouy/2voFP3+al0BjZbJgMBD8FojMpAf+Z+qn4A==" } } }, @@ -10982,18 +11155,18 @@ "dev": true }, "playwright-chromium": { - "version": "1.33.0", - "resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.33.0.tgz", - "integrity": "sha512-aG2IqRp7Q6vRltZFT+N2stWwDUH2fEUTOTv8RxSKMK5QmIQQoNL9nJvNMIJ3yLuin8+coaa3mhJXjjUheo0+/A==", + "version": "1.34.2", + "resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.34.2.tgz", + "integrity": "sha512-JlmA8kzW3ZVnnZm3NLKwrU0qilW2vAgsMveUsmxvcoUJzsWhMmgzYVDBKTEhiEdnlLOCIsmct5dMh+UvjCeI1w==", "dev": true, "requires": { - "playwright-core": "1.33.0" + "playwright-core": "1.34.2" } }, "playwright-core": { - "version": "1.33.0", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.33.0.tgz", - "integrity": "sha512-aizyPE1Cj62vAECdph1iaMILpT0WUDCq3E6rW6I+dleSbBoGbktvJtzS6VHkZ4DKNEOG9qJpiom/ZxO+S15LAw==" + "version": "1.34.2", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.34.2.tgz", + "integrity": "sha512-MrkgGWLANc5qthXduvIY1a/tuafROyTORVd86fwKwgoYrmnBooN/GgeZSBm7ljTLV2FCWNSXV3se7qeScKn83g==" }, "postcss": { "version": "8.4.23", @@ -11027,9 +11200,9 @@ "requires": {} }, "postcss-modules-local-by-default": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-4.0.0.tgz", - "integrity": "sha512-sT7ihtmGSF9yhm6ggikHdV0hlziDTX7oFoXtuVWeDd3hHObNkcHRo9V3yg7vCAY7cONyxJC/XXCmmiHHcvX7bQ==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-4.0.3.tgz", + "integrity": "sha512-2/u2zraspoACtrbFRnTijMiQtb4GW4BvatjaG/bCjYQo8kLTdevCUlwuBHx2sCnSyrI3x3qj4ZK1j5LQBgzmwA==", "requires": { "icss-utils": "^5.0.0", "postcss-selector-parser": "^6.0.2", @@ -11264,11 +11437,11 @@ "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==" }, "rimraf": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.0.tgz", - "integrity": "sha512-Jf9llaP+RvaEVS5nPShYFhtXIrb3LRKP281ib3So0KkeZKo2wIKyq0Re7TOSwanasA423PSr6CCIL4bP6T040g==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.1.tgz", + "integrity": "sha512-OfFZdwtd3lZ+XZzYP/6gTACubwFcHdLRqS9UX3UwpU2dnGQYkPFISRwvM3w9IiB2w7bW5qGo/uAwE4SmXXSKvg==", "requires": { - "glob": "^10.0.0" + "glob": "^10.2.5" }, "dependencies": { "brace-expansion": { @@ -11289,37 +11462,36 @@ } }, "glob": { - "version": "10.2.1", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.2.1.tgz", - "integrity": "sha512-ngom3wq2UhjdbmRE/krgkD8BQyi1KZ5l+D2dVm4+Yj+jJIBp74/ZGunL6gNGc/CYuQmvUBiavWEXIotRiv5R6A==", + "version": "10.2.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.2.6.tgz", + "integrity": "sha512-U/rnDpXJGF414QQQZv5uVsabTVxMSwzS5CH0p3DRCIV6ownl4f7PzGnkGmvlum2wB+9RlJWJZ6ACU1INnBqiPA==", "requires": { "foreground-child": "^3.1.0", - "fs.realpath": "^1.0.0", "jackspeak": "^2.0.3", - "minimatch": "^9.0.0", - "minipass": "^5.0.0", + "minimatch": "^9.0.1", + "minipass": "^5.0.0 || ^6.0.2", "path-scurry": "^1.7.0" } }, "minimatch": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.0.tgz", - "integrity": "sha512-0jJj8AvgKqWN05mrwuqi8QYKx1WmYSUoKSxu5Qhs9prezTz10sxAHGNZe9J9cqIJzta8DWsleh2KaVaLl6Ru2w==", + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.1.tgz", + "integrity": "sha512-0jWhJpD/MdhPXwPuiRkCbfYfSKp2qnn2eOc279qI7f+osl/l+prKSrvhg157zSYvx/1nmgn2NqdT6k2Z7zSH9w==", "requires": { "brace-expansion": "^2.0.1" } }, "signal-exit": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.0.1.tgz", - "integrity": "sha512-uUWsN4aOxJAS8KOuf3QMyFtgm1pkb6I+KRZbRF/ghdf5T7sM+B1lLLzPDxswUjkmHyxQAVzEgG35E3NzDM9GVw==" + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.0.2.tgz", + "integrity": "sha512-MY2/qGx4enyjprQnFaZsHib3Yadh3IXyV2C321GY0pjGfVBu4un0uDJkwgdxqO+Rdx8JMT8IfJIRwbYVz3Ob3Q==" } } }, "rollup": { - "version": "3.22.0", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.22.0.tgz", - "integrity": "sha512-imsigcWor5Y/dC0rz2q0bBt9PabcL3TORry2hAa6O6BuMvY71bqHyfReAz5qyAqiQATD1m70qdntqBfBQjVWpQ==", + "version": "3.23.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.23.0.tgz", + "integrity": "sha512-h31UlwEi7FHihLe1zbk+3Q7z1k/84rb9BSwmBSr/XjOCEaBJ2YyedQDuM0t/kfOS0IxM+vk1/zI9XxYj9V+NJQ==", "requires": { "fsevents": "~2.3.2" } @@ -11527,6 +11699,16 @@ "strip-ansi": "^6.0.1" } }, + "string-width-cjs": { + "version": "npm:string-width@4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } + }, "string.prototype.matchall": { "version": "4.0.8", "resolved": "https://registry.npmjs.org/string.prototype.matchall/-/string.prototype.matchall-4.0.8.tgz", @@ -11584,6 +11766,14 @@ "ansi-regex": "^5.0.1" } }, + "strip-ansi-cjs": { + "version": "npm:strip-ansi@6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "requires": { + "ansi-regex": "^5.0.1" + } + }, "strip-bom": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", @@ -11596,9 +11786,9 @@ "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==" }, "style-loader": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-3.3.2.tgz", - "integrity": "sha512-RHs/vcrKdQK8wZliteNK4NKzxvLBzpuHMqYmUVWeKa6MkaIQ97ZTOS0b+zapZhy6GcrgWnvWYCMHRirC3FsUmw==", + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-3.3.3.tgz", + "integrity": "sha512-53BiGLXAcll9maCYtZi2RCQZKa8NQQai5C4horqKyRmHj9H7QmcUyucrH+4KW/gBQbXM2AsB0axoEcFZPlfPcw==", "dev": true, "requires": {} }, @@ -11920,9 +12110,9 @@ } }, "webpack": { - "version": "5.82.1", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.82.1.tgz", - "integrity": "sha512-C6uiGQJ+Gt4RyHXXYt+v9f+SN1v83x68URwgxNQ98cvH8kxiuywWGP4XeNZ1paOzZ63aY3cTciCEQJNFUljlLw==", + "version": "5.83.1", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.83.1.tgz", + "integrity": "sha512-TNsG9jDScbNuB+Lb/3+vYolPplCS3bbEaJf+Bj0Gw4DhP3ioAflBb1flcRt9zsWITyvOhM96wMQNRWlSX52DgA==", "requires": { "@types/eslint-scope": "^3.7.3", "@types/estree": "^1.0.0", @@ -11997,6 +12187,16 @@ "strip-ansi": "^6.0.0" } }, + "wrap-ansi-cjs": { + "version": "npm:wrap-ansi@7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + } + }, "wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", diff --git a/package.json b/package.json index 51d311641..b7e918327 100644 --- a/package.json +++ b/package.json @@ -46,39 +46,39 @@ "@types/semver": "^7.5.0", "@types/validate-npm-package-name": "^4.0.0", "@types/yargs": "^17.0.24", - "@typescript-eslint/eslint-plugin": "^5.59.6", - "@typescript-eslint/parser": "^5.59.6", + "@typescript-eslint/eslint-plugin": "^5.59.7", + "@typescript-eslint/parser": "^5.59.7", "autoprefixer": "^10.4.14", "c8": "^7.13.0", "chai": "^4.3.7", "chai-subset": "^1.6.0", "create-listening-server": "^2.1.0", - "eslint": "^8.40.0", + "eslint": "^8.41.0", "eslint-config-prettier": "^8.8.0", "eslint-plugin-react": "^7.32.2", "eslint-plugin-react-hooks": "^4.6.0", "file-loader": "^6.2.0", "html-webpack-plugin": "^5.5.1", - "mini-css-extract-plugin": "^2.7.5", + "mini-css-extract-plugin": "^2.7.6", "mocha": "^10.2.0", "node-eval": "^2.0.0", "npm-run-all": "^4.1.5", - "playwright-chromium": "^1.33.0", + "playwright-chromium": "^1.34.2", "postcss": "^8.4.23", "promise-assist": "^2.0.1", "raw-loader": "^4.0.2", "react": "^18.2.0", "react-dom": "^18.2.0", - "rimraf": "^5.0.0", - "rollup": "^3.22.0", + "rimraf": "^5.0.1", + "rollup": "^3.23.0", "source-map": "^0.7.4", "source-map-loader": "^4.0.1", - "style-loader": "^3.3.2", + "style-loader": "^3.3.3", "ts-expect": "^1.3.0", "tsconfig-paths-webpack-plugin": "^4.0.1", "typescript": "~5.0.4", "url-loader": "^4.1.1", - "webpack": "^5.82.1", + "webpack": "^5.83.1", "yargs": "^17.7.2" }, "engines": { diff --git a/packages/e2e-test-kit/package.json b/packages/e2e-test-kit/package.json index e96ffc6a3..34b5798c2 100644 --- a/packages/e2e-test-kit/package.json +++ b/packages/e2e-test-kit/package.json @@ -9,8 +9,8 @@ "dependencies": { "@stylable/runtime": "^5.11.0", "node-eval": "^2.0.0", - "playwright-core": "^1.33.0", - "rimraf": "^5.0.0" + "playwright-core": "^1.34.2", + "rimraf": "^5.0.1" }, "files": [ "dist", diff --git a/packages/eslint-plugin-stylable/package.json b/packages/eslint-plugin-stylable/package.json index f158b7b37..221f4d7fd 100644 --- a/packages/eslint-plugin-stylable/package.json +++ b/packages/eslint-plugin-stylable/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "@stylable/core": "^5.11.0", - "@typescript-eslint/experimental-utils": "^5.59.6" + "@typescript-eslint/experimental-utils": "^5.59.7" }, "keywords": [ "eslint", diff --git a/packages/experimental-loader/package.json b/packages/experimental-loader/package.json index faba5e53d..ffbb88403 100644 --- a/packages/experimental-loader/package.json +++ b/packages/experimental-loader/package.json @@ -8,7 +8,7 @@ "dependencies": { "@stylable/core": "^5.11.0", "@stylable/runtime": "^5.11.0", - "css-loader": "^6.7.3", + "css-loader": "^6.7.4", "decache": "^4.6.1", "loader-utils": "^3.2.1" }, From 830dadb7e3488f82a2ce4a7a9dd210a000295ae2 Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Wed, 31 May 2023 09:41:37 +0300 Subject: [PATCH 05/81] chore(deps): upgrade to latest stable --- package-lock.json | 416 +++++++++---------- package.json | 18 +- packages/code-formatter/package.json | 2 +- packages/core-test-kit/package.json | 2 +- packages/core/package.json | 4 +- packages/e2e-test-kit/package.json | 2 +- packages/eslint-plugin-stylable/package.json | 2 +- packages/experimental-loader/package.json | 2 +- packages/language-service/package.json | 4 +- packages/optimizer/package.json | 2 +- packages/webpack-plugin/package.json | 2 +- packages/webpack-plugin/src/re-ext-plugin.ts | 2 +- 12 files changed, 229 insertions(+), 229 deletions(-) diff --git a/package-lock.json b/package-lock.json index e7700aaba..2d5f226b7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "@file-services/memory": "^7.3.0", "@file-services/node": "^7.3.0", "@rollup/plugin-html": "^1.0.2", - "@rollup/plugin-node-resolve": "^15.0.2", + "@rollup/plugin-node-resolve": "^15.1.0", "@types/balanced-match": "^1.0.2", "@types/chai": "^4.3.5", "@types/chai-subset": "^1.3.3", @@ -23,7 +23,7 @@ "@types/find-config": "^1.0.1", "@types/flat": "^5.0.2", "@types/js-beautify": "^1.13.3", - "@types/json-schema": "^7.0.11", + "@types/json-schema": "^7.0.12", "@types/lodash.camelcase": "^4.3.7", "@types/lodash.clonedeep": "^4.5.7", "@types/lodash.clonedeepwith": "^4.5.7", @@ -34,15 +34,15 @@ "@types/mocha": "^10.0.1", "@types/node": "14", "@types/postcss-safe-parser": "^5.0.1", - "@types/react": "^18.2.6", + "@types/react": "^18.2.7", "@types/react-dom": "^18.2.4", "@types/semver": "^7.5.0", "@types/validate-npm-package-name": "^4.0.0", "@types/yargs": "^17.0.24", - "@typescript-eslint/eslint-plugin": "^5.59.7", - "@typescript-eslint/parser": "^5.59.7", + "@typescript-eslint/eslint-plugin": "^5.59.8", + "@typescript-eslint/parser": "^5.59.8", "autoprefixer": "^10.4.14", - "c8": "^7.13.0", + "c8": "^7.14.0", "chai": "^4.3.7", "chai-subset": "^1.6.0", "create-listening-server": "^2.1.0", @@ -56,8 +56,8 @@ "mocha": "^10.2.0", "node-eval": "^2.0.0", "npm-run-all": "^4.1.5", - "playwright-chromium": "^1.34.2", - "postcss": "^8.4.23", + "playwright-chromium": "^1.34.3", + "postcss": "^8.4.24", "promise-assist": "^2.0.1", "raw-loader": "^4.0.2", "react": "^18.2.0", @@ -71,7 +71,7 @@ "tsconfig-paths-webpack-plugin": "^4.0.1", "typescript": "~5.0.4", "url-loader": "^4.1.1", - "webpack": "^5.83.1", + "webpack": "^5.84.1", "yargs": "^17.7.2" }, "engines": { @@ -781,9 +781,9 @@ } }, "node_modules/@rollup/plugin-node-resolve": { - "version": "15.0.2", - "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-15.0.2.tgz", - "integrity": "sha512-Y35fRGUjC3FaurG722uhUuG8YHOJRJQbI6/CkbRkdPotSpDj9NtIN85z1zrcyDcCQIW4qp5mgG72U+gJ0TAFEg==", + "version": "15.1.0", + "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-15.1.0.tgz", + "integrity": "sha512-xeZHCgsiZ9pzYVgAo9580eCGqwh/XCEUM9q6iQfGNocjgkufHAqC3exA+45URvhiYV8sBF9RlBai650eNs7AsA==", "dev": true, "dependencies": { "@rollup/pluginutils": "^5.0.1", @@ -1042,9 +1042,9 @@ "dev": true }, "node_modules/@types/json-schema": { - "version": "7.0.11", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.11.tgz", - "integrity": "sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==" + "version": "7.0.12", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.12.tgz", + "integrity": "sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA==" }, "node_modules/@types/lodash": { "version": "4.14.191", @@ -1139,9 +1139,9 @@ "dev": true }, "node_modules/@types/react": { - "version": "18.2.6", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.6.tgz", - "integrity": "sha512-wRZClXn//zxCFW+ye/D2qY65UsYP1Fpex2YXorHc8awoNamkMZSvBxwxdYVInsHOZZd2Ppq8isnSzJL5Mpf8OA==", + "version": "18.2.7", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.7.tgz", + "integrity": "sha512-ojrXpSH2XFCmHm7Jy3q44nXDyN54+EYKP2lBhJ2bqfyPj6cIUW/FZW/Csdia34NQgq7KYcAlHi5184m4X88+yw==", "dev": true, "dependencies": { "@types/prop-types": "*", @@ -1197,15 +1197,15 @@ "dev": true }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "5.59.7", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.59.7.tgz", - "integrity": "sha512-BL+jYxUFIbuYwy+4fF86k5vdT9lT0CNJ6HtwrIvGh0PhH8s0yy5rjaKH2fDCrz5ITHy07WCzVGNvAmjJh4IJFA==", + "version": "5.59.8", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.59.8.tgz", + "integrity": "sha512-JDMOmhXteJ4WVKOiHXGCoB96ADWg9q7efPWHRViT/f09bA8XOMLAVHHju3l0MkZnG1izaWXYmgvQcUjTRcpShQ==", "dev": true, "dependencies": { "@eslint-community/regexpp": "^4.4.0", - "@typescript-eslint/scope-manager": "5.59.7", - "@typescript-eslint/type-utils": "5.59.7", - "@typescript-eslint/utils": "5.59.7", + "@typescript-eslint/scope-manager": "5.59.8", + "@typescript-eslint/type-utils": "5.59.8", + "@typescript-eslint/utils": "5.59.8", "debug": "^4.3.4", "grapheme-splitter": "^1.0.4", "ignore": "^5.2.0", @@ -1231,11 +1231,11 @@ } }, "node_modules/@typescript-eslint/experimental-utils": { - "version": "5.59.7", - "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.59.7.tgz", - "integrity": "sha512-jqM0Cjfvta/sBlY1MxdXYv853/dJUC2wmUWnKoG2srwp0njNGQ6Zu/XLWoRFiLvocQbzBbpHkPFwKgC2UqyovA==", + "version": "5.59.8", + "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.59.8.tgz", + "integrity": "sha512-jAf+hihtd0G2RLB9x796+3i8D0L5T5xjftuPpJ82RLsPNHdzGXmbZNNftQ558h90ogc45DD8/W3OrxmdSO5Nng==", "dependencies": { - "@typescript-eslint/utils": "5.59.7" + "@typescript-eslint/utils": "5.59.8" }, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -1249,14 +1249,14 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "5.59.7", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.59.7.tgz", - "integrity": "sha512-VhpsIEuq/8i5SF+mPg9jSdIwgMBBp0z9XqjiEay+81PYLJuroN+ET1hM5IhkiYMJd9MkTz8iJLt7aaGAgzWUbQ==", + "version": "5.59.8", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.59.8.tgz", + "integrity": "sha512-AnR19RjJcpjoeGojmwZtCwBX/RidqDZtzcbG3xHrmz0aHHoOcbWnpDllenRDmDvsV0RQ6+tbb09/kyc+UT9Orw==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "5.59.7", - "@typescript-eslint/types": "5.59.7", - "@typescript-eslint/typescript-estree": "5.59.7", + "@typescript-eslint/scope-manager": "5.59.8", + "@typescript-eslint/types": "5.59.8", + "@typescript-eslint/typescript-estree": "5.59.8", "debug": "^4.3.4" }, "engines": { @@ -1276,12 +1276,12 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "5.59.7", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.59.7.tgz", - "integrity": "sha512-FL6hkYWK9zBGdxT2wWEd2W8ocXMu3K94i3gvMrjXpx+koFYdYV7KprKfirpgY34vTGzEPPuKoERpP8kD5h7vZQ==", + "version": "5.59.8", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.59.8.tgz", + "integrity": "sha512-/w08ndCYI8gxGf+9zKf1vtx/16y8MHrZs5/tnjHhMLNSixuNcJavSX4wAiPf4aS5x41Es9YPCn44MIe4cxIlig==", "dependencies": { - "@typescript-eslint/types": "5.59.7", - "@typescript-eslint/visitor-keys": "5.59.7" + "@typescript-eslint/types": "5.59.8", + "@typescript-eslint/visitor-keys": "5.59.8" }, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -1292,13 +1292,13 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "5.59.7", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.59.7.tgz", - "integrity": "sha512-ozuz/GILuYG7osdY5O5yg0QxXUAEoI4Go3Do5xeu+ERH9PorHBPSdvD3Tjp2NN2bNLh1NJQSsQu2TPu/Ly+HaQ==", + "version": "5.59.8", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.59.8.tgz", + "integrity": "sha512-+5M518uEIHFBy3FnyqZUF3BMP+AXnYn4oyH8RF012+e7/msMY98FhGL5SrN29NQ9xDgvqCgYnsOiKp1VjZ/fpA==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "5.59.7", - "@typescript-eslint/utils": "5.59.7", + "@typescript-eslint/typescript-estree": "5.59.8", + "@typescript-eslint/utils": "5.59.8", "debug": "^4.3.4", "tsutils": "^3.21.0" }, @@ -1319,9 +1319,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "5.59.7", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.59.7.tgz", - "integrity": "sha512-UnVS2MRRg6p7xOSATscWkKjlf/NDKuqo5TdbWck6rIRZbmKpVNTLALzNvcjIfHBE7736kZOFc/4Z3VcZwuOM/A==", + "version": "5.59.8", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.59.8.tgz", + "integrity": "sha512-+uWuOhBTj/L6awoWIg0BlWy0u9TyFpCHrAuQ5bNfxDaZ1Ppb3mx6tUigc74LHcbHpOHuOTOJrBoAnhdHdaea1w==", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, @@ -1331,12 +1331,12 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "5.59.7", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.7.tgz", - "integrity": "sha512-4A1NtZ1I3wMN2UGDkU9HMBL+TIQfbrh4uS0WDMMpf3xMRursDbqEf1ahh6vAAe3mObt8k3ZATnezwG4pdtWuUQ==", + "version": "5.59.8", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.8.tgz", + "integrity": "sha512-Jy/lPSDJGNow14vYu6IrW790p7HIf/SOV1Bb6lZ7NUkLc2iB2Z9elESmsaUtLw8kVqogSbtLH9tut5GCX1RLDg==", "dependencies": { - "@typescript-eslint/types": "5.59.7", - "@typescript-eslint/visitor-keys": "5.59.7", + "@typescript-eslint/types": "5.59.8", + "@typescript-eslint/visitor-keys": "5.59.8", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -1357,16 +1357,16 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "5.59.7", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.59.7.tgz", - "integrity": "sha512-yCX9WpdQKaLufz5luG4aJbOpdXf/fjwGMcLFXZVPUz3QqLirG5QcwwnIHNf8cjLjxK4qtzTO8udUtMQSAToQnQ==", + "version": "5.59.8", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.59.8.tgz", + "integrity": "sha512-Tr65630KysnNn9f9G7ROF3w1b5/7f6QVCJ+WK9nhIocWmx9F+TmCAcglF26Vm7z8KCTwoKcNEBZrhlklla3CKg==", "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@types/json-schema": "^7.0.9", "@types/semver": "^7.3.12", - "@typescript-eslint/scope-manager": "5.59.7", - "@typescript-eslint/types": "5.59.7", - "@typescript-eslint/typescript-estree": "5.59.7", + "@typescript-eslint/scope-manager": "5.59.8", + "@typescript-eslint/types": "5.59.8", + "@typescript-eslint/typescript-estree": "5.59.8", "eslint-scope": "^5.1.1", "semver": "^7.3.7" }, @@ -1382,11 +1382,11 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "5.59.7", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.7.tgz", - "integrity": "sha512-tyN+X2jvMslUszIiYbF0ZleP+RqQsFVpGrKI6e0Eet1w8WmhsAtmzaqm8oM8WJQ1ysLwhnsK/4hYHJjOgJVfQQ==", + "version": "5.59.8", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.8.tgz", + "integrity": "sha512-pJhi2ms0x0xgloT7xYabil3SGGlojNNKjK/q6dB3Ey0uJLMjK2UDGJvHieiyJVW/7C3KI+Z4Q3pEHkm4ejA+xQ==", "dependencies": { - "@typescript-eslint/types": "5.59.7", + "@typescript-eslint/types": "5.59.8", "eslint-visitor-keys": "^3.3.0" }, "engines": { @@ -1398,9 +1398,9 @@ } }, "node_modules/@vscode/l10n": { - "version": "0.0.13", - "resolved": "https://registry.npmjs.org/@vscode/l10n/-/l10n-0.0.13.tgz", - "integrity": "sha512-A3uY356uOU9nGa+TQIT/i3ziWUgJjVMUrGGXSrtRiTwklyCFjGVWIOHoEIHbJpiyhDkJd9kvIWUOfXK1IkK8XQ==" + "version": "0.0.14", + "resolved": "https://registry.npmjs.org/@vscode/l10n/-/l10n-0.0.14.tgz", + "integrity": "sha512-/yrv59IEnmh655z1oeDnGcvMYwnEzNzHLgeYcQCkhYX0xBvYWrAuefoiLcPBUkMpJsb46bqQ6Yv4pwTTQ4d3Qg==" }, "node_modules/@webassemblyjs/ast": { "version": "1.11.5", @@ -1611,9 +1611,9 @@ } }, "node_modules/acorn-import-assertions": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/acorn-import-assertions/-/acorn-import-assertions-1.8.0.tgz", - "integrity": "sha512-m7VZ3jwz4eK6A4Vtt8Ew1/mNbP24u0FhdyfA7fSvnJR6LMdfOYnmuIrrJAgrYfYJ10F/otaHTtrtrtmHdMNzEw==", + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/acorn-import-assertions/-/acorn-import-assertions-1.9.0.tgz", + "integrity": "sha512-cmMwop9x+8KFhxvKrKfPYmN6/pKTYYHBqLa0DfvVZcKMJWNyWLnaqND7dx/qn66R7ewM1UX5XMaDVP5wlVTaVA==", "peerDependencies": { "acorn": "^8" } @@ -1944,9 +1944,9 @@ } }, "node_modules/c8": { - "version": "7.13.0", - "resolved": "https://registry.npmjs.org/c8/-/c8-7.13.0.tgz", - "integrity": "sha512-/NL4hQTv1gBL6J6ei80zu3IiTrmePDKXKXOTLpHvcIWZTVYQlDhVWjjWvkhICylE8EwwnMVzDZugCvdx0/DIIA==", + "version": "7.14.0", + "resolved": "https://registry.npmjs.org/c8/-/c8-7.14.0.tgz", + "integrity": "sha512-i04rtkkcNcCf7zsQcSv/T9EbUn4RXQ6mropeMcjFOsQXQ0iGLAr/xT6TImQg4+U9hmNpN9XdvPkjUL1IzbgxJw==", "dev": true, "dependencies": { "@bcoe/v8-coverage": "^0.2.3", @@ -2277,14 +2277,14 @@ } }, "node_modules/css-loader": { - "version": "6.7.4", - "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-6.7.4.tgz", - "integrity": "sha512-0Y5uHtK5BswfaGJ+jrO+4pPg1msFBc0pwPIE1VqfpmVn6YbDfYfXMj8rfd7nt+4goAhJueO+H/I40VWJfcP1mQ==", + "version": "6.8.1", + "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-6.8.1.tgz", + "integrity": "sha512-xDAXtEVGlD0gJ07iclwWVkLoZOpEvAWaSyf6W18S2pOC//K8+qUDIx8IIT3D+HjnmkJPQeesOPv5aiUaJsCM2g==", "dependencies": { "icss-utils": "^5.1.0", "postcss": "^8.4.21", "postcss-modules-extract-imports": "^3.0.0", - "postcss-modules-local-by-default": "^4.0.1", + "postcss-modules-local-by-default": "^4.0.3", "postcss-modules-scope": "^3.0.0", "postcss-modules-values": "^4.0.0", "postcss-value-parser": "^4.2.0", @@ -2645,9 +2645,9 @@ } }, "node_modules/enhanced-resolve": { - "version": "5.14.0", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.14.0.tgz", - "integrity": "sha512-+DCows0XNwLDcUhbFJPdlQEVnT2zXlCv7hPxemTz86/O+B/hCQ+mb7ydkPKiflpVraqLPCAfu7lDy+hBXueojw==", + "version": "5.14.1", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.14.1.tgz", + "integrity": "sha512-Vklwq2vDKtl0y/vtwjSesgJ5MYS7Etuk5txS8VdKL4AOS1aUlD96zqIfsOSLQsdv3xgMRbtkWM8eG9XDfKUPow==", "dependencies": { "graceful-fs": "^4.2.4", "tapable": "^2.2.0" @@ -5223,13 +5223,13 @@ } }, "node_modules/playwright-chromium": { - "version": "1.34.2", - "resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.34.2.tgz", - "integrity": "sha512-JlmA8kzW3ZVnnZm3NLKwrU0qilW2vAgsMveUsmxvcoUJzsWhMmgzYVDBKTEhiEdnlLOCIsmct5dMh+UvjCeI1w==", + "version": "1.34.3", + "resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.34.3.tgz", + "integrity": "sha512-iAvJ7Ab72vRGMab+j2UEqD4xhHf6CzGGntTHeeApsHD/qVDmQUgSE2iKmVeZsNyXMyqrcx83fGsohfq1va01og==", "dev": true, "hasInstallScript": true, "dependencies": { - "playwright-core": "1.34.2" + "playwright-core": "1.34.3" }, "bin": { "playwright": "cli.js" @@ -5239,20 +5239,20 @@ } }, "node_modules/playwright-core": { - "version": "1.34.2", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.34.2.tgz", - "integrity": "sha512-MrkgGWLANc5qthXduvIY1a/tuafROyTORVd86fwKwgoYrmnBooN/GgeZSBm7ljTLV2FCWNSXV3se7qeScKn83g==", + "version": "1.34.3", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.34.3.tgz", + "integrity": "sha512-2pWd6G7OHKemc5x1r1rp8aQcpvDh7goMBZlJv6Co5vCNLVcQJdhxRL09SGaY6HcyHH9aT4tiynZabMofVasBYw==", "bin": { - "playwright": "cli.js" + "playwright-core": "cli.js" }, "engines": { "node": ">=14" } }, "node_modules/postcss": { - "version": "8.4.23", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.23.tgz", - "integrity": "sha512-bQ3qMcpF6A/YjR55xtoTr0jGOlnPOKAIMdOWiv0EIT6HVPEaJiJB4NLljSbiHoC2RX7DN5Uvjtpbg1NPdwv1oA==", + "version": "8.4.24", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.24.tgz", + "integrity": "sha512-M0RzbcI0sO/XJNucsGjvWU9ERWxb/ytp1w6dKtxTKgixdtQDq4rmx/g8W1hnaheq9jgwL/oyEdH5Bc4WwJKMqg==", "funding": [ { "type": "opencollective", @@ -6567,11 +6567,11 @@ "integrity": "sha512-aodjPa2wPQFkra1G8CzJBTHXhgk3EVSwxSWXNPr1fgdFLUb8kvLV1iEb6rFgasIsjP82HWI6dsb5Io26DDnasA==" }, "node_modules/vscode-css-languageservice": { - "version": "6.2.5", - "resolved": "https://registry.npmjs.org/vscode-css-languageservice/-/vscode-css-languageservice-6.2.5.tgz", - "integrity": "sha512-/1oyBZK3jfx6A0cA46FCUpy6OlqEsMT47LUIldCIP1YMKRYezJ9No+aNj9IM0AqhRZ92DxZ1DmU5lJ+biuiacA==", + "version": "6.2.6", + "resolved": "https://registry.npmjs.org/vscode-css-languageservice/-/vscode-css-languageservice-6.2.6.tgz", + "integrity": "sha512-SA2WkeOecIpUiEbZnjOsP/fI5CRITZEiQGSHXKiDQDwLApfKcnLhZwMtOBbIifSzESVcQa7b/shX/nbnF4NoCg==", "dependencies": { - "@vscode/l10n": "^0.0.13", + "@vscode/l10n": "^0.0.14", "vscode-languageserver-textdocument": "^1.0.8", "vscode-languageserver-types": "^3.17.3", "vscode-uri": "^3.0.7" @@ -6633,9 +6633,9 @@ } }, "node_modules/webpack": { - "version": "5.83.1", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.83.1.tgz", - "integrity": "sha512-TNsG9jDScbNuB+Lb/3+vYolPplCS3bbEaJf+Bj0Gw4DhP3ioAflBb1flcRt9zsWITyvOhM96wMQNRWlSX52DgA==", + "version": "5.84.1", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.84.1.tgz", + "integrity": "sha512-ZP4qaZ7vVn/K8WN/p990SGATmrL1qg4heP/MrVneczYtpDGJWlrgZv55vxaV2ul885Kz+25MP2kSXkPe3LZfmg==", "dependencies": { "@types/eslint-scope": "^3.7.3", "@types/estree": "^1.0.0", @@ -6643,10 +6643,10 @@ "@webassemblyjs/wasm-edit": "^1.11.5", "@webassemblyjs/wasm-parser": "^1.11.5", "acorn": "^8.7.1", - "acorn-import-assertions": "^1.7.6", + "acorn-import-assertions": "^1.9.0", "browserslist": "^4.14.5", "chrome-trace-event": "^1.0.2", - "enhanced-resolve": "^5.14.0", + "enhanced-resolve": "^5.14.1", "es-module-lexer": "^1.2.1", "eslint-scope": "5.1.1", "events": "^3.2.0", @@ -6913,7 +6913,7 @@ "@stylable/core": "^5.11.0", "@tokey/css-value-parser": "^0.1.2", "js-beautify": "^1.14.7", - "postcss": "^8.4.23" + "postcss": "^8.4.24" }, "engines": { "node": ">=14.14.0" @@ -6929,11 +6929,11 @@ "balanced-match": "^2.0.0", "css-selector-tokenizer": "^0.8.0", "cssesc": "^3.0.0", - "enhanced-resolve": "^5.14.0", + "enhanced-resolve": "^5.14.1", "is-vendor-prefixed": "^4.0.0", "lodash.clonedeep": "^4.5.0", "lodash.clonedeepwith": "^4.5.0", - "postcss": "^8.4.23", + "postcss": "^8.4.24", "postcss-js": "^4.0.1", "postcss-nested": "^6.0.1", "postcss-safe-parser": "^6.0.0", @@ -6952,7 +6952,7 @@ "@stylable/core": "^5.11.0", "chai": "^4.3.7", "flat": "^5.0.2", - "postcss": "^8.4.23" + "postcss": "^8.4.24" }, "engines": { "node": ">=14.14.0" @@ -7008,7 +7008,7 @@ "dependencies": { "@stylable/runtime": "^5.11.0", "node-eval": "^2.0.0", - "playwright-core": "^1.34.2", + "playwright-core": "^1.34.3", "rimraf": "^5.0.1" }, "engines": { @@ -7044,7 +7044,7 @@ "license": "MIT", "dependencies": { "@stylable/core": "^5.11.0", - "@typescript-eslint/experimental-utils": "^5.59.7" + "@typescript-eslint/experimental-utils": "^5.59.8" } }, "packages/experimental-loader": { @@ -7054,7 +7054,7 @@ "dependencies": { "@stylable/core": "^5.11.0", "@stylable/runtime": "^5.11.0", - "css-loader": "^6.7.4", + "css-loader": "^6.8.1", "decache": "^4.6.1", "loader-utils": "^3.2.1" } @@ -7094,9 +7094,9 @@ "@tokey/css-selector-parser": "^0.6.1", "@tokey/css-value-parser": "^0.1.2", "css-selector-tokenizer": "^0.8.0", - "postcss": "^8.4.23", + "postcss": "^8.4.24", "postcss-value-parser": "^4.2.0", - "vscode-css-languageservice": "^6.2.5", + "vscode-css-languageservice": "^6.2.6", "vscode-languageserver": "^8.1.0", "vscode-languageserver-textdocument": "^1.0.8", "vscode-uri": "^3.0.7" @@ -7143,7 +7143,7 @@ "@stylable/core": "^5.11.0", "@tokey/css-selector-parser": "^0.6.1", "csso": "^5.0.5", - "postcss": "^8.4.23" + "postcss": "^8.4.24" }, "engines": { "node": ">=14.14.0" @@ -7242,7 +7242,7 @@ "@stylable/runtime": "^5.11.0", "decache": "^4.6.1", "lodash.clonedeep": "^4.5.0", - "postcss": "^8.4.23" + "postcss": "^8.4.24" }, "engines": { "node": ">=14.14.0" @@ -7659,9 +7659,9 @@ "requires": {} }, "@rollup/plugin-node-resolve": { - "version": "15.0.2", - "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-15.0.2.tgz", - "integrity": "sha512-Y35fRGUjC3FaurG722uhUuG8YHOJRJQbI6/CkbRkdPotSpDj9NtIN85z1zrcyDcCQIW4qp5mgG72U+gJ0TAFEg==", + "version": "15.1.0", + "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-15.1.0.tgz", + "integrity": "sha512-xeZHCgsiZ9pzYVgAo9580eCGqwh/XCEUM9q6iQfGNocjgkufHAqC3exA+45URvhiYV8sBF9RlBai650eNs7AsA==", "dev": true, "requires": { "@rollup/pluginutils": "^5.0.1", @@ -7722,7 +7722,7 @@ "@stylable/core": "^5.11.0", "@tokey/css-value-parser": "^0.1.2", "js-beautify": "^1.14.7", - "postcss": "^8.4.23" + "postcss": "^8.4.24" } }, "@stylable/core": { @@ -7733,11 +7733,11 @@ "balanced-match": "^2.0.0", "css-selector-tokenizer": "^0.8.0", "cssesc": "^3.0.0", - "enhanced-resolve": "^5.14.0", + "enhanced-resolve": "^5.14.1", "is-vendor-prefixed": "^4.0.0", "lodash.clonedeep": "^4.5.0", "lodash.clonedeepwith": "^4.5.0", - "postcss": "^8.4.23", + "postcss": "^8.4.24", "postcss-js": "^4.0.1", "postcss-nested": "^6.0.1", "postcss-safe-parser": "^6.0.0", @@ -7758,7 +7758,7 @@ "@stylable/core": "^5.11.0", "chai": "^4.3.7", "flat": "^5.0.2", - "postcss": "^8.4.23" + "postcss": "^8.4.24" } }, "@stylable/custom-value": { @@ -7780,7 +7780,7 @@ "requires": { "@stylable/runtime": "^5.11.0", "node-eval": "^2.0.0", - "playwright-core": "^1.34.2", + "playwright-core": "^1.34.3", "rimraf": "^5.0.1" } }, @@ -7802,7 +7802,7 @@ "requires": { "@stylable/core": "^5.11.0", "@stylable/runtime": "^5.11.0", - "css-loader": "^6.7.4", + "css-loader": "^6.8.1", "decache": "^4.6.1", "loader-utils": "^3.2.1" }, @@ -7834,9 +7834,9 @@ "@tokey/css-selector-parser": "^0.6.1", "@tokey/css-value-parser": "^0.1.2", "css-selector-tokenizer": "^0.8.0", - "postcss": "^8.4.23", + "postcss": "^8.4.24", "postcss-value-parser": "^4.2.0", - "vscode-css-languageservice": "^6.2.5", + "vscode-css-languageservice": "^6.2.6", "vscode-languageserver": "^8.1.0", "vscode-languageserver-textdocument": "^1.0.8", "vscode-uri": "^3.0.7" @@ -7865,7 +7865,7 @@ "@stylable/core": "^5.11.0", "@tokey/css-selector-parser": "^0.6.1", "csso": "^5.0.5", - "postcss": "^8.4.23" + "postcss": "^8.4.24" } }, "@stylable/rollup-plugin": { @@ -7924,7 +7924,7 @@ "@stylable/runtime": "^5.11.0", "decache": "^4.6.1", "lodash.clonedeep": "^4.5.0", - "postcss": "^8.4.23" + "postcss": "^8.4.24" } }, "@tokey/core": { @@ -8058,9 +8058,9 @@ "dev": true }, "@types/json-schema": { - "version": "7.0.11", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.11.tgz", - "integrity": "sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==" + "version": "7.0.12", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.12.tgz", + "integrity": "sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA==" }, "@types/lodash": { "version": "4.14.191", @@ -8155,9 +8155,9 @@ "dev": true }, "@types/react": { - "version": "18.2.6", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.6.tgz", - "integrity": "sha512-wRZClXn//zxCFW+ye/D2qY65UsYP1Fpex2YXorHc8awoNamkMZSvBxwxdYVInsHOZZd2Ppq8isnSzJL5Mpf8OA==", + "version": "18.2.7", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.7.tgz", + "integrity": "sha512-ojrXpSH2XFCmHm7Jy3q44nXDyN54+EYKP2lBhJ2bqfyPj6cIUW/FZW/Csdia34NQgq7KYcAlHi5184m4X88+yw==", "dev": true, "requires": { "@types/prop-types": "*", @@ -8213,15 +8213,15 @@ "dev": true }, "@typescript-eslint/eslint-plugin": { - "version": "5.59.7", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.59.7.tgz", - "integrity": "sha512-BL+jYxUFIbuYwy+4fF86k5vdT9lT0CNJ6HtwrIvGh0PhH8s0yy5rjaKH2fDCrz5ITHy07WCzVGNvAmjJh4IJFA==", + "version": "5.59.8", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.59.8.tgz", + "integrity": "sha512-JDMOmhXteJ4WVKOiHXGCoB96ADWg9q7efPWHRViT/f09bA8XOMLAVHHju3l0MkZnG1izaWXYmgvQcUjTRcpShQ==", "dev": true, "requires": { "@eslint-community/regexpp": "^4.4.0", - "@typescript-eslint/scope-manager": "5.59.7", - "@typescript-eslint/type-utils": "5.59.7", - "@typescript-eslint/utils": "5.59.7", + "@typescript-eslint/scope-manager": "5.59.8", + "@typescript-eslint/type-utils": "5.59.8", + "@typescript-eslint/utils": "5.59.8", "debug": "^4.3.4", "grapheme-splitter": "^1.0.4", "ignore": "^5.2.0", @@ -8231,58 +8231,58 @@ } }, "@typescript-eslint/experimental-utils": { - "version": "5.59.7", - "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.59.7.tgz", - "integrity": "sha512-jqM0Cjfvta/sBlY1MxdXYv853/dJUC2wmUWnKoG2srwp0njNGQ6Zu/XLWoRFiLvocQbzBbpHkPFwKgC2UqyovA==", + "version": "5.59.8", + "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.59.8.tgz", + "integrity": "sha512-jAf+hihtd0G2RLB9x796+3i8D0L5T5xjftuPpJ82RLsPNHdzGXmbZNNftQ558h90ogc45DD8/W3OrxmdSO5Nng==", "requires": { - "@typescript-eslint/utils": "5.59.7" + "@typescript-eslint/utils": "5.59.8" } }, "@typescript-eslint/parser": { - "version": "5.59.7", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.59.7.tgz", - "integrity": "sha512-VhpsIEuq/8i5SF+mPg9jSdIwgMBBp0z9XqjiEay+81PYLJuroN+ET1hM5IhkiYMJd9MkTz8iJLt7aaGAgzWUbQ==", + "version": "5.59.8", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.59.8.tgz", + "integrity": "sha512-AnR19RjJcpjoeGojmwZtCwBX/RidqDZtzcbG3xHrmz0aHHoOcbWnpDllenRDmDvsV0RQ6+tbb09/kyc+UT9Orw==", "dev": true, "requires": { - "@typescript-eslint/scope-manager": "5.59.7", - "@typescript-eslint/types": "5.59.7", - "@typescript-eslint/typescript-estree": "5.59.7", + "@typescript-eslint/scope-manager": "5.59.8", + "@typescript-eslint/types": "5.59.8", + "@typescript-eslint/typescript-estree": "5.59.8", "debug": "^4.3.4" } }, "@typescript-eslint/scope-manager": { - "version": "5.59.7", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.59.7.tgz", - "integrity": "sha512-FL6hkYWK9zBGdxT2wWEd2W8ocXMu3K94i3gvMrjXpx+koFYdYV7KprKfirpgY34vTGzEPPuKoERpP8kD5h7vZQ==", + "version": "5.59.8", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.59.8.tgz", + "integrity": "sha512-/w08ndCYI8gxGf+9zKf1vtx/16y8MHrZs5/tnjHhMLNSixuNcJavSX4wAiPf4aS5x41Es9YPCn44MIe4cxIlig==", "requires": { - "@typescript-eslint/types": "5.59.7", - "@typescript-eslint/visitor-keys": "5.59.7" + "@typescript-eslint/types": "5.59.8", + "@typescript-eslint/visitor-keys": "5.59.8" } }, "@typescript-eslint/type-utils": { - "version": "5.59.7", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.59.7.tgz", - "integrity": "sha512-ozuz/GILuYG7osdY5O5yg0QxXUAEoI4Go3Do5xeu+ERH9PorHBPSdvD3Tjp2NN2bNLh1NJQSsQu2TPu/Ly+HaQ==", + "version": "5.59.8", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.59.8.tgz", + "integrity": "sha512-+5M518uEIHFBy3FnyqZUF3BMP+AXnYn4oyH8RF012+e7/msMY98FhGL5SrN29NQ9xDgvqCgYnsOiKp1VjZ/fpA==", "dev": true, "requires": { - "@typescript-eslint/typescript-estree": "5.59.7", - "@typescript-eslint/utils": "5.59.7", + "@typescript-eslint/typescript-estree": "5.59.8", + "@typescript-eslint/utils": "5.59.8", "debug": "^4.3.4", "tsutils": "^3.21.0" } }, "@typescript-eslint/types": { - "version": "5.59.7", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.59.7.tgz", - "integrity": "sha512-UnVS2MRRg6p7xOSATscWkKjlf/NDKuqo5TdbWck6rIRZbmKpVNTLALzNvcjIfHBE7736kZOFc/4Z3VcZwuOM/A==" + "version": "5.59.8", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.59.8.tgz", + "integrity": "sha512-+uWuOhBTj/L6awoWIg0BlWy0u9TyFpCHrAuQ5bNfxDaZ1Ppb3mx6tUigc74LHcbHpOHuOTOJrBoAnhdHdaea1w==" }, "@typescript-eslint/typescript-estree": { - "version": "5.59.7", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.7.tgz", - "integrity": "sha512-4A1NtZ1I3wMN2UGDkU9HMBL+TIQfbrh4uS0WDMMpf3xMRursDbqEf1ahh6vAAe3mObt8k3ZATnezwG4pdtWuUQ==", + "version": "5.59.8", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.8.tgz", + "integrity": "sha512-Jy/lPSDJGNow14vYu6IrW790p7HIf/SOV1Bb6lZ7NUkLc2iB2Z9elESmsaUtLw8kVqogSbtLH9tut5GCX1RLDg==", "requires": { - "@typescript-eslint/types": "5.59.7", - "@typescript-eslint/visitor-keys": "5.59.7", + "@typescript-eslint/types": "5.59.8", + "@typescript-eslint/visitor-keys": "5.59.8", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -8291,33 +8291,33 @@ } }, "@typescript-eslint/utils": { - "version": "5.59.7", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.59.7.tgz", - "integrity": "sha512-yCX9WpdQKaLufz5luG4aJbOpdXf/fjwGMcLFXZVPUz3QqLirG5QcwwnIHNf8cjLjxK4qtzTO8udUtMQSAToQnQ==", + "version": "5.59.8", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.59.8.tgz", + "integrity": "sha512-Tr65630KysnNn9f9G7ROF3w1b5/7f6QVCJ+WK9nhIocWmx9F+TmCAcglF26Vm7z8KCTwoKcNEBZrhlklla3CKg==", "requires": { "@eslint-community/eslint-utils": "^4.2.0", "@types/json-schema": "^7.0.9", "@types/semver": "^7.3.12", - "@typescript-eslint/scope-manager": "5.59.7", - "@typescript-eslint/types": "5.59.7", - "@typescript-eslint/typescript-estree": "5.59.7", + "@typescript-eslint/scope-manager": "5.59.8", + "@typescript-eslint/types": "5.59.8", + "@typescript-eslint/typescript-estree": "5.59.8", "eslint-scope": "^5.1.1", "semver": "^7.3.7" } }, "@typescript-eslint/visitor-keys": { - "version": "5.59.7", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.7.tgz", - "integrity": "sha512-tyN+X2jvMslUszIiYbF0ZleP+RqQsFVpGrKI6e0Eet1w8WmhsAtmzaqm8oM8WJQ1ysLwhnsK/4hYHJjOgJVfQQ==", + "version": "5.59.8", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.8.tgz", + "integrity": "sha512-pJhi2ms0x0xgloT7xYabil3SGGlojNNKjK/q6dB3Ey0uJLMjK2UDGJvHieiyJVW/7C3KI+Z4Q3pEHkm4ejA+xQ==", "requires": { - "@typescript-eslint/types": "5.59.7", + "@typescript-eslint/types": "5.59.8", "eslint-visitor-keys": "^3.3.0" } }, "@vscode/l10n": { - "version": "0.0.13", - "resolved": "https://registry.npmjs.org/@vscode/l10n/-/l10n-0.0.13.tgz", - "integrity": "sha512-A3uY356uOU9nGa+TQIT/i3ziWUgJjVMUrGGXSrtRiTwklyCFjGVWIOHoEIHbJpiyhDkJd9kvIWUOfXK1IkK8XQ==" + "version": "0.0.14", + "resolved": "https://registry.npmjs.org/@vscode/l10n/-/l10n-0.0.14.tgz", + "integrity": "sha512-/yrv59IEnmh655z1oeDnGcvMYwnEzNzHLgeYcQCkhYX0xBvYWrAuefoiLcPBUkMpJsb46bqQ6Yv4pwTTQ4d3Qg==" }, "@webassemblyjs/ast": { "version": "1.11.5", @@ -8509,9 +8509,9 @@ "integrity": "sha512-7zFpHzhnqYKrkYdUjF1HI1bzd0VygEGX8lFk4k5zVMqHEoES+P+7TKI+EvLO9WVMJ8eekdO0aDEK044xTXwPPA==" }, "acorn-import-assertions": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/acorn-import-assertions/-/acorn-import-assertions-1.8.0.tgz", - "integrity": "sha512-m7VZ3jwz4eK6A4Vtt8Ew1/mNbP24u0FhdyfA7fSvnJR6LMdfOYnmuIrrJAgrYfYJ10F/otaHTtrtrtmHdMNzEw==", + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/acorn-import-assertions/-/acorn-import-assertions-1.9.0.tgz", + "integrity": "sha512-cmMwop9x+8KFhxvKrKfPYmN6/pKTYYHBqLa0DfvVZcKMJWNyWLnaqND7dx/qn66R7ewM1UX5XMaDVP5wlVTaVA==", "requires": {} }, "acorn-jsx": { @@ -8739,9 +8739,9 @@ } }, "c8": { - "version": "7.13.0", - "resolved": "https://registry.npmjs.org/c8/-/c8-7.13.0.tgz", - "integrity": "sha512-/NL4hQTv1gBL6J6ei80zu3IiTrmePDKXKXOTLpHvcIWZTVYQlDhVWjjWvkhICylE8EwwnMVzDZugCvdx0/DIIA==", + "version": "7.14.0", + "resolved": "https://registry.npmjs.org/c8/-/c8-7.14.0.tgz", + "integrity": "sha512-i04rtkkcNcCf7zsQcSv/T9EbUn4RXQ6mropeMcjFOsQXQ0iGLAr/xT6TImQg4+U9hmNpN9XdvPkjUL1IzbgxJw==", "dev": true, "requires": { "@bcoe/v8-coverage": "^0.2.3", @@ -8991,14 +8991,14 @@ } }, "css-loader": { - "version": "6.7.4", - "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-6.7.4.tgz", - "integrity": "sha512-0Y5uHtK5BswfaGJ+jrO+4pPg1msFBc0pwPIE1VqfpmVn6YbDfYfXMj8rfd7nt+4goAhJueO+H/I40VWJfcP1mQ==", + "version": "6.8.1", + "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-6.8.1.tgz", + "integrity": "sha512-xDAXtEVGlD0gJ07iclwWVkLoZOpEvAWaSyf6W18S2pOC//K8+qUDIx8IIT3D+HjnmkJPQeesOPv5aiUaJsCM2g==", "requires": { "icss-utils": "^5.1.0", "postcss": "^8.4.21", "postcss-modules-extract-imports": "^3.0.0", - "postcss-modules-local-by-default": "^4.0.1", + "postcss-modules-local-by-default": "^4.0.3", "postcss-modules-scope": "^3.0.0", "postcss-modules-values": "^4.0.0", "postcss-value-parser": "^4.2.0", @@ -9262,9 +9262,9 @@ "dev": true }, "enhanced-resolve": { - "version": "5.14.0", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.14.0.tgz", - "integrity": "sha512-+DCows0XNwLDcUhbFJPdlQEVnT2zXlCv7hPxemTz86/O+B/hCQ+mb7ydkPKiflpVraqLPCAfu7lDy+hBXueojw==", + "version": "5.14.1", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.14.1.tgz", + "integrity": "sha512-Vklwq2vDKtl0y/vtwjSesgJ5MYS7Etuk5txS8VdKL4AOS1aUlD96zqIfsOSLQsdv3xgMRbtkWM8eG9XDfKUPow==", "requires": { "graceful-fs": "^4.2.4", "tapable": "^2.2.0" @@ -9503,7 +9503,7 @@ "version": "file:packages/eslint-plugin-stylable", "requires": { "@stylable/core": "^5.11.0", - "@typescript-eslint/experimental-utils": "^5.59.7" + "@typescript-eslint/experimental-utils": "^5.59.8" } }, "eslint-scope": { @@ -11155,23 +11155,23 @@ "dev": true }, "playwright-chromium": { - "version": "1.34.2", - "resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.34.2.tgz", - "integrity": "sha512-JlmA8kzW3ZVnnZm3NLKwrU0qilW2vAgsMveUsmxvcoUJzsWhMmgzYVDBKTEhiEdnlLOCIsmct5dMh+UvjCeI1w==", + "version": "1.34.3", + "resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.34.3.tgz", + "integrity": "sha512-iAvJ7Ab72vRGMab+j2UEqD4xhHf6CzGGntTHeeApsHD/qVDmQUgSE2iKmVeZsNyXMyqrcx83fGsohfq1va01og==", "dev": true, "requires": { - "playwright-core": "1.34.2" + "playwright-core": "1.34.3" } }, "playwright-core": { - "version": "1.34.2", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.34.2.tgz", - "integrity": "sha512-MrkgGWLANc5qthXduvIY1a/tuafROyTORVd86fwKwgoYrmnBooN/GgeZSBm7ljTLV2FCWNSXV3se7qeScKn83g==" + "version": "1.34.3", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.34.3.tgz", + "integrity": "sha512-2pWd6G7OHKemc5x1r1rp8aQcpvDh7goMBZlJv6Co5vCNLVcQJdhxRL09SGaY6HcyHH9aT4tiynZabMofVasBYw==" }, "postcss": { - "version": "8.4.23", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.23.tgz", - "integrity": "sha512-bQ3qMcpF6A/YjR55xtoTr0jGOlnPOKAIMdOWiv0EIT6HVPEaJiJB4NLljSbiHoC2RX7DN5Uvjtpbg1NPdwv1oA==", + "version": "8.4.24", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.24.tgz", + "integrity": "sha512-M0RzbcI0sO/XJNucsGjvWU9ERWxb/ytp1w6dKtxTKgixdtQDq4rmx/g8W1hnaheq9jgwL/oyEdH5Bc4WwJKMqg==", "requires": { "nanoid": "^3.3.6", "picocolors": "^1.0.0", @@ -12053,11 +12053,11 @@ "integrity": "sha512-aodjPa2wPQFkra1G8CzJBTHXhgk3EVSwxSWXNPr1fgdFLUb8kvLV1iEb6rFgasIsjP82HWI6dsb5Io26DDnasA==" }, "vscode-css-languageservice": { - "version": "6.2.5", - "resolved": "https://registry.npmjs.org/vscode-css-languageservice/-/vscode-css-languageservice-6.2.5.tgz", - "integrity": "sha512-/1oyBZK3jfx6A0cA46FCUpy6OlqEsMT47LUIldCIP1YMKRYezJ9No+aNj9IM0AqhRZ92DxZ1DmU5lJ+biuiacA==", + "version": "6.2.6", + "resolved": "https://registry.npmjs.org/vscode-css-languageservice/-/vscode-css-languageservice-6.2.6.tgz", + "integrity": "sha512-SA2WkeOecIpUiEbZnjOsP/fI5CRITZEiQGSHXKiDQDwLApfKcnLhZwMtOBbIifSzESVcQa7b/shX/nbnF4NoCg==", "requires": { - "@vscode/l10n": "^0.0.13", + "@vscode/l10n": "^0.0.14", "vscode-languageserver-textdocument": "^1.0.8", "vscode-languageserver-types": "^3.17.3", "vscode-uri": "^3.0.7" @@ -12110,9 +12110,9 @@ } }, "webpack": { - "version": "5.83.1", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.83.1.tgz", - "integrity": "sha512-TNsG9jDScbNuB+Lb/3+vYolPplCS3bbEaJf+Bj0Gw4DhP3ioAflBb1flcRt9zsWITyvOhM96wMQNRWlSX52DgA==", + "version": "5.84.1", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.84.1.tgz", + "integrity": "sha512-ZP4qaZ7vVn/K8WN/p990SGATmrL1qg4heP/MrVneczYtpDGJWlrgZv55vxaV2ul885Kz+25MP2kSXkPe3LZfmg==", "requires": { "@types/eslint-scope": "^3.7.3", "@types/estree": "^1.0.0", @@ -12120,10 +12120,10 @@ "@webassemblyjs/wasm-edit": "^1.11.5", "@webassemblyjs/wasm-parser": "^1.11.5", "acorn": "^8.7.1", - "acorn-import-assertions": "^1.7.6", + "acorn-import-assertions": "^1.9.0", "browserslist": "^4.14.5", "chrome-trace-event": "^1.0.2", - "enhanced-resolve": "^5.14.0", + "enhanced-resolve": "^5.14.1", "es-module-lexer": "^1.2.1", "eslint-scope": "5.1.1", "events": "^3.2.0", diff --git a/package.json b/package.json index b7e918327..bdaddc889 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "@file-services/memory": "^7.3.0", "@file-services/node": "^7.3.0", "@rollup/plugin-html": "^1.0.2", - "@rollup/plugin-node-resolve": "^15.0.2", + "@rollup/plugin-node-resolve": "^15.1.0", "@types/balanced-match": "^1.0.2", "@types/chai": "^4.3.5", "@types/chai-subset": "^1.3.3", @@ -30,7 +30,7 @@ "@types/find-config": "^1.0.1", "@types/flat": "^5.0.2", "@types/js-beautify": "^1.13.3", - "@types/json-schema": "^7.0.11", + "@types/json-schema": "^7.0.12", "@types/lodash.camelcase": "^4.3.7", "@types/lodash.clonedeep": "^4.5.7", "@types/lodash.clonedeepwith": "^4.5.7", @@ -41,15 +41,15 @@ "@types/mocha": "^10.0.1", "@types/node": "14", "@types/postcss-safe-parser": "^5.0.1", - "@types/react": "^18.2.6", + "@types/react": "^18.2.7", "@types/react-dom": "^18.2.4", "@types/semver": "^7.5.0", "@types/validate-npm-package-name": "^4.0.0", "@types/yargs": "^17.0.24", - "@typescript-eslint/eslint-plugin": "^5.59.7", - "@typescript-eslint/parser": "^5.59.7", + "@typescript-eslint/eslint-plugin": "^5.59.8", + "@typescript-eslint/parser": "^5.59.8", "autoprefixer": "^10.4.14", - "c8": "^7.13.0", + "c8": "^7.14.0", "chai": "^4.3.7", "chai-subset": "^1.6.0", "create-listening-server": "^2.1.0", @@ -63,8 +63,8 @@ "mocha": "^10.2.0", "node-eval": "^2.0.0", "npm-run-all": "^4.1.5", - "playwright-chromium": "^1.34.2", - "postcss": "^8.4.23", + "playwright-chromium": "^1.34.3", + "postcss": "^8.4.24", "promise-assist": "^2.0.1", "raw-loader": "^4.0.2", "react": "^18.2.0", @@ -78,7 +78,7 @@ "tsconfig-paths-webpack-plugin": "^4.0.1", "typescript": "~5.0.4", "url-loader": "^4.1.1", - "webpack": "^5.83.1", + "webpack": "^5.84.1", "yargs": "^17.7.2" }, "engines": { diff --git a/packages/code-formatter/package.json b/packages/code-formatter/package.json index 39c59c1bd..d1515cdc5 100644 --- a/packages/code-formatter/package.json +++ b/packages/code-formatter/package.json @@ -10,7 +10,7 @@ "@stylable/core": "^5.11.0", "@tokey/css-value-parser": "^0.1.2", "js-beautify": "^1.14.7", - "postcss": "^8.4.23" + "postcss": "^8.4.24" }, "files": [ "dist", diff --git a/packages/core-test-kit/package.json b/packages/core-test-kit/package.json index 5945b8f4e..e61895d1f 100644 --- a/packages/core-test-kit/package.json +++ b/packages/core-test-kit/package.json @@ -11,7 +11,7 @@ "@stylable/core": "^5.11.0", "chai": "^4.3.7", "flat": "^5.0.2", - "postcss": "^8.4.23" + "postcss": "^8.4.24" }, "files": [ "dist", diff --git a/packages/core/package.json b/packages/core/package.json index a85692754..0c141939e 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -15,11 +15,11 @@ "balanced-match": "^2.0.0", "css-selector-tokenizer": "^0.8.0", "cssesc": "^3.0.0", - "enhanced-resolve": "^5.14.0", + "enhanced-resolve": "^5.14.1", "is-vendor-prefixed": "^4.0.0", "lodash.clonedeep": "^4.5.0", "lodash.clonedeepwith": "^4.5.0", - "postcss": "^8.4.23", + "postcss": "^8.4.24", "postcss-js": "^4.0.1", "postcss-nested": "^6.0.1", "postcss-safe-parser": "^6.0.0", diff --git a/packages/e2e-test-kit/package.json b/packages/e2e-test-kit/package.json index 34b5798c2..abae924b9 100644 --- a/packages/e2e-test-kit/package.json +++ b/packages/e2e-test-kit/package.json @@ -9,7 +9,7 @@ "dependencies": { "@stylable/runtime": "^5.11.0", "node-eval": "^2.0.0", - "playwright-core": "^1.34.2", + "playwright-core": "^1.34.3", "rimraf": "^5.0.1" }, "files": [ diff --git a/packages/eslint-plugin-stylable/package.json b/packages/eslint-plugin-stylable/package.json index 221f4d7fd..1d66eac97 100644 --- a/packages/eslint-plugin-stylable/package.json +++ b/packages/eslint-plugin-stylable/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "@stylable/core": "^5.11.0", - "@typescript-eslint/experimental-utils": "^5.59.7" + "@typescript-eslint/experimental-utils": "^5.59.8" }, "keywords": [ "eslint", diff --git a/packages/experimental-loader/package.json b/packages/experimental-loader/package.json index ffbb88403..772cc0b49 100644 --- a/packages/experimental-loader/package.json +++ b/packages/experimental-loader/package.json @@ -8,7 +8,7 @@ "dependencies": { "@stylable/core": "^5.11.0", "@stylable/runtime": "^5.11.0", - "css-loader": "^6.7.4", + "css-loader": "^6.8.1", "decache": "^4.6.1", "loader-utils": "^3.2.1" }, diff --git a/packages/language-service/package.json b/packages/language-service/package.json index 7288501e1..0cb7f933e 100644 --- a/packages/language-service/package.json +++ b/packages/language-service/package.json @@ -19,9 +19,9 @@ "@tokey/css-selector-parser": "^0.6.1", "@tokey/css-value-parser": "^0.1.2", "css-selector-tokenizer": "^0.8.0", - "postcss": "^8.4.23", + "postcss": "^8.4.24", "postcss-value-parser": "^4.2.0", - "vscode-css-languageservice": "^6.2.5", + "vscode-css-languageservice": "^6.2.6", "vscode-languageserver": "^8.1.0", "vscode-languageserver-textdocument": "^1.0.8", "vscode-uri": "^3.0.7" diff --git a/packages/optimizer/package.json b/packages/optimizer/package.json index ee076bc99..f1de60e68 100644 --- a/packages/optimizer/package.json +++ b/packages/optimizer/package.json @@ -10,7 +10,7 @@ "@stylable/core": "^5.11.0", "@tokey/css-selector-parser": "^0.6.1", "csso": "^5.0.5", - "postcss": "^8.4.23" + "postcss": "^8.4.24" }, "files": [ "dist", diff --git a/packages/webpack-plugin/package.json b/packages/webpack-plugin/package.json index 29d643d68..f0a45f1f1 100644 --- a/packages/webpack-plugin/package.json +++ b/packages/webpack-plugin/package.json @@ -19,7 +19,7 @@ "@stylable/runtime": "^5.11.0", "decache": "^4.6.1", "lodash.clonedeep": "^4.5.0", - "postcss": "^8.4.23" + "postcss": "^8.4.24" }, "files": [ "dist", diff --git a/packages/webpack-plugin/src/re-ext-plugin.ts b/packages/webpack-plugin/src/re-ext-plugin.ts index 9819645c3..0f66f8b45 100644 --- a/packages/webpack-plugin/src/re-ext-plugin.ts +++ b/packages/webpack-plugin/src/re-ext-plugin.ts @@ -43,7 +43,7 @@ export class ReExt { }, `replacing extension for ${relativeFilePath} to ${newExt}`, resolveContext, - (err: Error, resolved: unknown) => { + (err, resolved) => { err ? res(undefined) : res(resolved); } ); From bfd89f9a741c21cf5e63a3e4477621b8fe9425cc Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Wed, 7 Jun 2023 12:26:48 +0300 Subject: [PATCH 06/81] chore(deps): upgrade to latest stable - check webpack stricter types --- package-lock.json | 334 +++++++++--------- package.json | 14 +- packages/code-formatter/package.json | 2 +- packages/eslint-plugin-stylable/package.json | 2 +- .../experimental-loader/src/add-build-info.ts | 2 +- .../test/testkit/manifest-plugin.ts | 7 +- .../src/stylable-metadata-plugin.ts | 8 +- packages/webpack-plugin/src/index.ts | 1 + .../webpack-plugin/src/mini-css-support.ts | 8 +- packages/webpack-plugin/src/plugin-utils.ts | 16 +- packages/webpack-plugin/src/plugin.ts | 5 +- 11 files changed, 209 insertions(+), 190 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2d5f226b7..82d6606d0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -34,19 +34,19 @@ "@types/mocha": "^10.0.1", "@types/node": "14", "@types/postcss-safe-parser": "^5.0.1", - "@types/react": "^18.2.7", + "@types/react": "^18.2.8", "@types/react-dom": "^18.2.4", "@types/semver": "^7.5.0", "@types/validate-npm-package-name": "^4.0.0", "@types/yargs": "^17.0.24", - "@typescript-eslint/eslint-plugin": "^5.59.8", - "@typescript-eslint/parser": "^5.59.8", + "@typescript-eslint/eslint-plugin": "^5.59.9", + "@typescript-eslint/parser": "^5.59.9", "autoprefixer": "^10.4.14", "c8": "^7.14.0", "chai": "^4.3.7", "chai-subset": "^1.6.0", "create-listening-server": "^2.1.0", - "eslint": "^8.41.0", + "eslint": "^8.42.0", "eslint-config-prettier": "^8.8.0", "eslint-plugin-react": "^7.32.2", "eslint-plugin-react-hooks": "^4.6.0", @@ -63,15 +63,15 @@ "react": "^18.2.0", "react-dom": "^18.2.0", "rimraf": "^5.0.1", - "rollup": "^3.23.0", + "rollup": "^3.24.0", "source-map": "^0.7.4", "source-map-loader": "^4.0.1", "style-loader": "^3.3.3", "ts-expect": "^1.3.0", "tsconfig-paths-webpack-plugin": "^4.0.1", - "typescript": "~5.0.4", + "typescript": "~5.1.3", "url-loader": "^4.1.1", - "webpack": "^5.84.1", + "webpack": "^5.85.1", "yargs": "^17.7.2" }, "engines": { @@ -481,9 +481,9 @@ } }, "node_modules/@eslint/js": { - "version": "8.41.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.41.0.tgz", - "integrity": "sha512-LxcyMGxwmTh2lY9FwHPGWOHmYFCZvbrFCBZL4FzSSsxsRPuhrYUg/49/0KDfW8tnIEaEHtfmn6+NPN+1DqaNmA==", + "version": "8.42.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.42.0.tgz", + "integrity": "sha512-6SWlXpWU5AvId8Ac7zjzmIOqMOba/JWY8XZ4A7q7Gn1Vlfg/SFFIlrtHXt9nPn4op9ZPAkl91Jao+QQv3r/ukw==", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } @@ -543,9 +543,9 @@ } }, "node_modules/@humanwhocodes/config-array": { - "version": "0.11.8", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.8.tgz", - "integrity": "sha512-UybHIJzJnR5Qc/MsD9Kr+RpO2h+/P1GhOwdiLPXK5TWk5sgTdu88bTD9UP+CKbPPh5Rni1u0GjAdYQLemG8g+g==", + "version": "0.11.10", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.10.tgz", + "integrity": "sha512-KVVjQmNUepDVGXNuoRRdmmEjruj0KfiGSbS8LVc12LMsWDQzRXJ0qdhN8L8uUigKpfEHRhlaQFY0ib1tnUbNeQ==", "dependencies": { "@humanwhocodes/object-schema": "^1.2.1", "debug": "^4.1.1", @@ -1139,9 +1139,9 @@ "dev": true }, "node_modules/@types/react": { - "version": "18.2.7", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.7.tgz", - "integrity": "sha512-ojrXpSH2XFCmHm7Jy3q44nXDyN54+EYKP2lBhJ2bqfyPj6cIUW/FZW/Csdia34NQgq7KYcAlHi5184m4X88+yw==", + "version": "18.2.8", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.8.tgz", + "integrity": "sha512-lTyWUNrd8ntVkqycEEplasWy2OxNlShj3zqS0LuB1ENUGis5HodmhM7DtCoUGbxj3VW/WsGA0DUhpG6XrM7gPA==", "dev": true, "dependencies": { "@types/prop-types": "*", @@ -1197,15 +1197,15 @@ "dev": true }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "5.59.8", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.59.8.tgz", - "integrity": "sha512-JDMOmhXteJ4WVKOiHXGCoB96ADWg9q7efPWHRViT/f09bA8XOMLAVHHju3l0MkZnG1izaWXYmgvQcUjTRcpShQ==", + "version": "5.59.9", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.59.9.tgz", + "integrity": "sha512-4uQIBq1ffXd2YvF7MAvehWKW3zVv/w+mSfRAu+8cKbfj3nwzyqJLNcZJpQ/WZ1HLbJDiowwmQ6NO+63nCA+fqA==", "dev": true, "dependencies": { "@eslint-community/regexpp": "^4.4.0", - "@typescript-eslint/scope-manager": "5.59.8", - "@typescript-eslint/type-utils": "5.59.8", - "@typescript-eslint/utils": "5.59.8", + "@typescript-eslint/scope-manager": "5.59.9", + "@typescript-eslint/type-utils": "5.59.9", + "@typescript-eslint/utils": "5.59.9", "debug": "^4.3.4", "grapheme-splitter": "^1.0.4", "ignore": "^5.2.0", @@ -1231,11 +1231,11 @@ } }, "node_modules/@typescript-eslint/experimental-utils": { - "version": "5.59.8", - "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.59.8.tgz", - "integrity": "sha512-jAf+hihtd0G2RLB9x796+3i8D0L5T5xjftuPpJ82RLsPNHdzGXmbZNNftQ558h90ogc45DD8/W3OrxmdSO5Nng==", + "version": "5.59.9", + "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.59.9.tgz", + "integrity": "sha512-eZTK/Ci0QAqNc/q2MqMwI2+QI5ZI9HM12FcfGwbEvKif5ev/CIIYLmrlckvgPrC8XSbl39HtErR5NJiQkRkvWg==", "dependencies": { - "@typescript-eslint/utils": "5.59.8" + "@typescript-eslint/utils": "5.59.9" }, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -1249,14 +1249,14 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "5.59.8", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.59.8.tgz", - "integrity": "sha512-AnR19RjJcpjoeGojmwZtCwBX/RidqDZtzcbG3xHrmz0aHHoOcbWnpDllenRDmDvsV0RQ6+tbb09/kyc+UT9Orw==", + "version": "5.59.9", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.59.9.tgz", + "integrity": "sha512-FsPkRvBtcLQ/eVK1ivDiNYBjn3TGJdXy2fhXX+rc7czWl4ARwnpArwbihSOHI2Peg9WbtGHrbThfBUkZZGTtvQ==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "5.59.8", - "@typescript-eslint/types": "5.59.8", - "@typescript-eslint/typescript-estree": "5.59.8", + "@typescript-eslint/scope-manager": "5.59.9", + "@typescript-eslint/types": "5.59.9", + "@typescript-eslint/typescript-estree": "5.59.9", "debug": "^4.3.4" }, "engines": { @@ -1276,12 +1276,12 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "5.59.8", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.59.8.tgz", - "integrity": "sha512-/w08ndCYI8gxGf+9zKf1vtx/16y8MHrZs5/tnjHhMLNSixuNcJavSX4wAiPf4aS5x41Es9YPCn44MIe4cxIlig==", + "version": "5.59.9", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.59.9.tgz", + "integrity": "sha512-8RA+E+w78z1+2dzvK/tGZ2cpGigBZ58VMEHDZtpE1v+LLjzrYGc8mMaTONSxKyEkz3IuXFM0IqYiGHlCsmlZxQ==", "dependencies": { - "@typescript-eslint/types": "5.59.8", - "@typescript-eslint/visitor-keys": "5.59.8" + "@typescript-eslint/types": "5.59.9", + "@typescript-eslint/visitor-keys": "5.59.9" }, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -1292,13 +1292,13 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "5.59.8", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.59.8.tgz", - "integrity": "sha512-+5M518uEIHFBy3FnyqZUF3BMP+AXnYn4oyH8RF012+e7/msMY98FhGL5SrN29NQ9xDgvqCgYnsOiKp1VjZ/fpA==", + "version": "5.59.9", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.59.9.tgz", + "integrity": "sha512-ksEsT0/mEHg9e3qZu98AlSrONAQtrSTljL3ow9CGej8eRo7pe+yaC/mvTjptp23Xo/xIf2mLZKC6KPv4Sji26Q==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "5.59.8", - "@typescript-eslint/utils": "5.59.8", + "@typescript-eslint/typescript-estree": "5.59.9", + "@typescript-eslint/utils": "5.59.9", "debug": "^4.3.4", "tsutils": "^3.21.0" }, @@ -1319,9 +1319,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "5.59.8", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.59.8.tgz", - "integrity": "sha512-+uWuOhBTj/L6awoWIg0BlWy0u9TyFpCHrAuQ5bNfxDaZ1Ppb3mx6tUigc74LHcbHpOHuOTOJrBoAnhdHdaea1w==", + "version": "5.59.9", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.59.9.tgz", + "integrity": "sha512-uW8H5NRgTVneSVTfiCVffBb8AbwWSKg7qcA4Ot3JI3MPCJGsB4Db4BhvAODIIYE5mNj7Q+VJkK7JxmRhk2Lyjw==", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, @@ -1331,12 +1331,12 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "5.59.8", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.8.tgz", - "integrity": "sha512-Jy/lPSDJGNow14vYu6IrW790p7HIf/SOV1Bb6lZ7NUkLc2iB2Z9elESmsaUtLw8kVqogSbtLH9tut5GCX1RLDg==", + "version": "5.59.9", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.9.tgz", + "integrity": "sha512-pmM0/VQ7kUhd1QyIxgS+aRvMgw+ZljB3eDb+jYyp6d2bC0mQWLzUDF+DLwCTkQ3tlNyVsvZRXjFyV0LkU/aXjA==", "dependencies": { - "@typescript-eslint/types": "5.59.8", - "@typescript-eslint/visitor-keys": "5.59.8", + "@typescript-eslint/types": "5.59.9", + "@typescript-eslint/visitor-keys": "5.59.9", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -1357,16 +1357,16 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "5.59.8", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.59.8.tgz", - "integrity": "sha512-Tr65630KysnNn9f9G7ROF3w1b5/7f6QVCJ+WK9nhIocWmx9F+TmCAcglF26Vm7z8KCTwoKcNEBZrhlklla3CKg==", + "version": "5.59.9", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.59.9.tgz", + "integrity": "sha512-1PuMYsju/38I5Ggblaeb98TOoUvjhRvLpLa1DoTOFaLWqaXl/1iQ1eGurTXgBY58NUdtfTXKP5xBq7q9NDaLKg==", "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@types/json-schema": "^7.0.9", "@types/semver": "^7.3.12", - "@typescript-eslint/scope-manager": "5.59.8", - "@typescript-eslint/types": "5.59.8", - "@typescript-eslint/typescript-estree": "5.59.8", + "@typescript-eslint/scope-manager": "5.59.9", + "@typescript-eslint/types": "5.59.9", + "@typescript-eslint/typescript-estree": "5.59.9", "eslint-scope": "^5.1.1", "semver": "^7.3.7" }, @@ -1382,11 +1382,11 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "5.59.8", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.8.tgz", - "integrity": "sha512-pJhi2ms0x0xgloT7xYabil3SGGlojNNKjK/q6dB3Ey0uJLMjK2UDGJvHieiyJVW/7C3KI+Z4Q3pEHkm4ejA+xQ==", + "version": "5.59.9", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.9.tgz", + "integrity": "sha512-bT7s0td97KMaLwpEBckbzj/YohnvXtqbe2XgqNvTl6RJVakY5mvENOTPvw5u66nljfZxthESpDozs86U+oLY8Q==", "dependencies": { - "@typescript-eslint/types": "5.59.8", + "@typescript-eslint/types": "5.59.9", "eslint-visitor-keys": "^3.3.0" }, "engines": { @@ -2792,15 +2792,15 @@ } }, "node_modules/eslint": { - "version": "8.41.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.41.0.tgz", - "integrity": "sha512-WQDQpzGBOP5IrXPo4Hc0814r4/v2rrIsB0rhT7jtunIalgg6gYXWhRMOejVO8yH21T/FGaxjmFjBMNqcIlmH1Q==", + "version": "8.42.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.42.0.tgz", + "integrity": "sha512-ulg9Ms6E1WPf67PHaEY4/6E2tEn5/f7FXGzr3t9cBMugOmf1INYvuUwwh1aXQN4MfJ6a5K2iNwP3w4AColvI9A==", "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.4.0", "@eslint/eslintrc": "^2.0.3", - "@eslint/js": "8.41.0", - "@humanwhocodes/config-array": "^0.11.8", + "@eslint/js": "8.42.0", + "@humanwhocodes/config-array": "^0.11.10", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", "ajv": "^6.10.0", @@ -4043,13 +4043,13 @@ } }, "node_modules/js-beautify": { - "version": "1.14.7", - "resolved": "https://registry.npmjs.org/js-beautify/-/js-beautify-1.14.7.tgz", - "integrity": "sha512-5SOX1KXPFKx+5f6ZrPsIPEY7NwKeQz47n3jm2i+XeHx9MoRsfQenlOP13FQhWvg8JRS0+XLO6XYUQ2GX+q+T9A==", + "version": "1.14.8", + "resolved": "https://registry.npmjs.org/js-beautify/-/js-beautify-1.14.8.tgz", + "integrity": "sha512-4S7HFeI9YfRvRgKnEweohs0tgJj28InHVIj4Nl8Htf96Y6pHg3+tJrmo4ucAM9f7l4SHbFI3IvFAZ2a1eQPbyg==", "dependencies": { "config-chain": "^1.1.13", "editorconfig": "^0.15.3", - "glob": "^8.0.3", + "glob": "^8.1.0", "nopt": "^6.0.0" }, "bin": { @@ -4058,7 +4058,7 @@ "js-beautify": "js/bin/js-beautify.js" }, "engines": { - "node": ">=10" + "node": ">=12" } }, "node_modules/js-beautify/node_modules/brace-expansion": { @@ -4070,9 +4070,9 @@ } }, "node_modules/js-beautify/node_modules/glob": { - "version": "8.0.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-8.0.3.tgz", - "integrity": "sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", + "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -4088,9 +4088,9 @@ } }, "node_modules/js-beautify/node_modules/minimatch": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.1.tgz", - "integrity": "sha512-362NP+zlprccbEt/SkxKfRMHnNY85V74mVnpUpNyr3F35covl09Kec7/sEFLt3RA4oXmewtoaanoIf67SE5Y5g==", + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", "dependencies": { "brace-expansion": "^2.0.1" }, @@ -5757,9 +5757,9 @@ } }, "node_modules/rollup": { - "version": "3.23.0", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.23.0.tgz", - "integrity": "sha512-h31UlwEi7FHihLe1zbk+3Q7z1k/84rb9BSwmBSr/XjOCEaBJ2YyedQDuM0t/kfOS0IxM+vk1/zI9XxYj9V+NJQ==", + "version": "3.24.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.24.0.tgz", + "integrity": "sha512-OgraHOIg2YpHQTjl0/ymWfFNBEyPucB7lmhXrQUh38qNOegxLapSPFs9sNr0qKR75awW41D93XafoR2QfhBdUQ==", "bin": { "rollup": "dist/bin/rollup" }, @@ -6405,15 +6405,15 @@ } }, "node_modules/typescript": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.0.4.tgz", - "integrity": "sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==", + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.3.tgz", + "integrity": "sha512-XH627E9vkeqhlZFQuL+UsyAXEnibT0kWR2FWONlr4sTjvxyJYnyefgrkyECLzM5NenmKzRAy2rR/OlYLA1HkZw==", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" }, "engines": { - "node": ">=12.20" + "node": ">=14.17" } }, "node_modules/unbox-primitive": { @@ -6633,9 +6633,9 @@ } }, "node_modules/webpack": { - "version": "5.84.1", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.84.1.tgz", - "integrity": "sha512-ZP4qaZ7vVn/K8WN/p990SGATmrL1qg4heP/MrVneczYtpDGJWlrgZv55vxaV2ul885Kz+25MP2kSXkPe3LZfmg==", + "version": "5.85.1", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.85.1.tgz", + "integrity": "sha512-xTb7MRf4LY8Z5rzn7aIx4TDrwYJrjcHnIfU1TqtyZOoObyuGSpAUwIvVuqq5wPnv7WEgQr8UvO1q/dgoGG4HjA==", "dependencies": { "@types/eslint-scope": "^3.7.3", "@types/estree": "^1.0.0", @@ -6912,7 +6912,7 @@ "dependencies": { "@stylable/core": "^5.11.0", "@tokey/css-value-parser": "^0.1.2", - "js-beautify": "^1.14.7", + "js-beautify": "^1.14.8", "postcss": "^8.4.24" }, "engines": { @@ -7044,7 +7044,7 @@ "license": "MIT", "dependencies": { "@stylable/core": "^5.11.0", - "@typescript-eslint/experimental-utils": "^5.59.8" + "@typescript-eslint/experimental-utils": "^5.59.9" } }, "packages/experimental-loader": { @@ -7443,9 +7443,9 @@ } }, "@eslint/js": { - "version": "8.41.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.41.0.tgz", - "integrity": "sha512-LxcyMGxwmTh2lY9FwHPGWOHmYFCZvbrFCBZL4FzSSsxsRPuhrYUg/49/0KDfW8tnIEaEHtfmn6+NPN+1DqaNmA==" + "version": "8.42.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.42.0.tgz", + "integrity": "sha512-6SWlXpWU5AvId8Ac7zjzmIOqMOba/JWY8XZ4A7q7Gn1Vlfg/SFFIlrtHXt9nPn4op9ZPAkl91Jao+QQv3r/ukw==" }, "@file-services/memory": { "version": "7.3.0", @@ -7496,9 +7496,9 @@ } }, "@humanwhocodes/config-array": { - "version": "0.11.8", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.8.tgz", - "integrity": "sha512-UybHIJzJnR5Qc/MsD9Kr+RpO2h+/P1GhOwdiLPXK5TWk5sgTdu88bTD9UP+CKbPPh5Rni1u0GjAdYQLemG8g+g==", + "version": "0.11.10", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.10.tgz", + "integrity": "sha512-KVVjQmNUepDVGXNuoRRdmmEjruj0KfiGSbS8LVc12LMsWDQzRXJ0qdhN8L8uUigKpfEHRhlaQFY0ib1tnUbNeQ==", "requires": { "@humanwhocodes/object-schema": "^1.2.1", "debug": "^4.1.1", @@ -7721,7 +7721,7 @@ "requires": { "@stylable/core": "^5.11.0", "@tokey/css-value-parser": "^0.1.2", - "js-beautify": "^1.14.7", + "js-beautify": "^1.14.8", "postcss": "^8.4.24" } }, @@ -8155,9 +8155,9 @@ "dev": true }, "@types/react": { - "version": "18.2.7", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.7.tgz", - "integrity": "sha512-ojrXpSH2XFCmHm7Jy3q44nXDyN54+EYKP2lBhJ2bqfyPj6cIUW/FZW/Csdia34NQgq7KYcAlHi5184m4X88+yw==", + "version": "18.2.8", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.8.tgz", + "integrity": "sha512-lTyWUNrd8ntVkqycEEplasWy2OxNlShj3zqS0LuB1ENUGis5HodmhM7DtCoUGbxj3VW/WsGA0DUhpG6XrM7gPA==", "dev": true, "requires": { "@types/prop-types": "*", @@ -8213,15 +8213,15 @@ "dev": true }, "@typescript-eslint/eslint-plugin": { - "version": "5.59.8", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.59.8.tgz", - "integrity": "sha512-JDMOmhXteJ4WVKOiHXGCoB96ADWg9q7efPWHRViT/f09bA8XOMLAVHHju3l0MkZnG1izaWXYmgvQcUjTRcpShQ==", + "version": "5.59.9", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.59.9.tgz", + "integrity": "sha512-4uQIBq1ffXd2YvF7MAvehWKW3zVv/w+mSfRAu+8cKbfj3nwzyqJLNcZJpQ/WZ1HLbJDiowwmQ6NO+63nCA+fqA==", "dev": true, "requires": { "@eslint-community/regexpp": "^4.4.0", - "@typescript-eslint/scope-manager": "5.59.8", - "@typescript-eslint/type-utils": "5.59.8", - "@typescript-eslint/utils": "5.59.8", + "@typescript-eslint/scope-manager": "5.59.9", + "@typescript-eslint/type-utils": "5.59.9", + "@typescript-eslint/utils": "5.59.9", "debug": "^4.3.4", "grapheme-splitter": "^1.0.4", "ignore": "^5.2.0", @@ -8231,58 +8231,58 @@ } }, "@typescript-eslint/experimental-utils": { - "version": "5.59.8", - "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.59.8.tgz", - "integrity": "sha512-jAf+hihtd0G2RLB9x796+3i8D0L5T5xjftuPpJ82RLsPNHdzGXmbZNNftQ558h90ogc45DD8/W3OrxmdSO5Nng==", + "version": "5.59.9", + "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.59.9.tgz", + "integrity": "sha512-eZTK/Ci0QAqNc/q2MqMwI2+QI5ZI9HM12FcfGwbEvKif5ev/CIIYLmrlckvgPrC8XSbl39HtErR5NJiQkRkvWg==", "requires": { - "@typescript-eslint/utils": "5.59.8" + "@typescript-eslint/utils": "5.59.9" } }, "@typescript-eslint/parser": { - "version": "5.59.8", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.59.8.tgz", - "integrity": "sha512-AnR19RjJcpjoeGojmwZtCwBX/RidqDZtzcbG3xHrmz0aHHoOcbWnpDllenRDmDvsV0RQ6+tbb09/kyc+UT9Orw==", + "version": "5.59.9", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.59.9.tgz", + "integrity": "sha512-FsPkRvBtcLQ/eVK1ivDiNYBjn3TGJdXy2fhXX+rc7czWl4ARwnpArwbihSOHI2Peg9WbtGHrbThfBUkZZGTtvQ==", "dev": true, "requires": { - "@typescript-eslint/scope-manager": "5.59.8", - "@typescript-eslint/types": "5.59.8", - "@typescript-eslint/typescript-estree": "5.59.8", + "@typescript-eslint/scope-manager": "5.59.9", + "@typescript-eslint/types": "5.59.9", + "@typescript-eslint/typescript-estree": "5.59.9", "debug": "^4.3.4" } }, "@typescript-eslint/scope-manager": { - "version": "5.59.8", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.59.8.tgz", - "integrity": "sha512-/w08ndCYI8gxGf+9zKf1vtx/16y8MHrZs5/tnjHhMLNSixuNcJavSX4wAiPf4aS5x41Es9YPCn44MIe4cxIlig==", + "version": "5.59.9", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.59.9.tgz", + "integrity": "sha512-8RA+E+w78z1+2dzvK/tGZ2cpGigBZ58VMEHDZtpE1v+LLjzrYGc8mMaTONSxKyEkz3IuXFM0IqYiGHlCsmlZxQ==", "requires": { - "@typescript-eslint/types": "5.59.8", - "@typescript-eslint/visitor-keys": "5.59.8" + "@typescript-eslint/types": "5.59.9", + "@typescript-eslint/visitor-keys": "5.59.9" } }, "@typescript-eslint/type-utils": { - "version": "5.59.8", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.59.8.tgz", - "integrity": "sha512-+5M518uEIHFBy3FnyqZUF3BMP+AXnYn4oyH8RF012+e7/msMY98FhGL5SrN29NQ9xDgvqCgYnsOiKp1VjZ/fpA==", + "version": "5.59.9", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.59.9.tgz", + "integrity": "sha512-ksEsT0/mEHg9e3qZu98AlSrONAQtrSTljL3ow9CGej8eRo7pe+yaC/mvTjptp23Xo/xIf2mLZKC6KPv4Sji26Q==", "dev": true, "requires": { - "@typescript-eslint/typescript-estree": "5.59.8", - "@typescript-eslint/utils": "5.59.8", + "@typescript-eslint/typescript-estree": "5.59.9", + "@typescript-eslint/utils": "5.59.9", "debug": "^4.3.4", "tsutils": "^3.21.0" } }, "@typescript-eslint/types": { - "version": "5.59.8", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.59.8.tgz", - "integrity": "sha512-+uWuOhBTj/L6awoWIg0BlWy0u9TyFpCHrAuQ5bNfxDaZ1Ppb3mx6tUigc74LHcbHpOHuOTOJrBoAnhdHdaea1w==" + "version": "5.59.9", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.59.9.tgz", + "integrity": "sha512-uW8H5NRgTVneSVTfiCVffBb8AbwWSKg7qcA4Ot3JI3MPCJGsB4Db4BhvAODIIYE5mNj7Q+VJkK7JxmRhk2Lyjw==" }, "@typescript-eslint/typescript-estree": { - "version": "5.59.8", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.8.tgz", - "integrity": "sha512-Jy/lPSDJGNow14vYu6IrW790p7HIf/SOV1Bb6lZ7NUkLc2iB2Z9elESmsaUtLw8kVqogSbtLH9tut5GCX1RLDg==", + "version": "5.59.9", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.9.tgz", + "integrity": "sha512-pmM0/VQ7kUhd1QyIxgS+aRvMgw+ZljB3eDb+jYyp6d2bC0mQWLzUDF+DLwCTkQ3tlNyVsvZRXjFyV0LkU/aXjA==", "requires": { - "@typescript-eslint/types": "5.59.8", - "@typescript-eslint/visitor-keys": "5.59.8", + "@typescript-eslint/types": "5.59.9", + "@typescript-eslint/visitor-keys": "5.59.9", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -8291,26 +8291,26 @@ } }, "@typescript-eslint/utils": { - "version": "5.59.8", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.59.8.tgz", - "integrity": "sha512-Tr65630KysnNn9f9G7ROF3w1b5/7f6QVCJ+WK9nhIocWmx9F+TmCAcglF26Vm7z8KCTwoKcNEBZrhlklla3CKg==", + "version": "5.59.9", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.59.9.tgz", + "integrity": "sha512-1PuMYsju/38I5Ggblaeb98TOoUvjhRvLpLa1DoTOFaLWqaXl/1iQ1eGurTXgBY58NUdtfTXKP5xBq7q9NDaLKg==", "requires": { "@eslint-community/eslint-utils": "^4.2.0", "@types/json-schema": "^7.0.9", "@types/semver": "^7.3.12", - "@typescript-eslint/scope-manager": "5.59.8", - "@typescript-eslint/types": "5.59.8", - "@typescript-eslint/typescript-estree": "5.59.8", + "@typescript-eslint/scope-manager": "5.59.9", + "@typescript-eslint/types": "5.59.9", + "@typescript-eslint/typescript-estree": "5.59.9", "eslint-scope": "^5.1.1", "semver": "^7.3.7" } }, "@typescript-eslint/visitor-keys": { - "version": "5.59.8", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.8.tgz", - "integrity": "sha512-pJhi2ms0x0xgloT7xYabil3SGGlojNNKjK/q6dB3Ey0uJLMjK2UDGJvHieiyJVW/7C3KI+Z4Q3pEHkm4ejA+xQ==", + "version": "5.59.9", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.9.tgz", + "integrity": "sha512-bT7s0td97KMaLwpEBckbzj/YohnvXtqbe2XgqNvTl6RJVakY5mvENOTPvw5u66nljfZxthESpDozs86U+oLY8Q==", "requires": { - "@typescript-eslint/types": "5.59.8", + "@typescript-eslint/types": "5.59.9", "eslint-visitor-keys": "^3.3.0" } }, @@ -9378,15 +9378,15 @@ "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==" }, "eslint": { - "version": "8.41.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.41.0.tgz", - "integrity": "sha512-WQDQpzGBOP5IrXPo4Hc0814r4/v2rrIsB0rhT7jtunIalgg6gYXWhRMOejVO8yH21T/FGaxjmFjBMNqcIlmH1Q==", + "version": "8.42.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.42.0.tgz", + "integrity": "sha512-ulg9Ms6E1WPf67PHaEY4/6E2tEn5/f7FXGzr3t9cBMugOmf1INYvuUwwh1aXQN4MfJ6a5K2iNwP3w4AColvI9A==", "requires": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.4.0", "@eslint/eslintrc": "^2.0.3", - "@eslint/js": "8.41.0", - "@humanwhocodes/config-array": "^0.11.8", + "@eslint/js": "8.42.0", + "@humanwhocodes/config-array": "^0.11.10", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", "ajv": "^6.10.0", @@ -9503,7 +9503,7 @@ "version": "file:packages/eslint-plugin-stylable", "requires": { "@stylable/core": "^5.11.0", - "@typescript-eslint/experimental-utils": "^5.59.8" + "@typescript-eslint/experimental-utils": "^5.59.9" } }, "eslint-scope": { @@ -10267,13 +10267,13 @@ } }, "js-beautify": { - "version": "1.14.7", - "resolved": "https://registry.npmjs.org/js-beautify/-/js-beautify-1.14.7.tgz", - "integrity": "sha512-5SOX1KXPFKx+5f6ZrPsIPEY7NwKeQz47n3jm2i+XeHx9MoRsfQenlOP13FQhWvg8JRS0+XLO6XYUQ2GX+q+T9A==", + "version": "1.14.8", + "resolved": "https://registry.npmjs.org/js-beautify/-/js-beautify-1.14.8.tgz", + "integrity": "sha512-4S7HFeI9YfRvRgKnEweohs0tgJj28InHVIj4Nl8Htf96Y6pHg3+tJrmo4ucAM9f7l4SHbFI3IvFAZ2a1eQPbyg==", "requires": { "config-chain": "^1.1.13", "editorconfig": "^0.15.3", - "glob": "^8.0.3", + "glob": "^8.1.0", "nopt": "^6.0.0" }, "dependencies": { @@ -10286,9 +10286,9 @@ } }, "glob": { - "version": "8.0.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-8.0.3.tgz", - "integrity": "sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", + "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", "requires": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -10298,9 +10298,9 @@ } }, "minimatch": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.1.tgz", - "integrity": "sha512-362NP+zlprccbEt/SkxKfRMHnNY85V74mVnpUpNyr3F35covl09Kec7/sEFLt3RA4oXmewtoaanoIf67SE5Y5g==", + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", "requires": { "brace-expansion": "^2.0.1" } @@ -11489,9 +11489,9 @@ } }, "rollup": { - "version": "3.23.0", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.23.0.tgz", - "integrity": "sha512-h31UlwEi7FHihLe1zbk+3Q7z1k/84rb9BSwmBSr/XjOCEaBJ2YyedQDuM0t/kfOS0IxM+vk1/zI9XxYj9V+NJQ==", + "version": "3.24.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.24.0.tgz", + "integrity": "sha512-OgraHOIg2YpHQTjl0/ymWfFNBEyPucB7lmhXrQUh38qNOegxLapSPFs9sNr0qKR75awW41D93XafoR2QfhBdUQ==", "requires": { "fsevents": "~2.3.2" } @@ -11943,9 +11943,9 @@ "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==" }, "typescript": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.0.4.tgz", - "integrity": "sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==" + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.3.tgz", + "integrity": "sha512-XH627E9vkeqhlZFQuL+UsyAXEnibT0kWR2FWONlr4sTjvxyJYnyefgrkyECLzM5NenmKzRAy2rR/OlYLA1HkZw==" }, "unbox-primitive": { "version": "1.0.2", @@ -12110,9 +12110,9 @@ } }, "webpack": { - "version": "5.84.1", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.84.1.tgz", - "integrity": "sha512-ZP4qaZ7vVn/K8WN/p990SGATmrL1qg4heP/MrVneczYtpDGJWlrgZv55vxaV2ul885Kz+25MP2kSXkPe3LZfmg==", + "version": "5.85.1", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.85.1.tgz", + "integrity": "sha512-xTb7MRf4LY8Z5rzn7aIx4TDrwYJrjcHnIfU1TqtyZOoObyuGSpAUwIvVuqq5wPnv7WEgQr8UvO1q/dgoGG4HjA==", "requires": { "@types/eslint-scope": "^3.7.3", "@types/estree": "^1.0.0", diff --git a/package.json b/package.json index bdaddc889..9302df62d 100644 --- a/package.json +++ b/package.json @@ -41,19 +41,19 @@ "@types/mocha": "^10.0.1", "@types/node": "14", "@types/postcss-safe-parser": "^5.0.1", - "@types/react": "^18.2.7", + "@types/react": "^18.2.8", "@types/react-dom": "^18.2.4", "@types/semver": "^7.5.0", "@types/validate-npm-package-name": "^4.0.0", "@types/yargs": "^17.0.24", - "@typescript-eslint/eslint-plugin": "^5.59.8", - "@typescript-eslint/parser": "^5.59.8", + "@typescript-eslint/eslint-plugin": "^5.59.9", + "@typescript-eslint/parser": "^5.59.9", "autoprefixer": "^10.4.14", "c8": "^7.14.0", "chai": "^4.3.7", "chai-subset": "^1.6.0", "create-listening-server": "^2.1.0", - "eslint": "^8.41.0", + "eslint": "^8.42.0", "eslint-config-prettier": "^8.8.0", "eslint-plugin-react": "^7.32.2", "eslint-plugin-react-hooks": "^4.6.0", @@ -70,15 +70,15 @@ "react": "^18.2.0", "react-dom": "^18.2.0", "rimraf": "^5.0.1", - "rollup": "^3.23.0", + "rollup": "^3.24.0", "source-map": "^0.7.4", "source-map-loader": "^4.0.1", "style-loader": "^3.3.3", "ts-expect": "^1.3.0", "tsconfig-paths-webpack-plugin": "^4.0.1", - "typescript": "~5.0.4", + "typescript": "~5.1.3", "url-loader": "^4.1.1", - "webpack": "^5.84.1", + "webpack": "^5.85.1", "yargs": "^17.7.2" }, "engines": { diff --git a/packages/code-formatter/package.json b/packages/code-formatter/package.json index d1515cdc5..cc0d70c04 100644 --- a/packages/code-formatter/package.json +++ b/packages/code-formatter/package.json @@ -9,7 +9,7 @@ "dependencies": { "@stylable/core": "^5.11.0", "@tokey/css-value-parser": "^0.1.2", - "js-beautify": "^1.14.7", + "js-beautify": "^1.14.8", "postcss": "^8.4.24" }, "files": [ diff --git a/packages/eslint-plugin-stylable/package.json b/packages/eslint-plugin-stylable/package.json index 1d66eac97..d4707cf41 100644 --- a/packages/eslint-plugin-stylable/package.json +++ b/packages/eslint-plugin-stylable/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "@stylable/core": "^5.11.0", - "@typescript-eslint/experimental-utils": "^5.59.8" + "@typescript-eslint/experimental-utils": "^5.59.9" }, "keywords": [ "eslint", diff --git a/packages/experimental-loader/src/add-build-info.ts b/packages/experimental-loader/src/add-build-info.ts index 65bde7a3b..9227aa479 100644 --- a/packages/experimental-loader/src/add-build-info.ts +++ b/packages/experimental-loader/src/add-build-info.ts @@ -2,7 +2,7 @@ import type { LoaderContext } from 'webpack'; export function addBuildInfo(ctx: LoaderContext, namespace: string) { try { - ctx._module!.buildInfo.stylableNamespace = namespace; + (ctx._module!.buildInfo as any).stylableNamespace = namespace; } catch (error) { ctx.emitWarning( new Error( diff --git a/packages/experimental-loader/test/testkit/manifest-plugin.ts b/packages/experimental-loader/test/testkit/manifest-plugin.ts index 9a19366db..c7b6e43d8 100644 --- a/packages/experimental-loader/test/testkit/manifest-plugin.ts +++ b/packages/experimental-loader/test/testkit/manifest-plugin.ts @@ -12,16 +12,13 @@ export class TestManifestPlugin { const data: Record = {}; for (const module of compilation.modules) { if (isNormalModule(module) && module.resource.endsWith('.st.css')) { - const { - resource, - buildInfo: { stylableNamespace }, - } = module; + const stylableNamespace = module.buildInfo?.stylableNamespace; if (!stylableNamespace) { throw new Error('No stylableNamespace found in buildInfo'); } - data[relative(compiler.context, resource)] = stylableNamespace; + data[relative(compiler.context, module.resource)] = stylableNamespace; } } diff --git a/packages/webpack-extensions/src/stylable-metadata-plugin.ts b/packages/webpack-extensions/src/stylable-metadata-plugin.ts index b7f76cdcd..959878583 100644 --- a/packages/webpack-extensions/src/stylable-metadata-plugin.ts +++ b/packages/webpack-extensions/src/stylable-metadata-plugin.ts @@ -6,6 +6,8 @@ import { ComponentConfig, ComponentMetadataBuilder } from './component-metadata- import { getCSSViewModuleWebpack, + getWebpackBuildMeta, + getStylableBuildMeta, getStylableModules, isStylableModule, uniqueFilterMap, @@ -69,9 +71,11 @@ export class StylableMetadataPlugin { const getViewModule = getCSSViewModuleWebpack(compilation.moduleGraph); const stylableModulesWithData = getStylableModules(compilation); for (const module of stylableModules) { + const buildMeta = getWebpackBuildMeta(module); + const stylableBuildMeta = getStylableBuildMeta(module); const namespace = - stylableModulesWithData?.get(module)?.namespace ?? module.buildMeta.namespace; - const depth = module.buildMeta.stylable.depth; + stylableModulesWithData?.get(module)?.namespace ?? buildMeta.namespace; + const depth = stylableBuildMeta.depth; const resource = this.options.normalizeModulePath ? this.options.normalizeModulePath(module.resource, builder) : module.resource; diff --git a/packages/webpack-plugin/src/index.ts b/packages/webpack-plugin/src/index.ts index e48e8962f..917bc29e9 100644 --- a/packages/webpack-plugin/src/index.ts +++ b/packages/webpack-plugin/src/index.ts @@ -16,6 +16,7 @@ export { getOnlyChunk, getSortedModules, getStaticPublicPath, + getWebpackBuildMeta, getStylableBuildData, getStylableBuildMeta, getStylableModules, diff --git a/packages/webpack-plugin/src/mini-css-support.ts b/packages/webpack-plugin/src/mini-css-support.ts index ddc3cdfc6..c7b502ed9 100644 --- a/packages/webpack-plugin/src/mini-css-support.ts +++ b/packages/webpack-plugin/src/mini-css-support.ts @@ -1,5 +1,9 @@ import type { Compilation, Compiler, NormalModule } from 'webpack'; -import { replaceMappedCSSAssetPlaceholders, getStylableBuildData } from './plugin-utils'; +import { + replaceMappedCSSAssetPlaceholders, + getStylableBuildData, + getStylableBuildMeta, +} from './plugin-utils'; import { StylableWebpackPlugin } from './plugin'; import type { BuildData } from './types'; @@ -70,7 +74,7 @@ export function injectCssModules( for (const chunk of chunkGraph.getModuleChunksIterable(module)) { const [chunkGroup] = chunk.groupsIterable; chunkGraph.connectChunkAndModule(chunk, cssModule); - chunkGroup.setModulePostOrderIndex(cssModule, module.buildMeta.stylable.depth); + chunkGroup.setModulePostOrderIndex(cssModule, getStylableBuildMeta(module).depth); } } }); diff --git a/packages/webpack-plugin/src/plugin-utils.ts b/packages/webpack-plugin/src/plugin-utils.ts index fcfc621a8..374d5d98f 100644 --- a/packages/webpack-plugin/src/plugin-utils.ts +++ b/packages/webpack-plugin/src/plugin-utils.ts @@ -128,6 +128,10 @@ export function replaceMappedCSSAssetPlaceholders({ getData: () => data, }); + if (!assetModule.buildInfo) { + throw new Error('Missing asset module build info for ' + resourcePath); + } + if (assetModule.buildInfo.dataUrl) { // Investigate using the data map from getData currently there is an unknown in term from escaping keeping extractDataUrlFromAssetModuleSource return extractDataUrlFromAssetModuleSource( @@ -308,8 +312,16 @@ export function createStaticCSS( return cssChunks; } +export function getWebpackBuildMeta(module: Module): NonNullable { + const buildMeta = module.buildMeta; + if (!buildMeta) { + throw new Error(`Stylable module ${module.identifier()} does not contains build meta`); + } + return buildMeta; +} + export function getStylableBuildMeta(module: Module): StylableBuildMeta { - const meta = module.buildMeta.stylable; + const meta = module.buildMeta?.stylable; if (!meta) { throw new Error(`Stylable module ${module.identifier()} does not contains build meta`); } @@ -344,7 +356,7 @@ export function findIfStylableModuleUsed( let isInUse = false; for (const connectionModule of inConnections) { - if (connectionModule.buildMeta.sideEffectFree) { + if (connectionModule.buildMeta?.sideEffectFree) { const info = moduleGraph.getExportsInfo(connectionModule); const usedExports = ( info.getUsedExports as any diff --git a/packages/webpack-plugin/src/plugin.ts b/packages/webpack-plugin/src/plugin.ts index f46801b02..1faf8d487 100644 --- a/packages/webpack-plugin/src/plugin.ts +++ b/packages/webpack-plugin/src/plugin.ts @@ -34,6 +34,7 @@ import { getStylableBuildData, isDependencyOf, normalizeNamespaceCollisionOption, + getWebpackBuildMeta, } from './plugin-utils'; import { injectCssModules } from './mini-css-support'; import type { @@ -431,7 +432,7 @@ export class StylableWebpackPlugin { isUsed: undefined, ...loaderData, }; - module.buildMeta.stylable = stylableBuildMeta; + getWebpackBuildMeta(module).stylable = stylableBuildMeta; /** * We want to add the unused imports because we need them to calculate the depth correctly @@ -504,7 +505,7 @@ export class StylableWebpackPlugin { for (const module of modules) { if ( (isStylableModule(module) || isLoadedNativeCSSModule(module, moduleGraph)) && - module.buildMeta.stylable + module.buildMeta?.stylable ) { stylableModules.set(module, null); } From 275aa6abb2466739c41659cb6f38a0754144c415 Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Thu, 8 Jun 2023 10:14:39 +0300 Subject: [PATCH 07/81] infra: lang service test kit completion function expectation (#2866) --- .../features/ls-css-pseudo-class.spec.ts | 413 +++++++++--------- .../lib-new/features/ls-st-import.spec.ts | 399 ++++++++--------- .../test/test-kit/test-lang-service.ts | 73 +++- 3 files changed, 438 insertions(+), 447 deletions(-) diff --git a/packages/language-service/test/lib-new/features/ls-css-pseudo-class.spec.ts b/packages/language-service/test/lib-new/features/ls-css-pseudo-class.spec.ts index 0f890c1df..7215ba238 100644 --- a/packages/language-service/test/lib-new/features/ls-css-pseudo-class.spec.ts +++ b/packages/language-service/test/lib-new/features/ls-css-pseudo-class.spec.ts @@ -7,7 +7,7 @@ const triggerParameterHints = Command.create('additional', 'editor.action.trigge describe('LS: css-pseudo-class', () => { it('should suggest class custom states', () => { - const { service, carets, assertCompletions, textEditContext } = testLangService(` + const { service, assertCompletions } = testLangService(` .x { -st-states: xxx; } @@ -25,43 +25,41 @@ describe('LS: css-pseudo-class', () => { .z .x^complex^ .y {} `); const entryPath = '/entry.st.css'; - const entryCarets = carets[entryPath]; - const { replaceText } = textEditContext(entryPath); - assertCompletions({ + assertCompletions(entryPath, ({ filePath, carets }) => ({ message: 'classes states', - actualList: service.onCompletion(entryPath, entryCarets.afterRoot), + actualList: service.onCompletion(filePath, carets.afterRoot), expectedList: [{ label: ':aaa' }, { label: ':bbb' }], unexpectedList: [{ label: ':xxx' }, { label: ':yyy' }], - }); + })); - assertCompletions({ + assertCompletions(entryPath, ({ filePath, carets, textEdit: { replaceText } }) => ({ message: 'partial', - actualList: service.onCompletion(entryPath, entryCarets.partial), + actualList: service.onCompletion(filePath, carets.partial), expectedList: [ { label: ':aaa', - textEdit: replaceText(entryCarets.partial, ':aaa', { deltaStart: -2 }), + textEdit: replaceText(carets.partial, ':aaa', { deltaStart: -2 }), }, ], unexpectedList: [{ label: ':bbb' }], - }); + })); - assertCompletions({ + assertCompletions(entryPath, ({ filePath, carets, textEdit: { replaceText } }) => ({ message: 'complex selector', - actualList: service.onCompletion(entryPath, entryCarets.partial), + actualList: service.onCompletion(filePath, carets.partial), expectedList: [ { label: ':aaa', - textEdit: replaceText(entryCarets.partial, ':aaa', { deltaStart: -2 }), + textEdit: replaceText(carets.partial, ':aaa', { deltaStart: -2 }), }, ], unexpectedList: [{ label: ':bbb' }], - }); + })); }); it('should suggest root custom states in empty selector', () => { // ToDo: once experimentalSelectorInference is on this should not behave like this - const { service, carets, assertCompletions } = testLangService(` + const { service, assertCompletions } = testLangService(` .root { -st-states: aaa, bbb; } @@ -69,16 +67,15 @@ describe('LS: css-pseudo-class', () => { ^empty^ {} `); const entryPath = '/entry.st.css'; - const entryCarets = carets[entryPath]; - assertCompletions({ + assertCompletions(entryPath, ({ filePath, carets }) => ({ message: 'empty', - actualList: service.onCompletion(entryPath, entryCarets.empty), + actualList: service.onCompletion(filePath, carets.empty), expectedList: [{ label: ':aaa' }, { label: ':bbb' }], - }); + })); }); it('should NOT suggest used states', () => { - const { service, carets, assertCompletions } = testLangService(` + const { service, assertCompletions } = testLangService(` .x { -st-states: aaa, bbb; } @@ -86,16 +83,15 @@ describe('LS: css-pseudo-class', () => { .x:aaa^afterExistingState^ {} `); const entryPath = '/entry.st.css'; - const entryCarets = carets[entryPath]; - assertCompletions({ - actualList: service.onCompletion(entryPath, entryCarets.afterExistingState), + assertCompletions(entryPath, ({ filePath, carets }) => ({ + actualList: service.onCompletion(filePath, carets.afterExistingState), expectedList: [{ label: ':bbb' }], unexpectedList: [{ label: ':aaa' }], - }); + })); }); it('should suggest pseudo-element custom states', () => { - const { service, carets, assertCompletions } = testLangService(` + const { service, assertCompletions } = testLangService(` .root {} .part { -st-states: aaa, bbb; @@ -104,15 +100,14 @@ describe('LS: css-pseudo-class', () => { .root::part^afterPseudoElement^ {} `); const entryPath = '/entry.st.css'; - const entryCarets = carets[entryPath]; - assertCompletions({ - actualList: service.onCompletion(entryPath, entryCarets.afterPseudoElement), + assertCompletions(entryPath, ({ filePath, carets }) => ({ + actualList: service.onCompletion(filePath, carets.afterPseudoElement), expectedList: [{ label: ':aaa' }, { label: ':bbb' }], - }); + })); }); it('should suggest states from extended class', () => { - const { service, carets, assertCompletions } = testLangService(` + const { service, assertCompletions } = testLangService(` .y { -st-states: aaa, bbb; } @@ -124,20 +119,19 @@ describe('LS: css-pseudo-class', () => { .x^afterClass^ {} `); const entryPath = '/entry.st.css'; - const entryCarets = carets[entryPath]; - assertCompletions({ - actualList: service.onCompletion(entryPath, entryCarets.afterClass), + assertCompletions(entryPath, ({ filePath, carets }) => ({ + actualList: service.onCompletion(filePath, carets.afterClass), expectedList: [ { label: ':aaa' }, { label: ':bbb' }, { label: ':ccc' }, { label: ':ddd' }, ], - }); + })); }); it('should provide nested context', () => { - const { service, carets, assertCompletions } = testLangService(` + const { service, assertCompletions } = testLangService(` .root { -st-states: rrr; } @@ -161,31 +155,30 @@ describe('LS: css-pseudo-class', () => { } `); - const entryCarets = carets['/entry.st.css']; - assertCompletions({ + assertCompletions('/entry.st.css', ({ filePath, carets }) => ({ message: 'nestRoot', - actualList: service.onCompletion('/entry.st.css', entryCarets.nestRoot), + actualList: service.onCompletion(filePath, carets.nestRoot), expectedList: [{ label: ':rrr' }], unexpectedList: [{ label: ':aaa' }, { label: ':bbb' }], - }); + })); - assertCompletions({ + assertCompletions('/entry.st.css', ({ filePath, carets }) => ({ message: 'nestA', - actualList: service.onCompletion('/entry.st.css', entryCarets.nestA), + actualList: service.onCompletion(filePath, carets.nestA), expectedList: [{ label: ':aaa' }], unexpectedList: [{ label: ':rrr' }, { label: ':bbb' }], - }); + })); - assertCompletions({ + assertCompletions('/entry.st.css', ({ filePath, carets }) => ({ message: 'nestB', - actualList: service.onCompletion('/entry.st.css', entryCarets.nestB), + actualList: service.onCompletion(filePath, carets.nestB), expectedList: [{ label: ':bbb' }], unexpectedList: [{ label: ':rrr' }, { label: ':aaa' }], - }); + })); }); it('should NOT suggest states after ::', () => { - const { service, carets, assertCompletions } = testLangService(` + const { service, assertCompletions } = testLangService(` .x { -st-states: aaa, bbb; } @@ -193,19 +186,18 @@ describe('LS: css-pseudo-class', () => { .x::^afterDoubleColon^ {} `); const entryPath = '/entry.st.css'; - const entryCarets = carets[entryPath]; - assertCompletions({ - actualList: service.onCompletion(entryPath, entryCarets.afterDoubleColon), + assertCompletions(entryPath, ({ filePath, carets }) => ({ + actualList: service.onCompletion(filePath, carets.afterDoubleColon), unexpectedList: [{ label: ':aaa' }, { label: ':bbb' }], - }); + })); }); describe.skip('definition', () => { /*ToDo: move tests when implementation is refactored*/ }); describe('state with param', () => { it('should suggest state with parenthesis', () => { - const { service, carets, assertCompletions, textEditContext } = testLangService(` + const { service, assertCompletions } = testLangService(` .x { -st-states: word(string), @@ -215,30 +207,28 @@ describe('LS: css-pseudo-class', () => { .x^afterClass^ {} `); const entryPath = '/entry.st.css'; - const entryCarets = carets[entryPath]; - const { replaceText } = textEditContext(entryPath); - assertCompletions({ - actualList: service.onCompletion(entryPath, entryCarets.afterClass), + assertCompletions(entryPath, ({ filePath, carets, textEdit: { replaceText } }) => ({ + actualList: service.onCompletion(filePath, carets.afterClass), expectedList: [ { label: ':word()', - textEdit: replaceText(entryCarets.afterClass, ':word($1)'), + textEdit: replaceText(carets.afterClass, ':word($1)'), command: triggerParameterHints, }, { label: ':size()', - textEdit: replaceText(entryCarets.afterClass, ':size($1)'), + textEdit: replaceText(carets.afterClass, ':size($1)'), command: triggerCompletion, }, ], - }); + })); }); it('should suggest enum possible parameters', () => { // ToDo: prevent names native css lsp from suggesting inside states definitions. // because native css lsp is returning results that mix with fixture // (everything is with prefixed with 'x') - const { service, carets, assertCompletions, textEditContext } = testLangService(` + const { service, assertCompletions } = testLangService(` .root { -st-states: size(enum(xsmall, xmedium, xbig, xbigger)), @@ -251,12 +241,10 @@ describe('LS: css-pseudo-class', () => { .root:size(xb^partialEnumParam^) {} `); const entryPath = '/entry.st.css'; - const entryCarets = carets[entryPath]; - const { replaceText } = textEditContext(entryPath); - assertCompletions({ + assertCompletions(entryPath, ({ filePath, carets }) => ({ message: 'empty param', - actualList: service.onCompletion(entryPath, entryCarets.emptyEnumParam), + actualList: service.onCompletion(filePath, carets.emptyEnumParam), expectedList: [ { label: 'xsmall' }, { label: 'xmedium' }, @@ -272,32 +260,32 @@ describe('LS: css-pseudo-class', () => { { label: ':global()' }, // ToDo: disable native-css-lsp in this context: { label: '.partA' }, ], - }); + })); - assertCompletions({ + assertCompletions(entryPath, ({ filePath, carets, textEdit: { replaceText } }) => ({ message: 'partial param', - actualList: service.onCompletion(entryPath, entryCarets.partialEnumParam), + actualList: service.onCompletion(filePath, carets.partialEnumParam), expectedList: [ { label: 'xbig', - textEdit: replaceText(entryCarets.partialEnumParam, 'xbig', { + textEdit: replaceText(carets.partialEnumParam, 'xbig', { deltaStart: -2, }), }, { label: 'xbigger', - textEdit: replaceText(entryCarets.partialEnumParam, 'xbigger', { + textEdit: replaceText(carets.partialEnumParam, 'xbigger', { deltaStart: -2, }), }, ], unexpectedList: [{ label: 'xsmall' }, { label: 'xmedium' }], - }); + })); }); }); describe('st-scope', () => { it('should suggest class custom states (in st-scope params)', () => { - const { service, carets, assertCompletions } = testLangService(` + const { service, assertCompletions } = testLangService(` .root { -st-states: aaa,bbb; } @@ -307,20 +295,19 @@ describe('LS: css-pseudo-class', () => { @st-scope ^empty^ {} `); - const entryCarets = carets['/entry.st.css']; - assertCompletions({ - actualList: service.onCompletion('/entry.st.css', entryCarets.afterRoot), + assertCompletions('/entry.st.css', ({ filePath, carets }) => ({ + actualList: service.onCompletion(filePath, carets.afterRoot), expectedList: [{ label: ':aaa' }, { label: ':bbb' }], - }); + })); - assertCompletions({ - actualList: service.onCompletion('/entry.st.css', entryCarets.empty), + assertCompletions('/entry.st.css', ({ filePath, carets }) => ({ + actualList: service.onCompletion(filePath, carets.empty), expectedList: [{ label: ':aaa' }, { label: ':bbb' }], - }); + })); }); it('should suggest class custom states with nesting selector', () => { - const { service, carets, assertCompletions, textEditContext } = testLangService(` + const { service, assertCompletions } = testLangService(` .x { -st-states: aaa,bbb; } @@ -338,57 +325,61 @@ describe('LS: css-pseudo-class', () => { } } `); - const entryCarets = carets['/entry.st.css']; - const { replaceText } = textEditContext('/entry.st.css'); - assertCompletions({ + assertCompletions('/entry.st.css', ({ filePath, carets }) => ({ message: 'after &', - actualList: service.onCompletion('/entry.st.css', entryCarets.nest), + actualList: service.onCompletion(filePath, carets.nest), expectedList: [{ label: ':aaa' }, { label: ':bbb' }], - }); + })); - assertCompletions({ + assertCompletions('/entry.st.css', ({ filePath, carets }) => ({ message: 'after & in media', - actualList: service.onCompletion('/entry.st.css', entryCarets.nestInMedia), + actualList: service.onCompletion(filePath, carets.nestInMedia), expectedList: [{ label: ':aaa' }, { label: ':bbb' }], - }); - - assertCompletions({ - message: 'after &:', - actualList: service.onCompletion('/entry.st.css', entryCarets.nestColon), - expectedList: [ - { - label: ':aaa', - textEdit: replaceText(entryCarets.nestColon, ':aaa', { deltaStart: -1 }), - }, - { - label: ':bbb', - textEdit: replaceText(entryCarets.nestColon, ':bbb', { deltaStart: -1 }), - }, - ], - }); + })); + + assertCompletions( + '/entry.st.css', + ({ filePath, carets, textEdit: { replaceText } }) => ({ + message: 'after &:', + actualList: service.onCompletion(filePath, carets.nestColon), + expectedList: [ + { + label: ':aaa', + textEdit: replaceText(carets.nestColon, ':aaa', { deltaStart: -1 }), + }, + { + label: ':bbb', + textEdit: replaceText(carets.nestColon, ':bbb', { deltaStart: -1 }), + }, + ], + }) + ); - assertCompletions({ - message: 'after &: in media', - actualList: service.onCompletion('/entry.st.css', entryCarets.nestColonInMedia), - expectedList: [ - { - label: ':aaa', - textEdit: replaceText(entryCarets.nestColonInMedia, ':aaa', { - deltaStart: -1, - }), - }, - { - label: ':bbb', - textEdit: replaceText(entryCarets.nestColonInMedia, ':bbb', { - deltaStart: -1, - }), - }, - ], - }); + assertCompletions( + '/entry.st.css', + ({ filePath, carets, textEdit: { replaceText } }) => ({ + message: 'after &: in media', + actualList: service.onCompletion(filePath, carets.nestColonInMedia), + expectedList: [ + { + label: ':aaa', + textEdit: replaceText(carets.nestColonInMedia, ':aaa', { + deltaStart: -1, + }), + }, + { + label: ':bbb', + textEdit: replaceText(carets.nestColonInMedia, ':bbb', { + deltaStart: -1, + }), + }, + ], + }) + ); }); it('should suggest root custom states an empty nested selector', () => { - const { service, carets, assertCompletions, textEditContext } = testLangService(` + const { service, assertCompletions } = testLangService(` .root { -st-states: root-state; } @@ -409,54 +400,58 @@ describe('LS: css-pseudo-class', () => { } } `); - const entryCarets = carets['/entry.st.css']; - const { replaceText } = textEditContext('/entry.st.css'); - assertCompletions({ + assertCompletions('/entry.st.css', ({ filePath, carets }) => ({ message: 'empty', - actualList: service.onCompletion('/entry.st.css', entryCarets.empty), + actualList: service.onCompletion(filePath, carets.empty), expectedList: [{ label: ':root-state' }], unexpectedList: [{ label: ':aaa' }, { label: ':bbb' }], - }); + })); - assertCompletions({ + assertCompletions('/entry.st.css', ({ filePath, carets }) => ({ message: 'empty in media', - actualList: service.onCompletion('/entry.st.css', entryCarets.emptyInMedia), + actualList: service.onCompletion(filePath, carets.emptyInMedia), expectedList: [{ label: ':root-state' }], unexpectedList: [{ label: ':aaa' }, { label: ':bbb' }], - }); - - assertCompletions({ - message: 'colon', - actualList: service.onCompletion('/entry.st.css', entryCarets.colon), - expectedList: [ - { - label: ':root-state', - textEdit: replaceText(entryCarets.colon, ':root-state', { - deltaStart: -1, - }), - }, - ], - unexpectedList: [{ label: ':aaa' }, { label: ':bbb' }], - }); + })); + + assertCompletions( + '/entry.st.css', + ({ filePath, carets, textEdit: { replaceText } }) => ({ + message: 'colon', + actualList: service.onCompletion(filePath, carets.colon), + expectedList: [ + { + label: ':root-state', + textEdit: replaceText(carets.colon, ':root-state', { + deltaStart: -1, + }), + }, + ], + unexpectedList: [{ label: ':aaa' }, { label: ':bbb' }], + }) + ); - assertCompletions({ - message: 'colonInMedia', - actualList: service.onCompletion('/entry.st.css', entryCarets.colonInMedia), - expectedList: [ - { - label: ':root-state', - textEdit: replaceText(entryCarets.colonInMedia, ':root-state', { - deltaStart: -1, - }), - }, - ], - unexpectedList: [{ label: ':aaa' }, { label: ':bbb' }], - }); + assertCompletions( + '/entry.st.css', + ({ filePath, carets, textEdit: { replaceText } }) => ({ + message: 'colonInMedia', + actualList: service.onCompletion(filePath, carets.colonInMedia), + expectedList: [ + { + label: ':root-state', + textEdit: replaceText(carets.colonInMedia, ':root-state', { + deltaStart: -1, + }), + }, + ], + unexpectedList: [{ label: ':aaa' }, { label: ':bbb' }], + }) + ); }); it('should suggest matching intersection states', () => { const tempDir = createTempDirectorySync('lps-import-test-'); - const { service, carets, assertCompletions, textEditContext, fs } = testLangService( + const { service, assertCompletions, fs } = testLangService( { 'comp.st.css': ` .root { @@ -488,31 +483,29 @@ describe('LS: css-pseudo-class', () => { { testOnNativeFileSystem: tempDir.path } ); const entryPath = fs.join(tempDir.path, 'entry.st.css'); - const entryCarets = carets[entryPath]; - const { replaceText } = textEditContext(entryPath); - assertCompletions({ - actualList: service.onCompletion(entryPath, entryCarets.inScope), + assertCompletions(entryPath, ({ filePath, carets }) => ({ + actualList: service.onCompletion(filePath, carets.inScope), expectedList: [{ label: ':root-state' }, { label: ':comp-state' }], unexpectedList: [{ label: ':shared' }, { label: ':onlyA' }, { label: ':onlyB' }], - }); + })); - assertCompletions({ - actualList: service.onCompletion(entryPath, entryCarets.nest), + assertCompletions(entryPath, ({ filePath, carets }) => ({ + actualList: service.onCompletion(filePath, carets.nest), expectedList: [{ label: ':shared' }], unexpectedList: [ { label: ':onlyA' }, { label: ':onlyB' }, { label: ':root-state' }, ], - }); + })); - assertCompletions({ - actualList: service.onCompletion(entryPath, entryCarets.nestColon), + assertCompletions(entryPath, ({ filePath, carets, textEdit: { replaceText } }) => ({ + actualList: service.onCompletion(filePath, carets.nestColon), expectedList: [ { label: ':shared', - textEdit: replaceText(entryCarets.nestColon, ':shared', { + textEdit: replaceText(carets.nestColon, ':shared', { deltaStart: -1, }), }, @@ -522,12 +515,12 @@ describe('LS: css-pseudo-class', () => { { label: ':onlyB' }, { label: ':root-state' }, ], - }); + })); }); }); describe('nesting', () => { it('should infer nest from parent nesting selector', () => { - const { service, carets, assertCompletions } = testLangService(` + const { service, assertCompletions } = testLangService(` .root { -st-states: root-state; } @@ -552,26 +545,25 @@ describe('LS: css-pseudo-class', () => { } } `); - const entryCarets = carets['/entry.st.css']; - assertCompletions({ + assertCompletions('/entry.st.css', ({ filePath, carets }) => ({ message: 'nest', - actualList: service.onCompletion('/entry.st.css', entryCarets.nest), + actualList: service.onCompletion(filePath, carets.nest), expectedList: [{ label: ':part-state' }], unexpectedList: [{ label: ':root-state' }], - }); - assertCompletions({ + })); + assertCompletions('/entry.st.css', ({ filePath, carets }) => ({ message: 'doubleNest', - actualList: service.onCompletion('/entry.st.css', entryCarets.doubleNest), + actualList: service.onCompletion(filePath, carets.doubleNest), expectedList: [{ label: ':part-state' }], unexpectedList: [{ label: ':root-state' }], - }); - assertCompletions({ + })); + assertCompletions('/entry.st.css', ({ filePath, carets }) => ({ message: 'nestUnderNonAmp', - actualList: service.onCompletion('/entry.st.css', entryCarets.nestUnderNonAmp), + actualList: service.onCompletion(filePath, carets.nestUnderNonAmp), expectedList: [{ label: ':root-state' }], unexpectedList: [{ label: ':part-state' }], - }); + })); }); }); describe('st-import', () => { @@ -583,7 +575,7 @@ describe('LS: css-pseudo-class', () => { tempDir.remove(); }); it('should suggest states from imported class', () => { - const { service, carets, assertCompletions, fs } = testLangService( + const { service, assertCompletions, fs } = testLangService( { 'origin.st.css': ` .root { @@ -614,35 +606,34 @@ describe('LS: css-pseudo-class', () => { { testOnNativeFileSystem: tempDir.path } ); const entryPath = fs.join(tempDir.path, 'entry.st.css'); - const entryCarets = carets[entryPath]; - assertCompletions({ + assertCompletions(entryPath, ({ filePath, carets }) => ({ message: 'default class', - actualList: service.onCompletion(entryPath, entryCarets.defaultClass), + actualList: service.onCompletion(filePath, carets.defaultClass), expectedList: [{ label: ':stateX' }], unexpectedList: [{ label: ':stateY' }, { label: ':stateZ' }, { label: ':stateR' }], - }); - assertCompletions({ + })); + assertCompletions(entryPath, ({ filePath, carets }) => ({ message: 'named class', - actualList: service.onCompletion(entryPath, entryCarets.namedClass), + actualList: service.onCompletion(filePath, carets.namedClass), expectedList: [{ label: ':stateY' }], unexpectedList: [{ label: ':stateX' }, { label: ':stateZ' }, { label: ':stateR' }], - }); - assertCompletions({ + })); + assertCompletions(entryPath, ({ filePath, carets }) => ({ message: 'extending default (root)', - actualList: service.onCompletion(entryPath, entryCarets.extendingDefault), + actualList: service.onCompletion(filePath, carets.extendingDefault), expectedList: [{ label: ':stateX' }, { label: ':stateR' }], unexpectedList: [{ label: ':stateY' }, { label: ':stateZ' }], - }); - assertCompletions({ + })); + assertCompletions(entryPath, ({ filePath, carets }) => ({ message: 'extending named', - actualList: service.onCompletion(entryPath, entryCarets.extendingClass), + actualList: service.onCompletion(filePath, carets.extendingClass), expectedList: [{ label: ':stateY' }, { label: ':stateZ' }], unexpectedList: [{ label: ':stateX' }, { label: ':stateR' }], - }); + })); }); it('should suggest states for pseudo-elements', () => { - const { service, carets, assertCompletions, fs } = testLangService( + const { service, assertCompletions, fs } = testLangService( { 'part-base.st.css': ` .root { @@ -680,28 +671,27 @@ describe('LS: css-pseudo-class', () => { { testOnNativeFileSystem: tempDir.path } ); const entryPath = fs.join(tempDir.path, 'entry.st.css'); - const entryCarets = carets[entryPath]; - assertCompletions({ + assertCompletions(entryPath, ({ filePath, carets }) => ({ message: 'after pseudo element', - actualList: service.onCompletion(entryPath, entryCarets.afterPseudoElement), + actualList: service.onCompletion(filePath, carets.afterPseudoElement), expectedList: [{ label: ':part-state' }, { label: ':another-part-state' }], unexpectedList: [{ label: ':root-state' }], - }); - assertCompletions({ + })); + assertCompletions(entryPath, ({ filePath, carets }) => ({ message: 'after existing state', - actualList: service.onCompletion(entryPath, entryCarets.afterUsedState), + actualList: service.onCompletion(filePath, carets.afterUsedState), expectedList: [{ label: ':part-state' }], unexpectedList: [{ label: ':root-state' }, { label: ':another-part-state' }], - }); - assertCompletions({ + })); + assertCompletions(entryPath, ({ filePath, carets }) => ({ message: 'after 2 levels of pseudo-elements', - actualList: service.onCompletion(entryPath, entryCarets.inDeepPseudoElement), + actualList: service.onCompletion(filePath, carets.inDeepPseudoElement), expectedList: [{ label: ':xxx' }], - }); + })); }); it('should suggest enum possible parameters', () => { - const { service, carets, assertCompletions, fs } = testLangService( + const { service, assertCompletions, fs } = testLangService( { 'origin.st.css': ` .root { @@ -718,19 +708,18 @@ describe('LS: css-pseudo-class', () => { { testOnNativeFileSystem: tempDir.path } ); const entryPath = fs.join(tempDir.path, 'entry.st.css'); - const entryCarets = carets[entryPath]; - assertCompletions({ + assertCompletions(entryPath, ({ filePath, carets }) => ({ message: 'empty', - actualList: service.onCompletion(entryPath, entryCarets.empty), + actualList: service.onCompletion(filePath, carets.empty), expectedList: [{ label: 'shirt' }, { label: 'hat' }], - }); - assertCompletions({ + })); + assertCompletions(entryPath, ({ filePath, carets }) => ({ message: 'partial', - actualList: service.onCompletion(entryPath, entryCarets.partial), + actualList: service.onCompletion(filePath, carets.partial), expectedList: [{ label: 'shirt' }], unexpectedList: [{ label: 'hat' }], - }); + })); }); }); }); diff --git a/packages/language-service/test/lib-new/features/ls-st-import.spec.ts b/packages/language-service/test/lib-new/features/ls-st-import.spec.ts index caeee38da..9612fb5eb 100644 --- a/packages/language-service/test/lib-new/features/ls-st-import.spec.ts +++ b/packages/language-service/test/lib-new/features/ls-st-import.spec.ts @@ -18,7 +18,7 @@ describe('LS: st-import', () => { it('should suggest @st-import at top level', () => { // ToDo: refactor code to be handled as part of the st-import feature // and use new ls-context instead of TopLevelDirectiveProvider - const { service, carets, assertCompletions, fs, textEditContext } = testLangService( + const { service, assertCompletions, fs } = testLangService( { 'a.st.css': ` ^topLevel^ @@ -47,53 +47,49 @@ describe('LS: st-import', () => { const aPath = fs.join(tempDir.path, 'a.st.css'); const bPath = fs.join(tempDir.path, 'b.st.css'); const cPath = fs.join(tempDir.path, 'c.st.css'); - const aCarets = carets[aPath]; - const bCarets = carets[bPath]; - const cCarets = carets[cPath]; - const { replaceText: bReplaceText } = textEditContext(bPath); - assertCompletions({ + assertCompletions(aPath, ({ filePath, carets }) => ({ message: 'top-level', - actualList: service.onCompletion(aPath, aCarets.topLevel), + actualList: service.onCompletion(filePath, carets.topLevel), expectedList: [{ label: '@st-import' }], - }); - assertCompletions({ + })); + assertCompletions(bPath, ({ filePath, carets, textEdit: { replaceText } }) => ({ message: 'partial', - actualList: service.onCompletion(bPath, bCarets.partial), + actualList: service.onCompletion(filePath, carets.partial), expectedList: [ { label: '@st-import', - textEdit: bReplaceText(bCarets.partial, `@st-import $2 from "$1";`, { + textEdit: replaceText(carets.partial, `@st-import $2 from "$1";`, { deltaStart: -3, }), }, ], - }); - assertCompletions({ + })); + assertCompletions(cPath, ({ filePath, carets }) => ({ message: 'nested-in-rule', - actualList: service.onCompletion(cPath, cCarets.nestedInRule), + actualList: service.onCompletion(filePath, carets.nestedInRule), unexpectedList: [{ label: '@st-import' }], - }); + })); // ToDo: remove specific at-rules handling - @st-import should only be top level - assertCompletions({ + assertCompletions(cPath, ({ filePath, carets }) => ({ message: 'nested-in-media', - actualList: service.onCompletion(cPath, cCarets.nestedInMedia), + actualList: service.onCompletion(filePath, carets.nestedInMedia), unexpectedList: [{ label: '@st-import' }], - }); - assertCompletions({ + })); + assertCompletions(cPath, ({ filePath, carets }) => ({ message: 'nested-in-st-scope', - actualList: service.onCompletion(cPath, cCarets.nestedInStScope), + actualList: service.onCompletion(filePath, carets.nestedInStScope), unexpectedList: [{ label: '@st-import' }], - }); - assertCompletions({ + })); + assertCompletions(cPath, ({ filePath, carets }) => ({ message: 'before-selector', - actualList: service.onCompletion(cPath, cCarets.beforeSelector), + actualList: service.onCompletion(filePath, carets.beforeSelector), unexpectedList: [{ label: '@st-import' }], - }); + })); }); describe('named imports', () => { it('should suggest named imports', () => { - const { service, carets, assertCompletions, fs, textEditContext } = testLangService( + const { service, assertCompletions, fs } = testLangService( { 'source.st.css': ` .classA {} @@ -116,12 +112,10 @@ describe('LS: st-import', () => { { testOnNativeFileSystem: tempDir.path } ); const entryPath = fs.join(tempDir.path, 'entry.st.css'); - const entryCarets = carets[entryPath]; - const { replaceText } = textEditContext(entryPath); - assertCompletions({ + assertCompletions(entryPath, ({ filePath, carets }) => ({ message: 'top', - actualList: service.onCompletion(entryPath, entryCarets.topEmpty), + actualList: service.onCompletion(filePath, carets.topEmpty), expectedList: [ { label: 'root', @@ -165,19 +159,19 @@ describe('LS: st-import', () => { { label: 'jump' }, { label: 'comp' }, ], - }); + })); - assertCompletions({ + assertCompletions(entryPath, ({ filePath, carets, textEdit: { replaceText } }) => ({ message: 'partial', - actualList: service.onCompletion(entryPath, entryCarets.partial), + actualList: service.onCompletion(filePath, carets.partial), expectedList: [ { label: '--propA', - textEdit: replaceText(entryCarets.partial, '--propA', { deltaStart: -5 }), + textEdit: replaceText(carets.partial, '--propA', { deltaStart: -5 }), }, { label: '--propB', - textEdit: replaceText(entryCarets.partial, '--propB', { deltaStart: -5 }), + textEdit: replaceText(carets.partial, '--propB', { deltaStart: -5 }), }, ], unexpectedList: [ @@ -189,13 +183,12 @@ describe('LS: st-import', () => { { label: 'jump' }, { label: 'comp' }, ], - }); + })); }); it('should suggest typed named imports', () => { - const { service, carets, assertCompletions, fs, textEditContext, completion } = - testLangService( - { - 'source.st.css': ` + const { service, assertCompletions, fs, completion } = testLangService( + { + 'source.st.css': ` .aClass { --aProp: 1; container-name: aContainer; @@ -209,7 +202,7 @@ describe('LS: st-import', () => { @layer aLayer {} @layer bLayer {} `, - 'entry.st.css': ` + 'entry.st.css': ` @st-import [ keyframes(^keyframesEmpty^) layer(^layerEmpty^) @@ -221,21 +214,19 @@ describe('LS: st-import', () => { container(a^containerPartial^) ] from './source.st.css'; `, - }, - { testOnNativeFileSystem: tempDir.path } - ); + }, + { testOnNativeFileSystem: tempDir.path } + ); const entryPath = fs.join(tempDir.path, 'entry.st.css'); - const entryCarets = carets[entryPath]; - const { replaceText } = textEditContext(entryPath); const capitalize = (value: string) => value[0].toUpperCase() + value.slice(1); const supportedTypes = ['keyframes', 'layer', 'container'] as const; const allTypes = ['class', 'prop', 'buildVar', ...supportedTypes] as const; for (const type of supportedTypes) { const capitalizedType = capitalize(type); - assertCompletions({ + assertCompletions(entryPath, ({ filePath, carets }) => ({ message: `empty ${type}`, - actualList: service.onCompletion(entryPath, entryCarets[type + 'Empty']), + actualList: service.onCompletion(filePath, carets[type + 'Empty']), expectedList: [ // a&b param from type ...completion(['a' + capitalizedType, 'b' + capitalizedType], (name) => ({ @@ -261,19 +252,17 @@ describe('LS: st-import', () => { }) ), ], - }); - assertCompletions({ + })); + assertCompletions(entryPath, ({ filePath, carets, textEdit: { replaceText } }) => ({ message: `partial ${type}`, - actualList: service.onCompletion(entryPath, entryCarets[type + 'Partial']), + actualList: service.onCompletion(filePath, carets[type + 'Partial']), expectedList: [ // a param from type (without b) { label: 'a' + capitalizedType, - textEdit: replaceText( - entryCarets[type + 'Partial'], - 'a' + capitalizedType, - { deltaStart: -1 } - ), + textEdit: replaceText(carets[type + 'Partial'], 'a' + capitalizedType, { + deltaStart: -1, + }), detail: stImportNamedCompletion.detail({ relativePath: './source.st.css', symbol: { _kind: type, name: 'a' + capitalizedType }, @@ -296,16 +285,15 @@ describe('LS: st-import', () => { }) ), ], - }); + })); } }); it('should suggest typed import asserters', () => { - const { service, carets, assertCompletions, fs, completion, textEditContext } = - testLangService( - { - 'source.st.css': ``, - 'code.js': ``, - 'entry.st.css': ` + const { service, assertCompletions, fs, completion } = testLangService( + { + 'source.st.css': ``, + 'code.js': ``, + 'entry.st.css': ` @st-import [ ^topLevelEmpty^ ] from './source.st.css'; @@ -324,32 +312,30 @@ describe('LS: st-import', () => { keyframes(^onlyInCSS^) ] from './code.js'; `, - }, - { testOnNativeFileSystem: tempDir.path } - ); + }, + { testOnNativeFileSystem: tempDir.path } + ); const entryPath = fs.join(tempDir.path, 'entry.st.css'); - const entryCarets = carets[entryPath]; - const { replaceText } = textEditContext(entryPath); const supportedTypes = ['keyframes', 'layer', 'container'] as const; - assertCompletions({ + assertCompletions(entryPath, ({ filePath, carets }) => ({ message: `all`, - actualList: service.onCompletion(entryPath, entryCarets['topLevelEmpty']), + actualList: service.onCompletion(filePath, carets['topLevelEmpty']), expectedList: [ ...completion([...supportedTypes], (type) => ({ label: type + '()', detail: stImportNamedCompletion.typeAssertCallDetail(type), })), ], - }); - assertCompletions({ + })); + assertCompletions(entryPath, ({ filePath, carets, textEdit: { replaceText } }) => ({ message: `partial`, - actualList: service.onCompletion(entryPath, entryCarets['topPartial']), + actualList: service.onCompletion(filePath, carets['topPartial']), expectedList: [ // partial "lay" - only layer() { label: 'layer()', - textEdit: replaceText(entryCarets['topPartial'], 'layer($1)', { + textEdit: replaceText(carets['topPartial'], 'layer($1)', { deltaStart: -3, }), detail: stImportNamedCompletion.typeAssertCallDetail('layer'), @@ -363,15 +349,15 @@ describe('LS: st-import', () => { (type) => ({ label: type + '()' }) ), ], - }); - assertCompletions({ + })); + assertCompletions(entryPath, ({ filePath, carets, textEdit: { replaceText } }) => ({ message: `with existing`, - actualList: service.onCompletion(entryPath, entryCarets['topWithExisting']), + actualList: service.onCompletion(filePath, carets['topWithExisting']), expectedList: [ // keyframes&layer already exist - only container { label: 'container()', - textEdit: replaceText(entryCarets['topWithExisting'], 'container($1)'), + textEdit: replaceText(carets['topWithExisting'], 'container($1)'), detail: stImportNamedCompletion.typeAssertCallDetail('container'), command: triggerCompletion, }, @@ -383,26 +369,26 @@ describe('LS: st-import', () => { (type) => ({ label: type + '()' }) ), ], - }); - assertCompletions({ + })); + assertCompletions(entryPath, ({ filePath, carets }) => ({ message: `only at top of params`, - actualList: service.onCompletion(entryPath, entryCarets['notTop']), + actualList: service.onCompletion(filePath, carets['notTop']), unexpectedList: [ // all ...completion([...supportedTypes], (type) => ({ label: type + '()' })), ], - }); - assertCompletions({ + })); + assertCompletions(entryPath, ({ filePath, carets }) => ({ message: `only in CSS`, - actualList: service.onCompletion(entryPath, entryCarets['onlyInCSS']), + actualList: service.onCompletion(filePath, carets['onlyInCSS']), unexpectedList: [ // all ...completion([...supportedTypes], (type) => ({ label: type + '()' })), ], - }); + })); }); it('should suggest re-exports', () => { - const { service, carets, assertCompletions, fs } = testLangService( + const { service, assertCompletions, fs } = testLangService( { 'origin.st.css': ` .originClassA { @@ -442,11 +428,10 @@ describe('LS: st-import', () => { { testOnNativeFileSystem: tempDir.path } ); const entryPath = fs.join(tempDir.path, 'entry.st.css'); - const entryCarets = carets[entryPath]; - assertCompletions({ + assertCompletions(entryPath, ({ filePath, carets }) => ({ message: 'top', - actualList: service.onCompletion(entryPath, entryCarets.topEmpty), + actualList: service.onCompletion(filePath, carets.topEmpty), expectedList: [ { label: 'root', @@ -485,10 +470,10 @@ describe('LS: st-import', () => { }, ], unexpectedList: [{ label: 'proxyJump' }, { label: 'proxyComp' }], - }); + })); }); it('should show global information as part of detail', () => { - const { service, carets, assertCompletions, fs } = testLangService( + const { service, assertCompletions, fs } = testLangService( { 'source.st.css': ` .classA { @@ -508,11 +493,10 @@ describe('LS: st-import', () => { { testOnNativeFileSystem: tempDir.path } ); const entryPath = fs.join(tempDir.path, 'entry.st.css'); - const entryCarets = carets[entryPath]; - assertCompletions({ + assertCompletions(entryPath, ({ filePath, carets }) => ({ message: 'top', - actualList: service.onCompletion(entryPath, entryCarets.top), + actualList: service.onCompletion(filePath, carets.top), expectedList: [ { label: 'classA', @@ -533,10 +517,10 @@ describe('LS: st-import', () => { }), }, ], - }); - assertCompletions({ + })); + assertCompletions(entryPath, ({ filePath, carets }) => ({ message: 'keyframes', - actualList: service.onCompletion(entryPath, entryCarets.keyframes), + actualList: service.onCompletion(filePath, carets.keyframes), expectedList: [ { label: 'jump', @@ -546,10 +530,10 @@ describe('LS: st-import', () => { }), }, ], - }); - assertCompletions({ + })); + assertCompletions(entryPath, ({ filePath, carets }) => ({ message: 'layer', - actualList: service.onCompletion(entryPath, entryCarets.layer), + actualList: service.onCompletion(filePath, carets.layer), expectedList: [ { label: 'comps', @@ -559,10 +543,10 @@ describe('LS: st-import', () => { }), }, ], - }); - assertCompletions({ + })); + assertCompletions(entryPath, ({ filePath, carets }) => ({ message: 'container', - actualList: service.onCompletion(entryPath, entryCarets.container), + actualList: service.onCompletion(filePath, carets.container), expectedList: [ { label: 'box', @@ -572,10 +556,10 @@ describe('LS: st-import', () => { }), }, ], - }); + })); }); it('should suggest symbols from native css', () => { - const { service, carets, assertCompletions, fs } = testLangService( + const { service, assertCompletions, fs } = testLangService( { 'native.css': ` .classA {} @@ -596,11 +580,10 @@ describe('LS: st-import', () => { } ); const entryPath = fs.join(tempDir.path, 'entry.st.css'); - const entryCarets = carets[entryPath]; - assertCompletions({ + assertCompletions(entryPath, ({ filePath, carets }) => ({ message: 'top', - actualList: service.onCompletion(entryPath, entryCarets.top), + actualList: service.onCompletion(filePath, carets.top), expectedList: [ { label: 'classA', @@ -632,10 +615,10 @@ describe('LS: st-import', () => { }), }, ], - }); + })); }); it('should suggest symbols from js', () => { - const { service, carets, assertCompletions, fs, textEditContext } = testLangService( + const { service, assertCompletions, fs } = testLangService( { 'code.js': ` exports.mixinA = function mixinA(){} @@ -653,12 +636,10 @@ describe('LS: st-import', () => { { testOnNativeFileSystem: tempDir.path } ); const entryPath = fs.join(tempDir.path, 'entry.st.css'); - const entryCarets = carets[entryPath]; - const { replaceText } = textEditContext(entryPath); - assertCompletions({ + assertCompletions(entryPath, ({ filePath, carets }) => ({ message: 'top', - actualList: service.onCompletion(entryPath, entryCarets.top), + actualList: service.onCompletion(filePath, carets.top), expectedList: [ { label: 'mixinA', @@ -709,11 +690,11 @@ describe('LS: st-import', () => { }), }, ], - }); + })); - assertCompletions({ + assertCompletions(entryPath, ({ filePath, carets, textEdit: { replaceText } }) => ({ message: 'partial', - actualList: service.onCompletion(entryPath, entryCarets.partial), + actualList: service.onCompletion(filePath, carets.partial), expectedList: [ { label: 'mixinA', @@ -723,7 +704,7 @@ describe('LS: st-import', () => { /**/ }, }), - textEdit: replaceText(entryCarets.partial, 'mixinA', { deltaStart: -3 }), + textEdit: replaceText(carets.partial, 'mixinA', { deltaStart: -3 }), }, { label: 'mixinB', @@ -733,16 +714,16 @@ describe('LS: st-import', () => { /**/ }, }), - textEdit: replaceText(entryCarets.partial, 'mixinB', { deltaStart: -3 }), + textEdit: replaceText(carets.partial, 'mixinB', { deltaStart: -3 }), }, ], unexpectedList: [{ label: 'formatterA' }, { label: 'strA' }, { label: 'boolA' }], - }); + })); }); }); describe('specifier completion', () => { it('should suggest relative paths', () => { - const { service, carets, assertCompletions, fs } = testLangService( + const { service, assertCompletions, fs } = testLangService( { 'a.st.css': ``, 'b.js': ``, @@ -765,11 +746,10 @@ describe('LS: st-import', () => { } ); const entryPath = fs.join(tempDir.path, 'src', 'entry.st.css'); - const entryCarets = carets[entryPath]; - assertCompletions({ + assertCompletions(entryPath, ({ filePath, carets }) => ({ message: 'same dir', - actualList: service.onCompletion(entryPath, entryCarets.sameDir), + actualList: service.onCompletion(filePath, carets.sameDir), expectedList: [ { label: 'c.st.css', command: undefined }, { @@ -778,33 +758,33 @@ describe('LS: st-import', () => { }, ], unexpectedList: [{ label: 'entry.st.css' }], - }); + })); - assertCompletions({ + assertCompletions(entryPath, ({ filePath, carets }) => ({ message: 'up dir', - actualList: service.onCompletion(entryPath, entryCarets.upDir), + actualList: service.onCompletion(filePath, carets.upDir), expectedList: [{ label: 'a.st.css' }, { label: 'b.js' }, { label: 'src/' }], - }); + })); - assertCompletions({ + assertCompletions(entryPath, ({ filePath, carets }) => ({ message: 'nested dir', - actualList: service.onCompletion(entryPath, entryCarets.nestedDir), + actualList: service.onCompletion(filePath, carets.nestedDir), expectedList: [{ label: 'd.st.css' }], - }); + })); - assertCompletions({ + assertCompletions(entryPath, ({ filePath, carets }) => ({ message: 'just dot without slash', - actualList: service.onCompletion(entryPath, entryCarets.justDot), + actualList: service.onCompletion(filePath, carets.justDot), unexpectedList: [ { label: '/c.st.css' }, { label: '/inner/' }, { label: '/entry.st.css' }, ], - }); + })); - assertCompletions({ + assertCompletions(entryPath, ({ filePath, carets }) => ({ message: 'up dir without slash', - actualList: service.onCompletion(entryPath, entryCarets.upDirNoSlash), + actualList: service.onCompletion(filePath, carets.upDirNoSlash), unexpectedList: [ { label: '/a.st.css' }, { label: '/b.js' }, @@ -812,10 +792,10 @@ describe('LS: st-import', () => { { label: '/inner/' }, { label: '/entry.st.css' }, ], - }); + })); }); it('should suggest from both relative directory and base', () => { - const { service, carets, assertCompletions, textEditContext, fs } = testLangService( + const { service, assertCompletions, fs } = testLangService( { 'file.st.css': ``, files: { @@ -834,32 +814,30 @@ describe('LS: st-import', () => { } ); const entryPath = fs.join(tempDir.path, 'entry.st.css'); - const entryCarets = carets[entryPath]; - const { replaceText } = textEditContext(entryPath); - assertCompletions({ - actualList: service.onCompletion(entryPath, entryCarets[0]), + assertCompletions(entryPath, ({ filePath, carets, textEdit: { replaceText } }) => ({ + actualList: service.onCompletion(filePath, carets[0]), expectedList: [ { label: 'file.st.css', - textEdit: replaceText(entryCarets[0], 'file.st.css', { deltaStart: -3 }), + textEdit: replaceText(carets[0], 'file.st.css', { deltaStart: -3 }), }, { label: 'files/', - textEdit: replaceText(entryCarets[0], 'files/', { deltaStart: -3 }), + textEdit: replaceText(carets[0], 'files/', { deltaStart: -3 }), }, { label: 'fil/', - textEdit: replaceText(entryCarets[0], 'fil/', { deltaStart: -3 }), + textEdit: replaceText(carets[0], 'fil/', { deltaStart: -3 }), }, { label: '/b.st.css' }, ], unexpectedList: [{ label: 'entry.st.css' }, { label: 'not-start-with-fil.st.css' }], - }); + })); }); describe('node_modules', () => { it('should suggest picked up node_modules package names', () => { - const { service, carets, assertCompletions, textEditContext, fs } = testLangService( + const { service, assertCompletions, fs } = testLangService( { node_modules: { '@scoped-a': { @@ -884,27 +862,25 @@ describe('LS: st-import', () => { { testOnNativeFileSystem: tempDir.path } ); const entryPath = fs.join(tempDir.path, 'src/entry.st.css'); - const entryCarets = carets[entryPath]; - const { replaceText } = textEditContext(entryPath); - assertCompletions({ + assertCompletions(entryPath, ({ filePath, carets }) => ({ message: 'empty', - actualList: service.onCompletion(entryPath, entryCarets.empty), + actualList: service.onCompletion(filePath, carets.empty), expectedList: [ { label: '@scoped-a/pack1' }, { label: '@scoped-a/pack2' }, { label: '@scoped-a/pack3' }, { label: 'package-a' }, ], - }); + })); - assertCompletions({ + assertCompletions(entryPath, ({ filePath, carets, textEdit: { replaceText } }) => ({ message: 'start with p', - actualList: service.onCompletion(entryPath, entryCarets.startWithP), + actualList: service.onCompletion(filePath, carets.startWithP), expectedList: [ { label: 'package-a', - textEdit: replaceText(entryCarets.startWithP, 'package-a', { + textEdit: replaceText(carets.startWithP, 'package-a', { deltaStart: -1, }), }, @@ -914,36 +890,36 @@ describe('LS: st-import', () => { { label: '@scoped-a/pack2' }, { label: '@scoped-a/pack3' }, ], - }); + })); - assertCompletions({ + assertCompletions(entryPath, ({ filePath, carets, textEdit: { replaceText } }) => ({ message: 'start with @', - actualList: service.onCompletion(entryPath, entryCarets.startWithAt), + actualList: service.onCompletion(filePath, carets.startWithAt), expectedList: [ { label: '@scoped-a/pack1', - textEdit: replaceText(entryCarets.startWithAt, '@scoped-a/pack1', { + textEdit: replaceText(carets.startWithAt, '@scoped-a/pack1', { deltaStart: -1, }), }, { label: '@scoped-a/pack2', - textEdit: replaceText(entryCarets.startWithAt, '@scoped-a/pack2', { + textEdit: replaceText(carets.startWithAt, '@scoped-a/pack2', { deltaStart: -1, }), }, { label: '@scoped-a/pack3', - textEdit: replaceText(entryCarets.startWithAt, '@scoped-a/pack3', { + textEdit: replaceText(carets.startWithAt, '@scoped-a/pack3', { deltaStart: -1, }), }, ], unexpectedList: [{ label: 'package-a' }], - }); + })); }); it('should suggest package relative content (no exports field)', () => { - const { service, carets, assertCompletions, textEditContext, fs } = testLangService( + const { service, assertCompletions, fs } = testLangService( { node_modules: { '@scoped': { @@ -973,53 +949,51 @@ describe('LS: st-import', () => { { testOnNativeFileSystem: tempDir.path } ); const entryPath = fs.join(tempDir.path, 'entry.st.css'); - const entryCarets = carets[entryPath]; - const { replaceText } = textEditContext(entryPath); - assertCompletions({ + assertCompletions(entryPath, ({ filePath, carets }) => ({ message: 'scoped root', - actualList: service.onCompletion(entryPath, entryCarets.scopedRoot), + actualList: service.onCompletion(filePath, carets.scopedRoot), expectedList: [ { label: 'dist/' }, { label: 'src/' }, { label: 'package.json' }, ], - }); + })); - assertCompletions({ + assertCompletions(entryPath, ({ filePath, carets }) => ({ message: 'flat root', - actualList: service.onCompletion(entryPath, entryCarets.flatRoot), + actualList: service.onCompletion(filePath, carets.flatRoot), expectedList: [{ label: 'esm/' }, { label: 'lib/' }, { label: 'package.json' }], - }); + })); - assertCompletions({ + assertCompletions(entryPath, ({ filePath, carets, textEdit: { replaceText } }) => ({ message: 'scoped internal', - actualList: service.onCompletion(entryPath, entryCarets.scopedInternal), + actualList: service.onCompletion(filePath, carets.scopedInternal), expectedList: [ { label: 'file.js', - textEdit: replaceText(entryCarets.scopedInternal, 'file.js', { + textEdit: replaceText(carets.scopedInternal, 'file.js', { deltaStart: -2, }), }, ], - }); + })); - assertCompletions({ + assertCompletions(entryPath, ({ filePath, carets, textEdit: { replaceText } }) => ({ message: 'flat internal', - actualList: service.onCompletion(entryPath, entryCarets.flatInternal), + actualList: service.onCompletion(filePath, carets.flatInternal), expectedList: [ { label: 'file.js', - textEdit: replaceText(entryCarets.flatInternal, 'file.js', { + textEdit: replaceText(carets.flatInternal, 'file.js', { deltaStart: -2, }), }, ], - }); + })); }); it('should suggest closer resolved package', () => { - const { service, carets, assertCompletions, fs } = testLangService( + const { service, assertCompletions, fs } = testLangService( { node_modules: { x: { @@ -1042,17 +1016,16 @@ describe('LS: st-import', () => { { testOnNativeFileSystem: tempDir.path } ); const entryPath = fs.join(tempDir.path, 'src', 'entry.st.css'); - const entryCarets = carets[entryPath]; - assertCompletions({ + assertCompletions(entryPath, ({ filePath, carets }) => ({ message: 'empty', - actualList: service.onCompletion(entryPath, entryCarets[0]), + actualList: service.onCompletion(filePath, carets[0]), expectedList: [{ label: 'green.js' }, { label: 'package.json' }], unexpectedList: [{ label: 'red.js' }], - }); + })); }); it('should suggest package exports', () => { - const { service, carets, assertCompletions, fs } = testLangService( + const { service, assertCompletions, fs } = testLangService( { node_modules: { x: { @@ -1092,11 +1065,10 @@ describe('LS: st-import', () => { { testOnNativeFileSystem: tempDir.path } ); const entryPath = fs.join(tempDir.path, 'entry.st.css'); - const entryCarets = carets[entryPath]; - assertCompletions({ + assertCompletions(entryPath, ({ filePath, carets }) => ({ message: 'package root', - actualList: service.onCompletion(entryPath, entryCarets.packageRoot), + actualList: service.onCompletion(filePath, carets.packageRoot), expectedList: [{ label: 'inner-a' }, { label: 'inner-b' }, { label: 'wild/' }], unexpectedList: [ { label: 'private.js' }, @@ -1108,11 +1080,11 @@ describe('LS: st-import', () => { }, { label: 'invalid-2/' }, ], - }); + })); - assertCompletions({ + assertCompletions(entryPath, ({ filePath, carets }) => ({ message: 'wild card at end', - actualList: service.onCompletion(entryPath, entryCarets.wildCardAtEnd), + actualList: service.onCompletion(filePath, carets.wildCardAtEnd), expectedList: [ { label: 'c-file.js', command: undefined }, { label: 'd-file.js', command: undefined }, @@ -1125,11 +1097,11 @@ describe('LS: st-import', () => { { label: 'private.js' }, { label: 'package.json' }, ], - }); + })); - assertCompletions({ + assertCompletions(entryPath, ({ filePath, carets }) => ({ message: 'wild card at end with partial file name', - actualList: service.onCompletion(entryPath, entryCarets.wildCardAtEndPartial), + actualList: service.onCompletion(filePath, carets.wildCardAtEndPartial), expectedList: [{ label: 'c-file.js' }], unexpectedList: [ { label: 'd-file.js' }, @@ -1140,13 +1112,13 @@ describe('LS: st-import', () => { { label: 'private.js' }, { label: 'package.json' }, ], - }); + })); - assertCompletions({ + assertCompletions(entryPath, ({ filePath, carets }) => ({ message: 'internal', - actualList: service.onCompletion('/entry.st.css', entryCarets.internal), + actualList: service.onCompletion(filePath, carets.internal), unexpectedList: [{ label: 'x-file.js' }], - }); + })); }); it('should handle conditional exports', () => { /** @@ -1154,7 +1126,7 @@ describe('LS: st-import', () => { * will only get hard-coded known conditions: * node, import, require, default, browse */ - const { service, carets, assertCompletions, fs } = testLangService( + const { service, assertCompletions, fs } = testLangService( { node_modules: { topLevelConditions: { @@ -1206,36 +1178,32 @@ describe('LS: st-import', () => { { testOnNativeFileSystem: tempDir.path } ); const entryPath = fs.join(tempDir.path, 'entry.st.css'); - const entryCarets = carets[entryPath]; - assertCompletions({ + assertCompletions(entryPath, ({ filePath, carets }) => ({ message: 'known conditions', - actualList: service.onCompletion(entryPath, entryCarets.topLevelConditions), + actualList: service.onCompletion(filePath, carets.topLevelConditions), expectedList: [{ label: 'import.js' }], unexpectedList: [{ label: 'require.js' }, { label: 'default.js' }], - }); + })); - assertCompletions({ + assertCompletions(entryPath, ({ filePath, carets }) => ({ message: 'nested conditions', - actualList: service.onCompletion(entryPath, entryCarets.nestedConditions), + actualList: service.onCompletion(filePath, carets.nestedConditions), expectedList: [{ label: 'give-me/' }], unexpectedList: [{ label: 'import.js' }], - }); + })); - assertCompletions({ + assertCompletions(entryPath, ({ filePath, carets }) => ({ message: 'nested subpath conditions', - actualList: service.onCompletion( - entryPath, - entryCarets.nestedSubpathConditions - ), + actualList: service.onCompletion(filePath, carets.nestedSubpathConditions), expectedList: [{ label: 'a.js' }, { label: 'b.js' }], unexpectedList: [{ label: 'x.js' }], - }); + })); }); }); describe('custom resolve', () => { it('should suggest from custom mapped', () => { - const { service, carets, assertCompletions, fs } = testLangService( + const { service, assertCompletions, fs } = testLangService( { node_modules: { x: { @@ -1275,19 +1243,18 @@ describe('LS: st-import', () => { ); const defaultResolveModule = createDefaultResolver(fs, {}); const entryPath = fs.join(tempDir.path, 'src', 'entry.st.css'); - const entryCarets = carets[entryPath]; /** * mapping like this cannot override the original resolved package * and combine suggestions from both locations. */ - assertCompletions({ - actualList: service.onCompletion(entryPath, entryCarets[0]), + assertCompletions(entryPath, ({ filePath, carets }) => ({ + actualList: service.onCompletion(filePath, carets[0]), expectedList: [ { label: 'green.js' }, { label: 'yellow.js' }, { label: 'package.json' }, ], - }); + })); }); }); }); diff --git a/packages/language-service/test/test-kit/test-lang-service.ts b/packages/language-service/test/test-kit/test-lang-service.ts index 46feb2fc1..5d8044ef5 100644 --- a/packages/language-service/test/test-kit/test-lang-service.ts +++ b/packages/language-service/test/test-kit/test-lang-service.ts @@ -67,12 +67,14 @@ export function testLangService( } const service = new StylableLanguageService({ fs, stylable }); - return { + const api = { fs, stylable, service, carets, - assertCompletions, + assertCompletions: (...args: AssertArgs) => { + assertCompletions(api, args); + }, completion( data: T[], template: (value: T) => Partial @@ -87,19 +89,25 @@ export function testLangService( fs.readFileSync(filePath, { encoding: 'utf-8' }) ); return { - replaceText( - offset: number, - text: string, - replaceOffsets?: Parameters[1] - ) { - const position = document.positionAt(offset); - return TextEdit.replace(range(position, replaceOffsets), text); - }, + replaceText: createReplaceText(document), }; }, }; + return api; +} +function createReplaceText(document: TextDocument) { + return function replaceText( + offset: number, + text: string, + replaceOffsets?: Parameters[1] + ) { + const position = document.positionAt(offset); + return TextEdit.replace(range(position, replaceOffsets), text); + }; } +type TestKitApi = ReturnType; + function setupFileSystem(input: string | IDirectoryContents, options: Partial) { const content = typeof input === `string` ? { '/entry.st.css': input } : input; if (options.testOnNativeFileSystem) { @@ -113,17 +121,42 @@ function setupFileSystem(input: string | IDirectoryContents, options: Partial>; unexpectedList?: Array>; message?: string; -}) { +} +type AssertArgs = + | [config: AssertCompletionsConfig] + | [ + filePath: string, + config: (context: { + filePath: string; + carets: Record; + textEdit: { + replaceText: ReturnType; + }; + }) => AssertCompletionsConfig + ]; + +export function assertCompletions( + api: Pick, + [configOrPath, generateConfig]: AssertArgs +) { + const { + actualList, + expectedList = [], + unexpectedList = [], + message = '', + } = typeof configOrPath === 'string' + ? generateConfig!({ + filePath: configOrPath, + carets: api.carets[configOrPath], + textEdit: api.textEditContext(configOrPath), + }) + : configOrPath; + const messagePrefix = message ? `(${message}) ` : ''; for (const expected of expectedList) { const actual = actualList.find(({ label }) => label === expected.label); @@ -132,9 +165,11 @@ export function assertCompletions({ `${messagePrefix}expected to find completion with label "${expected.label}"` ); } - for (const [expectedField, expectedValue] of Object.entries(expected)) { + for (const [expectedField, expectedValue] of Object.entries(expected) as [ + [keyof CompletionItem, any] + ]) { const expectLabel = `${messagePrefix}expected "${expected.label}" completions to have ${expectedField}`; - expect((actual as any)[expectedField], expectLabel).to.eql(expectedValue); + expect(actual[expectedField], expectLabel).to.eql(expectedValue); } } for (const expected of unexpectedList) { From 9064e8fbda7a4dfe191692e758f5b8982293b1d2 Mon Sep 17 00:00:00 2001 From: barak igal Date: Thu, 8 Jun 2023 12:04:50 +0300 Subject: [PATCH 08/81] fix(esbuild): correct resolveDir (#2867) --- packages/esbuild/src/stylable-esbuild-plugin.ts | 8 ++++---- packages/esbuild/test/e2e/simple-case/index.js | 9 +++++++++ .../simple-case/internal-dir/internal-dir.png | Bin 0 -> 1450 bytes .../simple-case/internal-dir/internal-dir.st.css | 3 +++ .../test/e2e/simple-case/simple-case.spec.ts | 8 +++++++- 5 files changed, 23 insertions(+), 5 deletions(-) create mode 100644 packages/esbuild/test/e2e/simple-case/internal-dir/internal-dir.png create mode 100644 packages/esbuild/test/e2e/simple-case/internal-dir/internal-dir.st.css diff --git a/packages/esbuild/src/stylable-esbuild-plugin.ts b/packages/esbuild/src/stylable-esbuild-plugin.ts index d65356cc9..199e5565a 100644 --- a/packages/esbuild/src/stylable-esbuild-plugin.ts +++ b/packages/esbuild/src/stylable-esbuild-plugin.ts @@ -223,7 +223,7 @@ export const stylablePlugin = (initialPluginOptions: ESBuildOptions = {}): Plugi errors, warnings, watchFiles: [args.path, ...deepDependencies], - resolveDir: '.', + resolveDir: dirname(args.path), contents: cssInjection === 'js' ? processStubs(moduleCode) : moduleCode, pluginData: { stylableResults: res }, }; @@ -247,7 +247,7 @@ export const stylablePlugin = (initialPluginOptions: ESBuildOptions = {}): Plugi const res = stylable.transform(args.path); const cssDepth = res.meta.transformCssDepth!.cssDepth; return { - resolveDir: '.', + resolveDir: dirname(args.path), contents: wrapWithDepthMarkers(res.meta.targetAst!.toString(), cssDepth), loader: 'css', }; @@ -260,7 +260,7 @@ export const stylablePlugin = (initialPluginOptions: ESBuildOptions = {}): Plugi const { meta } = args.pluginData.stylableResults as StylableResults; const { cssDepth = 0 } = meta.transformCssDepth!; return { - resolveDir: '.', + resolveDir: dirname(args.path), contents: wrapWithDepthMarkers(meta.targetAst!.toString(), cssDepth), loader: 'css', }; @@ -532,7 +532,7 @@ function sortMarkersByDepth( const sorted = sortModulesByDepth( extracted, (m) => m.depth, - (m) => m.path, + (_) => '', // we don't want to sort by path this way we get similar results as the js injection mode -1 ); diff --git a/packages/esbuild/test/e2e/simple-case/index.js b/packages/esbuild/test/e2e/simple-case/index.js index 0f4126987..6721a8bcd 100644 --- a/packages/esbuild/test/e2e/simple-case/index.js +++ b/packages/esbuild/test/e2e/simple-case/index.js @@ -1,8 +1,10 @@ import { classes as classesA } from './a.st.css'; import { classes as classesB } from './b.st.css'; +import { classes as classesInternalDir } from './internal-dir/internal-dir.st.css'; document.body.className = classesA.root + ' ' + classesB.root; document.body.textContent = 'This color should be green'; document.body.appendChild(createDeepElementWithoutInputDeepCss()); +document.body.appendChild(createTestElement()); function createDeepElementWithoutInputDeepCss() { const element = document.createElement('div'); @@ -10,3 +12,10 @@ function createDeepElementWithoutInputDeepCss() { element.textContent = 'This element should not have --unused-deep variable'; return element; } + +function createTestElement() { + const element = document.createElement('div'); + element.className = classesInternalDir.root; + element.textContent = 'This element should have purple stylable logo background'; + return element; +} diff --git a/packages/esbuild/test/e2e/simple-case/internal-dir/internal-dir.png b/packages/esbuild/test/e2e/simple-case/internal-dir/internal-dir.png new file mode 100644 index 0000000000000000000000000000000000000000..d2479007acaface17f70ad44cddf777aa53f630c GIT binary patch literal 1450 zcmV;b1y%ZqP)6?00001b5ch_0Itp) z=>Px#1ZP1_K>z@;j|==^1poj532;bRa{vGi!~g&e!~vBn4jTXf1wTndK~zXfotA5C zR7DiW|M#))E?en?K2TaHP@|+sc`6Yj3Pq4aP|y|>6XFNK#6-b}DdGpH8Y9tYLih%j zM-2^+Ag@A*K!So$glcI50fn|~OP{-JclX{q*K_C2wk);U^4px9$33(EnK@@>uk^#b zN)rPxfB#$@309*%d>$b!hR6L+VCAT_*g1cf@EAM;3MpH|I27Cquk43YcJaPAi@~e9 zQT$N}Zx01ol>Inz=NSBQHWZ}5U=D6p{r0^GChnRbyarD{p|cxLmYJLGA0cV#MI-6>8bsP218AheRSYb8fU< zx~M>7~kb-%;q_Vacu8p4X4V&v}FjLI*s^1cU=58u8B2L(TA zC1UGhv|e|8agxZhALpZ~?i{><;c&Q}+@dZYwzOS^vG_eKo6;>jlacE?TVR@Q9`q!m zLwfO$7sc6m!qq0ya+k8wKEM_Yogp;EVz^0hJg9`gw*H9Htp2N#CDYXx{QJzJb#D($ zSMtR%ZqWi!1A25FF))&q(a56M({>YbdH^_l2Bigm2`?MDFp!6c2A;wRV~PvcYwRu9 zeWrnz39Nf=`KcO&x|(@gra(3!ibm)-$-?NMm04ouj)N$D)x&)(+tcr;KILGkwtBUd#LWIodL9F`6|Un&jlx9id>y8FxT)9o2n!{@v}kv1+W{cORw4 z_rs3}3gCmaQCSWbUzvrZIAGRaN9m@Cw$SCW8mxPA7G;mdSH$sW+GPT-7wf+{frBrn zi4L2i<$q%Iq{);LJ(ww{Kz2G|N@lNNm=A2{PqvUn#`_JJmpdLoje&VcY-9nDUPx1< zyN!uCrlp{&`T|O-7u#(?{(=%phd9cz^69Y0DQX5cjzfWQsjg4RV(zCw%*+^tJEjT8 zcoOqxi6?|dxT*@SG`87wfwc-ZB~eM{NJJ^+6L3LQf)vw}g)EkQ7Q~9|LTFF>fE0>T zD!F7Q|NqPwoh@oMS89%9RSu0Y4KUiS`_0s2FeeoB7qXc4;Z^J}nL{rP^n=kJy3A;n zmbG@{gO#(eXF=aP!~Dv57+u?dr!q%S{^+y{)@v55D-31nO9Q_%BnW>!9a}1YLu=jj8{QB@iWZSVSTAgP|f~ybwXYJ78kL2D4~VnN*I4PQdW9- zEE4fZ2(oYp(xf6(pUvU@7DEm zm_7ftRzU}x%qoqJb|_PdaKO1#Jndu1Lc1%jL&_ZiGZKc$=-iN5brx)aXZ1VS*F9T! zCi74+3Yz>%07*qoM6N<$ Ef(;FtI{*Lx literal 0 HcmV?d00001 diff --git a/packages/esbuild/test/e2e/simple-case/internal-dir/internal-dir.st.css b/packages/esbuild/test/e2e/simple-case/internal-dir/internal-dir.st.css new file mode 100644 index 000000000..38117532d --- /dev/null +++ b/packages/esbuild/test/e2e/simple-case/internal-dir/internal-dir.st.css @@ -0,0 +1,3 @@ +.root { + background: url('./internal-dir.png'); +} diff --git a/packages/esbuild/test/e2e/simple-case/simple-case.spec.ts b/packages/esbuild/test/e2e/simple-case/simple-case.spec.ts index fcf0957f7..118d50ab9 100644 --- a/packages/esbuild/test/e2e/simple-case/simple-case.spec.ts +++ b/packages/esbuild/test/e2e/simple-case/simple-case.spec.ts @@ -1,6 +1,7 @@ import { expect } from 'chai'; import { ESBuildTestKit } from '../esbuild-testkit'; import type { Page, Response } from 'playwright-core'; +import { sep } from 'node:path'; /** * This is the expected order of the stylesheets in the DOM @@ -13,6 +14,9 @@ const stylesInOrder = [ { st_id: 'side-effects.st.css|sideeffects', }, + { + st_id: `internal-dir${sep}internal-dir.st.css|internaldir`, + }, { st_id: 'a.st.css|a', }, @@ -83,9 +87,11 @@ async function contract( ).getPropertyValue('--unused-deep'), }; }); - + const assetLoaded = Boolean(responses?.find((r) => r.url().match(/asset-.*?\.png$/))); + const internalDirAsset = Boolean(responses?.find((r) => r.url().match(/internal-dir-.*?\.png$/))); + expect(internalDirAsset, 'asset loaded from internal dir').to.eql(true); expect(assetLoaded, 'asset loaded').to.eql(true); expect(reset, 'reset applied').to.eql('true'); expect(sideEffects, 'side effects loaded').to.eql('true'); From 2093de5d755c30683b528e13c5cc35bb550754d8 Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Thu, 8 Jun 2023 12:09:18 +0300 Subject: [PATCH 09/81] v5.11.1 --- package-lock.json | 250 +++++++++---------- packages/build-tools/package.json | 4 +- packages/cli/package.json | 14 +- packages/code-formatter/package.json | 4 +- packages/core-test-kit/package.json | 4 +- packages/core/package.json | 2 +- packages/create-stylable-app/package.json | 2 +- packages/custom-value/package.json | 4 +- packages/dom-test-kit/package.json | 6 +- packages/e2e-test-kit/package.json | 4 +- packages/esbuild/package.json | 16 +- packages/eslint-plugin-stylable/package.json | 4 +- packages/experimental-loader/package.json | 6 +- packages/jest/package.json | 10 +- packages/language-service/package.json | 6 +- packages/module-utils/package.json | 4 +- packages/node/package.json | 8 +- packages/optimizer/package.json | 4 +- packages/rollup-plugin/package.json | 14 +- packages/runtime/package.json | 2 +- packages/schema-extract/package.json | 4 +- packages/uni-driver/package.json | 2 +- packages/webpack-extensions/package.json | 8 +- packages/webpack-plugin/package.json | 16 +- 24 files changed, 199 insertions(+), 199 deletions(-) diff --git a/package-lock.json b/package-lock.json index 82d6606d0..7edbc01c4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6855,10 +6855,10 @@ }, "packages/build-tools": { "name": "@stylable/build-tools", - "version": "5.11.0", + "version": "5.11.1", "license": "MIT", "dependencies": { - "@stylable/core": "^5.11.0", + "@stylable/core": "^5.11.1", "find-config": "^1.0.0" }, "engines": { @@ -6867,17 +6867,17 @@ }, "packages/cli": { "name": "@stylable/cli", - "version": "5.11.0", + "version": "5.11.1", "license": "MIT", "dependencies": { "@file-services/node": "^7.3.0", "@file-services/types": "^7.3.0", - "@stylable/build-tools": "^5.11.0", - "@stylable/code-formatter": "^5.11.0", - "@stylable/core": "^5.11.0", - "@stylable/module-utils": "^5.11.0", - "@stylable/node": "^5.11.0", - "@stylable/optimizer": "^5.11.0", + "@stylable/build-tools": "^5.11.1", + "@stylable/code-formatter": "^5.11.1", + "@stylable/core": "^5.11.1", + "@stylable/module-utils": "^5.11.1", + "@stylable/node": "^5.11.1", + "@stylable/optimizer": "^5.11.1", "@wixc3/resolve-directory-context": "^3.0.5", "decache": "^4.6.1", "lodash.camelcase": "^4.3.0", @@ -6907,10 +6907,10 @@ }, "packages/code-formatter": { "name": "@stylable/code-formatter", - "version": "5.11.0", + "version": "5.11.1", "license": "MIT", "dependencies": { - "@stylable/core": "^5.11.0", + "@stylable/core": "^5.11.1", "@tokey/css-value-parser": "^0.1.2", "js-beautify": "^1.14.8", "postcss": "^8.4.24" @@ -6921,7 +6921,7 @@ }, "packages/core": { "name": "@stylable/core", - "version": "5.11.0", + "version": "5.11.1", "license": "MIT", "dependencies": { "@tokey/css-selector-parser": "^0.6.1", @@ -6945,11 +6945,11 @@ }, "packages/core-test-kit": { "name": "@stylable/core-test-kit", - "version": "5.11.0", + "version": "5.11.1", "license": "MIT", "dependencies": { "@file-services/memory": "^7.3.0", - "@stylable/core": "^5.11.0", + "@stylable/core": "^5.11.1", "chai": "^4.3.7", "flat": "^5.0.2", "postcss": "^8.4.24" @@ -6964,7 +6964,7 @@ "integrity": "sha512-1ugUSr8BHXRnK23KfuYS+gVMC3LB8QGH9W1iGtDPsNWoQbgtXSExkBu2aDR4epiGWZOjZsj6lDl/N/AqqTC3UA==" }, "packages/create-stylable-app": { - "version": "5.11.0", + "version": "5.11.1", "license": "MIT", "dependencies": { "validate-npm-package-name": "^5.0.0", @@ -6979,10 +6979,10 @@ }, "packages/custom-value": { "name": "@stylable/custom-value", - "version": "5.11.0", + "version": "5.11.1", "license": "MIT", "dependencies": { - "@stylable/core": "^5.11.0" + "@stylable/core": "^5.11.1" }, "engines": { "node": ">=14.14.0" @@ -6990,11 +6990,11 @@ }, "packages/dom-test-kit": { "name": "@stylable/dom-test-kit", - "version": "5.11.0", + "version": "5.11.1", "license": "MIT", "dependencies": { - "@stylable/core": "^5.11.0", - "@stylable/runtime": "^5.11.0", + "@stylable/core": "^5.11.1", + "@stylable/runtime": "^5.11.1", "@tokey/css-selector-parser": "^0.6.1" }, "engines": { @@ -7003,10 +7003,10 @@ }, "packages/e2e-test-kit": { "name": "@stylable/e2e-test-kit", - "version": "5.11.0", + "version": "5.11.1", "license": "MIT", "dependencies": { - "@stylable/runtime": "^5.11.0", + "@stylable/runtime": "^5.11.1", "node-eval": "^2.0.0", "playwright-core": "^1.34.3", "rimraf": "^5.0.1" @@ -7020,16 +7020,16 @@ }, "packages/esbuild": { "name": "@stylable/esbuild", - "version": "5.11.0", + "version": "5.11.1", "license": "MIT", "dependencies": { - "@stylable/build-tools": "^5.11.0", - "@stylable/cli": "^5.11.0", - "@stylable/core": "^5.11.0", - "@stylable/module-utils": "^5.11.0", - "@stylable/node": "^5.11.0", - "@stylable/optimizer": "^5.11.0", - "@stylable/runtime": "^5.11.0", + "@stylable/build-tools": "^5.11.1", + "@stylable/cli": "^5.11.1", + "@stylable/core": "^5.11.1", + "@stylable/module-utils": "^5.11.1", + "@stylable/node": "^5.11.1", + "@stylable/optimizer": "^5.11.1", + "@stylable/runtime": "^5.11.1", "decache": "^4.6.1" }, "engines": { @@ -7040,20 +7040,20 @@ } }, "packages/eslint-plugin-stylable": { - "version": "5.11.0", + "version": "5.11.1", "license": "MIT", "dependencies": { - "@stylable/core": "^5.11.0", + "@stylable/core": "^5.11.1", "@typescript-eslint/experimental-utils": "^5.59.9" } }, "packages/experimental-loader": { "name": "@stylable/experimental-loader", - "version": "5.11.0", + "version": "5.11.1", "license": "MIT", "dependencies": { - "@stylable/core": "^5.11.0", - "@stylable/runtime": "^5.11.0", + "@stylable/core": "^5.11.1", + "@stylable/runtime": "^5.11.1", "css-loader": "^6.8.1", "decache": "^4.6.1", "loader-utils": "^3.2.1" @@ -7069,13 +7069,13 @@ }, "packages/jest": { "name": "@stylable/jest", - "version": "5.11.0", + "version": "5.11.1", "license": "MIT", "dependencies": { - "@stylable/core": "^5.11.0", - "@stylable/module-utils": "^5.11.0", - "@stylable/node": "^5.11.0", - "@stylable/runtime": "^5.11.0" + "@stylable/core": "^5.11.1", + "@stylable/module-utils": "^5.11.1", + "@stylable/node": "^5.11.1", + "@stylable/runtime": "^5.11.1" }, "engines": { "node": ">=14.14.0" @@ -7083,13 +7083,13 @@ }, "packages/language-service": { "name": "@stylable/language-service", - "version": "5.11.0", + "version": "5.11.1", "license": "MIT", "dependencies": { "@file-services/types": "^7.3.0", "@file-services/typescript": "^7.3.0", - "@stylable/code-formatter": "^5.11.0", - "@stylable/core": "^5.11.0", + "@stylable/code-formatter": "^5.11.1", + "@stylable/core": "^5.11.1", "@tokey/core": "^1.3.0", "@tokey/css-selector-parser": "^0.6.1", "@tokey/css-value-parser": "^0.1.2", @@ -7110,10 +7110,10 @@ }, "packages/module-utils": { "name": "@stylable/module-utils", - "version": "5.11.0", + "version": "5.11.1", "license": "MIT", "dependencies": { - "@stylable/core": "^5.11.0", + "@stylable/core": "^5.11.1", "@tokey/core": "^1.3.0", "vlq": "^2.0.4" }, @@ -7123,12 +7123,12 @@ }, "packages/node": { "name": "@stylable/node", - "version": "5.11.0", + "version": "5.11.1", "license": "MIT", "dependencies": { - "@stylable/build-tools": "^5.11.0", - "@stylable/core": "^5.11.0", - "@stylable/module-utils": "^5.11.0", + "@stylable/build-tools": "^5.11.1", + "@stylable/core": "^5.11.1", + "@stylable/module-utils": "^5.11.1", "find-config": "^1.0.0" }, "engines": { @@ -7137,10 +7137,10 @@ }, "packages/optimizer": { "name": "@stylable/optimizer", - "version": "5.11.0", + "version": "5.11.1", "license": "MIT", "dependencies": { - "@stylable/core": "^5.11.0", + "@stylable/core": "^5.11.1", "@tokey/css-selector-parser": "^0.6.1", "csso": "^5.0.5", "postcss": "^8.4.24" @@ -7151,15 +7151,15 @@ }, "packages/rollup-plugin": { "name": "@stylable/rollup-plugin", - "version": "5.11.0", + "version": "5.11.1", "license": "MIT", "dependencies": { - "@stylable/build-tools": "^5.11.0", - "@stylable/cli": "^5.11.0", - "@stylable/core": "^5.11.0", - "@stylable/node": "^5.11.0", - "@stylable/optimizer": "^5.11.0", - "@stylable/runtime": "^5.11.0", + "@stylable/build-tools": "^5.11.1", + "@stylable/cli": "^5.11.1", + "@stylable/core": "^5.11.1", + "@stylable/node": "^5.11.1", + "@stylable/optimizer": "^5.11.1", + "@stylable/runtime": "^5.11.1", "decache": "^4.6.1", "mime": "^3.0.0" }, @@ -7183,7 +7183,7 @@ }, "packages/runtime": { "name": "@stylable/runtime", - "version": "5.11.0", + "version": "5.11.1", "license": "MIT", "engines": { "node": ">=14.14.0" @@ -7191,10 +7191,10 @@ }, "packages/schema-extract": { "name": "@stylable/schema-extract", - "version": "5.11.0", + "version": "5.11.1", "license": "MIT", "dependencies": { - "@stylable/core": "^5.11.0", + "@stylable/core": "^5.11.1", "jest-docblock": "^29.4.3" }, "engines": { @@ -7203,7 +7203,7 @@ }, "packages/uni-driver": { "name": "@stylable/uni-driver", - "version": "5.11.0", + "version": "5.11.1", "license": "MIT", "engines": { "node": ">=14.14.0" @@ -7211,12 +7211,12 @@ }, "packages/webpack-extensions": { "name": "@stylable/webpack-extensions", - "version": "5.11.0", + "version": "5.11.1", "license": "MIT", "dependencies": { - "@stylable/core": "^5.11.0", - "@stylable/node": "^5.11.0", - "@stylable/webpack-plugin": "^5.11.0", + "@stylable/core": "^5.11.1", + "@stylable/node": "^5.11.1", + "@stylable/webpack-plugin": "^5.11.1", "@tokey/css-selector-parser": "^0.6.1", "find-config": "^1.0.0", "lodash.clonedeep": "^4.5.0" @@ -7230,16 +7230,16 @@ }, "packages/webpack-plugin": { "name": "@stylable/webpack-plugin", - "version": "5.11.0", + "version": "5.11.1", "license": "MIT", "dependencies": { - "@stylable/build-tools": "^5.11.0", - "@stylable/cli": "^5.11.0", - "@stylable/core": "^5.11.0", - "@stylable/module-utils": "^5.11.0", - "@stylable/node": "^5.11.0", - "@stylable/optimizer": "^5.11.0", - "@stylable/runtime": "^5.11.0", + "@stylable/build-tools": "^5.11.1", + "@stylable/cli": "^5.11.1", + "@stylable/core": "^5.11.1", + "@stylable/module-utils": "^5.11.1", + "@stylable/node": "^5.11.1", + "@stylable/optimizer": "^5.11.1", + "@stylable/runtime": "^5.11.1", "decache": "^4.6.1", "lodash.clonedeep": "^4.5.0", "postcss": "^8.4.24" @@ -7686,7 +7686,7 @@ "@stylable/build-tools": { "version": "file:packages/build-tools", "requires": { - "@stylable/core": "^5.11.0", + "@stylable/core": "^5.11.1", "find-config": "^1.0.0" } }, @@ -7695,12 +7695,12 @@ "requires": { "@file-services/node": "^7.3.0", "@file-services/types": "^7.3.0", - "@stylable/build-tools": "^5.11.0", - "@stylable/code-formatter": "^5.11.0", - "@stylable/core": "^5.11.0", - "@stylable/module-utils": "^5.11.0", - "@stylable/node": "^5.11.0", - "@stylable/optimizer": "^5.11.0", + "@stylable/build-tools": "^5.11.1", + "@stylable/code-formatter": "^5.11.1", + "@stylable/core": "^5.11.1", + "@stylable/module-utils": "^5.11.1", + "@stylable/node": "^5.11.1", + "@stylable/optimizer": "^5.11.1", "@wixc3/resolve-directory-context": "^3.0.5", "decache": "^4.6.1", "lodash.camelcase": "^4.3.0", @@ -7719,7 +7719,7 @@ "@stylable/code-formatter": { "version": "file:packages/code-formatter", "requires": { - "@stylable/core": "^5.11.0", + "@stylable/core": "^5.11.1", "@tokey/css-value-parser": "^0.1.2", "js-beautify": "^1.14.8", "postcss": "^8.4.24" @@ -7755,7 +7755,7 @@ "version": "file:packages/core-test-kit", "requires": { "@file-services/memory": "^7.3.0", - "@stylable/core": "^5.11.0", + "@stylable/core": "^5.11.1", "chai": "^4.3.7", "flat": "^5.0.2", "postcss": "^8.4.24" @@ -7764,21 +7764,21 @@ "@stylable/custom-value": { "version": "file:packages/custom-value", "requires": { - "@stylable/core": "^5.11.0" + "@stylable/core": "^5.11.1" } }, "@stylable/dom-test-kit": { "version": "file:packages/dom-test-kit", "requires": { - "@stylable/core": "^5.11.0", - "@stylable/runtime": "^5.11.0", + "@stylable/core": "^5.11.1", + "@stylable/runtime": "^5.11.1", "@tokey/css-selector-parser": "^0.6.1" } }, "@stylable/e2e-test-kit": { "version": "file:packages/e2e-test-kit", "requires": { - "@stylable/runtime": "^5.11.0", + "@stylable/runtime": "^5.11.1", "node-eval": "^2.0.0", "playwright-core": "^1.34.3", "rimraf": "^5.0.1" @@ -7787,21 +7787,21 @@ "@stylable/esbuild": { "version": "file:packages/esbuild", "requires": { - "@stylable/build-tools": "^5.11.0", - "@stylable/cli": "^5.11.0", - "@stylable/core": "^5.11.0", - "@stylable/module-utils": "^5.11.0", - "@stylable/node": "^5.11.0", - "@stylable/optimizer": "^5.11.0", - "@stylable/runtime": "^5.11.0", + "@stylable/build-tools": "^5.11.1", + "@stylable/cli": "^5.11.1", + "@stylable/core": "^5.11.1", + "@stylable/module-utils": "^5.11.1", + "@stylable/node": "^5.11.1", + "@stylable/optimizer": "^5.11.1", + "@stylable/runtime": "^5.11.1", "decache": "^4.6.1" } }, "@stylable/experimental-loader": { "version": "file:packages/experimental-loader", "requires": { - "@stylable/core": "^5.11.0", - "@stylable/runtime": "^5.11.0", + "@stylable/core": "^5.11.1", + "@stylable/runtime": "^5.11.1", "css-loader": "^6.8.1", "decache": "^4.6.1", "loader-utils": "^3.2.1" @@ -7817,10 +7817,10 @@ "@stylable/jest": { "version": "file:packages/jest", "requires": { - "@stylable/core": "^5.11.0", - "@stylable/module-utils": "^5.11.0", - "@stylable/node": "^5.11.0", - "@stylable/runtime": "^5.11.0" + "@stylable/core": "^5.11.1", + "@stylable/module-utils": "^5.11.1", + "@stylable/node": "^5.11.1", + "@stylable/runtime": "^5.11.1" } }, "@stylable/language-service": { @@ -7828,8 +7828,8 @@ "requires": { "@file-services/types": "^7.3.0", "@file-services/typescript": "^7.3.0", - "@stylable/code-formatter": "^5.11.0", - "@stylable/core": "^5.11.0", + "@stylable/code-formatter": "^5.11.1", + "@stylable/core": "^5.11.1", "@tokey/core": "^1.3.0", "@tokey/css-selector-parser": "^0.6.1", "@tokey/css-value-parser": "^0.1.2", @@ -7845,7 +7845,7 @@ "@stylable/module-utils": { "version": "file:packages/module-utils", "requires": { - "@stylable/core": "^5.11.0", + "@stylable/core": "^5.11.1", "@tokey/core": "^1.3.0", "vlq": "^2.0.4" } @@ -7853,16 +7853,16 @@ "@stylable/node": { "version": "file:packages/node", "requires": { - "@stylable/build-tools": "^5.11.0", - "@stylable/core": "^5.11.0", - "@stylable/module-utils": "^5.11.0", + "@stylable/build-tools": "^5.11.1", + "@stylable/core": "^5.11.1", + "@stylable/module-utils": "^5.11.1", "find-config": "^1.0.0" } }, "@stylable/optimizer": { "version": "file:packages/optimizer", "requires": { - "@stylable/core": "^5.11.0", + "@stylable/core": "^5.11.1", "@tokey/css-selector-parser": "^0.6.1", "csso": "^5.0.5", "postcss": "^8.4.24" @@ -7871,12 +7871,12 @@ "@stylable/rollup-plugin": { "version": "file:packages/rollup-plugin", "requires": { - "@stylable/build-tools": "^5.11.0", - "@stylable/cli": "^5.11.0", - "@stylable/core": "^5.11.0", - "@stylable/node": "^5.11.0", - "@stylable/optimizer": "^5.11.0", - "@stylable/runtime": "^5.11.0", + "@stylable/build-tools": "^5.11.1", + "@stylable/cli": "^5.11.1", + "@stylable/core": "^5.11.1", + "@stylable/node": "^5.11.1", + "@stylable/optimizer": "^5.11.1", + "@stylable/runtime": "^5.11.1", "decache": "^4.6.1", "mime": "^3.0.0" }, @@ -7894,7 +7894,7 @@ "@stylable/schema-extract": { "version": "file:packages/schema-extract", "requires": { - "@stylable/core": "^5.11.0", + "@stylable/core": "^5.11.1", "jest-docblock": "^29.4.3" } }, @@ -7904,9 +7904,9 @@ "@stylable/webpack-extensions": { "version": "file:packages/webpack-extensions", "requires": { - "@stylable/core": "^5.11.0", - "@stylable/node": "^5.11.0", - "@stylable/webpack-plugin": "^5.11.0", + "@stylable/core": "^5.11.1", + "@stylable/node": "^5.11.1", + "@stylable/webpack-plugin": "^5.11.1", "@tokey/css-selector-parser": "^0.6.1", "find-config": "^1.0.0", "lodash.clonedeep": "^4.5.0" @@ -7915,13 +7915,13 @@ "@stylable/webpack-plugin": { "version": "file:packages/webpack-plugin", "requires": { - "@stylable/build-tools": "^5.11.0", - "@stylable/cli": "^5.11.0", - "@stylable/core": "^5.11.0", - "@stylable/module-utils": "^5.11.0", - "@stylable/node": "^5.11.0", - "@stylable/optimizer": "^5.11.0", - "@stylable/runtime": "^5.11.0", + "@stylable/build-tools": "^5.11.1", + "@stylable/cli": "^5.11.1", + "@stylable/core": "^5.11.1", + "@stylable/module-utils": "^5.11.1", + "@stylable/node": "^5.11.1", + "@stylable/optimizer": "^5.11.1", + "@stylable/runtime": "^5.11.1", "decache": "^4.6.1", "lodash.clonedeep": "^4.5.0", "postcss": "^8.4.24" @@ -9502,7 +9502,7 @@ "eslint-plugin-stylable": { "version": "file:packages/eslint-plugin-stylable", "requires": { - "@stylable/core": "^5.11.0", + "@stylable/core": "^5.11.1", "@typescript-eslint/experimental-utils": "^5.59.9" } }, diff --git a/packages/build-tools/package.json b/packages/build-tools/package.json index b580e631e..ffd86e2c4 100644 --- a/packages/build-tools/package.json +++ b/packages/build-tools/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/build-tools", - "version": "5.11.0", + "version": "5.11.1", "description": "Collection of helper functions for Stylable based tooling.", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 20000" }, "dependencies": { - "@stylable/core": "^5.11.0", + "@stylable/core": "^5.11.1", "find-config": "^1.0.0" }, "files": [ diff --git a/packages/cli/package.json b/packages/cli/package.json index a9197ed41..11a848646 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/cli", - "version": "5.11.0", + "version": "5.11.1", "description": "A low-level utility used for working with Stylable projects", "main": "dist/index.js", "bin": { @@ -14,12 +14,12 @@ "dependencies": { "@file-services/node": "^7.3.0", "@file-services/types": "^7.3.0", - "@stylable/build-tools": "^5.11.0", - "@stylable/code-formatter": "^5.11.0", - "@stylable/core": "^5.11.0", - "@stylable/module-utils": "^5.11.0", - "@stylable/node": "^5.11.0", - "@stylable/optimizer": "^5.11.0", + "@stylable/build-tools": "^5.11.1", + "@stylable/code-formatter": "^5.11.1", + "@stylable/core": "^5.11.1", + "@stylable/module-utils": "^5.11.1", + "@stylable/node": "^5.11.1", + "@stylable/optimizer": "^5.11.1", "@wixc3/resolve-directory-context": "^3.0.5", "decache": "^4.6.1", "lodash.camelcase": "^4.3.0", diff --git a/packages/code-formatter/package.json b/packages/code-formatter/package.json index cc0d70c04..58acaee68 100644 --- a/packages/code-formatter/package.json +++ b/packages/code-formatter/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/code-formatter", - "version": "5.11.0", + "version": "5.11.1", "description": "A code formatting utility for Stylable stylesheets", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.11.0", + "@stylable/core": "^5.11.1", "@tokey/css-value-parser": "^0.1.2", "js-beautify": "^1.14.8", "postcss": "^8.4.24" diff --git a/packages/core-test-kit/package.json b/packages/core-test-kit/package.json index e61895d1f..63046f8f1 100644 --- a/packages/core-test-kit/package.json +++ b/packages/core-test-kit/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/core-test-kit", - "version": "5.11.0", + "version": "5.11.1", "description": "Stylable core test-kit", "main": "dist/index.js", "scripts": { @@ -8,7 +8,7 @@ }, "dependencies": { "@file-services/memory": "^7.3.0", - "@stylable/core": "^5.11.0", + "@stylable/core": "^5.11.1", "chai": "^4.3.7", "flat": "^5.0.2", "postcss": "^8.4.24" diff --git a/packages/core/package.json b/packages/core/package.json index 0c141939e..66307a864 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/core", - "version": "5.11.0", + "version": "5.11.1", "description": "CSS for Components", "main": "dist/index.js", "scripts": { diff --git a/packages/create-stylable-app/package.json b/packages/create-stylable-app/package.json index 15c1c899c..4310fed30 100644 --- a/packages/create-stylable-app/package.json +++ b/packages/create-stylable-app/package.json @@ -1,6 +1,6 @@ { "name": "create-stylable-app", - "version": "5.11.0", + "version": "5.11.1", "description": "Quickly create a Stylable application", "main": "dist/index.js", "bin": { diff --git a/packages/custom-value/package.json b/packages/custom-value/package.json index e78dbaad1..b35846a44 100644 --- a/packages/custom-value/package.json +++ b/packages/custom-value/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/custom-value", - "version": "5.11.0", + "version": "5.11.1", "description": "Custom values (variables) for Stylable", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 20000" }, "dependencies": { - "@stylable/core": "^5.11.0" + "@stylable/core": "^5.11.1" }, "files": [ "dist", diff --git a/packages/dom-test-kit/package.json b/packages/dom-test-kit/package.json index 0b3217c0a..be1e61416 100644 --- a/packages/dom-test-kit/package.json +++ b/packages/dom-test-kit/package.json @@ -1,14 +1,14 @@ { "name": "@stylable/dom-test-kit", - "version": "5.11.0", + "version": "5.11.1", "description": "Stylable DOM testing utilities", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.11.0", - "@stylable/runtime": "^5.11.0", + "@stylable/core": "^5.11.1", + "@stylable/runtime": "^5.11.1", "@tokey/css-selector-parser": "^0.6.1" }, "files": [ diff --git a/packages/e2e-test-kit/package.json b/packages/e2e-test-kit/package.json index abae924b9..4e5b54ef5 100644 --- a/packages/e2e-test-kit/package.json +++ b/packages/e2e-test-kit/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/e2e-test-kit", - "version": "5.11.0", + "version": "5.11.1", "description": "A collection of tools to help test Stylable components and applications from end-to-end", "main": "dist/index.js", "peerDependencies": { "webpack": "^5.30.0" }, "dependencies": { - "@stylable/runtime": "^5.11.0", + "@stylable/runtime": "^5.11.1", "node-eval": "^2.0.0", "playwright-core": "^1.34.3", "rimraf": "^5.0.1" diff --git a/packages/esbuild/package.json b/packages/esbuild/package.json index 5f553b088..c1e1b2bdc 100644 --- a/packages/esbuild/package.json +++ b/packages/esbuild/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/esbuild", - "version": "5.11.0", + "version": "5.11.1", "description": "Stylable plugin for esbuild", "main": "dist/index.js", "scripts": { @@ -10,13 +10,13 @@ "esbuild": "^0.17.18" }, "dependencies": { - "@stylable/build-tools": "^5.11.0", - "@stylable/cli": "^5.11.0", - "@stylable/core": "^5.11.0", - "@stylable/module-utils": "^5.11.0", - "@stylable/node": "^5.11.0", - "@stylable/optimizer": "^5.11.0", - "@stylable/runtime": "^5.11.0", + "@stylable/build-tools": "^5.11.1", + "@stylable/cli": "^5.11.1", + "@stylable/core": "^5.11.1", + "@stylable/module-utils": "^5.11.1", + "@stylable/node": "^5.11.1", + "@stylable/optimizer": "^5.11.1", + "@stylable/runtime": "^5.11.1", "decache": "^4.6.1" }, "files": [ diff --git a/packages/eslint-plugin-stylable/package.json b/packages/eslint-plugin-stylable/package.json index d4707cf41..d670eb546 100644 --- a/packages/eslint-plugin-stylable/package.json +++ b/packages/eslint-plugin-stylable/package.json @@ -1,13 +1,13 @@ { "name": "eslint-plugin-stylable", - "version": "5.11.0", + "version": "5.11.1", "description": "eslint plugin for Stylable usages", "main": "dist/index.js", "scripts": { "test": "mocha \"dist/test/**/*.spec.js\" --timeout 5000" }, "dependencies": { - "@stylable/core": "^5.11.0", + "@stylable/core": "^5.11.1", "@typescript-eslint/experimental-utils": "^5.59.9" }, "keywords": [ diff --git a/packages/experimental-loader/package.json b/packages/experimental-loader/package.json index 772cc0b49..863d5c4cc 100644 --- a/packages/experimental-loader/package.json +++ b/packages/experimental-loader/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/experimental-loader", - "version": "5.11.0", + "version": "5.11.1", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 20000" }, "dependencies": { - "@stylable/core": "^5.11.0", - "@stylable/runtime": "^5.11.0", + "@stylable/core": "^5.11.1", + "@stylable/runtime": "^5.11.1", "css-loader": "^6.8.1", "decache": "^4.6.1", "loader-utils": "^3.2.1" diff --git a/packages/jest/package.json b/packages/jest/package.json index d4c2051ee..b66371007 100644 --- a/packages/jest/package.json +++ b/packages/jest/package.json @@ -1,16 +1,16 @@ { "name": "@stylable/jest", - "version": "5.11.0", + "version": "5.11.1", "description": "Test your Stylable React components using Jest", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.11.0", - "@stylable/module-utils": "^5.11.0", - "@stylable/node": "^5.11.0", - "@stylable/runtime": "^5.11.0" + "@stylable/core": "^5.11.1", + "@stylable/module-utils": "^5.11.1", + "@stylable/node": "^5.11.1", + "@stylable/runtime": "^5.11.1" }, "files": [ "dist", diff --git a/packages/language-service/package.json b/packages/language-service/package.json index 0cb7f933e..2ac2ba724 100644 --- a/packages/language-service/package.json +++ b/packages/language-service/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/language-service", - "version": "5.11.0", + "version": "5.11.1", "description": "Stylable Language Services - syntax highlighting, completions, hinting and more for the Stylable CSS preprocessor.", "main": "dist/index.js", "scripts": { @@ -13,8 +13,8 @@ "dependencies": { "@file-services/types": "^7.3.0", "@file-services/typescript": "^7.3.0", - "@stylable/code-formatter": "^5.11.0", - "@stylable/core": "^5.11.0", + "@stylable/code-formatter": "^5.11.1", + "@stylable/core": "^5.11.1", "@tokey/core": "^1.3.0", "@tokey/css-selector-parser": "^0.6.1", "@tokey/css-value-parser": "^0.1.2", diff --git a/packages/module-utils/package.json b/packages/module-utils/package.json index 0ecb7a746..5f039326e 100644 --- a/packages/module-utils/package.json +++ b/packages/module-utils/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/module-utils", - "version": "5.11.0", + "version": "5.11.1", "description": "Stylable module creation utilities", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.11.0", + "@stylable/core": "^5.11.1", "@tokey/core": "^1.3.0", "vlq": "^2.0.4" }, diff --git a/packages/node/package.json b/packages/node/package.json index bf9a8e217..73eaa8f71 100644 --- a/packages/node/package.json +++ b/packages/node/package.json @@ -1,15 +1,15 @@ { "name": "@stylable/node", - "version": "5.11.0", + "version": "5.11.1", "description": "Integrate Stylable into your node application", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 10000" }, "dependencies": { - "@stylable/build-tools": "^5.11.0", - "@stylable/core": "^5.11.0", - "@stylable/module-utils": "^5.11.0", + "@stylable/build-tools": "^5.11.1", + "@stylable/core": "^5.11.1", + "@stylable/module-utils": "^5.11.1", "find-config": "^1.0.0" }, "files": [ diff --git a/packages/optimizer/package.json b/packages/optimizer/package.json index f1de60e68..fab4f7398 100644 --- a/packages/optimizer/package.json +++ b/packages/optimizer/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/optimizer", - "version": "5.11.0", + "version": "5.11.1", "description": "Stylable core optimizer", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.11.0", + "@stylable/core": "^5.11.1", "@tokey/css-selector-parser": "^0.6.1", "csso": "^5.0.5", "postcss": "^8.4.24" diff --git a/packages/rollup-plugin/package.json b/packages/rollup-plugin/package.json index b55428b8f..76a49b23e 100644 --- a/packages/rollup-plugin/package.json +++ b/packages/rollup-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/rollup-plugin", - "version": "5.11.0", + "version": "5.11.1", "description": "Stylable plugin for Rollup", "main": "dist/index.js", "scripts": { @@ -10,12 +10,12 @@ "rollup": "^2.70.0 || ^3.0.0" }, "dependencies": { - "@stylable/build-tools": "^5.11.0", - "@stylable/cli": "^5.11.0", - "@stylable/core": "^5.11.0", - "@stylable/node": "^5.11.0", - "@stylable/optimizer": "^5.11.0", - "@stylable/runtime": "^5.11.0", + "@stylable/build-tools": "^5.11.1", + "@stylable/cli": "^5.11.1", + "@stylable/core": "^5.11.1", + "@stylable/node": "^5.11.1", + "@stylable/optimizer": "^5.11.1", + "@stylable/runtime": "^5.11.1", "decache": "^4.6.1", "mime": "^3.0.0" }, diff --git a/packages/runtime/package.json b/packages/runtime/package.json index 7a77d1330..3ae3bba86 100644 --- a/packages/runtime/package.json +++ b/packages/runtime/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/runtime", - "version": "5.11.0", + "version": "5.11.1", "description": "Stylable runtime DOM integration", "main": "dist/index.js", "scripts": { diff --git a/packages/schema-extract/package.json b/packages/schema-extract/package.json index 4c51819c5..1ff8750b2 100644 --- a/packages/schema-extract/package.json +++ b/packages/schema-extract/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/schema-extract", - "version": "5.11.0", + "version": "5.11.1", "description": "A utility for extracting JSON schema objects from a Stylable stylesheet", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.11.0", + "@stylable/core": "^5.11.1", "jest-docblock": "^29.4.3" }, "files": [ diff --git a/packages/uni-driver/package.json b/packages/uni-driver/package.json index ece5273aa..41e981825 100644 --- a/packages/uni-driver/package.json +++ b/packages/uni-driver/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/uni-driver", - "version": "5.11.0", + "version": "5.11.1", "description": "Stylable UniDriver testing utilities", "main": "dist/index.js", "scripts": { diff --git a/packages/webpack-extensions/package.json b/packages/webpack-extensions/package.json index 4ec27872e..49ed419a8 100644 --- a/packages/webpack-extensions/package.json +++ b/packages/webpack-extensions/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/webpack-extensions", - "version": "5.11.0", + "version": "5.11.1", "description": "Experimental Stylable webpack plugins", "main": "dist/index.js", "scripts": { @@ -10,9 +10,9 @@ "webpack": "^5.30.0" }, "dependencies": { - "@stylable/core": "^5.11.0", - "@stylable/node": "^5.11.0", - "@stylable/webpack-plugin": "^5.11.0", + "@stylable/core": "^5.11.1", + "@stylable/node": "^5.11.1", + "@stylable/webpack-plugin": "^5.11.1", "@tokey/css-selector-parser": "^0.6.1", "find-config": "^1.0.0", "lodash.clonedeep": "^4.5.0" diff --git a/packages/webpack-plugin/package.json b/packages/webpack-plugin/package.json index f0a45f1f1..440203ddd 100644 --- a/packages/webpack-plugin/package.json +++ b/packages/webpack-plugin/package.json @@ -1,7 +1,7 @@ { "name": "@stylable/webpack-plugin", "description": "Webpack (5.x) plugin for Stylable modules", - "version": "5.11.0", + "version": "5.11.1", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 20000" @@ -10,13 +10,13 @@ "webpack": "^5.30.0" }, "dependencies": { - "@stylable/build-tools": "^5.11.0", - "@stylable/cli": "^5.11.0", - "@stylable/core": "^5.11.0", - "@stylable/module-utils": "^5.11.0", - "@stylable/node": "^5.11.0", - "@stylable/optimizer": "^5.11.0", - "@stylable/runtime": "^5.11.0", + "@stylable/build-tools": "^5.11.1", + "@stylable/cli": "^5.11.1", + "@stylable/core": "^5.11.1", + "@stylable/module-utils": "^5.11.1", + "@stylable/node": "^5.11.1", + "@stylable/optimizer": "^5.11.1", + "@stylable/runtime": "^5.11.1", "decache": "^4.6.1", "lodash.clonedeep": "^4.5.0", "postcss": "^8.4.24" From 9dcc31b5efcff5cc32d9d2b82caf89b670996f10 Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Thu, 8 Jun 2023 12:18:51 +0300 Subject: [PATCH 10/81] fix: edit parser unclosed at-rule bug (#2868) * fix: set source.end when nested is not properly closed * fix: unclosed at-rule where cursor is on name --- .../src/lib-new/ast-from-position.ts | 4 +- .../src/lib-new/edit-time-parser.ts | 24 ++++++++++++ .../test/lib-new/ast-from-position.spec.ts | 37 +++++++++++++++++++ .../test/lib-new/edit-time-parser.spec.ts | 13 ++++++- 4 files changed, 75 insertions(+), 3 deletions(-) diff --git a/packages/language-service/src/lib-new/ast-from-position.ts b/packages/language-service/src/lib-new/ast-from-position.ts index 8b0408cfb..8add95b4f 100644 --- a/packages/language-service/src/lib-new/ast-from-position.ts +++ b/packages/language-service/src/lib-new/ast-from-position.ts @@ -74,7 +74,7 @@ export interface AstLocationResult { } function isClosed(node: postcss.AnyNode) { const isLast = node.parent && node.parent.nodes[node.parent.nodes.length - 1] === node; - if (node.type === 'decl') { + if (node.type === 'decl' || (node.type === 'atrule' && !node.nodes)) { return isLast ? node.parent?.raws.semicolon : true; } return true; @@ -269,7 +269,7 @@ function checkDeclValue(node: postcss.AnyNode, checkContext: CheckContext) { function checkAtRuleParams(node: postcss.AnyNode, checkContext: CheckContext) { if (isAtRule(node)) { const valueStart = - checkContext.baseNodeOffset + 1 + node.name.length + node.raws.afterName!.length; + checkContext.baseNodeOffset + 1 + node.name.length + (node.raws.afterName!.length || 1); const valueEnd = valueStart + node.params.length; const isInParams = checkValue({ type: 'atRuleParams', diff --git a/packages/language-service/src/lib-new/edit-time-parser.ts b/packages/language-service/src/lib-new/edit-time-parser.ts index 400db65c3..ed3dc22c2 100644 --- a/packages/language-service/src/lib-new/edit-time-parser.ts +++ b/packages/language-service/src/lib-new/edit-time-parser.ts @@ -26,6 +26,7 @@ export function parseForEditing( const input = new postcss.Input(source, { from }); // ToDo: check why stringifier option doesn't work const parser = new EditTimeParser(input); parser.parse(); + parser.closeAstSource(); return { ast: parser.root, errorNodes: parser.errorNodes, @@ -56,6 +57,29 @@ class EditTimeParser extends Parser { createTokenizer() { this.tokenizer = tokenizer(this.input, { ignoreErrors: true }); } + public closeAstSource(node: postcss.Node = this.root) { + if (!node.source!.end) { + const nodes = (node as any).nodes; + // ToDo: add before/between/after values + if (!nodes || nodes.length === 0) { + const startPos = node.source!.start!; + node.source!.end = { + offset: startPos.offset + node.source!.input.css.length, + line: startPos.line, + column: startPos.column, + }; + } else { + const lastNode = nodes[nodes.length - 1]; + this.closeAstSource(lastNode); + const closePos = lastNode.source!.end!; + node.source!.end = { + offset: closePos.offset + (node.raws.after?.length || 0), + line: closePos.line, + column: closePos.column, + }; + } + } + } private reportNode(node: AnyNode, type: 'error' | 'ambiguity', report: string) { const bucket = type === 'error' ? this.errorNodes : this.ambiguousNodes; diff --git a/packages/language-service/test/lib-new/ast-from-position.spec.ts b/packages/language-service/test/lib-new/ast-from-position.spec.ts index 69628d6fb..846621955 100644 --- a/packages/language-service/test/lib-new/ast-from-position.spec.ts +++ b/packages/language-service/test/lib-new/ast-from-position.spec.ts @@ -1080,5 +1080,42 @@ describe('ast-from-position', () => { expect(declValue, 'declValue').to.eql(undefined); expect(atRuleParams, 'atRuleParams').to.eql(undefined); }); + it('should get unclosed at-rule cursor at name', () => { + const { position, parsed } = setupWithCursor(`@bookmark|`); + + const { base, selector, declValue, atRuleParams } = getAstNodeAt(parsed, position); + + // base level + expect(base.node.toString(), 'base target at-rule').to.eql('@bookmark'); + expect(base.offsetInNode, 'base offset').to.eql(9); + expect(base.where, 'where').to.eql('atRuleName'); + // unresolved levels + expect(selector, 'selector').to.eql(undefined); + expect(declValue, 'declValue').to.eql(undefined); + expect(atRuleParams, 'atRuleParams').to.eql(undefined); + }); + it('should get unclosed at-rule cursor empty params', () => { + const { position, parsed } = setupWithCursor(`@bookmark |`); + + const { base, selector, declValue, atRuleParams } = getAstNodeAt(parsed, position); + + // base level + expect(base.node.toString(), 'base target at-rule').to.eql('@bookmark '); + expect(base.offsetInNode, 'base offset').to.eql(10); + expect(base.where, 'where').to.eql('atRuleParams'); + // atrule-params level + expect(stringifyCSSValue(atRuleParams!.node as any), 'target params node').to.eql(''); + expect(atRuleParams!.offsetInNode).to.eql(0); + assertNodes(atRuleParams!.parents, [ + { + desc: 'rule node', + str: '@bookmark ', + }, + ]); + expect(stringifyCSSValue(atRuleParams!.ast), 'params ast').to.eql(''); + // unresolved levels + expect(selector, 'selector').to.eql(undefined); + expect(declValue, 'declValue').to.eql(undefined); + }); }); }); diff --git a/packages/language-service/test/lib-new/edit-time-parser.spec.ts b/packages/language-service/test/lib-new/edit-time-parser.spec.ts index 674521f7f..011e3f072 100644 --- a/packages/language-service/test/lib-new/edit-time-parser.spec.ts +++ b/packages/language-service/test/lib-new/edit-time-parser.spec.ts @@ -292,7 +292,7 @@ describe('edit-time-parser', () => { ERRORS.ATRULE_MISSING_NAME, ]); }); - it('should handle unclosed at-rule', () => { + it('should handle unclosed at-rule (open body without close)', () => { const { ast, errorNodes } = safeParse(` @xxx abc { `); @@ -306,6 +306,17 @@ describe('edit-time-parser', () => { }); expect(errorNodes.get(unclosed), 'errors').to.eql([ERRORS.MISSING_CLOSE]); }); + it('should handle unclosed at-rule (no body or semicolon)', () => { + const { ast } = parseForEditing(`@xxx abc \t\t\t`); + + expect(ast.toString(), 'stringify').to.equal('@xxx abc \t\t\t'); + const unclosed = assertAtRule(ast.nodes[0]); + expect(unclosed, 'node').to.include({ + name: 'xxx', + params: 'abc', + }); + expect(ast.source!.end!.offset, 'close parent with extra space').to.eql(11); + }); it('should keep track of end of source for unclosed nested nodes', () => { const { ast } = safeParse(` @xxx abc { From abe577b886c6b0228977622197c77544378a91a9 Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Mon, 12 Jun 2023 10:03:28 +0300 Subject: [PATCH 11/81] infra: unified ast-from-pos expectation to improve read/write (#2872) --- .../test/lib-new/ast-from-position.spec.ts | 1074 +++++++++-------- 1 file changed, 602 insertions(+), 472 deletions(-) diff --git a/packages/language-service/test/lib-new/ast-from-position.spec.ts b/packages/language-service/test/lib-new/ast-from-position.spec.ts index 846621955..035046a92 100644 --- a/packages/language-service/test/lib-new/ast-from-position.spec.ts +++ b/packages/language-service/test/lib-new/ast-from-position.spec.ts @@ -2,12 +2,13 @@ import { expect } from 'chai'; import { getAstNodeAt, type NodeType, + AstLocationResult, } from '@stylable/language-service/dist/lib-new/ast-from-position'; import { parseForEditing } from '@stylable/language-service/dist/lib-new/edit-time-parser'; import { stringifySelectorAst } from '@tokey/css-selector-parser'; import { stringifyCSSValue } from '@tokey/css-value-parser'; import { deindent } from '@stylable/core-test-kit'; -import { assertRule, assertAtRule } from '../test-kit/postcss-node-asserts'; +import { assertRule } from '../test-kit/postcss-node-asserts'; function setupWithCursor(source: string, options: { deindent?: boolean } = {}) { const deindented = options.deindent === false ? source : deindent(source); @@ -27,17 +28,74 @@ function assertNodes( nodes.forEach((actual, i) => { const expected = expectedNodes[i]; const desc = expected.desc || i; - const isPostCss = 'raws' in actual; - const actualStr = isPostCss - ? actual.toString() - : stringifyCSSValue(actual as any) || stringifySelectorAst(actual as any); + const actualStr = stringifyResultAst(actual); if (expected.type) { - expect(actual.type, 'type ' + desc).to.eql(expected.type); + if ('type' in actual) { + expect(actual.type, 'type ' + desc).to.eql(expected.type); + } else { + throw new Error(`expected node.type`); + } } expect(actualStr, 'string compare ' + desc).to.eql(expected.str); }); } +function stringifyResultAst(node: NodeType | NodeType[]): string { + if (Array.isArray(node)) { + return node.map(stringifyResultAst).join(''); + } + const isPostCss = 'raws' in node; + return isPostCss + ? node.toString() + : stringifyCSSValue(node as any) || stringifySelectorAst(node as any); +} +function expectAstLocation( + actual: NonNullable, + expectation: { + node?: NodeType; + stringify?: string; + unIndentedStringify?: string; + where?: string; + parents?: { str: string; desc?: string; type?: string }[]; + } +) { + if (expectation.node) { + expect(actual.node, 'node').to.equal(expectation.node); + } + if (expectation.where) { + if ('where' in actual) { + expect(actual.where, 'where').to.equal(expectation.where); + } else { + throw new Error(`expected where="${expectation.where}"`); + } + } + if (expectation.unIndentedStringify || expectation.stringify) { + const expectedSource = expectation.unIndentedStringify ?? deindent(expectation.stringify!); + let caretOffset = actual.offsetInNode; + let stringified = stringifyResultAst(actual.node); + if (expectedSource.includes('|')) { + // naively add spaces for cases where postcss keeps the initial spaces in the before + if (caretOffset < 0) { + stringified = stringified.padStart(-1 * caretOffset + stringified.length, ' '); + caretOffset = 0; + } else if (caretOffset > stringified.length) { + stringified = stringified.padEnd(caretOffset, ' '); + } + const withCaret = + stringified.slice(0, caretOffset) + '|' + stringified.slice(caretOffset); + expect(withCaret, 'stringify (with caret)').to.equal(expectedSource); + } else { + expect(stringified, 'stringify (with caret)').to.equal(expectedSource); + } + } + if (expectation.parents) { + if ('parents' in actual) { + assertNodes(actual.parents, expectation.parents); + } else { + throw new Error(`expected parents`); + } + } +} /** * these tests sometimes have before/after the actual source that is being tested * in order to verify that offsets are being calculated correctly. @@ -47,23 +105,27 @@ describe('ast-from-position', () => { it(`should find root (empty)`, () => { const { position, parsed } = setupWithCursor(`|`); - const { base, selector, declValue, atRuleParams } = getAstNodeAt(parsed, position); + const result = getAstNodeAt(parsed, position); - expect(base.node, 'node').to.equal(parsed.ast); - expect(base.offsetInNode, 'offset').to.eql(0); - expect(base.where, 'where').to.eql('root'); - expect(selector, 'selector').to.eql(undefined); - expect(declValue, 'declValue').to.eql(undefined); - expect(atRuleParams, 'atRuleParams').to.eql(undefined); + expectAstLocation(result.base, { + node: parsed.ast, + where: 'root', + stringify: '|', + }); + expect(result.selector, 'selector').to.eql(undefined); + expect(result.declValue, 'declValue').to.eql(undefined); + expect(result.atRuleParams, 'atRuleParams').to.eql(undefined); }); it(`should find root (whitespace)`, () => { const { position, parsed } = setupWithCursor(` \t\n|\n\t `, { deindent: false }); const { base, selector, declValue, atRuleParams } = getAstNodeAt(parsed, position); - expect(base.node, 'node').to.equal(parsed.ast); - expect(base.offsetInNode, 'offset').to.eql(3); - expect(base.where, 'where').to.eql('root'); + expectAstLocation(base, { + node: parsed.ast, + where: 'root', + unIndentedStringify: ' \t\n|\n\t ', + }); expect(selector, 'selector').to.eql(undefined); expect(declValue, 'declValue').to.eql(undefined); expect(atRuleParams, 'atRuleParams').to.eql(undefined); @@ -73,9 +135,11 @@ describe('ast-from-position', () => { const { base, selector, declValue, atRuleParams } = getAstNodeAt(parsed, position); - expect(base.node, 'node').to.equal(parsed.ast.nodes[1]); - expect(base.offsetInNode, 'offset').to.eql(9); - expect(base.where, 'where').to.eql('comment'); + expectAstLocation(base, { + node: parsed.ast.nodes[1], + where: 'comment', + stringify: '/*comment|*/', + }); expect(selector, 'selector').to.eql(undefined); expect(declValue, 'declValue').to.eql(undefined); expect(atRuleParams, 'atRuleParams').to.eql(undefined); @@ -94,27 +158,30 @@ describe('ast-from-position', () => { const { base, selector, declValue, atRuleParams } = getAstNodeAt(parsed, position); // base level - expect(base.node.toString(), 'base target class node').to.eql( - '.bookmark.after {\n prop: val;\n}' - ); - expect(base.offsetInNode, 'base offset').to.eql(0); - expect(base.where, 'where').to.eql('ruleSelector'); + expectAstLocation(base, { + node: parsed.ast.nodes[1], + where: 'ruleSelector', + stringify: ` + |.bookmark.after { + prop: val; + } + `, + }); // selector level - expect(stringifySelectorAst(selector!.node), 'target selector').to.eql( - '.bookmark.after' - ); + expectAstLocation(selector!, { + stringify: `|.bookmark.after`, + parents: [ + { + desc: 'rule node', + str: deindent(` + .bookmark.after { + prop: val; + } + `), + }, + ], + }); expect(selector!.afterSelector, 'after selector').to.eql(false); - expect(selector!.offsetInNode).to.eql(0); - assertNodes(selector!.parents, [ - { - desc: 'rule node', - str: deindent(` - .bookmark.after { - prop: val; - } - `), - }, - ]); // unresolved levels expect(declValue, 'declValue').to.eql(undefined); expect(atRuleParams, 'atRuleParams').to.eql(undefined); @@ -131,29 +198,34 @@ describe('ast-from-position', () => { const { base, selector, declValue, atRuleParams } = getAstNodeAt(parsed, position); // base level - expect(base.node.toString(), 'base target class node').to.eql( - '.before.bookmark.after {\n prop: val;\n}' - ); - expect(base.offsetInNode, 'base offset').to.eql(12); - expect(base.where, 'where').to.eql('ruleSelector'); + expectAstLocation(base, { + node: parsed.ast.nodes[1], + where: 'ruleSelector', + stringify: ` + .before.book|mark.after { + prop: val; + } + `, + }); // selector level - expect(stringifySelectorAst(selector!.node), 'target class node').to.eql('.bookmark'); + expectAstLocation(selector!, { + stringify: `.book|mark`, + parents: [ + { + desc: 'rule node', + str: deindent(` + .before.bookmark.after { + prop: val; + } + `), + }, + { + desc: 'top selector node', + str: '.before.bookmark.after', + }, + ], + }); expect(selector!.afterSelector, 'after selector').to.eql(false); - expect(selector!.offsetInNode).to.eql(5); - assertNodes(selector!.parents, [ - { - desc: 'rule node', - str: deindent(` - .before.bookmark.after { - prop: val; - } - `), - }, - { - desc: 'top selector node', - str: '.before.bookmark.after', - }, - ]); // unresolved levels expect(declValue, 'declValue').to.eql(undefined); expect(atRuleParams, 'atRuleParams').to.eql(undefined); @@ -169,32 +241,37 @@ describe('ast-from-position', () => { const { base, selector } = getAstNodeAt(parsed, position); - expect(base.where, 'where').to.eql('ruleSelector'); - - expect(stringifySelectorAst(selector!.node), 'target class node').to.eql('.target'); - expect(selector!.offsetInNode).to.eql(5); - assertNodes(selector!.parents, [ - { - desc: 'rule node', - str: deindent(` - .before:is(.target.a).after { - decl: declValue; - } - `), - }, - { - desc: 'top selector node', - str: '.before:is(.target.a).after', - }, - { - desc: 'is() selector node', - str: ':is(.target.a)', - }, - { - desc: 'nested selector node', - str: '.target.a', - }, - ]); + // base level + expectAstLocation(base, { + node: parsed.ast.nodes[1], + where: 'ruleSelector', + }); + // selector level + expectAstLocation(selector!, { + stringify: `.targ|et`, + parents: [ + { + desc: 'rule node', + str: deindent(` + .before:is(.target.a).after { + decl: declValue; + } + `), + }, + { + desc: 'top selector node', + str: '.before:is(.target.a).after', + }, + { + desc: 'is() selector node', + str: ':is(.target.a)', + }, + { + desc: 'nested selector node', + str: '.target.a', + }, + ], + }); }); it(`should find selector end`, () => { const { position, parsed } = setupWithCursor(` @@ -208,29 +285,34 @@ describe('ast-from-position', () => { const { base, selector, declValue, atRuleParams } = getAstNodeAt(parsed, position); // base level - expect(base.node.toString(), 'base target class node').to.eql( - '.before.bookmark {\n prop: val;\n}' - ); - expect(base.offsetInNode, 'base offset').to.eql(16); - expect(base.where, 'where').to.eql('ruleSelector'); + expectAstLocation(base, { + node: parsed.ast.nodes[1], + where: 'ruleSelector', + stringify: ` + .before.bookmark| { + prop: val; + } + `, + }); // selector level - expect(stringifySelectorAst(selector!.node), 'target class node').to.eql('.bookmark'); + expectAstLocation(selector!, { + stringify: `.bookmark|`, + parents: [ + { + desc: 'rule node', + str: deindent(` + .before.bookmark { + prop: val; + } + `), + }, + { + desc: 'top selector node', + str: '.before.bookmark', + }, + ], + }); expect(selector!.afterSelector, 'after selector').to.eql(false); - expect(selector!.offsetInNode).to.eql(9); - assertNodes(selector!.parents, [ - { - desc: 'rule node', - str: deindent(` - .before.bookmark { - prop: val; - } - `), - }, - { - desc: 'top selector node', - str: '.before.bookmark', - }, - ]); // unresolved levels expect(declValue, 'declValue').to.eql(undefined); expect(atRuleParams, 'atRuleParams').to.eql(undefined); @@ -247,23 +329,30 @@ describe('ast-from-position', () => { const { base, selector, declValue, atRuleParams } = getAstNodeAt(parsed, position); // base level - expect(base.node.toString(), 'base target class node').to.eql('{\n prop: val;\n}'); - expect(base.offsetInNode, 'base offset').to.eql(-1); - expect(base.where, 'where').to.eql('ruleBetweenSelectorAndBody'); + expectAstLocation(base, { + node: parsed.ast.nodes[1], + where: 'ruleBetweenSelectorAndBody', + stringify: ` + | { + prop: val; + } + `, + }); // selector level - expect(stringifySelectorAst(selector!.node), '').to.eql(''); + expectAstLocation(selector!, { + stringify: `|`, + parents: [ + { + desc: 'rule node', + str: deindent(` + { + prop: val; + } + `), + }, + ], + }); expect(selector!.afterSelector, 'after selector').to.eql(false); - expect(selector!.offsetInNode).to.eql(0); - assertNodes(selector!.parents, [ - { - desc: 'rule node', - str: deindent(` - { - prop: val; - } - `), - }, - ]); // unresolved levels expect(declValue, 'declValue').to.eql(undefined); expect(atRuleParams, 'atRuleParams').to.eql(undefined); @@ -280,25 +369,30 @@ describe('ast-from-position', () => { const { base, selector, declValue, atRuleParams } = getAstNodeAt(parsed, position); // base level - expect(base.node.toString(), 'base target class node').to.eql( - '.bookmark {\n prop: val;\n}' - ); - expect(base.offsetInNode, 'base offset').to.eql(12); - expect(base.where, 'where').to.eql('ruleBetweenSelectorAndBody'); + expectAstLocation(base, { + node: parsed.ast.nodes[1], + where: 'ruleBetweenSelectorAndBody', + stringify: ` + .bookmark | { + prop: val; + } + `, + }); // selector-after level - expect(stringifySelectorAst(selector!.node), 'target selector').to.eql('.bookmark'); + expectAstLocation(selector!, { + stringify: `.bookmark |`, + parents: [ + { + desc: 'rule node', + str: deindent(` + .bookmark { + prop: val; + } + `), + }, + ], + }); expect(selector!.afterSelector, 'after selector').to.eql(true); - expect(selector!.offsetInNode).to.eql(12); - assertNodes(selector!.parents, [ - { - desc: 'rule node', - str: deindent(` - .bookmark { - prop: val; - } - `), - }, - ]); // unresolved levels expect(declValue, 'declValue').to.eql(undefined); expect(atRuleParams, 'atRuleParams').to.eql(undefined); @@ -315,25 +409,29 @@ describe('ast-from-position', () => { const { base, selector, declValue, atRuleParams } = getAstNodeAt(parsed, position); // base level - expect(base.node.toString(), 'base target class node').to.eql( - '.before, .bookmark , .after {\n prop: val;\n}' - ); - expect(base.offsetInNode, 'base offset').to.eql(19); - expect(base.where, 'where').to.eql('ruleSelector'); + expectAstLocation(base, { + where: 'ruleSelector', + stringify: ` + .before, .bookmark |, .after { + prop: val; + } + `, + }); // selector-after level - expect(stringifySelectorAst(selector!.node), 'target selector').to.eql(' .bookmark '); + expectAstLocation(selector!, { + unIndentedStringify: ` .bookmark |`, + parents: [ + { + desc: 'rule node', + str: deindent(` + .before, .bookmark , .after { + prop: val; + } + `), + }, + ], + }); expect(selector!.afterSelector, 'after selector').to.eql(true); - expect(selector!.offsetInNode).to.eql(11); - assertNodes(selector!.parents, [ - { - desc: 'rule node', - str: deindent(` - .before, .bookmark , .after { - prop: val; - } - `), - }, - ]); // unresolved levels expect(declValue, 'declValue').to.eql(undefined); expect(atRuleParams, 'atRuleParams').to.eql(undefined); @@ -347,10 +445,12 @@ describe('ast-from-position', () => { const { base, selector, declValue, atRuleParams } = getAstNodeAt(parsed, position); - const rule = assertRule(parsed.ast.nodes[1]); - expect(base.node, 'node').to.equal(rule); - expect(base.offsetInNode, 'offset').to.eql(5); - expect(base.where, 'where').to.eql('ruleBody'); + // base level + expectAstLocation(base, { + node: assertRule(parsed.ast.nodes[1]), + where: 'ruleBody', + stringify: `.x { | decl: declValue; }`, + }); // ToDo: maybe offer before/after nodes // expect(base.beforeNode, 'beforeNode').to.eql(undefined); // expect(base.afterNode, 'afterNode').to.eql(rule.nodes[0]); @@ -368,10 +468,12 @@ describe('ast-from-position', () => { const { base, selector, declValue, atRuleParams } = getAstNodeAt(parsed, position); - const rule = assertRule(parsed.ast.nodes[1]); - expect(base.node, 'node').to.equal(rule); - expect(base.offsetInNode, 'offset').to.eql(20); - expect(base.where, 'where').to.eql('ruleBody'); + // base level + expectAstLocation(base, { + node: assertRule(parsed.ast.nodes[1]), + where: 'ruleBody', + stringify: `.x { decl1: before; | decl2: after }`, + }); // unresolved levels expect(selector, 'selector').to.eql(undefined); expect(declValue, 'declValue').to.eql(undefined); @@ -386,10 +488,12 @@ describe('ast-from-position', () => { const { base, selector, declValue, atRuleParams } = getAstNodeAt(parsed, position); - const rule = assertRule(parsed.ast.nodes[1]); - expect(base.node, 'node').to.equal(rule); - expect(base.offsetInNode, 'offset').to.eql(19); - expect(base.where, 'where').to.eql('ruleBody'); + // base level + expectAstLocation(base, { + node: assertRule(parsed.ast.nodes[1]), + where: 'ruleBody', + stringify: `.x { decl: before; | }`, + }); // unresolved levels expect(selector, 'selector').to.eql(undefined); expect(declValue, 'declValue').to.eql(undefined); @@ -408,9 +512,11 @@ describe('ast-from-position', () => { const { base, selector, declValue, atRuleParams } = getAstNodeAt(parsed, position); // base level - expect(base.node, 'node').to.equal((parsed.ast as any).nodes[0].nodes[0]); - expect(base.offsetInNode, 'offset').to.equal(0); - expect(base.where, 'where').to.eql('declProp'); + expectAstLocation(base, { + node: (parsed.ast as any).nodes[0].nodes[0], + where: 'declProp', + stringify: `|decl: declValue`, + }); // unresolved levels expect(selector, 'selector').to.eql(undefined); expect(declValue, 'declValue').to.eql(undefined); @@ -425,9 +531,11 @@ describe('ast-from-position', () => { const { base, selector, declValue, atRuleParams } = getAstNodeAt(parsed, position); // base level - expect(base.node, 'node').to.equal((parsed.ast as any).nodes[0].nodes[0]); - expect(base.offsetInNode, 'offset').to.equal(4); - expect(base.where, 'where').to.eql('declProp'); + expectAstLocation(base, { + node: (parsed.ast as any).nodes[0].nodes[0], + where: 'declProp', + stringify: `decl|: declValue`, + }); // unresolved levels expect(selector, 'selector').to.eql(undefined); expect(declValue, 'declValue').to.eql(undefined); @@ -442,9 +550,11 @@ describe('ast-from-position', () => { const { base, selector, declValue, atRuleParams } = getAstNodeAt(parsed, position); // base level - expect(base.node, 'node').to.equal((parsed.ast as any).nodes[0].nodes[0]); - expect(base.offsetInNode, 'offset').to.equal(5); - expect(base.where, 'where').to.eql('declBetweenPropAndColon'); + expectAstLocation(base, { + node: (parsed.ast as any).nodes[0].nodes[0], + where: 'declBetweenPropAndColon', + stringify: `decl | : declValue`, + }); // unresolved levels expect(selector, 'selector').to.eql(undefined); expect(declValue, 'declValue').to.eql(undefined); @@ -459,9 +569,11 @@ describe('ast-from-position', () => { const { base, selector, declValue, atRuleParams } = getAstNodeAt(parsed, position); // base level - expect(base.node, 'node').to.equal((parsed.ast as any).nodes[0].nodes[0]); - expect(base.offsetInNode, 'offset').to.equal(6); - expect(base.where, 'where').to.eql('declBetweenColonAndValue'); + expectAstLocation(base, { + node: (parsed.ast as any).nodes[0].nodes[0], + where: 'declBetweenColonAndValue', + stringify: `decl: | declValue`, + }); // unresolved levels expect(selector, 'selector').to.eql(undefined); expect(declValue, 'declValue').to.eql(undefined); @@ -477,21 +589,22 @@ describe('ast-from-position', () => { const { base, selector, declValue, atRuleParams } = getAstNodeAt(parsed, position); // base level - expect(base.node, 'node').to.equal((parsed.ast as any).nodes[0].nodes[0]); - expect(base.offsetInNode, 'offset').to.equal(7); - expect(base.where, 'where').to.eql('declValue'); + expectAstLocation(base, { + node: (parsed.ast as any).nodes[0].nodes[0], + where: 'declValue', + stringify: `decl1: |bookmark after`, + }); // decl-value level - expect(stringifyCSSValue(declValue!.node as any), 'target value node').to.eql( - 'bookmark' - ); - expect(declValue!.offsetInNode).to.eql(0); - assertNodes(declValue!.parents, [ - { - desc: 'value node', - str: 'decl1: bookmark after', - }, - ]); expect(stringifyCSSValue(declValue!.ast), 'value ast').to.eql('bookmark after'); + expectAstLocation(declValue!, { + stringify: '|bookmark', + parents: [ + { + desc: 'value node', + str: 'decl1: bookmark after', + }, + ], + }); // unresolved levels expect(selector, 'selector').to.eql(undefined); expect(atRuleParams, 'atRuleParams').to.eql(undefined); @@ -506,21 +619,22 @@ describe('ast-from-position', () => { const { base, selector, declValue, atRuleParams } = getAstNodeAt(parsed, position); // base level - expect(base.node, 'node').to.equal((parsed.ast as any).nodes[0].nodes[0]); - expect(base.offsetInNode, 'offset').to.equal(18); - expect(base.where, 'where').to.eql('declValue'); + expectAstLocation(base, { + node: (parsed.ast as any).nodes[0].nodes[0], + where: 'declValue', + stringify: `decl1: before book|mark after`, + }); // decl-value level - expect(stringifyCSSValue(declValue!.node as any), 'target value node').to.eql( - 'bookmark' - ); - expect(declValue!.offsetInNode).to.eql(4); - assertNodes(declValue!.parents, [ - { - desc: 'value node', - str: 'decl1: before bookmark after', - }, - ]); expect(stringifyCSSValue(declValue!.ast), 'value ast').to.eql('before bookmark after'); + expectAstLocation(declValue!, { + stringify: 'book|mark', + parents: [ + { + desc: 'value node', + str: 'decl1: before bookmark after', + }, + ], + }); // unresolved levels expect(selector, 'selector').to.eql(undefined); expect(atRuleParams, 'atRuleParams').to.eql(undefined); @@ -534,27 +648,28 @@ describe('ast-from-position', () => { const { base, selector, declValue, atRuleParams } = getAstNodeAt(parsed, position); // base level - expect(base.node, 'node').to.equal((parsed.ast as any).nodes[0].nodes[0]); - expect(base.where, 'where').to.eql('declValue'); - expect(base.offsetInNode, 'offset').to.equal(22); + expectAstLocation(base, { + node: (parsed.ast as any).nodes[0].nodes[0], + where: 'declValue', + stringify: `decl: before nest(book|mark) after`, + }); // decl-value level - expect(stringifyCSSValue(declValue!.node as any), 'target value node').to.eql( - 'bookmark' - ); - expect(declValue!.offsetInNode).to.eql(4); - assertNodes(declValue!.parents, [ - { - desc: 'value node', - str: 'decl: before nest(bookmark) after', - }, - { - desc: 'nest node', - str: 'nest(bookmark)', - }, - ]); expect(stringifyCSSValue(declValue!.ast), 'value ast').to.eql( 'before nest(bookmark) after' ); + expectAstLocation(declValue!, { + stringify: 'book|mark', + parents: [ + { + desc: 'value node', + str: 'decl: before nest(bookmark) after', + }, + { + desc: 'nest node', + str: 'nest(bookmark)', + }, + ], + }); // unresolved levels expect(selector, 'selector').to.eql(undefined); expect(atRuleParams, 'atRuleParams').to.eql(undefined); @@ -569,21 +684,22 @@ describe('ast-from-position', () => { const { base, selector, declValue, atRuleParams } = getAstNodeAt(parsed, position); // base level - expect(base.node, 'node').to.equal((parsed.ast as any).nodes[0].nodes[0]); - expect(base.offsetInNode, 'offset').to.equal(22); - expect(base.where, 'where').to.eql('declValue'); + expectAstLocation(base, { + node: (parsed.ast as any).nodes[0].nodes[0], + where: 'declValue', + stringify: `decl1: before bookmark|`, + }); // decl-value level - expect(stringifyCSSValue(declValue!.node as any), 'target value node').to.eql( - 'bookmark' - ); - expect(declValue!.offsetInNode).to.eql(8); - assertNodes(declValue!.parents, [ - { - desc: 'decl node', - str: 'decl1: before bookmark', - }, - ]); expect(stringifyCSSValue(declValue!.ast), 'value ast').to.eql('before bookmark'); + expectAstLocation(declValue!, { + stringify: 'bookmark|', + parents: [ + { + desc: 'decl node', + str: 'decl1: before bookmark', + }, + ], + }); // unresolved levels expect(selector, 'selector').to.eql(undefined); expect(atRuleParams, 'atRuleParams').to.eql(undefined); @@ -597,20 +713,23 @@ describe('ast-from-position', () => { const { base, selector, declValue, atRuleParams } = getAstNodeAt(parsed, position); // base level - expect(base.node, 'node').to.equal((parsed.ast as any).nodes[0].nodes[0]); - expect(base.offsetInNode, 'offset').to.equal(16); - expect(base.where, 'where').to.eql('declValue'); + expectAstLocation(base, { + node: (parsed.ast as any).nodes[0].nodes[0], + where: 'declValue', + stringify: `decl1: before |`, + }); // decl-value level - expect(stringifyCSSValue(declValue!.node as any), 'target value node').to.eql('before'); - expect(declValue!.afterValue, 'after value').to.eql(true); - expect(declValue!.offsetInNode).to.eql(9); - assertNodes(declValue!.parents, [ - { - desc: 'decl node', - str: 'decl1: before', - }, - ]); expect(stringifyCSSValue(declValue!.ast), 'value ast').to.eql('before'); + expect(declValue!.afterValue, 'after value').to.eql(true); + expectAstLocation(declValue!, { + stringify: 'before |', + parents: [ + { + desc: 'decl node', + str: 'decl1: before', + }, + ], + }); // unresolved levels expect(selector, 'selector').to.eql(undefined); expect(atRuleParams, 'atRuleParams').to.eql(undefined); @@ -627,9 +746,10 @@ describe('ast-from-position', () => { const { base, selector, declValue, atRuleParams } = getAstNodeAt(parsed, position); // base level - expect(base.node.toString(), 'base target at-rule node').to.eql('@bookmark params {}'); - expect(base.offsetInNode, 'base offset').to.eql(1); - expect(base.where, 'where').to.eql('atRuleName'); + expectAstLocation(base, { + stringify: '@|bookmark params {}', + where: 'atRuleName', + }); // unresolved levels expect(selector, 'selector').to.eql(undefined); expect(declValue, 'declValue').to.eql(undefined); @@ -645,9 +765,10 @@ describe('ast-from-position', () => { const { base, selector, declValue, atRuleParams } = getAstNodeAt(parsed, position); // base level - expect(base.node.toString(), 'base target at-rule node').to.eql('@bookmark params {}'); - expect(base.offsetInNode, 'base offset').to.eql(9); - expect(base.where, 'where').to.eql('atRuleName'); + expectAstLocation(base, { + stringify: '@bookmark| params {}', + where: 'atRuleName', + }); // unresolved levels expect(selector, 'selector').to.eql(undefined); expect(declValue, 'declValue').to.eql(undefined); @@ -663,23 +784,21 @@ describe('ast-from-position', () => { const { base, selector, declValue, atRuleParams } = getAstNodeAt(parsed, position); // base level - expect(base.node.toString(), 'base target at-rule node').to.eql( - '@name bookmark after {}' - ); - expect(base.offsetInNode, 'base offset').to.eql(6); - expect(base.where, 'where').to.eql('atRuleParams'); + expectAstLocation(base, { + stringify: '@name |bookmark after {}', + where: 'atRuleParams', + }); // atrule-params level - expect(stringifyCSSValue(atRuleParams!.node as any), 'target params node').to.eql( - 'bookmark' - ); - expect(atRuleParams!.offsetInNode).to.eql(0); - assertNodes(atRuleParams!.parents, [ - { - desc: 'rule node', - str: '@name bookmark after {}', - }, - ]); expect(stringifyCSSValue(atRuleParams!.ast), 'params ast').to.eql('bookmark after'); + expectAstLocation(atRuleParams!, { + stringify: '|bookmark', + parents: [ + { + desc: 'rule node', + str: '@name bookmark after {}', + }, + ], + }); // unresolved levels expect(selector, 'selector').to.eql(undefined); expect(declValue, 'declValue').to.eql(undefined); @@ -694,25 +813,23 @@ describe('ast-from-position', () => { const { base, selector, declValue, atRuleParams } = getAstNodeAt(parsed, position); // base level - expect(base.node.toString(), 'base target at-rule node').to.eql( - '@name before bookmark after {}' - ); - expect(base.offsetInNode, 'base offset').to.eql(17); - expect(base.where, 'where').to.eql('atRuleParams'); + expectAstLocation(base, { + stringify: '@name before book|mark after {}', + where: 'atRuleParams', + }); // atrule-params level - expect(stringifyCSSValue(atRuleParams!.node as any), 'target params node').to.eql( - 'bookmark' - ); - expect(atRuleParams!.offsetInNode).to.eql(4); - assertNodes(atRuleParams!.parents, [ - { - desc: 'rule node', - str: '@name before bookmark after {}', - }, - ]); expect(stringifyCSSValue(atRuleParams!.ast), 'params ast').to.eql( 'before bookmark after' ); + expectAstLocation(atRuleParams!, { + stringify: 'book|mark', + parents: [ + { + desc: 'rule node', + str: '@name before bookmark after {}', + }, + ], + }); // unresolved levels expect(selector, 'selector').to.eql(undefined); expect(declValue, 'declValue').to.eql(undefined); @@ -727,29 +844,27 @@ describe('ast-from-position', () => { const { base, selector, declValue, atRuleParams } = getAstNodeAt(parsed, position); // base level - expect(base.node.toString(), 'base target at-rule node').to.eql( - '@name before nest(bookmark) after {}' - ); - expect(base.offsetInNode, 'base offset').to.eql(22); - expect(base.where, 'where').to.eql('atRuleParams'); + expectAstLocation(base, { + stringify: '@name before nest(book|mark) after {}', + where: 'atRuleParams', + }); // atrule-params level - expect(stringifyCSSValue(atRuleParams!.node as any), 'target params node').to.eql( - 'bookmark' - ); - expect(atRuleParams!.offsetInNode).to.eql(4); - assertNodes(atRuleParams!.parents, [ - { - desc: 'rule node', - str: '@name before nest(bookmark) after {}', - }, - { - desc: 'nest node', - str: 'nest(bookmark)', - }, - ]); expect(stringifyCSSValue(atRuleParams!.ast), 'params ast').to.eql( 'before nest(bookmark) after' ); + expectAstLocation(atRuleParams!, { + stringify: 'book|mark', + parents: [ + { + desc: 'rule node', + str: '@name before nest(bookmark) after {}', + }, + { + desc: 'nest node', + str: 'nest(bookmark)', + }, + ], + }); // unresolved levels expect(selector, 'selector').to.eql(undefined); expect(declValue, 'declValue').to.eql(undefined); @@ -764,23 +879,21 @@ describe('ast-from-position', () => { const { base, selector, declValue, atRuleParams } = getAstNodeAt(parsed, position); // base level - expect(base.node.toString(), 'base target at-rule node').to.eql( - '@name start bookmark {}' - ); - expect(base.offsetInNode, 'base offset').to.eql(20); - expect(base.where, 'where').to.eql('atRuleParams'); + expectAstLocation(base, { + stringify: '@name start bookmark| {}', + where: 'atRuleParams', + }); // atrule-params level - expect(stringifyCSSValue(atRuleParams!.node as any), 'target params node').to.eql( - 'bookmark' - ); - expect(atRuleParams!.offsetInNode).to.eql(8); - assertNodes(atRuleParams!.parents, [ - { - desc: 'rule node', - str: '@name start bookmark {}', - }, - ]); expect(stringifyCSSValue(atRuleParams!.ast), 'params ast').to.eql('start bookmark'); + expectAstLocation(atRuleParams!, { + stringify: 'bookmark|', + parents: [ + { + desc: 'rule node', + str: '@name start bookmark {}', + }, + ], + }); // unresolved levels expect(selector, 'selector').to.eql(undefined); expect(declValue, 'declValue').to.eql(undefined); @@ -795,21 +908,21 @@ describe('ast-from-position', () => { const { base, selector, declValue, atRuleParams } = getAstNodeAt(parsed, position); // base level - expect(base.node.toString(), 'base target at-rule node').to.eql('@name params {}'); - expect(base.offsetInNode, 'base offset').to.eql(15); - expect(base.where, 'where').to.eql('atRuleParams'); + expectAstLocation(base, { + stringify: '@name params | {}', + where: 'atRuleParams', + }); // atrule-params level - expect(stringifyCSSValue(atRuleParams!.node as any), 'target params node').to.eql( - 'params' - ); expect(atRuleParams!.afterValue, 'after params value').to.eql(true); - expect(atRuleParams!.offsetInNode).to.eql(9); - assertNodes(atRuleParams!.parents, [ - { - desc: 'rule node', - str: '@name params {}', - }, - ]); + expectAstLocation(atRuleParams!, { + stringify: 'params |', + parents: [ + { + desc: 'rule node', + str: '@name params {}', + }, + ], + }); // unresolved levels expect(selector, 'selector').to.eql(undefined); expect(declValue, 'declValue').to.eql(undefined); @@ -826,21 +939,21 @@ describe('ast-from-position', () => { const { base, selector, declValue, atRuleParams } = getAstNodeAt(parsed, position); // base level - expect(base.node.toString(), 'base target at-rule node').to.eql('@name params '); - expect(base.offsetInNode, 'base offset').to.eql(15); - expect(base.where, 'where').to.eql('atRuleParams'); + expectAstLocation(base, { + unIndentedStringify: '@name params | ', + where: 'atRuleParams', + }); // atrule-params level - expect(stringifyCSSValue(atRuleParams!.node as any), 'target params node').to.eql( - 'params' - ); expect(atRuleParams!.afterValue, 'after params value').to.eql(true); - expect(atRuleParams!.offsetInNode).to.eql(9); - assertNodes(atRuleParams!.parents, [ - { - desc: 'rule node', - str: '@name params ', - }, - ]); + expectAstLocation(atRuleParams!, { + stringify: 'params |', + parents: [ + { + desc: 'rule node', + str: '@name params ', + }, + ], + }); // unresolved levels expect(selector, 'selector').to.eql(undefined); expect(declValue, 'declValue').to.eql(undefined); @@ -854,10 +967,12 @@ describe('ast-from-position', () => { const { base, selector, declValue, atRuleParams } = getAstNodeAt(parsed, position); - const rule = assertAtRule(parsed.ast.nodes[1]); - expect(base.node, 'node').to.equal(rule); - expect(base.offsetInNode, 'offset').to.eql(11); - expect(base.where, 'where').to.eql('atRuleBody'); + // base level + expectAstLocation(base, { + node: parsed.ast.nodes[1], + where: 'atRuleBody', + stringify: '@x params{ | decl: declValue; }', + }); // unresolved levels expect(selector, 'selector').to.eql(undefined); expect(declValue, 'declValue').to.eql(undefined); @@ -872,10 +987,12 @@ describe('ast-from-position', () => { const { base, selector, declValue, atRuleParams } = getAstNodeAt(parsed, position); - const rule = assertAtRule(parsed.ast.nodes[1]); - expect(base.node, 'node').to.equal(rule); - expect(base.offsetInNode, 'offset').to.eql(27); - expect(base.where, 'where').to.eql('atRuleBody'); + // base level + expectAstLocation(base, { + node: parsed.ast.nodes[1], + where: 'atRuleBody', + stringify: '@x params { decl1: before; | decl2: after }', + }); // unresolved levels expect(selector, 'selector').to.eql(undefined); expect(declValue, 'declValue').to.eql(undefined); @@ -890,10 +1007,12 @@ describe('ast-from-position', () => { const { base, selector, declValue, atRuleParams } = getAstNodeAt(parsed, position); - const rule = assertAtRule(parsed.ast.nodes[1]); - expect(base.node, 'node').to.equal(rule); - expect(base.offsetInNode, 'offset').to.eql(26); - expect(base.where, 'where').to.eql('atRuleBody'); + // base level + expectAstLocation(base, { + node: parsed.ast.nodes[1], + where: 'atRuleBody', + stringify: '@x params { decl: before; | }', + }); // unresolved levels expect(selector, 'selector').to.eql(undefined); expect(declValue, 'declValue').to.eql(undefined); @@ -909,36 +1028,35 @@ describe('ast-from-position', () => { const { base, selector, declValue, atRuleParams } = getAstNodeAt(parsed, position); // base level - expect(base.node.toString(), 'base target at-rule node').to.eql( - '@st-scope .before.bookmark.after {}' - ); - expect(base.offsetInNode, 'base offset').to.eql(22); - expect(base.where, 'where').to.eql('atRuleParams'); + expectAstLocation(base, { + stringify: '@st-scope .before.book|mark.after {}', + where: 'atRuleParams', + }); // atrule-params level - expect(stringifyCSSValue(atRuleParams!.node as any), 'target params node').to.eql( - 'bookmark' - ); - expect(atRuleParams!.offsetInNode).to.eql(4); - assertNodes(atRuleParams!.parents, [ - { - desc: 'rule node', - str: '@st-scope .before.bookmark.after {}', - }, - ]); + expectAstLocation(atRuleParams!, { + stringify: 'book|mark', + parents: [ + { + desc: 'rule node', + str: '@st-scope .before.bookmark.after {}', + }, + ], + }); // selector level - expect(stringifySelectorAst(selector!.node), 'target class node').to.eql('.bookmark'); expect(selector!.afterSelector, 'after selector').to.eql(false); - expect(selector!.offsetInNode).to.eql(5); - assertNodes(selector!.parents, [ - { - desc: 'st-scope atrule node', - str: '@st-scope .before.bookmark.after {}', - }, - { - desc: 'top selector node', - str: '.before.bookmark.after', - }, - ]); + expectAstLocation(selector!, { + stringify: '.book|mark', + parents: [ + { + desc: 'st-scope atrule node', + str: '@st-scope .before.bookmark.after {}', + }, + { + desc: 'top selector node', + str: '.before.bookmark.after', + }, + ], + }); // unresolved levels expect(declValue, 'declValue').to.eql(undefined); }); @@ -953,27 +1071,30 @@ describe('ast-from-position', () => { const { base, selector, declValue, atRuleParams } = getAstNodeAt(parsed, position); // base level - expect(base.node.toString(), 'base target class node').to.eql('.before.bookmark.after'); - expect(base.offsetInNode, 'base offset').to.eql(12); - expect(base.where, 'where').to.eql('invalid'); + expectAstLocation(base, { + stringify: '.before.book|mark.after', + where: 'invalid', + }); + // selector level - expect(stringifySelectorAst(selector!.node), 'target class node').to.eql('.bookmark'); expect(selector!.afterSelector, 'after selector').to.eql(false); - expect(selector!.offsetInNode).to.eql(5); - assertNodes(selector!.parents, [ - { - desc: 'invalid node', - type: 'invalid', - str: deindent(` - .before.bookmark.after - `), - }, - { - desc: 'top selector node', - type: 'selector', - str: '.before.bookmark.after', - }, - ]); + expectAstLocation(selector!, { + stringify: '.book|mark', + parents: [ + { + desc: 'invalid node', + type: 'invalid', + str: deindent(` + .before.bookmark.after + `), + }, + { + desc: 'top selector node', + type: 'selector', + str: '.before.bookmark.after', + }, + ], + }); // unresolved levels expect(declValue, 'declValue').to.eql(undefined); expect(atRuleParams, 'atRuleParams').to.eql(undefined); @@ -987,26 +1108,29 @@ describe('ast-from-position', () => { const { base, selector, declValue, atRuleParams } = getAstNodeAt(parsed, position); // base level - expect(base.node, 'node').to.equal((parsed.ast as any).nodes[0].nodes[0]); expect(base.node.type, 'base node type').to.equal('invalid'); - expect(base.offsetInNode, 'offset').to.equal(4); - expect(base.where, 'where').to.eql('invalid'); + expectAstLocation(base, { + node: (parsed.ast as any).nodes[0].nodes[0], + where: 'invalid', + unIndentedStringify: 'book|mark\n', + }); // selector level - expect(stringifySelectorAst(selector!.node), 'target selector node').to.eql('bookmark'); expect(selector!.afterSelector, 'after selector').to.eql(false); - expect(selector!.offsetInNode).to.eql(4); - assertNodes(selector!.parents, [ - { - desc: 'potential invalid rule', - type: 'invalid', - str: 'bookmark\n', - }, - { - desc: 'top selector node', - type: 'selector', - str: 'bookmark\n', - }, - ]); + expectAstLocation(selector!, { + stringify: 'book|mark', + parents: [ + { + desc: 'potential invalid rule', + type: 'invalid', + str: 'bookmark\n', + }, + { + desc: 'top selector node', + type: 'selector', + str: 'bookmark\n', + }, + ], + }); // unresolved levels expect(declValue, 'declValue').to.eql(undefined); expect(atRuleParams, 'atRuleParams').to.eql(undefined); @@ -1020,35 +1144,38 @@ describe('ast-from-position', () => { const { base, selector, declValue, atRuleParams } = getAstNodeAt(parsed, position); // base level - expect(base.node, 'node').to.equal((parsed.ast as any).nodes[0].nodes[0]); - expect(base.offsetInNode, 'offset').to.equal(10); - expect(base.where, 'where').to.eql('declValue'); + expectAstLocation(base, { + node: (parsed.ast as any).nodes[0].nodes[0], + where: 'declValue', + unIndentedStringify: 'color: gre|en', + }); // decl-value level - expect(stringifyCSSValue(declValue!.node as any), 'target value node').to.eql('green'); - expect(declValue!.offsetInNode).to.eql(3); - assertNodes(declValue!.parents, [ - { - desc: 'decl node', - type: 'decl', - str: 'color: green', - }, - ]); - expect(stringifyCSSValue(declValue!.ast), 'value ast').to.eql('green'); + expectAstLocation(declValue!, { + stringify: 'gre|en', + parents: [ + { + desc: 'decl node', + type: 'decl', + str: 'color: green', + }, + ], + }); // selector level - expect(stringifySelectorAst(selector!.node), 'target class node').to.eql('green'); expect(selector!.afterSelector, 'after selector').to.eql(false); - expect(selector!.offsetInNode).to.eql(3); - assertNodes(selector!.parents, [ - { - desc: 'decl node', - type: 'decl', - str: 'color: green', - }, - { - desc: 'top selector node', - str: 'color: green', - }, - ]); + expectAstLocation(selector!, { + stringify: 'gre|en', + parents: [ + { + desc: 'decl node', + type: 'decl', + str: 'color: green', + }, + { + desc: 'top selector node', + str: 'color: green', + }, + ], + }); // unresolved levels expect(atRuleParams, 'atRuleParams').to.eql(undefined); }); @@ -1060,22 +1187,22 @@ describe('ast-from-position', () => { const { base, selector, declValue, atRuleParams } = getAstNodeAt(parsed, position); // base level - expect(base.node.toString(), 'base target invalid node').to.eql('.before \t'); - expect(base.offsetInNode, 'base offset').to.eql(10); - expect(base.where, 'where').to.eql('invalid'); + expectAstLocation(base, { + unIndentedStringify: '.before | \t', + where: 'invalid', + }); // selector level - expect(stringifySelectorAst(selector!.node), 'target selector').to.eql( - '.before \t' - ); expect(selector!.afterSelector, 'after selector').to.eql(true); - expect(selector!.offsetInNode).to.eql(10); - assertNodes(selector!.parents, [ - { - desc: 'invalid node', - type: 'invalid', - str: '.before \t', - }, - ]); + expectAstLocation(selector!, { + unIndentedStringify: '.before | \t', + parents: [ + { + desc: 'invalid node', + type: 'invalid', + str: '.before \t', + }, + ], + }); // unresolved levels expect(declValue, 'declValue').to.eql(undefined); expect(atRuleParams, 'atRuleParams').to.eql(undefined); @@ -1086,9 +1213,10 @@ describe('ast-from-position', () => { const { base, selector, declValue, atRuleParams } = getAstNodeAt(parsed, position); // base level - expect(base.node.toString(), 'base target at-rule').to.eql('@bookmark'); - expect(base.offsetInNode, 'base offset').to.eql(9); - expect(base.where, 'where').to.eql('atRuleName'); + expectAstLocation(base, { + stringify: '@bookmark|', + where: 'atRuleName', + }); // unresolved levels expect(selector, 'selector').to.eql(undefined); expect(declValue, 'declValue').to.eql(undefined); @@ -1100,19 +1228,21 @@ describe('ast-from-position', () => { const { base, selector, declValue, atRuleParams } = getAstNodeAt(parsed, position); // base level - expect(base.node.toString(), 'base target at-rule').to.eql('@bookmark '); - expect(base.offsetInNode, 'base offset').to.eql(10); - expect(base.where, 'where').to.eql('atRuleParams'); + expectAstLocation(base, { + stringify: '@bookmark |', + where: 'atRuleParams', + }); // atrule-params level - expect(stringifyCSSValue(atRuleParams!.node as any), 'target params node').to.eql(''); - expect(atRuleParams!.offsetInNode).to.eql(0); - assertNodes(atRuleParams!.parents, [ - { - desc: 'rule node', - str: '@bookmark ', - }, - ]); expect(stringifyCSSValue(atRuleParams!.ast), 'params ast').to.eql(''); + expectAstLocation(atRuleParams!, { + stringify: '', + parents: [ + { + desc: 'rule node', + str: '@bookmark ', + }, + ], + }); // unresolved levels expect(selector, 'selector').to.eql(undefined); expect(declValue, 'declValue').to.eql(undefined); From 2d835467a130f480b938c6cc0f8238e2c9a3dcbb Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Mon, 12 Jun 2023 15:52:11 +0300 Subject: [PATCH 12/81] fix(lsp): ast-from-position fixes (#2873) internal fix that should have no affect on current implementation --- .../src/lib-new/ast-from-position.ts | 126 +++++++------ .../test/lib-new/ast-from-position.spec.ts | 168 ++++++++++++++---- 2 files changed, 200 insertions(+), 94 deletions(-) diff --git a/packages/language-service/src/lib-new/ast-from-position.ts b/packages/language-service/src/lib-new/ast-from-position.ts index 8add95b4f..cd6827d05 100644 --- a/packages/language-service/src/lib-new/ast-from-position.ts +++ b/packages/language-service/src/lib-new/ast-from-position.ts @@ -39,7 +39,6 @@ export type AstLocation = | 'atRuleBody' | 'declProp' | 'declBetweenPropAndColon' - | 'declBetweenColonAndValue' | 'declValue' | 'invalid'; } @@ -56,7 +55,6 @@ export type AstLocation = node: CSSValue.BaseAstNode | CSSValue.BaseAstNode[]; offsetInNode: number; parents: NodeType[]; - afterValue: boolean; } | { type: 'atRuleParams'; @@ -64,7 +62,6 @@ export type AstLocation = node: CSSValue.BaseAstNode | CSSValue.BaseAstNode[]; offsetInNode: number; parents: NodeType[]; - afterValue: boolean; }; export interface AstLocationResult { base: AstLocation & { type: 'base' }; @@ -237,30 +234,38 @@ function checkRuleSelector( } function checkDeclValue(node: postcss.AnyNode, checkContext: CheckContext) { if (isDeclaration(node)) { - const between = node.raws.between!; - const valueStart = checkContext.baseNodeOffset + node.prop.length + between.length; - const valueEnd = valueStart + node.value.length; + const { between = '', value: rawsValue } = node.raws; + const colon = between.slice(0, between.indexOf(':') + 1); + const afterColon = between.slice(colon.length); + const valueStart = checkContext.baseNodeOffset + node.prop.length + colon.length; + // ToDo: "where=declImportant" + const parentNode = node.parent; + const unclosedDeclExtraSpace = + parentNode?.nodes[parentNode.nodes.length - 1] === node && !parentNode.raws.semicolon + ? node.parent?.raws.after + : ''; + const valueAfterColon = + afterColon + (rawsValue?.raw ? rawsValue.raw : node.value + unclosedDeclExtraSpace); + const valueEnd = valueStart + valueAfterColon.length; + const ast = CSSValue.parseCSSValue(valueAfterColon); const isInValue = checkValue({ type: 'declValue', - value: node.value, + ast, node, valueStart, valueEnd, - afterSpace: 0, checkContext, }); - let where: typeof base['where'] = 'declValue'; + let where: (typeof base)['where'] = 'declValue'; const base = checkContext.result.base; if (isInValue) { + // prop:| value | where = 'declValue'; } else if (base.offsetInNode > node.prop.length) { - const spaceAfterColon = between.length - between.indexOf(':'); - if (valueStart - spaceAfterColon >= checkContext.targetOffset) { - where = 'declBetweenPropAndColon'; - } else { - where = 'declBetweenColonAndValue'; - } + // prop | |: value + where = 'declBetweenPropAndColon'; } else { + // |prop|: value where = 'declProp'; } base.where = where; @@ -268,88 +273,99 @@ function checkDeclValue(node: postcss.AnyNode, checkContext: CheckContext) { } function checkAtRuleParams(node: postcss.AnyNode, checkContext: CheckContext) { if (isAtRule(node)) { - const valueStart = - checkContext.baseNodeOffset + 1 + node.name.length + (node.raws.afterName!.length || 1); - const valueEnd = valueStart + node.params.length; + const AtPrefixLength = 1; + const { afterName = '', between = '' } = node.raws; + const parentNode = node.parent; + const unclosedExtraSpace = + parentNode?.nodes[parentNode.nodes.length - 1] === node && !parentNode.raws.semicolon + ? node.parent?.raws.after + : ''; + const prelude = afterName + node.params + between + unclosedExtraSpace; + const valueStart = checkContext.baseNodeOffset + AtPrefixLength + node.name.length; + const valueEnd = valueStart + prelude.length; + + const ast = CSSValue.parseCSSValue(prelude); + const isInParams = checkValue({ type: 'atRuleParams', - value: node.params, + ast, node, valueStart, valueEnd, - afterSpace: node.raws.between!.length, checkContext, }); - let where: typeof base['where'] = 'declValue'; + let where: (typeof base)['where'] = 'atRuleParams'; const base = checkContext.result.base; if (isInParams) { - where = 'atRuleParams'; + if (checkContext.result.atRuleParams!.offsetInNode === 0) { + // @name| params + where = 'atRuleName'; + } else { + // @name |params| + where = 'atRuleParams'; + } } else if ( checkContext.baseNodeOffset + node.name.length + 1 >= checkContext.targetOffset ) { + // @|nam|e params where = 'atRuleName'; } else { + // @name params { | } where = 'atRuleBody'; } base.where = where; } } function checkValue({ - value, + ast, node, type, valueStart, valueEnd, - afterSpace, - checkContext: { targetOffset, result, afterNodeContent }, + checkContext: { targetOffset, result }, }: { - value: string; + ast: CSSValue.BaseAstNode[]; node: postcss.AnyNode; type: 'atRuleParams' | 'declValue'; valueStart: number; valueEnd: number; - afterSpace: number; checkContext: CheckContext; }) { + /* value | */ const isAfterValue = valueEnd < targetOffset; - const isInIncludedSpace = - afterNodeContent || (isAfterValue && valueEnd + afterSpace >= targetOffset); - if (valueStart > targetOffset || (isAfterValue && !isInIncludedSpace)) { + const isBeforeValue = valueStart > targetOffset; + if (isBeforeValue || isAfterValue) { // not in value return false; } - const ast = CSSValue.parseCSSValue(value); const valueLocation: Extract = { type, ast, node: ast, - offsetInNode: !isInIncludedSpace ? 0 : value.length + targetOffset - valueEnd, + offsetInNode: 0, parents: [node], - afterValue: isInIncludedSpace, }; - if (!isInIncludedSpace) { - walkValue(ast, (node) => { - const isTargetAfterStart = - valueStart + node.start < targetOffset || - (valueStart === targetOffset && node.start === 0); - const isTargetBeforeEnd = valueStart + node.end >= targetOffset; - if (!isTargetAfterStart) { - // value is after the target offset - return walk.stopAll; - } else if (!isTargetBeforeEnd) { - // value ends before target offset - return walk.skipNested; - } - // update - if (!Array.isArray(valueLocation.node)) { - valueLocation.parents.push(valueLocation.node); - } - valueLocation.node = node; - valueLocation.offsetInNode = targetOffset - valueStart - node.start; - return; - }); - } + walkValue(ast, (node) => { + const isTargetAfterStart = + valueStart + node.start < targetOffset || + (valueStart === targetOffset && node.start === 0); + const isTargetBeforeEnd = valueStart + node.end >= targetOffset; + if (!isTargetAfterStart) { + // value is after the target offset + return walk.stopAll; + } else if (!isTargetBeforeEnd) { + // value ends before target offset + return walk.skipNested; + } + // update + if (!Array.isArray(valueLocation.node)) { + valueLocation.parents.push(valueLocation.node); + } + valueLocation.node = node; + valueLocation.offsetInNode = targetOffset - valueStart - node.start; + return; + }); result[type] = valueLocation as any; // ToDo: figure out type issue return true; } diff --git a/packages/language-service/test/lib-new/ast-from-position.spec.ts b/packages/language-service/test/lib-new/ast-from-position.spec.ts index 035046a92..53510c1ad 100644 --- a/packages/language-service/test/lib-new/ast-from-position.spec.ts +++ b/packages/language-service/test/lib-new/ast-from-position.spec.ts @@ -54,7 +54,7 @@ function expectAstLocation( expectation: { node?: NodeType; stringify?: string; - unIndentedStringify?: string; + deindent?: boolean; where?: string; parents?: { str: string; desc?: string; type?: string }[]; } @@ -69,8 +69,12 @@ function expectAstLocation( throw new Error(`expected where="${expectation.where}"`); } } - if (expectation.unIndentedStringify || expectation.stringify) { - const expectedSource = expectation.unIndentedStringify ?? deindent(expectation.stringify!); + if (expectation.stringify) { + const disableDeindent = + expectation.deindent === false || !expectation.stringify.includes('\n'); + const expectedSource = disableDeindent + ? expectation.stringify + : deindent(expectation.stringify); let caretOffset = actual.offsetInNode; let stringified = stringifyResultAst(actual.node); if (expectedSource.includes('|')) { @@ -124,7 +128,8 @@ describe('ast-from-position', () => { expectAstLocation(base, { node: parsed.ast, where: 'root', - unIndentedStringify: ' \t\n|\n\t ', + stringify: ' \t\n|\n\t ', + deindent: false, }); expect(selector, 'selector').to.eql(undefined); expect(declValue, 'declValue').to.eql(undefined); @@ -419,7 +424,7 @@ describe('ast-from-position', () => { }); // selector-after level expectAstLocation(selector!, { - unIndentedStringify: ` .bookmark |`, + stringify: ` .bookmark |`, parents: [ { desc: 'rule node', @@ -571,18 +576,27 @@ describe('ast-from-position', () => { // base level expectAstLocation(base, { node: (parsed.ast as any).nodes[0].nodes[0], - where: 'declBetweenColonAndValue', + where: 'declValue', stringify: `decl: | declValue`, }); + // decl-value level + expectAstLocation(declValue!, { + stringify: ' | ', + parents: [ + { + desc: 'decl', + str: 'decl: declValue', + }, + ], + }); // unresolved levels expect(selector, 'selector').to.eql(undefined); - expect(declValue, 'declValue').to.eql(undefined); expect(atRuleParams, 'atRuleParams').to.eql(undefined); }); it(`should find value start`, () => { const { position, parsed } = setupWithCursor(` .selector { - decl1: |bookmark after; + decl1: |bookmark after ; decl2: other; } `); @@ -592,16 +606,16 @@ describe('ast-from-position', () => { expectAstLocation(base, { node: (parsed.ast as any).nodes[0].nodes[0], where: 'declValue', - stringify: `decl1: |bookmark after`, + stringify: `decl1: |bookmark after `, }); // decl-value level - expect(stringifyCSSValue(declValue!.ast), 'value ast').to.eql('bookmark after'); + expect(stringifyCSSValue(declValue!.ast), 'value ast').to.eql(' bookmark after '); expectAstLocation(declValue!, { - stringify: '|bookmark', + stringify: ' |', parents: [ { desc: 'value node', - str: 'decl1: bookmark after', + str: 'decl1: bookmark after ', }, ], }); @@ -625,7 +639,7 @@ describe('ast-from-position', () => { stringify: `decl1: before book|mark after`, }); // decl-value level - expect(stringifyCSSValue(declValue!.ast), 'value ast').to.eql('before bookmark after'); + expect(stringifyCSSValue(declValue!.ast), 'value ast').to.eql(' before bookmark after'); expectAstLocation(declValue!, { stringify: 'book|mark', parents: [ @@ -655,7 +669,7 @@ describe('ast-from-position', () => { }); // decl-value level expect(stringifyCSSValue(declValue!.ast), 'value ast').to.eql( - 'before nest(bookmark) after' + ' before nest(bookmark) after' ); expectAstLocation(declValue!, { stringify: 'book|mark', @@ -677,7 +691,7 @@ describe('ast-from-position', () => { it(`should find value end`, () => { const { position, parsed } = setupWithCursor(` .selector { - decl1: before bookmark|; + decl1: before bookmark| ; decl2: other; } `); @@ -687,16 +701,16 @@ describe('ast-from-position', () => { expectAstLocation(base, { node: (parsed.ast as any).nodes[0].nodes[0], where: 'declValue', - stringify: `decl1: before bookmark|`, + stringify: `decl1: before bookmark| `, }); // decl-value level - expect(stringifyCSSValue(declValue!.ast), 'value ast').to.eql('before bookmark'); + expect(stringifyCSSValue(declValue!.ast), 'value ast').to.eql(' before bookmark '); expectAstLocation(declValue!, { stringify: 'bookmark|', parents: [ { desc: 'decl node', - str: 'decl1: before bookmark', + str: 'decl1: before bookmark ', }, ], }); @@ -719,13 +733,15 @@ describe('ast-from-position', () => { stringify: `decl1: before |`, }); // decl-value level - expect(stringifyCSSValue(declValue!.ast), 'value ast').to.eql('before'); - expect(declValue!.afterValue, 'after value').to.eql(true); + expect(stringifyCSSValue(declValue!.ast), 'value ast').to.eql(' before \t\n'); expectAstLocation(declValue!, { - stringify: 'before |', + stringify: ' | \t\n', + deindent: false, parents: [ { desc: 'decl node', + // postcss stringify doesn't show unclosed after spaces on decl + // they belong in parent rule raws after str: 'decl1: before', }, ], @@ -769,10 +785,47 @@ describe('ast-from-position', () => { stringify: '@bookmark| params {}', where: 'atRuleName', }); + // at-rule-params level + expect(stringifyCSSValue(atRuleParams!.ast), 'params ast').to.eql(' params '); + expectAstLocation(atRuleParams!, { + stringify: '| ', + parents: [ + { + desc: 'atRule node', + str: '@bookmark params {}', + }, + ], + }); + // unresolved levels + expect(selector, 'selector').to.eql(undefined); + expect(declValue, 'declValue').to.eql(undefined); + }); + it(`should find between name and params (pre param whitespace)`, () => { + const { position, parsed } = setupWithCursor(` + @name | params {} + `); + + const { base, selector, declValue, atRuleParams } = getAstNodeAt(parsed, position); + + // base level + expectAstLocation(base, { + stringify: '@name | params {}', + where: 'atRuleParams', + }); + // atrule-params level + expect(stringifyCSSValue(atRuleParams!.ast), 'params ast').to.eql(' params '); + expectAstLocation(atRuleParams!, { + stringify: ' | ', + parents: [ + { + desc: 'atRule node', + str: '@name params {}', + }, + ], + }); // unresolved levels expect(selector, 'selector').to.eql(undefined); expect(declValue, 'declValue').to.eql(undefined); - expect(atRuleParams, 'atRuleParams').to.eql(undefined); }); it(`should find params start`, () => { const { position, parsed } = setupWithCursor(` @@ -789,9 +842,9 @@ describe('ast-from-position', () => { where: 'atRuleParams', }); // atrule-params level - expect(stringifyCSSValue(atRuleParams!.ast), 'params ast').to.eql('bookmark after'); + expect(stringifyCSSValue(atRuleParams!.ast), 'params ast').to.eql(' bookmark after '); expectAstLocation(atRuleParams!, { - stringify: '|bookmark', + stringify: ' |', parents: [ { desc: 'rule node', @@ -819,7 +872,7 @@ describe('ast-from-position', () => { }); // atrule-params level expect(stringifyCSSValue(atRuleParams!.ast), 'params ast').to.eql( - 'before bookmark after' + ' before bookmark after ' ); expectAstLocation(atRuleParams!, { stringify: 'book|mark', @@ -850,7 +903,7 @@ describe('ast-from-position', () => { }); // atrule-params level expect(stringifyCSSValue(atRuleParams!.ast), 'params ast').to.eql( - 'before nest(bookmark) after' + ' before nest(bookmark) after ' ); expectAstLocation(atRuleParams!, { stringify: 'book|mark', @@ -884,7 +937,7 @@ describe('ast-from-position', () => { where: 'atRuleParams', }); // atrule-params level - expect(stringifyCSSValue(atRuleParams!.ast), 'params ast').to.eql('start bookmark'); + expect(stringifyCSSValue(atRuleParams!.ast), 'params ast').to.eql(' start bookmark '); expectAstLocation(atRuleParams!, { stringify: 'bookmark|', parents: [ @@ -913,9 +966,8 @@ describe('ast-from-position', () => { where: 'atRuleParams', }); // atrule-params level - expect(atRuleParams!.afterValue, 'after params value').to.eql(true); expectAstLocation(atRuleParams!, { - stringify: 'params |', + stringify: ' | ', parents: [ { desc: 'rule node', @@ -940,13 +992,12 @@ describe('ast-from-position', () => { // base level expectAstLocation(base, { - unIndentedStringify: '@name params | ', + stringify: '@name params | ', where: 'atRuleParams', }); // atrule-params level - expect(atRuleParams!.afterValue, 'after params value').to.eql(true); expectAstLocation(atRuleParams!, { - stringify: 'params |', + stringify: ' | ', parents: [ { desc: 'rule node', @@ -958,6 +1009,35 @@ describe('ast-from-position', () => { expect(selector, 'selector').to.eql(undefined); expect(declValue, 'declValue').to.eql(undefined); }); + it(`should find between params and unclosed end`, () => { + const { position, parsed } = setupWithCursor(`@name params | \n\t`, { + deindent: false, + }); + + const { base, selector, declValue, atRuleParams } = getAstNodeAt(parsed, position); + + // base level + expectAstLocation(base, { + stringify: '@name params |', + deindent: false, + where: 'atRuleParams', + }); + // atrule-params level + expect(stringifyCSSValue(atRuleParams!.ast), 'params ast').to.eql(' params \n\t'); + expectAstLocation(atRuleParams!, { + stringify: ' | \n\t', + deindent: false, + parents: [ + { + desc: 'rule node', + str: '@name params', + }, + ], + }); + // unresolved levels + expect(selector, 'selector').to.eql(undefined); + expect(declValue, 'declValue').to.eql(undefined); + }); it(`should find before declaration`, () => { const { position, parsed } = setupWithCursor(` .before {} @@ -1112,7 +1192,8 @@ describe('ast-from-position', () => { expectAstLocation(base, { node: (parsed.ast as any).nodes[0].nodes[0], where: 'invalid', - unIndentedStringify: 'book|mark\n', + stringify: 'book|mark\n', + deindent: false, }); // selector level expect(selector!.afterSelector, 'after selector').to.eql(false); @@ -1147,7 +1228,7 @@ describe('ast-from-position', () => { expectAstLocation(base, { node: (parsed.ast as any).nodes[0].nodes[0], where: 'declValue', - unIndentedStringify: 'color: gre|en', + stringify: 'color: gre|en', }); // decl-value level expectAstLocation(declValue!, { @@ -1188,13 +1269,13 @@ describe('ast-from-position', () => { // base level expectAstLocation(base, { - unIndentedStringify: '.before | \t', + stringify: '.before | \t', where: 'invalid', }); // selector level expect(selector!.afterSelector, 'after selector').to.eql(true); expectAstLocation(selector!, { - unIndentedStringify: '.before | \t', + stringify: '.before | \t', parents: [ { desc: 'invalid node', @@ -1217,10 +1298,19 @@ describe('ast-from-position', () => { stringify: '@bookmark|', where: 'atRuleName', }); + // atrule-params level + expectAstLocation(atRuleParams!, { + stringify: '|', + parents: [ + { + desc: 'atrule node', + str: '@bookmark', + }, + ], + }); // unresolved levels expect(selector, 'selector').to.eql(undefined); expect(declValue, 'declValue').to.eql(undefined); - expect(atRuleParams, 'atRuleParams').to.eql(undefined); }); it('should get unclosed at-rule cursor empty params', () => { const { position, parsed } = setupWithCursor(`@bookmark |`); @@ -1233,9 +1323,9 @@ describe('ast-from-position', () => { where: 'atRuleParams', }); // atrule-params level - expect(stringifyCSSValue(atRuleParams!.ast), 'params ast').to.eql(''); + expect(stringifyCSSValue(atRuleParams!.ast), 'params ast').to.eql(' '); expectAstLocation(atRuleParams!, { - stringify: '', + stringify: ' |', parents: [ { desc: 'rule node', From d09896b1abebab112ab65c7c719efdfaa4a795a5 Mon Sep 17 00:00:00 2001 From: barak igal Date: Tue, 13 Jun 2023 15:00:01 +0300 Subject: [PATCH 13/81] fix(esbuild): cache layer for the transform process (#2870) --- packages/esbuild/src/build-cache.ts | 55 +++ packages/esbuild/src/debug.ts | 53 +++ .../esbuild/src/stylable-esbuild-plugin.ts | 383 ++++++++++-------- packages/node/src/find-package-json.ts | 38 ++ packages/node/src/index.ts | 1 + packages/node/src/resolve-namespace.ts | 9 +- 6 files changed, 376 insertions(+), 163 deletions(-) create mode 100644 packages/esbuild/src/build-cache.ts create mode 100644 packages/esbuild/src/debug.ts create mode 100644 packages/node/src/find-package-json.ts diff --git a/packages/esbuild/src/build-cache.ts b/packages/esbuild/src/build-cache.ts new file mode 100644 index 000000000..70040cc00 --- /dev/null +++ b/packages/esbuild/src/build-cache.ts @@ -0,0 +1,55 @@ +import { statSync } from 'fs'; +import type { OnLoadResult } from 'esbuild'; + +// mtimes of known files shared between builds +const fileInfo = new Map(); + +export function buildCache() { + const fileInfoDuringBuild = new Map(); + const cache = new Map(); + const checkCache = (path: string) => { + const cached = cache.get(path); + if (cached) { + const shouldRebuild = cached.watchFiles?.some((path) => { + const num = fileInfo.get(path); + if (num) { + let stat = fileInfoDuringBuild.get(path); + if (stat === undefined) { + try { + stat = statSync(path).mtimeMs; + fileInfoDuringBuild.set(path, stat); + } catch (e) { + fileInfo.delete(path); + return true; + } + } + return stat !== num; + } else { + return true; + } + }); + if (!shouldRebuild) { + return cached; + } + } + return undefined; + }; + const addToCache = (path: string, result: OnLoadResult) => { + cache.set(path, result); + for (const watchFile of result.watchFiles || []) { + if (fileInfo.has(watchFile)) { + continue; + } + fileInfo.set(watchFile, statSync(watchFile).mtimeMs); + } + return result; + }; + const transferBuildInfo = () => { + for (const [key, value] of fileInfoDuringBuild) { + fileInfo.set(key, value); + } + fileInfoDuringBuild.clear(); + }; + + return { checkCache, addToCache, transferBuildInfo }; +} diff --git a/packages/esbuild/src/debug.ts b/packages/esbuild/src/debug.ts new file mode 100644 index 000000000..92bb4a137 --- /dev/null +++ b/packages/esbuild/src/debug.ts @@ -0,0 +1,53 @@ +const timers: Record = {}; +const counters: Record = {}; + +(globalThis as any).stylable_debug = () => { + console.log('Counters:'); + console.table(counters); + console.log('Timers:'); + console.table(timers); + console.log( + 'Total time:', + Object.values(timers) + .reduce((a, b) => a + b, 0) + .toFixed(2), + 'ms' + ); +}; + +(globalThis as any).stylable_debug_clear = () => { + for (const key of Object.keys(timers)) { + timers[key] = 0; + } + for (const key of Object.keys(counters)) { + counters[key] = 0; + } +}; + +export function wrapDebug(name: string, fn: (...args: T) => R) { + if (process.env.STYLABLE_DEBUG !== 'true') { + return fn; + } + return (...args: T) => { + inc(name); + const stop = start(name); + try { + return fn(...args); + } finally { + stop(); + } + }; +} + +function inc(name: string) { + counters[name] ??= 0; + counters[name]++; +} + +function start(name: string) { + timers[name] ??= 0; + const start = performance.now(); + return () => { + timers[name] += performance.now() - start; + }; +} diff --git a/packages/esbuild/src/stylable-esbuild-plugin.ts b/packages/esbuild/src/stylable-esbuild-plugin.ts index 199e5565a..14d23fe4b 100644 --- a/packages/esbuild/src/stylable-esbuild-plugin.ts +++ b/packages/esbuild/src/stylable-esbuild-plugin.ts @@ -4,7 +4,7 @@ import decache from 'decache'; import type { Plugin, PluginBuild, Metafile } from 'esbuild'; import { Stylable, StylableConfig, StylableMeta, StylableResults } from '@stylable/core'; import { StylableOptimizer } from '@stylable/optimizer'; -import { resolveNamespace as resolveNamespaceNode } from '@stylable/node'; +import { resolveNamespace as resolveNamespaceNode, packageJsonLookupCache } from '@stylable/node'; import { generateStylableJSModuleSource } from '@stylable/module-utils'; import { sortModulesByDepth, @@ -14,6 +14,8 @@ import { import { resolveConfig, buildDTS } from '@stylable/cli'; import { DiagnosticsMode, emitDiagnostics } from '@stylable/core/dist/index-internal'; import { parse } from 'postcss'; +import { buildCache } from './build-cache'; +import { wrapDebug } from './debug'; const namespaces = { unused: 'stylable-unused', @@ -88,6 +90,10 @@ export const stylablePlugin = (initialPluginOptions: ESBuildOptions = {}): Plugi optimize, devTypes, } = applyDefaultOptions(initialPluginOptions); + // we need a cache instance per stylable config. + const { checkCache, addToCache, transferBuildInfo } = buildCache(); + + const lazyClearCaches = debounce(clearCaches, 1000); enableEsbuildMetafile(build, cssInjection); @@ -112,221 +118,276 @@ export const stylablePlugin = (initialPluginOptions: ESBuildOptions = {}): Plugi }, build ); - + let onLoadCalled = false; const stylable = new Stylable(stConfig); - // Order of onResolve hooks matters - - build.onStart(() => { - stylable.initCache(); - }); - /** * make all unused imports resolve to a special empty js module */ - build.onResolve({ filter: /^stylable-unused:/, namespace: namespaces.jsModule }, (args) => { - return { - path: stylable.resolvePath( - args.resolveDir, - args.path.replace(namespaces.unused + `:`, '') - ), - namespace: namespaces.unused, - }; - }); + build.onResolve( + { filter: /^stylable-unused:/, namespace: namespaces.jsModule }, + wrapDebug('onResolve unused', (args) => { + return { + path: args.path.replace(namespaces.unused + `:`, ''), + namespace: namespaces.unused, + }; + }) + ); /** * handle css/stylable files imported via other stylable files */ - build.onResolve({ filter: /\.css$/, namespace: namespaces.jsModule }, (args) => { - // stylable file generated JavaScript module import self CSS source - if (args.path === args.importer) { + build.onResolve( + { filter: /\.css$/, namespace: namespaces.jsModule }, + wrapDebug('onResolve from stylable js module', (args) => { + // stylable file generated JavaScript module import self CSS source + if (args.path === args.importer) { + return { + path: args.path, + pluginData: args.pluginData, + namespace: namespaces.css, + }; + } + // dependency import of stylable files js module return { - path: args.path, + path: args.path.replace(namespaces.nativeCss + `:`, ''), + namespace: cssInjection === 'css' ? namespaces.nativeCss : namespaces.jsModule, pluginData: args.pluginData, - namespace: namespaces.css, }; - } - // dependency import of stylable files js module - return { - path: stylable.resolvePath( - args.resolveDir, - args.path.replace(namespaces.nativeCss + `:`, '') - ), - namespace: cssInjection === 'css' ? namespaces.nativeCss : namespaces.jsModule, - pluginData: args.pluginData, - }; - }); + }) + ); /** * handle all initial stylable requests from javascript */ - build.onResolve({ filter: /\.st\.css$/ }, (args) => { - return { - path: stylable.resolvePath(args.resolveDir, args.path), - namespace: namespaces.jsModule, - }; - }); + build.onResolve( + { filter: /\.st\.css$/ }, + wrapDebug('onResolve initial requests from js', (args) => { + return { + path: stylable.resolvePath(args.resolveDir, args.path), + namespace: namespaces.jsModule, + }; + }) + ); /** * main loader for stylable files * this flow will create the Stylable JS modules */ - build.onLoad({ filter: /.*/, namespace: namespaces.jsModule }, (args) => { - const res = stylable.transform(args.path); - const { errors, warnings } = esbuildEmitDiagnostics(res, diagnosticsMode); - const { imports, collector } = importsCollector(res); - const { cssDepth = 0, deepDependencies } = res.meta.transformCssDepth!; - const getModuleId = () => { - switch (runtimeStylesheetId) { - case 'module': - return relative(stylable.projectRoot, args.path); - case 'namespace': - return res.meta.namespace; - case 'module+namespace': - return `${relative(stylable.projectRoot, args.path)}|${res.meta.namespace}`; - default: - throw new Error(`Unknown runtimeStylesheetId: ${runtimeStylesheetId}`); + build.onLoad( + { filter: /.*/, namespace: namespaces.jsModule }, + wrapDebug('onLoad stylable module', (args) => { + const cacheResults = checkCache(args.path); + if (cacheResults) { + return cacheResults; } - }; - - collectImportsWithSideEffects(stylable, res.meta, collector); + onLoadCalled = true; + + const res = stylable.transform(args.path); + const { errors, warnings } = esbuildEmitDiagnostics(res, diagnosticsMode); + const { imports, collector } = importsCollector(res); + const { cssDepth = 0, deepDependencies } = res.meta.transformCssDepth!; + const getModuleId = () => { + switch (runtimeStylesheetId) { + case 'module': + return relative(stylable.projectRoot, args.path); + case 'namespace': + return res.meta.namespace; + case 'module+namespace': + return `${relative(stylable.projectRoot, args.path)}|${ + res.meta.namespace + }`; + default: + throw new Error(`Unknown runtimeStylesheetId: ${runtimeStylesheetId}`); + } + }; - if (cssInjection === 'js') { - processAssetsAndApplyStubs(imports, res, stylable); - } + collectImportsWithSideEffects(stylable, res.meta, collector); - if (cssInjection === 'css') { - imports.push({ - from: args.path, - }); - } + if (cssInjection === 'js') { + processAssetsAndApplyStubs(imports, res, stylable); + } - const moduleCode = generateStylableJSModuleSource( - { - imports, - namespace: res.meta.namespace, - jsExports: res.exports, - moduleType: 'esm', - runtimeRequest: '@stylable/runtime/esm/pure', - }, - cssInjection === 'js' - ? { - css: res.meta.targetAst!.toString(), - depth: cssDepth, - runtimeId: 'esbuild', - id: getModuleId(), - } - : undefined - ); + if (cssInjection === 'css') { + imports.push({ + from: args.path, + }); + } - return { - errors, - warnings, - watchFiles: [args.path, ...deepDependencies], - resolveDir: dirname(args.path), - contents: cssInjection === 'js' ? processStubs(moduleCode) : moduleCode, - pluginData: { stylableResults: res }, - }; - }); + const moduleCode = generateStylableJSModuleSource( + { + imports, + namespace: res.meta.namespace, + jsExports: res.exports, + moduleType: 'esm', + runtimeRequest: '@stylable/runtime/esm/pure', + }, + cssInjection === 'js' + ? { + css: res.meta.targetAst!.toString(), + depth: cssDepth, + runtimeId: 'esbuild', + id: getModuleId(), + } + : undefined + ); + return addToCache(args.path, { + errors, + warnings, + watchFiles: [args.path, ...deepDependencies], + resolveDir: dirname(args.path), + contents: cssInjection === 'js' ? processStubs(moduleCode) : moduleCode, + pluginData: { stylableResults: res }, + }); + }) + ); /** * unused stylable imports results in an empty js module */ - build.onLoad({ filter: /.*/, namespace: namespaces.unused }, (args) => { - return { - contents: `/* unused ${JSON.stringify(args.path)} */`, - }; - }); + build.onLoad( + { filter: /.*/, namespace: namespaces.unused }, + wrapDebug('onLoad unused module', (args) => { + return { + contents: `/* unused ${JSON.stringify(args.path)} */`, + }; + }) + ); /** * load css via esbuild native css loader * we need to explicit transform here. the pluginData is for the requester module. * this is the final step for the css content so no pluginData is passed */ - build.onLoad({ filter: /.*/, namespace: namespaces.nativeCss }, (args) => { - const res = stylable.transform(args.path); - const cssDepth = res.meta.transformCssDepth!.cssDepth; - return { - resolveDir: dirname(args.path), - contents: wrapWithDepthMarkers(res.meta.targetAst!.toString(), cssDepth), - loader: 'css', - }; - }); + build.onLoad( + { filter: /.*/, namespace: namespaces.nativeCss }, + wrapDebug('onLoad native css', (args) => { + const key = namespaces.nativeCss + ':' + args.path; + const cacheResults = checkCache(key); + if (cacheResults) { + return cacheResults; + } + onLoadCalled = true; + const res = stylable.transform(args.path); + const { cssDepth, deepDependencies } = res.meta.transformCssDepth!; + return addToCache(key, { + watchFiles: [args.path, ...deepDependencies], + resolveDir: dirname(args.path), + contents: wrapWithDepthMarkers(res.meta.targetAst!.toString(), cssDepth), + loader: 'css', + }); + }) + ); /** * handle css output of stylable files */ - build.onLoad({ filter: /.*/, namespace: namespaces.css }, (args) => { - const { meta } = args.pluginData.stylableResults as StylableResults; - const { cssDepth = 0 } = meta.transformCssDepth!; - return { - resolveDir: dirname(args.path), - contents: wrapWithDepthMarkers(meta.targetAst!.toString(), cssDepth), - loader: 'css', - }; - }); + build.onLoad( + { filter: /.*/, namespace: namespaces.css }, + wrapDebug('onLoad css output', (args) => { + const { meta } = args.pluginData.stylableResults as StylableResults; + const { cssDepth = 0 } = meta.transformCssDepth!; + return { + resolveDir: dirname(args.path), + contents: wrapWithDepthMarkers(meta.targetAst!.toString(), cssDepth), + loader: 'css', + }; + }) + ); /** * process the generated bundle and optimize the css output */ - build.onEnd(({ metafile }) => { - let mapping: OptimizationMapping; - - if (devTypes.enabled) { - if (!metafile) { - throw new Error('metafile is required for css injection'); + build.onEnd( + wrapDebug(`onEnd generate cssInjection: ${cssInjection}`, ({ metafile }) => { + transferBuildInfo(); + if (!onLoadCalled) { + lazyDebugPrint(); + return; } - const absSrcDir = join(projectRoot, devTypes.srcDir); - const absOutDir = join(projectRoot, devTypes.outDir); - - mapping ??= buildUsageMapping(metafile, stylable); - - for (const metaSet of Object.values(mapping.usagesByNamespace!)) { - for (const { meta, path } of metaSet) { - if (path.startsWith(absSrcDir)) { - buildDTS({ - res: { meta, exports: meta.exports! }, - targetFilePath: join(absOutDir, relative(absSrcDir, path)), - outputLogs: [], - sourceFilePath: undefined, - generated: new Set(), - dtsSourceMap: devTypes.dtsSourceMap, - writeFileSync: fs.writeFileSync, - relative, - dirname, - isAbsolute, - }); + onLoadCalled = false; + let mapping: OptimizationMapping; + if (devTypes.enabled) { + if (!metafile) { + throw new Error('metafile is required for css injection'); + } + const absSrcDir = join(projectRoot, devTypes.srcDir); + const absOutDir = join(projectRoot, devTypes.outDir); + + mapping ??= buildUsageMapping(metafile, stylable); + + for (const metaSet of Object.values(mapping.usagesByNamespace!)) { + for (const { meta, path } of metaSet) { + if (path.startsWith(absSrcDir)) { + buildDTS({ + res: { meta, exports: meta.exports! }, + targetFilePath: join(absOutDir, relative(absSrcDir, path)), + outputLogs: [], + sourceFilePath: undefined, + generated: new Set(), + dtsSourceMap: devTypes.dtsSourceMap, + writeFileSync: fs.writeFileSync, + relative, + dirname, + isAbsolute, + }); + } } } } - } - if (cssInjection === 'css') { - if (!metafile) { - throw new Error('metafile is required for css injection'); - } - mapping ??= buildUsageMapping(metafile, stylable); + if (cssInjection === 'css') { + if (!metafile) { + throw new Error('metafile is required for css injection'); + } + mapping ??= buildUsageMapping(metafile, stylable); - for (const distFile of Object.keys(metafile.outputs)) { - if (!distFile.endsWith('.css')) { - continue; + for (const distFile of Object.keys(metafile.outputs)) { + if (!distFile.endsWith('.css')) { + continue; + } + const distFilePath = join(stylable.projectRoot, distFile); + + writeFileSync( + distFilePath, + sortMarkersByDepth( + readFileSync(distFilePath, 'utf8'), + stylable, + optimize.removeUnusedComponents ? mapping : {} + ) + ); } - const distFilePath = join(stylable.projectRoot, distFile); - - writeFileSync( - distFilePath, - sortMarkersByDepth( - readFileSync(distFilePath, 'utf8'), - stylable, - optimize.removeUnusedComponents ? mapping : {} - ) - ); } - } - }); + lazyClearCaches(stylable); + lazyDebugPrint(); + }) + ); }, }); +function lazyDebugPrint() { + if (process.env.STYLABLE_DEBUG !== 'true') { + return; + } + void Promise.resolve().then(() => { + (globalThis as any).stylable_debug(); + (globalThis as any).stylable_debug_clear(); + }); +} + +function debounce void>(fn: T, time: number) { + let timeout: ReturnType; + return (...args: Parameters): void => { + clearTimeout(timeout); + timeout = setTimeout(() => fn(...args), time); + }; +} + +function clearCaches(stylable: Stylable) { + packageJsonLookupCache.clear(); + stylable.initCache(); +} + function processStubs(moduleCode: string) { return moduleCode.replace( /\\"http:\/\/__stylable_url_asset_(.*?)__\\"/g, diff --git a/packages/node/src/find-package-json.ts b/packages/node/src/find-package-json.ts new file mode 100644 index 000000000..fb355ab32 --- /dev/null +++ b/packages/node/src/find-package-json.ts @@ -0,0 +1,38 @@ +import fs from 'fs'; +import { dirname, join } from 'path'; + +export function findPackageJson( + cwd: string, + cache = new Map(), + visited: string[] = [] +) { + while (cwd) { + if (cache.has(cwd)) { + return { + packageJsonPath: cache.get(cwd), + visited, + cache, + }; + } + + const packageJsonPath = join(cwd, 'package.json'); + visited.push(cwd); + if (fs.existsSync(packageJsonPath)) { + for (const dir of visited) { + cache.set(dir, packageJsonPath); + } + return { + packageJsonPath, + visited, + cache, + }; + } else { + const parent = dirname(cwd); + if (parent === cwd) { + return null; + } + cwd = parent; + } + } + return null; +} diff --git a/packages/node/src/index.ts b/packages/node/src/index.ts index f6f47dd17..6a0a909e3 100644 --- a/packages/node/src/index.ts +++ b/packages/node/src/index.ts @@ -3,5 +3,6 @@ export { resolveNamespace, resolveNamespaceFactory, createNamespaceStrategyNode, + packageJsonLookupCache, } from './resolve-namespace'; export { FileSystem, findFiles } from './find-files'; diff --git a/packages/node/src/resolve-namespace.ts b/packages/node/src/resolve-namespace.ts index 5bda089a8..5a4c661d9 100644 --- a/packages/node/src/resolve-namespace.ts +++ b/packages/node/src/resolve-namespace.ts @@ -4,7 +4,7 @@ import { defaultNoMatchHandler, } from '@stylable/core'; import { dirname, relative } from 'path'; -import findConfig from 'find-config'; +import { findPackageJson } from './find-package-json'; export function resolveNamespaceFactory( hashSalt = '', @@ -14,13 +14,18 @@ export function resolveNamespaceFactory( return createNamespaceStrategyNode({ hashSalt, prefix, ...options }); } +export const packageJsonLookupCache = new Map(); + export function createNamespaceStrategyNode(options: Partial = {}) { return createNamespaceStrategy({ normalizePath(packageRoot: string, stylesheetPath: string) { return relative(packageRoot, stylesheetPath).replace(/\\/g, '/'); }, getPackageInfo: (stylesheetPath) => { - const configPath = findConfig('package.json', { cwd: dirname(stylesheetPath) }); + const configPath = findPackageJson( + dirname(stylesheetPath), + packageJsonLookupCache + )?.packageJsonPath; if (!configPath) { throw new Error(`Could not find package.json for ${stylesheetPath}`); } From 77a76f78896e8a1c912bada94a6386bebd7716ff Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Tue, 13 Jun 2023 18:12:48 +0300 Subject: [PATCH 14/81] feat(lsp): filter completions by context (#2874) - filter out native-css service and selector completions from `@st-import` --- .../src/lib-new/features/ls-st-import.ts | 15 +- .../src/lib-new/lang-service-context.ts | 3 + .../src/lib/completion-providers.ts | 133 ++++++++++-------- packages/language-service/src/lib/provider.ts | 85 +++++------ packages/language-service/src/lib/service.ts | 23 +-- .../lib-new/features/ls-st-import.spec.ts | 48 +++++++ 6 files changed, 197 insertions(+), 110 deletions(-) diff --git a/packages/language-service/src/lib-new/features/ls-st-import.ts b/packages/language-service/src/lib-new/features/ls-st-import.ts index caf7b777e..5d86a9591 100644 --- a/packages/language-service/src/lib-new/features/ls-st-import.ts +++ b/packages/language-service/src/lib-new/features/ls-st-import.ts @@ -6,8 +6,21 @@ import path from 'path'; import { STSymbol } from '@stylable/core/dist/index-internal'; import type { AstLocationResult } from '../ast-from-position'; import type { CSSValueAST } from '@tokey/css-value-parser'; +import type { LangServicePlugin } from '../../lib/completion-providers'; -export function getCompletions(context: LangServiceContext): Completion[] { +export const StImportPlugin: LangServicePlugin = { + analyzeCaretLocation(context) { + const node = context.location.base.node; + if (node.type === 'atrule' && node.name === 'st-import') { + context.flags.runNativeCSSService = false; + } + }, + onCompletion({ context }) { + return getCompletions(context); + }, +}; + +function getCompletions(context: LangServiceContext): Completion[] { const completions: Completion[] = []; const { node } = context.location.base; if (node.type === 'atrule' && node.name === 'st-import') { diff --git a/packages/language-service/src/lib-new/lang-service-context.ts b/packages/language-service/src/lib-new/lang-service-context.ts index 183cd9d0d..673f4dd63 100644 --- a/packages/language-service/src/lib-new/lang-service-context.ts +++ b/packages/language-service/src/lib-new/lang-service-context.ts @@ -33,6 +33,9 @@ export class LangServiceContext { public ambiguousNodes: Map; public location: ReturnType; public document: TextDocument; + public flags = { + runNativeCSSService: true, + }; constructor( public fs: IFileSystem, public stylable: Stylable, diff --git a/packages/language-service/src/lib/completion-providers.ts b/packages/language-service/src/lib/completion-providers.ts index f81c0bade..efd3bf640 100644 --- a/packages/language-service/src/lib/completion-providers.ts +++ b/packages/language-service/src/lib/completion-providers.ts @@ -48,13 +48,12 @@ import { isInValue, } from './provider'; import type { ExtendedTsLanguageService } from './types'; -import { getAtRuleByPosition, isComment, isDeclaration } from './utils/postcss-ast-utils'; +import { isComment, isDeclaration } from './utils/postcss-ast-utils'; import type { CursorPosition } from './utils/selector-analyzer'; import type { LangServiceContext } from '../lib-new/lang-service-context'; import * as cssPseudoClass from '../lib-new/features/ls-css-pseudo-class'; -import * as stImport from '../lib-new/features/ls-st-import'; -export interface ProviderOptions { +export interface PluginCompletionOptions { context: LangServiceContext; meta: StylableMeta; fs: IFileSystem; @@ -76,8 +75,9 @@ export interface ProviderOptions { fakes: postcss.Rule[]; } -export interface CompletionProvider { - provide(options: ProviderOptions): Completion[]; +export interface LangServicePlugin { + analyzeCaretLocation?(context: LangServiceContext): void; + onCompletion(options: PluginCompletionOptions): Completion[]; } export class ProviderPosition { @@ -193,14 +193,14 @@ const topLevelDeclarations: Array = [ // Inside :import ruleset, which is not inside media query // If directive doesn't already exist -export const ImportInternalDirectivesProvider: CompletionProvider = { - provide({ +export const ImportInternalDirectivesPlugin: LangServicePlugin = { + onCompletion({ parentSelector, isMediaQuery, fullLineText, position, lineChunkAtCursor, - }: ProviderOptions): Completion[] { + }: PluginCompletionOptions): Completion[] { if (parentSelector && parentSelector.selector === ':import' && !isMediaQuery) { const res: Completion[] = []; importDeclarations.forEach((name) => { @@ -229,16 +229,16 @@ export const ImportInternalDirectivesProvider: CompletionProvider = { // Inside ruleset, which is not :import or :vars // Only inside simple selector, except -st-mixin // If directive doesn't already exist -export const RulesetInternalDirectivesProvider: CompletionProvider & { +export const RulesetInternalDirectivesPlugin: LangServicePlugin & { isSimpleSelector: (sel: string) => boolean; } = { - provide({ + onCompletion({ parentSelector, isMediaQuery, fullLineText, position, lineChunkAtCursor, - }: ProviderOptions): Completion[] { + }: PluginCompletionOptions): Completion[] { const res: Completion[] = []; if ( parentSelector && @@ -291,8 +291,8 @@ export const RulesetInternalDirectivesProvider: CompletionProvider & { // Only top level // @st-namespace may not repeat -export const TopLevelDirectiveProvider: CompletionProvider = { - provide({ +export const TopLevelDirectivePlugin: LangServicePlugin = { + onCompletion({ parentSelector, isMediaQuery, fullLineText, @@ -300,7 +300,7 @@ export const TopLevelDirectiveProvider: CompletionProvider = { lineChunkAtCursor, meta, astAtCursor, - }: ProviderOptions): Completion[] { + }: PluginCompletionOptions): Completion[] { if (!parentSelector) { if ( !isMediaQuery && @@ -341,10 +341,14 @@ export const TopLevelDirectiveProvider: CompletionProvider = { // RHS of declaration // Declaration is not -st-directive (except -st-mixin) // Not inside another value() -export const ValueDirectiveProvider: CompletionProvider & { +export const ValueDirectivePlugin: LangServicePlugin & { isInsideValueDirective: (wholeLine: string, pos: number) => boolean; } = { - provide({ parentSelector, fullLineText, position }: ProviderOptions): Completion[] { + onCompletion({ + parentSelector, + fullLineText, + position, + }: PluginCompletionOptions): Completion[] { if ( parentSelector && !isDirective(fullLineText) && @@ -401,25 +405,24 @@ export const ValueDirectiveProvider: CompletionProvider & { }; // Selector level -export const GlobalCompletionProvider: CompletionProvider = { - provide({ +export const GlobalCompletionPlugin: LangServicePlugin = { + onCompletion({ + context, parentSelector, fullLineText, position, lineChunkAtCursor, - astAtCursor, - }: ProviderOptions): Completion[] { + }: PluginCompletionOptions): Completion[] { + const isSelectorContext = + context.isInSelectorAllowedSpace() || + // natively allow in custom-selector; ToDO: make custom-selector plugin that enable selector at mapped location + (context.location.base.node as any).name === 'custom-selector'; if ( + isSelectorContext && !parentSelector && !lineChunkAtCursor.endsWith('::') && !isBetweenChars(fullLineText, position, '(', ')') ) { - if (astAtCursor.type === 'root') { - if (getAtRuleByPosition(astAtCursor, position, 'st-import')) { - return []; - } - } - let offset = 0; if (fullLineText.lastIndexOf(':') !== -1) { if ( @@ -448,8 +451,9 @@ export const GlobalCompletionProvider: CompletionProvider = { // Selector level // Not after :, unless entire chunk is : -export const SelectorCompletionProvider: CompletionProvider = { - provide({ +export const SelectorCompletionPlugin: LangServicePlugin = { + onCompletion({ + context, parentSelector, fullLineText, position, @@ -457,8 +461,12 @@ export const SelectorCompletionProvider: CompletionProvider = { meta, fakes, stylable, - }: ProviderOptions): Completion[] { - if (!parentSelector && (lineChunkAtCursor === ':' || !lineChunkAtCursor.endsWith(':'))) { + }: PluginCompletionOptions): Completion[] { + if ( + context.isInSelectorAllowedSpace() && + !parentSelector && + (lineChunkAtCursor === ':' || !lineChunkAtCursor.endsWith(':')) + ) { const comps: Completion[] = []; comps.push( ...Object.keys(meta.getAllClasses()) @@ -523,8 +531,13 @@ export const SelectorCompletionProvider: CompletionProvider = { // Inside ruleset of simple selector, not :import or :vars // RHS of -st-extends -export const ExtendCompletionProvider: CompletionProvider = { - provide({ lineChunkAtCursor, position, meta, stylable }: ProviderOptions): Completion[] { +export const ExtendCompletionPlugin: LangServicePlugin = { + onCompletion({ + lineChunkAtCursor, + position, + meta, + stylable, + }: PluginCompletionOptions): Completion[] { if (lineChunkAtCursor.startsWith(`-st-extends`)) { const value = lineChunkAtCursor.slice(`-st-extends:`.length); const spaces = value.search(/\S|$/); @@ -579,8 +592,13 @@ export const ExtendCompletionProvider: CompletionProvider = { // Inside ruleset, which is not :import or :vars // RHS of -st-extends -export const CssMixinCompletionProvider: CompletionProvider = { - provide({ lineChunkAtCursor, meta, position, fullLineText }: ProviderOptions): Completion[] { +export const CssMixinCompletionPlugin: LangServicePlugin = { + onCompletion({ + lineChunkAtCursor, + meta, + position, + fullLineText, + }: PluginCompletionOptions): Completion[] { if (lineChunkAtCursor.startsWith(`-st-mixin:`)) { const { names, lastName } = getExistingNames(fullLineText, position); const symbols = meta.getAllSymbols(); @@ -620,8 +638,8 @@ export const CssMixinCompletionProvider: CompletionProvider = { // Only inside simple selector // RHS of -st-mixin // There is a JS/TS import -export const CodeMixinCompletionProvider: CompletionProvider = { - provide({ +export const CodeMixinCompletionPlugin: LangServicePlugin = { + onCompletion({ parentSelector, meta, fullLineText, @@ -630,7 +648,7 @@ export const CodeMixinCompletionProvider: CompletionProvider = { fs, tsLangService, stylable, - }: ProviderOptions): Completion[] { + }: PluginCompletionOptions): Completion[] { if ( meta .getImportStatements() @@ -662,8 +680,8 @@ export const CodeMixinCompletionProvider: CompletionProvider = { // Inside ruleset, which is not :import // RHS of any rule except -st-extends, -st-from -export const FormatterCompletionProvider: CompletionProvider = { - provide({ +export const FormatterCompletionPlugin: LangServicePlugin = { + onCompletion({ meta, fullLineText, parentSelector, @@ -672,7 +690,7 @@ export const FormatterCompletionProvider: CompletionProvider = { fs, tsLangService, stylable, - }: ProviderOptions): Completion[] { + }: PluginCompletionOptions): Completion[] { if ( meta .getImportStatements() @@ -708,14 +726,14 @@ export const FormatterCompletionProvider: CompletionProvider = { // Inside :import // RHS of -st-named // import exists -export const NamedCompletionProvider: CompletionProvider & { +export const NamedCompletionPlugin: LangServicePlugin & { resolveImport: ( importName: string, stylable: Stylable, meta: StylableMeta ) => StylableMeta | null; } = { - provide({ + onCompletion({ parentSelector, astAtCursor, stylable, @@ -723,7 +741,7 @@ export const NamedCompletionProvider: CompletionProvider & { position, fullLineText, src, - }: ProviderOptions): Completion[] { + }: PluginCompletionOptions): Completion[] { const { isNamedValueLine, namedValues } = getNamedValues(src, position.line); if (isNamedValueLine) { let importName = ''; @@ -886,14 +904,8 @@ function maybeResolveImport( return resolvedImport; } -export const newStImportCompletionProvider: CompletionProvider = { - provide({ context }) { - return stImport.getCompletions(context); - }, -}; - -export const PseudoElementCompletionProvider: CompletionProvider = { - provide({ +export const PseudoElementCompletionPlugin: LangServicePlugin = { + onCompletion({ parentSelector, resolved, resolvedElements, @@ -903,7 +915,7 @@ export const PseudoElementCompletionProvider: CompletionProvider = { meta, position, fullLineText, - }: ProviderOptions): Completion[] { + }: PluginCompletionOptions): Completion[] { let comps: any[] = []; if ( !parentSelector && @@ -1104,8 +1116,8 @@ function isPositionInDecl(position: ProviderPosition, decl: postcss.Declaration) return false; } -export const StateTypeCompletionProvider: CompletionProvider = { - provide({ astAtCursor, fullLineText, position }: ProviderOptions): Completion[] { +export const StateTypeCompletionPlugin: LangServicePlugin = { + onCompletion({ astAtCursor, fullLineText, position }: PluginCompletionOptions): Completion[] { const acc: Completion[] = []; if (isNodeRule(astAtCursor)) { @@ -1188,14 +1200,19 @@ export const StateTypeCompletionProvider: CompletionProvider = { }, }; -export const StateSelectorCompletionProvider: CompletionProvider = { - provide({ context }: ProviderOptions) { +export const StateSelectorCompletionPlugin: LangServicePlugin = { + onCompletion({ context }: PluginCompletionOptions) { return cssPseudoClass.getCompletions(context); }, }; -export const ValueCompletionProvider: CompletionProvider = { - provide({ fullLineText, position, meta, stylable }: ProviderOptions): Completion[] { +export const ValueCompletionPlugin: LangServicePlugin = { + onCompletion({ + fullLineText, + position, + meta, + stylable, + }: PluginCompletionOptions): Completion[] { if (isInValue(fullLineText, position)) { const inner = fullLineText .slice(0, fullLineText.indexOf(')', position.character) + 1) diff --git a/packages/language-service/src/lib/provider.ts b/packages/language-service/src/lib/provider.ts index 5be7afb71..f05800ab8 100644 --- a/packages/language-service/src/lib/provider.ts +++ b/packages/language-service/src/lib/provider.ts @@ -29,27 +29,26 @@ import type { import { URI } from 'vscode-uri'; import { - CodeMixinCompletionProvider, - CompletionProvider, + CodeMixinCompletionPlugin, + LangServicePlugin, createRange, - CssMixinCompletionProvider, - ExtendCompletionProvider, - FormatterCompletionProvider, - GlobalCompletionProvider, - ImportInternalDirectivesProvider, - NamedCompletionProvider, - ProviderOptions, + CssMixinCompletionPlugin, + ExtendCompletionPlugin, + FormatterCompletionPlugin, + GlobalCompletionPlugin, + ImportInternalDirectivesPlugin, + NamedCompletionPlugin, + PluginCompletionOptions, ProviderPosition, ProviderRange, - PseudoElementCompletionProvider, - RulesetInternalDirectivesProvider, - SelectorCompletionProvider, - StateSelectorCompletionProvider, - StateTypeCompletionProvider, - TopLevelDirectiveProvider, - ValueCompletionProvider, - ValueDirectiveProvider, - newStImportCompletionProvider, + PseudoElementCompletionPlugin, + RulesetInternalDirectivesPlugin, + SelectorCompletionPlugin, + StateSelectorCompletionPlugin, + StateTypeCompletionPlugin, + TopLevelDirectivePlugin, + ValueCompletionPlugin, + ValueDirectivePlugin, } from './completion-providers'; import { topLevelDirectives } from './completion-types'; import type { Completion } from './completion-types'; @@ -68,6 +67,7 @@ import { SelectorQuery, } from './utils/selector-analyzer'; import type { LangServiceContext } from '../lib-new/lang-service-context'; +import { StImportPlugin } from '../lib-new/features/ls-st-import'; function findLast( arr: T[], @@ -85,26 +85,31 @@ function findLast( } export class Provider { - private providers: CompletionProvider[] = [ - newStImportCompletionProvider, - RulesetInternalDirectivesProvider, - ImportInternalDirectivesProvider, - TopLevelDirectiveProvider, - ValueDirectiveProvider, - GlobalCompletionProvider, - SelectorCompletionProvider, - ExtendCompletionProvider, - CssMixinCompletionProvider, - CodeMixinCompletionProvider, - FormatterCompletionProvider, - NamedCompletionProvider, - StateTypeCompletionProvider, - StateSelectorCompletionProvider, - PseudoElementCompletionProvider, - ValueCompletionProvider, + private plugins: LangServicePlugin[] = [ + StImportPlugin, + RulesetInternalDirectivesPlugin, + ImportInternalDirectivesPlugin, + TopLevelDirectivePlugin, + ValueDirectivePlugin, + GlobalCompletionPlugin, + SelectorCompletionPlugin, + ExtendCompletionPlugin, + CssMixinCompletionPlugin, + CodeMixinCompletionPlugin, + FormatterCompletionPlugin, + NamedCompletionPlugin, + StateTypeCompletionPlugin, + StateSelectorCompletionPlugin, + PseudoElementCompletionPlugin, + ValueCompletionPlugin, ]; constructor(private stylable: Stylable, private tsLangService: ExtendedTsLanguageService) {} + public analyzeCaretContext(context: LangServiceContext) { + for (const plugin of this.plugins) { + plugin.analyzeCaretLocation?.(context); + } + } public provideCompletionItemsFromSrc( context: LangServiceContext, fs: IFileSystem @@ -119,7 +124,7 @@ export class Provider { return []; } - const options = this.createProviderOptions( + const options = this.createPluginCompletionOptions( context, src, pos, @@ -129,8 +134,8 @@ export class Provider { res.cursorLineIndex, fs ); - for (const provider of this.providers) { - completions.push(...provider.provide(options)); + for (const provider of this.plugins) { + completions.push(...provider.onCompletion(options)); } return this.dedupeComps(completions); @@ -722,7 +727,7 @@ export class Provider { } } - private createProviderOptions( + private createPluginCompletionOptions( context: LangServiceContext, src: string, position: ProviderPosition, @@ -731,7 +736,7 @@ export class Provider { fullLineText: string, cursorPosInLine: number, fs: IFileSystem - ): ProviderOptions { + ): PluginCompletionOptions { const path = pathFromPosition(meta.sourceAst, { line: position.line + 1, character: position.character, diff --git a/packages/language-service/src/lib/service.ts b/packages/language-service/src/lib/service.ts index 574074c1d..c3e6876f2 100644 --- a/packages/language-service/src/lib/service.ts +++ b/packages/language-service/src/lib/service.ts @@ -67,6 +67,7 @@ export class StylableLanguageService { if (stylableFile && stylableFile.stat.isFile()) { const context = new LangServiceContext(this.fs, this.stylable, stylableFile, offset); + this.provider.analyzeCaretContext(context); return this.getCompletions(context); } else { return []; @@ -326,17 +327,17 @@ export class StylableLanguageService { ); } } - - const cssCompletions = this.cssService.getCompletions(cleanDocument, position); - - for (const cssComp of cssCompletions) { - const label = cssComp.label; - - if (!groupedCompletions.has(label)) { - // CSS declaration property names have built in sorting - // at-rules, rules and declaration values do not - cssComp.sortText = cssComp.sortText || 'z'; - groupedCompletions.set(label, cssComp); + // native CSS service + if (context.flags.runNativeCSSService) { + const cssCompletions = this.cssService.getCompletions(cleanDocument, position); + for (const cssComp of cssCompletions) { + const label = cssComp.label; + if (!groupedCompletions.has(label)) { + // CSS declaration property names have built in sorting + // at-rules, rules and declaration values do not + cssComp.sortText = cssComp.sortText || 'z'; + groupedCompletions.set(label, cssComp); + } } } diff --git a/packages/language-service/test/lib-new/features/ls-st-import.spec.ts b/packages/language-service/test/lib-new/features/ls-st-import.spec.ts index 9612fb5eb..f4306f2fa 100644 --- a/packages/language-service/test/lib-new/features/ls-st-import.spec.ts +++ b/packages/language-service/test/lib-new/features/ls-st-import.spec.ts @@ -87,6 +87,54 @@ describe('LS: st-import', () => { unexpectedList: [{ label: '@st-import' }], })); }); + it('should not suggest native css or selectors', () => { + const { service, assertCompletions, fs } = testLangService( + { + 'other.st.css': ``, + 'entry.st.css': ` + @st-import ^default^ from '.^specifierEmpty^'; + @st-import [^named^, keyframes(^namedTyped^)] from '.^specifierWithDot^'; + + .xxx {} + `, + }, + { testOnNativeFileSystem: tempDir.path } + ); + + const entryPath = fs.join(tempDir.path, 'entry.st.css'); + + const unexpectedList = [ + { label: '.xxx' }, + { label: 'input' }, + { label: '@media' }, + { label: ':global()' }, + ]; + assertCompletions(entryPath, ({ filePath, carets }) => ({ + message: 'specifierEmpty', + actualList: service.onCompletion(filePath, carets.specifierEmpty), + unexpectedList, + })); + assertCompletions(entryPath, ({ filePath, carets }) => ({ + message: 'specifierWithDot', + actualList: service.onCompletion(filePath, carets.specifierWithDot), + unexpectedList, + })); + assertCompletions(entryPath, ({ filePath, carets }) => ({ + message: 'default', + actualList: service.onCompletion(filePath, carets.default), + unexpectedList, + })); + assertCompletions(entryPath, ({ filePath, carets }) => ({ + message: 'named', + actualList: service.onCompletion(filePath, carets.named), + unexpectedList, + })); + assertCompletions(entryPath, ({ filePath, carets }) => ({ + message: 'namedTyped', + actualList: service.onCompletion(filePath, carets.namedTyped), + unexpectedList, + })); + }); describe('named imports', () => { it('should suggest named imports', () => { const { service, assertCompletions, fs } = testLangService( From e0c6bd90a4f8d5f58d53bb19dcf243a3aed4c17f Mon Sep 17 00:00:00 2001 From: barak igal Date: Wed, 14 Jun 2023 09:21:34 +0300 Subject: [PATCH 15/81] refactor: extract file and rename (#2875) --- packages/esbuild/src/plugin-utils.ts | 271 +++++++++++++++ .../esbuild/src/stylable-esbuild-plugin.ts | 313 ++---------------- 2 files changed, 294 insertions(+), 290 deletions(-) create mode 100644 packages/esbuild/src/plugin-utils.ts diff --git a/packages/esbuild/src/plugin-utils.ts b/packages/esbuild/src/plugin-utils.ts new file mode 100644 index 000000000..a7a44aee8 --- /dev/null +++ b/packages/esbuild/src/plugin-utils.ts @@ -0,0 +1,271 @@ +import { join, isAbsolute } from 'path'; +import decache from 'decache'; +import type { PluginBuild, Metafile } from 'esbuild'; +import type { Stylable, StylableConfig, StylableMeta, StylableResults } from '@stylable/core'; +import type { ESBuildOptions } from './stylable-esbuild-plugin'; +import { packageJsonLookupCache } from '@stylable/node'; +import { sortModulesByDepth, processUrlDependencies } from '@stylable/build-tools'; +import { DiagnosticsMode, emitDiagnostics } from '@stylable/core/dist/index-internal'; +import { parse } from 'postcss'; + +export const namespaces = { + unused: 'stylable-unused', + jsModule: 'stylable-js-module', + css: 'stylable-css', + nativeCss: 'stylable-native-css', +}; +export function lazyDebugPrint() { + if (process.env.STYLABLE_DEBUG !== 'true') { + return; + } + void Promise.resolve().then(() => { + (globalThis as any).stylable_debug(); + (globalThis as any).stylable_debug_clear(); + }); +} +export function debounce void>(fn: T, time: number) { + let timeout: ReturnType; + return (...args: Parameters): void => { + clearTimeout(timeout); + timeout = setTimeout(() => fn(...args), time); + }; +} +export function clearCaches(stylable: Stylable) { + packageJsonLookupCache.clear(); + stylable.initCache(); +} +export function processAssetsStubs(moduleCode: string) { + return moduleCode.replace( + /\\"http:\/\/__stylable_url_asset_(.*?)__\\"/g, + (_$0, $1) => `" + JSON.stringify(__css_asset_${Number($1)}__) + "` + ); +} +export function processAssetsAndApplyStubs( + imports: { from: string; defaultImport?: string }[], + res: StylableResults, + stylable: Stylable +) { + processUrlDependencies({ + meta: res.meta, + rootContext: stylable.projectRoot, + host: { + isAbsolute, + join, + }, + getReplacement: ({ index }) => `http://__stylable_url_asset_${index}__`, + }).forEach((url, i) => { + imports.push({ + from: url, + defaultImport: `__css_asset_${i}__`, + }); + }); +} +export function importsCollector(res: StylableResults) { + const imports: { from: string }[] = []; + const collector = (contextMeta: StylableMeta, absPath: string, hasSideEffects: boolean) => { + if (hasSideEffects) { + if (!absPath.endsWith('.st.css')) { + // pass to the native css loader hook + imports.push({ from: namespaces.nativeCss + `:` + absPath }); + } else { + imports.push({ from: absPath }); + } + } else if (contextMeta === res.meta) { + imports.push({ from: namespaces.unused + `:` + absPath }); + } + }; + return { imports, collector }; +} +export function enableEsbuildMetafile(build: PluginBuild, cssInjection: string) { + if (cssInjection === 'css') { + if (build.initialOptions.metafile === false) { + console.warn( + "'stylable-esbuild-plugin' requires the 'metafile' configuration option to be enabled for CSS injection. Since it appears to be disabled, we will automatically enable it for you. Please note that this is necessary for proper plugin functionality." + ); + } + build.initialOptions.metafile = true; + } +} +export function buildUsageMapping(metafile: Metafile, stylable: Stylable): OptimizationMapping { + const usageMapping: Record = {}; + const globalMappings: Record> = {}; + const usagesByNamespace: Record< + string, + Set<{ + path: string; + meta: StylableMeta; + }> + > = {}; + for (const [key] of Object.entries(metafile.inputs)) { + if (key.startsWith(namespaces.jsModule)) { + const path = key.replace(namespaces.jsModule + ':', ''); + const meta = stylable.fileProcessor.cache[path]?.value; + if (!meta) { + throw new Error(`build usage mapping failed: meta not found for ${key}`); + } + globalMappings[path] ||= {}; + Object.assign(globalMappings[path], meta.globals); + usagesByNamespace[meta.namespace] ||= new Set(); + usagesByNamespace[meta.namespace].add({ path, meta }); + usageMapping[meta.namespace] = true; + } else if (key.startsWith(namespaces.unused)) { + const meta = + stylable.fileProcessor.cache[key.replace(namespaces.unused + ':', '')].value; + if (!meta) { + throw new Error(`build usage mapping failed: meta not found for ${key}`); + } + // mark unused as false if not already marked as used + usageMapping[meta.namespace] ||= false; + } + } + + for (const [namespace, usage] of Object.entries(usagesByNamespace)) { + if (usage.size > 1) { + throw new Error( + `The namespace '${namespace}' is being used in multiple files. Please review the following file(s) and update them to use a unique namespace:\n${[ + ...usage, + ] + .map((e) => e.path) + .join('\n')}` + ); + } + } + return { usagesByNamespace, usageMapping, globalMappings }; +} +export function esbuildEmitDiagnostics(res: StylableResults, diagnosticsMode: DiagnosticsMode) { + const errors: { pluginName: string; text: string }[] = []; + const warnings: { pluginName: string; text: string }[] = []; + + emitDiagnostics( + { + emitError(e) { + errors.push({ + pluginName: 'stylable', + text: e.message, + }); + }, + emitWarning(e) { + warnings.push({ + pluginName: 'stylable', + text: e.message, + }); + }, + }, + res.meta, + diagnosticsMode, + res.meta.source + ); + return { errors, warnings }; +} +export function applyDefaultOptions(options: ESBuildOptions, prod = true) { + const mode = options.mode ?? (prod ? 'production' : 'development'); + return { + mode, + cssInjection: mode === 'development' ? 'js' : 'css', + diagnosticsMode: 'auto', + stylableConfig: (config: StylableConfig) => config, + configFile: true, + runtimeStylesheetId: mode === 'production' ? 'namespace' : 'module+namespace', + ...options, + devTypes: { + enabled: !!options.devTypes, + srcDir: 'src', + outDir: 'st-types', + dtsSourceMap: true, + ...options.devTypes, + }, + optimize: { + removeUnusedComponents: prod, + ...options.optimize, + }, + } satisfies ESBuildOptions; +} +export function createDecacheRequire(build: PluginBuild) { + const cacheIds = new Set(); + build.onStart(() => { + for (const id of cacheIds) { + decache(id); + } + cacheIds.clear(); + }); + return (id: string) => { + cacheIds.add(id); + return require(id); + }; +} +export function wrapWithDepthMarkers(css: string, depth: number | string) { + return `[stylable-depth]{--depth:${depth}}${css}[stylable-depth]{--end:${depth}}`; +} +export interface OptimizationMapping { + usageMapping?: Record; + globalMappings?: Record>; + usagesByNamespace?: Record< + string, + Set<{ + path: string; + meta: StylableMeta; + }> + >; +} +export function sortMarkersByDepth( + css: string, + stylable: Stylable, + { usageMapping, globalMappings }: OptimizationMapping +) { + const extracted: { depth: number; css: string; path: string }[] = []; + const leftOverCss = css.replace( + /(\/\* stylable-?\w*?-css:[\s\S]*?\*\/[\s\S]*?)?\[stylable-depth\][\s\S]*?\{[\s\S]*?--depth:[\s\S]*?(\d+)[\s\S]*?\}([\s\S]*?)\[stylable-depth\][\s\S]*?\{[\s\S]*?--end:[\s\S]*?\d+[\s\S]*?\}/g, + (...args) => { + const { 1: esbuildComment, 2: depth, 3: css } = args; + extracted.push({ + depth: parseInt(depth, 10), + css: (esbuildComment || '') + css, + path: esbuildComment.match(/\/\* stylable-?\w*?-css:([\s\S]*?)\s*\*\//)?.[1] || '', + }); + return ''; + } + ); + + const sorted = sortModulesByDepth( + extracted, + (m) => m.depth, + (_) => '', + -1 + ); + + return ( + leftOverCss.trimStart() + + sorted + .map((m) => + usageMapping && globalMappings + ? removeUnusedComponents(m.css, stylable, usageMapping, globalMappings[m.path]) + : m.css + ) + .join('') + ); +} +const stubExports = { + classes: {}, + containers: {}, + keyframes: {}, + vars: {}, + layers: {}, + stVars: {}, +}; +function removeUnusedComponents( + css: string, + stylable: Stylable, + usageMapping: Record, + // global mapping per stylable meta + globalMappings: Record +) { + const ast = parse(css); + stylable.optimizer?.optimizeAst( + { removeUnusedComponents: true }, + ast, + usageMapping, + stubExports, + globalMappings + ); + return ast.toString(); +} diff --git a/packages/esbuild/src/stylable-esbuild-plugin.ts b/packages/esbuild/src/stylable-esbuild-plugin.ts index 14d23fe4b..1ab7c3b9f 100644 --- a/packages/esbuild/src/stylable-esbuild-plugin.ts +++ b/packages/esbuild/src/stylable-esbuild-plugin.ts @@ -1,28 +1,32 @@ import fs, { readFileSync, writeFileSync } from 'fs'; import { relative, join, isAbsolute, dirname } from 'path'; -import decache from 'decache'; -import type { Plugin, PluginBuild, Metafile } from 'esbuild'; -import { Stylable, StylableConfig, StylableMeta, StylableResults } from '@stylable/core'; +import type { Plugin, PluginBuild } from 'esbuild'; +import { Stylable, StylableConfig, StylableResults } from '@stylable/core'; import { StylableOptimizer } from '@stylable/optimizer'; -import { resolveNamespace as resolveNamespaceNode, packageJsonLookupCache } from '@stylable/node'; +import { resolveNamespace as resolveNamespaceNode } from '@stylable/node'; import { generateStylableJSModuleSource } from '@stylable/module-utils'; -import { - sortModulesByDepth, - collectImportsWithSideEffects, - processUrlDependencies, -} from '@stylable/build-tools'; +import { collectImportsWithSideEffects } from '@stylable/build-tools'; import { resolveConfig, buildDTS } from '@stylable/cli'; -import { DiagnosticsMode, emitDiagnostics } from '@stylable/core/dist/index-internal'; -import { parse } from 'postcss'; +import type { DiagnosticsMode } from '@stylable/core/dist/index-internal'; import { buildCache } from './build-cache'; import { wrapDebug } from './debug'; - -const namespaces = { - unused: 'stylable-unused', - jsModule: 'stylable-js-module', - css: 'stylable-css', - nativeCss: 'stylable-native-css', -}; +import { + applyDefaultOptions, + debounce, + clearCaches, + enableEsbuildMetafile, + createDecacheRequire, + namespaces, + esbuildEmitDiagnostics, + importsCollector, + processAssetsAndApplyStubs, + processAssetsStubs, + wrapWithDepthMarkers, + lazyDebugPrint, + OptimizationMapping, + buildUsageMapping, + sortMarkersByDepth, +} from './plugin-utils'; export interface ESBuildOptions { /** @@ -236,7 +240,7 @@ export const stylablePlugin = (initialPluginOptions: ESBuildOptions = {}): Plugi warnings, watchFiles: [args.path, ...deepDependencies], resolveDir: dirname(args.path), - contents: cssInjection === 'js' ? processStubs(moduleCode) : moduleCode, + contents: cssInjection === 'js' ? processAssetsStubs(moduleCode) : moduleCode, pluginData: { stylableResults: res }, }); }) @@ -364,274 +368,3 @@ export const stylablePlugin = (initialPluginOptions: ESBuildOptions = {}): Plugi ); }, }); - -function lazyDebugPrint() { - if (process.env.STYLABLE_DEBUG !== 'true') { - return; - } - void Promise.resolve().then(() => { - (globalThis as any).stylable_debug(); - (globalThis as any).stylable_debug_clear(); - }); -} - -function debounce void>(fn: T, time: number) { - let timeout: ReturnType; - return (...args: Parameters): void => { - clearTimeout(timeout); - timeout = setTimeout(() => fn(...args), time); - }; -} - -function clearCaches(stylable: Stylable) { - packageJsonLookupCache.clear(); - stylable.initCache(); -} - -function processStubs(moduleCode: string) { - return moduleCode.replace( - /\\"http:\/\/__stylable_url_asset_(.*?)__\\"/g, - (_$0, $1) => `" + JSON.stringify(__css_asset_${Number($1)}__) + "` - ); -} - -function processAssetsAndApplyStubs( - imports: { from: string; defaultImport?: string }[], - res: StylableResults, - stylable: Stylable -) { - processUrlDependencies({ - meta: res.meta, - rootContext: stylable.projectRoot, - host: { - isAbsolute, - join, - }, - getReplacement: ({ index }) => `http://__stylable_url_asset_${index}__`, - }).forEach((url, i) => { - imports.push({ - from: url, - defaultImport: `__css_asset_${i}__`, - }); - }); -} - -function importsCollector(res: StylableResults) { - const imports: { from: string }[] = []; - const collector = (contextMeta: StylableMeta, absPath: string, hasSideEffects: boolean) => { - if (hasSideEffects) { - if (!absPath.endsWith('.st.css')) { - // pass to the native css loader hook - imports.push({ from: namespaces.nativeCss + `:` + absPath }); - } else { - imports.push({ from: absPath }); - } - } else if (contextMeta === res.meta) { - imports.push({ from: namespaces.unused + `:` + absPath }); - } - }; - return { imports, collector }; -} - -function enableEsbuildMetafile(build: PluginBuild, cssInjection: string) { - if (cssInjection === 'css') { - if (build.initialOptions.metafile === false) { - console.warn( - "'stylable-esbuild-plugin' requires the 'metafile' configuration option to be enabled for CSS injection. Since it appears to be disabled, we will automatically enable it for you. Please note that this is necessary for proper plugin functionality." - ); - } - build.initialOptions.metafile = true; - } -} - -function buildUsageMapping(metafile: Metafile, stylable: Stylable): OptimizationMapping { - const usageMapping: Record = {}; - const globalMappings: Record> = {}; - const usagesByNamespace: Record< - string, - Set<{ - path: string; - meta: StylableMeta; - }> - > = {}; - for (const [key] of Object.entries(metafile.inputs)) { - if (key.startsWith(namespaces.jsModule)) { - const path = key.replace(namespaces.jsModule + ':', ''); - const meta = stylable.fileProcessor.cache[path]?.value; - if (!meta) { - throw new Error(`build usage mapping failed: meta not found for ${key}`); - } - globalMappings[path] ||= {}; - Object.assign(globalMappings[path], meta.globals); - usagesByNamespace[meta.namespace] ||= new Set(); - usagesByNamespace[meta.namespace].add({ path, meta }); - usageMapping[meta.namespace] = true; - } else if (key.startsWith(namespaces.unused)) { - const meta = - stylable.fileProcessor.cache[key.replace(namespaces.unused + ':', '')].value; - if (!meta) { - throw new Error(`build usage mapping failed: meta not found for ${key}`); - } - // mark unused as false if not already marked as used - usageMapping[meta.namespace] ||= false; - } - } - - for (const [namespace, usage] of Object.entries(usagesByNamespace)) { - if (usage.size > 1) { - throw new Error( - `The namespace '${namespace}' is being used in multiple files. Please review the following file(s) and update them to use a unique namespace:\n${[ - ...usage, - ] - .map((e) => e.path) - .join('\n')}` - ); - } - } - return { usagesByNamespace, usageMapping, globalMappings }; -} - -function esbuildEmitDiagnostics(res: StylableResults, diagnosticsMode: DiagnosticsMode) { - const errors: { pluginName: string; text: string }[] = []; - const warnings: { pluginName: string; text: string }[] = []; - - emitDiagnostics( - { - emitError(e) { - errors.push({ - pluginName: 'stylable', - text: e.message, - }); - }, - emitWarning(e) { - warnings.push({ - pluginName: 'stylable', - text: e.message, - }); - }, - }, - res.meta, - diagnosticsMode, - res.meta.source - ); - return { errors, warnings }; -} - -function applyDefaultOptions(options: ESBuildOptions, prod = true) { - const mode = options.mode ?? (prod ? 'production' : 'development'); - return { - mode, - cssInjection: mode === 'development' ? 'js' : 'css', - diagnosticsMode: 'auto', - stylableConfig: (config: StylableConfig) => config, - configFile: true, - runtimeStylesheetId: mode === 'production' ? 'namespace' : 'module+namespace', - ...options, - devTypes: { - enabled: !!options.devTypes, - srcDir: 'src', - outDir: 'st-types', - dtsSourceMap: true, - ...options.devTypes, - }, - optimize: { - removeUnusedComponents: prod, - ...options.optimize, - }, - } satisfies ESBuildOptions; -} - -function createDecacheRequire(build: PluginBuild) { - const cacheIds = new Set(); - build.onStart(() => { - for (const id of cacheIds) { - decache(id); - } - cacheIds.clear(); - }); - return (id: string) => { - cacheIds.add(id); - return require(id); - }; -} - -function wrapWithDepthMarkers(css: string, depth: number | string) { - return `[stylable-depth]{--depth:${depth}}${css}[stylable-depth]{--end:${depth}}`; -} - -interface OptimizationMapping { - usageMapping?: Record; - globalMappings?: Record>; - usagesByNamespace?: Record< - string, - Set<{ - path: string; - meta: StylableMeta; - }> - >; -} - -function sortMarkersByDepth( - css: string, - stylable: Stylable, - { usageMapping, globalMappings }: OptimizationMapping -) { - const extracted: { depth: number; css: string; path: string }[] = []; - const leftOverCss = css.replace( - /(\/\* stylable-?\w*?-css:[\s\S]*?\*\/[\s\S]*?)?\[stylable-depth\][\s\S]*?\{[\s\S]*?--depth:[\s\S]*?(\d+)[\s\S]*?\}([\s\S]*?)\[stylable-depth\][\s\S]*?\{[\s\S]*?--end:[\s\S]*?\d+[\s\S]*?\}/g, - (...args) => { - const { 1: esbuildComment, 2: depth, 3: css } = args; - extracted.push({ - depth: parseInt(depth, 10), - css: (esbuildComment || '') + css, - path: esbuildComment.match(/\/\* stylable-?\w*?-css:([\s\S]*?)\s*\*\//)?.[1] || '', - }); - return ''; - } - ); - - const sorted = sortModulesByDepth( - extracted, - (m) => m.depth, - (_) => '', // we don't want to sort by path this way we get similar results as the js injection mode - -1 - ); - - return ( - leftOverCss.trimStart() + - sorted - .map((m) => - usageMapping && globalMappings - ? removeUnusedComponents(m.css, stylable, usageMapping, globalMappings[m.path]) - : m.css - ) - .join('') - ); -} - -const stubExports = { - classes: {}, - containers: {}, - keyframes: {}, - vars: {}, - layers: {}, - stVars: {}, -}; - -function removeUnusedComponents( - css: string, - stylable: Stylable, - usageMapping: Record, - // global mapping per stylable meta - globalMappings: Record -) { - const ast = parse(css); - stylable.optimizer?.optimizeAst( - { removeUnusedComponents: true }, - ast, - usageMapping, - stubExports, - globalMappings - ); - return ast.toString(); -} From 60396552e2348101a041a639223b4947515e7480 Mon Sep 17 00:00:00 2001 From: barak igal Date: Wed, 14 Jun 2023 09:44:42 +0300 Subject: [PATCH 16/81] fix: collection if mixin declaration under rule block + more (#2871) --- packages/core/src/features/st-mixin.ts | 13 +++-- packages/core/src/helpers/custom-state.ts | 13 ++--- packages/core/src/helpers/import.ts | 7 ++- packages/core/test/features/st-mixin.spec.ts | 56 +++++++++++++++++++ .../src/create-metadata-stylesheet.ts | 4 +- 5 files changed, 77 insertions(+), 16 deletions(-) diff --git a/packages/core/src/features/st-mixin.ts b/packages/core/src/features/st-mixin.ts index 71f8c6f98..69fc7e8c6 100644 --- a/packages/core/src/features/st-mixin.ts +++ b/packages/core/src/features/st-mixin.ts @@ -236,20 +236,23 @@ function collectRuleMixins( const resolvedSymbols = context.getResolvedSymbols(context.meta); const { mainNamespace } = resolvedSymbols; const decls: postcss.Declaration[] = []; - rule.walkDecls((decl) => { - if (decl.prop === `-st-mixin` || decl.prop === `-st-partial-mixin`) { - decls.push(decl); + for (const node of rule.nodes) { + if ( + node.type === 'decl' && + (node.prop === `-st-mixin` || node.prop === `-st-partial-mixin`) + ) { + decls.push(node); mixins = collectDeclMixins( context, resolvedSymbols, - decl, + node, (mixinSymbolName) => { return mainNamespace[mixinSymbolName] === 'js' ? 'args' : 'named'; }, mixins ); } - }); + } return [decls, mixins]; } diff --git a/packages/core/src/helpers/custom-state.ts b/packages/core/src/helpers/custom-state.ts index 31a68d8e3..817af0f3e 100644 --- a/packages/core/src/helpers/custom-state.ts +++ b/packages/core/src/helpers/custom-state.ts @@ -724,8 +724,8 @@ export function validateRuleStateDefinition( !!stateParam.defaultValue ); if (errors) { - selectorNode.walkDecls((decl) => { - if (decl.prop === `-st-states`) { + for (const node of selectorNode.nodes) { + if (node.type === 'decl' && node.prop === `-st-states`) { diagnostics.report( stateDiagnostics.DEFAULT_PARAM_FAILS_VALIDATION( stateName, @@ -733,14 +733,13 @@ export function validateRuleStateDefinition( errors ), { - node: decl, - word: decl.value, + node: node, + word: node.value, } ); - return false; + break; } - return; - }); + } } } } diff --git a/packages/core/src/helpers/import.ts b/packages/core/src/helpers/import.ts index e966831c2..a43f1f1fe 100644 --- a/packages/core/src/helpers/import.ts +++ b/packages/core/src/helpers/import.ts @@ -413,7 +413,10 @@ function createPseudoImportProps( function patchDecls(node: Rule, named: string[], pseudoImport: Imported) { const namedDecls: Declaration[] = []; const defaultDecls: Declaration[] = []; - node.walkDecls((decl) => { + for (const decl of node.nodes) { + if (decl.type !== 'decl') { + continue; + } if (decl.prop === '-st-named') { decl.assign({ value: named.join(', ') }); namedDecls.push(decl); @@ -421,7 +424,7 @@ function patchDecls(node: Rule, named: string[], pseudoImport: Imported) { decl.assign({ value: pseudoImport.defaultExport }); defaultDecls.push(decl); } - }); + } return { defaultDecls, namedDecls }; } diff --git a/packages/core/test/features/st-mixin.spec.ts b/packages/core/test/features/st-mixin.spec.ts index c905152b4..79e10bbf6 100644 --- a/packages/core/test/features/st-mixin.spec.ts +++ b/packages/core/test/features/st-mixin.spec.ts @@ -41,6 +41,62 @@ describe(`features/st-mixin`, () => { shouldReportNoDiagnostics(meta); }); + it(`should append mixin declarations (within nesting)`, () => { + const { sheets } = testStylableCore(` + .mix { + propA: blue; + propB: green; + } + + /* @rule .entry__empty {propA: blue; propB: green;} */ + .empty { + -st-mixin: mix; + } + + .insert { + /* @rule .entry__child {before:1; propA:blue; propB:green; after: 2} */ + .child { + before: 1; + -st-mixin: mix; + after: 2; + } + } + `); + + const { meta } = sheets['/entry.st.css']; + + shouldReportNoDiagnostics(meta); + }); + it.skip(`should keep other nested rules`, () => { + const { sheets } = testStylableCore(` + .mix { + propA: blue; + propB: green; + } + + /* @rule .entry__empty {propA: blue; propB: green;} */ + .empty { + -st-mixin: mix; + } + + .insert { + /* @rule .entry__child {before:1; propA:blue; propB:green; after: 2} */ + .child { + .grandchild-1 { z-index: 1; } + before: 1; + .grandchild-2 { z-index: 2; } + -st-mixin: mix; + .grandchild-3 { z-index: 3; } + after: 2; + .grandchild-4 { z-index: 4; } + } + } + `); + + const { meta } = sheets['/entry.st.css']; + + shouldReportNoDiagnostics(meta); + }); it(`should append mixin rules`, () => { const { sheets } = testStylableCore(` .mix { diff --git a/packages/webpack-extensions/src/create-metadata-stylesheet.ts b/packages/webpack-extensions/src/create-metadata-stylesheet.ts index 3185b192a..88aeec402 100644 --- a/packages/webpack-extensions/src/create-metadata-stylesheet.ts +++ b/packages/webpack-extensions/src/create-metadata-stylesheet.ts @@ -57,8 +57,8 @@ export function rewriteImports( ); } if (rawRule.type === 'rule') { - rawRule.walkDecls((decl) => { - if (decl.prop === `-st-from`) { + rawRule.nodes.forEach((decl) => { + if (decl.type === 'decl' && decl.prop === `-st-from`) { decl.value = JSON.stringify( `/${ensureHash(resolved.meta, hashes)}.st.css` ); From 7bd2f1e26f7a36cfb62c2439f815c112ec49885e Mon Sep 17 00:00:00 2001 From: barak igal Date: Wed, 14 Jun 2023 09:53:40 +0300 Subject: [PATCH 17/81] fix: creation of empty directories when not needed (#2858) --- packages/cli/src/build-single-file.ts | 6 +++++- packages/cli/src/build.ts | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/cli/src/build-single-file.ts b/packages/cli/src/build-single-file.ts index e71f84af4..d94e0c812 100644 --- a/packages/cli/src/build-single-file.ts +++ b/packages/cli/src/build-single-file.ts @@ -86,7 +86,6 @@ export function buildSingleFile({ const outputLogs: string[] = []; log(mode, filePath); - tryRun(() => ensureDirectory(outDirPath, fs), `Ensure directory: ${outDirPath}`); let content: string = tryRun( () => fs.readFileSync(filePath).toString(), `Read File Error: ${filePath}` @@ -95,6 +94,7 @@ export function buildSingleFile({ () => stylable.transform(stylable.analyze(filePath)), errorMessages.STYLABLE_PROCESS(filePath) ); + const optimizer = new StylableOptimizer(); if (optimize) { optimizer.optimize( @@ -117,6 +117,10 @@ export function buildSingleFile({ }); } + if (outputSources || outputCSS || dts || moduleFormats.length) { + tryRun(() => ensureDirectory(outDirPath, fs), `Ensure directory: ${outDirPath}`); + } + // st.css if (outputSources) { if (targetFilePath === filePath) { diff --git a/packages/cli/src/build.ts b/packages/cli/src/build.ts index 572cd3fba..57ed63907 100644 --- a/packages/cli/src/build.ts +++ b/packages/cli/src/build.ts @@ -212,6 +212,7 @@ export async function build( for (const { filePath, content, files } of outputs) { processGeneratedFiles.add(filePath); log(mode, buildMessages.EMIT_BUNDLE(filePath, files.length)); + fs.ensureDirectorySync(dirname(filePath)); fs.writeFileSync(filePath, content); } }, 'failed to write or minify bundle file'); From c5c836b7c057784085d93d1422758d1b8f0dc561 Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Wed, 14 Jun 2023 10:10:19 +0300 Subject: [PATCH 18/81] chore(deps): upgrade to latest stable --- package-lock.json | 344 +++++++++---------- package.json | 18 +- packages/code-formatter/package.json | 2 +- packages/core/package.json | 2 +- packages/e2e-test-kit/package.json | 2 +- packages/e2e-test-kit/src/project-runner.ts | 4 +- packages/eslint-plugin-stylable/package.json | 2 +- packages/language-service/package.json | 2 +- 8 files changed, 189 insertions(+), 187 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7edbc01c4..51edec04c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -34,15 +34,15 @@ "@types/mocha": "^10.0.1", "@types/node": "14", "@types/postcss-safe-parser": "^5.0.1", - "@types/react": "^18.2.8", - "@types/react-dom": "^18.2.4", + "@types/react": "^18.2.12", + "@types/react-dom": "^18.2.5", "@types/semver": "^7.5.0", "@types/validate-npm-package-name": "^4.0.0", "@types/yargs": "^17.0.24", - "@typescript-eslint/eslint-plugin": "^5.59.9", - "@typescript-eslint/parser": "^5.59.9", + "@typescript-eslint/eslint-plugin": "^5.59.11", + "@typescript-eslint/parser": "^5.59.11", "autoprefixer": "^10.4.14", - "c8": "^7.14.0", + "c8": "^8.0.0", "chai": "^4.3.7", "chai-subset": "^1.6.0", "create-listening-server": "^2.1.0", @@ -51,19 +51,19 @@ "eslint-plugin-react": "^7.32.2", "eslint-plugin-react-hooks": "^4.6.0", "file-loader": "^6.2.0", - "html-webpack-plugin": "^5.5.1", + "html-webpack-plugin": "^5.5.3", "mini-css-extract-plugin": "^2.7.6", "mocha": "^10.2.0", "node-eval": "^2.0.0", "npm-run-all": "^4.1.5", - "playwright-chromium": "^1.34.3", + "playwright-chromium": "^1.35.0", "postcss": "^8.4.24", "promise-assist": "^2.0.1", "raw-loader": "^4.0.2", "react": "^18.2.0", "react-dom": "^18.2.0", "rimraf": "^5.0.1", - "rollup": "^3.24.0", + "rollup": "^3.25.1", "source-map": "^0.7.4", "source-map-loader": "^4.0.1", "style-loader": "^3.3.3", @@ -71,7 +71,7 @@ "tsconfig-paths-webpack-plugin": "^4.0.1", "typescript": "~5.1.3", "url-loader": "^4.1.1", - "webpack": "^5.85.1", + "webpack": "^5.86.0", "yargs": "^17.7.2" }, "engines": { @@ -925,9 +925,9 @@ } }, "node_modules/@tokey/css-value-parser": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/@tokey/css-value-parser/-/css-value-parser-0.1.2.tgz", - "integrity": "sha512-wrNVsMoLaUIDIzlQZrYs6qIRXMoekYfYLu7bmV1kpejUSB4SxJyPrqI/vjGTqyxELFm3WUGUgw/o6sEmWbYkrQ==", + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/@tokey/css-value-parser/-/css-value-parser-0.1.3.tgz", + "integrity": "sha512-tHdXSq6Frp/zYW5hXD2HMXKb5UFV96XTOstPXjn1AriB/KbBrbBrc95CXtm/7iHtclgBGG8DebwM1d9f1BVKGA==", "dependencies": { "@tokey/core": "^1.3.0" } @@ -1139,9 +1139,9 @@ "dev": true }, "node_modules/@types/react": { - "version": "18.2.8", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.8.tgz", - "integrity": "sha512-lTyWUNrd8ntVkqycEEplasWy2OxNlShj3zqS0LuB1ENUGis5HodmhM7DtCoUGbxj3VW/WsGA0DUhpG6XrM7gPA==", + "version": "18.2.12", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.12.tgz", + "integrity": "sha512-ndmBMLCgn38v3SntMeoJaIrO6tGHYKMEBohCUmw8HoLLQdRMOIGXfeYaBTLe2lsFaSB3MOK1VXscYFnmLtTSmw==", "dev": true, "dependencies": { "@types/prop-types": "*", @@ -1150,9 +1150,9 @@ } }, "node_modules/@types/react-dom": { - "version": "18.2.4", - "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.4.tgz", - "integrity": "sha512-G2mHoTMTL4yoydITgOGwWdWMVd8sNgyEP85xVmMKAPUBwQWm9wBPQUmvbeF4V3WBY1P7mmL4BkjQ0SqUpf1snw==", + "version": "18.2.5", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.5.tgz", + "integrity": "sha512-sRQsOS/sCLnpQhR4DSKGTtWFE3FZjpQa86KPVbhUqdYMRZ9FEFcfAytKhR/vUG2rH1oFbOOej6cuD7MFSobDRQ==", "dev": true, "dependencies": { "@types/react": "*" @@ -1197,15 +1197,15 @@ "dev": true }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "5.59.9", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.59.9.tgz", - "integrity": "sha512-4uQIBq1ffXd2YvF7MAvehWKW3zVv/w+mSfRAu+8cKbfj3nwzyqJLNcZJpQ/WZ1HLbJDiowwmQ6NO+63nCA+fqA==", + "version": "5.59.11", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.59.11.tgz", + "integrity": "sha512-XxuOfTkCUiOSyBWIvHlUraLw/JT/6Io1365RO6ZuI88STKMavJZPNMU0lFcUTeQXEhHiv64CbxYxBNoDVSmghg==", "dev": true, "dependencies": { "@eslint-community/regexpp": "^4.4.0", - "@typescript-eslint/scope-manager": "5.59.9", - "@typescript-eslint/type-utils": "5.59.9", - "@typescript-eslint/utils": "5.59.9", + "@typescript-eslint/scope-manager": "5.59.11", + "@typescript-eslint/type-utils": "5.59.11", + "@typescript-eslint/utils": "5.59.11", "debug": "^4.3.4", "grapheme-splitter": "^1.0.4", "ignore": "^5.2.0", @@ -1231,11 +1231,11 @@ } }, "node_modules/@typescript-eslint/experimental-utils": { - "version": "5.59.9", - "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.59.9.tgz", - "integrity": "sha512-eZTK/Ci0QAqNc/q2MqMwI2+QI5ZI9HM12FcfGwbEvKif5ev/CIIYLmrlckvgPrC8XSbl39HtErR5NJiQkRkvWg==", + "version": "5.59.11", + "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.59.11.tgz", + "integrity": "sha512-GkQGV0UF/V5Ra7gZMBmiD1WrYUFOJNvCZs+XQnUyJoxmqfWMXVNyB2NVCPRKefoQcpvTv9UpJyfCvsJFs8NzzQ==", "dependencies": { - "@typescript-eslint/utils": "5.59.9" + "@typescript-eslint/utils": "5.59.11" }, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -1249,14 +1249,14 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "5.59.9", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.59.9.tgz", - "integrity": "sha512-FsPkRvBtcLQ/eVK1ivDiNYBjn3TGJdXy2fhXX+rc7czWl4ARwnpArwbihSOHI2Peg9WbtGHrbThfBUkZZGTtvQ==", + "version": "5.59.11", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.59.11.tgz", + "integrity": "sha512-s9ZF3M+Nym6CAZEkJJeO2TFHHDsKAM3ecNkLuH4i4s8/RCPnF5JRip2GyviYkeEAcwGMJxkqG9h2dAsnA1nZpA==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "5.59.9", - "@typescript-eslint/types": "5.59.9", - "@typescript-eslint/typescript-estree": "5.59.9", + "@typescript-eslint/scope-manager": "5.59.11", + "@typescript-eslint/types": "5.59.11", + "@typescript-eslint/typescript-estree": "5.59.11", "debug": "^4.3.4" }, "engines": { @@ -1276,12 +1276,12 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "5.59.9", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.59.9.tgz", - "integrity": "sha512-8RA+E+w78z1+2dzvK/tGZ2cpGigBZ58VMEHDZtpE1v+LLjzrYGc8mMaTONSxKyEkz3IuXFM0IqYiGHlCsmlZxQ==", + "version": "5.59.11", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.59.11.tgz", + "integrity": "sha512-dHFOsxoLFtrIcSj5h0QoBT/89hxQONwmn3FOQ0GOQcLOOXm+MIrS8zEAhs4tWl5MraxCY3ZJpaXQQdFMc2Tu+Q==", "dependencies": { - "@typescript-eslint/types": "5.59.9", - "@typescript-eslint/visitor-keys": "5.59.9" + "@typescript-eslint/types": "5.59.11", + "@typescript-eslint/visitor-keys": "5.59.11" }, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -1292,13 +1292,13 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "5.59.9", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.59.9.tgz", - "integrity": "sha512-ksEsT0/mEHg9e3qZu98AlSrONAQtrSTljL3ow9CGej8eRo7pe+yaC/mvTjptp23Xo/xIf2mLZKC6KPv4Sji26Q==", + "version": "5.59.11", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.59.11.tgz", + "integrity": "sha512-LZqVY8hMiVRF2a7/swmkStMYSoXMFlzL6sXV6U/2gL5cwnLWQgLEG8tjWPpaE4rMIdZ6VKWwcffPlo1jPfk43g==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "5.59.9", - "@typescript-eslint/utils": "5.59.9", + "@typescript-eslint/typescript-estree": "5.59.11", + "@typescript-eslint/utils": "5.59.11", "debug": "^4.3.4", "tsutils": "^3.21.0" }, @@ -1319,9 +1319,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "5.59.9", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.59.9.tgz", - "integrity": "sha512-uW8H5NRgTVneSVTfiCVffBb8AbwWSKg7qcA4Ot3JI3MPCJGsB4Db4BhvAODIIYE5mNj7Q+VJkK7JxmRhk2Lyjw==", + "version": "5.59.11", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.59.11.tgz", + "integrity": "sha512-epoN6R6tkvBYSc+cllrz+c2sOFWkbisJZWkOE+y3xHtvYaOE6Wk6B8e114McRJwFRjGvYdJwLXQH5c9osME/AA==", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, @@ -1331,12 +1331,12 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "5.59.9", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.9.tgz", - "integrity": "sha512-pmM0/VQ7kUhd1QyIxgS+aRvMgw+ZljB3eDb+jYyp6d2bC0mQWLzUDF+DLwCTkQ3tlNyVsvZRXjFyV0LkU/aXjA==", + "version": "5.59.11", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.11.tgz", + "integrity": "sha512-YupOpot5hJO0maupJXixi6l5ETdrITxeo5eBOeuV7RSKgYdU3G5cxO49/9WRnJq9EMrB7AuTSLH/bqOsXi7wPA==", "dependencies": { - "@typescript-eslint/types": "5.59.9", - "@typescript-eslint/visitor-keys": "5.59.9", + "@typescript-eslint/types": "5.59.11", + "@typescript-eslint/visitor-keys": "5.59.11", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -1357,16 +1357,16 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "5.59.9", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.59.9.tgz", - "integrity": "sha512-1PuMYsju/38I5Ggblaeb98TOoUvjhRvLpLa1DoTOFaLWqaXl/1iQ1eGurTXgBY58NUdtfTXKP5xBq7q9NDaLKg==", + "version": "5.59.11", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.59.11.tgz", + "integrity": "sha512-didu2rHSOMUdJThLk4aZ1Or8IcO3HzCw/ZvEjTTIfjIrcdd5cvSIwwDy2AOlE7htSNp7QIZ10fLMyRCveesMLg==", "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@types/json-schema": "^7.0.9", "@types/semver": "^7.3.12", - "@typescript-eslint/scope-manager": "5.59.9", - "@typescript-eslint/types": "5.59.9", - "@typescript-eslint/typescript-estree": "5.59.9", + "@typescript-eslint/scope-manager": "5.59.11", + "@typescript-eslint/types": "5.59.11", + "@typescript-eslint/typescript-estree": "5.59.11", "eslint-scope": "^5.1.1", "semver": "^7.3.7" }, @@ -1382,11 +1382,11 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "5.59.9", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.9.tgz", - "integrity": "sha512-bT7s0td97KMaLwpEBckbzj/YohnvXtqbe2XgqNvTl6RJVakY5mvENOTPvw5u66nljfZxthESpDozs86U+oLY8Q==", + "version": "5.59.11", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.11.tgz", + "integrity": "sha512-KGYniTGG3AMTuKF9QBD7EIrvufkB6O6uX3knP73xbKLMpH+QRPcgnCxjWXSHjMRuOxFLovljqQgQpR0c7GvjoA==", "dependencies": { - "@typescript-eslint/types": "5.59.9", + "@typescript-eslint/types": "5.59.11", "eslint-visitor-keys": "^3.3.0" }, "engines": { @@ -1944,9 +1944,9 @@ } }, "node_modules/c8": { - "version": "7.14.0", - "resolved": "https://registry.npmjs.org/c8/-/c8-7.14.0.tgz", - "integrity": "sha512-i04rtkkcNcCf7zsQcSv/T9EbUn4RXQ6mropeMcjFOsQXQ0iGLAr/xT6TImQg4+U9hmNpN9XdvPkjUL1IzbgxJw==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/c8/-/c8-8.0.0.tgz", + "integrity": "sha512-XHA5vSfCLglAc0Xt8eLBZMv19lgiBSjnb1FLAQgnwkuhJYEonpilhEB4Ea3jPAbm0FhD6VVJrc0z73jPe7JyGQ==", "dev": true, "dependencies": { "@bcoe/v8-coverage": "^0.2.3", @@ -1966,7 +1966,7 @@ "c8": "bin/c8.js" }, "engines": { - "node": ">=10.12.0" + "node": ">=12" } }, "node_modules/c8/node_modules/cliui": { @@ -2645,9 +2645,9 @@ } }, "node_modules/enhanced-resolve": { - "version": "5.14.1", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.14.1.tgz", - "integrity": "sha512-Vklwq2vDKtl0y/vtwjSesgJ5MYS7Etuk5txS8VdKL4AOS1aUlD96zqIfsOSLQsdv3xgMRbtkWM8eG9XDfKUPow==", + "version": "5.15.0", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.15.0.tgz", + "integrity": "sha512-LXYT42KJ7lpIKECr2mAXIaMldcNCh/7E0KBKOu4KSfkHmP+mZmSs+8V5gBAqisWBy0OO4W5Oyys0GO1Y8KtdKg==", "dependencies": { "graceful-fs": "^4.2.4", "tapable": "^2.2.0" @@ -3546,9 +3546,9 @@ } }, "node_modules/html-webpack-plugin": { - "version": "5.5.1", - "resolved": "https://registry.npmjs.org/html-webpack-plugin/-/html-webpack-plugin-5.5.1.tgz", - "integrity": "sha512-cTUzZ1+NqjGEKjmVgZKLMdiFg3m9MdRXkZW2OEe69WYVi5ONLMmlnSZdXzGGMOq0C8jGDrL6EWyEDDUioHO/pA==", + "version": "5.5.3", + "resolved": "https://registry.npmjs.org/html-webpack-plugin/-/html-webpack-plugin-5.5.3.tgz", + "integrity": "sha512-6YrDKTuqaP/TquFH7h4srYWsZx+x6k6+FbsTm0ziCwGHDP78Unr1r9F/H4+sGmMbX08GQcJ+K64x55b+7VM/jg==", "dev": true, "dependencies": { "@types/html-minifier-terser": "^6.0.0", @@ -5223,30 +5223,30 @@ } }, "node_modules/playwright-chromium": { - "version": "1.34.3", - "resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.34.3.tgz", - "integrity": "sha512-iAvJ7Ab72vRGMab+j2UEqD4xhHf6CzGGntTHeeApsHD/qVDmQUgSE2iKmVeZsNyXMyqrcx83fGsohfq1va01og==", + "version": "1.35.0", + "resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.35.0.tgz", + "integrity": "sha512-94xeZO0dv/PRZ/LH+vb6KFlOs8+Vt8Zw3IN+BfmL11xsbIDKRBtM2aS6x36fWXuFOITFVvSFjXiK4MJlW5q9qw==", "dev": true, "hasInstallScript": true, "dependencies": { - "playwright-core": "1.34.3" + "playwright-core": "1.35.0" }, "bin": { "playwright": "cli.js" }, "engines": { - "node": ">=14" + "node": ">=16" } }, "node_modules/playwright-core": { - "version": "1.34.3", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.34.3.tgz", - "integrity": "sha512-2pWd6G7OHKemc5x1r1rp8aQcpvDh7goMBZlJv6Co5vCNLVcQJdhxRL09SGaY6HcyHH9aT4tiynZabMofVasBYw==", + "version": "1.35.0", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.35.0.tgz", + "integrity": "sha512-muMXyPmIx/2DPrCHOD1H1ePT01o7OdKxKj2ebmCAYvqhUy+Y1bpal7B0rdoxros7YrXI294JT/DWw2LqyiqTPA==", "bin": { "playwright-core": "cli.js" }, "engines": { - "node": ">=14" + "node": ">=16" } }, "node_modules/postcss": { @@ -5757,9 +5757,9 @@ } }, "node_modules/rollup": { - "version": "3.24.0", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.24.0.tgz", - "integrity": "sha512-OgraHOIg2YpHQTjl0/ymWfFNBEyPucB7lmhXrQUh38qNOegxLapSPFs9sNr0qKR75awW41D93XafoR2QfhBdUQ==", + "version": "3.25.1", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.25.1.tgz", + "integrity": "sha512-tywOR+rwIt5m2ZAWSe5AIJcTat8vGlnPFAv15ycCrw33t6iFsXZ6mzHVFh2psSjxQPmI+xgzMZZizUAukBI4aQ==", "bin": { "rollup": "dist/bin/rollup" }, @@ -6633,9 +6633,9 @@ } }, "node_modules/webpack": { - "version": "5.85.1", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.85.1.tgz", - "integrity": "sha512-xTb7MRf4LY8Z5rzn7aIx4TDrwYJrjcHnIfU1TqtyZOoObyuGSpAUwIvVuqq5wPnv7WEgQr8UvO1q/dgoGG4HjA==", + "version": "5.86.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.86.0.tgz", + "integrity": "sha512-3BOvworZ8SO/D4GVP+GoRC3fVeg5MO4vzmq8TJJEkdmopxyazGDxN8ClqN12uzrZW9Tv8EED8v5VSb6Sqyi0pg==", "dependencies": { "@types/eslint-scope": "^3.7.3", "@types/estree": "^1.0.0", @@ -6911,7 +6911,7 @@ "license": "MIT", "dependencies": { "@stylable/core": "^5.11.1", - "@tokey/css-value-parser": "^0.1.2", + "@tokey/css-value-parser": "^0.1.3", "js-beautify": "^1.14.8", "postcss": "^8.4.24" }, @@ -6929,7 +6929,7 @@ "balanced-match": "^2.0.0", "css-selector-tokenizer": "^0.8.0", "cssesc": "^3.0.0", - "enhanced-resolve": "^5.14.1", + "enhanced-resolve": "^5.15.0", "is-vendor-prefixed": "^4.0.0", "lodash.clonedeep": "^4.5.0", "lodash.clonedeepwith": "^4.5.0", @@ -7008,7 +7008,7 @@ "dependencies": { "@stylable/runtime": "^5.11.1", "node-eval": "^2.0.0", - "playwright-core": "^1.34.3", + "playwright-core": "^1.35.0", "rimraf": "^5.0.1" }, "engines": { @@ -7044,7 +7044,7 @@ "license": "MIT", "dependencies": { "@stylable/core": "^5.11.1", - "@typescript-eslint/experimental-utils": "^5.59.9" + "@typescript-eslint/experimental-utils": "^5.59.11" } }, "packages/experimental-loader": { @@ -7092,7 +7092,7 @@ "@stylable/core": "^5.11.1", "@tokey/core": "^1.3.0", "@tokey/css-selector-parser": "^0.6.1", - "@tokey/css-value-parser": "^0.1.2", + "@tokey/css-value-parser": "^0.1.3", "css-selector-tokenizer": "^0.8.0", "postcss": "^8.4.24", "postcss-value-parser": "^4.2.0", @@ -7720,7 +7720,7 @@ "version": "file:packages/code-formatter", "requires": { "@stylable/core": "^5.11.1", - "@tokey/css-value-parser": "^0.1.2", + "@tokey/css-value-parser": "^0.1.3", "js-beautify": "^1.14.8", "postcss": "^8.4.24" } @@ -7733,7 +7733,7 @@ "balanced-match": "^2.0.0", "css-selector-tokenizer": "^0.8.0", "cssesc": "^3.0.0", - "enhanced-resolve": "^5.14.1", + "enhanced-resolve": "^5.15.0", "is-vendor-prefixed": "^4.0.0", "lodash.clonedeep": "^4.5.0", "lodash.clonedeepwith": "^4.5.0", @@ -7780,7 +7780,7 @@ "requires": { "@stylable/runtime": "^5.11.1", "node-eval": "^2.0.0", - "playwright-core": "^1.34.3", + "playwright-core": "^1.35.0", "rimraf": "^5.0.1" } }, @@ -7832,7 +7832,7 @@ "@stylable/core": "^5.11.1", "@tokey/core": "^1.3.0", "@tokey/css-selector-parser": "^0.6.1", - "@tokey/css-value-parser": "^0.1.2", + "@tokey/css-value-parser": "^0.1.3", "css-selector-tokenizer": "^0.8.0", "postcss": "^8.4.24", "postcss-value-parser": "^4.2.0", @@ -7941,9 +7941,9 @@ } }, "@tokey/css-value-parser": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/@tokey/css-value-parser/-/css-value-parser-0.1.2.tgz", - "integrity": "sha512-wrNVsMoLaUIDIzlQZrYs6qIRXMoekYfYLu7bmV1kpejUSB4SxJyPrqI/vjGTqyxELFm3WUGUgw/o6sEmWbYkrQ==", + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/@tokey/css-value-parser/-/css-value-parser-0.1.3.tgz", + "integrity": "sha512-tHdXSq6Frp/zYW5hXD2HMXKb5UFV96XTOstPXjn1AriB/KbBrbBrc95CXtm/7iHtclgBGG8DebwM1d9f1BVKGA==", "requires": { "@tokey/core": "^1.3.0" } @@ -8155,9 +8155,9 @@ "dev": true }, "@types/react": { - "version": "18.2.8", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.8.tgz", - "integrity": "sha512-lTyWUNrd8ntVkqycEEplasWy2OxNlShj3zqS0LuB1ENUGis5HodmhM7DtCoUGbxj3VW/WsGA0DUhpG6XrM7gPA==", + "version": "18.2.12", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.12.tgz", + "integrity": "sha512-ndmBMLCgn38v3SntMeoJaIrO6tGHYKMEBohCUmw8HoLLQdRMOIGXfeYaBTLe2lsFaSB3MOK1VXscYFnmLtTSmw==", "dev": true, "requires": { "@types/prop-types": "*", @@ -8166,9 +8166,9 @@ } }, "@types/react-dom": { - "version": "18.2.4", - "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.4.tgz", - "integrity": "sha512-G2mHoTMTL4yoydITgOGwWdWMVd8sNgyEP85xVmMKAPUBwQWm9wBPQUmvbeF4V3WBY1P7mmL4BkjQ0SqUpf1snw==", + "version": "18.2.5", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.5.tgz", + "integrity": "sha512-sRQsOS/sCLnpQhR4DSKGTtWFE3FZjpQa86KPVbhUqdYMRZ9FEFcfAytKhR/vUG2rH1oFbOOej6cuD7MFSobDRQ==", "dev": true, "requires": { "@types/react": "*" @@ -8213,15 +8213,15 @@ "dev": true }, "@typescript-eslint/eslint-plugin": { - "version": "5.59.9", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.59.9.tgz", - "integrity": "sha512-4uQIBq1ffXd2YvF7MAvehWKW3zVv/w+mSfRAu+8cKbfj3nwzyqJLNcZJpQ/WZ1HLbJDiowwmQ6NO+63nCA+fqA==", + "version": "5.59.11", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.59.11.tgz", + "integrity": "sha512-XxuOfTkCUiOSyBWIvHlUraLw/JT/6Io1365RO6ZuI88STKMavJZPNMU0lFcUTeQXEhHiv64CbxYxBNoDVSmghg==", "dev": true, "requires": { "@eslint-community/regexpp": "^4.4.0", - "@typescript-eslint/scope-manager": "5.59.9", - "@typescript-eslint/type-utils": "5.59.9", - "@typescript-eslint/utils": "5.59.9", + "@typescript-eslint/scope-manager": "5.59.11", + "@typescript-eslint/type-utils": "5.59.11", + "@typescript-eslint/utils": "5.59.11", "debug": "^4.3.4", "grapheme-splitter": "^1.0.4", "ignore": "^5.2.0", @@ -8231,58 +8231,58 @@ } }, "@typescript-eslint/experimental-utils": { - "version": "5.59.9", - "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.59.9.tgz", - "integrity": "sha512-eZTK/Ci0QAqNc/q2MqMwI2+QI5ZI9HM12FcfGwbEvKif5ev/CIIYLmrlckvgPrC8XSbl39HtErR5NJiQkRkvWg==", + "version": "5.59.11", + "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.59.11.tgz", + "integrity": "sha512-GkQGV0UF/V5Ra7gZMBmiD1WrYUFOJNvCZs+XQnUyJoxmqfWMXVNyB2NVCPRKefoQcpvTv9UpJyfCvsJFs8NzzQ==", "requires": { - "@typescript-eslint/utils": "5.59.9" + "@typescript-eslint/utils": "5.59.11" } }, "@typescript-eslint/parser": { - "version": "5.59.9", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.59.9.tgz", - "integrity": "sha512-FsPkRvBtcLQ/eVK1ivDiNYBjn3TGJdXy2fhXX+rc7czWl4ARwnpArwbihSOHI2Peg9WbtGHrbThfBUkZZGTtvQ==", + "version": "5.59.11", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.59.11.tgz", + "integrity": "sha512-s9ZF3M+Nym6CAZEkJJeO2TFHHDsKAM3ecNkLuH4i4s8/RCPnF5JRip2GyviYkeEAcwGMJxkqG9h2dAsnA1nZpA==", "dev": true, "requires": { - "@typescript-eslint/scope-manager": "5.59.9", - "@typescript-eslint/types": "5.59.9", - "@typescript-eslint/typescript-estree": "5.59.9", + "@typescript-eslint/scope-manager": "5.59.11", + "@typescript-eslint/types": "5.59.11", + "@typescript-eslint/typescript-estree": "5.59.11", "debug": "^4.3.4" } }, "@typescript-eslint/scope-manager": { - "version": "5.59.9", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.59.9.tgz", - "integrity": "sha512-8RA+E+w78z1+2dzvK/tGZ2cpGigBZ58VMEHDZtpE1v+LLjzrYGc8mMaTONSxKyEkz3IuXFM0IqYiGHlCsmlZxQ==", + "version": "5.59.11", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.59.11.tgz", + "integrity": "sha512-dHFOsxoLFtrIcSj5h0QoBT/89hxQONwmn3FOQ0GOQcLOOXm+MIrS8zEAhs4tWl5MraxCY3ZJpaXQQdFMc2Tu+Q==", "requires": { - "@typescript-eslint/types": "5.59.9", - "@typescript-eslint/visitor-keys": "5.59.9" + "@typescript-eslint/types": "5.59.11", + "@typescript-eslint/visitor-keys": "5.59.11" } }, "@typescript-eslint/type-utils": { - "version": "5.59.9", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.59.9.tgz", - "integrity": "sha512-ksEsT0/mEHg9e3qZu98AlSrONAQtrSTljL3ow9CGej8eRo7pe+yaC/mvTjptp23Xo/xIf2mLZKC6KPv4Sji26Q==", + "version": "5.59.11", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.59.11.tgz", + "integrity": "sha512-LZqVY8hMiVRF2a7/swmkStMYSoXMFlzL6sXV6U/2gL5cwnLWQgLEG8tjWPpaE4rMIdZ6VKWwcffPlo1jPfk43g==", "dev": true, "requires": { - "@typescript-eslint/typescript-estree": "5.59.9", - "@typescript-eslint/utils": "5.59.9", + "@typescript-eslint/typescript-estree": "5.59.11", + "@typescript-eslint/utils": "5.59.11", "debug": "^4.3.4", "tsutils": "^3.21.0" } }, "@typescript-eslint/types": { - "version": "5.59.9", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.59.9.tgz", - "integrity": "sha512-uW8H5NRgTVneSVTfiCVffBb8AbwWSKg7qcA4Ot3JI3MPCJGsB4Db4BhvAODIIYE5mNj7Q+VJkK7JxmRhk2Lyjw==" + "version": "5.59.11", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.59.11.tgz", + "integrity": "sha512-epoN6R6tkvBYSc+cllrz+c2sOFWkbisJZWkOE+y3xHtvYaOE6Wk6B8e114McRJwFRjGvYdJwLXQH5c9osME/AA==" }, "@typescript-eslint/typescript-estree": { - "version": "5.59.9", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.9.tgz", - "integrity": "sha512-pmM0/VQ7kUhd1QyIxgS+aRvMgw+ZljB3eDb+jYyp6d2bC0mQWLzUDF+DLwCTkQ3tlNyVsvZRXjFyV0LkU/aXjA==", + "version": "5.59.11", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.11.tgz", + "integrity": "sha512-YupOpot5hJO0maupJXixi6l5ETdrITxeo5eBOeuV7RSKgYdU3G5cxO49/9WRnJq9EMrB7AuTSLH/bqOsXi7wPA==", "requires": { - "@typescript-eslint/types": "5.59.9", - "@typescript-eslint/visitor-keys": "5.59.9", + "@typescript-eslint/types": "5.59.11", + "@typescript-eslint/visitor-keys": "5.59.11", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -8291,26 +8291,26 @@ } }, "@typescript-eslint/utils": { - "version": "5.59.9", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.59.9.tgz", - "integrity": "sha512-1PuMYsju/38I5Ggblaeb98TOoUvjhRvLpLa1DoTOFaLWqaXl/1iQ1eGurTXgBY58NUdtfTXKP5xBq7q9NDaLKg==", + "version": "5.59.11", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.59.11.tgz", + "integrity": "sha512-didu2rHSOMUdJThLk4aZ1Or8IcO3HzCw/ZvEjTTIfjIrcdd5cvSIwwDy2AOlE7htSNp7QIZ10fLMyRCveesMLg==", "requires": { "@eslint-community/eslint-utils": "^4.2.0", "@types/json-schema": "^7.0.9", "@types/semver": "^7.3.12", - "@typescript-eslint/scope-manager": "5.59.9", - "@typescript-eslint/types": "5.59.9", - "@typescript-eslint/typescript-estree": "5.59.9", + "@typescript-eslint/scope-manager": "5.59.11", + "@typescript-eslint/types": "5.59.11", + "@typescript-eslint/typescript-estree": "5.59.11", "eslint-scope": "^5.1.1", "semver": "^7.3.7" } }, "@typescript-eslint/visitor-keys": { - "version": "5.59.9", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.9.tgz", - "integrity": "sha512-bT7s0td97KMaLwpEBckbzj/YohnvXtqbe2XgqNvTl6RJVakY5mvENOTPvw5u66nljfZxthESpDozs86U+oLY8Q==", + "version": "5.59.11", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.11.tgz", + "integrity": "sha512-KGYniTGG3AMTuKF9QBD7EIrvufkB6O6uX3knP73xbKLMpH+QRPcgnCxjWXSHjMRuOxFLovljqQgQpR0c7GvjoA==", "requires": { - "@typescript-eslint/types": "5.59.9", + "@typescript-eslint/types": "5.59.11", "eslint-visitor-keys": "^3.3.0" } }, @@ -8739,9 +8739,9 @@ } }, "c8": { - "version": "7.14.0", - "resolved": "https://registry.npmjs.org/c8/-/c8-7.14.0.tgz", - "integrity": "sha512-i04rtkkcNcCf7zsQcSv/T9EbUn4RXQ6mropeMcjFOsQXQ0iGLAr/xT6TImQg4+U9hmNpN9XdvPkjUL1IzbgxJw==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/c8/-/c8-8.0.0.tgz", + "integrity": "sha512-XHA5vSfCLglAc0Xt8eLBZMv19lgiBSjnb1FLAQgnwkuhJYEonpilhEB4Ea3jPAbm0FhD6VVJrc0z73jPe7JyGQ==", "dev": true, "requires": { "@bcoe/v8-coverage": "^0.2.3", @@ -9262,9 +9262,9 @@ "dev": true }, "enhanced-resolve": { - "version": "5.14.1", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.14.1.tgz", - "integrity": "sha512-Vklwq2vDKtl0y/vtwjSesgJ5MYS7Etuk5txS8VdKL4AOS1aUlD96zqIfsOSLQsdv3xgMRbtkWM8eG9XDfKUPow==", + "version": "5.15.0", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.15.0.tgz", + "integrity": "sha512-LXYT42KJ7lpIKECr2mAXIaMldcNCh/7E0KBKOu4KSfkHmP+mZmSs+8V5gBAqisWBy0OO4W5Oyys0GO1Y8KtdKg==", "requires": { "graceful-fs": "^4.2.4", "tapable": "^2.2.0" @@ -9503,7 +9503,7 @@ "version": "file:packages/eslint-plugin-stylable", "requires": { "@stylable/core": "^5.11.1", - "@typescript-eslint/experimental-utils": "^5.59.9" + "@typescript-eslint/experimental-utils": "^5.59.11" } }, "eslint-scope": { @@ -9928,9 +9928,9 @@ } }, "html-webpack-plugin": { - "version": "5.5.1", - "resolved": "https://registry.npmjs.org/html-webpack-plugin/-/html-webpack-plugin-5.5.1.tgz", - "integrity": "sha512-cTUzZ1+NqjGEKjmVgZKLMdiFg3m9MdRXkZW2OEe69WYVi5ONLMmlnSZdXzGGMOq0C8jGDrL6EWyEDDUioHO/pA==", + "version": "5.5.3", + "resolved": "https://registry.npmjs.org/html-webpack-plugin/-/html-webpack-plugin-5.5.3.tgz", + "integrity": "sha512-6YrDKTuqaP/TquFH7h4srYWsZx+x6k6+FbsTm0ziCwGHDP78Unr1r9F/H4+sGmMbX08GQcJ+K64x55b+7VM/jg==", "dev": true, "requires": { "@types/html-minifier-terser": "^6.0.0", @@ -11155,18 +11155,18 @@ "dev": true }, "playwright-chromium": { - "version": "1.34.3", - "resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.34.3.tgz", - "integrity": "sha512-iAvJ7Ab72vRGMab+j2UEqD4xhHf6CzGGntTHeeApsHD/qVDmQUgSE2iKmVeZsNyXMyqrcx83fGsohfq1va01og==", + "version": "1.35.0", + "resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.35.0.tgz", + "integrity": "sha512-94xeZO0dv/PRZ/LH+vb6KFlOs8+Vt8Zw3IN+BfmL11xsbIDKRBtM2aS6x36fWXuFOITFVvSFjXiK4MJlW5q9qw==", "dev": true, "requires": { - "playwright-core": "1.34.3" + "playwright-core": "1.35.0" } }, "playwright-core": { - "version": "1.34.3", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.34.3.tgz", - "integrity": "sha512-2pWd6G7OHKemc5x1r1rp8aQcpvDh7goMBZlJv6Co5vCNLVcQJdhxRL09SGaY6HcyHH9aT4tiynZabMofVasBYw==" + "version": "1.35.0", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.35.0.tgz", + "integrity": "sha512-muMXyPmIx/2DPrCHOD1H1ePT01o7OdKxKj2ebmCAYvqhUy+Y1bpal7B0rdoxros7YrXI294JT/DWw2LqyiqTPA==" }, "postcss": { "version": "8.4.24", @@ -11489,9 +11489,9 @@ } }, "rollup": { - "version": "3.24.0", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.24.0.tgz", - "integrity": "sha512-OgraHOIg2YpHQTjl0/ymWfFNBEyPucB7lmhXrQUh38qNOegxLapSPFs9sNr0qKR75awW41D93XafoR2QfhBdUQ==", + "version": "3.25.1", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.25.1.tgz", + "integrity": "sha512-tywOR+rwIt5m2ZAWSe5AIJcTat8vGlnPFAv15ycCrw33t6iFsXZ6mzHVFh2psSjxQPmI+xgzMZZizUAukBI4aQ==", "requires": { "fsevents": "~2.3.2" } @@ -12110,9 +12110,9 @@ } }, "webpack": { - "version": "5.85.1", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.85.1.tgz", - "integrity": "sha512-xTb7MRf4LY8Z5rzn7aIx4TDrwYJrjcHnIfU1TqtyZOoObyuGSpAUwIvVuqq5wPnv7WEgQr8UvO1q/dgoGG4HjA==", + "version": "5.86.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.86.0.tgz", + "integrity": "sha512-3BOvworZ8SO/D4GVP+GoRC3fVeg5MO4vzmq8TJJEkdmopxyazGDxN8ClqN12uzrZW9Tv8EED8v5VSb6Sqyi0pg==", "requires": { "@types/eslint-scope": "^3.7.3", "@types/estree": "^1.0.0", diff --git a/package.json b/package.json index 9302df62d..d390b0f5b 100644 --- a/package.json +++ b/package.json @@ -41,15 +41,15 @@ "@types/mocha": "^10.0.1", "@types/node": "14", "@types/postcss-safe-parser": "^5.0.1", - "@types/react": "^18.2.8", - "@types/react-dom": "^18.2.4", + "@types/react": "^18.2.12", + "@types/react-dom": "^18.2.5", "@types/semver": "^7.5.0", "@types/validate-npm-package-name": "^4.0.0", "@types/yargs": "^17.0.24", - "@typescript-eslint/eslint-plugin": "^5.59.9", - "@typescript-eslint/parser": "^5.59.9", + "@typescript-eslint/eslint-plugin": "^5.59.11", + "@typescript-eslint/parser": "^5.59.11", "autoprefixer": "^10.4.14", - "c8": "^7.14.0", + "c8": "^8.0.0", "chai": "^4.3.7", "chai-subset": "^1.6.0", "create-listening-server": "^2.1.0", @@ -58,19 +58,19 @@ "eslint-plugin-react": "^7.32.2", "eslint-plugin-react-hooks": "^4.6.0", "file-loader": "^6.2.0", - "html-webpack-plugin": "^5.5.1", + "html-webpack-plugin": "^5.5.3", "mini-css-extract-plugin": "^2.7.6", "mocha": "^10.2.0", "node-eval": "^2.0.0", "npm-run-all": "^4.1.5", - "playwright-chromium": "^1.34.3", + "playwright-chromium": "^1.35.0", "postcss": "^8.4.24", "promise-assist": "^2.0.1", "raw-loader": "^4.0.2", "react": "^18.2.0", "react-dom": "^18.2.0", "rimraf": "^5.0.1", - "rollup": "^3.24.0", + "rollup": "^3.25.1", "source-map": "^0.7.4", "source-map-loader": "^4.0.1", "style-loader": "^3.3.3", @@ -78,7 +78,7 @@ "tsconfig-paths-webpack-plugin": "^4.0.1", "typescript": "~5.1.3", "url-loader": "^4.1.1", - "webpack": "^5.85.1", + "webpack": "^5.86.0", "yargs": "^17.7.2" }, "engines": { diff --git a/packages/code-formatter/package.json b/packages/code-formatter/package.json index 58acaee68..9839ad170 100644 --- a/packages/code-formatter/package.json +++ b/packages/code-formatter/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "@stylable/core": "^5.11.1", - "@tokey/css-value-parser": "^0.1.2", + "@tokey/css-value-parser": "^0.1.3", "js-beautify": "^1.14.8", "postcss": "^8.4.24" }, diff --git a/packages/core/package.json b/packages/core/package.json index 66307a864..d9fa84e03 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -15,7 +15,7 @@ "balanced-match": "^2.0.0", "css-selector-tokenizer": "^0.8.0", "cssesc": "^3.0.0", - "enhanced-resolve": "^5.14.1", + "enhanced-resolve": "^5.15.0", "is-vendor-prefixed": "^4.0.0", "lodash.clonedeep": "^4.5.0", "lodash.clonedeepwith": "^4.5.0", diff --git a/packages/e2e-test-kit/package.json b/packages/e2e-test-kit/package.json index 4e5b54ef5..e73097688 100644 --- a/packages/e2e-test-kit/package.json +++ b/packages/e2e-test-kit/package.json @@ -9,7 +9,7 @@ "dependencies": { "@stylable/runtime": "^5.11.1", "node-eval": "^2.0.0", - "playwright-core": "^1.34.3", + "playwright-core": "^1.35.0", "rimraf": "^5.0.1" }, "files": [ diff --git a/packages/e2e-test-kit/src/project-runner.ts b/packages/e2e-test-kit/src/project-runner.ts index d6902f727..dbda3953c 100644 --- a/packages/e2e-test-kit/src/project-runner.ts +++ b/packages/e2e-test-kit/src/project-runner.ts @@ -289,7 +289,9 @@ export class ProjectRunner { names.push(module.identifier().split(/[\\/]/).slice(-2).join('/')); } } - chunkByName[chunk.name] = names; + if (chunk.name) { + chunkByName[chunk.name] = names; + } }); return chunkByName; } diff --git a/packages/eslint-plugin-stylable/package.json b/packages/eslint-plugin-stylable/package.json index d670eb546..196781482 100644 --- a/packages/eslint-plugin-stylable/package.json +++ b/packages/eslint-plugin-stylable/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "@stylable/core": "^5.11.1", - "@typescript-eslint/experimental-utils": "^5.59.9" + "@typescript-eslint/experimental-utils": "^5.59.11" }, "keywords": [ "eslint", diff --git a/packages/language-service/package.json b/packages/language-service/package.json index 2ac2ba724..b4c48afcb 100644 --- a/packages/language-service/package.json +++ b/packages/language-service/package.json @@ -17,7 +17,7 @@ "@stylable/core": "^5.11.1", "@tokey/core": "^1.3.0", "@tokey/css-selector-parser": "^0.6.1", - "@tokey/css-value-parser": "^0.1.2", + "@tokey/css-value-parser": "^0.1.3", "css-selector-tokenizer": "^0.8.0", "postcss": "^8.4.24", "postcss-value-parser": "^4.2.0", From 52af4f07e08a92e60ff75929776ff9c64bcd3308 Mon Sep 17 00:00:00 2001 From: barak igal Date: Wed, 14 Jun 2023 10:12:22 +0300 Subject: [PATCH 19/81] refactor: avoid calling stat manually on each entry (#2568) --- packages/node/src/find-files.ts | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/packages/node/src/find-files.ts b/packages/node/src/find-files.ts index 7994e1c9f..5de3e3a4a 100644 --- a/packages/node/src/find-files.ts +++ b/packages/node/src/find-files.ts @@ -17,16 +17,15 @@ export function findFiles( while (folders.length) { const current = folders.pop()!; try { - fs.readdirSync(current).forEach((item: string) => { - if (blacklist.has(item)) { + fs.readdirSync(current, { withFileTypes: true }).forEach((item) => { + if (blacklist.has(item.name)) { return; } - const itemFullPath = join(current, item); + const itemFullPath = join(current, item.name); try { - const status = fs.statSync(itemFullPath); - if (status.isDirectory()) { + if (item.isDirectory()) { folders.push(itemFullPath); - } else if (status.isFile() && itemFullPath.endsWith(ext)) { + } else if (item.isFile() && itemFullPath.endsWith(ext)) { result.add( useRelative ? relative(rootDirectory, itemFullPath) : itemFullPath ); From 96fdcab3437f2bd55b452d8ca15dbeb1e546011c Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Wed, 14 Jun 2023 10:43:01 +0300 Subject: [PATCH 20/81] v5.12.0 --- package-lock.json | 250 +++++++++---------- packages/build-tools/package.json | 4 +- packages/cli/package.json | 14 +- packages/code-formatter/package.json | 4 +- packages/core-test-kit/package.json | 4 +- packages/core/package.json | 2 +- packages/create-stylable-app/package.json | 2 +- packages/custom-value/package.json | 4 +- packages/dom-test-kit/package.json | 6 +- packages/e2e-test-kit/package.json | 4 +- packages/esbuild/package.json | 16 +- packages/eslint-plugin-stylable/package.json | 4 +- packages/experimental-loader/package.json | 6 +- packages/jest/package.json | 10 +- packages/language-service/package.json | 6 +- packages/module-utils/package.json | 4 +- packages/node/package.json | 8 +- packages/optimizer/package.json | 4 +- packages/rollup-plugin/package.json | 14 +- packages/runtime/package.json | 2 +- packages/schema-extract/package.json | 4 +- packages/uni-driver/package.json | 2 +- packages/webpack-extensions/package.json | 8 +- packages/webpack-plugin/package.json | 16 +- 24 files changed, 199 insertions(+), 199 deletions(-) diff --git a/package-lock.json b/package-lock.json index 51edec04c..b484052ab 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6855,10 +6855,10 @@ }, "packages/build-tools": { "name": "@stylable/build-tools", - "version": "5.11.1", + "version": "5.12.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.11.1", + "@stylable/core": "^5.12.0", "find-config": "^1.0.0" }, "engines": { @@ -6867,17 +6867,17 @@ }, "packages/cli": { "name": "@stylable/cli", - "version": "5.11.1", + "version": "5.12.0", "license": "MIT", "dependencies": { "@file-services/node": "^7.3.0", "@file-services/types": "^7.3.0", - "@stylable/build-tools": "^5.11.1", - "@stylable/code-formatter": "^5.11.1", - "@stylable/core": "^5.11.1", - "@stylable/module-utils": "^5.11.1", - "@stylable/node": "^5.11.1", - "@stylable/optimizer": "^5.11.1", + "@stylable/build-tools": "^5.12.0", + "@stylable/code-formatter": "^5.12.0", + "@stylable/core": "^5.12.0", + "@stylable/module-utils": "^5.12.0", + "@stylable/node": "^5.12.0", + "@stylable/optimizer": "^5.12.0", "@wixc3/resolve-directory-context": "^3.0.5", "decache": "^4.6.1", "lodash.camelcase": "^4.3.0", @@ -6907,10 +6907,10 @@ }, "packages/code-formatter": { "name": "@stylable/code-formatter", - "version": "5.11.1", + "version": "5.12.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.11.1", + "@stylable/core": "^5.12.0", "@tokey/css-value-parser": "^0.1.3", "js-beautify": "^1.14.8", "postcss": "^8.4.24" @@ -6921,7 +6921,7 @@ }, "packages/core": { "name": "@stylable/core", - "version": "5.11.1", + "version": "5.12.0", "license": "MIT", "dependencies": { "@tokey/css-selector-parser": "^0.6.1", @@ -6945,11 +6945,11 @@ }, "packages/core-test-kit": { "name": "@stylable/core-test-kit", - "version": "5.11.1", + "version": "5.12.0", "license": "MIT", "dependencies": { "@file-services/memory": "^7.3.0", - "@stylable/core": "^5.11.1", + "@stylable/core": "^5.12.0", "chai": "^4.3.7", "flat": "^5.0.2", "postcss": "^8.4.24" @@ -6964,7 +6964,7 @@ "integrity": "sha512-1ugUSr8BHXRnK23KfuYS+gVMC3LB8QGH9W1iGtDPsNWoQbgtXSExkBu2aDR4epiGWZOjZsj6lDl/N/AqqTC3UA==" }, "packages/create-stylable-app": { - "version": "5.11.1", + "version": "5.12.0", "license": "MIT", "dependencies": { "validate-npm-package-name": "^5.0.0", @@ -6979,10 +6979,10 @@ }, "packages/custom-value": { "name": "@stylable/custom-value", - "version": "5.11.1", + "version": "5.12.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.11.1" + "@stylable/core": "^5.12.0" }, "engines": { "node": ">=14.14.0" @@ -6990,11 +6990,11 @@ }, "packages/dom-test-kit": { "name": "@stylable/dom-test-kit", - "version": "5.11.1", + "version": "5.12.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.11.1", - "@stylable/runtime": "^5.11.1", + "@stylable/core": "^5.12.0", + "@stylable/runtime": "^5.12.0", "@tokey/css-selector-parser": "^0.6.1" }, "engines": { @@ -7003,10 +7003,10 @@ }, "packages/e2e-test-kit": { "name": "@stylable/e2e-test-kit", - "version": "5.11.1", + "version": "5.12.0", "license": "MIT", "dependencies": { - "@stylable/runtime": "^5.11.1", + "@stylable/runtime": "^5.12.0", "node-eval": "^2.0.0", "playwright-core": "^1.35.0", "rimraf": "^5.0.1" @@ -7020,16 +7020,16 @@ }, "packages/esbuild": { "name": "@stylable/esbuild", - "version": "5.11.1", + "version": "5.12.0", "license": "MIT", "dependencies": { - "@stylable/build-tools": "^5.11.1", - "@stylable/cli": "^5.11.1", - "@stylable/core": "^5.11.1", - "@stylable/module-utils": "^5.11.1", - "@stylable/node": "^5.11.1", - "@stylable/optimizer": "^5.11.1", - "@stylable/runtime": "^5.11.1", + "@stylable/build-tools": "^5.12.0", + "@stylable/cli": "^5.12.0", + "@stylable/core": "^5.12.0", + "@stylable/module-utils": "^5.12.0", + "@stylable/node": "^5.12.0", + "@stylable/optimizer": "^5.12.0", + "@stylable/runtime": "^5.12.0", "decache": "^4.6.1" }, "engines": { @@ -7040,20 +7040,20 @@ } }, "packages/eslint-plugin-stylable": { - "version": "5.11.1", + "version": "5.12.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.11.1", + "@stylable/core": "^5.12.0", "@typescript-eslint/experimental-utils": "^5.59.11" } }, "packages/experimental-loader": { "name": "@stylable/experimental-loader", - "version": "5.11.1", + "version": "5.12.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.11.1", - "@stylable/runtime": "^5.11.1", + "@stylable/core": "^5.12.0", + "@stylable/runtime": "^5.12.0", "css-loader": "^6.8.1", "decache": "^4.6.1", "loader-utils": "^3.2.1" @@ -7069,13 +7069,13 @@ }, "packages/jest": { "name": "@stylable/jest", - "version": "5.11.1", + "version": "5.12.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.11.1", - "@stylable/module-utils": "^5.11.1", - "@stylable/node": "^5.11.1", - "@stylable/runtime": "^5.11.1" + "@stylable/core": "^5.12.0", + "@stylable/module-utils": "^5.12.0", + "@stylable/node": "^5.12.0", + "@stylable/runtime": "^5.12.0" }, "engines": { "node": ">=14.14.0" @@ -7083,13 +7083,13 @@ }, "packages/language-service": { "name": "@stylable/language-service", - "version": "5.11.1", + "version": "5.12.0", "license": "MIT", "dependencies": { "@file-services/types": "^7.3.0", "@file-services/typescript": "^7.3.0", - "@stylable/code-formatter": "^5.11.1", - "@stylable/core": "^5.11.1", + "@stylable/code-formatter": "^5.12.0", + "@stylable/core": "^5.12.0", "@tokey/core": "^1.3.0", "@tokey/css-selector-parser": "^0.6.1", "@tokey/css-value-parser": "^0.1.3", @@ -7110,10 +7110,10 @@ }, "packages/module-utils": { "name": "@stylable/module-utils", - "version": "5.11.1", + "version": "5.12.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.11.1", + "@stylable/core": "^5.12.0", "@tokey/core": "^1.3.0", "vlq": "^2.0.4" }, @@ -7123,12 +7123,12 @@ }, "packages/node": { "name": "@stylable/node", - "version": "5.11.1", + "version": "5.12.0", "license": "MIT", "dependencies": { - "@stylable/build-tools": "^5.11.1", - "@stylable/core": "^5.11.1", - "@stylable/module-utils": "^5.11.1", + "@stylable/build-tools": "^5.12.0", + "@stylable/core": "^5.12.0", + "@stylable/module-utils": "^5.12.0", "find-config": "^1.0.0" }, "engines": { @@ -7137,10 +7137,10 @@ }, "packages/optimizer": { "name": "@stylable/optimizer", - "version": "5.11.1", + "version": "5.12.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.11.1", + "@stylable/core": "^5.12.0", "@tokey/css-selector-parser": "^0.6.1", "csso": "^5.0.5", "postcss": "^8.4.24" @@ -7151,15 +7151,15 @@ }, "packages/rollup-plugin": { "name": "@stylable/rollup-plugin", - "version": "5.11.1", + "version": "5.12.0", "license": "MIT", "dependencies": { - "@stylable/build-tools": "^5.11.1", - "@stylable/cli": "^5.11.1", - "@stylable/core": "^5.11.1", - "@stylable/node": "^5.11.1", - "@stylable/optimizer": "^5.11.1", - "@stylable/runtime": "^5.11.1", + "@stylable/build-tools": "^5.12.0", + "@stylable/cli": "^5.12.0", + "@stylable/core": "^5.12.0", + "@stylable/node": "^5.12.0", + "@stylable/optimizer": "^5.12.0", + "@stylable/runtime": "^5.12.0", "decache": "^4.6.1", "mime": "^3.0.0" }, @@ -7183,7 +7183,7 @@ }, "packages/runtime": { "name": "@stylable/runtime", - "version": "5.11.1", + "version": "5.12.0", "license": "MIT", "engines": { "node": ">=14.14.0" @@ -7191,10 +7191,10 @@ }, "packages/schema-extract": { "name": "@stylable/schema-extract", - "version": "5.11.1", + "version": "5.12.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.11.1", + "@stylable/core": "^5.12.0", "jest-docblock": "^29.4.3" }, "engines": { @@ -7203,7 +7203,7 @@ }, "packages/uni-driver": { "name": "@stylable/uni-driver", - "version": "5.11.1", + "version": "5.12.0", "license": "MIT", "engines": { "node": ">=14.14.0" @@ -7211,12 +7211,12 @@ }, "packages/webpack-extensions": { "name": "@stylable/webpack-extensions", - "version": "5.11.1", + "version": "5.12.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.11.1", - "@stylable/node": "^5.11.1", - "@stylable/webpack-plugin": "^5.11.1", + "@stylable/core": "^5.12.0", + "@stylable/node": "^5.12.0", + "@stylable/webpack-plugin": "^5.12.0", "@tokey/css-selector-parser": "^0.6.1", "find-config": "^1.0.0", "lodash.clonedeep": "^4.5.0" @@ -7230,16 +7230,16 @@ }, "packages/webpack-plugin": { "name": "@stylable/webpack-plugin", - "version": "5.11.1", + "version": "5.12.0", "license": "MIT", "dependencies": { - "@stylable/build-tools": "^5.11.1", - "@stylable/cli": "^5.11.1", - "@stylable/core": "^5.11.1", - "@stylable/module-utils": "^5.11.1", - "@stylable/node": "^5.11.1", - "@stylable/optimizer": "^5.11.1", - "@stylable/runtime": "^5.11.1", + "@stylable/build-tools": "^5.12.0", + "@stylable/cli": "^5.12.0", + "@stylable/core": "^5.12.0", + "@stylable/module-utils": "^5.12.0", + "@stylable/node": "^5.12.0", + "@stylable/optimizer": "^5.12.0", + "@stylable/runtime": "^5.12.0", "decache": "^4.6.1", "lodash.clonedeep": "^4.5.0", "postcss": "^8.4.24" @@ -7686,7 +7686,7 @@ "@stylable/build-tools": { "version": "file:packages/build-tools", "requires": { - "@stylable/core": "^5.11.1", + "@stylable/core": "^5.12.0", "find-config": "^1.0.0" } }, @@ -7695,12 +7695,12 @@ "requires": { "@file-services/node": "^7.3.0", "@file-services/types": "^7.3.0", - "@stylable/build-tools": "^5.11.1", - "@stylable/code-formatter": "^5.11.1", - "@stylable/core": "^5.11.1", - "@stylable/module-utils": "^5.11.1", - "@stylable/node": "^5.11.1", - "@stylable/optimizer": "^5.11.1", + "@stylable/build-tools": "^5.12.0", + "@stylable/code-formatter": "^5.12.0", + "@stylable/core": "^5.12.0", + "@stylable/module-utils": "^5.12.0", + "@stylable/node": "^5.12.0", + "@stylable/optimizer": "^5.12.0", "@wixc3/resolve-directory-context": "^3.0.5", "decache": "^4.6.1", "lodash.camelcase": "^4.3.0", @@ -7719,7 +7719,7 @@ "@stylable/code-formatter": { "version": "file:packages/code-formatter", "requires": { - "@stylable/core": "^5.11.1", + "@stylable/core": "^5.12.0", "@tokey/css-value-parser": "^0.1.3", "js-beautify": "^1.14.8", "postcss": "^8.4.24" @@ -7755,7 +7755,7 @@ "version": "file:packages/core-test-kit", "requires": { "@file-services/memory": "^7.3.0", - "@stylable/core": "^5.11.1", + "@stylable/core": "^5.12.0", "chai": "^4.3.7", "flat": "^5.0.2", "postcss": "^8.4.24" @@ -7764,21 +7764,21 @@ "@stylable/custom-value": { "version": "file:packages/custom-value", "requires": { - "@stylable/core": "^5.11.1" + "@stylable/core": "^5.12.0" } }, "@stylable/dom-test-kit": { "version": "file:packages/dom-test-kit", "requires": { - "@stylable/core": "^5.11.1", - "@stylable/runtime": "^5.11.1", + "@stylable/core": "^5.12.0", + "@stylable/runtime": "^5.12.0", "@tokey/css-selector-parser": "^0.6.1" } }, "@stylable/e2e-test-kit": { "version": "file:packages/e2e-test-kit", "requires": { - "@stylable/runtime": "^5.11.1", + "@stylable/runtime": "^5.12.0", "node-eval": "^2.0.0", "playwright-core": "^1.35.0", "rimraf": "^5.0.1" @@ -7787,21 +7787,21 @@ "@stylable/esbuild": { "version": "file:packages/esbuild", "requires": { - "@stylable/build-tools": "^5.11.1", - "@stylable/cli": "^5.11.1", - "@stylable/core": "^5.11.1", - "@stylable/module-utils": "^5.11.1", - "@stylable/node": "^5.11.1", - "@stylable/optimizer": "^5.11.1", - "@stylable/runtime": "^5.11.1", + "@stylable/build-tools": "^5.12.0", + "@stylable/cli": "^5.12.0", + "@stylable/core": "^5.12.0", + "@stylable/module-utils": "^5.12.0", + "@stylable/node": "^5.12.0", + "@stylable/optimizer": "^5.12.0", + "@stylable/runtime": "^5.12.0", "decache": "^4.6.1" } }, "@stylable/experimental-loader": { "version": "file:packages/experimental-loader", "requires": { - "@stylable/core": "^5.11.1", - "@stylable/runtime": "^5.11.1", + "@stylable/core": "^5.12.0", + "@stylable/runtime": "^5.12.0", "css-loader": "^6.8.1", "decache": "^4.6.1", "loader-utils": "^3.2.1" @@ -7817,10 +7817,10 @@ "@stylable/jest": { "version": "file:packages/jest", "requires": { - "@stylable/core": "^5.11.1", - "@stylable/module-utils": "^5.11.1", - "@stylable/node": "^5.11.1", - "@stylable/runtime": "^5.11.1" + "@stylable/core": "^5.12.0", + "@stylable/module-utils": "^5.12.0", + "@stylable/node": "^5.12.0", + "@stylable/runtime": "^5.12.0" } }, "@stylable/language-service": { @@ -7828,8 +7828,8 @@ "requires": { "@file-services/types": "^7.3.0", "@file-services/typescript": "^7.3.0", - "@stylable/code-formatter": "^5.11.1", - "@stylable/core": "^5.11.1", + "@stylable/code-formatter": "^5.12.0", + "@stylable/core": "^5.12.0", "@tokey/core": "^1.3.0", "@tokey/css-selector-parser": "^0.6.1", "@tokey/css-value-parser": "^0.1.3", @@ -7845,7 +7845,7 @@ "@stylable/module-utils": { "version": "file:packages/module-utils", "requires": { - "@stylable/core": "^5.11.1", + "@stylable/core": "^5.12.0", "@tokey/core": "^1.3.0", "vlq": "^2.0.4" } @@ -7853,16 +7853,16 @@ "@stylable/node": { "version": "file:packages/node", "requires": { - "@stylable/build-tools": "^5.11.1", - "@stylable/core": "^5.11.1", - "@stylable/module-utils": "^5.11.1", + "@stylable/build-tools": "^5.12.0", + "@stylable/core": "^5.12.0", + "@stylable/module-utils": "^5.12.0", "find-config": "^1.0.0" } }, "@stylable/optimizer": { "version": "file:packages/optimizer", "requires": { - "@stylable/core": "^5.11.1", + "@stylable/core": "^5.12.0", "@tokey/css-selector-parser": "^0.6.1", "csso": "^5.0.5", "postcss": "^8.4.24" @@ -7871,12 +7871,12 @@ "@stylable/rollup-plugin": { "version": "file:packages/rollup-plugin", "requires": { - "@stylable/build-tools": "^5.11.1", - "@stylable/cli": "^5.11.1", - "@stylable/core": "^5.11.1", - "@stylable/node": "^5.11.1", - "@stylable/optimizer": "^5.11.1", - "@stylable/runtime": "^5.11.1", + "@stylable/build-tools": "^5.12.0", + "@stylable/cli": "^5.12.0", + "@stylable/core": "^5.12.0", + "@stylable/node": "^5.12.0", + "@stylable/optimizer": "^5.12.0", + "@stylable/runtime": "^5.12.0", "decache": "^4.6.1", "mime": "^3.0.0" }, @@ -7894,7 +7894,7 @@ "@stylable/schema-extract": { "version": "file:packages/schema-extract", "requires": { - "@stylable/core": "^5.11.1", + "@stylable/core": "^5.12.0", "jest-docblock": "^29.4.3" } }, @@ -7904,9 +7904,9 @@ "@stylable/webpack-extensions": { "version": "file:packages/webpack-extensions", "requires": { - "@stylable/core": "^5.11.1", - "@stylable/node": "^5.11.1", - "@stylable/webpack-plugin": "^5.11.1", + "@stylable/core": "^5.12.0", + "@stylable/node": "^5.12.0", + "@stylable/webpack-plugin": "^5.12.0", "@tokey/css-selector-parser": "^0.6.1", "find-config": "^1.0.0", "lodash.clonedeep": "^4.5.0" @@ -7915,13 +7915,13 @@ "@stylable/webpack-plugin": { "version": "file:packages/webpack-plugin", "requires": { - "@stylable/build-tools": "^5.11.1", - "@stylable/cli": "^5.11.1", - "@stylable/core": "^5.11.1", - "@stylable/module-utils": "^5.11.1", - "@stylable/node": "^5.11.1", - "@stylable/optimizer": "^5.11.1", - "@stylable/runtime": "^5.11.1", + "@stylable/build-tools": "^5.12.0", + "@stylable/cli": "^5.12.0", + "@stylable/core": "^5.12.0", + "@stylable/module-utils": "^5.12.0", + "@stylable/node": "^5.12.0", + "@stylable/optimizer": "^5.12.0", + "@stylable/runtime": "^5.12.0", "decache": "^4.6.1", "lodash.clonedeep": "^4.5.0", "postcss": "^8.4.24" @@ -9502,7 +9502,7 @@ "eslint-plugin-stylable": { "version": "file:packages/eslint-plugin-stylable", "requires": { - "@stylable/core": "^5.11.1", + "@stylable/core": "^5.12.0", "@typescript-eslint/experimental-utils": "^5.59.11" } }, diff --git a/packages/build-tools/package.json b/packages/build-tools/package.json index ffd86e2c4..3e9716da3 100644 --- a/packages/build-tools/package.json +++ b/packages/build-tools/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/build-tools", - "version": "5.11.1", + "version": "5.12.0", "description": "Collection of helper functions for Stylable based tooling.", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 20000" }, "dependencies": { - "@stylable/core": "^5.11.1", + "@stylable/core": "^5.12.0", "find-config": "^1.0.0" }, "files": [ diff --git a/packages/cli/package.json b/packages/cli/package.json index 11a848646..9f148d9c0 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/cli", - "version": "5.11.1", + "version": "5.12.0", "description": "A low-level utility used for working with Stylable projects", "main": "dist/index.js", "bin": { @@ -14,12 +14,12 @@ "dependencies": { "@file-services/node": "^7.3.0", "@file-services/types": "^7.3.0", - "@stylable/build-tools": "^5.11.1", - "@stylable/code-formatter": "^5.11.1", - "@stylable/core": "^5.11.1", - "@stylable/module-utils": "^5.11.1", - "@stylable/node": "^5.11.1", - "@stylable/optimizer": "^5.11.1", + "@stylable/build-tools": "^5.12.0", + "@stylable/code-formatter": "^5.12.0", + "@stylable/core": "^5.12.0", + "@stylable/module-utils": "^5.12.0", + "@stylable/node": "^5.12.0", + "@stylable/optimizer": "^5.12.0", "@wixc3/resolve-directory-context": "^3.0.5", "decache": "^4.6.1", "lodash.camelcase": "^4.3.0", diff --git a/packages/code-formatter/package.json b/packages/code-formatter/package.json index 9839ad170..7cdb7810b 100644 --- a/packages/code-formatter/package.json +++ b/packages/code-formatter/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/code-formatter", - "version": "5.11.1", + "version": "5.12.0", "description": "A code formatting utility for Stylable stylesheets", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.11.1", + "@stylable/core": "^5.12.0", "@tokey/css-value-parser": "^0.1.3", "js-beautify": "^1.14.8", "postcss": "^8.4.24" diff --git a/packages/core-test-kit/package.json b/packages/core-test-kit/package.json index 63046f8f1..f631ca987 100644 --- a/packages/core-test-kit/package.json +++ b/packages/core-test-kit/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/core-test-kit", - "version": "5.11.1", + "version": "5.12.0", "description": "Stylable core test-kit", "main": "dist/index.js", "scripts": { @@ -8,7 +8,7 @@ }, "dependencies": { "@file-services/memory": "^7.3.0", - "@stylable/core": "^5.11.1", + "@stylable/core": "^5.12.0", "chai": "^4.3.7", "flat": "^5.0.2", "postcss": "^8.4.24" diff --git a/packages/core/package.json b/packages/core/package.json index d9fa84e03..0629529a4 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/core", - "version": "5.11.1", + "version": "5.12.0", "description": "CSS for Components", "main": "dist/index.js", "scripts": { diff --git a/packages/create-stylable-app/package.json b/packages/create-stylable-app/package.json index 4310fed30..5192049d5 100644 --- a/packages/create-stylable-app/package.json +++ b/packages/create-stylable-app/package.json @@ -1,6 +1,6 @@ { "name": "create-stylable-app", - "version": "5.11.1", + "version": "5.12.0", "description": "Quickly create a Stylable application", "main": "dist/index.js", "bin": { diff --git a/packages/custom-value/package.json b/packages/custom-value/package.json index b35846a44..bcd3f44fb 100644 --- a/packages/custom-value/package.json +++ b/packages/custom-value/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/custom-value", - "version": "5.11.1", + "version": "5.12.0", "description": "Custom values (variables) for Stylable", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 20000" }, "dependencies": { - "@stylable/core": "^5.11.1" + "@stylable/core": "^5.12.0" }, "files": [ "dist", diff --git a/packages/dom-test-kit/package.json b/packages/dom-test-kit/package.json index be1e61416..6aaa7ce7c 100644 --- a/packages/dom-test-kit/package.json +++ b/packages/dom-test-kit/package.json @@ -1,14 +1,14 @@ { "name": "@stylable/dom-test-kit", - "version": "5.11.1", + "version": "5.12.0", "description": "Stylable DOM testing utilities", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.11.1", - "@stylable/runtime": "^5.11.1", + "@stylable/core": "^5.12.0", + "@stylable/runtime": "^5.12.0", "@tokey/css-selector-parser": "^0.6.1" }, "files": [ diff --git a/packages/e2e-test-kit/package.json b/packages/e2e-test-kit/package.json index e73097688..cb8721783 100644 --- a/packages/e2e-test-kit/package.json +++ b/packages/e2e-test-kit/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/e2e-test-kit", - "version": "5.11.1", + "version": "5.12.0", "description": "A collection of tools to help test Stylable components and applications from end-to-end", "main": "dist/index.js", "peerDependencies": { "webpack": "^5.30.0" }, "dependencies": { - "@stylable/runtime": "^5.11.1", + "@stylable/runtime": "^5.12.0", "node-eval": "^2.0.0", "playwright-core": "^1.35.0", "rimraf": "^5.0.1" diff --git a/packages/esbuild/package.json b/packages/esbuild/package.json index c1e1b2bdc..0a92b31b7 100644 --- a/packages/esbuild/package.json +++ b/packages/esbuild/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/esbuild", - "version": "5.11.1", + "version": "5.12.0", "description": "Stylable plugin for esbuild", "main": "dist/index.js", "scripts": { @@ -10,13 +10,13 @@ "esbuild": "^0.17.18" }, "dependencies": { - "@stylable/build-tools": "^5.11.1", - "@stylable/cli": "^5.11.1", - "@stylable/core": "^5.11.1", - "@stylable/module-utils": "^5.11.1", - "@stylable/node": "^5.11.1", - "@stylable/optimizer": "^5.11.1", - "@stylable/runtime": "^5.11.1", + "@stylable/build-tools": "^5.12.0", + "@stylable/cli": "^5.12.0", + "@stylable/core": "^5.12.0", + "@stylable/module-utils": "^5.12.0", + "@stylable/node": "^5.12.0", + "@stylable/optimizer": "^5.12.0", + "@stylable/runtime": "^5.12.0", "decache": "^4.6.1" }, "files": [ diff --git a/packages/eslint-plugin-stylable/package.json b/packages/eslint-plugin-stylable/package.json index 196781482..b18a9712e 100644 --- a/packages/eslint-plugin-stylable/package.json +++ b/packages/eslint-plugin-stylable/package.json @@ -1,13 +1,13 @@ { "name": "eslint-plugin-stylable", - "version": "5.11.1", + "version": "5.12.0", "description": "eslint plugin for Stylable usages", "main": "dist/index.js", "scripts": { "test": "mocha \"dist/test/**/*.spec.js\" --timeout 5000" }, "dependencies": { - "@stylable/core": "^5.11.1", + "@stylable/core": "^5.12.0", "@typescript-eslint/experimental-utils": "^5.59.11" }, "keywords": [ diff --git a/packages/experimental-loader/package.json b/packages/experimental-loader/package.json index 863d5c4cc..95f6ebbad 100644 --- a/packages/experimental-loader/package.json +++ b/packages/experimental-loader/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/experimental-loader", - "version": "5.11.1", + "version": "5.12.0", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 20000" }, "dependencies": { - "@stylable/core": "^5.11.1", - "@stylable/runtime": "^5.11.1", + "@stylable/core": "^5.12.0", + "@stylable/runtime": "^5.12.0", "css-loader": "^6.8.1", "decache": "^4.6.1", "loader-utils": "^3.2.1" diff --git a/packages/jest/package.json b/packages/jest/package.json index b66371007..cf141326b 100644 --- a/packages/jest/package.json +++ b/packages/jest/package.json @@ -1,16 +1,16 @@ { "name": "@stylable/jest", - "version": "5.11.1", + "version": "5.12.0", "description": "Test your Stylable React components using Jest", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.11.1", - "@stylable/module-utils": "^5.11.1", - "@stylable/node": "^5.11.1", - "@stylable/runtime": "^5.11.1" + "@stylable/core": "^5.12.0", + "@stylable/module-utils": "^5.12.0", + "@stylable/node": "^5.12.0", + "@stylable/runtime": "^5.12.0" }, "files": [ "dist", diff --git a/packages/language-service/package.json b/packages/language-service/package.json index b4c48afcb..c86f5df98 100644 --- a/packages/language-service/package.json +++ b/packages/language-service/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/language-service", - "version": "5.11.1", + "version": "5.12.0", "description": "Stylable Language Services - syntax highlighting, completions, hinting and more for the Stylable CSS preprocessor.", "main": "dist/index.js", "scripts": { @@ -13,8 +13,8 @@ "dependencies": { "@file-services/types": "^7.3.0", "@file-services/typescript": "^7.3.0", - "@stylable/code-formatter": "^5.11.1", - "@stylable/core": "^5.11.1", + "@stylable/code-formatter": "^5.12.0", + "@stylable/core": "^5.12.0", "@tokey/core": "^1.3.0", "@tokey/css-selector-parser": "^0.6.1", "@tokey/css-value-parser": "^0.1.3", diff --git a/packages/module-utils/package.json b/packages/module-utils/package.json index 5f039326e..0e231d3f4 100644 --- a/packages/module-utils/package.json +++ b/packages/module-utils/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/module-utils", - "version": "5.11.1", + "version": "5.12.0", "description": "Stylable module creation utilities", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.11.1", + "@stylable/core": "^5.12.0", "@tokey/core": "^1.3.0", "vlq": "^2.0.4" }, diff --git a/packages/node/package.json b/packages/node/package.json index 73eaa8f71..739d9f426 100644 --- a/packages/node/package.json +++ b/packages/node/package.json @@ -1,15 +1,15 @@ { "name": "@stylable/node", - "version": "5.11.1", + "version": "5.12.0", "description": "Integrate Stylable into your node application", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 10000" }, "dependencies": { - "@stylable/build-tools": "^5.11.1", - "@stylable/core": "^5.11.1", - "@stylable/module-utils": "^5.11.1", + "@stylable/build-tools": "^5.12.0", + "@stylable/core": "^5.12.0", + "@stylable/module-utils": "^5.12.0", "find-config": "^1.0.0" }, "files": [ diff --git a/packages/optimizer/package.json b/packages/optimizer/package.json index fab4f7398..89038ef4e 100644 --- a/packages/optimizer/package.json +++ b/packages/optimizer/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/optimizer", - "version": "5.11.1", + "version": "5.12.0", "description": "Stylable core optimizer", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.11.1", + "@stylable/core": "^5.12.0", "@tokey/css-selector-parser": "^0.6.1", "csso": "^5.0.5", "postcss": "^8.4.24" diff --git a/packages/rollup-plugin/package.json b/packages/rollup-plugin/package.json index 76a49b23e..a4c71afe9 100644 --- a/packages/rollup-plugin/package.json +++ b/packages/rollup-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/rollup-plugin", - "version": "5.11.1", + "version": "5.12.0", "description": "Stylable plugin for Rollup", "main": "dist/index.js", "scripts": { @@ -10,12 +10,12 @@ "rollup": "^2.70.0 || ^3.0.0" }, "dependencies": { - "@stylable/build-tools": "^5.11.1", - "@stylable/cli": "^5.11.1", - "@stylable/core": "^5.11.1", - "@stylable/node": "^5.11.1", - "@stylable/optimizer": "^5.11.1", - "@stylable/runtime": "^5.11.1", + "@stylable/build-tools": "^5.12.0", + "@stylable/cli": "^5.12.0", + "@stylable/core": "^5.12.0", + "@stylable/node": "^5.12.0", + "@stylable/optimizer": "^5.12.0", + "@stylable/runtime": "^5.12.0", "decache": "^4.6.1", "mime": "^3.0.0" }, diff --git a/packages/runtime/package.json b/packages/runtime/package.json index 3ae3bba86..19640c9e6 100644 --- a/packages/runtime/package.json +++ b/packages/runtime/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/runtime", - "version": "5.11.1", + "version": "5.12.0", "description": "Stylable runtime DOM integration", "main": "dist/index.js", "scripts": { diff --git a/packages/schema-extract/package.json b/packages/schema-extract/package.json index 1ff8750b2..0400f71fa 100644 --- a/packages/schema-extract/package.json +++ b/packages/schema-extract/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/schema-extract", - "version": "5.11.1", + "version": "5.12.0", "description": "A utility for extracting JSON schema objects from a Stylable stylesheet", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.11.1", + "@stylable/core": "^5.12.0", "jest-docblock": "^29.4.3" }, "files": [ diff --git a/packages/uni-driver/package.json b/packages/uni-driver/package.json index 41e981825..242f3182d 100644 --- a/packages/uni-driver/package.json +++ b/packages/uni-driver/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/uni-driver", - "version": "5.11.1", + "version": "5.12.0", "description": "Stylable UniDriver testing utilities", "main": "dist/index.js", "scripts": { diff --git a/packages/webpack-extensions/package.json b/packages/webpack-extensions/package.json index 49ed419a8..52b6b2594 100644 --- a/packages/webpack-extensions/package.json +++ b/packages/webpack-extensions/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/webpack-extensions", - "version": "5.11.1", + "version": "5.12.0", "description": "Experimental Stylable webpack plugins", "main": "dist/index.js", "scripts": { @@ -10,9 +10,9 @@ "webpack": "^5.30.0" }, "dependencies": { - "@stylable/core": "^5.11.1", - "@stylable/node": "^5.11.1", - "@stylable/webpack-plugin": "^5.11.1", + "@stylable/core": "^5.12.0", + "@stylable/node": "^5.12.0", + "@stylable/webpack-plugin": "^5.12.0", "@tokey/css-selector-parser": "^0.6.1", "find-config": "^1.0.0", "lodash.clonedeep": "^4.5.0" diff --git a/packages/webpack-plugin/package.json b/packages/webpack-plugin/package.json index 440203ddd..caa20a80e 100644 --- a/packages/webpack-plugin/package.json +++ b/packages/webpack-plugin/package.json @@ -1,7 +1,7 @@ { "name": "@stylable/webpack-plugin", "description": "Webpack (5.x) plugin for Stylable modules", - "version": "5.11.1", + "version": "5.12.0", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 20000" @@ -10,13 +10,13 @@ "webpack": "^5.30.0" }, "dependencies": { - "@stylable/build-tools": "^5.11.1", - "@stylable/cli": "^5.11.1", - "@stylable/core": "^5.11.1", - "@stylable/module-utils": "^5.11.1", - "@stylable/node": "^5.11.1", - "@stylable/optimizer": "^5.11.1", - "@stylable/runtime": "^5.11.1", + "@stylable/build-tools": "^5.12.0", + "@stylable/cli": "^5.12.0", + "@stylable/core": "^5.12.0", + "@stylable/module-utils": "^5.12.0", + "@stylable/node": "^5.12.0", + "@stylable/optimizer": "^5.12.0", + "@stylable/runtime": "^5.12.0", "decache": "^4.6.1", "lodash.clonedeep": "^4.5.0", "postcss": "^8.4.24" From 12d71222924ec5e2f441fc0a2a06ddd6a0a6fefa Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Wed, 14 Jun 2023 12:52:55 +0300 Subject: [PATCH 21/81] chore(deps): upgrade tokey/core --- package-lock.json | 20 ++++++++++---------- packages/language-service/package.json | 2 +- packages/module-utils/package.json | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/package-lock.json b/package-lock.json index b484052ab..1a04dea10 100644 --- a/package-lock.json +++ b/package-lock.json @@ -912,9 +912,9 @@ "link": true }, "node_modules/@tokey/core": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@tokey/core/-/core-1.3.0.tgz", - "integrity": "sha512-qeJ181Jsp+fIGJRUlYPtIhm86WyRF8P7LiW0mJ2xCTWNmPHKHmY5a8Yzi0EXWTLGTA3HBFK/1pw/S83uatmWcQ==" + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@tokey/core/-/core-1.4.0.tgz", + "integrity": "sha512-U+xr5ue/iKQJsOP+rWNS0U6M9kUQn9L7bgsa7jnYQwSlHjyeZO4e4ngRmbcf/bfB0IpxWGAlhdpwgwI7vTFftg==" }, "node_modules/@tokey/css-selector-parser": { "version": "0.6.1", @@ -7090,7 +7090,7 @@ "@file-services/typescript": "^7.3.0", "@stylable/code-formatter": "^5.12.0", "@stylable/core": "^5.12.0", - "@tokey/core": "^1.3.0", + "@tokey/core": "^1.4.0", "@tokey/css-selector-parser": "^0.6.1", "@tokey/css-value-parser": "^0.1.3", "css-selector-tokenizer": "^0.8.0", @@ -7114,7 +7114,7 @@ "license": "MIT", "dependencies": { "@stylable/core": "^5.12.0", - "@tokey/core": "^1.3.0", + "@tokey/core": "^1.4.0", "vlq": "^2.0.4" }, "engines": { @@ -7830,7 +7830,7 @@ "@file-services/typescript": "^7.3.0", "@stylable/code-formatter": "^5.12.0", "@stylable/core": "^5.12.0", - "@tokey/core": "^1.3.0", + "@tokey/core": "^1.4.0", "@tokey/css-selector-parser": "^0.6.1", "@tokey/css-value-parser": "^0.1.3", "css-selector-tokenizer": "^0.8.0", @@ -7846,7 +7846,7 @@ "version": "file:packages/module-utils", "requires": { "@stylable/core": "^5.12.0", - "@tokey/core": "^1.3.0", + "@tokey/core": "^1.4.0", "vlq": "^2.0.4" } }, @@ -7928,9 +7928,9 @@ } }, "@tokey/core": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@tokey/core/-/core-1.3.0.tgz", - "integrity": "sha512-qeJ181Jsp+fIGJRUlYPtIhm86WyRF8P7LiW0mJ2xCTWNmPHKHmY5a8Yzi0EXWTLGTA3HBFK/1pw/S83uatmWcQ==" + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@tokey/core/-/core-1.4.0.tgz", + "integrity": "sha512-U+xr5ue/iKQJsOP+rWNS0U6M9kUQn9L7bgsa7jnYQwSlHjyeZO4e4ngRmbcf/bfB0IpxWGAlhdpwgwI7vTFftg==" }, "@tokey/css-selector-parser": { "version": "0.6.1", diff --git a/packages/language-service/package.json b/packages/language-service/package.json index c86f5df98..cde19b21d 100644 --- a/packages/language-service/package.json +++ b/packages/language-service/package.json @@ -15,7 +15,7 @@ "@file-services/typescript": "^7.3.0", "@stylable/code-formatter": "^5.12.0", "@stylable/core": "^5.12.0", - "@tokey/core": "^1.3.0", + "@tokey/core": "^1.4.0", "@tokey/css-selector-parser": "^0.6.1", "@tokey/css-value-parser": "^0.1.3", "css-selector-tokenizer": "^0.8.0", diff --git a/packages/module-utils/package.json b/packages/module-utils/package.json index 0e231d3f4..449261514 100644 --- a/packages/module-utils/package.json +++ b/packages/module-utils/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "@stylable/core": "^5.12.0", - "@tokey/core": "^1.3.0", + "@tokey/core": "^1.4.0", "vlq": "^2.0.4" }, "files": [ From 2f27a24fb3daa13d04d50c334ed1fbf2a3cb21a3 Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Wed, 21 Jun 2023 09:15:17 +0300 Subject: [PATCH 22/81] chore(deps): upgrade to latest stable --- package-lock.json | 310 +++++++++--------- package.json | 14 +- packages/e2e-test-kit/package.json | 2 +- .../src/stylable-project-runner.ts | 2 +- packages/eslint-plugin-stylable/package.json | 2 +- .../webpack-plugin/src/mini-css-support.ts | 2 +- 6 files changed, 166 insertions(+), 166 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1a04dea10..86668bdef 100644 --- a/package-lock.json +++ b/package-lock.json @@ -34,19 +34,19 @@ "@types/mocha": "^10.0.1", "@types/node": "14", "@types/postcss-safe-parser": "^5.0.1", - "@types/react": "^18.2.12", - "@types/react-dom": "^18.2.5", + "@types/react": "^18.2.13", + "@types/react-dom": "^18.2.6", "@types/semver": "^7.5.0", "@types/validate-npm-package-name": "^4.0.0", "@types/yargs": "^17.0.24", - "@typescript-eslint/eslint-plugin": "^5.59.11", - "@typescript-eslint/parser": "^5.59.11", + "@typescript-eslint/eslint-plugin": "^5.60.0", + "@typescript-eslint/parser": "^5.60.0", "autoprefixer": "^10.4.14", "c8": "^8.0.0", "chai": "^4.3.7", "chai-subset": "^1.6.0", "create-listening-server": "^2.1.0", - "eslint": "^8.42.0", + "eslint": "^8.43.0", "eslint-config-prettier": "^8.8.0", "eslint-plugin-react": "^7.32.2", "eslint-plugin-react-hooks": "^4.6.0", @@ -56,7 +56,7 @@ "mocha": "^10.2.0", "node-eval": "^2.0.0", "npm-run-all": "^4.1.5", - "playwright-chromium": "^1.35.0", + "playwright-chromium": "^1.35.1", "postcss": "^8.4.24", "promise-assist": "^2.0.1", "raw-loader": "^4.0.2", @@ -71,7 +71,7 @@ "tsconfig-paths-webpack-plugin": "^4.0.1", "typescript": "~5.1.3", "url-loader": "^4.1.1", - "webpack": "^5.86.0", + "webpack": "^5.87.0", "yargs": "^17.7.2" }, "engines": { @@ -481,9 +481,9 @@ } }, "node_modules/@eslint/js": { - "version": "8.42.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.42.0.tgz", - "integrity": "sha512-6SWlXpWU5AvId8Ac7zjzmIOqMOba/JWY8XZ4A7q7Gn1Vlfg/SFFIlrtHXt9nPn4op9ZPAkl91Jao+QQv3r/ukw==", + "version": "8.43.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.43.0.tgz", + "integrity": "sha512-s2UHCoiXfxMvmfzqoN+vrQ84ahUSYde9qNO1MdxmoEhyHWsfmwOpFlwYV+ePJEVc7gFnATGUi376WowX1N7tFg==", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } @@ -1139,9 +1139,9 @@ "dev": true }, "node_modules/@types/react": { - "version": "18.2.12", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.12.tgz", - "integrity": "sha512-ndmBMLCgn38v3SntMeoJaIrO6tGHYKMEBohCUmw8HoLLQdRMOIGXfeYaBTLe2lsFaSB3MOK1VXscYFnmLtTSmw==", + "version": "18.2.13", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.13.tgz", + "integrity": "sha512-vJ+zElvi/Zn9cVXB5slX2xL8PZodPCwPRDpittQdw43JR2AJ5k3vKdgJJyneV/cYgIbLQUwXa9JVDvUZXGba+Q==", "dev": true, "dependencies": { "@types/prop-types": "*", @@ -1150,9 +1150,9 @@ } }, "node_modules/@types/react-dom": { - "version": "18.2.5", - "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.5.tgz", - "integrity": "sha512-sRQsOS/sCLnpQhR4DSKGTtWFE3FZjpQa86KPVbhUqdYMRZ9FEFcfAytKhR/vUG2rH1oFbOOej6cuD7MFSobDRQ==", + "version": "18.2.6", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.6.tgz", + "integrity": "sha512-2et4PDvg6PVCyS7fuTc4gPoksV58bW0RwSxWKcPRcHZf0PRUGq03TKcD/rUHe3azfV6/5/biUBJw+HhCQjaP0A==", "dev": true, "dependencies": { "@types/react": "*" @@ -1197,15 +1197,15 @@ "dev": true }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "5.59.11", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.59.11.tgz", - "integrity": "sha512-XxuOfTkCUiOSyBWIvHlUraLw/JT/6Io1365RO6ZuI88STKMavJZPNMU0lFcUTeQXEhHiv64CbxYxBNoDVSmghg==", + "version": "5.60.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.60.0.tgz", + "integrity": "sha512-78B+anHLF1TI8Jn/cD0Q00TBYdMgjdOn980JfAVa9yw5sop8nyTfVOQAv6LWywkOGLclDBtv5z3oxN4w7jxyNg==", "dev": true, "dependencies": { "@eslint-community/regexpp": "^4.4.0", - "@typescript-eslint/scope-manager": "5.59.11", - "@typescript-eslint/type-utils": "5.59.11", - "@typescript-eslint/utils": "5.59.11", + "@typescript-eslint/scope-manager": "5.60.0", + "@typescript-eslint/type-utils": "5.60.0", + "@typescript-eslint/utils": "5.60.0", "debug": "^4.3.4", "grapheme-splitter": "^1.0.4", "ignore": "^5.2.0", @@ -1231,11 +1231,11 @@ } }, "node_modules/@typescript-eslint/experimental-utils": { - "version": "5.59.11", - "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.59.11.tgz", - "integrity": "sha512-GkQGV0UF/V5Ra7gZMBmiD1WrYUFOJNvCZs+XQnUyJoxmqfWMXVNyB2NVCPRKefoQcpvTv9UpJyfCvsJFs8NzzQ==", + "version": "5.60.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.60.0.tgz", + "integrity": "sha512-ovid3u7CNBrr0Ct35LUPkNYH4e+z4Kc6dPfSG99oMmH9SfoEoefq09uSnJI4mUb/UM7a/peVM03G+MzLxrD16g==", "dependencies": { - "@typescript-eslint/utils": "5.59.11" + "@typescript-eslint/utils": "5.60.0" }, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -1249,14 +1249,14 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "5.59.11", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.59.11.tgz", - "integrity": "sha512-s9ZF3M+Nym6CAZEkJJeO2TFHHDsKAM3ecNkLuH4i4s8/RCPnF5JRip2GyviYkeEAcwGMJxkqG9h2dAsnA1nZpA==", + "version": "5.60.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.60.0.tgz", + "integrity": "sha512-jBONcBsDJ9UoTWrARkRRCgDz6wUggmH5RpQVlt7BimSwaTkTjwypGzKORXbR4/2Hqjk9hgwlon2rVQAjWNpkyQ==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "5.59.11", - "@typescript-eslint/types": "5.59.11", - "@typescript-eslint/typescript-estree": "5.59.11", + "@typescript-eslint/scope-manager": "5.60.0", + "@typescript-eslint/types": "5.60.0", + "@typescript-eslint/typescript-estree": "5.60.0", "debug": "^4.3.4" }, "engines": { @@ -1276,12 +1276,12 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "5.59.11", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.59.11.tgz", - "integrity": "sha512-dHFOsxoLFtrIcSj5h0QoBT/89hxQONwmn3FOQ0GOQcLOOXm+MIrS8zEAhs4tWl5MraxCY3ZJpaXQQdFMc2Tu+Q==", + "version": "5.60.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.60.0.tgz", + "integrity": "sha512-hakuzcxPwXi2ihf9WQu1BbRj1e/Pd8ZZwVTG9kfbxAMZstKz8/9OoexIwnmLzShtsdap5U/CoQGRCWlSuPbYxQ==", "dependencies": { - "@typescript-eslint/types": "5.59.11", - "@typescript-eslint/visitor-keys": "5.59.11" + "@typescript-eslint/types": "5.60.0", + "@typescript-eslint/visitor-keys": "5.60.0" }, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -1292,13 +1292,13 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "5.59.11", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.59.11.tgz", - "integrity": "sha512-LZqVY8hMiVRF2a7/swmkStMYSoXMFlzL6sXV6U/2gL5cwnLWQgLEG8tjWPpaE4rMIdZ6VKWwcffPlo1jPfk43g==", + "version": "5.60.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.60.0.tgz", + "integrity": "sha512-X7NsRQddORMYRFH7FWo6sA9Y/zbJ8s1x1RIAtnlj6YprbToTiQnM6vxcMu7iYhdunmoC0rUWlca13D5DVHkK2g==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "5.59.11", - "@typescript-eslint/utils": "5.59.11", + "@typescript-eslint/typescript-estree": "5.60.0", + "@typescript-eslint/utils": "5.60.0", "debug": "^4.3.4", "tsutils": "^3.21.0" }, @@ -1319,9 +1319,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "5.59.11", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.59.11.tgz", - "integrity": "sha512-epoN6R6tkvBYSc+cllrz+c2sOFWkbisJZWkOE+y3xHtvYaOE6Wk6B8e114McRJwFRjGvYdJwLXQH5c9osME/AA==", + "version": "5.60.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.60.0.tgz", + "integrity": "sha512-ascOuoCpNZBccFVNJRSC6rPq4EmJ2NkuoKnd6LDNyAQmdDnziAtxbCGWCbefG1CNzmDvd05zO36AmB7H8RzKPA==", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, @@ -1331,12 +1331,12 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "5.59.11", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.11.tgz", - "integrity": "sha512-YupOpot5hJO0maupJXixi6l5ETdrITxeo5eBOeuV7RSKgYdU3G5cxO49/9WRnJq9EMrB7AuTSLH/bqOsXi7wPA==", + "version": "5.60.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.60.0.tgz", + "integrity": "sha512-R43thAuwarC99SnvrBmh26tc7F6sPa2B3evkXp/8q954kYL6Ro56AwASYWtEEi+4j09GbiNAHqYwNNZuNlARGQ==", "dependencies": { - "@typescript-eslint/types": "5.59.11", - "@typescript-eslint/visitor-keys": "5.59.11", + "@typescript-eslint/types": "5.60.0", + "@typescript-eslint/visitor-keys": "5.60.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -1357,16 +1357,16 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "5.59.11", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.59.11.tgz", - "integrity": "sha512-didu2rHSOMUdJThLk4aZ1Or8IcO3HzCw/ZvEjTTIfjIrcdd5cvSIwwDy2AOlE7htSNp7QIZ10fLMyRCveesMLg==", + "version": "5.60.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.60.0.tgz", + "integrity": "sha512-ba51uMqDtfLQ5+xHtwlO84vkdjrqNzOnqrnwbMHMRY8Tqeme8C2Q8Fc7LajfGR+e3/4LoYiWXUM6BpIIbHJ4hQ==", "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@types/json-schema": "^7.0.9", "@types/semver": "^7.3.12", - "@typescript-eslint/scope-manager": "5.59.11", - "@typescript-eslint/types": "5.59.11", - "@typescript-eslint/typescript-estree": "5.59.11", + "@typescript-eslint/scope-manager": "5.60.0", + "@typescript-eslint/types": "5.60.0", + "@typescript-eslint/typescript-estree": "5.60.0", "eslint-scope": "^5.1.1", "semver": "^7.3.7" }, @@ -1382,11 +1382,11 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "5.59.11", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.11.tgz", - "integrity": "sha512-KGYniTGG3AMTuKF9QBD7EIrvufkB6O6uX3knP73xbKLMpH+QRPcgnCxjWXSHjMRuOxFLovljqQgQpR0c7GvjoA==", + "version": "5.60.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.60.0.tgz", + "integrity": "sha512-wm9Uz71SbCyhUKgcaPRauBdTegUyY/ZWl8gLwD/i/ybJqscrrdVSFImpvUz16BLPChIeKBK5Fa9s6KDQjsjyWw==", "dependencies": { - "@typescript-eslint/types": "5.59.11", + "@typescript-eslint/types": "5.60.0", "eslint-visitor-keys": "^3.3.0" }, "engines": { @@ -2792,14 +2792,14 @@ } }, "node_modules/eslint": { - "version": "8.42.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.42.0.tgz", - "integrity": "sha512-ulg9Ms6E1WPf67PHaEY4/6E2tEn5/f7FXGzr3t9cBMugOmf1INYvuUwwh1aXQN4MfJ6a5K2iNwP3w4AColvI9A==", + "version": "8.43.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.43.0.tgz", + "integrity": "sha512-aaCpf2JqqKesMFGgmRPessmVKjcGXqdlAYLLC3THM8t5nBRZRQ+st5WM/hoJXkdioEXLLbXgclUpM0TXo5HX5Q==", "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.4.0", "@eslint/eslintrc": "^2.0.3", - "@eslint/js": "8.42.0", + "@eslint/js": "8.43.0", "@humanwhocodes/config-array": "^0.11.10", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", @@ -5223,13 +5223,13 @@ } }, "node_modules/playwright-chromium": { - "version": "1.35.0", - "resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.35.0.tgz", - "integrity": "sha512-94xeZO0dv/PRZ/LH+vb6KFlOs8+Vt8Zw3IN+BfmL11xsbIDKRBtM2aS6x36fWXuFOITFVvSFjXiK4MJlW5q9qw==", + "version": "1.35.1", + "resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.35.1.tgz", + "integrity": "sha512-bPuWIk/DYWtrg10ajcc9cZLo5s9XQrs6JF6wwiieqZ73rCG3PLVEm0RX8fCUzziuEAhYsoL09UNuKSKv7pKz9A==", "dev": true, "hasInstallScript": true, "dependencies": { - "playwright-core": "1.35.0" + "playwright-core": "1.35.1" }, "bin": { "playwright": "cli.js" @@ -5239,9 +5239,9 @@ } }, "node_modules/playwright-core": { - "version": "1.35.0", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.35.0.tgz", - "integrity": "sha512-muMXyPmIx/2DPrCHOD1H1ePT01o7OdKxKj2ebmCAYvqhUy+Y1bpal7B0rdoxros7YrXI294JT/DWw2LqyiqTPA==", + "version": "1.35.1", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.35.1.tgz", + "integrity": "sha512-pNXb6CQ7OqmGDRspEjlxE49w+4YtR6a3X6mT1hZXeJHWmsEz7SunmvZeiG/+y1yyMZdHnnn73WKYdtV1er0Xyg==", "bin": { "playwright-core": "cli.js" }, @@ -5842,9 +5842,9 @@ } }, "node_modules/schema-utils": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.2.tgz", - "integrity": "sha512-pvjEHOgWc9OWA/f/DE3ohBWTD6EleVLf7iFUkoSwAxttdBhB9QUebQgxER2kWueOvRJXPHNnyrvvh9eZINB8Eg==", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.3.0.tgz", + "integrity": "sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==", "dependencies": { "@types/json-schema": "^7.0.8", "ajv": "^6.12.5", @@ -6633,9 +6633,9 @@ } }, "node_modules/webpack": { - "version": "5.86.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.86.0.tgz", - "integrity": "sha512-3BOvworZ8SO/D4GVP+GoRC3fVeg5MO4vzmq8TJJEkdmopxyazGDxN8ClqN12uzrZW9Tv8EED8v5VSb6Sqyi0pg==", + "version": "5.87.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.87.0.tgz", + "integrity": "sha512-GOu1tNbQ7p1bDEoFRs2YPcfyGs8xq52yyPBZ3m2VGnXGtV9MxjrkABHm4V9Ia280OefsSLzvbVoXcfLxjKY/Iw==", "dependencies": { "@types/eslint-scope": "^3.7.3", "@types/estree": "^1.0.0", @@ -6646,7 +6646,7 @@ "acorn-import-assertions": "^1.9.0", "browserslist": "^4.14.5", "chrome-trace-event": "^1.0.2", - "enhanced-resolve": "^5.14.1", + "enhanced-resolve": "^5.15.0", "es-module-lexer": "^1.2.1", "eslint-scope": "5.1.1", "events": "^3.2.0", @@ -6656,7 +6656,7 @@ "loader-runner": "^4.2.0", "mime-types": "^2.1.27", "neo-async": "^2.6.2", - "schema-utils": "^3.1.2", + "schema-utils": "^3.2.0", "tapable": "^2.1.1", "terser-webpack-plugin": "^5.3.7", "watchpack": "^2.4.0", @@ -7008,7 +7008,7 @@ "dependencies": { "@stylable/runtime": "^5.12.0", "node-eval": "^2.0.0", - "playwright-core": "^1.35.0", + "playwright-core": "^1.35.1", "rimraf": "^5.0.1" }, "engines": { @@ -7044,7 +7044,7 @@ "license": "MIT", "dependencies": { "@stylable/core": "^5.12.0", - "@typescript-eslint/experimental-utils": "^5.59.11" + "@typescript-eslint/experimental-utils": "^5.60.0" } }, "packages/experimental-loader": { @@ -7443,9 +7443,9 @@ } }, "@eslint/js": { - "version": "8.42.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.42.0.tgz", - "integrity": "sha512-6SWlXpWU5AvId8Ac7zjzmIOqMOba/JWY8XZ4A7q7Gn1Vlfg/SFFIlrtHXt9nPn4op9ZPAkl91Jao+QQv3r/ukw==" + "version": "8.43.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.43.0.tgz", + "integrity": "sha512-s2UHCoiXfxMvmfzqoN+vrQ84ahUSYde9qNO1MdxmoEhyHWsfmwOpFlwYV+ePJEVc7gFnATGUi376WowX1N7tFg==" }, "@file-services/memory": { "version": "7.3.0", @@ -7780,7 +7780,7 @@ "requires": { "@stylable/runtime": "^5.12.0", "node-eval": "^2.0.0", - "playwright-core": "^1.35.0", + "playwright-core": "^1.35.1", "rimraf": "^5.0.1" } }, @@ -8155,9 +8155,9 @@ "dev": true }, "@types/react": { - "version": "18.2.12", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.12.tgz", - "integrity": "sha512-ndmBMLCgn38v3SntMeoJaIrO6tGHYKMEBohCUmw8HoLLQdRMOIGXfeYaBTLe2lsFaSB3MOK1VXscYFnmLtTSmw==", + "version": "18.2.13", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.13.tgz", + "integrity": "sha512-vJ+zElvi/Zn9cVXB5slX2xL8PZodPCwPRDpittQdw43JR2AJ5k3vKdgJJyneV/cYgIbLQUwXa9JVDvUZXGba+Q==", "dev": true, "requires": { "@types/prop-types": "*", @@ -8166,9 +8166,9 @@ } }, "@types/react-dom": { - "version": "18.2.5", - "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.5.tgz", - "integrity": "sha512-sRQsOS/sCLnpQhR4DSKGTtWFE3FZjpQa86KPVbhUqdYMRZ9FEFcfAytKhR/vUG2rH1oFbOOej6cuD7MFSobDRQ==", + "version": "18.2.6", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.6.tgz", + "integrity": "sha512-2et4PDvg6PVCyS7fuTc4gPoksV58bW0RwSxWKcPRcHZf0PRUGq03TKcD/rUHe3azfV6/5/biUBJw+HhCQjaP0A==", "dev": true, "requires": { "@types/react": "*" @@ -8213,15 +8213,15 @@ "dev": true }, "@typescript-eslint/eslint-plugin": { - "version": "5.59.11", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.59.11.tgz", - "integrity": "sha512-XxuOfTkCUiOSyBWIvHlUraLw/JT/6Io1365RO6ZuI88STKMavJZPNMU0lFcUTeQXEhHiv64CbxYxBNoDVSmghg==", + "version": "5.60.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.60.0.tgz", + "integrity": "sha512-78B+anHLF1TI8Jn/cD0Q00TBYdMgjdOn980JfAVa9yw5sop8nyTfVOQAv6LWywkOGLclDBtv5z3oxN4w7jxyNg==", "dev": true, "requires": { "@eslint-community/regexpp": "^4.4.0", - "@typescript-eslint/scope-manager": "5.59.11", - "@typescript-eslint/type-utils": "5.59.11", - "@typescript-eslint/utils": "5.59.11", + "@typescript-eslint/scope-manager": "5.60.0", + "@typescript-eslint/type-utils": "5.60.0", + "@typescript-eslint/utils": "5.60.0", "debug": "^4.3.4", "grapheme-splitter": "^1.0.4", "ignore": "^5.2.0", @@ -8231,58 +8231,58 @@ } }, "@typescript-eslint/experimental-utils": { - "version": "5.59.11", - "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.59.11.tgz", - "integrity": "sha512-GkQGV0UF/V5Ra7gZMBmiD1WrYUFOJNvCZs+XQnUyJoxmqfWMXVNyB2NVCPRKefoQcpvTv9UpJyfCvsJFs8NzzQ==", + "version": "5.60.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.60.0.tgz", + "integrity": "sha512-ovid3u7CNBrr0Ct35LUPkNYH4e+z4Kc6dPfSG99oMmH9SfoEoefq09uSnJI4mUb/UM7a/peVM03G+MzLxrD16g==", "requires": { - "@typescript-eslint/utils": "5.59.11" + "@typescript-eslint/utils": "5.60.0" } }, "@typescript-eslint/parser": { - "version": "5.59.11", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.59.11.tgz", - "integrity": "sha512-s9ZF3M+Nym6CAZEkJJeO2TFHHDsKAM3ecNkLuH4i4s8/RCPnF5JRip2GyviYkeEAcwGMJxkqG9h2dAsnA1nZpA==", + "version": "5.60.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.60.0.tgz", + "integrity": "sha512-jBONcBsDJ9UoTWrARkRRCgDz6wUggmH5RpQVlt7BimSwaTkTjwypGzKORXbR4/2Hqjk9hgwlon2rVQAjWNpkyQ==", "dev": true, "requires": { - "@typescript-eslint/scope-manager": "5.59.11", - "@typescript-eslint/types": "5.59.11", - "@typescript-eslint/typescript-estree": "5.59.11", + "@typescript-eslint/scope-manager": "5.60.0", + "@typescript-eslint/types": "5.60.0", + "@typescript-eslint/typescript-estree": "5.60.0", "debug": "^4.3.4" } }, "@typescript-eslint/scope-manager": { - "version": "5.59.11", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.59.11.tgz", - "integrity": "sha512-dHFOsxoLFtrIcSj5h0QoBT/89hxQONwmn3FOQ0GOQcLOOXm+MIrS8zEAhs4tWl5MraxCY3ZJpaXQQdFMc2Tu+Q==", + "version": "5.60.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.60.0.tgz", + "integrity": "sha512-hakuzcxPwXi2ihf9WQu1BbRj1e/Pd8ZZwVTG9kfbxAMZstKz8/9OoexIwnmLzShtsdap5U/CoQGRCWlSuPbYxQ==", "requires": { - "@typescript-eslint/types": "5.59.11", - "@typescript-eslint/visitor-keys": "5.59.11" + "@typescript-eslint/types": "5.60.0", + "@typescript-eslint/visitor-keys": "5.60.0" } }, "@typescript-eslint/type-utils": { - "version": "5.59.11", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.59.11.tgz", - "integrity": "sha512-LZqVY8hMiVRF2a7/swmkStMYSoXMFlzL6sXV6U/2gL5cwnLWQgLEG8tjWPpaE4rMIdZ6VKWwcffPlo1jPfk43g==", + "version": "5.60.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.60.0.tgz", + "integrity": "sha512-X7NsRQddORMYRFH7FWo6sA9Y/zbJ8s1x1RIAtnlj6YprbToTiQnM6vxcMu7iYhdunmoC0rUWlca13D5DVHkK2g==", "dev": true, "requires": { - "@typescript-eslint/typescript-estree": "5.59.11", - "@typescript-eslint/utils": "5.59.11", + "@typescript-eslint/typescript-estree": "5.60.0", + "@typescript-eslint/utils": "5.60.0", "debug": "^4.3.4", "tsutils": "^3.21.0" } }, "@typescript-eslint/types": { - "version": "5.59.11", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.59.11.tgz", - "integrity": "sha512-epoN6R6tkvBYSc+cllrz+c2sOFWkbisJZWkOE+y3xHtvYaOE6Wk6B8e114McRJwFRjGvYdJwLXQH5c9osME/AA==" + "version": "5.60.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.60.0.tgz", + "integrity": "sha512-ascOuoCpNZBccFVNJRSC6rPq4EmJ2NkuoKnd6LDNyAQmdDnziAtxbCGWCbefG1CNzmDvd05zO36AmB7H8RzKPA==" }, "@typescript-eslint/typescript-estree": { - "version": "5.59.11", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.11.tgz", - "integrity": "sha512-YupOpot5hJO0maupJXixi6l5ETdrITxeo5eBOeuV7RSKgYdU3G5cxO49/9WRnJq9EMrB7AuTSLH/bqOsXi7wPA==", + "version": "5.60.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.60.0.tgz", + "integrity": "sha512-R43thAuwarC99SnvrBmh26tc7F6sPa2B3evkXp/8q954kYL6Ro56AwASYWtEEi+4j09GbiNAHqYwNNZuNlARGQ==", "requires": { - "@typescript-eslint/types": "5.59.11", - "@typescript-eslint/visitor-keys": "5.59.11", + "@typescript-eslint/types": "5.60.0", + "@typescript-eslint/visitor-keys": "5.60.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -8291,26 +8291,26 @@ } }, "@typescript-eslint/utils": { - "version": "5.59.11", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.59.11.tgz", - "integrity": "sha512-didu2rHSOMUdJThLk4aZ1Or8IcO3HzCw/ZvEjTTIfjIrcdd5cvSIwwDy2AOlE7htSNp7QIZ10fLMyRCveesMLg==", + "version": "5.60.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.60.0.tgz", + "integrity": "sha512-ba51uMqDtfLQ5+xHtwlO84vkdjrqNzOnqrnwbMHMRY8Tqeme8C2Q8Fc7LajfGR+e3/4LoYiWXUM6BpIIbHJ4hQ==", "requires": { "@eslint-community/eslint-utils": "^4.2.0", "@types/json-schema": "^7.0.9", "@types/semver": "^7.3.12", - "@typescript-eslint/scope-manager": "5.59.11", - "@typescript-eslint/types": "5.59.11", - "@typescript-eslint/typescript-estree": "5.59.11", + "@typescript-eslint/scope-manager": "5.60.0", + "@typescript-eslint/types": "5.60.0", + "@typescript-eslint/typescript-estree": "5.60.0", "eslint-scope": "^5.1.1", "semver": "^7.3.7" } }, "@typescript-eslint/visitor-keys": { - "version": "5.59.11", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.11.tgz", - "integrity": "sha512-KGYniTGG3AMTuKF9QBD7EIrvufkB6O6uX3knP73xbKLMpH+QRPcgnCxjWXSHjMRuOxFLovljqQgQpR0c7GvjoA==", + "version": "5.60.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.60.0.tgz", + "integrity": "sha512-wm9Uz71SbCyhUKgcaPRauBdTegUyY/ZWl8gLwD/i/ybJqscrrdVSFImpvUz16BLPChIeKBK5Fa9s6KDQjsjyWw==", "requires": { - "@typescript-eslint/types": "5.59.11", + "@typescript-eslint/types": "5.60.0", "eslint-visitor-keys": "^3.3.0" } }, @@ -9378,14 +9378,14 @@ "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==" }, "eslint": { - "version": "8.42.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.42.0.tgz", - "integrity": "sha512-ulg9Ms6E1WPf67PHaEY4/6E2tEn5/f7FXGzr3t9cBMugOmf1INYvuUwwh1aXQN4MfJ6a5K2iNwP3w4AColvI9A==", + "version": "8.43.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.43.0.tgz", + "integrity": "sha512-aaCpf2JqqKesMFGgmRPessmVKjcGXqdlAYLLC3THM8t5nBRZRQ+st5WM/hoJXkdioEXLLbXgclUpM0TXo5HX5Q==", "requires": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.4.0", "@eslint/eslintrc": "^2.0.3", - "@eslint/js": "8.42.0", + "@eslint/js": "8.43.0", "@humanwhocodes/config-array": "^0.11.10", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", @@ -9503,7 +9503,7 @@ "version": "file:packages/eslint-plugin-stylable", "requires": { "@stylable/core": "^5.12.0", - "@typescript-eslint/experimental-utils": "^5.59.11" + "@typescript-eslint/experimental-utils": "^5.60.0" } }, "eslint-scope": { @@ -11155,18 +11155,18 @@ "dev": true }, "playwright-chromium": { - "version": "1.35.0", - "resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.35.0.tgz", - "integrity": "sha512-94xeZO0dv/PRZ/LH+vb6KFlOs8+Vt8Zw3IN+BfmL11xsbIDKRBtM2aS6x36fWXuFOITFVvSFjXiK4MJlW5q9qw==", + "version": "1.35.1", + "resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.35.1.tgz", + "integrity": "sha512-bPuWIk/DYWtrg10ajcc9cZLo5s9XQrs6JF6wwiieqZ73rCG3PLVEm0RX8fCUzziuEAhYsoL09UNuKSKv7pKz9A==", "dev": true, "requires": { - "playwright-core": "1.35.0" + "playwright-core": "1.35.1" } }, "playwright-core": { - "version": "1.35.0", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.35.0.tgz", - "integrity": "sha512-muMXyPmIx/2DPrCHOD1H1ePT01o7OdKxKj2ebmCAYvqhUy+Y1bpal7B0rdoxros7YrXI294JT/DWw2LqyiqTPA==" + "version": "1.35.1", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.35.1.tgz", + "integrity": "sha512-pNXb6CQ7OqmGDRspEjlxE49w+4YtR6a3X6mT1hZXeJHWmsEz7SunmvZeiG/+y1yyMZdHnnn73WKYdtV1er0Xyg==" }, "postcss": { "version": "8.4.24", @@ -11536,9 +11536,9 @@ } }, "schema-utils": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.2.tgz", - "integrity": "sha512-pvjEHOgWc9OWA/f/DE3ohBWTD6EleVLf7iFUkoSwAxttdBhB9QUebQgxER2kWueOvRJXPHNnyrvvh9eZINB8Eg==", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.3.0.tgz", + "integrity": "sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==", "requires": { "@types/json-schema": "^7.0.8", "ajv": "^6.12.5", @@ -12110,9 +12110,9 @@ } }, "webpack": { - "version": "5.86.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.86.0.tgz", - "integrity": "sha512-3BOvworZ8SO/D4GVP+GoRC3fVeg5MO4vzmq8TJJEkdmopxyazGDxN8ClqN12uzrZW9Tv8EED8v5VSb6Sqyi0pg==", + "version": "5.87.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.87.0.tgz", + "integrity": "sha512-GOu1tNbQ7p1bDEoFRs2YPcfyGs8xq52yyPBZ3m2VGnXGtV9MxjrkABHm4V9Ia280OefsSLzvbVoXcfLxjKY/Iw==", "requires": { "@types/eslint-scope": "^3.7.3", "@types/estree": "^1.0.0", @@ -12123,7 +12123,7 @@ "acorn-import-assertions": "^1.9.0", "browserslist": "^4.14.5", "chrome-trace-event": "^1.0.2", - "enhanced-resolve": "^5.14.1", + "enhanced-resolve": "^5.15.0", "es-module-lexer": "^1.2.1", "eslint-scope": "5.1.1", "events": "^3.2.0", @@ -12133,7 +12133,7 @@ "loader-runner": "^4.2.0", "mime-types": "^2.1.27", "neo-async": "^2.6.2", - "schema-utils": "^3.1.2", + "schema-utils": "^3.2.0", "tapable": "^2.1.1", "terser-webpack-plugin": "^5.3.7", "watchpack": "^2.4.0", diff --git a/package.json b/package.json index d390b0f5b..619123a90 100644 --- a/package.json +++ b/package.json @@ -41,19 +41,19 @@ "@types/mocha": "^10.0.1", "@types/node": "14", "@types/postcss-safe-parser": "^5.0.1", - "@types/react": "^18.2.12", - "@types/react-dom": "^18.2.5", + "@types/react": "^18.2.13", + "@types/react-dom": "^18.2.6", "@types/semver": "^7.5.0", "@types/validate-npm-package-name": "^4.0.0", "@types/yargs": "^17.0.24", - "@typescript-eslint/eslint-plugin": "^5.59.11", - "@typescript-eslint/parser": "^5.59.11", + "@typescript-eslint/eslint-plugin": "^5.60.0", + "@typescript-eslint/parser": "^5.60.0", "autoprefixer": "^10.4.14", "c8": "^8.0.0", "chai": "^4.3.7", "chai-subset": "^1.6.0", "create-listening-server": "^2.1.0", - "eslint": "^8.42.0", + "eslint": "^8.43.0", "eslint-config-prettier": "^8.8.0", "eslint-plugin-react": "^7.32.2", "eslint-plugin-react-hooks": "^4.6.0", @@ -63,7 +63,7 @@ "mocha": "^10.2.0", "node-eval": "^2.0.0", "npm-run-all": "^4.1.5", - "playwright-chromium": "^1.35.0", + "playwright-chromium": "^1.35.1", "postcss": "^8.4.24", "promise-assist": "^2.0.1", "raw-loader": "^4.0.2", @@ -78,7 +78,7 @@ "tsconfig-paths-webpack-plugin": "^4.0.1", "typescript": "~5.1.3", "url-loader": "^4.1.1", - "webpack": "^5.86.0", + "webpack": "^5.87.0", "yargs": "^17.7.2" }, "engines": { diff --git a/packages/e2e-test-kit/package.json b/packages/e2e-test-kit/package.json index cb8721783..e81a7f72e 100644 --- a/packages/e2e-test-kit/package.json +++ b/packages/e2e-test-kit/package.json @@ -9,7 +9,7 @@ "dependencies": { "@stylable/runtime": "^5.12.0", "node-eval": "^2.0.0", - "playwright-core": "^1.35.0", + "playwright-core": "^1.35.1", "rimraf": "^5.0.1" }, "files": [ diff --git a/packages/e2e-test-kit/src/stylable-project-runner.ts b/packages/e2e-test-kit/src/stylable-project-runner.ts index 4eb66c5a2..46a2a445a 100644 --- a/packages/e2e-test-kit/src/stylable-project-runner.ts +++ b/packages/e2e-test-kit/src/stylable-project-runner.ts @@ -5,7 +5,7 @@ export class StylableProjectRunner extends ProjectRunner { const config = super.loadWebpackConfig(); if (config.plugins) { const plugin = config.plugins.find( - (plugin) => plugin.constructor.name === 'StylableWebpackPlugin' + (plugin) => plugin?.constructor.name === 'StylableWebpackPlugin' ); if (plugin) { diff --git a/packages/eslint-plugin-stylable/package.json b/packages/eslint-plugin-stylable/package.json index b18a9712e..6be3a4d02 100644 --- a/packages/eslint-plugin-stylable/package.json +++ b/packages/eslint-plugin-stylable/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "@stylable/core": "^5.12.0", - "@typescript-eslint/experimental-utils": "^5.59.11" + "@typescript-eslint/experimental-utils": "^5.60.0" }, "keywords": [ "eslint", diff --git a/packages/webpack-plugin/src/mini-css-support.ts b/packages/webpack-plugin/src/mini-css-support.ts index c7b502ed9..402e7b945 100644 --- a/packages/webpack-plugin/src/mini-css-support.ts +++ b/packages/webpack-plugin/src/mini-css-support.ts @@ -15,7 +15,7 @@ export function injectCssModules( assetsModules: Map ) { const MiniCssExtractPlugin = compilation.options.plugins.find( - (plugin) => plugin.constructor?.name === 'MiniCssExtractPlugin' + (plugin) => plugin?.constructor?.name === 'MiniCssExtractPlugin' ); if (!MiniCssExtractPlugin) { From 83ef61ac21cd496c45265bfe69ac8236ac34658f Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Wed, 21 Jun 2023 11:23:31 +0300 Subject: [PATCH 23/81] refactor: remove un-required exports --- .../src/create-metadata-stylesheet.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/webpack-extensions/src/create-metadata-stylesheet.ts b/packages/webpack-extensions/src/create-metadata-stylesheet.ts index 88aeec402..6fca942a0 100644 --- a/packages/webpack-extensions/src/create-metadata-stylesheet.ts +++ b/packages/webpack-extensions/src/create-metadata-stylesheet.ts @@ -26,7 +26,7 @@ export function createMetadataForStylesheet( }; } -export function createNamespaceMapping( +function createNamespaceMapping( usedMeta: Map, hashes: Map ) { @@ -37,7 +37,7 @@ export function createNamespaceMapping( return namespaceMapping; } -export function rewriteImports( +function rewriteImports( usedMeta: Map, hashes: Map ) { @@ -92,7 +92,7 @@ function ruleByLocation(ruleA: Rule | AtRule) { }; } -export function ensureHash(meta: StylableMeta, hashes: Map) { +function ensureHash(meta: StylableMeta, hashes: Map) { const hash = hashes.get(meta); if (!hash) { throw new Error('Missing meta hash for:' + meta.source); @@ -100,7 +100,7 @@ export function ensureHash(meta: StylableMeta, hashes: Map return hash; } -export function createContentHashPerMeta(usedMeta: Iterable) { +function createContentHashPerMeta(usedMeta: Iterable) { const hashes = new Map(); for (const meta of usedMeta) { hashes.set(meta, hashContent(meta.sourceAst.toString())); @@ -108,7 +108,7 @@ export function createContentHashPerMeta(usedMeta: Iterable) { return hashes; } -export function collectDependenciesDeep( +function collectDependenciesDeep( stylable: Stylable, meta: StylableMeta, out = new Map() From 55ae0798a890621a773ec4a89b3b580d2def30cd Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Wed, 21 Jun 2023 11:28:45 +0300 Subject: [PATCH 24/81] fix: webpack manifest issues (#2877) * fix: sheets with same content hash conflict * fix: flaky manifest index content order --- .../src/create-metadata-stylesheet.ts | 2 +- .../src/stylable-manifest-plugin.ts | 14 +++++-- .../test/e2e/fs-manifest.spec.ts | 39 ++++++++++++------- .../test/e2e/manifest.css-vars.spec.ts | 39 ++++++++++++------- .../test/e2e/manifest.spec.ts | 39 ++++++++++++------- .../test/e2e/metadata-loader-case.spec.ts | 31 +++++++-------- .../manifest-plugin/Accordion.comp.st.css | 9 +++++ .../manifest-plugin/Button.comp.st.css | 2 +- .../e2e/projects/manifest-plugin/index.js | 1 + packages/webpack-extensions/test/e2e/utils.ts | 11 ++++++ 10 files changed, 120 insertions(+), 67 deletions(-) create mode 100644 packages/webpack-extensions/test/e2e/projects/manifest-plugin/Accordion.comp.st.css create mode 100644 packages/webpack-extensions/test/e2e/utils.ts diff --git a/packages/webpack-extensions/src/create-metadata-stylesheet.ts b/packages/webpack-extensions/src/create-metadata-stylesheet.ts index 6fca942a0..faa0218e1 100644 --- a/packages/webpack-extensions/src/create-metadata-stylesheet.ts +++ b/packages/webpack-extensions/src/create-metadata-stylesheet.ts @@ -103,7 +103,7 @@ function ensureHash(meta: StylableMeta, hashes: Map) { function createContentHashPerMeta(usedMeta: Iterable) { const hashes = new Map(); for (const meta of usedMeta) { - hashes.set(meta, hashContent(meta.sourceAst.toString())); + hashes.set(meta, hashContent(meta.source + meta.sourceAst.toString())); } return hashes; } diff --git a/packages/webpack-extensions/src/stylable-manifest-plugin.ts b/packages/webpack-extensions/src/stylable-manifest-plugin.ts index 2f2934852..b524d2be5 100644 --- a/packages/webpack-extensions/src/stylable-manifest-plugin.ts +++ b/packages/webpack-extensions/src/stylable-manifest-plugin.ts @@ -139,10 +139,16 @@ export class StylableManifestPlugin { stylable: Stylable, modules: Module[] ): MetadataList { - const stylableComps = modules.filter((module) => { - const resource = (module as any).resource; - return resource && this.options.filterComponents(resource); - }); + const stylableComps = modules + .filter((module) => { + const resource = (module as any).resource; + return resource && this.options.filterComponents(resource); + }) + .sort((m1, m2) => { + const r = (m1 as any).resource; + const r2 = (m2 as any).resource; + return r.localeCompare(r2); + }); return stylableComps.map((module) => { const resource = (module as any).resource; diff --git a/packages/webpack-extensions/test/e2e/fs-manifest.spec.ts b/packages/webpack-extensions/test/e2e/fs-manifest.spec.ts index a398ecbf0..49a625c21 100644 --- a/packages/webpack-extensions/test/e2e/fs-manifest.spec.ts +++ b/packages/webpack-extensions/test/e2e/fs-manifest.spec.ts @@ -1,9 +1,9 @@ -import { readFileSync } from 'fs'; import { EOL } from 'os'; import { dirname, join } from 'path'; import { expect } from 'chai'; import { StylableProjectRunner } from '@stylable/e2e-test-kit'; -import { ComponentsMetadata, hashContent } from '@stylable/webpack-extensions'; +import type { ComponentsMetadata } from '@stylable/webpack-extensions'; +import { getSheetContentAndHash } from './utils'; const project = 'manifest-plugin'; const projectDir = dirname( @@ -29,13 +29,11 @@ describe(`${project} - fs-manifest`, () => { const manifestKey = Object.keys(assets).find((key) => key.startsWith('stylable.manifest'))!; const source = assets[manifestKey].source(); - const compContent = readFileSync( - join(projectRunner.testDir, 'Button.comp.st.css'), - 'utf-8' + const button = getSheetContentAndHash(join(projectRunner.testDir, 'Button.comp.st.css')); + const accordion = getSheetContentAndHash( + join(projectRunner.testDir, 'Accordion.comp.st.css') ); - const commonContent = readFileSync(join(projectRunner.testDir, 'common.st.css'), 'utf-8'); - const commonHash = hashContent(commonContent); - const compHash = hashContent(compContent); + const common = getSheetContentAndHash(join(projectRunner.testDir, 'common.st.css')); const fsMetadata: ComponentsMetadata = { name: 'manifest-plugin-test', @@ -44,22 +42,35 @@ describe(`${project} - fs-manifest`, () => { Button: { id: 'Button', namespace: 'Buttoncomp1090430236', - stylesheetPath: `/${compHash}.st.css`, + stylesheetPath: `/${button.hash}.st.css`, + }, + Accordion: { + id: 'Accordion', + namespace: 'Accordioncomp4108556147', + stylesheetPath: `/${accordion.hash}.st.css`, }, }, fs: { [`/manifest-plugin-test/index.st.css`]: { - content: `:import{-st-from: "/${compHash}.st.css";-st-default: Button;} .root Button{}${EOL}`, + content: [ + `:import{-st-from: "/${accordion.hash}.st.css";-st-default: Accordion;} .root Accordion{}`, + `:import{-st-from: "/${button.hash}.st.css";-st-default: Button;} .root Button{}`, + ``, // empty line + ].join(EOL), metadata: { namespace: 'manifest-plugin-test', }, }, - [`/${compHash}.st.css`]: { - content: compContent.replace('./common.st.css', `/${commonHash}.st.css`), + [`/${button.hash}.st.css`]: { + content: button.content.replace('./common.st.css', `/${common.hash}.st.css`), metadata: { namespace: 'Buttoncomp1090430236' }, }, - [`/${commonHash}.st.css`]: { - content: commonContent, + [`/${accordion.hash}.st.css`]: { + content: accordion.content.replace('./common.st.css', `/${common.hash}.st.css`), + metadata: { namespace: 'Accordioncomp4108556147' }, + }, + [`/${common.hash}.st.css`]: { + content: common.content, metadata: { namespace: 'common911354609' }, }, }, diff --git a/packages/webpack-extensions/test/e2e/manifest.css-vars.spec.ts b/packages/webpack-extensions/test/e2e/manifest.css-vars.spec.ts index 9617f05d6..883af5761 100644 --- a/packages/webpack-extensions/test/e2e/manifest.css-vars.spec.ts +++ b/packages/webpack-extensions/test/e2e/manifest.css-vars.spec.ts @@ -1,9 +1,8 @@ import { StylableProjectRunner } from '@stylable/e2e-test-kit'; import { expect } from 'chai'; -import { readFileSync } from 'fs'; import { dirname, join } from 'path'; -import { hashContent } from '@stylable/webpack-extensions'; import { EOL } from 'os'; +import { getSheetContentAndHash } from './utils'; const project = 'manifest-plugin'; const projectDir = dirname( @@ -32,29 +31,39 @@ describe(`${project} - manifest (vars)`, () => { const manifestKey = Object.keys(assets).find((key) => key.startsWith('stylable.manifest'))!; const source = assets[manifestKey].source(); - const compContent = readFileSync( - join(projectRunner.testDir, 'Button.comp.st.css'), - 'utf-8' + const button = getSheetContentAndHash(join(projectRunner.testDir, 'Button.comp.st.css')); + const accordion = getSheetContentAndHash( + join(projectRunner.testDir, 'Accordion.comp.st.css') ); - const commonContent = readFileSync(join(projectRunner.testDir, 'common.st.css'), 'utf-8'); - const commonHash = hashContent(commonContent); - const compHash = hashContent(compContent); + const common = getSheetContentAndHash(join(projectRunner.testDir, 'common.st.css')); expect(JSON.parse(source)).to.deep.include({ name: 'manifest-plugin-test', version: '0.0.0-test', - componentsIndex: `:import{-st-from: "/${compHash}.st.css";-st-default: Button;-st-named:--myColor as --Button-myColor;} .root Button{}${EOL}`, - componentsEntries: { Button: `/${compHash}.st.css` }, + componentsIndex: [ + `:import{-st-from: "/${accordion.hash}.st.css";-st-default: Accordion;-st-named:--myColor as --Accordion-myColor;} .root Accordion{}`, + `:import{-st-from: "/${button.hash}.st.css";-st-default: Button;-st-named:--myColor as --Button-myColor;} .root Button{}`, + ``, // empty line + ].join(EOL), + componentsEntries: { + Button: `/${button.hash}.st.css`, + Accordion: `/${accordion.hash}.st.css`, + }, stylesheetMapping: { - [`/${compHash}.st.css`]: compContent.replace( + [`/${button.hash}.st.css`]: button.content.replace( + './common.st.css', + `/${common.hash}.st.css` + ), + [`/${accordion.hash}.st.css`]: accordion.content.replace( './common.st.css', - `/${commonHash}.st.css` + `/${common.hash}.st.css` ), - [`/${commonHash}.st.css`]: commonContent, + [`/${common.hash}.st.css`]: common.content, }, namespaceMapping: { - [`/${commonHash}.st.css`]: 'common911354609', - [`/${compHash}.st.css`]: 'Buttoncomp1090430236', + [`/${common.hash}.st.css`]: 'common911354609', + [`/${button.hash}.st.css`]: 'Buttoncomp1090430236', + [`/${accordion.hash}.st.css`]: 'Accordioncomp4108556147', }, }); }); diff --git a/packages/webpack-extensions/test/e2e/manifest.spec.ts b/packages/webpack-extensions/test/e2e/manifest.spec.ts index f19ea7134..6e6044045 100644 --- a/packages/webpack-extensions/test/e2e/manifest.spec.ts +++ b/packages/webpack-extensions/test/e2e/manifest.spec.ts @@ -1,9 +1,8 @@ import { StylableProjectRunner } from '@stylable/e2e-test-kit'; import { expect } from 'chai'; -import { readFileSync } from 'fs'; import { dirname, join } from 'path'; -import { hashContent } from '@stylable/webpack-extensions'; import { EOL } from 'os'; +import { getSheetContentAndHash } from './utils'; const project = 'manifest-plugin'; const projectDir = dirname( @@ -31,29 +30,39 @@ describe(`${project} - manifest (e2e)`, () => { const manifestKey = Object.keys(assets).find((key) => key.startsWith('stylable.manifest'))!; const source = assets[manifestKey].source(); - const compContent = readFileSync( - join(projectRunner.testDir, 'Button.comp.st.css'), - 'utf-8' + const button = getSheetContentAndHash(join(projectRunner.testDir, 'Button.comp.st.css')); + const accordion = getSheetContentAndHash( + join(projectRunner.testDir, 'Accordion.comp.st.css') ); - const commonContent = readFileSync(join(projectRunner.testDir, 'common.st.css'), 'utf-8'); - const commonHash = hashContent(commonContent); - const compHash = hashContent(compContent); + const common = getSheetContentAndHash(join(projectRunner.testDir, 'common.st.css')); expect(JSON.parse(source)).to.deep.include({ name: 'manifest-plugin-test', version: '0.0.0-test', - componentsIndex: `:import{-st-from: "/${compHash}.st.css";-st-default: Button;} .root Button{}${EOL}`, - componentsEntries: { Button: `/${compHash}.st.css` }, + componentsIndex: [ + `:import{-st-from: "/${accordion.hash}.st.css";-st-default: Accordion;} .root Accordion{}`, + `:import{-st-from: "/${button.hash}.st.css";-st-default: Button;} .root Button{}`, + ``, // empty line + ].join(EOL), + componentsEntries: { + Button: `/${button.hash}.st.css`, + Accordion: `/${accordion.hash}.st.css`, + }, stylesheetMapping: { - [`/${compHash}.st.css`]: compContent.replace( + [`/${button.hash}.st.css`]: button.content.replace( + './common.st.css', + `/${common.hash}.st.css` + ), + [`/${accordion.hash}.st.css`]: button.content.replace( './common.st.css', - `/${commonHash}.st.css` + `/${common.hash}.st.css` ), - [`/${commonHash}.st.css`]: commonContent, + [`/${common.hash}.st.css`]: common.content, }, namespaceMapping: { - [`/${commonHash}.st.css`]: 'common911354609', - [`/${compHash}.st.css`]: 'Buttoncomp1090430236', + [`/${common.hash}.st.css`]: 'common911354609', + [`/${button.hash}.st.css`]: 'Buttoncomp1090430236', + [`/${accordion.hash}.st.css`]: 'Accordioncomp4108556147', }, }); }); diff --git a/packages/webpack-extensions/test/e2e/metadata-loader-case.spec.ts b/packages/webpack-extensions/test/e2e/metadata-loader-case.spec.ts index 2443e3d79..6ef4c1166 100644 --- a/packages/webpack-extensions/test/e2e/metadata-loader-case.spec.ts +++ b/packages/webpack-extensions/test/e2e/metadata-loader-case.spec.ts @@ -1,8 +1,7 @@ import { StylableProjectRunner } from '@stylable/e2e-test-kit'; import { expect } from 'chai'; import { dirname, join } from 'path'; -import { readFileSync } from 'fs'; -import { hashContent } from '@stylable/webpack-extensions'; +import { getSheetContentAndHash } from './utils'; const project = 'metadata-loader-case'; const projectDir = dirname( @@ -28,18 +27,16 @@ describe(`(${project})`, () => { // eslint-disable-next-line @typescript-eslint/no-implied-eval const getMetadataFromLibraryBundle = new Function(bundleContent + '\nreturn metadata;'); - const compXContent = readFileSync(join(projectRunner.testDir, 'comp-x.st.css'), 'utf-8'); - const compContent = readFileSync(join(projectRunner.testDir, 'comp.st.css'), 'utf-8'); - const indexContent = readFileSync(join(projectRunner.testDir, 'index.st.css'), 'utf-8'); - const indexHash = hashContent(indexContent); - const compHash = hashContent(compContent); - const compXHash = hashContent(compXContent); + const comp = getSheetContentAndHash(join(projectRunner.testDir, 'comp.st.css')); + const compX = getSheetContentAndHash(join(projectRunner.testDir, 'comp-x.st.css')); + const index = getSheetContentAndHash(join(projectRunner.testDir, 'index.st.css')); + const stylesheetMapping = { - [`/${indexHash}.st.css`]: indexContent - .replace('./comp.st.css', `/${compHash}.st.css`) - .replace('./comp-x.st.css', `/${compXHash}.st.css`), - [`/${compXHash}.st.css`]: compXContent, - [`/${compHash}.st.css`]: compContent, + [`/${index.hash}.st.css`]: index.content + .replace('./comp.st.css', `/${comp.hash}.st.css`) + .replace('./comp-x.st.css', `/${compX.hash}.st.css`), + [`/${compX.hash}.st.css`]: compX.content, + [`/${comp.hash}.st.css`]: comp.content, }; const metadata = getMetadataFromLibraryBundle().default; @@ -47,12 +44,12 @@ describe(`(${project})`, () => { entry: metadata.entry, stylesheetMapping: metadata.stylesheetMapping, }).to.deep.include({ - entry: `/${indexHash}.st.css`, + entry: `/${index.hash}.st.css`, stylesheetMapping, }); - expect(metadata.namespaceMapping[`/${indexHash}.st.css`]).to.match(/index\d+/); - expect(metadata.namespaceMapping[`/${compHash}.st.css`]).to.match(/comp\d+/); - expect(metadata.namespaceMapping[`/${compXHash}.st.css`]).to.match(/compx\d+/); + expect(metadata.namespaceMapping[`/${index.hash}.st.css`]).to.match(/index\d+/); + expect(metadata.namespaceMapping[`/${comp.hash}.st.css`]).to.match(/comp\d+/); + expect(metadata.namespaceMapping[`/${compX.hash}.st.css`]).to.match(/compx\d+/); }); }); diff --git a/packages/webpack-extensions/test/e2e/projects/manifest-plugin/Accordion.comp.st.css b/packages/webpack-extensions/test/e2e/projects/manifest-plugin/Accordion.comp.st.css new file mode 100644 index 000000000..16d66770c --- /dev/null +++ b/packages/webpack-extensions/test/e2e/projects/manifest-plugin/Accordion.comp.st.css @@ -0,0 +1,9 @@ +:import { + -st-from: "./common.st.css"; + -st-named: myColor; +} + +.root { + --myColor: red; + color: value(myColor); +} diff --git a/packages/webpack-extensions/test/e2e/projects/manifest-plugin/Button.comp.st.css b/packages/webpack-extensions/test/e2e/projects/manifest-plugin/Button.comp.st.css index 30601cacc..16d66770c 100644 --- a/packages/webpack-extensions/test/e2e/projects/manifest-plugin/Button.comp.st.css +++ b/packages/webpack-extensions/test/e2e/projects/manifest-plugin/Button.comp.st.css @@ -5,5 +5,5 @@ .root { --myColor: red; - color: value(myColor) + color: value(myColor); } diff --git a/packages/webpack-extensions/test/e2e/projects/manifest-plugin/index.js b/packages/webpack-extensions/test/e2e/projects/manifest-plugin/index.js index 294a70b93..571792cdb 100644 --- a/packages/webpack-extensions/test/e2e/projects/manifest-plugin/index.js +++ b/packages/webpack-extensions/test/e2e/projects/manifest-plugin/index.js @@ -1 +1,2 @@ import './Button.comp.st.css'; +import './Accordion.comp.st.css'; diff --git a/packages/webpack-extensions/test/e2e/utils.ts b/packages/webpack-extensions/test/e2e/utils.ts new file mode 100644 index 000000000..6439e4654 --- /dev/null +++ b/packages/webpack-extensions/test/e2e/utils.ts @@ -0,0 +1,11 @@ +import { readFileSync } from 'fs'; +import { hashContent } from '@stylable/webpack-extensions'; + +export function getSheetContentAndHash(sheetPath: string) { + const content = readFileSync(sheetPath, 'utf-8'); + return { + path: sheetPath, + content, + hash: hashContent(sheetPath + content), + }; +} From 083b5ac8848d631be1518411402954306fd96188 Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Wed, 21 Jun 2023 11:39:46 +0300 Subject: [PATCH 25/81] fix: `@st-scope` deep scoping (#2876) * fix: disable scope check deep within st-scope --- packages/core/src/helpers/rule.ts | 16 +++++++++----- packages/core/test/features/css-class.spec.ts | 21 +++++++++++++++++++ .../core/test/features/css-keyframes.spec.ts | 9 +++++--- 3 files changed, 38 insertions(+), 8 deletions(-) diff --git a/packages/core/src/helpers/rule.ts b/packages/core/src/helpers/rule.ts index 850a7d9f9..a36e8536d 100644 --- a/packages/core/src/helpers/rule.ts +++ b/packages/core/src/helpers/rule.ts @@ -18,11 +18,17 @@ import * as postcss from 'postcss'; import { transformInlineCustomSelectors } from './custom-selector'; export function isChildOfAtRule(rule: postcss.Container, atRuleName: string) { - return !!( - rule.parent && - rule.parent.type === 'atrule' && - (rule.parent as postcss.AtRule).name === atRuleName - ); + let currentParent = rule.parent; + while (currentParent) { + if ( + currentParent.type === 'atrule' && + (currentParent as postcss.AtRule).name === atRuleName + ) { + return true; + } + currentParent = currentParent.parent; + } + return false; } export function isInConditionalGroup(node: postcss.Rule | postcss.AtRule, includeRoot = true) { diff --git a/packages/core/test/features/css-class.spec.ts b/packages/core/test/features/css-class.spec.ts index bd25e2eac..5df7d2e06 100644 --- a/packages/core/test/features/css-class.spec.ts +++ b/packages/core/test/features/css-class.spec.ts @@ -1002,6 +1002,27 @@ describe(`features/css-class`, () => { }); }); }); + describe('st-scope', () => { + it('should allow nested global/external selectors anywhere', () => { + const { sheets } = testStylableCore({ + '/external.st.css': ``, + '/valid.st.css': ` + @st-import [root as external] from './external.st.css'; + @st-scope .root { + .external {} + + @media screen and (max-width: 555px) { + .external {} + } + } + `, + }); + + const { meta } = sheets['/valid.st.css']; + + shouldReportNoDiagnostics(meta); + }); + }); describe(`css-pseudo-element`, () => { // ToDo: move to css-pseudo-element spec once feature is created describe(`st-mixin`, () => { diff --git a/packages/core/test/features/css-keyframes.spec.ts b/packages/core/test/features/css-keyframes.spec.ts index 7c60eb301..1829932ba 100644 --- a/packages/core/test/features/css-keyframes.spec.ts +++ b/packages/core/test/features/css-keyframes.spec.ts @@ -149,10 +149,13 @@ describe(`features/css-keyframes`, () => { // ToDo: make sure this is actually testing anything: "from" and "to" wouldn't be namespaces anyhow const { sheets } = testStylableCore(` @keyframes name { - /* @check from */ + /* @rule from */ from {} - /* @check to */ - to {} + /* @rule to */ + to { + /* @rule deep */ + deep {} + } } `); From fa7350734aeccf2b2b0a5a176c6ae2f6527cd2f2 Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Wed, 21 Jun 2023 12:01:48 +0300 Subject: [PATCH 26/81] feat: experimental `@st` structure definition v0 (#2862) --- package-lock.json | 2 + .../directory-process-service.spec.ts | 22 +- packages/core-test-kit/src/index.ts | 1 + packages/core-test-kit/src/spy.ts | 36 + .../test/test-stylable-core.spec.ts | 7 +- packages/core/package.json | 1 + packages/core/src/features/css-class.ts | 82 +- .../core/src/features/css-pseudo-class.ts | 3 +- packages/core/src/features/css-type.ts | 13 +- packages/core/src/features/index.ts | 4 +- .../core/src/features/st-custom-selector.ts | 25 +- packages/core/src/features/st-custom-state.ts | 8 + packages/core/src/features/st-part.ts | 49 - packages/core/src/features/st-structure.ts | 854 ++++++++++++++++++ packages/core/src/helpers/css-value-seeker.ts | 218 +++++ packages/core/src/helpers/custom-state.ts | 73 +- packages/core/src/helpers/resolve.ts | 6 +- packages/core/src/helpers/selector.ts | 3 +- packages/core/src/index-internal.ts | 2 +- packages/core/src/stylable-meta.ts | 10 +- packages/core/src/stylable-processor.ts | 11 + packages/core/src/stylable-resolver.ts | 9 +- packages/core/src/stylable-transformer.ts | 95 +- packages/core/test/diagnostic-codes.spec.ts | 2 + packages/core/test/features/css-class.spec.ts | 114 +-- packages/core/test/features/css-type.spec.ts | 75 +- .../core/test/features/st-structure.spec.ts | 660 ++++++++++++++ packages/core/test/features/st-symbol.spec.ts | 36 +- .../test/intellisense/intellisense.spec.ts | 6 +- packages/core/test/stylable-processor.spec.ts | 10 +- .../transformer.unit.spec.ts | 19 +- .../src/lib/completion-providers.ts | 10 +- .../language-service/src/lib/css-service.ts | 1 + .../lib-new/features/ls-st-import.spec.ts | 24 +- .../lib-new/features/ls-st-structure.spec.ts | 61 ++ 35 files changed, 2239 insertions(+), 313 deletions(-) create mode 100644 packages/core-test-kit/src/spy.ts delete mode 100644 packages/core/src/features/st-part.ts create mode 100644 packages/core/src/features/st-structure.ts create mode 100644 packages/core/src/helpers/css-value-seeker.ts create mode 100644 packages/core/test/features/st-structure.spec.ts create mode 100644 packages/language-service/test/lib-new/features/ls-st-structure.spec.ts diff --git a/package-lock.json b/package-lock.json index 86668bdef..363a95a73 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6925,6 +6925,7 @@ "license": "MIT", "dependencies": { "@tokey/css-selector-parser": "^0.6.1", + "@tokey/css-value-parser": "^0.1.2", "@tokey/imports-parser": "^1.0.0", "balanced-match": "^2.0.0", "css-selector-tokenizer": "^0.8.0", @@ -7729,6 +7730,7 @@ "version": "file:packages/core", "requires": { "@tokey/css-selector-parser": "^0.6.1", + "@tokey/css-value-parser": "^0.1.2", "@tokey/imports-parser": "^1.0.0", "balanced-match": "^2.0.0", "css-selector-tokenizer": "^0.8.0", diff --git a/packages/cli/test/directory-process-service/directory-process-service.spec.ts b/packages/cli/test/directory-process-service/directory-process-service.spec.ts index 6e2fe0558..93a4e3588 100644 --- a/packages/cli/test/directory-process-service/directory-process-service.spec.ts +++ b/packages/cli/test/directory-process-service/directory-process-service.spec.ts @@ -3,21 +3,7 @@ import type { IFileSystem } from '@file-services/types'; import { expect } from 'chai'; import { waitFor } from 'promise-assist'; import { DirectoryProcessService } from '@stylable/cli'; - -function createSpy any>(fn?: T) { - const spy = (...args: any[]) => { - spy.calls.push(args); - spy.callCount++; - return fn?.(...args); - }; - spy.calls = [] as unknown[][]; - spy.callCount = 0; - spy.resetHistory = () => { - spy.calls.length = 0; - spy.callCount = 0; - }; - return spy; -} +import { logCalls } from '@stylable/core-test-kit'; const project1 = { '0.template.js': ` @@ -106,7 +92,7 @@ describe('DirectoryWatchService', () => { }); it('should handle directory added after watch started', async () => { - const changeSpy = createSpy(); + const changeSpy = logCalls(); const watcher = new DirectoryProcessService(fs, { watchMode: true, @@ -234,7 +220,7 @@ describe('DirectoryWatchService', () => { }); it('should report affectedFiles and no changeOrigin when watch started', async () => { - const changeSpy = createSpy(); + const changeSpy = logCalls(); const watcher = new DirectoryProcessService(fs, { watchMode: true, @@ -297,7 +283,7 @@ describe('DirectoryWatchService', () => { }); it('should report change for all files affected by the changeOrigin', async () => { - const changeSpy = createSpy(); + const changeSpy = logCalls(); const watcher = new DirectoryProcessService(fs, { watchMode: true, fileFilter: isTemplateFile, diff --git a/packages/core-test-kit/src/index.ts b/packages/core-test-kit/src/index.ts index 185c78f9c..98318b5e5 100644 --- a/packages/core-test-kit/src/index.ts +++ b/packages/core-test-kit/src/index.ts @@ -30,3 +30,4 @@ export { deindent } from './deindent'; export { MinimalDocument, MinimalElement } from './minimal-dom'; export { createTempDirectorySync, copyDirectory } from './native-temp-dir'; export { assertAtRule, assertComment, assertDecl, assertRule } from './postcss-node-asserts'; +export { spyCalls, logCalls } from './spy'; diff --git a/packages/core-test-kit/src/spy.ts b/packages/core-test-kit/src/spy.ts new file mode 100644 index 000000000..276eddc67 --- /dev/null +++ b/packages/core-test-kit/src/spy.ts @@ -0,0 +1,36 @@ +// type FuncParameters = F extends (...args: any[]) => any ? Parameters : never; + +export const spyCalls = (target: T, funcName: N) => { + const origin = target[funcName]; + + if (typeof origin !== 'function') { + throw new Error('spy only supports functions'); + } + + // proxy + const logFunc = logCalls(origin); + target[funcName] = logFunc as T[N]; + + return { + calls: logFunc.calls, + resetSpy: logFunc.resetHistory, + restoreSpy() { + target[funcName] = origin; + }, + }; +}; + +export function logCalls(fn?: T) { + const spy = (...args: any[]) => { + spy.calls.push(args); + spy.callCount++; + return fn?.(...args); + }; + spy.calls = [] as unknown[][]; + spy.callCount = 0; + spy.resetHistory = () => { + spy.calls.length = 0; + spy.callCount = 0; + }; + return spy; +} diff --git a/packages/core-test-kit/test/test-stylable-core.spec.ts b/packages/core-test-kit/test/test-stylable-core.spec.ts index 92095a80c..8dd9f2d79 100644 --- a/packages/core-test-kit/test/test-stylable-core.spec.ts +++ b/packages/core-test-kit/test/test-stylable-core.spec.ts @@ -9,10 +9,9 @@ describe(`testStylableCore()`, () => { const { meta, exports } = sheets[`/entry.st.css`]; - expect(CSSClass.get(meta, `root`), `meta`).to.contain({ - _kind: `class`, - name: `root`, - }); + expect(CSSClass.get(meta, `root`), `meta`).to.deep.contain( + CSSClass.createSymbol({ name: `root` }) + ); expect(exports.classes.root, `exports.classes`).to.equal(`entry__root`); }); it(`should inline test stylable content`, () => { diff --git a/packages/core/package.json b/packages/core/package.json index 0629529a4..7621d2e40 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -11,6 +11,7 @@ }, "dependencies": { "@tokey/css-selector-parser": "^0.6.1", + "@tokey/css-value-parser": "^0.1.2", "@tokey/imports-parser": "^1.0.0", "balanced-match": "^2.0.0", "css-selector-tokenizer": "^0.8.0", diff --git a/packages/core/src/features/css-class.ts b/packages/core/src/features/css-class.ts index d20e12a93..dd8b31199 100644 --- a/packages/core/src/features/css-class.ts +++ b/packages/core/src/features/css-class.ts @@ -4,7 +4,7 @@ import * as STSymbol from './st-symbol'; import type { StylableSymbol } from './st-symbol'; import type { ImportSymbol } from './st-import'; import type { ElementSymbol } from './css-type'; -import * as STPart from './st-part'; +import type * as STStructure from './st-structure'; import * as STCustomState from './st-custom-state'; import { getOriginDefinition } from '../helpers/resolve'; import { namespace } from '../helpers/namespace'; @@ -20,7 +20,7 @@ import { } from '../helpers/selector'; import { getAlias } from '../stylable-utils'; import type { StylableMeta } from '../stylable-meta'; -import { validateRuleStateDefinition, MappedStates } from '../helpers/custom-state'; +import { validateRuleStateDefinition } from '../helpers/custom-state'; import type { Stylable } from '../stylable'; import { ImmutableClass, @@ -34,10 +34,10 @@ import * as postcss from 'postcss'; import { basename } from 'path'; import { createDiagnosticReporter } from '../diagnostics'; import postcssValueParser from 'postcss-value-parser'; +import { plugableRecord } from '../helpers/plugable-record'; -export interface StPartDirectives { +export interface StPartDirectives extends STStructure.HasParts, Partial { '-st-root'?: boolean; - '-st-states'?: MappedStates; '-st-extends'?: ImportSymbol | ClassSymbol | ElementSymbol; '-st-global'?: SelectorNode[]; } @@ -119,8 +119,27 @@ export const diagnostics = { 'error', (name: string) => `cannot use alias for unknown import "${name}"` ), + DISABLED_DIRECTIVE: createDiagnosticReporter( + '00009', + 'error', + (className: string, directive: keyof typeof stPartDirectives) => { + const alternative = + directive === '-st-extends' + ? ` use "@st .${className} :is(.base)" instead` + : directive === '-st-global' + ? `use "@st .${className} => :global()" instead` + : directive === '-st-states' + ? `use "@st .${className} { @st .state; }" instead` + : ''; + return `cannot use ${directive} on .${className} since class is defined with "@st" - ${alternative}`; + } + ), }; +const dataKey = plugableRecord.key<{ + classesDefinedWithAtSt: Set; +}>('st-structure'); + // HOOKS export const hooks = createFeature<{ @@ -128,6 +147,11 @@ export const hooks = createFeature<{ IMMUTABLE_SELECTOR: ImmutableClass; RESOLVED: Record; }>({ + metaInit({ meta }) { + plugableRecord.set(meta.data, dataKey, { + classesDefinedWithAtSt: new Set(), + }); + }, analyzeSelectorNode({ context, node, rule }): void { if (node.nodes) { // error on functional class @@ -142,7 +166,7 @@ export const hooks = createFeature<{ addClass(context, node.value, rule); }, analyzeDeclaration({ context, decl }) { - if (context.meta.type === 'stylable' && decl.prop in stPartDirectives) { + if (context.meta.type === 'stylable' && isDirectiveDeclaration(decl)) { handleDirectives(context, decl); } }, @@ -201,7 +225,7 @@ export const hooks = createFeature<{ // used to namespace classes from js mixins since js mixins // are scoped in the context of the mixed-in stylesheet // which might not have a definition for the mixed-in class - { _kind: 'css', meta: originMeta, symbol: { _kind: 'class', name: node.value } }, + { _kind: 'css', meta: originMeta, symbol: createSymbol({ name: node.value }) }, ]; selectorContext.setNextSelectorScope(resolved, node, node.value); const { symbol, meta } = getOriginDefinition(resolved); @@ -259,7 +283,12 @@ export function getAll(meta: StylableMeta): Record { return STSymbol.getAllByType(meta, `class`); } -export function addClass(context: FeatureContext, name: string, rule?: postcss.Rule): ClassSymbol { +export function createSymbol(input: Partial & { name: string }): ClassSymbol { + const parts = input['-st-parts'] || {}; + return { ...input, _kind: 'class', '-st-parts': parts }; +} + +export function addClass(context: FeatureContext, name: string, rule?: postcss.Node): ClassSymbol { let symbol = STSymbol.get(context.meta, name, `class`); if (!symbol) { let alias = STSymbol.get(context.meta, name); @@ -268,15 +297,10 @@ export function addClass(context: FeatureContext, name: string, rule?: postcss.R } symbol = STSymbol.addSymbol({ context, - symbol: { - _kind: 'class', - name, - alias, - }, + symbol: createSymbol({ name, alias }), node: rule, safeRedeclare: !!alias, }) as ClassSymbol; - STPart.registerLegacyPart(context.meta, name, { mapTo: symbol }); } // mark native css as global if (context.meta.type === 'css' && !symbol['-st-global']) { @@ -362,6 +386,7 @@ export function createWarningRule( ) { const message = `"class extending component '${extendingNode} => ${scopedExtendingNode}' in stylesheet '${extendingFile}' was set on a node that does not extend '${extendedNode} => ${scopedExtendedNode}' from stylesheet '${extendedFile}'" !important`; return postcss.rule({ + raws: { between: ' ' }, selector: `${scopedExtendingNode}:not(${scopedExtendedNode})::before`, nodes: [ postcss.decl({ @@ -456,7 +481,22 @@ export function checkForScopedNodeAfter( return false; } -function handleDirectives(context: FeatureContext, decl: postcss.Declaration) { +function isDirectiveDeclaration( + decl: postcss.Declaration +): decl is postcss.Declaration & { prop: keyof typeof stPartDirectives } { + return decl.prop in stPartDirectives; +} +export function disableDirectivesForClass(context: FeatureContext, className: string) { + // ToDo: move directive analyze to @st-structure + // called when class is defined with @st + const { classesDefinedWithAtSt } = plugableRecord.getUnsafe(context.meta.data, dataKey); + classesDefinedWithAtSt.add(className); +} + +function handleDirectives( + context: FeatureContext, + decl: postcss.Declaration & { prop: keyof typeof stPartDirectives } +) { const rule = decl.parent as postcss.Rule; if (rule?.type !== 'rule') { return; @@ -466,7 +506,17 @@ function handleDirectives(context: FeatureContext, decl: postcss.Declaration) { return !accType ? type : accType !== type ? `complex` : type; }, `` as (typeof isSimplePerSelector)[number]['type']); const isSimple = type !== `complex`; - if (decl.prop === `-st-states`) { + + const { classesDefinedWithAtSt } = plugableRecord.getUnsafe(context.meta.data, dataKey); + if (type === 'class' && classesDefinedWithAtSt.has(rule.selector.replace('.', ''))) { + context.diagnostics.report( + diagnostics.DISABLED_DIRECTIVE(rule.selector.replace('.', ''), decl.prop), + { + node: decl, + } + ); + return; + } else if (decl.prop === `-st-states`) { if (isSimple && type !== 'type') { extendTypedRule( context, @@ -534,7 +584,7 @@ function handleDirectives(context: FeatureContext, decl: postcss.Declaration) { } } -function extendTypedRule( +export function extendTypedRule( context: FeatureContext, node: postcss.Node, selector: string, diff --git a/packages/core/src/features/css-pseudo-class.ts b/packages/core/src/features/css-pseudo-class.ts index c1c87c2e9..57b66077d 100644 --- a/packages/core/src/features/css-pseudo-class.ts +++ b/packages/core/src/features/css-pseudo-class.ts @@ -1,6 +1,7 @@ import { createFeature } from './feature'; import { nativePseudoClasses } from '../native-reserved-lists'; import * as STCustomState from './st-custom-state'; +import * as CSSType from './css-type'; import { createDiagnosticReporter } from '../diagnostics'; import type { Selector } from '@tokey/css-selector-parser'; import isVendorPrefixed from 'is-vendor-prefixed'; @@ -50,7 +51,7 @@ export const hooks = createFeature({ { _kind: 'css', meta: context.meta, - symbol: { _kind: 'element', name: '*' }, + symbol: CSSType.createSymbol({ name: '*' }), }, ], node diff --git a/packages/core/src/features/css-type.ts b/packages/core/src/features/css-type.ts index c69787cad..50014077a 100644 --- a/packages/core/src/features/css-type.ts +++ b/packages/core/src/features/css-type.ts @@ -65,7 +65,7 @@ export const hooks = createFeature<{ { _kind: 'css', meta: context.meta, - symbol: { _kind: 'element', name: node.value }, + symbol: createSymbol({ name: '*' }), }, ]; } @@ -93,6 +93,11 @@ export function getAll(meta: StylableMeta): Record { return STSymbol.getAllByType(meta, `element`); } +export function createSymbol(input: Partial & { name: string }): ElementSymbol { + const parts = input['-st-parts'] || {}; + return { ...input, _kind: 'element', '-st-parts': parts }; +} + export function addType(context: FeatureContext, name: string, rule?: postcss.Rule): ElementSymbol { const typeSymbol = STSymbol.get(context.meta, name, `element`); if (!typeSymbol && isCompRoot(name)) { @@ -102,11 +107,7 @@ export function addType(context: FeatureContext, name: string, rule?: postcss.Ru } STSymbol.addSymbol({ context, - symbol: { - _kind: 'element', - name, - alias, - }, + symbol: createSymbol({ name, alias }), node: rule, safeRedeclare: !!alias, }); diff --git a/packages/core/src/features/index.ts b/packages/core/src/features/index.ts index 745a20787..81931a363 100644 --- a/packages/core/src/features/index.ts +++ b/packages/core/src/features/index.ts @@ -15,8 +15,6 @@ export * as STScope from './st-scope'; export * as STVar from './st-var'; export type { VarSymbol, ComputedStVar, FlatComputedStVar } from './st-var'; -export * as STPart from './st-part'; - export * as STCustomSelector from './st-custom-selector'; export * as STCustomState from './st-custom-state'; @@ -45,3 +43,5 @@ export * as CSSContains from './css-contains'; export type { ContainerSymbol } from './css-contains'; export * as CSSMedia from './css-media'; + +export * as STStructure from './st-structure'; diff --git a/packages/core/src/features/st-custom-selector.ts b/packages/core/src/features/st-custom-selector.ts index dba1eba29..d09b119ad 100644 --- a/packages/core/src/features/st-custom-selector.ts +++ b/packages/core/src/features/st-custom-selector.ts @@ -6,7 +6,6 @@ import { CustomSelectorMap, } from '../helpers/custom-selector'; import { parseSelectorWithCache } from '../helpers/selector'; -import * as STPart from './st-part'; import * as postcss from 'postcss'; import { SelectorList, stringifySelectorAst } from '@tokey/css-selector-parser'; import type { StylableMeta } from '../stylable-meta'; @@ -20,13 +19,14 @@ export const diagnostics = { ), }; -const dataKey = - plugableRecord.key< - Record< - string, - { selector: string; ast: SelectorList; isScoped: boolean; def: postcss.AtRule } - > - >('st-custom-selector'); +interface AnalyzedCustomSelector { + selector: string; + ast: SelectorList; + isScoped: boolean; + def: postcss.AtRule; +} + +const dataKey = plugableRecord.key>('st-custom-selector'); export const CUSTOM_SELECTOR_RE = /:--[\w-]+/g; @@ -49,7 +49,6 @@ export const hooks = createFeature({ const analyzed = plugableRecord.getUnsafe(context.meta.data, dataKey); const name = customSelector.slice(3); analyzed[name] = { selector, ast, isScoped, def: atRule }; - STPart.registerLegacyPart(context.meta, name, { mapTo: ast }); } else { // TODO: add warn there are two types one is not valid name and the other is empty name. } @@ -122,8 +121,14 @@ export function isScoped(meta: StylableMeta, name: string) { } export function getCustomSelector(meta: StylableMeta, name: string): SelectorList | undefined { + return plugableRecord.getUnsafe(meta.data, dataKey)[name]?.ast; +} +export function getCustomSelectors(meta: StylableMeta) { const analyzed = plugableRecord.getUnsafe(meta.data, dataKey); - return analyzed[name]?.ast; + return Object.entries(analyzed).reduce((acc, [name, { ast }]) => { + acc[name] = ast; + return acc; + }, {} as Record); } export function getCustomSelectorExpended(meta: StylableMeta, name: string): string | undefined { diff --git a/packages/core/src/features/st-custom-state.ts b/packages/core/src/features/st-custom-state.ts index 8dcf77508..2641d3e54 100644 --- a/packages/core/src/features/st-custom-state.ts +++ b/packages/core/src/features/st-custom-state.ts @@ -2,6 +2,7 @@ import { createFeature } from './feature'; import { stateDiagnostics, parsePseudoStates, + parseStateValue, transformPseudoClassToCustomState, booleanStateDelimiter, stateMiddleDelimiter, @@ -12,8 +13,13 @@ import { validationErrors as sysValidationErrors, resolveStateParam, isTemplateState, + MappedStates, } from '../helpers/custom-state'; +export interface HasStates { + '-st-states': MappedStates; +} + export const diagnostics = { ...stateDiagnostics, }; @@ -29,6 +35,7 @@ const delimiters = { }; export { parsePseudoStates, + parseStateValue, transformPseudoClassToCustomState, delimiters, createBooleanStateClassName, @@ -37,4 +44,5 @@ export { sysValidationErrors, resolveStateParam, isTemplateState, + MappedStates, }; diff --git a/packages/core/src/features/st-part.ts b/packages/core/src/features/st-part.ts deleted file mode 100644 index e254483ce..000000000 --- a/packages/core/src/features/st-part.ts +++ /dev/null @@ -1,49 +0,0 @@ -import { createFeature } from './feature'; -// import { createDiagnosticReporter } from '../diagnostics'; -import { plugableRecord } from '../helpers/plugable-record'; -import type { StylableMeta } from '../stylable-meta'; -import type { SelectorList } from '@tokey/css-selector-parser'; -import type { ClassSymbol } from './css-class'; - -export const diagnostics = {}; - -type PartData = { - mapTo: SelectorList | ClassSymbol; -}; -const dataKey = plugableRecord.key<{ - legacyParts: Record; -}>('part'); - -// HOOKS - -export const hooks = createFeature({ - metaInit({ meta }) { - plugableRecord.set(meta.data, dataKey, { legacyParts: {} }); - }, -}); - -// API - -export function registerLegacyPart( - meta: StylableMeta, - name: string, - options: { mapTo: SelectorList | ClassSymbol } -) { - const { legacyParts } = plugableRecord.getUnsafe(meta.data, dataKey); - const isCustomSelector = Array.isArray(options.mapTo); - // register custom selector mapped parts over class - if (!legacyParts[name] || (isCustomSelector && !Array.isArray(legacyParts[name].mapTo))) { - legacyParts[name] = options; - } else { - // report? - } -} -export function getPart(meta: StylableMeta, name: string): PartData | undefined { - const { legacyParts } = plugableRecord.getUnsafe(meta.data, dataKey); - return legacyParts[name]; -} - -export function getPartNames(meta: StylableMeta) { - const { legacyParts } = plugableRecord.getUnsafe(meta.data, dataKey); - return Object.keys(legacyParts); -} diff --git a/packages/core/src/features/st-structure.ts b/packages/core/src/features/st-structure.ts new file mode 100644 index 000000000..b189e8ded --- /dev/null +++ b/packages/core/src/features/st-structure.ts @@ -0,0 +1,854 @@ +import { plugableRecord } from '../helpers/plugable-record'; +import { FeatureContext, createFeature } from './feature'; +import type { StylableMeta } from '../stylable-meta'; +import * as STSymbol from './st-symbol'; +import * as STCustomSelector from './st-custom-selector'; +import * as STCustomState from './st-custom-state'; +import type { MappedStates } from './st-custom-state'; +import * as CSSClass from './css-class'; +import { warnOnce } from '../helpers/deprecation'; +import postcss from 'postcss'; +import { parseCSSValue, stringifyCSSValue, BaseAstNode } from '@tokey/css-value-parser'; +import { parseSelectorWithCache, walkSelector } from '../helpers/selector'; +import { + ImmutableSelector, + stringifySelectorAst, + ImmutablePseudoClass, + ImmutableSelectorList, +} from '@tokey/css-selector-parser'; +import { createDiagnosticReporter } from '../diagnostics'; +import { getAlias } from '../stylable-utils'; +import { + findAnything, + findFatArrow, + findNextClassNode, + findNextPseudoClassNode, + findPseudoElementNode, + isExactLiteral, +} from '../helpers/css-value-seeker'; + +export const diagnostics = { + GLOBAL_MAPPING_LIMITATION: createDiagnosticReporter( + '21000', + 'error', + () => `Currently class mapping is limited to single global selector: :global()` + ), + UNSUPPORTED_TOP_DEF: createDiagnosticReporter( + '21001', + 'error', + () => 'top level @st must start with a class' + ), + MISSING_EXTEND: createDiagnosticReporter( + '21002', + 'error', + () => `missing required class reference to extend a class (e.g. ":is(.class-name)"` + ), + OVERRIDE_IMPORTED_CLASS: createDiagnosticReporter( + '21003', + 'error', + () => `cannot override imported class definition` + ), + STATE_OUT_OF_CONTEXT: createDiagnosticReporter( + '21004', + 'error', + () => 'pseudo-state definition must be directly nested in a `@st .class{}` definition' + ), + // 31005 - unused + MISSING_MAPPED_SELECTOR: createDiagnosticReporter( + '21006', + 'error', + () => `missing mapped selector after "=>"` + ), + MULTI_MAPPED_SELECTOR: createDiagnosticReporter( + '21007', + 'error', + () => + 'mapped selector accepts only a single selector.\nuse `:is()` or `:where()` to map multiple selectors)' + ), + ELEMENT_OUT_OF_CONTEXT: createDiagnosticReporter( + '21008', + 'error', + () => 'pseudo-element definition must be directly nested in a `@st .class{}` definition' + ), + MISSING_MAPPING: createDiagnosticReporter( + '21009', + 'error', + () => 'expected selector mapping (e.g. "=> ")' + ), + REDECLARE: createDiagnosticReporter( + '21010', + 'error', + (type: string, src: string) => `redeclare ${type} definition: "${src}"` + ), + INVALID_ST_DEF: createDiagnosticReporter( + '21011', + 'error', + (params: string) => `invalid @st "${params}" definition` + ), + MAPPING_UNSUPPORTED_NESTING: createDiagnosticReporter( + '21012', + 'error', + () => 'mapped selector can only contain `&` as an initial selector' + ), + UNEXPECTED_EXTRA_VALUE: createDiagnosticReporter( + '21013', + 'error', + (extraValue: string) => `found unexpected extra value definition: "${extraValue}"` + ), + CLASS_OUT_OF_CONTEXT: createDiagnosticReporter( + '21014', + 'error', + () => 'class definition must be top level' + ), +}; + +export interface PartSymbol extends HasParts, STCustomState.HasStates { + _kind: 'part'; + name: string; + id: string; + mapTo: ImmutableSelectorList | CSSClass.ClassSymbol; +} +export interface HasParts { + '-st-parts': Record; +} + +export const experimentalMsg = '[experimental feature] stylable structure (@st): API might change!'; + +const dataKey = plugableRecord.key<{ + isStructureMode: boolean; + analyzedDefs: WeakMap; + analyzedDefToPartSymbol: Map; + declaredClasses: Set; +}>('st-structure'); + +// HOOKS + +export const hooks = createFeature({ + analyzeInit(context) { + const { meta } = context; + if (meta.type !== 'stylable') { + return; + } + const stAtRule = meta.sourceAst.nodes.find((node) => isStAtRule(node)); + if (stAtRule) { + warnOnce(experimentalMsg); + const metaAnalysis = plugableRecord.getUnsafe(context.meta.data, dataKey); + metaAnalysis.isStructureMode = true; + } else { + // set implicit root for legacy mode (root with flat structure) + meta.root = 'root'; + const rootSymbol = CSSClass.addClass(context, 'root'); + rootSymbol[`-st-root`] = true; + } + }, + metaInit({ meta }) { + plugableRecord.set(meta.data, dataKey, { + // default to legacy flat mode + isStructureMode: false, + analyzedDefs: new WeakMap(), + analyzedDefToPartSymbol: new Map(), + declaredClasses: new Set(), + }); + }, + analyzeAtRule({ context, atRule, analyzeRule }) { + if (!isStAtRule(atRule) || context.meta.type !== 'stylable') { + return; + } + + const { analyzedDefToPartSymbol, declaredClasses } = plugableRecord.getUnsafe( + context.meta.data, + dataKey + ); + const analyzed = analyzeStAtRule(atRule, context); + if (!analyzed) { + // not valid + } else if (analyzed.type === 'topLevelClass') { + declaredClasses.add(analyzed.name); + CSSClass.addClass(context, analyzed.name, atRule); + CSSClass.disableDirectivesForClass(context, analyzed.name); + // extend class + if (analyzed.extendedClass) { + const extendedSymbol = + CSSClass.get(context.meta, analyzed.extendedClass) || + CSSClass.addClass(context, analyzed.extendedClass); + CSSClass.extendTypedRule( + context, + atRule, + '.' + analyzed.name, + '-st-extends', + getAlias(extendedSymbol) || extendedSymbol + ); + } + // class mapping + if (analyzed.mappedSelector) { + // ToDo: support non global mapping + const globalNode = findGlobalPseudo(analyzed); + if (globalNode && globalNode.nodes?.length === 1) { + const mappedSelectorAst = globalNode.nodes[0]; + // analyze mapped selector + analyzeRule( + postcss.rule({ + selector: stringifySelectorAst(mappedSelectorAst), + source: atRule.source, + }), + { + isScoped: false, + originalNode: atRule, + } + ); + // register global mapping to class + CSSClass.extendTypedRule( + context, + atRule, + analyzed.name, + '-st-global', + mappedSelectorAst.nodes + ); + } + } + } else if (analyzed.type === 'part') { + const parentSymbol = getPartParentSymbol(context, analyzed, analyzedDefToPartSymbol); + if (!parentSymbol) { + // unreachable: assuming analyzing @st definitions dfs - class/part must be defined + context.diagnostics.report(diagnostics.ELEMENT_OUT_OF_CONTEXT(), { + node: atRule, + }); + return; + } + const partName = analyzed.name; + // check re-declare + if (getPart(parentSymbol, partName)) { + const srcWord = '::' + partName; + context.diagnostics.report(diagnostics.REDECLARE('pseudo-element', srcWord), { + node: atRule, + word: srcWord, + }); + return; + } + // analyze mapped selector + analyzeRule( + postcss.rule({ + selector: stringifySelectorAst(analyzed.mappedSelector), + source: atRule.source, + }), + { + isScoped: true, + originalNode: atRule, + } + ); + // register part mapping to parent definition + const partSymbol = setPart(parentSymbol, getSymbolId(parentSymbol), partName, [ + analyzed.mappedSelector, + ]); + analyzedDefToPartSymbol.set(analyzed, partSymbol); + } else if (analyzed.type === 'state') { + const parentSymbol = + analyzed.parentAnalyze.type === 'topLevelClass' + ? CSSClass.get(context.meta, analyzed.parentAnalyze.name) + : analyzedDefToPartSymbol.get(analyzed.parentAnalyze); + if (!parentSymbol) { + // unreachable: assuming analyzing @st definitions dfs - class/part must be defined + context.diagnostics.report(diagnostics.STATE_OUT_OF_CONTEXT(), { + node: atRule, + }); + return; + } + const mappedStates = (parentSymbol['-st-states'] ||= {}); + const stateName = analyzed.name; + if (mappedStates[stateName]) { + // first state definition wins + const srcWord = ':' + stateName; + context.diagnostics.report(diagnostics.REDECLARE('pseudo-state', srcWord), { + node: atRule, + word: srcWord, + }); + return; + } + mappedStates[stateName] = analyzed.stateDef; + } + }, + analyzeDone({ meta }) { + const { isStructureMode } = plugableRecord.getUnsafe(meta.data, dataKey); + if (meta.type === 'stylable' && !isStructureMode) { + // legacy flat mode: + // classes and custom-selectors are registered as .root pseudo-elements + const customSelectors = STCustomSelector.getCustomSelectors(meta); + const classes = CSSClass.getAll(meta); + const rootClass = classes['root']!; + const rootId = getSymbolId(rootClass); + // custom-selector definition precedence over class definition + for (const [partName, mapTo] of Object.entries(customSelectors)) { + setPart(rootClass, rootId, partName, mapTo); + } + for (const [className, classSymbol] of Object.entries(classes)) { + if (className === 'root' || customSelectors[className]) { + continue; + } + setPart(rootClass, rootId, className, classSymbol); + } + } + }, +}); + +// API + +function isStAtRule(node: postcss.AnyNode): node is postcss.AtRule { + return node?.type === 'atrule' && node.name === 'st'; +} + +function getPartParentSymbol( + context: FeatureContext, + { parentAnalyze }: ParsedStPart, + analyzedDefToPartSymbol: Map +) { + return parentAnalyze.type === 'topLevelClass' + ? CSSClass.get(context.meta, parentAnalyze.name) + : analyzedDefToPartSymbol.get(parentAnalyze); +} + +export function isStructureMode(meta: StylableMeta) { + return plugableRecord.getUnsafe(meta.data, dataKey).isStructureMode; +} + +export function createPartSymbol( + input: Partial & Pick +): PartSymbol { + const parts = input['-st-parts'] || {}; + const states = input['-st-states'] || {}; + return { ...input, _kind: 'part', '-st-parts': parts, '-st-states': states }; +} + +export function setPart( + symbol: HasParts, + parentId: string, + partName: string, + mapTo: PartSymbol['mapTo'] +) { + const partSymbol = createPartSymbol({ + name: partName, + id: parentId + '::' + partName, + mapTo, + }); + symbol['-st-parts'][partName] = partSymbol; + return partSymbol; +} + +export function getParts(symbol: HasParts) { + return symbol['-st-parts']; +} + +export function getPart(symbol: HasParts, name: string): PartSymbol | undefined { + return symbol['-st-parts'][name]; +} + +export function getPartNames(symbol: HasParts) { + return Object.keys(symbol['-st-parts']); +} + +function getSymbolId(symbol: CSSClass.ClassSymbol | PartSymbol) { + return symbol._kind === 'class' ? '.' + symbol.name : symbol.id; +} + +type ParsedStClass = { + type: 'topLevelClass'; + params: BaseAstNode[]; + match: boolean; + ranges: Record<'class' | 'extend' | 'mapArrow' | 'mapTo' | 'leftoverValue', BaseAstNode[]>; + name: string; + extendedClass?: string; + mappedSelector?: ImmutableSelector; +}; + +interface ParsedStPart { + type: 'part'; + params: BaseAstNode[]; + match: boolean; + ranges: Record<'pseudoElement' | 'mapArrow' | 'mapTo' | 'leftoverValue', BaseAstNode[]>; + name: string; + parentAnalyze: ParsedStClass | ParsedStPart; + mappedArrow: boolean; + mappedSelector: ImmutableSelector; +} + +interface ParsedStState { + type: 'state'; + params: BaseAstNode[]; + match: boolean; + ranges: Record<'leftoverValue', BaseAstNode[]>; + name: string; + parentAnalyze: ParsedStClass | ParsedStPart; + stateDef: MappedStates[string]; +} + +function isMatch(result: any): result is AnalyzedStDef { + return result.match; +} + +type AnalyzedStDef = ParsedStClass | ParsedStPart | ParsedStState; +function analyzeStAtRule( + atRule: postcss.AtRule, + context: FeatureContext +): AnalyzedStDef | undefined { + // cache + const { analyzedDefs } = plugableRecord.getUnsafe(context.meta.data, dataKey); + if (analyzedDefs.has(atRule)) { + return analyzedDefs.get(atRule); + } + // parse + const params = parseCSSValue(atRuleFullParams(atRule)); + + const def = + params.length === 0 + ? undefined + : parseClassDefinition(atRule, params) || + parsePseudoElementDefinition(context, atRule, params) || + parseStateDefinition(context, atRule, params); + + if (!def) { + if (atRule.parent?.type === 'root') { + context.diagnostics.report(diagnostics.UNSUPPORTED_TOP_DEF(), { + node: atRule, + }); + } else { + context.diagnostics.report(diagnostics.INVALID_ST_DEF(atRule.params), { + node: atRule, + }); + } + return; + } + + // validate + switch (def.type) { + case 'topLevelClass': { + if (!validateTopLevelClass({ def, atRule, context })) { + return; + } + break; + } + case 'part': { + if (!validatePart({ def, atRule, context })) { + return; + } + break; + } + case 'state': { + if (!validateState({ def, atRule, context })) { + return; + } + break; + } + } + if (!isMatch(def)) { + return; + } + + analyzedDefs.set(atRule, def); + return def; +} + +function validateTopLevelClass({ + def, + atRule, + context, +}: { + def: Partial; + atRule: postcss.AtRule; + context: FeatureContext; +}) { + const { declaredClasses } = plugableRecord.getUnsafe(context.meta.data, dataKey); + if (!def.ranges || !def.params) { + // should always be provided by parser + return false; + } + if (!def.name) { + // ToDo: fix type to have name required + return false; + } + if (def.ranges.extend.length && !def.extendedClass) { + context.diagnostics.report(diagnostics.MISSING_EXTEND(), { + node: atRule, + word: stringifyCSSValue(def.ranges.extend), + }); + } + if (def.ranges.leftoverValue.find((node) => node.type !== 'comment' && node.type !== 'space')) { + const unexpectedValue = stringifyCSSValue(def.ranges.leftoverValue).trim(); + context.diagnostics.report(diagnostics.UNEXPECTED_EXTRA_VALUE(unexpectedValue), { + node: atRule, + word: unexpectedValue, + }); + return false; + } + if (atRule.parent?.type !== 'root') { + context.diagnostics.report(diagnostics.CLASS_OUT_OF_CONTEXT(), { + node: atRule, + }); + return false; + } + const existingSymbol = STSymbol.get(context.meta, def.name); + if (existingSymbol?._kind === 'import') { + context.diagnostics.report(diagnostics.OVERRIDE_IMPORTED_CLASS(), { + node: atRule, + }); + return false; + } + if (declaredClasses.has(def.name)) { + // ToDo: use st-symbol redeclare api; improve st-symbol/css-class "final" marking and diagnostics + const srcWord = '.' + def.name; + context.diagnostics.report(diagnostics.REDECLARE('class', srcWord), { + node: atRule, + word: srcWord, + }); + return false; + } + if (def.ranges.mapArrow.length) { + if (!def.mappedSelector) { + // report missing selector + const arrowEnd = def.ranges.mapArrow[def.ranges.mapArrow.length - 1]; + for (let i = def.params.length - 1; i >= 0; i--) { + const node = def.params[i]; + if (node === arrowEnd) { + break; + } else if (isExactLiteral(node, ',')) { + context.diagnostics.report(diagnostics.MULTI_MAPPED_SELECTOR(), { + node: atRule, + }); + return false; + } + } + context.diagnostics.report(diagnostics.MISSING_MAPPED_SELECTOR(), { + node: atRule, + }); + return false; + } + const globalNode = findGlobalPseudo(def, true); + if (!globalNode || !globalNode.nodes || globalNode.nodes.length !== 1) { + context.diagnostics.report(diagnostics.GLOBAL_MAPPING_LIMITATION(), { + node: atRule, + word: stringifySelectorAst(def.mappedSelector).trim(), + }); + return false; + } + } + return true; +} +function validatePart({ + def, + atRule, + context, +}: { + def: Partial; + atRule: postcss.AtRule; + context: FeatureContext; +}) { + if (!def.parentAnalyze) { + context.diagnostics.report(diagnostics.ELEMENT_OUT_OF_CONTEXT(), { + node: atRule, + }); + return false; + } + if (!def.mappedSelector) { + if (!def.mappedArrow) { + context.diagnostics.report(diagnostics.MISSING_MAPPING(), { + node: atRule, + }); + return false; + } + // report missing selector + const arrowEnd = def.ranges!.mapArrow[def.ranges!.mapArrow.length - 1]; + for (let i = def.params!.length - 1; i >= 0; i--) { + const node = def.params![i]; + if (node === arrowEnd) { + break; + } else if (isExactLiteral(node, ',')) { + context.diagnostics.report(diagnostics.MULTI_MAPPED_SELECTOR(), { + node: atRule, + }); + return false; + } + } + context.diagnostics.report(diagnostics.MISSING_MAPPED_SELECTOR(), { + node: atRule, + }); + return false; + } + if (validateNestingInMapping(def.mappedSelector, context, atRule)) { + return false; + } + return true; +} +function validateState({ + def, + atRule, + context, +}: { + def: Partial; + atRule: postcss.AtRule; + context: FeatureContext; +}) { + if (!def.parentAnalyze) { + context.diagnostics.report(diagnostics.STATE_OUT_OF_CONTEXT(), { + node: atRule, + }); + return false; + } + const [amountToActualValue] = findAnything(def.ranges!.leftoverValue, 0); + if (amountToActualValue) { + const unexpectedValue = stringifyCSSValue(def.ranges!.leftoverValue).trim(); + context.diagnostics.report(diagnostics.UNEXPECTED_EXTRA_VALUE(unexpectedValue), { + node: atRule, + word: unexpectedValue, + }); + return false; + } + + return true; +} +function findGlobalPseudo(def: Partial, checkAfter = false) { + if (!def.mappedSelector) { + return; + } + let globalNode: ImmutablePseudoClass | undefined = undefined; + let foundUnexpectedSelector = false; + for (const node of def.mappedSelector.nodes) { + if (node.type === 'pseudo_class' && node.value === 'global' && !globalNode) { + globalNode = node; + if (!checkAfter) { + break; + } + } else if (node.type !== 'comment') { + foundUnexpectedSelector = true; + } + } + return foundUnexpectedSelector ? undefined : globalNode; +} + +function parseStateDefinition( + context: FeatureContext, + atRule: postcss.AtRule, + params: BaseAstNode[] +) { + const result: Partial = { + type: 'state', + params, + match: true, + ranges: { leftoverValue: [] }, + }; + + let index = 0; + + const { analyzedDefs } = plugableRecord.getUnsafe(context.meta.data, dataKey); // name + const [amountToName, nameNode] = findNextPseudoClassNode(params, 0); + if (nameNode) { + result.name = nameNode.value; + } else { + // not a pseudo-state definition + return; + } + index += amountToName; + // parent + const parentRule = atRule.parent; + const parentAnalyze = parentRule && analyzedDefs.get(parentRule as any); + if ( + parentAnalyze && + (parentAnalyze.type === 'topLevelClass' || parentAnalyze.type === 'part') + ) { + result.parentAnalyze = parentAnalyze; + } + // state + const [amountToStateDef, stateDef] = STCustomState.parseStateValue( + params.slice(index - 1), + atRule, + context.diagnostics + ); + if (stateDef !== undefined) { + index += amountToStateDef; + result.stateDef = stateDef; + } else { + result.match = false; + } + // leftover + const amountTaken = index - 1; + result.ranges!.leftoverValue.push(...params.slice(amountTaken)); + const [amountToUnexpected] = findAnything(params, index); + if (amountToUnexpected) { + result.match = false; + } + return result; +} + +function parsePseudoElementDefinition( + context: FeatureContext, + atRule: postcss.AtRule, + params: BaseAstNode[] +) { + const { analyzedDefs } = plugableRecord.getUnsafe(context.meta.data, dataKey); + const result: Partial = { + type: 'part', + params, + match: true, + name: '', + ranges: { pseudoElement: [], mapArrow: [], mapTo: [], leftoverValue: [] }, + }; + + let index = 0; + + // collect pseudo element name + const [amountToName, nameNode, nameInspectAmount] = findPseudoElementNode(params, 0); + result.ranges!.pseudoElement.push(...params.slice(index, index + nameInspectAmount)); + index += amountToName; + if (nameNode) { + result.name = nameNode.value; + } else { + // not a pseudo-element definition + return false; + } + // get symbol to extend + const parentRule = atRule.parent; + const parentAnalyze = parentRule && analyzedDefs.get(parentRule as any); + if (parentAnalyze?.type === 'topLevelClass' || parentAnalyze?.type === 'part') { + result.parentAnalyze = parentAnalyze; + } + // collect mapped selector + const [amountToMapping, mappingOpenNode, mapArrowInspectAmount] = findFatArrow(params, index, { + stopOnFail: false, + }); + result.ranges!.mapArrow.push(...params.slice(index, index + mapArrowInspectAmount)); + index += amountToMapping; + if (mappingOpenNode) { + result.mappedArrow = true; + // selector + result.ranges!.mapTo.push(...params.slice(index)); + index = params.length - 1; + const selectorStr = atRuleFullParams(atRule).slice(mappingOpenNode.end); + const mappedSelectors = parseSelectorWithCache(selectorStr.trim()); + const filteredSelector = + mappedSelectors.length === 1 && filterCommentsAndSpaces(mappedSelectors[0]); + if (filteredSelector && filteredSelector.nodes.length) { + result.mappedSelector = filteredSelector; + } + } else { + result.match = false; + } + // check unexpected extra + result.ranges!.leftoverValue.push(...params.slice(index + 1)); + + return result; +} + +function parseClassDefinition(atRule: postcss.AtRule, params: BaseAstNode[]) { + const result: ParsedStClass = { + type: 'topLevelClass', + params, + match: true, + ranges: { class: [], extend: [], mapArrow: [], mapTo: [], leftoverValue: [] }, + name: '', + }; + + let index = 0; + // top level class + const [amountToClass, classNameNode, classInspectedAmount] = findNextClassNode(params, index, { + stopOnFail: true, + }); + result.ranges.class.push(...params.slice(index, index + classInspectedAmount)); + index += amountToClass; + if (classNameNode) { + result.name = classNameNode.value; + } else { + // not a class definition + return false; + } + // collect extends class + const [amountToExtends, extendsNode, extendInspectAmount] = findNextPseudoClassNode( + params, + index, + { + name: 'is', + stopOnFail: true, + stopOnMatch: (_node, index, nodes) => { + const [amountToFatArrow] = findFatArrow(nodes, index, { stopOnFail: true }); + return amountToFatArrow > 0; + }, + } + ); + if (extendsNode) { + result.ranges.extend.push(...params.slice(index, index + extendInspectAmount)); + index += amountToExtends; + if (extendsNode.type === 'call') { + const [amountToExtendedClass, nameNode] = findNextClassNode(extendsNode.args, 0, { + stopOnFail: true, + }); + if (amountToExtendedClass) { + index += amountToExtends; + // check leftover nodes + const [amountToUnexpectedNode] = findAnything( + extendsNode.args, + amountToExtendedClass + ); + if (!amountToUnexpectedNode) { + result.extendedClass = nameNode!.value; + } + } + } + } + // collect mapped selector + const [amountToMapping, mappingOpenNode, mapArrowInspectAmount] = findFatArrow(params, index, { + stopOnFail: false, + }); + if (mappingOpenNode) { + result.ranges.mapArrow.push(...params.slice(index, index + mapArrowInspectAmount)); + index += amountToMapping; + // selector + result.ranges.mapTo.push(...params.slice(index)); + index = params.length; + const selectorStr = atRuleFullParams(atRule).slice(mappingOpenNode.end); + const mappedSelectors = parseSelectorWithCache(selectorStr); + const filteredSelector = + mappedSelectors.length === 1 && filterCommentsAndSpaces(mappedSelectors[0]); + if (filteredSelector && filteredSelector.nodes.length) { + result.mappedSelector = filteredSelector; + } + } + // unexpected extra value + result.ranges.leftoverValue.push(...params.slice(index)); + + return result; +} + +function validateNestingInMapping( + selector: ImmutableSelector, + context: FeatureContext, + atRule: postcss.AtRule +) { + // check for unsupported & anywhere except first + let invalid = false; + let passedActualSelector = false; + walkSelector(selector, (node) => { + if (passedActualSelector && node.type === 'nesting') { + context.diagnostics.report(diagnostics.MAPPING_UNSUPPORTED_NESTING(), { + node: atRule, + }); + invalid = true; + return walkSelector.stopAll; + } else if (node.type !== 'comment' && node.type !== 'selector') { + passedActualSelector = true; + } + return; + }); + return invalid; +} + +function atRuleFullParams(atRule: postcss.AtRule) { + const afterName = atRule.raws.afterName || ''; + const between = atRule.raws.between || ''; + return afterName + atRule.params + between; +} + +function filterCommentsAndSpaces(selector: ImmutableSelector) { + const filteredSelector: ImmutableSelector = { + ...selector, + after: '', + before: '', + nodes: selector.nodes.filter((node) => node.type !== 'comment'), + }; + return filteredSelector; +} diff --git a/packages/core/src/helpers/css-value-seeker.ts b/packages/core/src/helpers/css-value-seeker.ts new file mode 100644 index 000000000..508733275 --- /dev/null +++ b/packages/core/src/helpers/css-value-seeker.ts @@ -0,0 +1,218 @@ +import type { BaseAstNode, Call, CustomIdent, Literal } from '@tokey/css-value-parser'; + +export interface FindAstOptions { + stopOnFail: boolean; + ignoreWhitespace: boolean; + ignoreComments: boolean; + stopOnMatch?: (node: BaseAstNode, index: number, nodes: BaseAstNode[]) => boolean; + name?: string; +} + +type FindAstResult = [ + takenNodeAmount: number, + matchedNode: T | undefined, + inspectedAmount: number +]; + +export function findAnything( + value: BaseAstNode[], + startIndex: number, + options?: Partial +) { + return findValueAstNode(value, startIndex, () => true, options); +} + +export function findFatArrow( + value: BaseAstNode[], + startIndex: number, + options?: Partial +): FindAstResult' }> { + const [amountToEql, _eqlNode, eqlNodeInspectAmount] = findLiteral(value, startIndex, { + ...options, + name: '=', + }); + if (amountToEql) { + const nextNode = value[startIndex + amountToEql]; + if (isExactLiteral(nextNode, '>')) { + return [amountToEql + 1, nextNode, amountToEql + 1]; + } + } + return [0, undefined, eqlNodeInspectAmount]; +} +export function isExactLiteral( + token: BaseAstNode, + name: T +): token is Literal & { value: '>' } { + return token && token.type === 'literal' && token.value === name; +} +export function findNextClassNode( + value: BaseAstNode[], + startIndex: number, + options?: Partial +): FindAstResult { + const name = options?.name || ''; + let index = startIndex; + while (index < value.length) { + const [amountToDot, _dotNode] = findLiteral(value, index, { ...options, name: '.' }); + if (amountToDot) { + index += amountToDot; + const [amountToName, nameNode] = findCustomIdent(value, index, { + name, + stopOnFail: true, + }); + if (amountToName) { + return [amountToDot + amountToName, nameNode, index - startIndex + 1]; + } + } + if (options?.stopOnFail) { + break; + } + index++; + } + return [0, undefined, value.length - startIndex]; +} +export function findNextPseudoClassNode( + value: BaseAstNode[], + startIndex: number, + options?: Partial +): FindAstResult { + const name = options?.name || ''; + let index = startIndex; + while (index < value.length) { + const [amountToColon] = findLiteral(value, index, { ...options, name: ':' }); + if (amountToColon) { + index += amountToColon; + const nameOptions: FindAstOptions = { + name, + stopOnFail: true, + ignoreComments: true, + ignoreWhitespace: false, + }; + const [amountToName, nameNode] = findCustomIdent(value, index, nameOptions); + + if (amountToName) { + return [amountToColon + amountToName, nameNode, index - startIndex + 1]; + } else { + const [amountToCall, callNode] = findNextCallNode(value, index, nameOptions); + if (amountToCall) { + return [amountToColon + amountToCall, callNode, index - startIndex + 1]; + } else { + break; + } + } + } else if (options?.stopOnFail) { + break; + } else { + index++; + } + } + return [0, undefined, value.length - startIndex]; +} + +export function findPseudoElementNode( + value: BaseAstNode[], + startIndex: number, + options?: Partial +): FindAstResult { + let index = startIndex; + while (index < value.length) { + // first colon + const [amountToColon] = findLiteral(value, index, { ...options, name: ':' }); // second colon + if (amountToColon) { + index += amountToColon; // name + const [amountToSecondColon] = findLiteral(value, index, { + ...options, + name: ':', + stopOnFail: true, + ignoreWhitespace: false, + }); + if (amountToSecondColon) { + index += amountToSecondColon; + const [amountToName, nameNode] = findCustomIdent(value, index, { + ...options, + stopOnFail: true, + }); + if (nameNode) { + return [ + index - startIndex + amountToName, + nameNode, + index - startIndex + amountToName, + ]; + } + } + } + if (options?.stopOnFail) { + break; + } + index++; + } + return [0, undefined, index - startIndex]; +} + +export function findLiteral( + value: BaseAstNode[], + startIndex: number, + options?: Partial +): FindAstResult { + const name = options?.name || ''; + return findValueAstNode( + value, + startIndex, + (node) => node.type === 'literal' && (!name || node.value === name), + options + ); +} +export function findCustomIdent( + value: BaseAstNode[], + startIndex: number, + options?: Partial +): FindAstResult { + const name = options?.name || ''; + return findValueAstNode( + value, + startIndex, + (node) => node.type === '' && (!name || node.value === name), + options + ); +} +export function findNextCallNode( + value: BaseAstNode[], + startIndex: number, + options?: Partial +): FindAstResult { + const name = options?.name || ''; + return findValueAstNode( + value, + startIndex, + (node) => node.type === 'call' && (!name || node.value === name), + options + ); +} + +export function findValueAstNode( + valueAst: BaseAstNode[], + startIndex: number, + check: (node: BaseAstNode) => boolean, + { + stopOnFail = true, + ignoreWhitespace = true, + ignoreComments = true, + stopOnMatch, + }: Partial = {} +): FindAstResult { + let index = startIndex; + while (index < valueAst.length) { + const node = valueAst[index]; + if (ignoreComments && node.type === 'comment') { + // continue; + } else if (ignoreWhitespace && node.type === 'space') { + // continue; + } else if (check(node)) { + return [index - startIndex + 1, node as T, index - startIndex + 1]; + } else if (stopOnFail || stopOnMatch?.(node, index, valueAst)) { + break; + } + index++; + } + return [0, undefined, index - startIndex]; +} diff --git a/packages/core/src/helpers/custom-state.ts b/packages/core/src/helpers/custom-state.ts index 817af0f3e..345825a3c 100644 --- a/packages/core/src/helpers/custom-state.ts +++ b/packages/core/src/helpers/custom-state.ts @@ -21,6 +21,8 @@ import type { StylableResolver } from '../stylable-resolver'; import type { ParsedValue } from '../types'; import { CSSClass } from '../features'; import { reservedFunctionalPseudoClasses } from '../native-reserved-lists'; +import { BaseAstNode, stringifyCSSValue } from '@tokey/css-value-parser'; +import { findCustomIdent, findNextCallNode } from './css-value-seeker'; export interface MappedStates { [s: string]: StateParsedValue | string | TemplateStateParsedValue | null; @@ -167,17 +169,8 @@ export function parsePseudoStates( statesSplitByComma.forEach((workingState: ParsedValue[]) => { const [stateDefinition, ...stateDefault] = workingState; - - if (stateDefinition.value.startsWith('-')) { - diagnostics.report(stateDiagnostics.STATE_STARTS_WITH_HYPHEN(stateDefinition.value), { - node: decl, - word: stateDefinition.value, - }); - } else if (reservedFunctionalPseudoClasses.includes(stateDefinition.value)) { - diagnostics.report(stateDiagnostics.RESERVED_NATIVE_STATE(stateDefinition.value), { - node: decl, - word: stateDefinition.value, - }); + const stateName = stateDefinition.value; + if (!validateStateName(stateName, diagnostics, decl)) { return; } @@ -198,6 +191,64 @@ export function parsePseudoStates( return mappedStates; } +function validateStateName(name: string, diagnostics: Diagnostics, node: postcss.Node) { + if (name.startsWith('-')) { + diagnostics.report(stateDiagnostics.STATE_STARTS_WITH_HYPHEN(name), { + node: node, + word: name, + }); + } else if (reservedFunctionalPseudoClasses.includes(name)) { + diagnostics.report(stateDiagnostics.RESERVED_NATIVE_STATE(name), { + node: node, + word: name, + }); + return false; + } + return true; +} +export function parseStateValue( + value: BaseAstNode[], + node: postcss.Node, + diagnostics: Diagnostics +): [amountTaken: number, stateDef: MappedStates[string] | undefined] { + let stateName = ''; + let stateDef: MappedStates[string] = null; /*boolean*/ + let amountTaken = 0; + const customIdentResult = findCustomIdent(value, 0); + const [amountToName, nameNode] = customIdentResult[0] + ? customIdentResult + : findNextCallNode(value, 0); + if (nameNode && validateStateName(nameNode.value, diagnostics, node)) { + amountTaken += amountToName; + stateName = nameNode.value; + // state with parameter + if (nameNode.type === 'call') { + // take all of the definition since default value takes the rest + amountTaken = value.length; + // ToDo: translate resolveStateType to tokey and remove the double parsing + const postcssStateValue = postcssValueParser( + stringifyCSSValue(value.slice(amountToName - 1)) + ); + // get state definition + const [stateDefinition, ...stateDefault] = postcssStateValue.nodes; + const stateMap: MappedStates = {}; + resolveStateType( + stateDefinition as FunctionNode, + stateMap, + stateDefault, + diagnostics, + node as postcss.Declaration // ToDo: change to accept any postcss node + ); + if (stateMap[stateName]) { + stateDef = stateMap[stateName]; + } + } + } + if (stateName) { + return [amountTaken, stateDef]; + } + return [0, undefined]; +} function resolveBooleanState(mappedStates: MappedStates, stateDefinition: ParsedValue) { const currentState = mappedStates[stateDefinition.value]; if (!currentState) { diff --git a/packages/core/src/helpers/resolve.ts b/packages/core/src/helpers/resolve.ts index 4eb33a426..1fcb17594 100644 --- a/packages/core/src/helpers/resolve.ts +++ b/packages/core/src/helpers/resolve.ts @@ -1,7 +1,9 @@ -import type { ClassSymbol, ElementSymbol } from '../features'; +import type { ClassSymbol, ElementSymbol, STStructure } from '../features'; import type { CSSResolve } from '../stylable-resolver'; -export function getOriginDefinition(resolved: Array>) { +export function getOriginDefinition( + resolved: CSSResolve[] +) { for (const r of resolved) { const { symbol } = r; if (symbol._kind === 'class' || symbol._kind === 'element') { diff --git a/packages/core/src/helpers/selector.ts b/packages/core/src/helpers/selector.ts index 60553b336..6e7e6d067 100644 --- a/packages/core/src/helpers/selector.ts +++ b/packages/core/src/helpers/selector.ts @@ -10,6 +10,7 @@ import { Class, Attribute, Invalid, + ImmutableSelector, ImmutableSelectorList, ImmutableSelectorNode, Combinator, @@ -45,7 +46,7 @@ export function parseSelectorWithCache( : (cachedValue as ImmutableSelectorList); } -export function cloneSelector(s: T): T { +export function cloneSelector(s: T): T { return cloneDeep(s); } diff --git a/packages/core/src/index-internal.ts b/packages/core/src/index-internal.ts index d4a280722..b8361725e 100644 --- a/packages/core/src/index-internal.ts +++ b/packages/core/src/index-internal.ts @@ -15,7 +15,6 @@ export { STImport, STGlobal, STNamespace, - STPart, STCustomSelector, STCustomState, CSSClass, @@ -24,6 +23,7 @@ export { CSSLayer, CSSContains, CSSCustomProperty, + STStructure, } from './features'; export type { MappedStates, diff --git a/packages/core/src/stylable-meta.ts b/packages/core/src/stylable-meta.ts index a8da81018..b96538995 100644 --- a/packages/core/src/stylable-meta.ts +++ b/packages/core/src/stylable-meta.ts @@ -12,7 +12,6 @@ import { STGlobal, STScope, STVar, - STPart, STCustomSelector, STCustomState, STMixin, @@ -23,6 +22,7 @@ import { CSSKeyframes, CSSLayer, CSSContains, + STStructure, } from './features'; const features = [ @@ -32,7 +32,6 @@ const features = [ STGlobal, STScope, STVar, - STPart, STCustomSelector, STCustomState, STMixin, @@ -43,6 +42,7 @@ const features = [ CSSKeyframes, CSSLayer, CSSContains, + STStructure, ]; export class StylableMeta { @@ -67,12 +67,6 @@ export class StylableMeta { for (const { hooks } of features) { hooks.metaInit(context); } - // set default root - if (this.type === 'stylable') { - this.root = 'root'; - const rootSymbol = CSSClass.addClass(context, 'root'); - rootSymbol[`-st-root`] = true; - } } getSymbol(name: string) { return STSymbol.get(this, name); diff --git a/packages/core/src/stylable-processor.ts b/packages/core/src/stylable-processor.ts index 937cd57f3..a5f2f8b30 100644 --- a/packages/core/src/stylable-processor.ts +++ b/packages/core/src/stylable-processor.ts @@ -16,6 +16,7 @@ import { CSSKeyframes, CSSLayer, CSSContains, + STStructure, } from './features'; import { processDeclarationFunctions } from './process-declaration-functions'; import { @@ -35,6 +36,7 @@ export class StylableProcessor implements FeatureContext { public process(root: postcss.Root): StylableMeta { this.meta = new StylableMeta(root, this.diagnostics); + STStructure.hooks.analyzeInit(this); STImport.hooks.analyzeInit(this); CSSCustomProperty.hooks.analyzeInit(this); @@ -65,6 +67,7 @@ export class StylableProcessor implements FeatureContext { this.collectUrls(decl); }); STCustomSelector.hooks.analyzeDone(this); + STStructure.hooks.analyzeDone(this); STNamespace.setMetaNamespace(this, this.resolveNamespace); @@ -161,6 +164,14 @@ export class StylableProcessor implements FeatureContext { }); break; } + case 'st': { + STStructure.hooks.analyzeAtRule({ + context: this, + atRule, + analyzeRule, + }); + break; + } } }); } diff --git a/packages/core/src/stylable-resolver.ts b/packages/core/src/stylable-resolver.ts index 13b51aff0..a0d26b046 100644 --- a/packages/core/src/stylable-resolver.ts +++ b/packages/core/src/stylable-resolver.ts @@ -18,6 +18,7 @@ import { CSSKeyframes, CSSLayer, CSSContains, + STStructure, } from './features'; import type { StylableTransformer } from './stylable-transformer'; import { findRule } from './helpers/rule'; @@ -64,7 +65,7 @@ export type CachedModuleEntity = export type StylableResolverCache = Map; -export interface CSSResolve { +export interface CSSResolve { _kind: 'css'; symbol: T; meta: StylableMeta; @@ -361,11 +362,7 @@ export class StylableResolver { deepResolved = { _kind: `css`, meta, - symbol: { - _kind: 'class', - name, - alias: symbol, - }, + symbol: CSSClass.createSymbol({ name, alias: symbol }), }; } } else { diff --git a/packages/core/src/stylable-transformer.ts b/packages/core/src/stylable-transformer.ts index 12dd99988..5aba4b292 100644 --- a/packages/core/src/stylable-transformer.ts +++ b/packages/core/src/stylable-transformer.ts @@ -23,16 +23,13 @@ import { import { isChildOfAtRule } from './helpers/rule'; import { getOriginDefinition } from './helpers/resolve'; import { - STPart, ClassSymbol, CSSContains, CSSMedia, ElementSymbol, FeatureTransformContext, STNamespace, -} from './features'; -import type { StylableMeta } from './stylable-meta'; -import { + STStructure, STImport, STGlobal, STScope, @@ -46,6 +43,7 @@ import { CSSLayer, CSSCustomProperty, } from './features'; +import type { StylableMeta } from './stylable-meta'; import { CSSResolve, StylableResolverCache, @@ -496,7 +494,7 @@ export class StylableTransformer { { _kind: 'css', meta: context.originMeta, - symbol: { _kind: 'element', name: '*' }, + symbol: CSSType.createSymbol({ name: '*' }), }, ], node @@ -644,25 +642,36 @@ function validateScopes(transformer: StylableTransformer, meta: StylableMeta) { return transformedScopes; } -function removeFirstRootInFirstCompound(selector: Selector, meta: StylableMeta) { - let hadRoot = false; +function removeInitialCompoundMarker( + selector: Selector, + meta: StylableMeta, + structureMode: boolean +) { + let hadCompoundStart = false; const compoundedSelector = groupCompoundSelectors(selector); const first = compoundedSelector.nodes.find( ({ type }) => type === `compound_selector` ) as CompoundSelector; if (first) { - first.nodes = first.nodes.filter((node) => { - if (node.type === 'class' && node.value === meta.root) { - hadRoot = true; - return false; + const matchNode = structureMode + ? (node: SelectorNode) => node.type === 'nesting' + : (node: SelectorNode) => node.type === 'class' && node.value === meta.root; + for (let i = 0; i < first.nodes.length; i++) { + const node = first.nodes[i]; + if (node.type === 'comment') { + continue; } - return true; - }); + if (matchNode(node)) { + hadCompoundStart = true; + first.nodes.splice(i, 1); + } + break; + } } - return { selector: splitCompoundSelectors(compoundedSelector), hadRoot }; + return { selector: splitCompoundSelectors(compoundedSelector), hadCompoundStart }; } -type SelectorSymbol = ClassSymbol | ElementSymbol; +type SelectorSymbol = ClassSymbol | ElementSymbol | STStructure.PartSymbol; type InferredResolve = CSSResolve; type InferredPseudoElement = { inferred: InferredSelector; @@ -710,6 +719,21 @@ export class InferredSelector { this.resolveSet.add(resolve); } } + /** + * Takes a CSS part resolve and use it extend the current set of inferred resolved. + * Used to expand the resolved mapped selector with the part definition + * e.g. part can add nested states/parts that override the inferred mapped selector. + */ + private addPartOverride(partResolve: CSSResolve) { + const newSet = new Set(); + for (const resolve of this.resolveSet) { + newSet.add([partResolve, ...resolve]); + } + if (!this.resolveSet.size) { + newSet.add([partResolve]); + } + this.resolveSet = newSet; + } public getPseudoClasses({ name: searchedName }: { name?: string } = {}) { const collectedStates: Record = {}; const resolvedCount: Record = {}; @@ -784,7 +808,7 @@ export class InferredSelector { }) { const collectedElements: Record = {}; const resolvedCount: Record = {}; - const checked: Record> = {}; + const checked: Record> = {}; const expectedIntersectionCount = this.resolveSet.size; // ToDo: dec for any types const addInferredElement = ( name: string, @@ -811,24 +835,34 @@ export class InferredSelector { * search for elements in each resolved selector. * start at 1 for extended symbols to prefer inherited elements over local */ - const startIndex = resolvedContext.length === 1 ? 0 : 1; + const startIndex = + resolvedContext.length === 1 || resolvedContext[0]?.symbol._kind === 'part' ? 0 : 1; resolved: for (let i = startIndex; i < resolvedContext.length; i++) { const { symbol, meta } = resolvedContext[i]; - if (!symbol['-st-root'] || symbol.alias) { + const structureMode = STStructure.isStructureMode(meta); + if ( + symbol._kind !== 'part' && + (symbol.alias || (!structureMode && !symbol['-st-root'])) + ) { // non-root & alias classes don't have parts: bailout continue; } if (name) { + const cacheContext = symbol._kind === 'part' ? symbol.id : symbol.name; + const uniqueId = meta.source + '::' + cacheContext; resolvedCount[name] ??= 0; - checked[name] ||= new Set(); - const uniqueId = meta.source + '::' + name; + checked[name] ||= new Map(); if (checked[name].has(uniqueId)) { - resolvedCount[name]++; + if (checked[name].get(uniqueId)) { + resolvedCount[name]++; + } continue; } - checked[name].add(uniqueId); - // - const partDef = STPart.getPart(meta, name); + // get part symbol + const partDef = STStructure.getPart(symbol, name); + // save to cache + checked[name].set(uniqueId, !!partDef); + if (!partDef) { continue; } @@ -837,10 +871,10 @@ export class InferredSelector { const selectorList = cloneSelector(partDef.mapTo); const selectorStr = stringifySelector(partDef.mapTo); selectorList.forEach((selector) => { - const r = removeFirstRootInFirstCompound(selector, meta); + const r = removeInitialCompoundMarker(selector, meta, structureMode); selector.nodes = r.selector.nodes; selector.before = ''; - if (!r.hadRoot && !isFirstInSelector) { + if (!r.hadCompoundStart && !isFirstInSelector) { selector.nodes.unshift( createCombinatorSelector({ combinator: 'space' }) ); @@ -861,10 +895,13 @@ export class InferredSelector { { _kind: 'css', meta, - symbol: { _kind: 'element', name: '*' }, + symbol: CSSType.createSymbol({ name: '*' }), }, ]); - + // add part resolve to inferred resolve set + if (structureMode) { + inferred.addPartOverride({ _kind: 'css', meta, symbol: partDef }); + } addInferredElement(name, inferred, customAstSelectors); break resolved; } else { @@ -1026,7 +1063,7 @@ export class ScopeContext { { _kind: 'css', meta: originMeta, - symbol: { _kind: 'element', name: '*' }, + symbol: CSSType.createSymbol({ name: '*' }), }, ]) : transformer.createInferredSelector(originMeta, { diff --git a/packages/core/test/diagnostic-codes.spec.ts b/packages/core/test/diagnostic-codes.spec.ts index 1149d0410..e3477f04d 100644 --- a/packages/core/test/diagnostic-codes.spec.ts +++ b/packages/core/test/diagnostic-codes.spec.ts @@ -15,6 +15,7 @@ import { STVar, STCustomSelector, STCustomState, + STStructure, } from '@stylable/core/dist/features'; import { generalDiagnostics } from '@stylable/core/dist/features/diagnostics'; import { atPropertyValidationWarnings } from '@stylable/core/dist/helpers/css-custom-property'; @@ -55,6 +56,7 @@ describe('diagnostics error codes', () => { ...transformerDiagnostics, ...utilDiagnostics, ...sourcePathDiagnostics, + ...STStructure.diagnostics, }; let failingCode = ''; diff --git a/packages/core/test/features/css-class.spec.ts b/packages/core/test/features/css-class.spec.ts index 5df7d2e06..d0958029a 100644 --- a/packages/core/test/features/css-class.spec.ts +++ b/packages/core/test/features/css-class.spec.ts @@ -28,14 +28,16 @@ describe(`features/css-class`, () => { shouldReportNoDiagnostics(autoResult.meta); // symbols - expect(CSSClass.get(autoResult.meta, `root`), `auto root symbol`).to.contain({ - _kind: `class`, - name: 'root', - }); - expect(CSSClass.get(explicitResult.meta, `root`), `explicit root symbol`).to.contain({ - _kind: `class`, - name: 'root', - }); + expect(CSSClass.get(autoResult.meta, `root`), `auto root symbol`).to.deep.contain( + CSSClass.createSymbol({ + name: 'root', + }) + ); + expect(CSSClass.get(explicitResult.meta, `root`), `explicit root symbol`).to.deep.contain( + CSSClass.createSymbol({ + name: 'root', + }) + ); // JS exports expect(autoResult.exports.classes.root, `auto root JS export`).to.eql(`auto__root`); @@ -245,10 +247,11 @@ describe(`features/css-class`, () => { shouldReportNoDiagnostics(meta); // symbols - ToDo: remove escape from key? - expect(CSSClass.get(meta, `a\\.`), `symbol`).to.contain({ - _kind: `class`, - name: 'a\\.', - }); + expect(CSSClass.get(meta, `a\\.`), `symbol`).to.deep.contain( + CSSClass.createSymbol({ + name: 'a\\.', + }) + ); // JS exports - ToDo: remove escape from key expect(exports.classes[`a\\.`], `JS export`).to.eql(`entry.__a.`); @@ -301,10 +304,11 @@ describe(`features/css-class`, () => { const { meta, exports } = sheets['/entry.st.css']; // symbols - expect(CSSClass.get(meta, `a`), `symbol`).to.contain({ - _kind: `class`, - name: 'a', - }); + expect(CSSClass.get(meta, `a`), `symbol`).to.deep.contain( + CSSClass.createSymbol({ + name: 'a', + }) + ); // JS exports expect(exports.classes.a, `JS export`).to.eql(`entry__a`); @@ -582,16 +586,18 @@ describe(`features/css-class`, () => { // symbols const importDef = meta.getImportStatements()[0]; - expect(CSSClass.get(meta, `before`), `before symbol`).to.eql({ - _kind: `class`, - name: 'before', - alias: STImport.createImportSymbol(importDef, `named`, `before`, `/`), - }); - expect(CSSClass.get(meta, `after`), `after symbol`).to.eql({ - _kind: `class`, - name: 'after', - alias: STImport.createImportSymbol(importDef, `named`, `after`, `/`), - }); + expect(CSSClass.get(meta, `before`), `before symbol`).to.eql( + CSSClass.createSymbol({ + name: 'before', + alias: STImport.createImportSymbol(importDef, `named`, `before`, `/`), + }) + ); + expect(CSSClass.get(meta, `after`), `after symbol`).to.eql( + CSSClass.createSymbol({ + name: 'after', + alias: STImport.createImportSymbol(importDef, `named`, `after`, `/`), + }) + ); expect(CSSClass.get(meta, `unused`), `unused symbol`).to.eql(undefined); // JS exports @@ -619,11 +625,12 @@ describe(`features/css-class`, () => { // symbols const importDef = meta.getImportStatements()[0]; - expect(CSSClass.get(meta, `unknown`), `unknown symbol`).to.eql({ - _kind: `class`, - name: 'unknown', - alias: STImport.createImportSymbol(importDef, `named`, `unknown`, `/`), - }); + expect(CSSClass.get(meta, `unknown`), `unknown symbol`).to.eql( + CSSClass.createSymbol({ + name: 'unknown', + alias: STImport.createImportSymbol(importDef, `named`, `unknown`, `/`), + }) + ); // JS exports expect(exports.classes[`unknown`], `unknown JS export`).to.eql( @@ -653,11 +660,12 @@ describe(`features/css-class`, () => { // symbols const importDef = meta.getImportStatements()[0]; - expect(CSSClass.get(meta, `imported-part`), `imported-part symbol`).to.eql({ - _kind: `class`, - name: 'imported-part', - alias: STImport.createImportSymbol(importDef, `named`, `imported-part`, `/`), - }); + expect(CSSClass.get(meta, `imported-part`), `imported-part symbol`).to.eql( + CSSClass.createSymbol({ + name: 'imported-part', + alias: STImport.createImportSymbol(importDef, `named`, `imported-part`, `/`), + }) + ); // JS exports expect(exports.classes[`imported-part`], `imported-part JS export`).to.eql( @@ -679,12 +687,13 @@ describe(`features/css-class`, () => { const { meta } = sheets['/entry.st.css']; // symbols - expect(CSSClass.get(meta, `root`), `class`).to.eql({ - _kind: `class`, - name: 'root', - '-st-root': true, - alias: undefined, - }); + expect(CSSClass.get(meta, `root`), `class`).to.eql( + CSSClass.createSymbol({ + name: 'root', + '-st-root': true, + alias: undefined, + }) + ); expect(STSymbol.get(meta, `root`), `general`).to.equal(CSSClass.get(meta, `root`)); }); it(`should report unscoped class`, () => { @@ -796,13 +805,11 @@ describe(`features/css-class`, () => { // symbols expect(CSSClass.get(meta, `imported`), `imported symbol`).to.eql(undefined); - expect(CSSClass.get(meta, `root`), `root symbol`).to.contain({ - _kind: `class`, + expect(CSSClass.get(meta, `root`), `root symbol`).to.deep.contain({ name: 'root', alias: undefined, }); - expect(CSSClass.get(meta, `class`), `class symbol`).to.contain({ - _kind: `class`, + expect(CSSClass.get(meta, `class`), `class symbol`).to.deep.contain({ name: 'class', alias: undefined, }); @@ -841,13 +848,11 @@ describe(`features/css-class`, () => { shouldReportNoDiagnostics(meta); // symbols - expect(CSSClass.get(meta, `root`), `root symbol`).to.contain({ - _kind: `class`, + expect(CSSClass.get(meta, `root`), `root symbol`).to.deep.contain({ name: 'root', alias: undefined, }); - expect(CSSClass.get(meta, `class`), `class symbol`).to.contain({ - _kind: `class`, + expect(CSSClass.get(meta, `class`), `class symbol`).to.deep.contain({ name: 'class', alias: undefined, }); @@ -1173,10 +1178,11 @@ describe(`features/css-class`, () => { ); // symbols - expect(CSSClass.get(meta, 'name'), 'imported symbol').to.contain({ - _kind: 'class', - name: 'name', - }); + expect(CSSClass.get(meta, 'name'), 'imported symbol').to.deep.contain( + CSSClass.createSymbol({ + name: 'name', + }) + ); // JS exports expect(exports.classes, 'JS export').to.eql({ diff --git a/packages/core/test/features/css-type.spec.ts b/packages/core/test/features/css-type.spec.ts index 3cffb6963..33815ef2c 100644 --- a/packages/core/test/features/css-type.spec.ts +++ b/packages/core/test/features/css-type.spec.ts @@ -24,10 +24,11 @@ describe(`features/css-type`, () => { const { meta } = sheets['/entry.st.css']; // symbols - expect(CSSType.get(meta, `Btn`), `collect capital letters`).to.contain({ - _kind: `element`, - name: 'Btn', - }); + expect(CSSType.get(meta, `Btn`), `collect capital letters`).to.deep.contain( + CSSType.createSymbol({ + name: 'Btn', + }) + ); expect(CSSType.get(meta, `div`), `ignore lowercase`).to.eql(undefined); expect(STSymbol.get(meta, `Btn`), `general symbols`).to.equal(CSSType.get(meta, `Btn`)); expect(CSSType.getAll(meta), `getAll`).to.eql({ @@ -115,16 +116,18 @@ describe(`features/css-type`, () => { // symbols const importBeforeDef = meta.getImportStatements()[0]; const importAfterDef = meta.getImportStatements()[1]; - expect(CSSType.get(meta, `Before`), `before type symbol`).to.eql({ - _kind: `element`, - name: 'Before', - alias: STImport.createImportSymbol(importBeforeDef, `default`, `default`, `/`), - }); - expect(CSSType.get(meta, `After`), `after type symbol`).to.eql({ - _kind: `element`, - name: 'After', - alias: STImport.createImportSymbol(importAfterDef, `default`, `default`, `/`), - }); + expect(CSSType.get(meta, `Before`), `before type symbol`).to.eql( + CSSType.createSymbol({ + name: 'Before', + alias: STImport.createImportSymbol(importBeforeDef, `default`, `default`, `/`), + }) + ); + expect(CSSType.get(meta, `After`), `after type symbol`).to.eql( + CSSType.createSymbol({ + name: 'After', + alias: STImport.createImportSymbol(importAfterDef, `default`, `default`, `/`), + }) + ); // JS exports expect(exports.classes, `not added as classes exports`).to.eql({ @@ -154,16 +157,18 @@ describe(`features/css-type`, () => { // symbols const importBeforeDef = meta.getImportStatements()[0]; const importAfterDef = meta.getImportStatements()[1]; - expect(CSSType.get(meta, `BeforePart`), `before type symbol`).to.eql({ - _kind: `element`, - name: 'BeforePart', - alias: STImport.createImportSymbol(importBeforeDef, `named`, `BeforePart`, `/`), - }); - expect(CSSType.get(meta, `AfterPart`), `after type symbol`).to.eql({ - _kind: `element`, - name: 'AfterPart', - alias: STImport.createImportSymbol(importAfterDef, `named`, `AfterPart`, `/`), - }); + expect(CSSType.get(meta, `BeforePart`), `before type symbol`).to.eql( + CSSType.createSymbol({ + name: 'BeforePart', + alias: STImport.createImportSymbol(importBeforeDef, `named`, `BeforePart`, `/`), + }) + ); + expect(CSSType.get(meta, `AfterPart`), `after type symbol`).to.eql( + CSSType.createSymbol({ + name: 'AfterPart', + alias: STImport.createImportSymbol(importAfterDef, `named`, `AfterPart`, `/`), + }) + ); // JS exports expect(exports.classes, `not add as classes exports`).to.eql({ @@ -194,16 +199,18 @@ describe(`features/css-type`, () => { // symbols const importBeforeDef = meta.getImportStatements()[0]; const importAfterDef = meta.getImportStatements()[1]; - expect(CSSType.get(meta, `BeforePart`), `before type symbol`).to.eql({ - _kind: `element`, - name: 'BeforePart', - alias: STImport.createImportSymbol(importBeforeDef, `named`, `BeforePart`, `/`), - }); - expect(CSSType.get(meta, `AfterPart`), `after type symbol`).to.eql({ - _kind: `element`, - name: 'AfterPart', - alias: STImport.createImportSymbol(importAfterDef, `named`, `AfterPart`, `/`), - }); + expect(CSSType.get(meta, `BeforePart`), `before type symbol`).to.eql( + CSSType.createSymbol({ + name: 'BeforePart', + alias: STImport.createImportSymbol(importBeforeDef, `named`, `BeforePart`, `/`), + }) + ); + expect(CSSType.get(meta, `AfterPart`), `after type symbol`).to.eql( + CSSType.createSymbol({ + name: 'AfterPart', + alias: STImport.createImportSymbol(importAfterDef, `named`, `AfterPart`, `/`), + }) + ); // JS exports expect(exports.classes, `not add as classes exports`).to.eql({ root: `entry__root`, diff --git a/packages/core/test/features/st-structure.spec.ts b/packages/core/test/features/st-structure.spec.ts new file mode 100644 index 000000000..14ec93d78 --- /dev/null +++ b/packages/core/test/features/st-structure.spec.ts @@ -0,0 +1,660 @@ +import { + diagnosticBankReportToStrings, + shouldReportNoDiagnostics, + testStylableCore, + spyCalls, +} from '@stylable/core-test-kit'; +import { + CSSClass, + STStructure, + transformerDiagnostics, + STCustomState, +} from '@stylable/core/dist/index-internal'; +import { expect } from 'chai'; + +const transformerStringDiagnostics = diagnosticBankReportToStrings(transformerDiagnostics); +const stStructureDiagnostics = diagnosticBankReportToStrings(STStructure.diagnostics); +const stStateDiagnostics = diagnosticBankReportToStrings(STCustomState.diagnostics); +const classDiagnostics = diagnosticBankReportToStrings(CSSClass.diagnostics); + +describe('@st structure', () => { + it('should warn experimental feature', () => { + const warnSpy = spyCalls(console, 'warn'); + const filterExpCalls = () => + warnSpy.calls.filter( + ([msg]) => typeof msg === 'string' && msg === STStructure.experimentalMsg + ); + + // no warn without using @st + testStylableCore(` + .root{} + `); + + expect(filterExpCalls(), 'not used').to.have.lengthOf(0); + + // reset calls + warnSpy.resetSpy(); + + testStylableCore(` + @st; + @st; + `); + + expect(filterExpCalls(), 'only once').to.have.lengthOf(1); + + warnSpy.restoreSpy(); + }); + it('should have no implicit root', () => { + const { sheets } = testStylableCore(` + @st .comp; + `); + + const { meta, exports } = sheets['/entry.st.css']; + + shouldReportNoDiagnostics(meta); + expect(exports.classes.root).to.eql(undefined); + }); + describe('@st .name (top level class)', () => { + it('should prevent automatic .class=>::part definition', () => { + testStylableCore(` + @st .root; + .part {} + + /* + @transform-error ${transformerStringDiagnostics.UNKNOWN_PSEUDO_ELEMENT(`part`)} + @rule .entry__root::part + */ + .root::part {} + `); + }); + it('should register css class', () => { + const { sheets } = testStylableCore(` + @st .abc; + @st .xyz {} + @st .comment /*comment*/ {} + .normal-class {} + `); + + const { meta } = sheets['/entry.st.css']; + + shouldReportNoDiagnostics(meta); + expect(meta.getAllClasses()).to.have.keys(['abc', 'xyz', 'comment', 'normal-class']); + }); + it('should be valid only at top level', () => { + testStylableCore(` + @st .abc { + /* @analyze-error ${stStructureDiagnostics.CLASS_OUT_OF_CONTEXT()} */ + @st .xyz; + } + `); + }); + it('should report re-decare', () => { + testStylableCore(` + @st .dup; + + /* @analyze-error word(.dup) ${stStructureDiagnostics.REDECLARE('class', '.dup')} */ + @st .dup; + `); + }); + it('should report non-class definition', () => { + const { sheets } = testStylableCore(` + /* @analyze-error(element) ${stStructureDiagnostics.UNSUPPORTED_TOP_DEF()} */ + @st .; + + /* @analyze-error(element) ${stStructureDiagnostics.UNSUPPORTED_TOP_DEF()} */ + @st abc; + + /* @analyze-error(attribute) ${stStructureDiagnostics.UNSUPPORTED_TOP_DEF()} */ + @st [abc]; + + /* @analyze-error(multi classes) word(.b) ${stStructureDiagnostics.UNEXPECTED_EXTRA_VALUE( + '.b' + )} */ + @st .a.b; + `); + + const { meta } = sheets['/entry.st.css']; + + expect(CSSClass.getAll(meta)).to.eql({}); + }); + it('should extend another class', () => { + const { sheets } = testStylableCore(` + @st .abc :is(.defined-class-inline); + @st .xyz :is(.existing-class-after); + + .existing-class-after { + -st-states: state; + }; + + /* @rule .entry__xyz.entry--state */ + .xyz:state {} + `); + + const { meta, exports } = sheets['/entry.st.css']; + + shouldReportNoDiagnostics(meta); + expect(exports.classes.abc, 'composed inline def').to.eql( + 'entry__abc entry__defined-class-inline' + ); + }); + it('should add runtime inherit check (dev mode)', () => { + const source = ` + @st .super :is(.root); + `; + // + const { sheets: devSheets } = testStylableCore(source, { + stylableConfig: { mode: 'development' }, + }); + const { sheets: prodSheets } = testStylableCore(source, { + stylableConfig: { mode: 'production' }, + }); + + const { meta: devMeta } = devSheets['/entry.st.css']; + const { meta: prodMeta } = prodSheets['/entry.st.css']; + + const devActual = devMeta.targetAst!.toString().replace(/\s\s+/g, ' '); + const prodActual = prodMeta.targetAst?.toString().replace(/\s\s+/g, ' '); + + const expected = CSSClass.createWarningRule( + '.root' /*extendedNode*/, + '.entry__root' /*scopedExtendedNode*/, + 'entry.st.css' /*extendedFile*/, + '.super' /*extendingNode*/, + '.entry__super' /*scopedExtendingNode*/, + 'entry.st.css' /*extendingFile*/ + ) + .toString() + .replace(/\s\s+/g, ' '); + + expect(devActual, 'development').to.contain(expected); + expect(prodActual, 'production').to.not.contain(expected); + }); + it('should disallow unsupported extends', () => { + testStylableCore(` + /* @analyze-error(element) ${stStructureDiagnostics.MISSING_EXTEND()}*/ + @st .xyz :is(root); + + /* @analyze-error(multi class) ${stStructureDiagnostics.MISSING_EXTEND()}*/ + @st .xyz :is(.a, .b); + `); + }); + it('should error on non local definition', () => { + testStylableCore({ + 'origin.st.css': ` + .external {} + `, + 'entry.st.css': ` + @st-import [external] from "./origin.st.css"; + + /* @analyze-error ${stStructureDiagnostics.OVERRIDE_IMPORTED_CLASS()}*/ + @st .external; + `, + }); + }); + it('should register css class selector mapping', () => { + const { sheets } = testStylableCore(` + @st .abc => :global(.xyz); + + @st .comments =>/*c1*/:global(.comments); + + /* @rule(standalone) .xyz */ + .abc {} + + /* @rule(comments) .comments */ + .comments {} + `); + + const { meta, exports } = sheets['/entry.st.css']; + + shouldReportNoDiagnostics(meta); + + expect(exports.classes.abc, 'single global class export').to.eql('xyz'); + }); + it('should report selector mapping diagnostics', () => { + testStylableCore({ + 'general.st.css': ` + /* @analyze-error(empty) ${stStructureDiagnostics.MISSING_MAPPED_SELECTOR()} */ + @st .empty => ; + + /* @rule(not global) .general__empty */ + .empty {} + + /* @analyze-error(multi) ${stStructureDiagnostics.MULTI_MAPPED_SELECTOR()} */ + @st .multi => .a, .b; + + /* @rule(multi) .general__multi */ + .multi {} + `, + 'global.st.css': ` + /* @analyze-error(not global) word(.xyz) ${stStructureDiagnostics.GLOBAL_MAPPING_LIMITATION()} */ + @st .not-global => .xyz; + + /* @rule(not global) .global__not-global */ + .not-global {} + + /* @analyze-error(not global pseudo) ${stStructureDiagnostics.GLOBAL_MAPPING_LIMITATION()} */ + @st .top-level-is => :is(.xyz); + + /* @rule(not global pseudo) .global__top-level-is */ + .top-level-is {} + + /* @analyze-error(empty global) ${stStructureDiagnostics.GLOBAL_MAPPING_LIMITATION()} */ + @st .empty-global => :global; + + /* @analyze-error(no value global) ${stStructureDiagnostics.GLOBAL_MAPPING_LIMITATION()} */ + @st .no-value-global => :global(); + + /* @analyze-error(multi global) ${stStructureDiagnostics.GLOBAL_MAPPING_LIMITATION()} */ + @st .multi-global => :global(.a, .b); + + /* @analyze-error(more then one global) ${stStructureDiagnostics.GLOBAL_MAPPING_LIMITATION()} */ + @st .more-then-one-global => :global(.a) :global(.b); + + /* @rule(multi global) .global__multi-global */ + .multi-global {} + `, + }); + }); + it('should report unexpected extra value', () => { + testStylableCore(` + /* @analyze-error word(unexpected value) ${stStructureDiagnostics.UNEXPECTED_EXTRA_VALUE( + 'unexpected value' + )} */ + @st .empty unexpected value; + `); + }); + it('should disallow -st-* definitions on class that is defined with @st', () => { + testStylableCore(` + @st .new; + + .old { -st-states: yState; } + + .new { + /* @analyze-error(extend) ${classDiagnostics.DISABLED_DIRECTIVE( + 'new', + '-st-extends' + )} */ + -st-extends: old; + + /* @analyze-error(extend) ${classDiagnostics.DISABLED_DIRECTIVE( + 'new', + '-st-states' + )} */ + -st-states: xState; + + /* @analyze-error(extend) ${classDiagnostics.DISABLED_DIRECTIVE( + 'new', + '-st-global' + )} */ + -st-global: ".xxx"; + } + + /* @rule(extend fail) .entry__new:yState */ + .new:yState {} + + + /* @rule(legacy def) .entry__old.entry--yState */ + .old:yState {} + `); + }); + }); + describe('@st :name (pseudo-class)', () => { + it('should define pseudo-class on parent class def', () => { + const { sheets } = testStylableCore(` + @st .x { + @st :bool; + @st :ops(enum(a, b)); + @st :opsWithDefault(enum(w, x, y, z)) x; + } + + /* @rule(bool) .entry__x.entry--bool*/ + .x:bool {} + + /* @rule(param) .entry__x.entry---ops-1-b*/ + .x:ops(b) {} + + /* @rule(default param) .entry__x.entry---opsWithDefault-1-x*/ + .x:opsWithDefault {} + `); + + const { meta } = sheets['/entry.st.css']; + + shouldReportNoDiagnostics(meta); + }); + it('should be nested in `@st .class{}`', () => { + testStylableCore(` + /* @analyze-error ${stStructureDiagnostics.STATE_OUT_OF_CONTEXT()}*/ + @st :top-level; + + @media { + /* @analyze-error ${stStructureDiagnostics.STATE_OUT_OF_CONTEXT()}*/ + @st :in-at-rule; + } + `); + }); + it('should report parsing issues', () => { + const { sheets } = testStylableCore({ + 'invalid.st.css': ` + @st .x { + /* @analyze-warn ${stStateDiagnostics.NO_STATE_TYPE_GIVEN('bool')}*/ + @st :bool(); + + /* @analyze-error ${stStateDiagnostics.STATE_STARTS_WITH_HYPHEN( + '-dashProxy' + )}*/ + @st :-dashProxy; + + /* @analyze-error ${stStructureDiagnostics.UNEXPECTED_EXTRA_VALUE( + 'abc xyz' + )}*/ + @st :boolWithExtra abc xyz; + } + `, + 'valid.st.css': ` + @st .x { + @st :boolWithExtra /*abc xyz*/; + } + + /* @rule(boolWithExtra) .valid__x.valid--boolWithExtra */ + .x:boolWithExtra {} + `, + }); + + const { meta } = sheets['/valid.st.css']; + + shouldReportNoDiagnostics(meta); + }); + it('should report re-declare of state (first win)', () => { + testStylableCore(` + @st .x { + @st :conflict(string); + + /* @analyze-error word(:conflict) ${stStructureDiagnostics.REDECLARE( + 'pseudo-state', + ':conflict' + )} */ + @st :conflict(enum(a, b)) b; + } + + /* @rule .entry__x.entry---conflict-3-ccc */ + .x:conflict(ccc) {} + `); + }); + }); + describe('@st ::name (pseudo-element)', () => { + it('should define pseudo-element on parent class def', () => { + const { sheets } = testStylableCore(` + @st .x { + @st ::part => [part="x"]; + + @st ::noSpaces=>[noSpaces]; + + @st /*c1*/ :/*what?*/:/*c2*/comments/*c3*/=> [weirdComment]/*c5*/; + + @st ::unscoped => unscopedElement; + } + + /* @rule .entry__x [part="x"] */ + .x::part {} + + /* @rule .entry__x [noSpaces] */ + .x::noSpaces {} + + /* @rule .entry__x [weirdComment] */ + .x::comments {} + + /* @rule .entry__x unscopedElement */ + .x::unscoped {} + `); + + const { meta } = sheets['/entry.st.css']; + + shouldReportNoDiagnostics(meta); + }); + it('should define compound mapping', () => { + const { sheets } = testStylableCore(` + @st .x { + @st ::compound => &[compound]; + + @st ::withComments => /*c1*/&/*c2*/[withComments]/*c3*/; + } + + /* @rule .entry__x[compound] */ + .x::compound {} + + /* @rule .entry__x[withComments]*/ + .x::withComments {} + `); + + const { meta } = sheets['/entry.st.css']; + + shouldReportNoDiagnostics(meta); + }); + it('should analyze selector mapping', () => { + const { sheets } = testStylableCore(` + @st .x { + @st ::part => .innerClass; + } + `); + + const { meta, exports } = sheets['/entry.st.css']; + + shouldReportNoDiagnostics(meta); + expect(exports.classes.innerClass, 'class definition').to.eql('entry__innerClass'); + }); + it('should define nested pseudo-elements', () => { + const { sheets } = testStylableCore(` + @st .x { + @st ::first => [first] { + @st ::second => [second]; + }; + } + + /* @rule .entry__x [first] [second] */ + .x::first::second {} + `); + + const { meta } = sheets['/entry.st.css']; + + shouldReportNoDiagnostics(meta); + }); + it('should resolve inherited parts', () => { + const { sheets } = testStylableCore({ + 'base.st.css': ` + @st .base { + @st ::part => [part="x"]; + } + `, + 'legacy.st.css': ` + @st-import [base] from "./base.st.css"; + .clsA { + -st-extends: base; + } + `, + 'entry.st.css': ` + @st-import Legacy, [clsA] from "./legacy.st.css"; + + @st .root :is(.Legacy); + @st .clsB :is(.clsA); + + /* @rule(extend) .entry__clsB [part="x"] */ + .clsB::part {} + + /* @rule(through extending part) .entry__root .legacy__clsA [part="x"] */ + .root::clsA::part {} + `, + }); + + const { meta } = sheets['/entry.st.css']; + + shouldReportNoDiagnostics(meta); + }); + it('should be invalid out of `@st .class{}` and `@st ::part`', () => { + testStylableCore(` + /* @analyze-error ${stStructureDiagnostics.ELEMENT_OUT_OF_CONTEXT()}*/ + @st ::top-level => .top; + + @media { + /* @analyze-error ${stStructureDiagnostics.ELEMENT_OUT_OF_CONTEXT()}*/ + @st ::in-at-rule => .media; + } + `); + }); + it('should report mapped selector issues', () => { + testStylableCore(` + @st .x { + /* @analyze-error(empty) ${stStructureDiagnostics.MISSING_MAPPED_SELECTOR()}*/ + @st ::missing-selector => ; + + /* @analyze-error(comment) ${stStructureDiagnostics.MISSING_MAPPED_SELECTOR()}*/ + @st ::missing-selector => /*c*/; + + /* @analyze-error(multi) ${stStructureDiagnostics.MULTI_MAPPED_SELECTOR()}*/ + @st ::multi-selector => .a, .b; + + /* @analyze-error(no-arrow) ${stStructureDiagnostics.MISSING_MAPPING()}*/ + @st ::missing-mapping ; + + /* @analyze-error(nesting) ${stStructureDiagnostics.MAPPING_UNSUPPORTED_NESTING()}*/ + @st ::multi-selector => .a:not(&); + } + `); + }); + it('should report definition issues', () => { + // ToDo: report on the original definition as well + const { sheets } = testStylableCore({ + 'invalid.st.css': ` + @st .x { + @st ::duplicate => .a; + + /* @analyze-error word(::duplicate) ${stStructureDiagnostics.REDECLARE( + 'pseudo-element', + '::duplicate' + )}*/ + @st ::duplicate => .b; + + /* @analyze-error ${stStructureDiagnostics.INVALID_ST_DEF( + ': :invalidSpace => .c' + )}*/ + @st : :invalidSpace => .c; + } + + /* @rule .invalid__x::invalidSpace */ + .x::invalidSpace {} + `, + 'valid.st.css': ` + @st .x { + @st ::noConflict => .xChild { + @st ::noConflict => .deepChild; + }; + } + @st .y { + @st ::noConflict => .yChild; + } + `, + }); + + const { meta } = sheets['/valid.st.css']; + + shouldReportNoDiagnostics(meta); + }); + it('should infer nested pseudo-element', () => { + const { sheets } = testStylableCore({ + 'def.st.css': ` + @st .x { + @st ::a => .base { + @st ::aChild => .deep; + } + @st ::b => .base; + } + @st .base { + @st ::baseChild => .baseChild; + } + `, + 'valid.st.css': ` + @st-import [x] from './def.st.css'; + + /* @rule(a::aChild) .valid__t .def__x .def__base .def__deep */ + .t .x::a::aChild {} + + /* @rule(a::baseChild) .valid__t .def__x .def__base .def__baseChild */ + .t .x::a::baseChild {} + + /* @rule(b::baseChild) .valid__t .def__x .def__base .def__baseChild */ + .t .x::b::baseChild {} + `, + 'invalid.st.css': ` + @st-import [x] from './def.st.css'; + + .x::a::aChild {/*cause resolve of base*/} + /* @rule(base infer unmodified) .def__x .def__base::aChild */ + .x::b::aChild {} + `, + }); + + const { meta } = sheets['/valid.st.css']; + + shouldReportNoDiagnostics(meta); + }); + it('should define pseudo-class for pseudo-element', () => { + const { sheets } = testStylableCore(` + @st .base { + @st :baseState; + } + + @st .x { + @st ::a => .base { + @st :aState; + } + } + + /* @rule(a::aState) .entry__x .entry__base.entry--aState */ + .x::a:aState {} + + /* @rule(a::baseState) .entry__x .entry__base.entry--baseState */ + .x::a:baseState {} + `); + + const { meta } = sheets['/entry.st.css']; + + shouldReportNoDiagnostics(meta); + }); + }); + describe('@st-import', () => { + it('should handle default import with no implicit root', () => { + // ToDo: choose how to handle from a structure move stylesheet + testStylableCore({ + 'origin.st.css': ` + @st .x {} + `, + 'entry.st.css': ` + @st-import Default from "./origin.st.css"; + + .y { + /* @transform-error ${classDiagnostics.CANNOT_EXTEND_UNKNOWN_SYMBOL( + 'default' + )} */ + -st-extends: Default; + } + `, + }); + }); + }); + describe('native css', () => { + it('should not collect `@st` definition from non stylable file', () => { + testStylableCore({ + 'native.css': ` + @st .x { + @st ::y => .z; + } + `, + 'entry.st.css': ` + @st-import [x] from './native.css'; + + /* @rule(not existing on native) .entry__x */ + .x {} + `, + }); + }); + }); +}); diff --git a/packages/core/test/features/st-symbol.spec.ts b/packages/core/test/features/st-symbol.spec.ts index 47616c1ff..892d09195 100644 --- a/packages/core/test/features/st-symbol.spec.ts +++ b/packages/core/test/features/st-symbol.spec.ts @@ -7,6 +7,8 @@ import { VarSymbol, ImportSymbol, KeyframesSymbol, + CSSClass, + CSSType, } from '@stylable/core/dist/features'; import { Diagnostics } from '@stylable/core/dist/diagnostics'; import { diagnosticBankReportToStrings, testStylableCore } from '@stylable/core-test-kit'; @@ -23,7 +25,7 @@ describe(`features/st-symbol`, () => { it(`should keep symbol on meta`, () => { const { sheets } = testStylableCore(``); const { meta } = sheets[`/entry.st.css`]; - const symbol: StylableSymbol = { _kind: `class`, name: `a` }; + const symbol: StylableSymbol = CSSClass.createSymbol({ name: `a` }); const context = { meta, diagnostics: new Diagnostics() }; STSymbol.addSymbol({ context, symbol }); @@ -37,8 +39,8 @@ describe(`features/st-symbol`, () => { it(`should keep track of symbols by type`, () => { const { sheets } = testStylableCore(``); const { meta } = sheets[`/entry.st.css`]; - const classSymbol: StylableSymbol = { _kind: `class`, name: `a` }; - const typeSymbol: StylableSymbol = { _kind: `element`, name: `a` }; + const classSymbol: StylableSymbol = CSSClass.createSymbol({ name: `a` }); + const typeSymbol: StylableSymbol = CSSType.createSymbol({ name: `a` }); const context = { meta, diagnostics: new Diagnostics() }; STSymbol.addSymbol({ context, symbol: classSymbol }); @@ -57,8 +59,8 @@ describe(`features/st-symbol`, () => { it(`should override previous symbol`, () => { const { sheets } = testStylableCore(``); const { meta } = sheets[`/entry.st.css`]; - const symbolA: StylableSymbol = { _kind: `class`, name: `a` }; - const symbolB: StylableSymbol = { _kind: `element`, name: `a` }; + const symbolA: StylableSymbol = CSSClass.createSymbol({ name: `a` }); + const symbolB: StylableSymbol = CSSType.createSymbol({ name: `a` }); const context = { meta, diagnostics: new Diagnostics() }; STSymbol.addSymbol({ context, symbol: symbolA }); @@ -85,8 +87,8 @@ describe(`features/st-symbol`, () => { it(`should return collected symbols by namespace`, () => { const { sheets } = testStylableCore(``); const { meta } = sheets[`/entry.st.css`]; - const classSymbol: StylableSymbol = { _kind: `class`, name: `a` }; - const typeSymbol: StylableSymbol = { _kind: `element`, name: `b` }; + const classSymbol: StylableSymbol = CSSClass.createSymbol({ name: `a` }); + const typeSymbol: StylableSymbol = CSSType.createSymbol({ name: `b` }); const keyframesSymbol: StylableSymbol = { _kind: `keyframes`, name: `c`, alias: `` }; const context = { meta, diagnostics: new Diagnostics() }; @@ -119,23 +121,23 @@ describe(`features/st-symbol`, () => { STSymbol.addSymbol({ context, localName: `localA`, - symbol: { - _kind: `class`, + symbol: CSSClass.createSymbol({ name: `A`, - }, + }), }); - expect(STSymbol.get(meta, `localA`)).to.eql({ - _kind: `class`, - name: `A`, - }); + expect(STSymbol.get(meta, `localA`)).to.eql( + CSSClass.createSymbol({ + name: `A`, + }) + ); expect(STSymbol.get(meta, `A`)).to.eql(undefined); }); describe(`diagnostics`, () => { it(`should warn on node with re-declared symbol`, () => { const { sheets } = testStylableCore(``); const { meta } = sheets[`/entry.st.css`]; - const symbol: StylableSymbol = { _kind: `class`, name: `a` }; + const symbol: StylableSymbol = CSSClass.createSymbol({ name: `a` }); const ruleA = new postcss.Rule(); const ruleB = new postcss.Rule(); const context = { meta, diagnostics: new Diagnostics() }; @@ -162,7 +164,7 @@ describe(`features/st-symbol`, () => { it(`should NOT warn re-declared symbol with safeRedeclare=true`, () => { const { sheets } = testStylableCore(``); const { meta } = sheets[`/entry.st.css`]; - const symbol: StylableSymbol = { _kind: `class`, name: `a` }; + const symbol: StylableSymbol = CSSClass.createSymbol({ name: `a` }); const ruleA = new postcss.Rule(); const ruleB = new postcss.Rule(); const context = { meta, diagnostics: new Diagnostics() }; @@ -179,7 +181,7 @@ describe(`features/st-symbol`, () => { it(`should warn on root declaration`, () => { const { sheets } = testStylableCore(``); const { meta } = sheets[`/entry.st.css`]; - const symbol: StylableSymbol = { _kind: `class`, name: `root` }; + const symbol: StylableSymbol = CSSClass.createSymbol({ name: `root` }); const rule = new postcss.Rule(); const context = { meta, diagnostics: new Diagnostics() }; diff --git a/packages/core/test/intellisense/intellisense.spec.ts b/packages/core/test/intellisense/intellisense.spec.ts index 8a4a026e0..dbb5979fb 100644 --- a/packages/core/test/intellisense/intellisense.spec.ts +++ b/packages/core/test/intellisense/intellisense.spec.ts @@ -1,6 +1,6 @@ import { expect } from 'chai'; import { createTransformer } from '@stylable/core-test-kit'; -import { STCustomSelector } from '@stylable/core/dist/index-internal'; +import { STCustomSelector, CSSType } from '@stylable/core/dist/index-internal'; describe('Stylable intellisense selector meta data', () => { it('resolve single class element', () => { @@ -251,7 +251,7 @@ describe('Stylable intellisense selector meta data', () => { { type: 'pseudo-element', name: 'part', - resolved: [{ _kind: 'css', meta, symbol: { _kind: 'element', name: '*' } }], + resolved: [{ _kind: 'css', meta, symbol: CSSType.createSymbol({ name: '*' }) }], }, ]); }); @@ -526,7 +526,7 @@ describe('Stylable intellisense selector meta data', () => { type: 'pseudo-element', name: 'pongo', resolved: [ - { _kind: 'css', meta: otherMeta, symbol: { _kind: 'element', name: '*' } }, + { _kind: 'css', meta: otherMeta, symbol: CSSType.createSymbol({ name: '*' }) }, ], }, ]); diff --git a/packages/core/test/stylable-processor.spec.ts b/packages/core/test/stylable-processor.spec.ts index f090f3b60..938a5b5bb 100644 --- a/packages/core/test/stylable-processor.spec.ts +++ b/packages/core/test/stylable-processor.spec.ts @@ -2,7 +2,10 @@ import { resolve } from 'path'; import chai, { expect } from 'chai'; import { flatMatch, processSource } from '@stylable/core-test-kit'; import { processNamespace } from '@stylable/core'; -import { knownPseudoClassesWithNestedSelectors } from '@stylable/core/dist/index-internal'; +import { + CSSClass, + knownPseudoClassesWithNestedSelectors, +} from '@stylable/core/dist/index-internal'; chai.use(flatMatch); @@ -101,12 +104,11 @@ describe('Stylable postcss process', () => { ); expect(result.getAllClasses()).to.eql({ - root: { - _kind: 'class', + root: CSSClass.createSymbol({ name: 'root', '-st-root': true, alias: undefined, - }, + }), }); }); diff --git a/packages/core/test/stylable-transformer/transformer.unit.spec.ts b/packages/core/test/stylable-transformer/transformer.unit.spec.ts index 0671866ce..88fa1abec 100644 --- a/packages/core/test/stylable-transformer/transformer.unit.spec.ts +++ b/packages/core/test/stylable-transformer/transformer.unit.spec.ts @@ -1,24 +1,9 @@ import { expect } from 'chai'; -import { testStylableCore } from '@stylable/core-test-kit'; - -function createSpy any>(fn?: T) { - const spy = (...args: any[]) => { - spy.calls.push(args); - spy.callCount++; - return fn?.(...args); - }; - spy.calls = [] as unknown[][]; - spy.callCount = 0; - spy.resetHistory = () => { - spy.calls.length = 0; - spy.callCount = 0; - }; - return spy; -} +import { testStylableCore, logCalls } from '@stylable/core-test-kit'; describe('Transformer', () => { it('should not resolve path more then once', () => { - const onResolve = createSpy((resolved) => resolved); + const onResolve = logCalls((resolved: any) => resolved); testStylableCore( { '/base.st.css': ` diff --git a/packages/language-service/src/lib/completion-providers.ts b/packages/language-service/src/lib/completion-providers.ts index efd3bf640..fc18c8c0c 100644 --- a/packages/language-service/src/lib/completion-providers.ts +++ b/packages/language-service/src/lib/completion-providers.ts @@ -15,9 +15,9 @@ import type { import { nativePseudoElements, ResolvedElement, - STPart, STCustomSelector, STCustomState, + STStructure, } from '@stylable/core/dist/index-internal'; import type { IFileSystem } from '@file-services/types'; import { @@ -958,12 +958,8 @@ export const PseudoElementCompletionPlugin: LangServicePlugin = { const colons = lineChunkAtCursor.match(/:*$/)![0].length; scope?.resolved.forEach((res) => { - if (!(res.symbol as ClassSymbol)[`-st-root`]) { - return; - } - comps = comps.concat( - STPart.getPartNames(res.meta) + STStructure.getPartNames(res.symbol) .filter((e) => e.startsWith(filter) && e !== 'root') .map((c) => { let relPath = path.relative(path.dirname(meta.source), res.meta.source); @@ -1003,7 +999,7 @@ export const PseudoElementCompletionPlugin: LangServicePlugin = { } comps = comps.concat( - STPart.getPartNames(res.meta) + STStructure.getPartNames(res.symbol) .filter((e) => e.startsWith(filter) && e !== 'root') .map((c) => { let relPath = path.relative( diff --git a/packages/language-service/src/lib/css-service.ts b/packages/language-service/src/lib/css-service.ts index 2c17b382a..d93999825 100644 --- a/packages/language-service/src/lib/css-service.ts +++ b/packages/language-service/src/lib/css-service.ts @@ -174,6 +174,7 @@ export class CssService { } else if ( diag.code === 'unknownAtRules' && (atRuleName === '@custom-selector' || + atRuleName === '@st' || atRuleName === '@st-scope' || atRuleName === '@st-namespace' || atRuleName === '@st-import' || diff --git a/packages/language-service/test/lib-new/features/ls-st-import.spec.ts b/packages/language-service/test/lib-new/features/ls-st-import.spec.ts index f4306f2fa..ad94d2ec7 100644 --- a/packages/language-service/test/lib-new/features/ls-st-import.spec.ts +++ b/packages/language-service/test/lib-new/features/ls-st-import.spec.ts @@ -1,4 +1,5 @@ import { createDefaultResolver } from '@stylable/core'; +import { CSSClass } from '@stylable/core/dist/index-internal'; import { createTempDirectorySync } from '@stylable/core-test-kit'; import { testLangService } from '../../test-kit/test-lang-service'; import { stImportNamedCompletion } from '@stylable/language-service/dist/lib/completion-types'; @@ -169,14 +170,14 @@ describe('LS: st-import', () => { label: 'root', detail: stImportNamedCompletion.detail({ relativePath: './source.st.css', - symbol: { _kind: 'class', name: 'root' }, + symbol: CSSClass.createSymbol({ name: 'root' }), }), }, { label: 'classA', detail: stImportNamedCompletion.detail({ relativePath: './source.st.css', - symbol: { _kind: 'class', name: 'classA' }, + symbol: CSSClass.createSymbol({ name: 'classA' }), }), }, { @@ -485,14 +486,14 @@ describe('LS: st-import', () => { label: 'root', detail: stImportNamedCompletion.detail({ relativePath: './proxy.st.css', - symbol: { _kind: 'class', name: 'root' }, + symbol: CSSClass.createSymbol({ name: 'root' }), }), }, { label: 'proxyClassA', detail: stImportNamedCompletion.detail({ relativePath: './extend.st.css', - symbol: { _kind: 'class', name: 'classA' }, + symbol: CSSClass.createSymbol({ name: 'classA' }), }), }, { @@ -550,11 +551,10 @@ describe('LS: st-import', () => { label: 'classA', detail: stImportNamedCompletion.detail({ relativePath: './source.st.css', - symbol: { - _kind: 'class', + symbol: CSSClass.createSymbol({ name: 'classA', '-st-global': parseCssSelector('.globalA'), - }, + }), }), }, { @@ -637,22 +637,20 @@ describe('LS: st-import', () => { label: 'classA', detail: stImportNamedCompletion.detail({ relativePath: './native.css', - symbol: { - _kind: 'class', + symbol: CSSClass.createSymbol({ name: 'classA', '-st-global': parseCssSelector('.classA'), - }, + }), }), }, { label: 'classB', detail: stImportNamedCompletion.detail({ relativePath: './native.css', - symbol: { - _kind: 'class', + symbol: CSSClass.createSymbol({ name: 'classB', '-st-global': parseCssSelector('.classB'), - }, + }), }), }, { diff --git a/packages/language-service/test/lib-new/features/ls-st-structure.spec.ts b/packages/language-service/test/lib-new/features/ls-st-structure.spec.ts new file mode 100644 index 000000000..59081e7fd --- /dev/null +++ b/packages/language-service/test/lib-new/features/ls-st-structure.spec.ts @@ -0,0 +1,61 @@ +import { expect } from 'chai'; +import { testLangService } from '../../test-kit/test-lang-service'; + +describe('LS: st-structure', () => { + // ToDo: refactor legacy flat mode tests cases here + it('should not report unknown rule from native lsp', () => { + const { service } = testLangService(` + @st .x { + @st :y; + @st ::z => [z]; + } + `); + + const result = service.diagnose('/entry.st.css'); + + expect(result).to.eql([]); + }); + it('should suggest nested parts', () => { + const { service, carets, assertCompletions } = testLangService(` + @st .cls { + @st ::shallow => [shallow] { + @st ::deep => [deep]; + } + } + + .cls^afterCls^ {} + + .cls::shallow^afterShallow^ {} + `); + const entryCarets = carets['/entry.st.css']; + + assertCompletions({ + message: 'afterCls', + actualList: service.onCompletion('/entry.st.css', entryCarets.afterCls), + expectedList: [{ label: '::shallow' }], + unexpectedList: [{ label: '::deep' }], + }); + + assertCompletions({ + message: 'afterShallow', + actualList: service.onCompletion('/entry.st.css', entryCarets.afterShallow), + expectedList: [{ label: '::deep' }], + unexpectedList: [{ label: '::shallow' }], + }); + }); + it('should NOT automatically set classes as parts on .root (not legacy flat mode)', () => { + const { service, carets, assertCompletions } = testLangService(` + @st .cls { + @st ::innerPart => [innerPart]; + } + + .root^afterRoot^ {} + `); + const entryCarets = carets['/entry.st.css']; + + assertCompletions({ + actualList: service.onCompletion('/entry.st.css', entryCarets.afterRoot), + unexpectedList: [{ label: '::cls' }, { label: '::innerPart' }], + }); + }); +}); From 0f5fd407c71daa4616879f31a1c4ca0bcd1a7101 Mon Sep 17 00:00:00 2001 From: barak igal Date: Wed, 21 Jun 2023 13:07:43 +0300 Subject: [PATCH 27/81] fix: peer dep + cache clear (#2878) ## esbuild: no upper limit on peer-dependency change esbuild peer dependency to `>=0.17.18` to allow any future version above `@stylable/esbuild` original check against version. Since esbuild itself is in version 0 and breaking changes are allowed in minor, then it's fine have no upper limit. When esbuild@1 is out we can release a version with an upper limit. ## rollup: clear cache Try clearing the cache for relative `package.json` to file on rebuild. This is a trade off between speed and the need to re-execute the flow when packages are added/removed. There are other integrations that don't clear this cache and we might want to think of a unified behavior - maybe expose the cache control out of each integration and allow to fine tune the experience - collect the possible resolved paths, listen for changes, and automatically fine-tune the invalidation --- packages/esbuild/package.json | 2 +- packages/rollup-plugin/src/index.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/esbuild/package.json b/packages/esbuild/package.json index 0a92b31b7..92eef4cbb 100644 --- a/packages/esbuild/package.json +++ b/packages/esbuild/package.json @@ -7,7 +7,7 @@ "test": "mocha \"dist/test/**/*.spec.js\"" }, "peerDependencies": { - "esbuild": "^0.17.18" + "esbuild": ">=0.17.18" }, "dependencies": { "@stylable/build-tools": "^5.12.0", diff --git a/packages/rollup-plugin/src/index.ts b/packages/rollup-plugin/src/index.ts index 2d3600493..5c786f0b6 100644 --- a/packages/rollup-plugin/src/index.ts +++ b/packages/rollup-plugin/src/index.ts @@ -14,7 +14,7 @@ import { hasImportedSideEffects, collectImportsWithSideEffects, } from '@stylable/build-tools'; -import { resolveNamespace as resolveNamespaceNode } from '@stylable/node'; +import { packageJsonLookupCache, resolveNamespace as resolveNamespaceNode } from '@stylable/node'; import { StylableOptimizer } from '@stylable/optimizer'; import decache from 'decache'; import { @@ -110,6 +110,7 @@ export function stylableRollupPlugin({ if (stylable) { clearRequireCache(); stylable.initCache(); + packageJsonLookupCache.clear(); } else { const stConfig = stylableConfig({ fileSystem: fs, From 0670f6416cf81799f1bd7cd7774c77a30cbf3db3 Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Wed, 21 Jun 2023 13:11:27 +0300 Subject: [PATCH 28/81] v5.13.0 --- package-lock.json | 252 +++++++++---------- packages/build-tools/package.json | 4 +- packages/cli/package.json | 14 +- packages/code-formatter/package.json | 4 +- packages/core-test-kit/package.json | 4 +- packages/core/package.json | 2 +- packages/create-stylable-app/package.json | 2 +- packages/custom-value/package.json | 4 +- packages/dom-test-kit/package.json | 6 +- packages/e2e-test-kit/package.json | 4 +- packages/esbuild/package.json | 16 +- packages/eslint-plugin-stylable/package.json | 4 +- packages/experimental-loader/package.json | 6 +- packages/jest/package.json | 10 +- packages/language-service/package.json | 6 +- packages/module-utils/package.json | 4 +- packages/node/package.json | 8 +- packages/optimizer/package.json | 4 +- packages/rollup-plugin/package.json | 14 +- packages/runtime/package.json | 2 +- packages/schema-extract/package.json | 4 +- packages/uni-driver/package.json | 2 +- packages/webpack-extensions/package.json | 8 +- packages/webpack-plugin/package.json | 16 +- 24 files changed, 200 insertions(+), 200 deletions(-) diff --git a/package-lock.json b/package-lock.json index 363a95a73..dfdcde5bf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6855,10 +6855,10 @@ }, "packages/build-tools": { "name": "@stylable/build-tools", - "version": "5.12.0", + "version": "5.13.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.12.0", + "@stylable/core": "^5.13.0", "find-config": "^1.0.0" }, "engines": { @@ -6867,17 +6867,17 @@ }, "packages/cli": { "name": "@stylable/cli", - "version": "5.12.0", + "version": "5.13.0", "license": "MIT", "dependencies": { "@file-services/node": "^7.3.0", "@file-services/types": "^7.3.0", - "@stylable/build-tools": "^5.12.0", - "@stylable/code-formatter": "^5.12.0", - "@stylable/core": "^5.12.0", - "@stylable/module-utils": "^5.12.0", - "@stylable/node": "^5.12.0", - "@stylable/optimizer": "^5.12.0", + "@stylable/build-tools": "^5.13.0", + "@stylable/code-formatter": "^5.13.0", + "@stylable/core": "^5.13.0", + "@stylable/module-utils": "^5.13.0", + "@stylable/node": "^5.13.0", + "@stylable/optimizer": "^5.13.0", "@wixc3/resolve-directory-context": "^3.0.5", "decache": "^4.6.1", "lodash.camelcase": "^4.3.0", @@ -6907,10 +6907,10 @@ }, "packages/code-formatter": { "name": "@stylable/code-formatter", - "version": "5.12.0", + "version": "5.13.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.12.0", + "@stylable/core": "^5.13.0", "@tokey/css-value-parser": "^0.1.3", "js-beautify": "^1.14.8", "postcss": "^8.4.24" @@ -6921,7 +6921,7 @@ }, "packages/core": { "name": "@stylable/core", - "version": "5.12.0", + "version": "5.13.0", "license": "MIT", "dependencies": { "@tokey/css-selector-parser": "^0.6.1", @@ -6946,11 +6946,11 @@ }, "packages/core-test-kit": { "name": "@stylable/core-test-kit", - "version": "5.12.0", + "version": "5.13.0", "license": "MIT", "dependencies": { "@file-services/memory": "^7.3.0", - "@stylable/core": "^5.12.0", + "@stylable/core": "^5.13.0", "chai": "^4.3.7", "flat": "^5.0.2", "postcss": "^8.4.24" @@ -6965,7 +6965,7 @@ "integrity": "sha512-1ugUSr8BHXRnK23KfuYS+gVMC3LB8QGH9W1iGtDPsNWoQbgtXSExkBu2aDR4epiGWZOjZsj6lDl/N/AqqTC3UA==" }, "packages/create-stylable-app": { - "version": "5.12.0", + "version": "5.13.0", "license": "MIT", "dependencies": { "validate-npm-package-name": "^5.0.0", @@ -6980,10 +6980,10 @@ }, "packages/custom-value": { "name": "@stylable/custom-value", - "version": "5.12.0", + "version": "5.13.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.12.0" + "@stylable/core": "^5.13.0" }, "engines": { "node": ">=14.14.0" @@ -6991,11 +6991,11 @@ }, "packages/dom-test-kit": { "name": "@stylable/dom-test-kit", - "version": "5.12.0", + "version": "5.13.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.12.0", - "@stylable/runtime": "^5.12.0", + "@stylable/core": "^5.13.0", + "@stylable/runtime": "^5.13.0", "@tokey/css-selector-parser": "^0.6.1" }, "engines": { @@ -7004,10 +7004,10 @@ }, "packages/e2e-test-kit": { "name": "@stylable/e2e-test-kit", - "version": "5.12.0", + "version": "5.13.0", "license": "MIT", "dependencies": { - "@stylable/runtime": "^5.12.0", + "@stylable/runtime": "^5.13.0", "node-eval": "^2.0.0", "playwright-core": "^1.35.1", "rimraf": "^5.0.1" @@ -7021,40 +7021,40 @@ }, "packages/esbuild": { "name": "@stylable/esbuild", - "version": "5.12.0", + "version": "5.13.0", "license": "MIT", "dependencies": { - "@stylable/build-tools": "^5.12.0", - "@stylable/cli": "^5.12.0", - "@stylable/core": "^5.12.0", - "@stylable/module-utils": "^5.12.0", - "@stylable/node": "^5.12.0", - "@stylable/optimizer": "^5.12.0", - "@stylable/runtime": "^5.12.0", + "@stylable/build-tools": "^5.13.0", + "@stylable/cli": "^5.13.0", + "@stylable/core": "^5.13.0", + "@stylable/module-utils": "^5.13.0", + "@stylable/node": "^5.13.0", + "@stylable/optimizer": "^5.13.0", + "@stylable/runtime": "^5.13.0", "decache": "^4.6.1" }, "engines": { "node": ">=14.14.0" }, "peerDependencies": { - "esbuild": "^0.17.18" + "esbuild": ">=0.17.18" } }, "packages/eslint-plugin-stylable": { - "version": "5.12.0", + "version": "5.13.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.12.0", + "@stylable/core": "^5.13.0", "@typescript-eslint/experimental-utils": "^5.60.0" } }, "packages/experimental-loader": { "name": "@stylable/experimental-loader", - "version": "5.12.0", + "version": "5.13.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.12.0", - "@stylable/runtime": "^5.12.0", + "@stylable/core": "^5.13.0", + "@stylable/runtime": "^5.13.0", "css-loader": "^6.8.1", "decache": "^4.6.1", "loader-utils": "^3.2.1" @@ -7070,13 +7070,13 @@ }, "packages/jest": { "name": "@stylable/jest", - "version": "5.12.0", + "version": "5.13.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.12.0", - "@stylable/module-utils": "^5.12.0", - "@stylable/node": "^5.12.0", - "@stylable/runtime": "^5.12.0" + "@stylable/core": "^5.13.0", + "@stylable/module-utils": "^5.13.0", + "@stylable/node": "^5.13.0", + "@stylable/runtime": "^5.13.0" }, "engines": { "node": ">=14.14.0" @@ -7084,13 +7084,13 @@ }, "packages/language-service": { "name": "@stylable/language-service", - "version": "5.12.0", + "version": "5.13.0", "license": "MIT", "dependencies": { "@file-services/types": "^7.3.0", "@file-services/typescript": "^7.3.0", - "@stylable/code-formatter": "^5.12.0", - "@stylable/core": "^5.12.0", + "@stylable/code-formatter": "^5.13.0", + "@stylable/core": "^5.13.0", "@tokey/core": "^1.4.0", "@tokey/css-selector-parser": "^0.6.1", "@tokey/css-value-parser": "^0.1.3", @@ -7111,10 +7111,10 @@ }, "packages/module-utils": { "name": "@stylable/module-utils", - "version": "5.12.0", + "version": "5.13.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.12.0", + "@stylable/core": "^5.13.0", "@tokey/core": "^1.4.0", "vlq": "^2.0.4" }, @@ -7124,12 +7124,12 @@ }, "packages/node": { "name": "@stylable/node", - "version": "5.12.0", + "version": "5.13.0", "license": "MIT", "dependencies": { - "@stylable/build-tools": "^5.12.0", - "@stylable/core": "^5.12.0", - "@stylable/module-utils": "^5.12.0", + "@stylable/build-tools": "^5.13.0", + "@stylable/core": "^5.13.0", + "@stylable/module-utils": "^5.13.0", "find-config": "^1.0.0" }, "engines": { @@ -7138,10 +7138,10 @@ }, "packages/optimizer": { "name": "@stylable/optimizer", - "version": "5.12.0", + "version": "5.13.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.12.0", + "@stylable/core": "^5.13.0", "@tokey/css-selector-parser": "^0.6.1", "csso": "^5.0.5", "postcss": "^8.4.24" @@ -7152,15 +7152,15 @@ }, "packages/rollup-plugin": { "name": "@stylable/rollup-plugin", - "version": "5.12.0", + "version": "5.13.0", "license": "MIT", "dependencies": { - "@stylable/build-tools": "^5.12.0", - "@stylable/cli": "^5.12.0", - "@stylable/core": "^5.12.0", - "@stylable/node": "^5.12.0", - "@stylable/optimizer": "^5.12.0", - "@stylable/runtime": "^5.12.0", + "@stylable/build-tools": "^5.13.0", + "@stylable/cli": "^5.13.0", + "@stylable/core": "^5.13.0", + "@stylable/node": "^5.13.0", + "@stylable/optimizer": "^5.13.0", + "@stylable/runtime": "^5.13.0", "decache": "^4.6.1", "mime": "^3.0.0" }, @@ -7184,7 +7184,7 @@ }, "packages/runtime": { "name": "@stylable/runtime", - "version": "5.12.0", + "version": "5.13.0", "license": "MIT", "engines": { "node": ">=14.14.0" @@ -7192,10 +7192,10 @@ }, "packages/schema-extract": { "name": "@stylable/schema-extract", - "version": "5.12.0", + "version": "5.13.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.12.0", + "@stylable/core": "^5.13.0", "jest-docblock": "^29.4.3" }, "engines": { @@ -7204,7 +7204,7 @@ }, "packages/uni-driver": { "name": "@stylable/uni-driver", - "version": "5.12.0", + "version": "5.13.0", "license": "MIT", "engines": { "node": ">=14.14.0" @@ -7212,12 +7212,12 @@ }, "packages/webpack-extensions": { "name": "@stylable/webpack-extensions", - "version": "5.12.0", + "version": "5.13.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.12.0", - "@stylable/node": "^5.12.0", - "@stylable/webpack-plugin": "^5.12.0", + "@stylable/core": "^5.13.0", + "@stylable/node": "^5.13.0", + "@stylable/webpack-plugin": "^5.13.0", "@tokey/css-selector-parser": "^0.6.1", "find-config": "^1.0.0", "lodash.clonedeep": "^4.5.0" @@ -7231,16 +7231,16 @@ }, "packages/webpack-plugin": { "name": "@stylable/webpack-plugin", - "version": "5.12.0", + "version": "5.13.0", "license": "MIT", "dependencies": { - "@stylable/build-tools": "^5.12.0", - "@stylable/cli": "^5.12.0", - "@stylable/core": "^5.12.0", - "@stylable/module-utils": "^5.12.0", - "@stylable/node": "^5.12.0", - "@stylable/optimizer": "^5.12.0", - "@stylable/runtime": "^5.12.0", + "@stylable/build-tools": "^5.13.0", + "@stylable/cli": "^5.13.0", + "@stylable/core": "^5.13.0", + "@stylable/module-utils": "^5.13.0", + "@stylable/node": "^5.13.0", + "@stylable/optimizer": "^5.13.0", + "@stylable/runtime": "^5.13.0", "decache": "^4.6.1", "lodash.clonedeep": "^4.5.0", "postcss": "^8.4.24" @@ -7687,7 +7687,7 @@ "@stylable/build-tools": { "version": "file:packages/build-tools", "requires": { - "@stylable/core": "^5.12.0", + "@stylable/core": "^5.13.0", "find-config": "^1.0.0" } }, @@ -7696,12 +7696,12 @@ "requires": { "@file-services/node": "^7.3.0", "@file-services/types": "^7.3.0", - "@stylable/build-tools": "^5.12.0", - "@stylable/code-formatter": "^5.12.0", - "@stylable/core": "^5.12.0", - "@stylable/module-utils": "^5.12.0", - "@stylable/node": "^5.12.0", - "@stylable/optimizer": "^5.12.0", + "@stylable/build-tools": "^5.13.0", + "@stylable/code-formatter": "^5.13.0", + "@stylable/core": "^5.13.0", + "@stylable/module-utils": "^5.13.0", + "@stylable/node": "^5.13.0", + "@stylable/optimizer": "^5.13.0", "@wixc3/resolve-directory-context": "^3.0.5", "decache": "^4.6.1", "lodash.camelcase": "^4.3.0", @@ -7720,7 +7720,7 @@ "@stylable/code-formatter": { "version": "file:packages/code-formatter", "requires": { - "@stylable/core": "^5.12.0", + "@stylable/core": "^5.13.0", "@tokey/css-value-parser": "^0.1.3", "js-beautify": "^1.14.8", "postcss": "^8.4.24" @@ -7757,7 +7757,7 @@ "version": "file:packages/core-test-kit", "requires": { "@file-services/memory": "^7.3.0", - "@stylable/core": "^5.12.0", + "@stylable/core": "^5.13.0", "chai": "^4.3.7", "flat": "^5.0.2", "postcss": "^8.4.24" @@ -7766,21 +7766,21 @@ "@stylable/custom-value": { "version": "file:packages/custom-value", "requires": { - "@stylable/core": "^5.12.0" + "@stylable/core": "^5.13.0" } }, "@stylable/dom-test-kit": { "version": "file:packages/dom-test-kit", "requires": { - "@stylable/core": "^5.12.0", - "@stylable/runtime": "^5.12.0", + "@stylable/core": "^5.13.0", + "@stylable/runtime": "^5.13.0", "@tokey/css-selector-parser": "^0.6.1" } }, "@stylable/e2e-test-kit": { "version": "file:packages/e2e-test-kit", "requires": { - "@stylable/runtime": "^5.12.0", + "@stylable/runtime": "^5.13.0", "node-eval": "^2.0.0", "playwright-core": "^1.35.1", "rimraf": "^5.0.1" @@ -7789,21 +7789,21 @@ "@stylable/esbuild": { "version": "file:packages/esbuild", "requires": { - "@stylable/build-tools": "^5.12.0", - "@stylable/cli": "^5.12.0", - "@stylable/core": "^5.12.0", - "@stylable/module-utils": "^5.12.0", - "@stylable/node": "^5.12.0", - "@stylable/optimizer": "^5.12.0", - "@stylable/runtime": "^5.12.0", + "@stylable/build-tools": "^5.13.0", + "@stylable/cli": "^5.13.0", + "@stylable/core": "^5.13.0", + "@stylable/module-utils": "^5.13.0", + "@stylable/node": "^5.13.0", + "@stylable/optimizer": "^5.13.0", + "@stylable/runtime": "^5.13.0", "decache": "^4.6.1" } }, "@stylable/experimental-loader": { "version": "file:packages/experimental-loader", "requires": { - "@stylable/core": "^5.12.0", - "@stylable/runtime": "^5.12.0", + "@stylable/core": "^5.13.0", + "@stylable/runtime": "^5.13.0", "css-loader": "^6.8.1", "decache": "^4.6.1", "loader-utils": "^3.2.1" @@ -7819,10 +7819,10 @@ "@stylable/jest": { "version": "file:packages/jest", "requires": { - "@stylable/core": "^5.12.0", - "@stylable/module-utils": "^5.12.0", - "@stylable/node": "^5.12.0", - "@stylable/runtime": "^5.12.0" + "@stylable/core": "^5.13.0", + "@stylable/module-utils": "^5.13.0", + "@stylable/node": "^5.13.0", + "@stylable/runtime": "^5.13.0" } }, "@stylable/language-service": { @@ -7830,8 +7830,8 @@ "requires": { "@file-services/types": "^7.3.0", "@file-services/typescript": "^7.3.0", - "@stylable/code-formatter": "^5.12.0", - "@stylable/core": "^5.12.0", + "@stylable/code-formatter": "^5.13.0", + "@stylable/core": "^5.13.0", "@tokey/core": "^1.4.0", "@tokey/css-selector-parser": "^0.6.1", "@tokey/css-value-parser": "^0.1.3", @@ -7847,7 +7847,7 @@ "@stylable/module-utils": { "version": "file:packages/module-utils", "requires": { - "@stylable/core": "^5.12.0", + "@stylable/core": "^5.13.0", "@tokey/core": "^1.4.0", "vlq": "^2.0.4" } @@ -7855,16 +7855,16 @@ "@stylable/node": { "version": "file:packages/node", "requires": { - "@stylable/build-tools": "^5.12.0", - "@stylable/core": "^5.12.0", - "@stylable/module-utils": "^5.12.0", + "@stylable/build-tools": "^5.13.0", + "@stylable/core": "^5.13.0", + "@stylable/module-utils": "^5.13.0", "find-config": "^1.0.0" } }, "@stylable/optimizer": { "version": "file:packages/optimizer", "requires": { - "@stylable/core": "^5.12.0", + "@stylable/core": "^5.13.0", "@tokey/css-selector-parser": "^0.6.1", "csso": "^5.0.5", "postcss": "^8.4.24" @@ -7873,12 +7873,12 @@ "@stylable/rollup-plugin": { "version": "file:packages/rollup-plugin", "requires": { - "@stylable/build-tools": "^5.12.0", - "@stylable/cli": "^5.12.0", - "@stylable/core": "^5.12.0", - "@stylable/node": "^5.12.0", - "@stylable/optimizer": "^5.12.0", - "@stylable/runtime": "^5.12.0", + "@stylable/build-tools": "^5.13.0", + "@stylable/cli": "^5.13.0", + "@stylable/core": "^5.13.0", + "@stylable/node": "^5.13.0", + "@stylable/optimizer": "^5.13.0", + "@stylable/runtime": "^5.13.0", "decache": "^4.6.1", "mime": "^3.0.0" }, @@ -7896,7 +7896,7 @@ "@stylable/schema-extract": { "version": "file:packages/schema-extract", "requires": { - "@stylable/core": "^5.12.0", + "@stylable/core": "^5.13.0", "jest-docblock": "^29.4.3" } }, @@ -7906,9 +7906,9 @@ "@stylable/webpack-extensions": { "version": "file:packages/webpack-extensions", "requires": { - "@stylable/core": "^5.12.0", - "@stylable/node": "^5.12.0", - "@stylable/webpack-plugin": "^5.12.0", + "@stylable/core": "^5.13.0", + "@stylable/node": "^5.13.0", + "@stylable/webpack-plugin": "^5.13.0", "@tokey/css-selector-parser": "^0.6.1", "find-config": "^1.0.0", "lodash.clonedeep": "^4.5.0" @@ -7917,13 +7917,13 @@ "@stylable/webpack-plugin": { "version": "file:packages/webpack-plugin", "requires": { - "@stylable/build-tools": "^5.12.0", - "@stylable/cli": "^5.12.0", - "@stylable/core": "^5.12.0", - "@stylable/module-utils": "^5.12.0", - "@stylable/node": "^5.12.0", - "@stylable/optimizer": "^5.12.0", - "@stylable/runtime": "^5.12.0", + "@stylable/build-tools": "^5.13.0", + "@stylable/cli": "^5.13.0", + "@stylable/core": "^5.13.0", + "@stylable/module-utils": "^5.13.0", + "@stylable/node": "^5.13.0", + "@stylable/optimizer": "^5.13.0", + "@stylable/runtime": "^5.13.0", "decache": "^4.6.1", "lodash.clonedeep": "^4.5.0", "postcss": "^8.4.24" @@ -9504,7 +9504,7 @@ "eslint-plugin-stylable": { "version": "file:packages/eslint-plugin-stylable", "requires": { - "@stylable/core": "^5.12.0", + "@stylable/core": "^5.13.0", "@typescript-eslint/experimental-utils": "^5.60.0" } }, diff --git a/packages/build-tools/package.json b/packages/build-tools/package.json index 3e9716da3..e3091a91f 100644 --- a/packages/build-tools/package.json +++ b/packages/build-tools/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/build-tools", - "version": "5.12.0", + "version": "5.13.0", "description": "Collection of helper functions for Stylable based tooling.", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 20000" }, "dependencies": { - "@stylable/core": "^5.12.0", + "@stylable/core": "^5.13.0", "find-config": "^1.0.0" }, "files": [ diff --git a/packages/cli/package.json b/packages/cli/package.json index 9f148d9c0..79f1f902d 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/cli", - "version": "5.12.0", + "version": "5.13.0", "description": "A low-level utility used for working with Stylable projects", "main": "dist/index.js", "bin": { @@ -14,12 +14,12 @@ "dependencies": { "@file-services/node": "^7.3.0", "@file-services/types": "^7.3.0", - "@stylable/build-tools": "^5.12.0", - "@stylable/code-formatter": "^5.12.0", - "@stylable/core": "^5.12.0", - "@stylable/module-utils": "^5.12.0", - "@stylable/node": "^5.12.0", - "@stylable/optimizer": "^5.12.0", + "@stylable/build-tools": "^5.13.0", + "@stylable/code-formatter": "^5.13.0", + "@stylable/core": "^5.13.0", + "@stylable/module-utils": "^5.13.0", + "@stylable/node": "^5.13.0", + "@stylable/optimizer": "^5.13.0", "@wixc3/resolve-directory-context": "^3.0.5", "decache": "^4.6.1", "lodash.camelcase": "^4.3.0", diff --git a/packages/code-formatter/package.json b/packages/code-formatter/package.json index 7cdb7810b..07721a17a 100644 --- a/packages/code-formatter/package.json +++ b/packages/code-formatter/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/code-formatter", - "version": "5.12.0", + "version": "5.13.0", "description": "A code formatting utility for Stylable stylesheets", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.12.0", + "@stylable/core": "^5.13.0", "@tokey/css-value-parser": "^0.1.3", "js-beautify": "^1.14.8", "postcss": "^8.4.24" diff --git a/packages/core-test-kit/package.json b/packages/core-test-kit/package.json index f631ca987..124cacbef 100644 --- a/packages/core-test-kit/package.json +++ b/packages/core-test-kit/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/core-test-kit", - "version": "5.12.0", + "version": "5.13.0", "description": "Stylable core test-kit", "main": "dist/index.js", "scripts": { @@ -8,7 +8,7 @@ }, "dependencies": { "@file-services/memory": "^7.3.0", - "@stylable/core": "^5.12.0", + "@stylable/core": "^5.13.0", "chai": "^4.3.7", "flat": "^5.0.2", "postcss": "^8.4.24" diff --git a/packages/core/package.json b/packages/core/package.json index 7621d2e40..d3cd0535a 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/core", - "version": "5.12.0", + "version": "5.13.0", "description": "CSS for Components", "main": "dist/index.js", "scripts": { diff --git a/packages/create-stylable-app/package.json b/packages/create-stylable-app/package.json index 5192049d5..d93b1e3fe 100644 --- a/packages/create-stylable-app/package.json +++ b/packages/create-stylable-app/package.json @@ -1,6 +1,6 @@ { "name": "create-stylable-app", - "version": "5.12.0", + "version": "5.13.0", "description": "Quickly create a Stylable application", "main": "dist/index.js", "bin": { diff --git a/packages/custom-value/package.json b/packages/custom-value/package.json index bcd3f44fb..a7a771496 100644 --- a/packages/custom-value/package.json +++ b/packages/custom-value/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/custom-value", - "version": "5.12.0", + "version": "5.13.0", "description": "Custom values (variables) for Stylable", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 20000" }, "dependencies": { - "@stylable/core": "^5.12.0" + "@stylable/core": "^5.13.0" }, "files": [ "dist", diff --git a/packages/dom-test-kit/package.json b/packages/dom-test-kit/package.json index 6aaa7ce7c..c1b5b3c7a 100644 --- a/packages/dom-test-kit/package.json +++ b/packages/dom-test-kit/package.json @@ -1,14 +1,14 @@ { "name": "@stylable/dom-test-kit", - "version": "5.12.0", + "version": "5.13.0", "description": "Stylable DOM testing utilities", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.12.0", - "@stylable/runtime": "^5.12.0", + "@stylable/core": "^5.13.0", + "@stylable/runtime": "^5.13.0", "@tokey/css-selector-parser": "^0.6.1" }, "files": [ diff --git a/packages/e2e-test-kit/package.json b/packages/e2e-test-kit/package.json index e81a7f72e..6f0f40ed9 100644 --- a/packages/e2e-test-kit/package.json +++ b/packages/e2e-test-kit/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/e2e-test-kit", - "version": "5.12.0", + "version": "5.13.0", "description": "A collection of tools to help test Stylable components and applications from end-to-end", "main": "dist/index.js", "peerDependencies": { "webpack": "^5.30.0" }, "dependencies": { - "@stylable/runtime": "^5.12.0", + "@stylable/runtime": "^5.13.0", "node-eval": "^2.0.0", "playwright-core": "^1.35.1", "rimraf": "^5.0.1" diff --git a/packages/esbuild/package.json b/packages/esbuild/package.json index 92eef4cbb..2e6366f6e 100644 --- a/packages/esbuild/package.json +++ b/packages/esbuild/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/esbuild", - "version": "5.12.0", + "version": "5.13.0", "description": "Stylable plugin for esbuild", "main": "dist/index.js", "scripts": { @@ -10,13 +10,13 @@ "esbuild": ">=0.17.18" }, "dependencies": { - "@stylable/build-tools": "^5.12.0", - "@stylable/cli": "^5.12.0", - "@stylable/core": "^5.12.0", - "@stylable/module-utils": "^5.12.0", - "@stylable/node": "^5.12.0", - "@stylable/optimizer": "^5.12.0", - "@stylable/runtime": "^5.12.0", + "@stylable/build-tools": "^5.13.0", + "@stylable/cli": "^5.13.0", + "@stylable/core": "^5.13.0", + "@stylable/module-utils": "^5.13.0", + "@stylable/node": "^5.13.0", + "@stylable/optimizer": "^5.13.0", + "@stylable/runtime": "^5.13.0", "decache": "^4.6.1" }, "files": [ diff --git a/packages/eslint-plugin-stylable/package.json b/packages/eslint-plugin-stylable/package.json index 6be3a4d02..fb5ce762b 100644 --- a/packages/eslint-plugin-stylable/package.json +++ b/packages/eslint-plugin-stylable/package.json @@ -1,13 +1,13 @@ { "name": "eslint-plugin-stylable", - "version": "5.12.0", + "version": "5.13.0", "description": "eslint plugin for Stylable usages", "main": "dist/index.js", "scripts": { "test": "mocha \"dist/test/**/*.spec.js\" --timeout 5000" }, "dependencies": { - "@stylable/core": "^5.12.0", + "@stylable/core": "^5.13.0", "@typescript-eslint/experimental-utils": "^5.60.0" }, "keywords": [ diff --git a/packages/experimental-loader/package.json b/packages/experimental-loader/package.json index 95f6ebbad..fd25abcf0 100644 --- a/packages/experimental-loader/package.json +++ b/packages/experimental-loader/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/experimental-loader", - "version": "5.12.0", + "version": "5.13.0", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 20000" }, "dependencies": { - "@stylable/core": "^5.12.0", - "@stylable/runtime": "^5.12.0", + "@stylable/core": "^5.13.0", + "@stylable/runtime": "^5.13.0", "css-loader": "^6.8.1", "decache": "^4.6.1", "loader-utils": "^3.2.1" diff --git a/packages/jest/package.json b/packages/jest/package.json index cf141326b..8bdf69bd4 100644 --- a/packages/jest/package.json +++ b/packages/jest/package.json @@ -1,16 +1,16 @@ { "name": "@stylable/jest", - "version": "5.12.0", + "version": "5.13.0", "description": "Test your Stylable React components using Jest", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.12.0", - "@stylable/module-utils": "^5.12.0", - "@stylable/node": "^5.12.0", - "@stylable/runtime": "^5.12.0" + "@stylable/core": "^5.13.0", + "@stylable/module-utils": "^5.13.0", + "@stylable/node": "^5.13.0", + "@stylable/runtime": "^5.13.0" }, "files": [ "dist", diff --git a/packages/language-service/package.json b/packages/language-service/package.json index cde19b21d..2d0873032 100644 --- a/packages/language-service/package.json +++ b/packages/language-service/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/language-service", - "version": "5.12.0", + "version": "5.13.0", "description": "Stylable Language Services - syntax highlighting, completions, hinting and more for the Stylable CSS preprocessor.", "main": "dist/index.js", "scripts": { @@ -13,8 +13,8 @@ "dependencies": { "@file-services/types": "^7.3.0", "@file-services/typescript": "^7.3.0", - "@stylable/code-formatter": "^5.12.0", - "@stylable/core": "^5.12.0", + "@stylable/code-formatter": "^5.13.0", + "@stylable/core": "^5.13.0", "@tokey/core": "^1.4.0", "@tokey/css-selector-parser": "^0.6.1", "@tokey/css-value-parser": "^0.1.3", diff --git a/packages/module-utils/package.json b/packages/module-utils/package.json index 449261514..28de5d25d 100644 --- a/packages/module-utils/package.json +++ b/packages/module-utils/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/module-utils", - "version": "5.12.0", + "version": "5.13.0", "description": "Stylable module creation utilities", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.12.0", + "@stylable/core": "^5.13.0", "@tokey/core": "^1.4.0", "vlq": "^2.0.4" }, diff --git a/packages/node/package.json b/packages/node/package.json index 739d9f426..7c9aa4ca3 100644 --- a/packages/node/package.json +++ b/packages/node/package.json @@ -1,15 +1,15 @@ { "name": "@stylable/node", - "version": "5.12.0", + "version": "5.13.0", "description": "Integrate Stylable into your node application", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 10000" }, "dependencies": { - "@stylable/build-tools": "^5.12.0", - "@stylable/core": "^5.12.0", - "@stylable/module-utils": "^5.12.0", + "@stylable/build-tools": "^5.13.0", + "@stylable/core": "^5.13.0", + "@stylable/module-utils": "^5.13.0", "find-config": "^1.0.0" }, "files": [ diff --git a/packages/optimizer/package.json b/packages/optimizer/package.json index 89038ef4e..d1091626f 100644 --- a/packages/optimizer/package.json +++ b/packages/optimizer/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/optimizer", - "version": "5.12.0", + "version": "5.13.0", "description": "Stylable core optimizer", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.12.0", + "@stylable/core": "^5.13.0", "@tokey/css-selector-parser": "^0.6.1", "csso": "^5.0.5", "postcss": "^8.4.24" diff --git a/packages/rollup-plugin/package.json b/packages/rollup-plugin/package.json index a4c71afe9..46216bc03 100644 --- a/packages/rollup-plugin/package.json +++ b/packages/rollup-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/rollup-plugin", - "version": "5.12.0", + "version": "5.13.0", "description": "Stylable plugin for Rollup", "main": "dist/index.js", "scripts": { @@ -10,12 +10,12 @@ "rollup": "^2.70.0 || ^3.0.0" }, "dependencies": { - "@stylable/build-tools": "^5.12.0", - "@stylable/cli": "^5.12.0", - "@stylable/core": "^5.12.0", - "@stylable/node": "^5.12.0", - "@stylable/optimizer": "^5.12.0", - "@stylable/runtime": "^5.12.0", + "@stylable/build-tools": "^5.13.0", + "@stylable/cli": "^5.13.0", + "@stylable/core": "^5.13.0", + "@stylable/node": "^5.13.0", + "@stylable/optimizer": "^5.13.0", + "@stylable/runtime": "^5.13.0", "decache": "^4.6.1", "mime": "^3.0.0" }, diff --git a/packages/runtime/package.json b/packages/runtime/package.json index 19640c9e6..7ba8e6497 100644 --- a/packages/runtime/package.json +++ b/packages/runtime/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/runtime", - "version": "5.12.0", + "version": "5.13.0", "description": "Stylable runtime DOM integration", "main": "dist/index.js", "scripts": { diff --git a/packages/schema-extract/package.json b/packages/schema-extract/package.json index 0400f71fa..5c05d6b84 100644 --- a/packages/schema-extract/package.json +++ b/packages/schema-extract/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/schema-extract", - "version": "5.12.0", + "version": "5.13.0", "description": "A utility for extracting JSON schema objects from a Stylable stylesheet", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.12.0", + "@stylable/core": "^5.13.0", "jest-docblock": "^29.4.3" }, "files": [ diff --git a/packages/uni-driver/package.json b/packages/uni-driver/package.json index 242f3182d..0fe289efb 100644 --- a/packages/uni-driver/package.json +++ b/packages/uni-driver/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/uni-driver", - "version": "5.12.0", + "version": "5.13.0", "description": "Stylable UniDriver testing utilities", "main": "dist/index.js", "scripts": { diff --git a/packages/webpack-extensions/package.json b/packages/webpack-extensions/package.json index 52b6b2594..1e78be3b0 100644 --- a/packages/webpack-extensions/package.json +++ b/packages/webpack-extensions/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/webpack-extensions", - "version": "5.12.0", + "version": "5.13.0", "description": "Experimental Stylable webpack plugins", "main": "dist/index.js", "scripts": { @@ -10,9 +10,9 @@ "webpack": "^5.30.0" }, "dependencies": { - "@stylable/core": "^5.12.0", - "@stylable/node": "^5.12.0", - "@stylable/webpack-plugin": "^5.12.0", + "@stylable/core": "^5.13.0", + "@stylable/node": "^5.13.0", + "@stylable/webpack-plugin": "^5.13.0", "@tokey/css-selector-parser": "^0.6.1", "find-config": "^1.0.0", "lodash.clonedeep": "^4.5.0" diff --git a/packages/webpack-plugin/package.json b/packages/webpack-plugin/package.json index caa20a80e..b915c4b63 100644 --- a/packages/webpack-plugin/package.json +++ b/packages/webpack-plugin/package.json @@ -1,7 +1,7 @@ { "name": "@stylable/webpack-plugin", "description": "Webpack (5.x) plugin for Stylable modules", - "version": "5.12.0", + "version": "5.13.0", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 20000" @@ -10,13 +10,13 @@ "webpack": "^5.30.0" }, "dependencies": { - "@stylable/build-tools": "^5.12.0", - "@stylable/cli": "^5.12.0", - "@stylable/core": "^5.12.0", - "@stylable/module-utils": "^5.12.0", - "@stylable/node": "^5.12.0", - "@stylable/optimizer": "^5.12.0", - "@stylable/runtime": "^5.12.0", + "@stylable/build-tools": "^5.13.0", + "@stylable/cli": "^5.13.0", + "@stylable/core": "^5.13.0", + "@stylable/module-utils": "^5.13.0", + "@stylable/node": "^5.13.0", + "@stylable/optimizer": "^5.13.0", + "@stylable/runtime": "^5.13.0", "decache": "^4.6.1", "lodash.clonedeep": "^4.5.0", "postcss": "^8.4.24" From bddca9179e65cdf3ab577b3ee128ac4b5284d0df Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Wed, 5 Jul 2023 08:14:51 +0300 Subject: [PATCH 29/81] chore(deps): upgrade to latest stable --- package-lock.json | 552 +++++++++---------- package.json | 18 +- packages/cli/package.json | 6 +- packages/core-test-kit/package.json | 2 +- packages/core/package.json | 2 +- packages/esbuild/package.json | 2 +- packages/eslint-plugin-stylable/package.json | 2 +- packages/experimental-loader/package.json | 2 +- packages/language-service/package.json | 4 +- packages/rollup-plugin/package.json | 2 +- packages/webpack-plugin/package.json | 2 +- 11 files changed, 291 insertions(+), 303 deletions(-) diff --git a/package-lock.json b/package-lock.json index dfdcde5bf..d7c9affd6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,8 +10,8 @@ "packages/*" ], "devDependencies": { - "@file-services/memory": "^7.3.0", - "@file-services/node": "^7.3.0", + "@file-services/memory": "^7.4.0", + "@file-services/node": "^7.4.0", "@rollup/plugin-html": "^1.0.2", "@rollup/plugin-node-resolve": "^15.1.0", "@types/balanced-match": "^1.0.2", @@ -34,19 +34,19 @@ "@types/mocha": "^10.0.1", "@types/node": "14", "@types/postcss-safe-parser": "^5.0.1", - "@types/react": "^18.2.13", + "@types/react": "^18.2.14", "@types/react-dom": "^18.2.6", "@types/semver": "^7.5.0", "@types/validate-npm-package-name": "^4.0.0", "@types/yargs": "^17.0.24", - "@typescript-eslint/eslint-plugin": "^5.60.0", - "@typescript-eslint/parser": "^5.60.0", + "@typescript-eslint/eslint-plugin": "^5.61.0", + "@typescript-eslint/parser": "^5.61.0", "autoprefixer": "^10.4.14", "c8": "^8.0.0", "chai": "^4.3.7", "chai-subset": "^1.6.0", "create-listening-server": "^2.1.0", - "eslint": "^8.43.0", + "eslint": "^8.44.0", "eslint-config-prettier": "^8.8.0", "eslint-plugin-react": "^7.32.2", "eslint-plugin-react-hooks": "^4.6.0", @@ -63,21 +63,29 @@ "react": "^18.2.0", "react-dom": "^18.2.0", "rimraf": "^5.0.1", - "rollup": "^3.25.1", + "rollup": "^3.26.0", "source-map": "^0.7.4", "source-map-loader": "^4.0.1", "style-loader": "^3.3.3", "ts-expect": "^1.3.0", "tsconfig-paths-webpack-plugin": "^4.0.1", - "typescript": "~5.1.3", + "typescript": "~5.1.6", "url-loader": "^4.1.1", - "webpack": "^5.87.0", + "webpack": "^5.88.1", "yargs": "^17.7.2" }, "engines": { "node": ">=14.14.0" } }, + "node_modules/@aashutoshrathi/word-wrap": { + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz", + "integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/@bcoe/v8-coverage": { "version": "0.2.3", "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz", @@ -459,13 +467,13 @@ } }, "node_modules/@eslint/eslintrc": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.0.3.tgz", - "integrity": "sha512-+5gy6OQfk+xx3q0d6jGZZC3f3KzAkXc/IanVxd1is/VIIziRqqt3ongQz0FiTUXqTk0c7aDB3OaFuKnuSoJicQ==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.0.tgz", + "integrity": "sha512-Lj7DECXqIVCqnqjjHMPna4vn6GJcMgul/wuS0je9OZ9gsL0zzDpKPVtcG1HaDVc+9y+qgXneTeUMbCqXJNpH1A==", "dependencies": { "ajv": "^6.12.4", "debug": "^4.3.2", - "espree": "^9.5.2", + "espree": "^9.6.0", "globals": "^13.19.0", "ignore": "^5.2.0", "import-fresh": "^3.2.1", @@ -481,65 +489,65 @@ } }, "node_modules/@eslint/js": { - "version": "8.43.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.43.0.tgz", - "integrity": "sha512-s2UHCoiXfxMvmfzqoN+vrQ84ahUSYde9qNO1MdxmoEhyHWsfmwOpFlwYV+ePJEVc7gFnATGUi376WowX1N7tFg==", + "version": "8.44.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.44.0.tgz", + "integrity": "sha512-Ag+9YM4ocKQx9AarydN0KY2j0ErMHNIocPDrVo8zAE44xLTjEtz81OdR68/cydGtk6m6jDb5Za3r2useMzYmSw==", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } }, "node_modules/@file-services/memory": { - "version": "7.3.0", - "resolved": "https://registry.npmjs.org/@file-services/memory/-/memory-7.3.0.tgz", - "integrity": "sha512-ENuYyeVdaBZ56BZGoO/gEcrSJJ86bHG63+UnbIdi6VX6u2rz/XmgVdGKLcCRPnmUeswsuGwDS3d29DFJTHCKZA==", + "version": "7.4.0", + "resolved": "https://registry.npmjs.org/@file-services/memory/-/memory-7.4.0.tgz", + "integrity": "sha512-j+e0WTodbNZdGH7+9CG+iYdxMZhUoFhXi52ucpxUDH1CetTlS4kte9K1/MaBZWFaNCXpy57Mk91mZkfMrWk+HQ==", "dependencies": { - "@file-services/path": "^7.3.0", - "@file-services/types": "^7.3.0", - "@file-services/utils": "^7.3.0" + "@file-services/path": "^7.4.0", + "@file-services/types": "^7.4.0", + "@file-services/utils": "^7.4.0" } }, "node_modules/@file-services/node": { - "version": "7.3.0", - "resolved": "https://registry.npmjs.org/@file-services/node/-/node-7.3.0.tgz", - "integrity": "sha512-mF6srRnqO/kqFEn/hmw26af4WHdygBPEa6WvTMM7eUCKhZdKWaFSXb+DJVh8c8K0A4mfNh6zUZEG+c93Onhfxw==", + "version": "7.4.0", + "resolved": "https://registry.npmjs.org/@file-services/node/-/node-7.4.0.tgz", + "integrity": "sha512-eajJJV4sg8HTD5/8tz3u599vqcJp1w9nTEsrRnT/xKG38dToG481SacOBrJpMlcoNSygh0pHfj+gxkcQzyXRTQ==", "dependencies": { - "@file-services/types": "^7.3.0", - "@file-services/utils": "^7.3.0" + "@file-services/types": "^7.4.0", + "@file-services/utils": "^7.4.0" }, "engines": { "node": ">=14" } }, "node_modules/@file-services/path": { - "version": "7.3.0", - "resolved": "https://registry.npmjs.org/@file-services/path/-/path-7.3.0.tgz", - "integrity": "sha512-7ZqVaRJJyUD9S/F36SOvTZf1sMr8+eyX0Lr5iU88mpNsJ2qTjR5gWHFBwxaMqfzMz+so6DJmQNjLzdSmfXUbrw==", + "version": "7.4.0", + "resolved": "https://registry.npmjs.org/@file-services/path/-/path-7.4.0.tgz", + "integrity": "sha512-p4GMRlaTMLS3QXGCkIvCnR/Mq1K8k7PV1KbXzDN/c0SksRiHbuC3AYUNKx/y6AayJfsJ2zsFqbRYgQ6gU1BRIg==", "dependencies": { - "@file-services/types": "^7.3.0" + "@file-services/types": "^7.4.0" } }, "node_modules/@file-services/types": { - "version": "7.3.0", - "resolved": "https://registry.npmjs.org/@file-services/types/-/types-7.3.0.tgz", - "integrity": "sha512-XbOMmRSA2VkFofJBC8EMWrkNnpnOIOuSMvvTYGgg3tBQwr5Bihtrgy7/c5u+Gteq1R/yWapHXBSQ3u0moKZyWQ==" + "version": "7.4.0", + "resolved": "https://registry.npmjs.org/@file-services/types/-/types-7.4.0.tgz", + "integrity": "sha512-KZue4o5MRAdpgjTjZU8uC4MRPBHCcxzfcT0cBVwqgEi/8OwCkjBuBm3sdJLVd/AdpZGoh/N4IrSXAgzpxrbjvQ==" }, "node_modules/@file-services/typescript": { - "version": "7.3.0", - "resolved": "https://registry.npmjs.org/@file-services/typescript/-/typescript-7.3.0.tgz", - "integrity": "sha512-ZqZVLcAX2PwIysThfivw1Ia7EvHRnHpOaJ4ecXeZGtPYNGlDmduxMhuCNTGUualLzSNW4LWaHrgMRX/NT3Nqvg==", + "version": "7.4.0", + "resolved": "https://registry.npmjs.org/@file-services/typescript/-/typescript-7.4.0.tgz", + "integrity": "sha512-b87Bi4g7PM1v2KqqaRD5K8wa0paH1sNQNyhHiU0hZ604v0OhBdv23uPenb6KA+kMKlUBPbFwGj4x1l7LWxjEBQ==", "dependencies": { - "@file-services/types": "^7.3.0" + "@file-services/types": "^7.4.0" }, "peerDependencies": { "typescript": ">=2.8.0" } }, "node_modules/@file-services/utils": { - "version": "7.3.0", - "resolved": "https://registry.npmjs.org/@file-services/utils/-/utils-7.3.0.tgz", - "integrity": "sha512-TwPXinfYKy5L8xbQN7NBpgxCTqCXXc7IykWxWAR68fKWOA4FEzN3O2LqME+27JXMmQPoG6AnYnLXPaMj9K+Dgg==", + "version": "7.4.0", + "resolved": "https://registry.npmjs.org/@file-services/utils/-/utils-7.4.0.tgz", + "integrity": "sha512-XzM0vOIJDlLtpzGLytAig2SmYAS69zn6NrC1dlzvuQELhrMuB2JPY9zHesV/VreczxENCtRU88LKo5x0MTZ2ZA==", "dependencies": { - "@file-services/types": "^7.3.0" + "@file-services/types": "^7.4.0" } }, "node_modules/@humanwhocodes/config-array": { @@ -1139,9 +1147,9 @@ "dev": true }, "node_modules/@types/react": { - "version": "18.2.13", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.13.tgz", - "integrity": "sha512-vJ+zElvi/Zn9cVXB5slX2xL8PZodPCwPRDpittQdw43JR2AJ5k3vKdgJJyneV/cYgIbLQUwXa9JVDvUZXGba+Q==", + "version": "18.2.14", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.14.tgz", + "integrity": "sha512-A0zjq+QN/O0Kpe30hA1GidzyFjatVvrpIvWLxD+xv67Vt91TWWgco9IvrJBkeyHm1trGaFS/FSGqPlhyeZRm0g==", "dev": true, "dependencies": { "@types/prop-types": "*", @@ -1197,17 +1205,17 @@ "dev": true }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "5.60.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.60.0.tgz", - "integrity": "sha512-78B+anHLF1TI8Jn/cD0Q00TBYdMgjdOn980JfAVa9yw5sop8nyTfVOQAv6LWywkOGLclDBtv5z3oxN4w7jxyNg==", + "version": "5.61.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.61.0.tgz", + "integrity": "sha512-A5l/eUAug103qtkwccSCxn8ZRwT+7RXWkFECdA4Cvl1dOlDUgTpAOfSEElZn2uSUxhdDpnCdetrf0jvU4qrL+g==", "dev": true, "dependencies": { "@eslint-community/regexpp": "^4.4.0", - "@typescript-eslint/scope-manager": "5.60.0", - "@typescript-eslint/type-utils": "5.60.0", - "@typescript-eslint/utils": "5.60.0", + "@typescript-eslint/scope-manager": "5.61.0", + "@typescript-eslint/type-utils": "5.61.0", + "@typescript-eslint/utils": "5.61.0", "debug": "^4.3.4", - "grapheme-splitter": "^1.0.4", + "graphemer": "^1.4.0", "ignore": "^5.2.0", "natural-compare-lite": "^1.4.0", "semver": "^7.3.7", @@ -1231,11 +1239,11 @@ } }, "node_modules/@typescript-eslint/experimental-utils": { - "version": "5.60.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.60.0.tgz", - "integrity": "sha512-ovid3u7CNBrr0Ct35LUPkNYH4e+z4Kc6dPfSG99oMmH9SfoEoefq09uSnJI4mUb/UM7a/peVM03G+MzLxrD16g==", + "version": "5.61.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.61.0.tgz", + "integrity": "sha512-r4RTnwTcaRRVUyKb7JO4DiOGmcMCat+uNs6HqJBfX7K2nlq5TagYZShhbhAw7hFT3bHaYgxMw6pKP0fhu05VMA==", "dependencies": { - "@typescript-eslint/utils": "5.60.0" + "@typescript-eslint/utils": "5.61.0" }, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -1249,14 +1257,14 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "5.60.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.60.0.tgz", - "integrity": "sha512-jBONcBsDJ9UoTWrARkRRCgDz6wUggmH5RpQVlt7BimSwaTkTjwypGzKORXbR4/2Hqjk9hgwlon2rVQAjWNpkyQ==", + "version": "5.61.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.61.0.tgz", + "integrity": "sha512-yGr4Sgyh8uO6fSi9hw3jAFXNBHbCtKKFMdX2IkT3ZqpKmtAq3lHS4ixB/COFuAIJpwl9/AqF7j72ZDWYKmIfvg==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "5.60.0", - "@typescript-eslint/types": "5.60.0", - "@typescript-eslint/typescript-estree": "5.60.0", + "@typescript-eslint/scope-manager": "5.61.0", + "@typescript-eslint/types": "5.61.0", + "@typescript-eslint/typescript-estree": "5.61.0", "debug": "^4.3.4" }, "engines": { @@ -1276,12 +1284,12 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "5.60.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.60.0.tgz", - "integrity": "sha512-hakuzcxPwXi2ihf9WQu1BbRj1e/Pd8ZZwVTG9kfbxAMZstKz8/9OoexIwnmLzShtsdap5U/CoQGRCWlSuPbYxQ==", + "version": "5.61.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.61.0.tgz", + "integrity": "sha512-W8VoMjoSg7f7nqAROEmTt6LoBpn81AegP7uKhhW5KzYlehs8VV0ZW0fIDVbcZRcaP3aPSW+JZFua+ysQN+m/Nw==", "dependencies": { - "@typescript-eslint/types": "5.60.0", - "@typescript-eslint/visitor-keys": "5.60.0" + "@typescript-eslint/types": "5.61.0", + "@typescript-eslint/visitor-keys": "5.61.0" }, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -1292,13 +1300,13 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "5.60.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.60.0.tgz", - "integrity": "sha512-X7NsRQddORMYRFH7FWo6sA9Y/zbJ8s1x1RIAtnlj6YprbToTiQnM6vxcMu7iYhdunmoC0rUWlca13D5DVHkK2g==", + "version": "5.61.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.61.0.tgz", + "integrity": "sha512-kk8u//r+oVK2Aj3ph/26XdH0pbAkC2RiSjUYhKD+PExemG4XSjpGFeyZ/QM8lBOa7O8aGOU+/yEbMJgQv/DnCg==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "5.60.0", - "@typescript-eslint/utils": "5.60.0", + "@typescript-eslint/typescript-estree": "5.61.0", + "@typescript-eslint/utils": "5.61.0", "debug": "^4.3.4", "tsutils": "^3.21.0" }, @@ -1319,9 +1327,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "5.60.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.60.0.tgz", - "integrity": "sha512-ascOuoCpNZBccFVNJRSC6rPq4EmJ2NkuoKnd6LDNyAQmdDnziAtxbCGWCbefG1CNzmDvd05zO36AmB7H8RzKPA==", + "version": "5.61.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.61.0.tgz", + "integrity": "sha512-ldyueo58KjngXpzloHUog/h9REmHl59G1b3a5Sng1GfBo14BkS3ZbMEb3693gnP1k//97lh7bKsp6/V/0v1veQ==", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, @@ -1331,12 +1339,12 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "5.60.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.60.0.tgz", - "integrity": "sha512-R43thAuwarC99SnvrBmh26tc7F6sPa2B3evkXp/8q954kYL6Ro56AwASYWtEEi+4j09GbiNAHqYwNNZuNlARGQ==", + "version": "5.61.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.61.0.tgz", + "integrity": "sha512-Fud90PxONnnLZ36oR5ClJBLTLfU4pIWBmnvGwTbEa2cXIqj70AEDEmOmpkFComjBZ/037ueKrOdHuYmSFVD7Rw==", "dependencies": { - "@typescript-eslint/types": "5.60.0", - "@typescript-eslint/visitor-keys": "5.60.0", + "@typescript-eslint/types": "5.61.0", + "@typescript-eslint/visitor-keys": "5.61.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -1357,16 +1365,16 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "5.60.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.60.0.tgz", - "integrity": "sha512-ba51uMqDtfLQ5+xHtwlO84vkdjrqNzOnqrnwbMHMRY8Tqeme8C2Q8Fc7LajfGR+e3/4LoYiWXUM6BpIIbHJ4hQ==", + "version": "5.61.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.61.0.tgz", + "integrity": "sha512-mV6O+6VgQmVE6+xzlA91xifndPW9ElFW8vbSF0xCT/czPXVhwDewKila1jOyRwa9AE19zKnrr7Cg5S3pJVrTWQ==", "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@types/json-schema": "^7.0.9", "@types/semver": "^7.3.12", - "@typescript-eslint/scope-manager": "5.60.0", - "@typescript-eslint/types": "5.60.0", - "@typescript-eslint/typescript-estree": "5.60.0", + "@typescript-eslint/scope-manager": "5.61.0", + "@typescript-eslint/types": "5.61.0", + "@typescript-eslint/typescript-estree": "5.61.0", "eslint-scope": "^5.1.1", "semver": "^7.3.7" }, @@ -1382,11 +1390,11 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "5.60.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.60.0.tgz", - "integrity": "sha512-wm9Uz71SbCyhUKgcaPRauBdTegUyY/ZWl8gLwD/i/ybJqscrrdVSFImpvUz16BLPChIeKBK5Fa9s6KDQjsjyWw==", + "version": "5.61.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.61.0.tgz", + "integrity": "sha512-50XQ5VdbWrX06mQXhy93WywSFZZGsv3EOjq+lqp6WC2t+j3mb6A9xYVdrRxafvK88vg9k9u+CT4l6D8PEatjKg==", "dependencies": { - "@typescript-eslint/types": "5.60.0", + "@typescript-eslint/types": "5.61.0", "eslint-visitor-keys": "^3.3.0" }, "engines": { @@ -1600,9 +1608,9 @@ "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==" }, "node_modules/acorn": { - "version": "8.8.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.1.tgz", - "integrity": "sha512-7zFpHzhnqYKrkYdUjF1HI1bzd0VygEGX8lFk4k5zVMqHEoES+P+7TKI+EvLO9WVMJ8eekdO0aDEK044xTXwPPA==", + "version": "8.9.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.9.0.tgz", + "integrity": "sha512-jaVNAFBHNLXspO543WnNNPZFRtavh3skAkITqD0/2aeMkKZTN+254PyhwxFYrk3vQ1xfY+2wbesJMs/JC8/PwQ==", "bin": { "acorn": "bin/acorn" }, @@ -2397,9 +2405,9 @@ } }, "node_modules/decache": { - "version": "4.6.1", - "resolved": "https://registry.npmjs.org/decache/-/decache-4.6.1.tgz", - "integrity": "sha512-ohApBM8u9ygepJCjgBrEZSSxPjc0T/PJkD+uNyxXPkqudyUpdXpwJYp0VISm2WrPVzASU6DZyIi6BWdyw7uJ2Q==", + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/decache/-/decache-4.6.2.tgz", + "integrity": "sha512-2LPqkLeu8XWHU8qNCS3kcF6sCcb5zIzvWaAHYSvPfwhdd7mHuah29NssMzrTYyHN4F5oFy2ko9OBYxegtU0FEw==", "dependencies": { "callsite": "^1.0.0" } @@ -2792,14 +2800,14 @@ } }, "node_modules/eslint": { - "version": "8.43.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.43.0.tgz", - "integrity": "sha512-aaCpf2JqqKesMFGgmRPessmVKjcGXqdlAYLLC3THM8t5nBRZRQ+st5WM/hoJXkdioEXLLbXgclUpM0TXo5HX5Q==", + "version": "8.44.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.44.0.tgz", + "integrity": "sha512-0wpHoUbDUHgNCyvFB5aXLiQVfK9B0at6gUvzy83k4kAsQ/u769TQDX6iKC+aO4upIHO9WSaA3QoXYQDHbNwf1A==", "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.4.0", - "@eslint/eslintrc": "^2.0.3", - "@eslint/js": "8.43.0", + "@eslint/eslintrc": "^2.1.0", + "@eslint/js": "8.44.0", "@humanwhocodes/config-array": "^0.11.10", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", @@ -2811,7 +2819,7 @@ "escape-string-regexp": "^4.0.0", "eslint-scope": "^7.2.0", "eslint-visitor-keys": "^3.4.1", - "espree": "^9.5.2", + "espree": "^9.6.0", "esquery": "^1.4.2", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", @@ -2831,7 +2839,7 @@ "lodash.merge": "^4.6.2", "minimatch": "^3.1.2", "natural-compare": "^1.4.0", - "optionator": "^0.9.1", + "optionator": "^0.9.3", "strip-ansi": "^6.0.1", "strip-json-comments": "^3.1.0", "text-table": "^0.2.0" @@ -2988,11 +2996,11 @@ } }, "node_modules/espree": { - "version": "9.5.2", - "resolved": "https://registry.npmjs.org/espree/-/espree-9.5.2.tgz", - "integrity": "sha512-7OASN1Wma5fum5SrNhFMAMJxOUAbhyfQ8dQ//PJaJbNw0URTPWqIghHWt1MmAANKhHZIYOHruW4Kw4ruUWOdGw==", + "version": "9.6.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.0.tgz", + "integrity": "sha512-1FH/IiruXZ84tpUlm0aCUEwMl2Ho5ilqVh0VvQXw+byAz/4SAciyHLlfmL5WYqsvD38oymdUwBss0LtK8m4s/A==", "dependencies": { - "acorn": "^8.8.0", + "acorn": "^8.9.0", "acorn-jsx": "^5.3.2", "eslint-visitor-keys": "^3.4.1" }, @@ -3424,12 +3432,6 @@ "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==" }, - "node_modules/grapheme-splitter": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz", - "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==", - "dev": true - }, "node_modules/graphemer": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", @@ -5021,16 +5023,16 @@ } }, "node_modules/optionator": { - "version": "0.9.1", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", - "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", + "version": "0.9.3", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz", + "integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==", "dependencies": { + "@aashutoshrathi/word-wrap": "^1.2.3", "deep-is": "^0.1.3", "fast-levenshtein": "^2.0.6", "levn": "^0.4.1", "prelude-ls": "^1.2.1", - "type-check": "^0.4.0", - "word-wrap": "^1.2.3" + "type-check": "^0.4.0" }, "engines": { "node": ">= 0.8.0" @@ -5757,9 +5759,9 @@ } }, "node_modules/rollup": { - "version": "3.25.1", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.25.1.tgz", - "integrity": "sha512-tywOR+rwIt5m2ZAWSe5AIJcTat8vGlnPFAv15ycCrw33t6iFsXZ6mzHVFh2psSjxQPmI+xgzMZZizUAukBI4aQ==", + "version": "3.26.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.26.0.tgz", + "integrity": "sha512-YzJH0eunH2hr3knvF3i6IkLO/jTjAEwU4HoMUbQl4//Tnl3ou0e7P5SjxdDr8HQJdeUJShlbEHXrrnEHy1l7Yg==", "bin": { "rollup": "dist/bin/rollup" }, @@ -6405,9 +6407,9 @@ } }, "node_modules/typescript": { - "version": "5.1.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.3.tgz", - "integrity": "sha512-XH627E9vkeqhlZFQuL+UsyAXEnibT0kWR2FWONlr4sTjvxyJYnyefgrkyECLzM5NenmKzRAy2rR/OlYLA1HkZw==", + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.6.tgz", + "integrity": "sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -6633,9 +6635,9 @@ } }, "node_modules/webpack": { - "version": "5.87.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.87.0.tgz", - "integrity": "sha512-GOu1tNbQ7p1bDEoFRs2YPcfyGs8xq52yyPBZ3m2VGnXGtV9MxjrkABHm4V9Ia280OefsSLzvbVoXcfLxjKY/Iw==", + "version": "5.88.1", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.88.1.tgz", + "integrity": "sha512-FROX3TxQnC/ox4N+3xQoWZzvGXSuscxR32rbzjpXgEzWudJFEJBpdlkkob2ylrv5yzzufD1zph1OoFsLtm6stQ==", "dependencies": { "@types/eslint-scope": "^3.7.3", "@types/estree": "^1.0.0", @@ -6716,14 +6718,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/word-wrap": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", - "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/workerpool": { "version": "6.2.1", "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.2.1.tgz", @@ -6870,8 +6864,8 @@ "version": "5.13.0", "license": "MIT", "dependencies": { - "@file-services/node": "^7.3.0", - "@file-services/types": "^7.3.0", + "@file-services/node": "^7.4.0", + "@file-services/types": "^7.4.0", "@stylable/build-tools": "^5.13.0", "@stylable/code-formatter": "^5.13.0", "@stylable/core": "^5.13.0", @@ -6879,7 +6873,7 @@ "@stylable/node": "^5.13.0", "@stylable/optimizer": "^5.13.0", "@wixc3/resolve-directory-context": "^3.0.5", - "decache": "^4.6.1", + "decache": "^4.6.2", "lodash.camelcase": "^4.3.0", "lodash.upperfirst": "^4.3.1", "mime": "^3.0.0", @@ -6925,7 +6919,7 @@ "license": "MIT", "dependencies": { "@tokey/css-selector-parser": "^0.6.1", - "@tokey/css-value-parser": "^0.1.2", + "@tokey/css-value-parser": "^0.1.3", "@tokey/imports-parser": "^1.0.0", "balanced-match": "^2.0.0", "css-selector-tokenizer": "^0.8.0", @@ -6949,7 +6943,7 @@ "version": "5.13.0", "license": "MIT", "dependencies": { - "@file-services/memory": "^7.3.0", + "@file-services/memory": "^7.4.0", "@stylable/core": "^5.13.0", "chai": "^4.3.7", "flat": "^5.0.2", @@ -7031,7 +7025,7 @@ "@stylable/node": "^5.13.0", "@stylable/optimizer": "^5.13.0", "@stylable/runtime": "^5.13.0", - "decache": "^4.6.1" + "decache": "^4.6.2" }, "engines": { "node": ">=14.14.0" @@ -7045,7 +7039,7 @@ "license": "MIT", "dependencies": { "@stylable/core": "^5.13.0", - "@typescript-eslint/experimental-utils": "^5.60.0" + "@typescript-eslint/experimental-utils": "^5.61.0" } }, "packages/experimental-loader": { @@ -7056,7 +7050,7 @@ "@stylable/core": "^5.13.0", "@stylable/runtime": "^5.13.0", "css-loader": "^6.8.1", - "decache": "^4.6.1", + "decache": "^4.6.2", "loader-utils": "^3.2.1" } }, @@ -7087,8 +7081,8 @@ "version": "5.13.0", "license": "MIT", "dependencies": { - "@file-services/types": "^7.3.0", - "@file-services/typescript": "^7.3.0", + "@file-services/types": "^7.4.0", + "@file-services/typescript": "^7.4.0", "@stylable/code-formatter": "^5.13.0", "@stylable/core": "^5.13.0", "@tokey/core": "^1.4.0", @@ -7161,7 +7155,7 @@ "@stylable/node": "^5.13.0", "@stylable/optimizer": "^5.13.0", "@stylable/runtime": "^5.13.0", - "decache": "^4.6.1", + "decache": "^4.6.2", "mime": "^3.0.0" }, "engines": { @@ -7241,7 +7235,7 @@ "@stylable/node": "^5.13.0", "@stylable/optimizer": "^5.13.0", "@stylable/runtime": "^5.13.0", - "decache": "^4.6.1", + "decache": "^4.6.2", "lodash.clonedeep": "^4.5.0", "postcss": "^8.4.24" }, @@ -7254,6 +7248,11 @@ } }, "dependencies": { + "@aashutoshrathi/word-wrap": { + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz", + "integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==" + }, "@bcoe/v8-coverage": { "version": "0.2.3", "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz", @@ -7428,13 +7427,13 @@ "integrity": "sha512-A9983Q0LnDGdLPjxyXQ00sbV+K+O+ko2Dr+CZigbHWtX9pNfxlaBkMR8X1CztI73zuEyEBXTVjx7CE+/VSwDiQ==" }, "@eslint/eslintrc": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.0.3.tgz", - "integrity": "sha512-+5gy6OQfk+xx3q0d6jGZZC3f3KzAkXc/IanVxd1is/VIIziRqqt3ongQz0FiTUXqTk0c7aDB3OaFuKnuSoJicQ==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.0.tgz", + "integrity": "sha512-Lj7DECXqIVCqnqjjHMPna4vn6GJcMgul/wuS0je9OZ9gsL0zzDpKPVtcG1HaDVc+9y+qgXneTeUMbCqXJNpH1A==", "requires": { "ajv": "^6.12.4", "debug": "^4.3.2", - "espree": "^9.5.2", + "espree": "^9.6.0", "globals": "^13.19.0", "ignore": "^5.2.0", "import-fresh": "^3.2.1", @@ -7444,56 +7443,56 @@ } }, "@eslint/js": { - "version": "8.43.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.43.0.tgz", - "integrity": "sha512-s2UHCoiXfxMvmfzqoN+vrQ84ahUSYde9qNO1MdxmoEhyHWsfmwOpFlwYV+ePJEVc7gFnATGUi376WowX1N7tFg==" + "version": "8.44.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.44.0.tgz", + "integrity": "sha512-Ag+9YM4ocKQx9AarydN0KY2j0ErMHNIocPDrVo8zAE44xLTjEtz81OdR68/cydGtk6m6jDb5Za3r2useMzYmSw==" }, "@file-services/memory": { - "version": "7.3.0", - "resolved": "https://registry.npmjs.org/@file-services/memory/-/memory-7.3.0.tgz", - "integrity": "sha512-ENuYyeVdaBZ56BZGoO/gEcrSJJ86bHG63+UnbIdi6VX6u2rz/XmgVdGKLcCRPnmUeswsuGwDS3d29DFJTHCKZA==", + "version": "7.4.0", + "resolved": "https://registry.npmjs.org/@file-services/memory/-/memory-7.4.0.tgz", + "integrity": "sha512-j+e0WTodbNZdGH7+9CG+iYdxMZhUoFhXi52ucpxUDH1CetTlS4kte9K1/MaBZWFaNCXpy57Mk91mZkfMrWk+HQ==", "requires": { - "@file-services/path": "^7.3.0", - "@file-services/types": "^7.3.0", - "@file-services/utils": "^7.3.0" + "@file-services/path": "^7.4.0", + "@file-services/types": "^7.4.0", + "@file-services/utils": "^7.4.0" } }, "@file-services/node": { - "version": "7.3.0", - "resolved": "https://registry.npmjs.org/@file-services/node/-/node-7.3.0.tgz", - "integrity": "sha512-mF6srRnqO/kqFEn/hmw26af4WHdygBPEa6WvTMM7eUCKhZdKWaFSXb+DJVh8c8K0A4mfNh6zUZEG+c93Onhfxw==", + "version": "7.4.0", + "resolved": "https://registry.npmjs.org/@file-services/node/-/node-7.4.0.tgz", + "integrity": "sha512-eajJJV4sg8HTD5/8tz3u599vqcJp1w9nTEsrRnT/xKG38dToG481SacOBrJpMlcoNSygh0pHfj+gxkcQzyXRTQ==", "requires": { - "@file-services/types": "^7.3.0", - "@file-services/utils": "^7.3.0" + "@file-services/types": "^7.4.0", + "@file-services/utils": "^7.4.0" } }, "@file-services/path": { - "version": "7.3.0", - "resolved": "https://registry.npmjs.org/@file-services/path/-/path-7.3.0.tgz", - "integrity": "sha512-7ZqVaRJJyUD9S/F36SOvTZf1sMr8+eyX0Lr5iU88mpNsJ2qTjR5gWHFBwxaMqfzMz+so6DJmQNjLzdSmfXUbrw==", + "version": "7.4.0", + "resolved": "https://registry.npmjs.org/@file-services/path/-/path-7.4.0.tgz", + "integrity": "sha512-p4GMRlaTMLS3QXGCkIvCnR/Mq1K8k7PV1KbXzDN/c0SksRiHbuC3AYUNKx/y6AayJfsJ2zsFqbRYgQ6gU1BRIg==", "requires": { - "@file-services/types": "^7.3.0" + "@file-services/types": "^7.4.0" } }, "@file-services/types": { - "version": "7.3.0", - "resolved": "https://registry.npmjs.org/@file-services/types/-/types-7.3.0.tgz", - "integrity": "sha512-XbOMmRSA2VkFofJBC8EMWrkNnpnOIOuSMvvTYGgg3tBQwr5Bihtrgy7/c5u+Gteq1R/yWapHXBSQ3u0moKZyWQ==" + "version": "7.4.0", + "resolved": "https://registry.npmjs.org/@file-services/types/-/types-7.4.0.tgz", + "integrity": "sha512-KZue4o5MRAdpgjTjZU8uC4MRPBHCcxzfcT0cBVwqgEi/8OwCkjBuBm3sdJLVd/AdpZGoh/N4IrSXAgzpxrbjvQ==" }, "@file-services/typescript": { - "version": "7.3.0", - "resolved": "https://registry.npmjs.org/@file-services/typescript/-/typescript-7.3.0.tgz", - "integrity": "sha512-ZqZVLcAX2PwIysThfivw1Ia7EvHRnHpOaJ4ecXeZGtPYNGlDmduxMhuCNTGUualLzSNW4LWaHrgMRX/NT3Nqvg==", + "version": "7.4.0", + "resolved": "https://registry.npmjs.org/@file-services/typescript/-/typescript-7.4.0.tgz", + "integrity": "sha512-b87Bi4g7PM1v2KqqaRD5K8wa0paH1sNQNyhHiU0hZ604v0OhBdv23uPenb6KA+kMKlUBPbFwGj4x1l7LWxjEBQ==", "requires": { - "@file-services/types": "^7.3.0" + "@file-services/types": "^7.4.0" } }, "@file-services/utils": { - "version": "7.3.0", - "resolved": "https://registry.npmjs.org/@file-services/utils/-/utils-7.3.0.tgz", - "integrity": "sha512-TwPXinfYKy5L8xbQN7NBpgxCTqCXXc7IykWxWAR68fKWOA4FEzN3O2LqME+27JXMmQPoG6AnYnLXPaMj9K+Dgg==", + "version": "7.4.0", + "resolved": "https://registry.npmjs.org/@file-services/utils/-/utils-7.4.0.tgz", + "integrity": "sha512-XzM0vOIJDlLtpzGLytAig2SmYAS69zn6NrC1dlzvuQELhrMuB2JPY9zHesV/VreczxENCtRU88LKo5x0MTZ2ZA==", "requires": { - "@file-services/types": "^7.3.0" + "@file-services/types": "^7.4.0" } }, "@humanwhocodes/config-array": { @@ -7694,8 +7693,8 @@ "@stylable/cli": { "version": "file:packages/cli", "requires": { - "@file-services/node": "^7.3.0", - "@file-services/types": "^7.3.0", + "@file-services/node": "^7.4.0", + "@file-services/types": "^7.4.0", "@stylable/build-tools": "^5.13.0", "@stylable/code-formatter": "^5.13.0", "@stylable/core": "^5.13.0", @@ -7703,7 +7702,7 @@ "@stylable/node": "^5.13.0", "@stylable/optimizer": "^5.13.0", "@wixc3/resolve-directory-context": "^3.0.5", - "decache": "^4.6.1", + "decache": "^4.6.2", "lodash.camelcase": "^4.3.0", "lodash.upperfirst": "^4.3.1", "mime": "^3.0.0", @@ -7730,7 +7729,7 @@ "version": "file:packages/core", "requires": { "@tokey/css-selector-parser": "^0.6.1", - "@tokey/css-value-parser": "^0.1.2", + "@tokey/css-value-parser": "^0.1.3", "@tokey/imports-parser": "^1.0.0", "balanced-match": "^2.0.0", "css-selector-tokenizer": "^0.8.0", @@ -7756,7 +7755,7 @@ "@stylable/core-test-kit": { "version": "file:packages/core-test-kit", "requires": { - "@file-services/memory": "^7.3.0", + "@file-services/memory": "^7.4.0", "@stylable/core": "^5.13.0", "chai": "^4.3.7", "flat": "^5.0.2", @@ -7796,7 +7795,7 @@ "@stylable/node": "^5.13.0", "@stylable/optimizer": "^5.13.0", "@stylable/runtime": "^5.13.0", - "decache": "^4.6.1" + "decache": "^4.6.2" } }, "@stylable/experimental-loader": { @@ -7805,7 +7804,7 @@ "@stylable/core": "^5.13.0", "@stylable/runtime": "^5.13.0", "css-loader": "^6.8.1", - "decache": "^4.6.1", + "decache": "^4.6.2", "loader-utils": "^3.2.1" }, "dependencies": { @@ -7828,8 +7827,8 @@ "@stylable/language-service": { "version": "file:packages/language-service", "requires": { - "@file-services/types": "^7.3.0", - "@file-services/typescript": "^7.3.0", + "@file-services/types": "^7.4.0", + "@file-services/typescript": "^7.4.0", "@stylable/code-formatter": "^5.13.0", "@stylable/core": "^5.13.0", "@tokey/core": "^1.4.0", @@ -7879,7 +7878,7 @@ "@stylable/node": "^5.13.0", "@stylable/optimizer": "^5.13.0", "@stylable/runtime": "^5.13.0", - "decache": "^4.6.1", + "decache": "^4.6.2", "mime": "^3.0.0" }, "dependencies": { @@ -7924,7 +7923,7 @@ "@stylable/node": "^5.13.0", "@stylable/optimizer": "^5.13.0", "@stylable/runtime": "^5.13.0", - "decache": "^4.6.1", + "decache": "^4.6.2", "lodash.clonedeep": "^4.5.0", "postcss": "^8.4.24" } @@ -8157,9 +8156,9 @@ "dev": true }, "@types/react": { - "version": "18.2.13", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.13.tgz", - "integrity": "sha512-vJ+zElvi/Zn9cVXB5slX2xL8PZodPCwPRDpittQdw43JR2AJ5k3vKdgJJyneV/cYgIbLQUwXa9JVDvUZXGba+Q==", + "version": "18.2.14", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.14.tgz", + "integrity": "sha512-A0zjq+QN/O0Kpe30hA1GidzyFjatVvrpIvWLxD+xv67Vt91TWWgco9IvrJBkeyHm1trGaFS/FSGqPlhyeZRm0g==", "dev": true, "requires": { "@types/prop-types": "*", @@ -8215,17 +8214,17 @@ "dev": true }, "@typescript-eslint/eslint-plugin": { - "version": "5.60.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.60.0.tgz", - "integrity": "sha512-78B+anHLF1TI8Jn/cD0Q00TBYdMgjdOn980JfAVa9yw5sop8nyTfVOQAv6LWywkOGLclDBtv5z3oxN4w7jxyNg==", + "version": "5.61.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.61.0.tgz", + "integrity": "sha512-A5l/eUAug103qtkwccSCxn8ZRwT+7RXWkFECdA4Cvl1dOlDUgTpAOfSEElZn2uSUxhdDpnCdetrf0jvU4qrL+g==", "dev": true, "requires": { "@eslint-community/regexpp": "^4.4.0", - "@typescript-eslint/scope-manager": "5.60.0", - "@typescript-eslint/type-utils": "5.60.0", - "@typescript-eslint/utils": "5.60.0", + "@typescript-eslint/scope-manager": "5.61.0", + "@typescript-eslint/type-utils": "5.61.0", + "@typescript-eslint/utils": "5.61.0", "debug": "^4.3.4", - "grapheme-splitter": "^1.0.4", + "graphemer": "^1.4.0", "ignore": "^5.2.0", "natural-compare-lite": "^1.4.0", "semver": "^7.3.7", @@ -8233,58 +8232,58 @@ } }, "@typescript-eslint/experimental-utils": { - "version": "5.60.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.60.0.tgz", - "integrity": "sha512-ovid3u7CNBrr0Ct35LUPkNYH4e+z4Kc6dPfSG99oMmH9SfoEoefq09uSnJI4mUb/UM7a/peVM03G+MzLxrD16g==", + "version": "5.61.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.61.0.tgz", + "integrity": "sha512-r4RTnwTcaRRVUyKb7JO4DiOGmcMCat+uNs6HqJBfX7K2nlq5TagYZShhbhAw7hFT3bHaYgxMw6pKP0fhu05VMA==", "requires": { - "@typescript-eslint/utils": "5.60.0" + "@typescript-eslint/utils": "5.61.0" } }, "@typescript-eslint/parser": { - "version": "5.60.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.60.0.tgz", - "integrity": "sha512-jBONcBsDJ9UoTWrARkRRCgDz6wUggmH5RpQVlt7BimSwaTkTjwypGzKORXbR4/2Hqjk9hgwlon2rVQAjWNpkyQ==", + "version": "5.61.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.61.0.tgz", + "integrity": "sha512-yGr4Sgyh8uO6fSi9hw3jAFXNBHbCtKKFMdX2IkT3ZqpKmtAq3lHS4ixB/COFuAIJpwl9/AqF7j72ZDWYKmIfvg==", "dev": true, "requires": { - "@typescript-eslint/scope-manager": "5.60.0", - "@typescript-eslint/types": "5.60.0", - "@typescript-eslint/typescript-estree": "5.60.0", + "@typescript-eslint/scope-manager": "5.61.0", + "@typescript-eslint/types": "5.61.0", + "@typescript-eslint/typescript-estree": "5.61.0", "debug": "^4.3.4" } }, "@typescript-eslint/scope-manager": { - "version": "5.60.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.60.0.tgz", - "integrity": "sha512-hakuzcxPwXi2ihf9WQu1BbRj1e/Pd8ZZwVTG9kfbxAMZstKz8/9OoexIwnmLzShtsdap5U/CoQGRCWlSuPbYxQ==", + "version": "5.61.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.61.0.tgz", + "integrity": "sha512-W8VoMjoSg7f7nqAROEmTt6LoBpn81AegP7uKhhW5KzYlehs8VV0ZW0fIDVbcZRcaP3aPSW+JZFua+ysQN+m/Nw==", "requires": { - "@typescript-eslint/types": "5.60.0", - "@typescript-eslint/visitor-keys": "5.60.0" + "@typescript-eslint/types": "5.61.0", + "@typescript-eslint/visitor-keys": "5.61.0" } }, "@typescript-eslint/type-utils": { - "version": "5.60.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.60.0.tgz", - "integrity": "sha512-X7NsRQddORMYRFH7FWo6sA9Y/zbJ8s1x1RIAtnlj6YprbToTiQnM6vxcMu7iYhdunmoC0rUWlca13D5DVHkK2g==", + "version": "5.61.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.61.0.tgz", + "integrity": "sha512-kk8u//r+oVK2Aj3ph/26XdH0pbAkC2RiSjUYhKD+PExemG4XSjpGFeyZ/QM8lBOa7O8aGOU+/yEbMJgQv/DnCg==", "dev": true, "requires": { - "@typescript-eslint/typescript-estree": "5.60.0", - "@typescript-eslint/utils": "5.60.0", + "@typescript-eslint/typescript-estree": "5.61.0", + "@typescript-eslint/utils": "5.61.0", "debug": "^4.3.4", "tsutils": "^3.21.0" } }, "@typescript-eslint/types": { - "version": "5.60.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.60.0.tgz", - "integrity": "sha512-ascOuoCpNZBccFVNJRSC6rPq4EmJ2NkuoKnd6LDNyAQmdDnziAtxbCGWCbefG1CNzmDvd05zO36AmB7H8RzKPA==" + "version": "5.61.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.61.0.tgz", + "integrity": "sha512-ldyueo58KjngXpzloHUog/h9REmHl59G1b3a5Sng1GfBo14BkS3ZbMEb3693gnP1k//97lh7bKsp6/V/0v1veQ==" }, "@typescript-eslint/typescript-estree": { - "version": "5.60.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.60.0.tgz", - "integrity": "sha512-R43thAuwarC99SnvrBmh26tc7F6sPa2B3evkXp/8q954kYL6Ro56AwASYWtEEi+4j09GbiNAHqYwNNZuNlARGQ==", + "version": "5.61.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.61.0.tgz", + "integrity": "sha512-Fud90PxONnnLZ36oR5ClJBLTLfU4pIWBmnvGwTbEa2cXIqj70AEDEmOmpkFComjBZ/037ueKrOdHuYmSFVD7Rw==", "requires": { - "@typescript-eslint/types": "5.60.0", - "@typescript-eslint/visitor-keys": "5.60.0", + "@typescript-eslint/types": "5.61.0", + "@typescript-eslint/visitor-keys": "5.61.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -8293,26 +8292,26 @@ } }, "@typescript-eslint/utils": { - "version": "5.60.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.60.0.tgz", - "integrity": "sha512-ba51uMqDtfLQ5+xHtwlO84vkdjrqNzOnqrnwbMHMRY8Tqeme8C2Q8Fc7LajfGR+e3/4LoYiWXUM6BpIIbHJ4hQ==", + "version": "5.61.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.61.0.tgz", + "integrity": "sha512-mV6O+6VgQmVE6+xzlA91xifndPW9ElFW8vbSF0xCT/czPXVhwDewKila1jOyRwa9AE19zKnrr7Cg5S3pJVrTWQ==", "requires": { "@eslint-community/eslint-utils": "^4.2.0", "@types/json-schema": "^7.0.9", "@types/semver": "^7.3.12", - "@typescript-eslint/scope-manager": "5.60.0", - "@typescript-eslint/types": "5.60.0", - "@typescript-eslint/typescript-estree": "5.60.0", + "@typescript-eslint/scope-manager": "5.61.0", + "@typescript-eslint/types": "5.61.0", + "@typescript-eslint/typescript-estree": "5.61.0", "eslint-scope": "^5.1.1", "semver": "^7.3.7" } }, "@typescript-eslint/visitor-keys": { - "version": "5.60.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.60.0.tgz", - "integrity": "sha512-wm9Uz71SbCyhUKgcaPRauBdTegUyY/ZWl8gLwD/i/ybJqscrrdVSFImpvUz16BLPChIeKBK5Fa9s6KDQjsjyWw==", + "version": "5.61.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.61.0.tgz", + "integrity": "sha512-50XQ5VdbWrX06mQXhy93WywSFZZGsv3EOjq+lqp6WC2t+j3mb6A9xYVdrRxafvK88vg9k9u+CT4l6D8PEatjKg==", "requires": { - "@typescript-eslint/types": "5.60.0", + "@typescript-eslint/types": "5.61.0", "eslint-visitor-keys": "^3.3.0" } }, @@ -8506,9 +8505,9 @@ "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==" }, "acorn": { - "version": "8.8.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.1.tgz", - "integrity": "sha512-7zFpHzhnqYKrkYdUjF1HI1bzd0VygEGX8lFk4k5zVMqHEoES+P+7TKI+EvLO9WVMJ8eekdO0aDEK044xTXwPPA==" + "version": "8.9.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.9.0.tgz", + "integrity": "sha512-jaVNAFBHNLXspO543WnNNPZFRtavh3skAkITqD0/2aeMkKZTN+254PyhwxFYrk3vQ1xfY+2wbesJMs/JC8/PwQ==" }, "acorn-import-assertions": { "version": "1.9.0", @@ -9072,9 +9071,9 @@ } }, "decache": { - "version": "4.6.1", - "resolved": "https://registry.npmjs.org/decache/-/decache-4.6.1.tgz", - "integrity": "sha512-ohApBM8u9ygepJCjgBrEZSSxPjc0T/PJkD+uNyxXPkqudyUpdXpwJYp0VISm2WrPVzASU6DZyIi6BWdyw7uJ2Q==", + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/decache/-/decache-4.6.2.tgz", + "integrity": "sha512-2LPqkLeu8XWHU8qNCS3kcF6sCcb5zIzvWaAHYSvPfwhdd7mHuah29NssMzrTYyHN4F5oFy2ko9OBYxegtU0FEw==", "requires": { "callsite": "^1.0.0" } @@ -9380,14 +9379,14 @@ "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==" }, "eslint": { - "version": "8.43.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.43.0.tgz", - "integrity": "sha512-aaCpf2JqqKesMFGgmRPessmVKjcGXqdlAYLLC3THM8t5nBRZRQ+st5WM/hoJXkdioEXLLbXgclUpM0TXo5HX5Q==", + "version": "8.44.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.44.0.tgz", + "integrity": "sha512-0wpHoUbDUHgNCyvFB5aXLiQVfK9B0at6gUvzy83k4kAsQ/u769TQDX6iKC+aO4upIHO9WSaA3QoXYQDHbNwf1A==", "requires": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.4.0", - "@eslint/eslintrc": "^2.0.3", - "@eslint/js": "8.43.0", + "@eslint/eslintrc": "^2.1.0", + "@eslint/js": "8.44.0", "@humanwhocodes/config-array": "^0.11.10", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", @@ -9399,7 +9398,7 @@ "escape-string-regexp": "^4.0.0", "eslint-scope": "^7.2.0", "eslint-visitor-keys": "^3.4.1", - "espree": "^9.5.2", + "espree": "^9.6.0", "esquery": "^1.4.2", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", @@ -9419,7 +9418,7 @@ "lodash.merge": "^4.6.2", "minimatch": "^3.1.2", "natural-compare": "^1.4.0", - "optionator": "^0.9.1", + "optionator": "^0.9.3", "strip-ansi": "^6.0.1", "strip-json-comments": "^3.1.0", "text-table": "^0.2.0" @@ -9505,7 +9504,7 @@ "version": "file:packages/eslint-plugin-stylable", "requires": { "@stylable/core": "^5.13.0", - "@typescript-eslint/experimental-utils": "^5.60.0" + "@typescript-eslint/experimental-utils": "^5.61.0" } }, "eslint-scope": { @@ -9530,11 +9529,11 @@ "integrity": "sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==" }, "espree": { - "version": "9.5.2", - "resolved": "https://registry.npmjs.org/espree/-/espree-9.5.2.tgz", - "integrity": "sha512-7OASN1Wma5fum5SrNhFMAMJxOUAbhyfQ8dQ//PJaJbNw0URTPWqIghHWt1MmAANKhHZIYOHruW4Kw4ruUWOdGw==", + "version": "9.6.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.0.tgz", + "integrity": "sha512-1FH/IiruXZ84tpUlm0aCUEwMl2Ho5ilqVh0VvQXw+byAz/4SAciyHLlfmL5WYqsvD38oymdUwBss0LtK8m4s/A==", "requires": { - "acorn": "^8.8.0", + "acorn": "^8.9.0", "acorn-jsx": "^5.3.2", "eslint-visitor-keys": "^3.4.1" } @@ -9841,12 +9840,6 @@ "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==" }, - "grapheme-splitter": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz", - "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==", - "dev": true - }, "graphemer": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", @@ -11016,16 +11009,16 @@ } }, "optionator": { - "version": "0.9.1", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", - "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", + "version": "0.9.3", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz", + "integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==", "requires": { + "@aashutoshrathi/word-wrap": "^1.2.3", "deep-is": "^0.1.3", "fast-levenshtein": "^2.0.6", "levn": "^0.4.1", "prelude-ls": "^1.2.1", - "type-check": "^0.4.0", - "word-wrap": "^1.2.3" + "type-check": "^0.4.0" } }, "os-homedir": { @@ -11491,9 +11484,9 @@ } }, "rollup": { - "version": "3.25.1", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.25.1.tgz", - "integrity": "sha512-tywOR+rwIt5m2ZAWSe5AIJcTat8vGlnPFAv15ycCrw33t6iFsXZ6mzHVFh2psSjxQPmI+xgzMZZizUAukBI4aQ==", + "version": "3.26.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.26.0.tgz", + "integrity": "sha512-YzJH0eunH2hr3knvF3i6IkLO/jTjAEwU4HoMUbQl4//Tnl3ou0e7P5SjxdDr8HQJdeUJShlbEHXrrnEHy1l7Yg==", "requires": { "fsevents": "~2.3.2" } @@ -11945,9 +11938,9 @@ "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==" }, "typescript": { - "version": "5.1.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.3.tgz", - "integrity": "sha512-XH627E9vkeqhlZFQuL+UsyAXEnibT0kWR2FWONlr4sTjvxyJYnyefgrkyECLzM5NenmKzRAy2rR/OlYLA1HkZw==" + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.6.tgz", + "integrity": "sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==" }, "unbox-primitive": { "version": "1.0.2", @@ -12112,9 +12105,9 @@ } }, "webpack": { - "version": "5.87.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.87.0.tgz", - "integrity": "sha512-GOu1tNbQ7p1bDEoFRs2YPcfyGs8xq52yyPBZ3m2VGnXGtV9MxjrkABHm4V9Ia280OefsSLzvbVoXcfLxjKY/Iw==", + "version": "5.88.1", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.88.1.tgz", + "integrity": "sha512-FROX3TxQnC/ox4N+3xQoWZzvGXSuscxR32rbzjpXgEzWudJFEJBpdlkkob2ylrv5yzzufD1zph1OoFsLtm6stQ==", "requires": { "@types/eslint-scope": "^3.7.3", "@types/estree": "^1.0.0", @@ -12168,11 +12161,6 @@ "is-symbol": "^1.0.3" } }, - "word-wrap": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", - "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==" - }, "workerpool": { "version": "6.2.1", "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.2.1.tgz", diff --git a/package.json b/package.json index 619123a90..7d38ad122 100644 --- a/package.json +++ b/package.json @@ -17,8 +17,8 @@ "prettify": "npx prettier . --write" }, "devDependencies": { - "@file-services/memory": "^7.3.0", - "@file-services/node": "^7.3.0", + "@file-services/memory": "^7.4.0", + "@file-services/node": "^7.4.0", "@rollup/plugin-html": "^1.0.2", "@rollup/plugin-node-resolve": "^15.1.0", "@types/balanced-match": "^1.0.2", @@ -41,19 +41,19 @@ "@types/mocha": "^10.0.1", "@types/node": "14", "@types/postcss-safe-parser": "^5.0.1", - "@types/react": "^18.2.13", + "@types/react": "^18.2.14", "@types/react-dom": "^18.2.6", "@types/semver": "^7.5.0", "@types/validate-npm-package-name": "^4.0.0", "@types/yargs": "^17.0.24", - "@typescript-eslint/eslint-plugin": "^5.60.0", - "@typescript-eslint/parser": "^5.60.0", + "@typescript-eslint/eslint-plugin": "^5.61.0", + "@typescript-eslint/parser": "^5.61.0", "autoprefixer": "^10.4.14", "c8": "^8.0.0", "chai": "^4.3.7", "chai-subset": "^1.6.0", "create-listening-server": "^2.1.0", - "eslint": "^8.43.0", + "eslint": "^8.44.0", "eslint-config-prettier": "^8.8.0", "eslint-plugin-react": "^7.32.2", "eslint-plugin-react-hooks": "^4.6.0", @@ -70,15 +70,15 @@ "react": "^18.2.0", "react-dom": "^18.2.0", "rimraf": "^5.0.1", - "rollup": "^3.25.1", + "rollup": "^3.26.0", "source-map": "^0.7.4", "source-map-loader": "^4.0.1", "style-loader": "^3.3.3", "ts-expect": "^1.3.0", "tsconfig-paths-webpack-plugin": "^4.0.1", - "typescript": "~5.1.3", + "typescript": "~5.1.6", "url-loader": "^4.1.1", - "webpack": "^5.87.0", + "webpack": "^5.88.1", "yargs": "^17.7.2" }, "engines": { diff --git a/packages/cli/package.json b/packages/cli/package.json index 79f1f902d..0d7782d7a 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -12,8 +12,8 @@ "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 25000" }, "dependencies": { - "@file-services/node": "^7.3.0", - "@file-services/types": "^7.3.0", + "@file-services/node": "^7.4.0", + "@file-services/types": "^7.4.0", "@stylable/build-tools": "^5.13.0", "@stylable/code-formatter": "^5.13.0", "@stylable/core": "^5.13.0", @@ -21,7 +21,7 @@ "@stylable/node": "^5.13.0", "@stylable/optimizer": "^5.13.0", "@wixc3/resolve-directory-context": "^3.0.5", - "decache": "^4.6.1", + "decache": "^4.6.2", "lodash.camelcase": "^4.3.0", "lodash.upperfirst": "^4.3.1", "mime": "^3.0.0", diff --git a/packages/core-test-kit/package.json b/packages/core-test-kit/package.json index 124cacbef..3d41c1015 100644 --- a/packages/core-test-kit/package.json +++ b/packages/core-test-kit/package.json @@ -7,7 +7,7 @@ "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@file-services/memory": "^7.3.0", + "@file-services/memory": "^7.4.0", "@stylable/core": "^5.13.0", "chai": "^4.3.7", "flat": "^5.0.2", diff --git a/packages/core/package.json b/packages/core/package.json index d3cd0535a..4d467ddd2 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "@tokey/css-selector-parser": "^0.6.1", - "@tokey/css-value-parser": "^0.1.2", + "@tokey/css-value-parser": "^0.1.3", "@tokey/imports-parser": "^1.0.0", "balanced-match": "^2.0.0", "css-selector-tokenizer": "^0.8.0", diff --git a/packages/esbuild/package.json b/packages/esbuild/package.json index 2e6366f6e..d0bf63f6b 100644 --- a/packages/esbuild/package.json +++ b/packages/esbuild/package.json @@ -17,7 +17,7 @@ "@stylable/node": "^5.13.0", "@stylable/optimizer": "^5.13.0", "@stylable/runtime": "^5.13.0", - "decache": "^4.6.1" + "decache": "^4.6.2" }, "files": [ "dist", diff --git a/packages/eslint-plugin-stylable/package.json b/packages/eslint-plugin-stylable/package.json index fb5ce762b..6ee6b6367 100644 --- a/packages/eslint-plugin-stylable/package.json +++ b/packages/eslint-plugin-stylable/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "@stylable/core": "^5.13.0", - "@typescript-eslint/experimental-utils": "^5.60.0" + "@typescript-eslint/experimental-utils": "^5.61.0" }, "keywords": [ "eslint", diff --git a/packages/experimental-loader/package.json b/packages/experimental-loader/package.json index fd25abcf0..8374d18a7 100644 --- a/packages/experimental-loader/package.json +++ b/packages/experimental-loader/package.json @@ -9,7 +9,7 @@ "@stylable/core": "^5.13.0", "@stylable/runtime": "^5.13.0", "css-loader": "^6.8.1", - "decache": "^4.6.1", + "decache": "^4.6.2", "loader-utils": "^3.2.1" }, "files": [ diff --git a/packages/language-service/package.json b/packages/language-service/package.json index 2d0873032..4f8c98a42 100644 --- a/packages/language-service/package.json +++ b/packages/language-service/package.json @@ -11,8 +11,8 @@ "typescript": ">=3.8" }, "dependencies": { - "@file-services/types": "^7.3.0", - "@file-services/typescript": "^7.3.0", + "@file-services/types": "^7.4.0", + "@file-services/typescript": "^7.4.0", "@stylable/code-formatter": "^5.13.0", "@stylable/core": "^5.13.0", "@tokey/core": "^1.4.0", diff --git a/packages/rollup-plugin/package.json b/packages/rollup-plugin/package.json index 46216bc03..dd56d598f 100644 --- a/packages/rollup-plugin/package.json +++ b/packages/rollup-plugin/package.json @@ -16,7 +16,7 @@ "@stylable/node": "^5.13.0", "@stylable/optimizer": "^5.13.0", "@stylable/runtime": "^5.13.0", - "decache": "^4.6.1", + "decache": "^4.6.2", "mime": "^3.0.0" }, "files": [ diff --git a/packages/webpack-plugin/package.json b/packages/webpack-plugin/package.json index b915c4b63..914b6a56f 100644 --- a/packages/webpack-plugin/package.json +++ b/packages/webpack-plugin/package.json @@ -17,7 +17,7 @@ "@stylable/node": "^5.13.0", "@stylable/optimizer": "^5.13.0", "@stylable/runtime": "^5.13.0", - "decache": "^4.6.1", + "decache": "^4.6.2", "lodash.clonedeep": "^4.5.0", "postcss": "^8.4.24" }, From b91fece99f2879392a5ae55f72e9bd9ee0e37b3b Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Wed, 5 Jul 2023 11:23:49 +0300 Subject: [PATCH 30/81] feat: st-scope with no scoping selector (#2883) --- packages/core/src/features/st-scope.ts | 16 ++-- packages/core/test/features/st-scope.spec.ts | 78 +++++++++++++++++++- packages/core/test/scope-directive.spec.ts | 26 ------- 3 files changed, 84 insertions(+), 36 deletions(-) diff --git a/packages/core/src/features/st-scope.ts b/packages/core/src/features/st-scope.ts index 30fe5cc7a..ceabf4494 100644 --- a/packages/core/src/features/st-scope.ts +++ b/packages/core/src/features/st-scope.ts @@ -4,14 +4,13 @@ import type { Stylable } from '../stylable'; import type { ImmutablePseudoClass } from '@tokey/css-selector-parser'; import * as postcss from 'postcss'; import type { SRule } from '../deprecated/postcss-ast-extension'; -import { createDiagnosticReporter } from '../diagnostics'; export const diagnostics = { - MISSING_SCOPING_PARAM: createDiagnosticReporter( - '11009', - 'error', - () => '"@st-scope" missing scoping selector parameter' - ), + // INVALID_SCOPING: createDiagnosticReporter( + // '11009', + // 'error', + // () => '"@st-scope" requires a valid selector or empty value' + // ), }; // HOOKS @@ -21,9 +20,8 @@ export const hooks = createFeature<{ IMMUTABLE_SELECTOR: ImmutablePseudoClass }> if (!isStScopeStatement(atRule)) { return; } - if (!atRule.params) { - context.diagnostics.report(diagnostics.MISSING_SCOPING_PARAM(), { node: atRule }); - } + // notice: any value from params would be taken as a scoping + // selector to be prepended to nested selectors analyzeRule( postcss.rule({ selector: atRule.params, diff --git a/packages/core/test/features/st-scope.spec.ts b/packages/core/test/features/st-scope.spec.ts index 7a059c73f..8441d17d5 100644 --- a/packages/core/test/features/st-scope.spec.ts +++ b/packages/core/test/features/st-scope.spec.ts @@ -1,6 +1,11 @@ import { STGlobal } from '@stylable/core/dist/features'; import type { StylableMeta } from '@stylable/core'; -import { testStylableCore, collectAst, shouldReportNoDiagnostics } from '@stylable/core-test-kit'; +import { + testStylableCore, + collectAst, + shouldReportNoDiagnostics, + deindent, +} from '@stylable/core-test-kit'; import { expect } from 'chai'; import type * as postcss from 'postcss'; @@ -28,6 +33,77 @@ const queryStScope = (meta: StylableMeta, params: string): postcss.AtRule | unde describe(`features/st-scope`, () => { // ToDo: move relevant tests here + it('should allow nested global/external selectors', () => { + const { sheets } = testStylableCore({ + '/external.st.css': ``, + '/valid.st.css': ` + @st-import External, [root as external] from './external.st.css'; + @st-scope { + .external {} + External {} + div {} + + @media screen and (max-width: 555px) { + .external {} + External {} + span {} + } + } + `, + }); + + const { meta } = sheets['/valid.st.css']; + + shouldReportNoDiagnostics(meta); + expect(deindent(meta.targetAst!.toString())).to.eql( + deindent(` + .external__root {} + .external__root {} + div {} + + @media screen and (max-width: 555px) { + .external__root {} + .external__root {} + span {} + } + `) + ); + }); + it('should prepend scoping selector to nested rules', () => { + const { sheets } = testStylableCore({ + '/external.st.css': `.part{}`, + '/prepend.st.css': ` + @st-import External, [part as externalPart] from './external.st.css'; + @st-scope .s { + + /* @rule .prepend__s .external__part */ + .externalPart {} + + /* @rule .prepend__s .external__root */ + External {} + + /* @rule .prepend__s div */ + div {} + + @media screen and (max-width: 555px) { + + /* @rule .prepend__s .external__part */ + .externalPart {} + + /* @rule .prepend__s .external__root */ + External {} + + /* @rule .prepend__s span */ + span {} + } + } + `, + }); + + const { meta } = sheets['/prepend.st.css']; + + shouldReportNoDiagnostics(meta); + }); describe('st-global', () => { it('should collect global rules', () => { const { sheets } = testStylableCore(` diff --git a/packages/core/test/scope-directive.spec.ts b/packages/core/test/scope-directive.spec.ts index aa467884b..dd5ad85f6 100644 --- a/packages/core/test/scope-directive.spec.ts +++ b/packages/core/test/scope-directive.spec.ts @@ -9,9 +9,7 @@ import { shouldReportNoDiagnostics, } from '@stylable/core-test-kit'; import { transformerDiagnostics } from '@stylable/core/dist/index-internal'; -import { STScope } from '@stylable/core/dist/features'; -const stScopeDiagnostics = diagnosticBankReportToStrings(STScope.diagnostics); const transformerStringDiagnostics = diagnosticBankReportToStrings(transformerDiagnostics); use(flatMatch); @@ -516,29 +514,5 @@ describe('@st-scope', () => { '.entry__root::unknownPart .entry__part::unknownPart' ); }); - it('should warn about a missing scoping parameter', () => { - const config = { - entry: `/entry.st.css`, - files: { - '/entry.st.css': { - namespace: 'entry', - content: ` - |@st-scope { - .part {} - }| - `, - }, - }, - }; - - const { meta } = expectTransformDiagnostics(config, [ - { - message: stScopeDiagnostics.MISSING_SCOPING_PARAM(), - file: '/entry.st.css', - severity: 'error', - }, - ]); - expect((meta.targetAst!.first as Rule).selector).to.equal('.entry__part'); - }); }); }); From a6373c09f85c41c9aa2250c7c3eaab78431c0c9d Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Wed, 5 Jul 2023 11:26:02 +0300 Subject: [PATCH 31/81] fix: support svg `p: path("")` declaration (#2882) * fix: preserve quotes on path value function * fix: suppress native css service unknown d declaration --- packages/core/src/functions.ts | 9 +- packages/core/src/native-reserved-lists.ts | 159 +++++++++--------- .../core/test/features/css-general.spec.ts | 20 +++ .../language-service/src/lib/css-service.ts | 7 +- .../test/lib-new/general-css.spec.ts | 18 ++ 5 files changed, 126 insertions(+), 87 deletions(-) create mode 100644 packages/core/test/features/css-general.spec.ts create mode 100644 packages/language-service/test/lib-new/general-css.spec.ts diff --git a/packages/core/src/functions.ts b/packages/core/src/functions.ts index 5ac4d8d84..9bf44bc38 100644 --- a/packages/core/src/functions.ts +++ b/packages/core/src/functions.ts @@ -2,7 +2,7 @@ import { dirname, relative } from 'path'; import postcssValueParser from 'postcss-value-parser'; import type * as postcss from 'postcss'; import { createDiagnosticReporter, Diagnostics } from './diagnostics'; -import { isCssNativeFunction } from './native-reserved-lists'; +import { nativeFunctionsDic } from './native-reserved-lists'; import { assureRelativeUrlPrefix } from './stylable-assets'; import type { StylableMeta } from './stylable-meta'; import { @@ -180,7 +180,7 @@ export function processDeclarationValue( ); } } else if (value === 'format') { - // preserve native format function quotation + // preserve native format function arg quotation parsedNode.resolvedValue = stringifyFunction(value, parsedNode, true); } else if (resolvedSymbols.js[value]) { const formatter = resolvedSymbols.js[value]; @@ -232,8 +232,9 @@ export function processDeclarationValue( }, node: parsedNode, }); - } else if (isCssNativeFunction(value)) { - parsedNode.resolvedValue = stringifyFunction(value, parsedNode); + } else if (nativeFunctionsDic[value]) { + const { preserveQuotes } = nativeFunctionsDic[value]; + parsedNode.resolvedValue = stringifyFunction(value, parsedNode, preserveQuotes); } else if (node) { parsedNode.resolvedValue = stringifyFunction(value, parsedNode); diagnostics.report(functionDiagnostics.UNKNOWN_FORMATTER(value), { diff --git a/packages/core/src/native-reserved-lists.ts b/packages/core/src/native-reserved-lists.ts index 972161fc3..0b5d2580f 100644 --- a/packages/core/src/native-reserved-lists.ts +++ b/packages/core/src/native-reserved-lists.ts @@ -102,86 +102,81 @@ export const nativePseudoElements = [ 'spelling-error', ]; -export const nativeFunctionsDic = { - annotation: true, - attr: true, - blur: true, - brightness: true, - calc: true, - 'character-variant': true, - circle: true, - clamp: true, - 'conic-gradient': true, - constant: true, - contrast: true, - counter: true, - counters: true, - 'cubic-bezier': true, - 'drop-shadow': true, - ellipse: true, - env: true, - 'fit-content': true, - format: true, - grayscale: true, - hsl: true, - hsla: true, - 'hue-rotate': true, - hwb: true, - image: true, - inset: true, - invert: true, - leader: true, - 'linear-gradient': true, - local: true, - matrix: true, - matrix3d: true, - max: true, - min: true, - minmax: true, - opacity: true, - ornaments: true, - paint: true, - path: true, - perspective: true, - polygon: true, - 'radial-gradient': true, - rect: true, - repeat: true, - 'repeating-linear-gradient': true, - 'repeating-radial-gradient': true, - 'repeating-conic-gradient': true, - rgb: true, - rgba: true, - rotate: true, - rotate3d: true, - rotateX: true, - rotateY: true, - rotateZ: true, - saturate: true, - scale: true, - scale3d: true, - scaleX: true, - scaleY: true, - scaleZ: true, - sepia: true, - skew: true, - skewX: true, - skewY: true, - steps: true, - styleset: true, - stylistic: true, - swash: true, - symbols: true, - translate: true, - translate3d: true, - translateX: true, - translateY: true, - translateZ: true, - url: true, - var: true, +export const nativeFunctionsDic: Record = { + annotation: { preserveQuotes: false }, + attr: { preserveQuotes: false }, + blur: { preserveQuotes: false }, + brightness: { preserveQuotes: false }, + calc: { preserveQuotes: false }, + 'character-variant': { preserveQuotes: false }, + circle: { preserveQuotes: false }, + clamp: { preserveQuotes: false }, + 'conic-gradient': { preserveQuotes: false }, + constant: { preserveQuotes: false }, + contrast: { preserveQuotes: false }, + counter: { preserveQuotes: false }, + counters: { preserveQuotes: false }, + 'cubic-bezier': { preserveQuotes: false }, + 'drop-shadow': { preserveQuotes: false }, + ellipse: { preserveQuotes: false }, + env: { preserveQuotes: false }, + 'fit-content': { preserveQuotes: false }, + format: { preserveQuotes: false }, + grayscale: { preserveQuotes: false }, + hsl: { preserveQuotes: false }, + hsla: { preserveQuotes: false }, + 'hue-rotate': { preserveQuotes: false }, + hwb: { preserveQuotes: false }, + image: { preserveQuotes: false }, + inset: { preserveQuotes: false }, + invert: { preserveQuotes: false }, + leader: { preserveQuotes: false }, + 'linear-gradient': { preserveQuotes: false }, + local: { preserveQuotes: false }, + matrix: { preserveQuotes: false }, + matrix3d: { preserveQuotes: false }, + max: { preserveQuotes: false }, + min: { preserveQuotes: false }, + minmax: { preserveQuotes: false }, + opacity: { preserveQuotes: false }, + ornaments: { preserveQuotes: false }, + paint: { preserveQuotes: false }, + path: { preserveQuotes: true }, + perspective: { preserveQuotes: false }, + polygon: { preserveQuotes: false }, + 'radial-gradient': { preserveQuotes: false }, + rect: { preserveQuotes: false }, + repeat: { preserveQuotes: false }, + 'repeating-linear-gradient': { preserveQuotes: false }, + 'repeating-radial-gradient': { preserveQuotes: false }, + 'repeating-conic-gradient': { preserveQuotes: false }, + rgb: { preserveQuotes: false }, + rgba: { preserveQuotes: false }, + rotate: { preserveQuotes: false }, + rotate3d: { preserveQuotes: false }, + rotateX: { preserveQuotes: false }, + rotateY: { preserveQuotes: false }, + rotateZ: { preserveQuotes: false }, + saturate: { preserveQuotes: false }, + scale: { preserveQuotes: false }, + scale3d: { preserveQuotes: false }, + scaleX: { preserveQuotes: false }, + scaleY: { preserveQuotes: false }, + scaleZ: { preserveQuotes: false }, + sepia: { preserveQuotes: false }, + skew: { preserveQuotes: false }, + skewX: { preserveQuotes: false }, + skewY: { preserveQuotes: false }, + steps: { preserveQuotes: false }, + styleset: { preserveQuotes: false }, + stylistic: { preserveQuotes: false }, + swash: { preserveQuotes: false }, + symbols: { preserveQuotes: false }, + translate: { preserveQuotes: false }, + translate3d: { preserveQuotes: false }, + translateX: { preserveQuotes: false }, + translateY: { preserveQuotes: false }, + translateZ: { preserveQuotes: false }, + url: { preserveQuotes: false }, + var: { preserveQuotes: false }, }; - -export type nativeFunctions = keyof typeof nativeFunctionsDic; -export function isCssNativeFunction(name: string): name is nativeFunctions { - return nativeFunctionsDic[name as nativeFunctions]; -} diff --git a/packages/core/test/features/css-general.spec.ts b/packages/core/test/features/css-general.spec.ts new file mode 100644 index 000000000..2970ce69a --- /dev/null +++ b/packages/core/test/features/css-general.spec.ts @@ -0,0 +1,20 @@ +import { shouldReportNoDiagnostics, testStylableCore } from '@stylable/core-test-kit'; + +describe('features/css-general', () => { + describe('svg', () => { + it('should preserve path value function quotes', () => { + // ToDo: remove once experimentalSelectorInference is the default + const { sheets } = testStylableCore(` + + .path { + /* @decl d: path("M0 0 L10 0 L10 10Z") */ + d: path("M0 0 L10 0 L10 10Z"); + } + `); + + const { meta } = sheets['/entry.st.css']; + + shouldReportNoDiagnostics(meta); + }); + }); +}); diff --git a/packages/language-service/src/lib/css-service.ts b/packages/language-service/src/lib/css-service.ts index d93999825..bb9613826 100644 --- a/packages/language-service/src/lib/css-service.ts +++ b/packages/language-service/src/lib/css-service.ts @@ -199,7 +199,12 @@ export class CssService { } else if (diag.code === 'unknownProperties') { const prop = diag.message.match(/'(.*)'/)![1]; - if (meta.getStVar(prop) || prop === 'container' || prop === 'container-name') { + if ( + meta.getStVar(prop) || + prop === 'container' || + prop === 'container-name' || + prop === 'd' + ) { return false; } } diff --git a/packages/language-service/test/lib-new/general-css.spec.ts b/packages/language-service/test/lib-new/general-css.spec.ts new file mode 100644 index 000000000..8fc903d1d --- /dev/null +++ b/packages/language-service/test/lib-new/general-css.spec.ts @@ -0,0 +1,18 @@ +import { expect } from 'chai'; +import { testLangService } from '../test-kit/test-lang-service'; + +describe('LS: css-pseudo-class', () => { + describe('svg', () => { + it('should not report unknown properties from native lsp', () => { + const { service } = testLangService(` + .path { + d: path("M0 0 L10 0 L10 10Z"); + } + `); + + const result = service.diagnose('/entry.st.css'); + + expect(result).to.eql([]); + }); + }); +}); From 3a4eb0e2cb506854b802269499b854393e234ce1 Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Wed, 5 Jul 2023 11:26:24 +0300 Subject: [PATCH 32/81] fix: accept mixin argument var used in atrule params (#2884) --- packages/core/src/features/st-mixin.ts | 5 ++- packages/core/test/features/st-mixin.spec.ts | 43 ++++++++++++++++++++ 2 files changed, 46 insertions(+), 2 deletions(-) diff --git a/packages/core/src/features/st-mixin.ts b/packages/core/src/features/st-mixin.ts index 69fc7e8c6..afac24e4c 100644 --- a/packages/core/src/features/st-mixin.ts +++ b/packages/core/src/features/st-mixin.ts @@ -537,8 +537,9 @@ function collectOptionalArgs( mixinRoot: postcss.Root, optionalArgs: Set = new Set() ) { - mixinRoot.walkDecls((decl) => { - const varNames = STVar.parseVarsFromExpr(decl.value); + mixinRoot.walk((node) => { + const value = node.type === 'decl' ? node.value : node.type === 'atrule' ? node.params : ''; + const varNames = STVar.parseVarsFromExpr(value); for (const name of varNames) { for (const refName of STVar.resolveReferencedVarNames(context, name)) { optionalArgs.add(refName); diff --git a/packages/core/test/features/st-mixin.spec.ts b/packages/core/test/features/st-mixin.spec.ts index 79e10bbf6..1caac3b1a 100644 --- a/packages/core/test/features/st-mixin.spec.ts +++ b/packages/core/test/features/st-mixin.spec.ts @@ -9,6 +9,7 @@ import { assertRule, assertDecl, assertAtRule, + deindent, } from '@stylable/core-test-kit'; import chai, { expect } from 'chai'; import type * as postcss from 'postcss'; @@ -274,6 +275,48 @@ describe(`features/st-mixin`, () => { shouldReportNoDiagnostics(meta); }); + it(`should accept used build-vars from mixin and replace them`, () => { + const deindentAndRemoveSpaces = (str: string) => deindent(str).replace(/\s/g, ''); + const { sheets } = testStylableCore({ + '/mix.st.css': ` + :vars { + a: red; + point_to_a: value(a); + media-val: 123px + } + .mix { + color: value(point_to_a); + } + @media (min-width: value(media-val)) { + .mix { color: purple; } + } + `, + '/valid.st.css': ` + @st-import [mix] from "./mix.st.css"; + + .root { + -st-mixin: mix( + a green, + media-val 789px + ); + } + `, + }); + + const { meta } = sheets['/valid.st.css']; + + shouldReportNoDiagnostics(meta); + expect(deindentAndRemoveSpaces(meta.targetAst!.toString())).to.equal( + deindentAndRemoveSpaces(` + .valid__root { + color: green; + } + @media (min-width: 789px) { + .valid__root { color: purple; } + } + `) + ); + }); it(`should report unknown args`, () => { testStylableCore(` :vars { From e31c312aa05bd024df96cdf2e93eb42dfe404784 Mon Sep 17 00:00:00 2001 From: barak igal Date: Wed, 5 Jul 2023 11:42:48 +0300 Subject: [PATCH 33/81] feat: added a way to force states on a single selector (#2880) --- packages/webpack-extensions/src/index.ts | 2 + .../src/stylable-forcestates-plugin.ts | 138 +++++++++++------- 2 files changed, 91 insertions(+), 49 deletions(-) diff --git a/packages/webpack-extensions/src/index.ts b/packages/webpack-extensions/src/index.ts index a13cffb82..d0a7de1f3 100644 --- a/packages/webpack-extensions/src/index.ts +++ b/packages/webpack-extensions/src/index.ts @@ -9,6 +9,8 @@ export { applyStylableForceStateSelectors, createDataAttr, createForceStateMatchers, + createForceStatesContext, + mutateWithForceStates, } from './stylable-forcestates-plugin'; export { GetLogicModule, diff --git a/packages/webpack-extensions/src/stylable-forcestates-plugin.ts b/packages/webpack-extensions/src/stylable-forcestates-plugin.ts index 61abbea33..3bd66711c 100644 --- a/packages/webpack-extensions/src/stylable-forcestates-plugin.ts +++ b/packages/webpack-extensions/src/stylable-forcestates-plugin.ts @@ -36,50 +36,21 @@ export function createDataAttr(dataAttrPrefix: string, stateName: string, param? const statePart = param !== undefined ? STCustomState.resolveStateParam(param) : ''; return `${dataAttrPrefix}${paramWithValueExtraDil}${stateName}${statePart}`; } - +/** + * + * @param targetAst - target ast to transform + * @param namespaceMapping - known namespaces (use to detect framework specific namespaces like Stylable) + * @param dataPrefix - prefix for the data attribute + * @param plugin - plugin to override the context + */ export function applyStylableForceStateSelectors( targetAst: postcss.Root, namespaceMapping: Record | ((namespace: string) => boolean) = {}, dataPrefix = OVERRIDE_STATE_PREFIX, plugin: (ctx: AddForceStateSelectorsContext) => AddForceStateSelectorsContext = (id) => id ) { - const isKnownNamespace = - typeof namespaceMapping === 'function' - ? namespaceMapping - : (name: string) => hasOwnProperty.call(namespaceMapping, name); - const mapping: Record = {}; - addForceStateSelectors( - targetAst, - plugin({ - getForceStateAttrContentFromNative(name) { - return this.getForceStateAttrContent(name); - }, - getForceStateAttrContent(name) { - return dataPrefix + name; - }, - getStateClassName(name) { - const parts = name.match(MATCH_STATE_CLASS); - return parts![2]; - }, - getStateAttr(content) { - const parts = content.match(MATCH_STATE_ATTR); - return parts![2]; - }, - isStateClassName(name) { - const parts = name.match(MATCH_STATE_CLASS); - return parts ? isKnownNamespace(parts[1]) : false; - }, - isStateAttr(content) { - const parts = content.match(MATCH_STATE_ATTR); - return parts ? isKnownNamespace(parts[1]) : false; - }, - onMapping(key, value) { - mapping[key] = value; - mapping[value] = key; - }, - }) - ); + addForceStateSelectors(targetAst, createForceStatesContext(dataPrefix, namespaceMapping, mapping, plugin)); return mapping; } @@ -93,22 +64,91 @@ export interface AddForceStateSelectorsContext { onMapping(key: string, value: string): void; } -export function addForceStateSelectors(ast: postcss.Root, context: AddForceStateSelectorsContext) { - ast.walkRules((rule) => { - const selectorAst = parseCssSelector(rule.selector); +/** + * adds force state selectors to the entire ast + * @param targetAst - target ast to transform + * @param context - context to use for the transformation + */ +export function addForceStateSelectors( + targetAst: postcss.Root, + context: AddForceStateSelectorsContext +) { + targetAst.walkRules((rule) => + mutateWithForceStates(parseCssSelector(rule.selector), context, rule) + ); +} +/** + * creates a context to share across the transformation of addForceStateSelectors + * @param dataPrefix - prefix for the data attribute + * @param namespaceMapping - known namespaces (use to detect framework specific namespaces like Stylable) + * @param mapping - mapping of the original state to the override state + * @param plugin - plugin to override the context + */ +export function createForceStatesContext( + dataPrefix: string, + namespaceMapping: Record | ((namespace: string) => boolean), + mapping: Record, + plugin: (ctx: AddForceStateSelectorsContext) => AddForceStateSelectorsContext +) { + const isKnownNamespace = + typeof namespaceMapping === 'function' + ? namespaceMapping + : (name: string) => hasOwnProperty.call(namespaceMapping, name); + + return plugin({ + getForceStateAttrContentFromNative(name) { + return this.getForceStateAttrContent(name); + }, + getForceStateAttrContent(name) { + return dataPrefix + name; + }, + getStateClassName(name) { + const parts = name.match(MATCH_STATE_CLASS); + return parts![2]; + }, + getStateAttr(content) { + const parts = content.match(MATCH_STATE_ATTR); + return parts![2]; + }, + isStateClassName(name) { + const parts = name.match(MATCH_STATE_CLASS); + return parts ? isKnownNamespace(parts[1]) : false; + }, + isStateAttr(content) { + const parts = content.match(MATCH_STATE_ATTR); + return parts ? isKnownNamespace(parts[1]) : false; + }, + onMapping(key, value) { + mapping[key] = value; + mapping[value] = key; + }, + }); +} - const overrideSelectors = selectorAst.reduce((selectors, selector) => { - if (hasStates(selector, context)) { - selectors.push(transformStates(cloneDeep(selector), context)); - } - return selectors; - }, [] as SelectorList); +/** + * + * @param selectorAst - selector ast to override + * @param context - context to use for the transformation + * @param rule - optional rule to update the selector on (if not provided only the selector ast will be mutated) + */ +export function mutateWithForceStates( + selectorAst: SelectorList, + context: AddForceStateSelectorsContext, + rule?: postcss.Rule +) { + const overrideSelectors: SelectorList = []; + for (const selector of selectorAst) { + if (hasStates(selector, context)) { + overrideSelectors.push(transformStates(cloneDeep(selector), context)); + } + } - if (overrideSelectors.length) { - selectorAst.push(...overrideSelectors); + if (overrideSelectors.length) { + selectorAst.push(...overrideSelectors); + if (rule) { rule.selector = stringifySelectorAst(selectorAst); } - }); + } } function isNative(name: string) { From e123ba306b1ccb7ae31a66963aa27e3c3bdb7626 Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Wed, 5 Jul 2023 12:04:54 +0300 Subject: [PATCH 34/81] refactor: bailout transform for internal `-st-` decls (#2885) --- packages/core/src/stylable-transformer.ts | 24 +++++++++-------------- 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/packages/core/src/stylable-transformer.ts b/packages/core/src/stylable-transformer.ts index 5aba4b292..a10693fc4 100644 --- a/packages/core/src/stylable-transformer.ts +++ b/packages/core/src/stylable-transformer.ts @@ -302,25 +302,19 @@ export class StylableTransformer { }); } - if (this.mode === 'production') { - if (decl.prop.startsWith('-st-')) { + if (decl.prop.startsWith('-st-')) { + if (this.mode === 'production') { this.directiveNodes.push(decl); } + return; } - switch (decl.prop) { - case `-st-partial-mixin`: - case `-st-mixin`: - case `-st-states`: - break; - default: - decl.value = this.evaluator.evaluateValue(transformContext, { - value: decl.value, - meta, - node: decl, - cssVarsMapping, - }).outputValue; - } + decl.value = this.evaluator.evaluateValue(transformContext, { + value: decl.value, + meta, + node: decl, + cssVarsMapping, + }).outputValue; }; ast.walk((node) => { From 8d8be8dfa046ce3c8e59a7886c6e8789227da034 Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Wed, 5 Jul 2023 12:20:47 +0300 Subject: [PATCH 35/81] chore: update lock file --- package-lock.json | 1987 ++++++++++++++++++++++++++------------------- 1 file changed, 1149 insertions(+), 838 deletions(-) diff --git a/package-lock.json b/package-lock.json index d7c9affd6..a2d752d27 100644 --- a/package-lock.json +++ b/package-lock.json @@ -93,9 +93,9 @@ "dev": true }, "node_modules/@esbuild/android-arm": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.17.18.tgz", - "integrity": "sha512-EmwL+vUBZJ7mhFCs5lA4ZimpUH3WMAoqvOIYhVQwdIgSpHC8ImHdsRyhHAVxpDYUSm0lWvd63z0XH1IlImS2Qw==", + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.11.tgz", + "integrity": "sha512-q4qlUf5ucwbUJZXF5tEQ8LF7y0Nk4P58hOsGk3ucY0oCwgQqAnqXVbUuahCddVHfrxmpyewRpiTHwVHIETYu7Q==", "cpu": [ "arm" ], @@ -109,9 +109,9 @@ } }, "node_modules/@esbuild/android-arm64": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.17.18.tgz", - "integrity": "sha512-/iq0aK0eeHgSC3z55ucMAHO05OIqmQehiGay8eP5l/5l+iEr4EIbh4/MI8xD9qRFjqzgkc0JkX0LculNC9mXBw==", + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.18.11.tgz", + "integrity": "sha512-snieiq75Z1z5LJX9cduSAjUr7vEI1OdlzFPMw0HH5YI7qQHDd3qs+WZoMrWYDsfRJSq36lIA6mfZBkvL46KoIw==", "cpu": [ "arm64" ], @@ -125,9 +125,9 @@ } }, "node_modules/@esbuild/android-x64": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.17.18.tgz", - "integrity": "sha512-x+0efYNBF3NPW2Xc5bFOSFW7tTXdAcpfEg2nXmxegm4mJuVeS+i109m/7HMiOQ6M12aVGGFlqJX3RhNdYM2lWg==", + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.18.11.tgz", + "integrity": "sha512-iPuoxQEV34+hTF6FT7om+Qwziv1U519lEOvekXO9zaMMlT9+XneAhKL32DW3H7okrCOBQ44BMihE8dclbZtTuw==", "cpu": [ "x64" ], @@ -141,9 +141,9 @@ } }, "node_modules/@esbuild/darwin-arm64": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.17.18.tgz", - "integrity": "sha512-6tY+djEAdF48M1ONWnQb1C+6LiXrKjmqjzPNPWXhu/GzOHTHX2nh8Mo2ZAmBFg0kIodHhciEgUBtcYCAIjGbjQ==", + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.18.11.tgz", + "integrity": "sha512-Gm0QkI3k402OpfMKyQEEMG0RuW2LQsSmI6OeO4El2ojJMoF5NLYb3qMIjvbG/lbMeLOGiW6ooU8xqc+S0fgz2w==", "cpu": [ "arm64" ], @@ -157,9 +157,9 @@ } }, "node_modules/@esbuild/darwin-x64": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.17.18.tgz", - "integrity": "sha512-Qq84ykvLvya3dO49wVC9FFCNUfSrQJLbxhoQk/TE1r6MjHo3sFF2tlJCwMjhkBVq3/ahUisj7+EpRSz0/+8+9A==", + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.18.11.tgz", + "integrity": "sha512-N15Vzy0YNHu6cfyDOjiyfJlRJCB/ngKOAvoBf1qybG3eOq0SL2Lutzz9N7DYUbb7Q23XtHPn6lMDF6uWbGv9Fw==", "cpu": [ "x64" ], @@ -173,9 +173,9 @@ } }, "node_modules/@esbuild/freebsd-arm64": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.17.18.tgz", - "integrity": "sha512-fw/ZfxfAzuHfaQeMDhbzxp9mc+mHn1Y94VDHFHjGvt2Uxl10mT4CDavHm+/L9KG441t1QdABqkVYwakMUeyLRA==", + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.11.tgz", + "integrity": "sha512-atEyuq6a3omEY5qAh5jIORWk8MzFnCpSTUruBgeyN9jZq1K/QI9uke0ATi3MHu4L8c59CnIi4+1jDKMuqmR71A==", "cpu": [ "arm64" ], @@ -189,9 +189,9 @@ } }, "node_modules/@esbuild/freebsd-x64": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.17.18.tgz", - "integrity": "sha512-FQFbRtTaEi8ZBi/A6kxOC0V0E9B/97vPdYjY9NdawyLd4Qk5VD5g2pbWN2VR1c0xhzcJm74HWpObPszWC+qTew==", + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.18.11.tgz", + "integrity": "sha512-XtuPrEfBj/YYYnAAB7KcorzzpGTvOr/dTtXPGesRfmflqhA4LMF0Gh/n5+a9JBzPuJ+CGk17CA++Hmr1F/gI0Q==", "cpu": [ "x64" ], @@ -205,9 +205,9 @@ } }, "node_modules/@esbuild/linux-arm": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.17.18.tgz", - "integrity": "sha512-jW+UCM40LzHcouIaqv3e/oRs0JM76JfhHjCavPxMUti7VAPh8CaGSlS7cmyrdpzSk7A+8f0hiedHqr/LMnfijg==", + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.18.11.tgz", + "integrity": "sha512-Idipz+Taso/toi2ETugShXjQ3S59b6m62KmLHkJlSq/cBejixmIydqrtM2XTvNCywFl3VC7SreSf6NV0i6sRyg==", "cpu": [ "arm" ], @@ -221,9 +221,9 @@ } }, "node_modules/@esbuild/linux-arm64": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.17.18.tgz", - "integrity": "sha512-R7pZvQZFOY2sxUG8P6A21eq6q+eBv7JPQYIybHVf1XkQYC+lT7nDBdC7wWKTrbvMXKRaGudp/dzZCwL/863mZQ==", + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.18.11.tgz", + "integrity": "sha512-c6Vh2WS9VFKxKZ2TvJdA7gdy0n6eSy+yunBvv4aqNCEhSWVor1TU43wNRp2YLO9Vng2G+W94aRz+ILDSwAiYog==", "cpu": [ "arm64" ], @@ -237,9 +237,9 @@ } }, "node_modules/@esbuild/linux-ia32": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.17.18.tgz", - "integrity": "sha512-ygIMc3I7wxgXIxk6j3V00VlABIjq260i967Cp9BNAk5pOOpIXmd1RFQJQX9Io7KRsthDrQYrtcx7QCof4o3ZoQ==", + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.18.11.tgz", + "integrity": "sha512-S3hkIF6KUqRh9n1Q0dSyYcWmcVa9Cg+mSoZEfFuzoYXXsk6196qndrM+ZiHNwpZKi3XOXpShZZ+9dfN5ykqjjw==", "cpu": [ "ia32" ], @@ -253,9 +253,9 @@ } }, "node_modules/@esbuild/linux-loong64": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.17.18.tgz", - "integrity": "sha512-bvPG+MyFs5ZlwYclCG1D744oHk1Pv7j8psF5TfYx7otCVmcJsEXgFEhQkbhNW8otDHL1a2KDINW20cfCgnzgMQ==", + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.18.11.tgz", + "integrity": "sha512-MRESANOoObQINBA+RMZW+Z0TJWpibtE7cPFnahzyQHDCA9X9LOmGh68MVimZlM9J8n5Ia8lU773te6O3ILW8kw==", "cpu": [ "loong64" ], @@ -269,9 +269,9 @@ } }, "node_modules/@esbuild/linux-mips64el": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.17.18.tgz", - "integrity": "sha512-oVqckATOAGuiUOa6wr8TXaVPSa+6IwVJrGidmNZS1cZVx0HqkTMkqFGD2HIx9H1RvOwFeWYdaYbdY6B89KUMxA==", + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.18.11.tgz", + "integrity": "sha512-qVyPIZrXNMOLYegtD1u8EBccCrBVshxMrn5MkuFc3mEVsw7CCQHaqZ4jm9hbn4gWY95XFnb7i4SsT3eflxZsUg==", "cpu": [ "mips64el" ], @@ -285,9 +285,9 @@ } }, "node_modules/@esbuild/linux-ppc64": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.17.18.tgz", - "integrity": "sha512-3dLlQO+b/LnQNxgH4l9rqa2/IwRJVN9u/bK63FhOPB4xqiRqlQAU0qDU3JJuf0BmaH0yytTBdoSBHrb2jqc5qQ==", + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.18.11.tgz", + "integrity": "sha512-T3yd8vJXfPirZaUOoA9D2ZjxZX4Gr3QuC3GztBJA6PklLotc/7sXTOuuRkhE9W/5JvJP/K9b99ayPNAD+R+4qQ==", "cpu": [ "ppc64" ], @@ -301,9 +301,9 @@ } }, "node_modules/@esbuild/linux-riscv64": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.17.18.tgz", - "integrity": "sha512-/x7leOyDPjZV3TcsdfrSI107zItVnsX1q2nho7hbbQoKnmoeUWjs+08rKKt4AUXju7+3aRZSsKrJtaRmsdL1xA==", + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.18.11.tgz", + "integrity": "sha512-evUoRPWiwuFk++snjH9e2cAjF5VVSTj+Dnf+rkO/Q20tRqv+644279TZlPK8nUGunjPAtQRCj1jQkDAvL6rm2w==", "cpu": [ "riscv64" ], @@ -317,9 +317,9 @@ } }, "node_modules/@esbuild/linux-s390x": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.17.18.tgz", - "integrity": "sha512-cX0I8Q9xQkL/6F5zWdYmVf5JSQt+ZfZD2bJudZrWD+4mnUvoZ3TDDXtDX2mUaq6upMFv9FlfIh4Gfun0tbGzuw==", + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.18.11.tgz", + "integrity": "sha512-/SlRJ15XR6i93gRWquRxYCfhTeC5PdqEapKoLbX63PLCmAkXZHY2uQm2l9bN0oPHBsOw2IswRZctMYS0MijFcg==", "cpu": [ "s390x" ], @@ -333,9 +333,9 @@ } }, "node_modules/@esbuild/linux-x64": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.17.18.tgz", - "integrity": "sha512-66RmRsPlYy4jFl0vG80GcNRdirx4nVWAzJmXkevgphP1qf4dsLQCpSKGM3DUQCojwU1hnepI63gNZdrr02wHUA==", + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.18.11.tgz", + "integrity": "sha512-xcncej+wF16WEmIwPtCHi0qmx1FweBqgsRtEL1mSHLFR6/mb3GEZfLQnx+pUDfRDEM4DQF8dpXIW7eDOZl1IbA==", "cpu": [ "x64" ], @@ -349,9 +349,9 @@ } }, "node_modules/@esbuild/netbsd-x64": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.17.18.tgz", - "integrity": "sha512-95IRY7mI2yrkLlTLb1gpDxdC5WLC5mZDi+kA9dmM5XAGxCME0F8i4bYH4jZreaJ6lIZ0B8hTrweqG1fUyW7jbg==", + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.18.11.tgz", + "integrity": "sha512-aSjMHj/F7BuS1CptSXNg6S3M4F3bLp5wfFPIJM+Km2NfIVfFKhdmfHF9frhiCLIGVzDziggqWll0B+9AUbud/Q==", "cpu": [ "x64" ], @@ -365,9 +365,9 @@ } }, "node_modules/@esbuild/openbsd-x64": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.17.18.tgz", - "integrity": "sha512-WevVOgcng+8hSZ4Q3BKL3n1xTv5H6Nb53cBrtzzEjDbbnOmucEVcZeGCsCOi9bAOcDYEeBZbD2SJNBxlfP3qiA==", + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.18.11.tgz", + "integrity": "sha512-tNBq+6XIBZtht0xJGv7IBB5XaSyvYPCm1PxJ33zLQONdZoLVM0bgGqUrXnJyiEguD9LU4AHiu+GCXy/Hm9LsdQ==", "cpu": [ "x64" ], @@ -381,9 +381,9 @@ } }, "node_modules/@esbuild/sunos-x64": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.17.18.tgz", - "integrity": "sha512-Rzf4QfQagnwhQXVBS3BYUlxmEbcV7MY+BH5vfDZekU5eYpcffHSyjU8T0xucKVuOcdCsMo+Ur5wmgQJH2GfNrg==", + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.18.11.tgz", + "integrity": "sha512-kxfbDOrH4dHuAAOhr7D7EqaYf+W45LsAOOhAet99EyuxxQmjbk8M9N4ezHcEiCYPaiW8Dj3K26Z2V17Gt6p3ng==", "cpu": [ "x64" ], @@ -397,9 +397,9 @@ } }, "node_modules/@esbuild/win32-arm64": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.17.18.tgz", - "integrity": "sha512-Kb3Ko/KKaWhjeAm2YoT/cNZaHaD1Yk/pa3FTsmqo9uFh1D1Rfco7BBLIPdDOozrObj2sahslFuAQGvWbgWldAg==", + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.18.11.tgz", + "integrity": "sha512-Sh0dDRyk1Xi348idbal7lZyfSkjhJsdFeuC13zqdipsvMetlGiFQNdO+Yfp6f6B4FbyQm7qsk16yaZk25LChzg==", "cpu": [ "arm64" ], @@ -413,9 +413,9 @@ } }, "node_modules/@esbuild/win32-ia32": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.17.18.tgz", - "integrity": "sha512-0/xUMIdkVHwkvxfbd5+lfG7mHOf2FRrxNbPiKWg9C4fFrB8H0guClmaM3BFiRUYrznVoyxTIyC/Ou2B7QQSwmw==", + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.18.11.tgz", + "integrity": "sha512-o9JUIKF1j0rqJTFbIoF4bXj6rvrTZYOrfRcGyL0Vm5uJ/j5CkBD/51tpdxe9lXEDouhRgdr/BYzUrDOvrWwJpg==", "cpu": [ "ia32" ], @@ -429,9 +429,9 @@ } }, "node_modules/@esbuild/win32-x64": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.17.18.tgz", - "integrity": "sha512-qU25Ma1I3NqTSHJUOKi9sAH1/Mzuvlke0ioMJRthLXKm7JiSKVwFghlGbDLOO2sARECGhja4xYfRAZNPAkooYg==", + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.18.11.tgz", + "integrity": "sha512-rQI4cjLHd2hGsM1LqgDI7oOCYbQ6IBOVsX9ejuRMSze0GqXUG2ekwiKkiBU1pRGSeCqFFHxTrcEydB2Hyoz9CA==", "cpu": [ "x64" ], @@ -445,9 +445,9 @@ } }, "node_modules/@eslint-community/eslint-utils": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.2.0.tgz", - "integrity": "sha512-gB8T4H4DEfX2IV9zGDJPOBgP1e/DbfCPDTtEqUMckpvzS1OYtva8JdFYBqMwYk7xAQ429WGF/UPqn8uQ//h2vQ==", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", + "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", "dependencies": { "eslint-visitor-keys": "^3.3.0" }, @@ -459,9 +459,9 @@ } }, "node_modules/@eslint-community/regexpp": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.4.0.tgz", - "integrity": "sha512-A9983Q0LnDGdLPjxyXQ00sbV+K+O+ko2Dr+CZigbHWtX9pNfxlaBkMR8X1CztI73zuEyEBXTVjx7CE+/VSwDiQ==", + "version": "4.5.1", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.5.1.tgz", + "integrity": "sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6FZTFKQ==", "engines": { "node": "^12.0.0 || ^14.0.0 || >=16.0.0" } @@ -640,9 +640,9 @@ } }, "node_modules/@isaacs/cliui/node_modules/strip-ansi": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.0.1.tgz", - "integrity": "sha512-cXNxvT8dFNRVfhVME3JAe98mkXDYN2O1l7jmcwMnOslDeESg1rF/OZMtK0nRAhiari1unG5cD4jG3rapUAkLbw==", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", "dependencies": { "ansi-regex": "^6.0.1" }, @@ -679,9 +679,9 @@ } }, "node_modules/@jridgewell/gen-mapping": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz", - "integrity": "sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A==", + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", + "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==", "dependencies": { "@jridgewell/set-array": "^1.0.1", "@jridgewell/sourcemap-codec": "^1.4.10", @@ -708,28 +708,33 @@ } }, "node_modules/@jridgewell/source-map": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.2.tgz", - "integrity": "sha512-m7O9o2uR8k2ObDysZYzdfhb08VuEml5oWGiosa1VdaPZ/A6QyPkAJuwN0Q1lhULOf6B7MtQmHENS743hWtCrgw==", + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.5.tgz", + "integrity": "sha512-UTYAUj/wviwdsMfzoSJspJxbkH5o1snzwX0//0ENX1u/55kkZZkcTZP6u9bwKGkv+dkk9at4m1Cpt0uY80kcpQ==", "dependencies": { "@jridgewell/gen-mapping": "^0.3.0", "@jridgewell/trace-mapping": "^0.3.9" } }, "node_modules/@jridgewell/sourcemap-codec": { - "version": "1.4.14", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz", - "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==" + "version": "1.4.15", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", + "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==" }, "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.17", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.17.tgz", - "integrity": "sha512-MCNzAp77qzKca9+W/+I0+sEpaUnZoeasnghNeVc41VZCEKaCH73Vq3BZZ/SzWIgrqE4H4ceI+p+b6C0mHf9T4g==", + "version": "0.3.18", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.18.tgz", + "integrity": "sha512-w+niJYzMHdd7USdiH2U6869nqhD2nbfZXND5Yp93qIbEmnDNk7PD48o+YchRVpzMU7M6jVCbenTR7PA1FLQ9pA==", "dependencies": { "@jridgewell/resolve-uri": "3.1.0", "@jridgewell/sourcemap-codec": "1.4.14" } }, + "node_modules/@jridgewell/trace-mapping/node_modules/@jridgewell/sourcemap-codec": { + "version": "1.4.14", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz", + "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==" + }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", @@ -976,9 +981,9 @@ "dev": true }, "node_modules/@types/css-tree": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@types/css-tree/-/css-tree-2.0.0.tgz", - "integrity": "sha512-mY2sXRLBnUPMYw6mkOT+6dABeaNxAEKZz6scE9kQPNJx8fKe1fOsm8Honl7+xFYe6TKX8WNk2+7oMp2vBArJ9Q==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@types/css-tree/-/css-tree-2.3.1.tgz", + "integrity": "sha512-3m636Jz4d9d+lHVMp6FNLsUWQrfOx1xpm1SBxPbQYSNNgXMe+XswcsDeo1ldyULiuzYyWKk1kmvkLTgNq+215Q==", "dev": true }, "node_modules/@types/cssesc": { @@ -997,9 +1002,9 @@ } }, "node_modules/@types/eslint": { - "version": "8.4.10", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.4.10.tgz", - "integrity": "sha512-Sl/HOqN8NKPmhWo2VBEPm0nvHnu2LL3v9vKo8MEq0EtbJ4eVzGPl41VNPvn5E1i5poMk4/XD8UriLHpJvEP/Nw==", + "version": "8.40.2", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.40.2.tgz", + "integrity": "sha512-PRVjQ4Eh9z9pmmtaq8nTjZjQwKFk7YIHIud3lRoKRBgUQjgjRmoGxxGEPXQkF+lH7QkHJRNr5F4aBgYCW0lqpQ==", "dependencies": { "@types/estree": "*", "@types/json-schema": "*" @@ -1015,9 +1020,9 @@ } }, "node_modules/@types/estree": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.0.tgz", - "integrity": "sha512-WulqXMDUTYAXCjZnk6JtIHPigp55cVtDgDrO2gHRwhyJto21+1zbVCtOYB2L1F9w4qCQ0rOGWBnBe0FNTiEJIQ==" + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.1.tgz", + "integrity": "sha512-LG4opVs2ANWZ1TJoKc937iMmNstM/d0ae1vNbnBvBhqCSezgVUOzcLCqbI5elV8Vy6WKwKjaqR+zO9VKirBBCA==" }, "node_modules/@types/find-config": { "version": "1.0.1", @@ -1055,9 +1060,9 @@ "integrity": "sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA==" }, "node_modules/@types/lodash": { - "version": "4.14.191", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.191.tgz", - "integrity": "sha512-BdZ5BCCvho3EIXw6wUCXHe7rS53AIDPLE+JzwgT+OsJk53oBfbSmZZ7CX4VaRoN78N+TJpFi9QPlfIVNmJYWxQ==", + "version": "4.14.195", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.195.tgz", + "integrity": "sha512-Hwx9EUgdwf2GLarOjQp5ZH8ZmblzcbTBC2wtQWNKARBSxM9ezRIAUpeDTgoQRAFB0+8CNWXVA9+MaSOzOF3nPg==", "dev": true }, "node_modules/@types/lodash.camelcase": { @@ -1127,9 +1132,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "14.18.34", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.34.tgz", - "integrity": "sha512-hcU9AIQVHmPnmjRK+XUUYlILlr9pQrsqSrwov/JK1pnf3GTQowVBhx54FbvM0AU/VXGH4i3+vgXS5EguR7fysA==" + "version": "14.18.53", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.53.tgz", + "integrity": "sha512-soGmOpVBUq+gaBMwom1M+krC/NNbWlosh4AtGA03SyWNDiqSKtwp7OulO1M6+mg8YkHMvJ/y0AkCeO8d1hNb7A==" }, "node_modules/@types/postcss-safe-parser": { "version": "5.0.1", @@ -1173,9 +1178,9 @@ "dev": true }, "node_modules/@types/scheduler": { - "version": "0.16.2", - "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.2.tgz", - "integrity": "sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew==", + "version": "0.16.3", + "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.3.tgz", + "integrity": "sha512-5cJ8CB4yAx7BH1oMvdU0Jh9lrEXyPkar6F9G/ERswkCuvP4KQZfZkSjcMbAICCpQTN4OuZn8tz0HiKv9TGZgrQ==", "dev": true }, "node_modules/@types/semver": { @@ -1411,133 +1416,133 @@ "integrity": "sha512-/yrv59IEnmh655z1oeDnGcvMYwnEzNzHLgeYcQCkhYX0xBvYWrAuefoiLcPBUkMpJsb46bqQ6Yv4pwTTQ4d3Qg==" }, "node_modules/@webassemblyjs/ast": { - "version": "1.11.5", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.5.tgz", - "integrity": "sha512-LHY/GSAZZRpsNQH+/oHqhRQ5FT7eoULcBqgfyTB5nQHogFnK3/7QoN7dLnwSE/JkUAF0SrRuclT7ODqMFtWxxQ==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.6.tgz", + "integrity": "sha512-IN1xI7PwOvLPgjcf180gC1bqn3q/QaOCwYUahIOhbYUu8KA/3tw2RT/T0Gidi1l7Hhj5D/INhJxiICObqpMu4Q==", "dependencies": { - "@webassemblyjs/helper-numbers": "1.11.5", - "@webassemblyjs/helper-wasm-bytecode": "1.11.5" + "@webassemblyjs/helper-numbers": "1.11.6", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6" } }, "node_modules/@webassemblyjs/floating-point-hex-parser": { - "version": "1.11.5", - "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.5.tgz", - "integrity": "sha512-1j1zTIC5EZOtCplMBG/IEwLtUojtwFVwdyVMbL/hwWqbzlQoJsWCOavrdnLkemwNoC/EOwtUFch3fuo+cbcXYQ==" + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.6.tgz", + "integrity": "sha512-ejAj9hfRJ2XMsNHk/v6Fu2dGS+i4UaXBXGemOfQ/JfQ6mdQg/WXtwleQRLLS4OvfDhv8rYnVwH27YJLMyYsxhw==" }, "node_modules/@webassemblyjs/helper-api-error": { - "version": "1.11.5", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.5.tgz", - "integrity": "sha512-L65bDPmfpY0+yFrsgz8b6LhXmbbs38OnwDCf6NpnMUYqa+ENfE5Dq9E42ny0qz/PdR0LJyq/T5YijPnU8AXEpA==" + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.6.tgz", + "integrity": "sha512-o0YkoP4pVu4rN8aTJgAyj9hC2Sv5UlkzCHhxqWj8butaLvnpdc2jOwh4ewE6CX0txSfLn/UYaV/pheS2Txg//Q==" }, "node_modules/@webassemblyjs/helper-buffer": { - "version": "1.11.5", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.5.tgz", - "integrity": "sha512-fDKo1gstwFFSfacIeH5KfwzjykIE6ldh1iH9Y/8YkAZrhmu4TctqYjSh7t0K2VyDSXOZJ1MLhht/k9IvYGcIxg==" + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.6.tgz", + "integrity": "sha512-z3nFzdcp1mb8nEOFFk8DrYLpHvhKC3grJD2ardfKOzmbmJvEf/tPIqCY+sNcwZIY8ZD7IkB2l7/pqhUhqm7hLA==" }, "node_modules/@webassemblyjs/helper-numbers": { - "version": "1.11.5", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.5.tgz", - "integrity": "sha512-DhykHXM0ZABqfIGYNv93A5KKDw/+ywBFnuWybZZWcuzWHfbp21wUfRkbtz7dMGwGgT4iXjWuhRMA2Mzod6W4WA==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.6.tgz", + "integrity": "sha512-vUIhZ8LZoIWHBohiEObxVm6hwP034jwmc9kuq5GdHZH0wiLVLIPcMCdpJzG4C11cHoQ25TFIQj9kaVADVX7N3g==", "dependencies": { - "@webassemblyjs/floating-point-hex-parser": "1.11.5", - "@webassemblyjs/helper-api-error": "1.11.5", + "@webassemblyjs/floating-point-hex-parser": "1.11.6", + "@webassemblyjs/helper-api-error": "1.11.6", "@xtuc/long": "4.2.2" } }, "node_modules/@webassemblyjs/helper-wasm-bytecode": { - "version": "1.11.5", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.5.tgz", - "integrity": "sha512-oC4Qa0bNcqnjAowFn7MPCETQgDYytpsfvz4ujZz63Zu/a/v71HeCAAmZsgZ3YVKec3zSPYytG3/PrRCqbtcAvA==" + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.6.tgz", + "integrity": "sha512-sFFHKwcmBprO9e7Icf0+gddyWYDViL8bpPjJJl0WHxCdETktXdmtWLGVzoHbqUcY4Be1LkNfwTmXOJUFZYSJdA==" }, "node_modules/@webassemblyjs/helper-wasm-section": { - "version": "1.11.5", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.5.tgz", - "integrity": "sha512-uEoThA1LN2NA+K3B9wDo3yKlBfVtC6rh0i4/6hvbz071E8gTNZD/pT0MsBf7MeD6KbApMSkaAK0XeKyOZC7CIA==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.6.tgz", + "integrity": "sha512-LPpZbSOwTpEC2cgn4hTydySy1Ke+XEu+ETXuoyvuyezHO3Kjdu90KK95Sh9xTbmjrCsUwvWwCOQQNta37VrS9g==", "dependencies": { - "@webassemblyjs/ast": "1.11.5", - "@webassemblyjs/helper-buffer": "1.11.5", - "@webassemblyjs/helper-wasm-bytecode": "1.11.5", - "@webassemblyjs/wasm-gen": "1.11.5" + "@webassemblyjs/ast": "1.11.6", + "@webassemblyjs/helper-buffer": "1.11.6", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6", + "@webassemblyjs/wasm-gen": "1.11.6" } }, "node_modules/@webassemblyjs/ieee754": { - "version": "1.11.5", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.5.tgz", - "integrity": "sha512-37aGq6qVL8A8oPbPrSGMBcp38YZFXcHfiROflJn9jxSdSMMM5dS5P/9e2/TpaJuhE+wFrbukN2WI6Hw9MH5acg==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.6.tgz", + "integrity": "sha512-LM4p2csPNvbij6U1f19v6WR56QZ8JcHg3QIJTlSwzFcmx6WSORicYj6I63f9yU1kEUtrpG+kjkiIAkevHpDXrg==", "dependencies": { "@xtuc/ieee754": "^1.2.0" } }, "node_modules/@webassemblyjs/leb128": { - "version": "1.11.5", - "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.5.tgz", - "integrity": "sha512-ajqrRSXaTJoPW+xmkfYN6l8VIeNnR4vBOTQO9HzR7IygoCcKWkICbKFbVTNMjMgMREqXEr0+2M6zukzM47ZUfQ==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.6.tgz", + "integrity": "sha512-m7a0FhE67DQXgouf1tbN5XQcdWoNgaAuoULHIfGFIEVKA6tu/edls6XnIlkmS6FrXAquJRPni3ZZKjw6FSPjPQ==", "dependencies": { "@xtuc/long": "4.2.2" } }, "node_modules/@webassemblyjs/utf8": { - "version": "1.11.5", - "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.5.tgz", - "integrity": "sha512-WiOhulHKTZU5UPlRl53gHR8OxdGsSOxqfpqWeA2FmcwBMaoEdz6b2x2si3IwC9/fSPLfe8pBMRTHVMk5nlwnFQ==" + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.6.tgz", + "integrity": "sha512-vtXf2wTQ3+up9Zsg8sa2yWiQpzSsMyXj0qViVP6xKGCUT8p8YJ6HqI7l5eCnWx1T/FYdsv07HQs2wTFbbof/RA==" }, "node_modules/@webassemblyjs/wasm-edit": { - "version": "1.11.5", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.5.tgz", - "integrity": "sha512-C0p9D2fAu3Twwqvygvf42iGCQ4av8MFBLiTb+08SZ4cEdwzWx9QeAHDo1E2k+9s/0w1DM40oflJOpkZ8jW4HCQ==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.6.tgz", + "integrity": "sha512-Ybn2I6fnfIGuCR+Faaz7YcvtBKxvoLV3Lebn1tM4o/IAJzmi9AWYIPWpyBfU8cC+JxAO57bk4+zdsTjJR+VTOw==", "dependencies": { - "@webassemblyjs/ast": "1.11.5", - "@webassemblyjs/helper-buffer": "1.11.5", - "@webassemblyjs/helper-wasm-bytecode": "1.11.5", - "@webassemblyjs/helper-wasm-section": "1.11.5", - "@webassemblyjs/wasm-gen": "1.11.5", - "@webassemblyjs/wasm-opt": "1.11.5", - "@webassemblyjs/wasm-parser": "1.11.5", - "@webassemblyjs/wast-printer": "1.11.5" + "@webassemblyjs/ast": "1.11.6", + "@webassemblyjs/helper-buffer": "1.11.6", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6", + "@webassemblyjs/helper-wasm-section": "1.11.6", + "@webassemblyjs/wasm-gen": "1.11.6", + "@webassemblyjs/wasm-opt": "1.11.6", + "@webassemblyjs/wasm-parser": "1.11.6", + "@webassemblyjs/wast-printer": "1.11.6" } }, "node_modules/@webassemblyjs/wasm-gen": { - "version": "1.11.5", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.5.tgz", - "integrity": "sha512-14vteRlRjxLK9eSyYFvw1K8Vv+iPdZU0Aebk3j6oB8TQiQYuO6hj9s4d7qf6f2HJr2khzvNldAFG13CgdkAIfA==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.6.tgz", + "integrity": "sha512-3XOqkZP/y6B4F0PBAXvI1/bky7GryoogUtfwExeP/v7Nzwo1QLcq5oQmpKlftZLbT+ERUOAZVQjuNVak6UXjPA==", "dependencies": { - "@webassemblyjs/ast": "1.11.5", - "@webassemblyjs/helper-wasm-bytecode": "1.11.5", - "@webassemblyjs/ieee754": "1.11.5", - "@webassemblyjs/leb128": "1.11.5", - "@webassemblyjs/utf8": "1.11.5" + "@webassemblyjs/ast": "1.11.6", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6", + "@webassemblyjs/ieee754": "1.11.6", + "@webassemblyjs/leb128": "1.11.6", + "@webassemblyjs/utf8": "1.11.6" } }, "node_modules/@webassemblyjs/wasm-opt": { - "version": "1.11.5", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.5.tgz", - "integrity": "sha512-tcKwlIXstBQgbKy1MlbDMlXaxpucn42eb17H29rawYLxm5+MsEmgPzeCP8B1Cl69hCice8LeKgZpRUAPtqYPgw==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.6.tgz", + "integrity": "sha512-cOrKuLRE7PCe6AsOVl7WasYf3wbSo4CeOk6PkrjS7g57MFfVUF9u6ysQBBODX0LdgSvQqRiGz3CXvIDKcPNy4g==", "dependencies": { - "@webassemblyjs/ast": "1.11.5", - "@webassemblyjs/helper-buffer": "1.11.5", - "@webassemblyjs/wasm-gen": "1.11.5", - "@webassemblyjs/wasm-parser": "1.11.5" + "@webassemblyjs/ast": "1.11.6", + "@webassemblyjs/helper-buffer": "1.11.6", + "@webassemblyjs/wasm-gen": "1.11.6", + "@webassemblyjs/wasm-parser": "1.11.6" } }, "node_modules/@webassemblyjs/wasm-parser": { - "version": "1.11.5", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.5.tgz", - "integrity": "sha512-SVXUIwsLQlc8srSD7jejsfTU83g7pIGr2YYNb9oHdtldSxaOhvA5xwvIiWIfcX8PlSakgqMXsLpLfbbJ4cBYew==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.6.tgz", + "integrity": "sha512-6ZwPeGzMJM3Dqp3hCsLgESxBGtT/OeCvCZ4TA1JUPYgmhAx38tTPR9JaKy0S5H3evQpO/h2uWs2j6Yc/fjkpTQ==", "dependencies": { - "@webassemblyjs/ast": "1.11.5", - "@webassemblyjs/helper-api-error": "1.11.5", - "@webassemblyjs/helper-wasm-bytecode": "1.11.5", - "@webassemblyjs/ieee754": "1.11.5", - "@webassemblyjs/leb128": "1.11.5", - "@webassemblyjs/utf8": "1.11.5" + "@webassemblyjs/ast": "1.11.6", + "@webassemblyjs/helper-api-error": "1.11.6", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6", + "@webassemblyjs/ieee754": "1.11.6", + "@webassemblyjs/leb128": "1.11.6", + "@webassemblyjs/utf8": "1.11.6" } }, "node_modules/@webassemblyjs/wast-printer": { - "version": "1.11.5", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.11.5.tgz", - "integrity": "sha512-f7Pq3wvg3GSPUPzR0F6bmI89Hdb+u9WXrSKc4v+N0aV0q6r42WoF92Jp2jEorBEBRoRNXgjp53nBniDXcqZYPA==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.11.6.tgz", + "integrity": "sha512-JM7AhRcE+yW2GWYaKeHL5vt4xqee5N2WcezptmgyhNS+ScggqcT1OtXykhAb13Sn5Yas0j2uv9tHgrjwvzAP4A==", "dependencies": { - "@webassemblyjs/ast": "1.11.5", + "@webassemblyjs/ast": "1.11.6", "@xtuc/long": "4.2.2" } }, @@ -1562,9 +1567,9 @@ } }, "node_modules/@wixc3/resolve-directory-context/node_modules/minimatch": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.0.tgz", - "integrity": "sha512-0jJj8AvgKqWN05mrwuqi8QYKx1WmYSUoKSxu5Qhs9prezTz10sxAHGNZe9J9cqIJzta8DWsleh2KaVaLl6Ru2w==", + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.2.tgz", + "integrity": "sha512-PZOT9g5v2ojiTL7r1xF6plNHLtOeTpSlDI007As2NlA2aYBMfVom17yqa6QzhmDP8QOhn7LjHTg7DFCVSSa6yg==", "dependencies": { "brace-expansion": "^2.0.1" }, @@ -1576,9 +1581,9 @@ } }, "node_modules/@wixc3/resolve-directory-context/node_modules/type-fest": { - "version": "3.8.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-3.8.0.tgz", - "integrity": "sha512-FVNSzGQz9Th+/9R6Lvv7WIAkstylfHN2/JYxkyhhmKFYh9At2DST8t6L6Lref9eYO8PXFTfG9Sg1Agg0K3vq3Q==", + "version": "3.12.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-3.12.0.tgz", + "integrity": "sha512-qj9wWsnFvVEMUDbESiilKeXeHL7FwwiFcogfhfyjmvT968RXSvnl23f1JOClTHYItsi7o501C/7qVllscUP3oA==", "engines": { "node": ">=14.16" }, @@ -1608,9 +1613,9 @@ "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==" }, "node_modules/acorn": { - "version": "8.9.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.9.0.tgz", - "integrity": "sha512-jaVNAFBHNLXspO543WnNNPZFRtavh3skAkITqD0/2aeMkKZTN+254PyhwxFYrk3vQ1xfY+2wbesJMs/JC8/PwQ==", + "version": "8.10.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.10.0.tgz", + "integrity": "sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==", "bin": { "acorn": "bin/acorn" }, @@ -1667,9 +1672,9 @@ } }, "node_modules/ajv-formats/node_modules/ajv": { - "version": "8.11.2", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.11.2.tgz", - "integrity": "sha512-E4bfmKAhGiSTvMfL1Myyycaub+cUEU2/IvpylXkUu7CHBkBj1f/ikdzbD7YQ6FKUbixDxeYvB/xY4fvyroDlQg==", + "version": "8.12.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", + "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", "dev": true, "dependencies": { "fast-deep-equal": "^3.1.1", @@ -1745,6 +1750,19 @@ "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" }, + "node_modules/array-buffer-byte-length": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz", + "integrity": "sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "is-array-buffer": "^3.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/array-includes": { "version": "3.1.6", "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.6.tgz", @@ -1772,6 +1790,24 @@ "node": ">=8" } }, + "node_modules/array.prototype.flat": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.1.tgz", + "integrity": "sha512-roTU0KWIOmJ4DRLmwKd19Otg0/mT3qPNt0Qb3GWW8iObuZXxrjB/pzn0R3hqpRSWg4HCwqx+0vwOnWnvlOyeIA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4", + "es-shim-unscopables": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/array.prototype.flatmap": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.1.tgz", @@ -1844,6 +1880,18 @@ "postcss": "^8.1.0" } }, + "node_modules/available-typed-arrays": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", + "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", @@ -1900,9 +1948,9 @@ "dev": true }, "node_modules/browserslist": { - "version": "4.21.5", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.5.tgz", - "integrity": "sha512-tUkiguQGW7S3IhB7N+c2MV/HZPSCPAAiYBZXLsBhFB/PCy6ZKKsZrmBayHV9fdGV/ARIfJ14NkxKzRDjvp7L6w==", + "version": "4.21.9", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.9.tgz", + "integrity": "sha512-M0MFoZzbUrRU4KNfCrDLnvyE7gub+peetoTid3TBIqtunaDJyXlwhakT+/VkvSXcfIzFfK/nkCs4nmyTmxdNSg==", "funding": [ { "type": "opencollective", @@ -1911,13 +1959,17 @@ { "type": "tidelift", "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" } ], "dependencies": { - "caniuse-lite": "^1.0.30001449", - "electron-to-chromium": "^1.4.284", - "node-releases": "^2.0.8", - "update-browserslist-db": "^1.0.10" + "caniuse-lite": "^1.0.30001503", + "electron-to-chromium": "^1.4.431", + "node-releases": "^2.0.12", + "update-browserslist-db": "^1.0.11" }, "bin": { "browserslist": "cli.js" @@ -2060,6 +2112,18 @@ "tslib": "^2.0.3" } }, + "node_modules/camelcase": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", + "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/camelcase-css": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz", @@ -2069,9 +2133,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001466", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001466.tgz", - "integrity": "sha512-ewtFBSfWjEmxUgNBSZItFSmVtvk9zkwkl1OfRZlKA8slltRN+/C/tuGVrF9styXkN36Yu3+SeJ1qkXxDEyNZ5w==", + "version": "1.0.30001512", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001512.tgz", + "integrity": "sha512-2S9nK0G/mE+jasCUsMPlARhRCts1ebcp2Ji8Y8PWi4NDE1iRdLCnEPHkEfeBrGC45L4isBx5ur3IQ6yTE2mRZw==", "funding": [ { "type": "opencollective", @@ -2080,6 +2144,10 @@ { "type": "tidelift", "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" } ] }, @@ -2180,9 +2248,9 @@ } }, "node_modules/clean-css": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.3.1.tgz", - "integrity": "sha512-lCr8OHhiWCTw4v8POJovCoh4T7I9U11yVsPjMWWnnMmp9ZowCxyad1Pathle/9HjaDp+fdQKjO9fQydE6RHTZg==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.3.2.tgz", + "integrity": "sha512-JVJbM+f3d3Q704rF4bqQ5UUyTtuJ0JRKNbTKVEeujCCBoMdkEi+V+e8oktO9qGQNSvHrFTM6JZRXrUvGR1czww==", "dev": true, "dependencies": { "source-map": "~0.6.0" @@ -2383,9 +2451,9 @@ } }, "node_modules/csstype": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.1.tgz", - "integrity": "sha512-DJR/VvkAvSZW9bTouZue2sSxDwdTN92uHjqeKVm+0dAqdfNykRzQ95tay8aXMBAAPpUiq4Qcug2L7neoRh2Egw==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.2.tgz", + "integrity": "sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==", "dev": true }, "node_modules/debug": { @@ -2441,18 +2509,18 @@ "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==" }, "node_modules/deepmerge": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", - "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz", + "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==", "dev": true, "engines": { "node": ">=0.10.0" } }, "node_modules/define-properties": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.4.tgz", - "integrity": "sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.0.tgz", + "integrity": "sha512-xvqAVKGfT1+UAvPwKTVw/njhdQ8ZhXK4lI0bCIuCMrp2up9nPnaDftrLtmpTazqd1o+UY4zgzU+avtMbDP+ldA==", "dev": true, "dependencies": { "has-property-descriptors": "^1.0.0", @@ -2527,15 +2595,6 @@ "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" } }, - "node_modules/dom-serializer/node_modules/entities": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-2.2.0.tgz", - "integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==", - "dev": true, - "funding": { - "url": "https://github.com/fb55/entities?sponsor=1" - } - }, "node_modules/domelementtype": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz", @@ -2634,9 +2693,9 @@ "integrity": "sha512-ncTzHV7NvsQZkYe1DW7cbDLm0YpzHmZF5r/iyP3ZnQtMiJ+pjzisCiMNI+Sj+xQF5pXhSHxSB3uDbsBTzY/c2A==" }, "node_modules/electron-to-chromium": { - "version": "1.4.284", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.284.tgz", - "integrity": "sha512-M8WEXFuKXMYMVr45fo8mq0wUrrJHheiKZf6BArTKk9ZBYCKJEOU5H8cdWgDT+qCVZf7Na4lVUaZsA+h6uA9+PA==" + "version": "1.4.450", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.450.tgz", + "integrity": "sha512-BLG5HxSELlrMx7dJ2s+8SFlsCtJp37Zpk2VAxyC6CZtbc+9AJeZHfYHbrlSgdXp6saQ8StMqOTEDaBKgA7u1sw==" }, "node_modules/emoji-regex": { "version": "8.0.0", @@ -2664,6 +2723,15 @@ "node": ">=10.13.0" } }, + "node_modules/entities": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-2.2.0.tgz", + "integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==", + "dev": true, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, "node_modules/error-ex": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", @@ -2674,36 +2742,45 @@ } }, "node_modules/es-abstract": { - "version": "1.20.5", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.20.5.tgz", - "integrity": "sha512-7h8MM2EQhsCA7pU/Nv78qOXFpD8Rhqd12gYiSJVkrH9+e8VuA8JlPJK/hQjjlLv6pJvx/z1iRFKzYb0XT/RuAQ==", + "version": "1.21.2", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.21.2.tgz", + "integrity": "sha512-y/B5POM2iBnIxCiernH1G7rC9qQoM77lLIMQLuob0zhp8C56Po81+2Nj0WFKnd0pNReDTnkYryc+zhOzpEIROg==", "dev": true, "dependencies": { + "array-buffer-byte-length": "^1.0.0", + "available-typed-arrays": "^1.0.5", "call-bind": "^1.0.2", + "es-set-tostringtag": "^2.0.1", "es-to-primitive": "^1.2.1", - "function-bind": "^1.1.1", "function.prototype.name": "^1.1.5", - "get-intrinsic": "^1.1.3", + "get-intrinsic": "^1.2.0", "get-symbol-description": "^1.0.0", + "globalthis": "^1.0.3", "gopd": "^1.0.1", "has": "^1.0.3", "has-property-descriptors": "^1.0.0", + "has-proto": "^1.0.1", "has-symbols": "^1.0.3", - "internal-slot": "^1.0.3", + "internal-slot": "^1.0.5", + "is-array-buffer": "^3.0.2", "is-callable": "^1.2.7", "is-negative-zero": "^2.0.2", "is-regex": "^1.1.4", "is-shared-array-buffer": "^1.0.2", "is-string": "^1.0.7", + "is-typed-array": "^1.1.10", "is-weakref": "^1.0.2", - "object-inspect": "^1.12.2", + "object-inspect": "^1.12.3", "object-keys": "^1.1.1", "object.assign": "^4.1.4", "regexp.prototype.flags": "^1.4.3", "safe-regex-test": "^1.0.0", + "string.prototype.trim": "^1.2.7", "string.prototype.trimend": "^1.0.6", "string.prototype.trimstart": "^1.0.6", - "unbox-primitive": "^1.0.2" + "typed-array-length": "^1.0.4", + "unbox-primitive": "^1.0.2", + "which-typed-array": "^1.1.9" }, "engines": { "node": ">= 0.4" @@ -2713,9 +2790,23 @@ } }, "node_modules/es-module-lexer": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.2.1.tgz", - "integrity": "sha512-9978wrXM50Y4rTMmW5kXIC09ZdXQZqkE4mxhwkd8VbzsGkXGPgV4zWuqQJgCEzYngdo2dYDa0l8xhX4fkSwJSg==" + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.3.0.tgz", + "integrity": "sha512-vZK7T0N2CBmBOixhmjdqx2gWVbFZ4DXZ/NyRMZVlJXPa7CyFS+/a4QQsDGDQy9ZfEzxFuNEsMLeQJnKP2p5/JA==" + }, + "node_modules/es-set-tostringtag": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.1.tgz", + "integrity": "sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg==", + "dev": true, + "dependencies": { + "get-intrinsic": "^1.1.3", + "has": "^1.0.3", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } }, "node_modules/es-shim-unscopables": { "version": "1.0.0", @@ -2744,9 +2835,9 @@ } }, "node_modules/esbuild": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.17.18.tgz", - "integrity": "sha512-z1lix43jBs6UKjcZVKOw2xx69ffE2aG0PygLL5qJ9OS/gy0Ewd1gW/PUQIOIQGXBHWNywSc0floSKoMFF8aK2w==", + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.18.11.tgz", + "integrity": "sha512-i8u6mQF0JKJUlGR3OdFLKldJQMMs8OqM9Cc3UCi9XXziJ9WERM5bfkHaEAy0YAvPRMgqSW55W7xYn84XtEFTtA==", "hasInstallScript": true, "peer": true, "bin": { @@ -2756,28 +2847,28 @@ "node": ">=12" }, "optionalDependencies": { - "@esbuild/android-arm": "0.17.18", - "@esbuild/android-arm64": "0.17.18", - "@esbuild/android-x64": "0.17.18", - "@esbuild/darwin-arm64": "0.17.18", - "@esbuild/darwin-x64": "0.17.18", - "@esbuild/freebsd-arm64": "0.17.18", - "@esbuild/freebsd-x64": "0.17.18", - "@esbuild/linux-arm": "0.17.18", - "@esbuild/linux-arm64": "0.17.18", - "@esbuild/linux-ia32": "0.17.18", - "@esbuild/linux-loong64": "0.17.18", - "@esbuild/linux-mips64el": "0.17.18", - "@esbuild/linux-ppc64": "0.17.18", - "@esbuild/linux-riscv64": "0.17.18", - "@esbuild/linux-s390x": "0.17.18", - "@esbuild/linux-x64": "0.17.18", - "@esbuild/netbsd-x64": "0.17.18", - "@esbuild/openbsd-x64": "0.17.18", - "@esbuild/sunos-x64": "0.17.18", - "@esbuild/win32-arm64": "0.17.18", - "@esbuild/win32-ia32": "0.17.18", - "@esbuild/win32-x64": "0.17.18" + "@esbuild/android-arm": "0.18.11", + "@esbuild/android-arm64": "0.18.11", + "@esbuild/android-x64": "0.18.11", + "@esbuild/darwin-arm64": "0.18.11", + "@esbuild/darwin-x64": "0.18.11", + "@esbuild/freebsd-arm64": "0.18.11", + "@esbuild/freebsd-x64": "0.18.11", + "@esbuild/linux-arm": "0.18.11", + "@esbuild/linux-arm64": "0.18.11", + "@esbuild/linux-ia32": "0.18.11", + "@esbuild/linux-loong64": "0.18.11", + "@esbuild/linux-mips64el": "0.18.11", + "@esbuild/linux-ppc64": "0.18.11", + "@esbuild/linux-riscv64": "0.18.11", + "@esbuild/linux-s390x": "0.18.11", + "@esbuild/linux-x64": "0.18.11", + "@esbuild/netbsd-x64": "0.18.11", + "@esbuild/openbsd-x64": "0.18.11", + "@esbuild/sunos-x64": "0.18.11", + "@esbuild/win32-arm64": "0.18.11", + "@esbuild/win32-ia32": "0.18.11", + "@esbuild/win32-x64": "0.18.11" } }, "node_modules/escalade": { @@ -3012,9 +3103,9 @@ } }, "node_modules/esquery": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.2.tgz", - "integrity": "sha512-JVSoLdTlTDkmjFmab7H/9SL9qGSyjElT3myyKp7krqjVFQCDLmj1QFaCLRFBszBKI0XVZaiiXvuPIX3ZwHe1Ng==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz", + "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", "dependencies": { "estraverse": "^5.1.0" }, @@ -3069,9 +3160,9 @@ "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" }, "node_modules/fast-glob": { - "version": "3.2.12", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz", - "integrity": "sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.0.tgz", + "integrity": "sha512-ChDuvbOypPuNjO8yIDf36x7BlZX1smcUMTTcyoIjycexOxd6DFsKsg21qVBzEmr3G7fUKIRy2/psii+CIUt7FA==", "dependencies": { "@nodelib/fs.stat": "^2.0.2", "@nodelib/fs.walk": "^1.2.3", @@ -3110,9 +3201,9 @@ "integrity": "sha512-483XLLxTVIwWK3QTrMGRqUfUpoOs/0hbQrl2oz4J0pAcm3A3bu84wxTFqGqkJzewCLdME38xJLJAxBABfQT8sQ==" }, "node_modules/fastq": { - "version": "1.14.0", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.14.0.tgz", - "integrity": "sha512-eR2D+V9/ExcbF9ls441yIuN6TI2ED1Y2ZcA5BmMtJsOkWOFRJQ0Jt0g1UwqXJJVAb+V+umH5Dfr8oh4EVP7VVg==", + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz", + "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==", "dependencies": { "reusify": "^1.0.4" } @@ -3224,6 +3315,15 @@ "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.7.tgz", "integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==" }, + "node_modules/for-each": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", + "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", + "dev": true, + "dependencies": { + "is-callable": "^1.1.3" + } + }, "node_modules/foreground-child": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-2.0.0.tgz", @@ -3318,13 +3418,14 @@ } }, "node_modules/get-intrinsic": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.3.tgz", - "integrity": "sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.1.tgz", + "integrity": "sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw==", "dev": true, "dependencies": { "function-bind": "^1.1.1", "has": "^1.0.3", + "has-proto": "^1.0.1", "has-symbols": "^1.0.3" }, "funding": { @@ -3396,6 +3497,21 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/globalthis": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz", + "integrity": "sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==", + "dev": true, + "dependencies": { + "define-properties": "^1.1.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/globby": { "version": "11.1.0", "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", @@ -3428,9 +3544,9 @@ } }, "node_modules/graceful-fs": { - "version": "4.2.10", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", - "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==" + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==" }, "node_modules/graphemer": { "version": "1.4.0", @@ -3478,6 +3594,18 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/has-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz", + "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/has-symbols": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", @@ -3589,13 +3717,16 @@ "entities": "^2.0.0" } }, - "node_modules/htmlparser2/node_modules/entities": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-2.2.0.tgz", - "integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==", + "node_modules/iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", "dev": true, - "funding": { - "url": "https://github.com/fb55/entities?sponsor=1" + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" } }, "node_modules/icss-utils": { @@ -3610,9 +3741,9 @@ } }, "node_modules/ignore": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.1.tgz", - "integrity": "sha512-d2qQLzTJ9WxQftPAuEQpSPmKqzxePjzVbpAVv62AQ64NTL+wR4JkrVqR/LqFsFEUsHDAiId52mJteHDFuDkElA==", + "version": "5.2.4", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", + "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", "engines": { "node": ">= 4" } @@ -3660,12 +3791,12 @@ "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==" }, "node_modules/internal-slot": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.4.tgz", - "integrity": "sha512-tA8URYccNzMo94s5MQZgH8NB/XTa6HsOo0MLfXTKKEnHVVdegzaQoFZ7Jp44bdvLvY2waT5dc+j5ICEswhi7UQ==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.5.tgz", + "integrity": "sha512-Y+R5hJrzs52QCG2laLn4udYVnxsfny9CpOhNhUvk/SSSVyF6T27FzRbF0sroPidSu3X8oEAkOn2K804mjpt6UQ==", "dev": true, "dependencies": { - "get-intrinsic": "^1.1.3", + "get-intrinsic": "^1.2.0", "has": "^1.0.3", "side-channel": "^1.0.4" }, @@ -3673,6 +3804,20 @@ "node": ">= 0.4" } }, + "node_modules/is-array-buffer": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.2.tgz", + "integrity": "sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.2.0", + "is-typed-array": "^1.1.10" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/is-arrayish": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", @@ -3747,9 +3892,9 @@ } }, "node_modules/is-core-module": { - "version": "2.11.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.11.0.tgz", - "integrity": "sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==", + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.12.1.tgz", + "integrity": "sha512-Q4ZuBAe2FUsKtyQJoQHlvP8OvBERxO3jEmy1I7hcRXcJBGGHFh/aJBswbXuS9sgrDH2QUO8ilkwNPHvHMd8clg==", "dev": true, "dependencies": { "has": "^1.0.3" @@ -3916,6 +4061,25 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/is-typed-array": { + "version": "1.1.10", + "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.10.tgz", + "integrity": "sha512-PJqgEHiWZvMpaFZ3uTc8kHPM4+4ADTlDniuQL7cU/UDA0Ql7F70yGfHph3cLNe+c9toaigv+DFzTJKhc2CtO6A==", + "dev": true, + "dependencies": { + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/is-unicode-supported": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", @@ -4139,9 +4303,9 @@ "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==" }, "node_modules/json5": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.2.tgz", - "integrity": "sha512-46Tk9JiOL2z7ytNQWFLpj99RZkVgeHf87yGQKsIkaPz1qSH9UczKH1rO7K3wgRselo0tYMUNfecYpm/p1vC7tQ==", + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", "dev": true, "bin": { "json5": "lib/cli.js" @@ -4151,13 +4315,15 @@ } }, "node_modules/jsx-ast-utils": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.3.3.tgz", - "integrity": "sha512-fYQHZTZ8jSfmWZ0iyzfwiU4WDX4HpHbMCZ3gPlWYiCl3BoeOTsqKBqnTVfH2rYT7eP5c3sVbeSPHnnJOaTrWiw==", + "version": "3.3.4", + "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.3.4.tgz", + "integrity": "sha512-fX2TVdCViod6HwKEtSWGHs57oFhVfCMwieb9PuRDgjDPh5XeqJiHFFFJCHxU5cnTc3Bu/GRL+kPiFmw8XWOfKw==", "dev": true, "dependencies": { - "array-includes": "^3.1.5", - "object.assign": "^4.1.3" + "array-includes": "^3.1.6", + "array.prototype.flat": "^1.3.1", + "object.assign": "^4.1.4", + "object.values": "^1.1.6" }, "engines": { "node": ">=4.0" @@ -4415,9 +4581,9 @@ } }, "node_modules/mini-css-extract-plugin/node_modules/ajv": { - "version": "8.11.2", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.11.2.tgz", - "integrity": "sha512-E4bfmKAhGiSTvMfL1Myyycaub+cUEU2/IvpylXkUu7CHBkBj1f/ikdzbD7YQ6FKUbixDxeYvB/xY4fvyroDlQg==", + "version": "8.12.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", + "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", "dev": true, "dependencies": { "fast-deep-equal": "^3.1.1", @@ -4449,15 +4615,15 @@ "dev": true }, "node_modules/mini-css-extract-plugin/node_modules/schema-utils": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.0.0.tgz", - "integrity": "sha512-1edyXKgh6XnJsJSQ8mKWXnN/BVaIbFMLpouRUrXgVq7WYne5kw3MW7UPhO44uRXQSIpTSXoJbmrR2X0w9kUTyg==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.2.0.tgz", + "integrity": "sha512-L0jRsrPpjdckP3oPug3/VxNKt2trR8TcabrM6FOAAlvC/9Phcmm+cuAgTlxBqdBR1WJx7Naj9WHw+aOmheSVbw==", "dev": true, "dependencies": { "@types/json-schema": "^7.0.9", - "ajv": "^8.8.0", + "ajv": "^8.9.0", "ajv-formats": "^2.1.1", - "ajv-keywords": "^5.0.0" + "ajv-keywords": "^5.1.0" }, "engines": { "node": ">= 12.13.0" @@ -4676,9 +4842,9 @@ } }, "node_modules/node-releases": { - "version": "2.0.10", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.10.tgz", - "integrity": "sha512-5GFldHPXVG/YZmFzJvKK2zDSzPKhEp0+ZR5SVaoSag9fsL5YgHbUHDfnG5494ISANDcK4KwPXAx2xqVEydmd7w==" + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.12.tgz", + "integrity": "sha512-QzsYKWhXTWx8h1kIvqfnC++o0pEmpRQA/aenALsL2F4pqNVr7YzcdMlDij5WBnwftRbJCNJL/O7zdKaxKPHqgQ==" }, "node_modules/nopt": { "version": "6.0.0", @@ -4918,9 +5084,9 @@ } }, "node_modules/object-inspect": { - "version": "1.12.2", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.2.tgz", - "integrity": "sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ==", + "version": "1.12.3", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz", + "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==", "dev": true, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -5149,11 +5315,11 @@ "dev": true }, "node_modules/path-scurry": { - "version": "1.9.2", - "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.9.2.tgz", - "integrity": "sha512-qSDLy2aGFPm8i4rsbHd4MNyTcrzHFsLQykrtbuGRknZZCBBVXSv2tSCDN2Cg6Rt/GFRw8GoW9y9Ecw5rIPG1sg==", + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.10.0.tgz", + "integrity": "sha512-tZFEaRQbMLjwrsmidsGJ6wDMv0iazJWk6SfIKnY4Xru8auXgmJkOBa5DUbYFcFD2Rzk2+KDlIiF0GVXNCbgC7g==", "dependencies": { - "lru-cache": "^9.1.1", + "lru-cache": "^9.1.1 || ^10.0.0", "minipass": "^5.0.0 || ^6.0.2" }, "engines": { @@ -5164,9 +5330,9 @@ } }, "node_modules/path-scurry/node_modules/lru-cache": { - "version": "9.1.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-9.1.1.tgz", - "integrity": "sha512-65/Jky17UwSb0BuB9V+MyDpsOtXKmYwzhyl+cOa9XUiI4uV2Ouy/2voFP3+al0BjZbJgMBD8FojMpAf+Z+qn4A==", + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.0.0.tgz", + "integrity": "sha512-svTf/fzsKHffP42sujkO/Rjs37BCIsQVRCeNYIm9WN8rgT7ffoUnRtZCqU+6BqcSBdv8gwJeTz8knJpgACeQMw==", "engines": { "node": "14 || >=16.14" } @@ -5385,9 +5551,9 @@ } }, "node_modules/postcss-selector-parser": { - "version": "6.0.11", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.11.tgz", - "integrity": "sha512-zbARubNdogI9j7WY4nQJBiNqQf3sLS3wCP4WfOidu+p28LofJqDH1tcXypGrcmMHhDk2t9wGhCsYe/+szLTy1g==", + "version": "6.0.13", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.13.tgz", + "integrity": "sha512-EaV1Gl4mUEV4ddhDnv/xtj7sxwrwxdetHdWUGnT4VJQf+4d05v6lHYZr8N573k5Z0BViss7BDhfWtKS3+sfAqQ==", "dependencies": { "cssesc": "^3.0.0", "util-deprecate": "^1.0.2" @@ -5466,6 +5632,14 @@ "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", "integrity": "sha512-b/YwNhb8lk1Zz2+bXXpS/LK9OisiZZ1SNsSLxN1x2OXVEhW2Ckr/7mWE5vrC1ZTiJlD9g19jWszTmJsB+oEpFQ==" }, + "node_modules/punycode": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", + "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==", + "engines": { + "node": ">=6" + } + }, "node_modules/queue-microtask": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", @@ -5583,14 +5757,14 @@ } }, "node_modules/regexp.prototype.flags": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.4.3.tgz", - "integrity": "sha512-fjggEOO3slI6Wvgjwflkc4NFRCTZAu5CnNfBd5qOMYhWdn67nJBBu34/TkD++eeFmd8C9r9jfXJ27+nSiRkSUA==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.0.tgz", + "integrity": "sha512-0SutC3pNudRKgquxGoRGIz946MZVHqbNfPjBdxeOhBrdgDKlRoXmYLQN9xRbrR09ZXWeGAdPuif7egofn6v5LA==", "dev": true, "dependencies": { "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "functions-have-names": "^1.2.2" + "define-properties": "^1.2.0", + "functions-have-names": "^1.2.3" }, "engines": { "node": ">= 0.4" @@ -5639,12 +5813,12 @@ } }, "node_modules/resolve": { - "version": "1.22.1", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz", - "integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==", + "version": "1.22.2", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.2.tgz", + "integrity": "sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g==", "dev": true, "dependencies": { - "is-core-module": "^2.9.0", + "is-core-module": "^2.11.0", "path-parse": "^1.0.7", "supports-preserve-symlinks-flag": "^1.0.0" }, @@ -5713,15 +5887,15 @@ } }, "node_modules/rimraf/node_modules/glob": { - "version": "10.2.6", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.2.6.tgz", - "integrity": "sha512-U/rnDpXJGF414QQQZv5uVsabTVxMSwzS5CH0p3DRCIV6ownl4f7PzGnkGmvlum2wB+9RlJWJZ6ACU1INnBqiPA==", + "version": "10.3.1", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.1.tgz", + "integrity": "sha512-9BKYcEeIs7QwlCYs+Y3GBvqAMISufUS0i2ELd11zpZjxI5V9iyRj0HgzB5/cLf2NY4vcYBTYzJ7GIui7j/4DOw==", "dependencies": { "foreground-child": "^3.1.0", "jackspeak": "^2.0.3", "minimatch": "^9.0.1", "minipass": "^5.0.0 || ^6.0.2", - "path-scurry": "^1.7.0" + "path-scurry": "^1.10.0" }, "bin": { "glob": "dist/cjs/src/bin.js" @@ -5734,9 +5908,9 @@ } }, "node_modules/rimraf/node_modules/minimatch": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.1.tgz", - "integrity": "sha512-0jWhJpD/MdhPXwPuiRkCbfYfSKp2qnn2eOc279qI7f+osl/l+prKSrvhg157zSYvx/1nmgn2NqdT6k2Z7zSH9w==", + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.2.tgz", + "integrity": "sha512-PZOT9g5v2ojiTL7r1xF6plNHLtOeTpSlDI007As2NlA2aYBMfVom17yqa6QzhmDP8QOhn7LjHTg7DFCVSSa6yg==", "dependencies": { "brace-expansion": "^2.0.1" }, @@ -5759,9 +5933,9 @@ } }, "node_modules/rollup": { - "version": "3.26.0", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.26.0.tgz", - "integrity": "sha512-YzJH0eunH2hr3knvF3i6IkLO/jTjAEwU4HoMUbQl4//Tnl3ou0e7P5SjxdDr8HQJdeUJShlbEHXrrnEHy1l7Yg==", + "version": "3.26.1", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.26.1.tgz", + "integrity": "sha512-I5gJCSpSMr3U9wv4D5YA8g7w7cj3eaSDeo7t+JcaFQOmoOUBgu4K9iMp8k3EZnwbJrjQxUMSKxMyB8qEQzzaSg==", "bin": { "rollup": "dist/bin/rollup" }, @@ -5861,9 +6035,9 @@ } }, "node_modules/semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "version": "7.5.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz", + "integrity": "sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==", "dependencies": { "lru-cache": "^6.0.0" }, @@ -5903,9 +6077,9 @@ } }, "node_modules/shell-quote": { - "version": "1.7.4", - "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.7.4.tgz", - "integrity": "sha512-8o/QEhSSRb1a5i7TFR0iM4G16Z0vYB2OQVs4G3aAFXjn3T6yEx8AZxy1PgDF7I00LZHYA3WxaSYIf5e5sAX8Rw==", + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.8.1.tgz", + "integrity": "sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA==", "dev": true, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -5982,18 +6156,6 @@ "webpack": "^5.72.1" } }, - "node_modules/source-map-loader/node_modules/iconv-lite": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", - "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", - "dev": true, - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/source-map-support": { "version": "0.5.21", "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", @@ -6012,9 +6174,9 @@ } }, "node_modules/spdx-correct": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz", - "integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.2.0.tgz", + "integrity": "sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==", "dev": true, "dependencies": { "spdx-expression-parse": "^3.0.0", @@ -6038,9 +6200,9 @@ } }, "node_modules/spdx-license-ids": { - "version": "3.0.12", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.12.tgz", - "integrity": "sha512-rr+VVSXtRhO4OHbXUiAF7xW3Bo9DuuF6C5jH+q/x15j2jniycgKbxU09Hr0WqlSLUs4i4ltHGXqTe7VHclYWyA==", + "version": "3.0.13", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.13.tgz", + "integrity": "sha512-XkD+zwiqXHikFZm4AX/7JSCXA98U5Db4AFd5XUg/+9UNtnH75+Z9KxtpYiJZx36mUDVOwH83pl7yvCer6ewM3w==", "dev": true }, "node_modules/string-width": { @@ -6106,6 +6268,23 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/string.prototype.trim": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.7.tgz", + "integrity": "sha512-p6TmeT1T3411M8Cgg9wBTMRtY2q9+PNy9EV1i2lIXUN/btt763oIfxwN3RR8VU6wHX8j/1CFy0L+YuThm6bgOg==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/string.prototype.trimend": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.6.tgz", @@ -6225,12 +6404,12 @@ } }, "node_modules/terser": { - "version": "5.17.1", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.17.1.tgz", - "integrity": "sha512-hVl35zClmpisy6oaoKALOpS0rDYLxRFLHhRuDlEGTKey9qHjS1w9GMORjuwIMt70Wan4lwsLYyWDVnWgF+KUEw==", + "version": "5.18.2", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.18.2.tgz", + "integrity": "sha512-Ah19JS86ypbJzTzvUCX7KOsEIhDaRONungA4aYBjEP3JZRf4ocuDzTg4QWZnPn9DEMiMYGJPiSOy7aykoCc70w==", "dependencies": { - "@jridgewell/source-map": "^0.3.2", - "acorn": "^8.5.0", + "@jridgewell/source-map": "^0.3.3", + "acorn": "^8.8.2", "commander": "^2.20.0", "source-map-support": "~0.5.20" }, @@ -6242,15 +6421,15 @@ } }, "node_modules/terser-webpack-plugin": { - "version": "5.3.7", - "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.7.tgz", - "integrity": "sha512-AfKwIktyP7Cu50xNjXF/6Qb5lBNzYaWpU6YfoX3uZicTx0zTy0stDDCsvjDapKsSDvOeWo5MEq4TmdBy2cNoHw==", + "version": "5.3.9", + "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.9.tgz", + "integrity": "sha512-ZuXsqE07EcggTWQjXUj+Aot/OMcD0bMKGgF63f7UxYcu5/AJF53aIpK1YoP5xR9l6s/Hy2b+t1AM0bLNPRuhwA==", "dependencies": { "@jridgewell/trace-mapping": "^0.3.17", "jest-worker": "^27.4.5", "schema-utils": "^3.1.1", "serialize-javascript": "^6.0.1", - "terser": "^5.16.5" + "terser": "^5.16.8" }, "engines": { "node": ">= 10.13.0" @@ -6324,9 +6503,9 @@ "dev": true }, "node_modules/tsconfig-paths": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-4.1.2.tgz", - "integrity": "sha512-uhxiMgnXQp1IR622dUXI+9Ehnws7i/y6xvpZB9IbUVOPy0muvdvgXeZOn88UcGPiT98Vp3rJPTa8bFoalZ3Qhw==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-4.2.0.tgz", + "integrity": "sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg==", "dev": true, "dependencies": { "json5": "^2.2.2", @@ -6352,9 +6531,9 @@ } }, "node_modules/tslib": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.1.tgz", - "integrity": "sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA==", + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.0.tgz", + "integrity": "sha512-7At1WUettjcSRHXCyYtTselblcHl9PJFFVKiCAy/bY97+BPZXSQ2wbq0P9s8tK2G7dFQfNnlJnPAiArVBVBsfA==", "dev": true }, "node_modules/tsutils": { @@ -6406,6 +6585,20 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/typed-array-length": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.4.tgz", + "integrity": "sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "is-typed-array": "^1.1.9" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/typescript": { "version": "5.1.6", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.6.tgz", @@ -6434,9 +6627,9 @@ } }, "node_modules/update-browserslist-db": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.10.tgz", - "integrity": "sha512-OztqDenkfFkbSG+tRxBeAnCVPckDBcvibKd35yDONx6OU8N7sqgwc7rCbkJ/WcYtVRZ4ba68d6byhC21GFh7sQ==", + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.11.tgz", + "integrity": "sha512-dCwEFf0/oT85M1fHBg4F0jtLwJrutGoHSQXCh7u4o2t1drG+c0a9Flnqww6XUKSfQMPpJBRjU8d4RXB09qtvaA==", "funding": [ { "type": "opencollective", @@ -6445,6 +6638,10 @@ { "type": "tidelift", "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" } ], "dependencies": { @@ -6452,7 +6649,7 @@ "picocolors": "^1.0.0" }, "bin": { - "browserslist-lint": "cli.js" + "update-browserslist-db": "cli.js" }, "peerDependencies": { "browserslist": ">= 4.21.0" @@ -6466,14 +6663,6 @@ "punycode": "^2.1.0" } }, - "node_modules/uri-js/node_modules/punycode": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", - "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", - "engines": { - "node": ">=6" - } - }, "node_modules/url-loader": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/url-loader/-/url-loader-4.1.1.tgz", @@ -6524,9 +6713,9 @@ "dev": true }, "node_modules/v8-to-istanbul": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.0.1.tgz", - "integrity": "sha512-74Y4LqY74kLE6IFyIjPtkSTWzUZmj8tdHT9Ii/26dvQ6K9Dl2NbEfj0XgU2sHCtKgt5VupqhlO/5aWuqS+IY1w==", + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.1.0.tgz", + "integrity": "sha512-6z3GW9x8G1gd+JIIgQQQxXuiJtCXeAjp6RaPEPLv62mH3iPHPxV6W3robxtCzNErRo6ZwTmzWhsbNvjyEBKzKA==", "dev": true, "dependencies": { "@jridgewell/trace-mapping": "^0.3.12", @@ -6718,6 +6907,26 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/which-typed-array": { + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.9.tgz", + "integrity": "sha512-w9c4xkx6mPidwp7180ckYWfMmvxpjlZuIudNtDf4N/tTAUB8VJbX25qZoAsrtGuYNnGw3pa0AXgbGKRB8/EceA==", + "dev": true, + "dependencies": { + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-tostringtag": "^1.0.0", + "is-typed-array": "^1.1.10" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/workerpool": { "version": "6.2.1", "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.2.1.tgz", @@ -6816,18 +7025,6 @@ "node": ">=10" } }, - "node_modules/yargs-unparser/node_modules/camelcase": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", - "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/yargs/node_modules/yargs-parser": { "version": "21.1.1", "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", @@ -6890,8 +7087,7 @@ }, "packages/cli/node_modules/mime": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-3.0.0.tgz", - "integrity": "sha512-jSCU7/VB1loIWBZe14aEYHU/+1UMEHoaO7qxCOVJOw9GgH72VAWppxNcjU+x9a2k3GSIBXNKxXQFqRvvZ7vr3A==", + "license": "MIT", "bin": { "mime": "cli.js" }, @@ -6955,8 +7151,7 @@ }, "packages/core/node_modules/balanced-match": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-2.0.0.tgz", - "integrity": "sha512-1ugUSr8BHXRnK23KfuYS+gVMC3LB8QGH9W1iGtDPsNWoQbgtXSExkBu2aDR4epiGWZOjZsj6lDl/N/AqqTC3UA==" + "license": "MIT" }, "packages/create-stylable-app": { "version": "5.13.0", @@ -7056,8 +7251,7 @@ }, "packages/experimental-loader/node_modules/loader-utils": { "version": "3.2.1", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-3.2.1.tgz", - "integrity": "sha512-ZvFw1KWS3GVyYBYb7qkmRM/WwL2TQQBxgCK62rlvm4WpVQ23Nb4tYjApUlfjrEGvOs7KHEsmyUn75OHZrJMWPw==", + "license": "MIT", "engines": { "node": ">= 12.13.0" } @@ -7167,8 +7361,7 @@ }, "packages/rollup-plugin/node_modules/mime": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-3.0.0.tgz", - "integrity": "sha512-jSCU7/VB1loIWBZe14aEYHU/+1UMEHoaO7qxCOVJOw9GgH72VAWppxNcjU+x9a2k3GSIBXNKxXQFqRvvZ7vr3A==", + "license": "MIT", "bin": { "mime": "cli.js" }, @@ -7260,171 +7453,171 @@ "dev": true }, "@esbuild/android-arm": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.17.18.tgz", - "integrity": "sha512-EmwL+vUBZJ7mhFCs5lA4ZimpUH3WMAoqvOIYhVQwdIgSpHC8ImHdsRyhHAVxpDYUSm0lWvd63z0XH1IlImS2Qw==", + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.11.tgz", + "integrity": "sha512-q4qlUf5ucwbUJZXF5tEQ8LF7y0Nk4P58hOsGk3ucY0oCwgQqAnqXVbUuahCddVHfrxmpyewRpiTHwVHIETYu7Q==", "optional": true, "peer": true }, "@esbuild/android-arm64": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.17.18.tgz", - "integrity": "sha512-/iq0aK0eeHgSC3z55ucMAHO05OIqmQehiGay8eP5l/5l+iEr4EIbh4/MI8xD9qRFjqzgkc0JkX0LculNC9mXBw==", + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.18.11.tgz", + "integrity": "sha512-snieiq75Z1z5LJX9cduSAjUr7vEI1OdlzFPMw0HH5YI7qQHDd3qs+WZoMrWYDsfRJSq36lIA6mfZBkvL46KoIw==", "optional": true, "peer": true }, "@esbuild/android-x64": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.17.18.tgz", - "integrity": "sha512-x+0efYNBF3NPW2Xc5bFOSFW7tTXdAcpfEg2nXmxegm4mJuVeS+i109m/7HMiOQ6M12aVGGFlqJX3RhNdYM2lWg==", + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.18.11.tgz", + "integrity": "sha512-iPuoxQEV34+hTF6FT7om+Qwziv1U519lEOvekXO9zaMMlT9+XneAhKL32DW3H7okrCOBQ44BMihE8dclbZtTuw==", "optional": true, "peer": true }, "@esbuild/darwin-arm64": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.17.18.tgz", - "integrity": "sha512-6tY+djEAdF48M1ONWnQb1C+6LiXrKjmqjzPNPWXhu/GzOHTHX2nh8Mo2ZAmBFg0kIodHhciEgUBtcYCAIjGbjQ==", + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.18.11.tgz", + "integrity": "sha512-Gm0QkI3k402OpfMKyQEEMG0RuW2LQsSmI6OeO4El2ojJMoF5NLYb3qMIjvbG/lbMeLOGiW6ooU8xqc+S0fgz2w==", "optional": true, "peer": true }, "@esbuild/darwin-x64": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.17.18.tgz", - "integrity": "sha512-Qq84ykvLvya3dO49wVC9FFCNUfSrQJLbxhoQk/TE1r6MjHo3sFF2tlJCwMjhkBVq3/ahUisj7+EpRSz0/+8+9A==", + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.18.11.tgz", + "integrity": "sha512-N15Vzy0YNHu6cfyDOjiyfJlRJCB/ngKOAvoBf1qybG3eOq0SL2Lutzz9N7DYUbb7Q23XtHPn6lMDF6uWbGv9Fw==", "optional": true, "peer": true }, "@esbuild/freebsd-arm64": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.17.18.tgz", - "integrity": "sha512-fw/ZfxfAzuHfaQeMDhbzxp9mc+mHn1Y94VDHFHjGvt2Uxl10mT4CDavHm+/L9KG441t1QdABqkVYwakMUeyLRA==", + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.11.tgz", + "integrity": "sha512-atEyuq6a3omEY5qAh5jIORWk8MzFnCpSTUruBgeyN9jZq1K/QI9uke0ATi3MHu4L8c59CnIi4+1jDKMuqmR71A==", "optional": true, "peer": true }, "@esbuild/freebsd-x64": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.17.18.tgz", - "integrity": "sha512-FQFbRtTaEi8ZBi/A6kxOC0V0E9B/97vPdYjY9NdawyLd4Qk5VD5g2pbWN2VR1c0xhzcJm74HWpObPszWC+qTew==", + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.18.11.tgz", + "integrity": "sha512-XtuPrEfBj/YYYnAAB7KcorzzpGTvOr/dTtXPGesRfmflqhA4LMF0Gh/n5+a9JBzPuJ+CGk17CA++Hmr1F/gI0Q==", "optional": true, "peer": true }, "@esbuild/linux-arm": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.17.18.tgz", - "integrity": "sha512-jW+UCM40LzHcouIaqv3e/oRs0JM76JfhHjCavPxMUti7VAPh8CaGSlS7cmyrdpzSk7A+8f0hiedHqr/LMnfijg==", + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.18.11.tgz", + "integrity": "sha512-Idipz+Taso/toi2ETugShXjQ3S59b6m62KmLHkJlSq/cBejixmIydqrtM2XTvNCywFl3VC7SreSf6NV0i6sRyg==", "optional": true, "peer": true }, "@esbuild/linux-arm64": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.17.18.tgz", - "integrity": "sha512-R7pZvQZFOY2sxUG8P6A21eq6q+eBv7JPQYIybHVf1XkQYC+lT7nDBdC7wWKTrbvMXKRaGudp/dzZCwL/863mZQ==", + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.18.11.tgz", + "integrity": "sha512-c6Vh2WS9VFKxKZ2TvJdA7gdy0n6eSy+yunBvv4aqNCEhSWVor1TU43wNRp2YLO9Vng2G+W94aRz+ILDSwAiYog==", "optional": true, "peer": true }, "@esbuild/linux-ia32": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.17.18.tgz", - "integrity": "sha512-ygIMc3I7wxgXIxk6j3V00VlABIjq260i967Cp9BNAk5pOOpIXmd1RFQJQX9Io7KRsthDrQYrtcx7QCof4o3ZoQ==", + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.18.11.tgz", + "integrity": "sha512-S3hkIF6KUqRh9n1Q0dSyYcWmcVa9Cg+mSoZEfFuzoYXXsk6196qndrM+ZiHNwpZKi3XOXpShZZ+9dfN5ykqjjw==", "optional": true, "peer": true }, "@esbuild/linux-loong64": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.17.18.tgz", - "integrity": "sha512-bvPG+MyFs5ZlwYclCG1D744oHk1Pv7j8psF5TfYx7otCVmcJsEXgFEhQkbhNW8otDHL1a2KDINW20cfCgnzgMQ==", + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.18.11.tgz", + "integrity": "sha512-MRESANOoObQINBA+RMZW+Z0TJWpibtE7cPFnahzyQHDCA9X9LOmGh68MVimZlM9J8n5Ia8lU773te6O3ILW8kw==", "optional": true, "peer": true }, "@esbuild/linux-mips64el": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.17.18.tgz", - "integrity": "sha512-oVqckATOAGuiUOa6wr8TXaVPSa+6IwVJrGidmNZS1cZVx0HqkTMkqFGD2HIx9H1RvOwFeWYdaYbdY6B89KUMxA==", + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.18.11.tgz", + "integrity": "sha512-qVyPIZrXNMOLYegtD1u8EBccCrBVshxMrn5MkuFc3mEVsw7CCQHaqZ4jm9hbn4gWY95XFnb7i4SsT3eflxZsUg==", "optional": true, "peer": true }, "@esbuild/linux-ppc64": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.17.18.tgz", - "integrity": "sha512-3dLlQO+b/LnQNxgH4l9rqa2/IwRJVN9u/bK63FhOPB4xqiRqlQAU0qDU3JJuf0BmaH0yytTBdoSBHrb2jqc5qQ==", + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.18.11.tgz", + "integrity": "sha512-T3yd8vJXfPirZaUOoA9D2ZjxZX4Gr3QuC3GztBJA6PklLotc/7sXTOuuRkhE9W/5JvJP/K9b99ayPNAD+R+4qQ==", "optional": true, "peer": true }, "@esbuild/linux-riscv64": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.17.18.tgz", - "integrity": "sha512-/x7leOyDPjZV3TcsdfrSI107zItVnsX1q2nho7hbbQoKnmoeUWjs+08rKKt4AUXju7+3aRZSsKrJtaRmsdL1xA==", + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.18.11.tgz", + "integrity": "sha512-evUoRPWiwuFk++snjH9e2cAjF5VVSTj+Dnf+rkO/Q20tRqv+644279TZlPK8nUGunjPAtQRCj1jQkDAvL6rm2w==", "optional": true, "peer": true }, "@esbuild/linux-s390x": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.17.18.tgz", - "integrity": "sha512-cX0I8Q9xQkL/6F5zWdYmVf5JSQt+ZfZD2bJudZrWD+4mnUvoZ3TDDXtDX2mUaq6upMFv9FlfIh4Gfun0tbGzuw==", + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.18.11.tgz", + "integrity": "sha512-/SlRJ15XR6i93gRWquRxYCfhTeC5PdqEapKoLbX63PLCmAkXZHY2uQm2l9bN0oPHBsOw2IswRZctMYS0MijFcg==", "optional": true, "peer": true }, "@esbuild/linux-x64": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.17.18.tgz", - "integrity": "sha512-66RmRsPlYy4jFl0vG80GcNRdirx4nVWAzJmXkevgphP1qf4dsLQCpSKGM3DUQCojwU1hnepI63gNZdrr02wHUA==", + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.18.11.tgz", + "integrity": "sha512-xcncej+wF16WEmIwPtCHi0qmx1FweBqgsRtEL1mSHLFR6/mb3GEZfLQnx+pUDfRDEM4DQF8dpXIW7eDOZl1IbA==", "optional": true, "peer": true }, "@esbuild/netbsd-x64": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.17.18.tgz", - "integrity": "sha512-95IRY7mI2yrkLlTLb1gpDxdC5WLC5mZDi+kA9dmM5XAGxCME0F8i4bYH4jZreaJ6lIZ0B8hTrweqG1fUyW7jbg==", + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.18.11.tgz", + "integrity": "sha512-aSjMHj/F7BuS1CptSXNg6S3M4F3bLp5wfFPIJM+Km2NfIVfFKhdmfHF9frhiCLIGVzDziggqWll0B+9AUbud/Q==", "optional": true, "peer": true }, "@esbuild/openbsd-x64": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.17.18.tgz", - "integrity": "sha512-WevVOgcng+8hSZ4Q3BKL3n1xTv5H6Nb53cBrtzzEjDbbnOmucEVcZeGCsCOi9bAOcDYEeBZbD2SJNBxlfP3qiA==", + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.18.11.tgz", + "integrity": "sha512-tNBq+6XIBZtht0xJGv7IBB5XaSyvYPCm1PxJ33zLQONdZoLVM0bgGqUrXnJyiEguD9LU4AHiu+GCXy/Hm9LsdQ==", "optional": true, "peer": true }, "@esbuild/sunos-x64": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.17.18.tgz", - "integrity": "sha512-Rzf4QfQagnwhQXVBS3BYUlxmEbcV7MY+BH5vfDZekU5eYpcffHSyjU8T0xucKVuOcdCsMo+Ur5wmgQJH2GfNrg==", + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.18.11.tgz", + "integrity": "sha512-kxfbDOrH4dHuAAOhr7D7EqaYf+W45LsAOOhAet99EyuxxQmjbk8M9N4ezHcEiCYPaiW8Dj3K26Z2V17Gt6p3ng==", "optional": true, "peer": true }, "@esbuild/win32-arm64": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.17.18.tgz", - "integrity": "sha512-Kb3Ko/KKaWhjeAm2YoT/cNZaHaD1Yk/pa3FTsmqo9uFh1D1Rfco7BBLIPdDOozrObj2sahslFuAQGvWbgWldAg==", + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.18.11.tgz", + "integrity": "sha512-Sh0dDRyk1Xi348idbal7lZyfSkjhJsdFeuC13zqdipsvMetlGiFQNdO+Yfp6f6B4FbyQm7qsk16yaZk25LChzg==", "optional": true, "peer": true }, "@esbuild/win32-ia32": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.17.18.tgz", - "integrity": "sha512-0/xUMIdkVHwkvxfbd5+lfG7mHOf2FRrxNbPiKWg9C4fFrB8H0guClmaM3BFiRUYrznVoyxTIyC/Ou2B7QQSwmw==", + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.18.11.tgz", + "integrity": "sha512-o9JUIKF1j0rqJTFbIoF4bXj6rvrTZYOrfRcGyL0Vm5uJ/j5CkBD/51tpdxe9lXEDouhRgdr/BYzUrDOvrWwJpg==", "optional": true, "peer": true }, "@esbuild/win32-x64": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.17.18.tgz", - "integrity": "sha512-qU25Ma1I3NqTSHJUOKi9sAH1/Mzuvlke0ioMJRthLXKm7JiSKVwFghlGbDLOO2sARECGhja4xYfRAZNPAkooYg==", + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.18.11.tgz", + "integrity": "sha512-rQI4cjLHd2hGsM1LqgDI7oOCYbQ6IBOVsX9ejuRMSze0GqXUG2ekwiKkiBU1pRGSeCqFFHxTrcEydB2Hyoz9CA==", "optional": true, "peer": true }, "@eslint-community/eslint-utils": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.2.0.tgz", - "integrity": "sha512-gB8T4H4DEfX2IV9zGDJPOBgP1e/DbfCPDTtEqUMckpvzS1OYtva8JdFYBqMwYk7xAQ429WGF/UPqn8uQ//h2vQ==", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", + "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", "requires": { "eslint-visitor-keys": "^3.3.0" } }, "@eslint-community/regexpp": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.4.0.tgz", - "integrity": "sha512-A9983Q0LnDGdLPjxyXQ00sbV+K+O+ko2Dr+CZigbHWtX9pNfxlaBkMR8X1CztI73zuEyEBXTVjx7CE+/VSwDiQ==" + "version": "4.5.1", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.5.1.tgz", + "integrity": "sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6FZTFKQ==" }, "@eslint/eslintrc": { "version": "2.1.0", @@ -7554,9 +7747,9 @@ } }, "strip-ansi": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.0.1.tgz", - "integrity": "sha512-cXNxvT8dFNRVfhVME3JAe98mkXDYN2O1l7jmcwMnOslDeESg1rF/OZMtK0nRAhiari1unG5cD4jG3rapUAkLbw==", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", "requires": { "ansi-regex": "^6.0.1" } @@ -7580,9 +7773,9 @@ "dev": true }, "@jridgewell/gen-mapping": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz", - "integrity": "sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A==", + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", + "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==", "requires": { "@jridgewell/set-array": "^1.0.1", "@jridgewell/sourcemap-codec": "^1.4.10", @@ -7600,26 +7793,33 @@ "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==" }, "@jridgewell/source-map": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.2.tgz", - "integrity": "sha512-m7O9o2uR8k2ObDysZYzdfhb08VuEml5oWGiosa1VdaPZ/A6QyPkAJuwN0Q1lhULOf6B7MtQmHENS743hWtCrgw==", + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.5.tgz", + "integrity": "sha512-UTYAUj/wviwdsMfzoSJspJxbkH5o1snzwX0//0ENX1u/55kkZZkcTZP6u9bwKGkv+dkk9at4m1Cpt0uY80kcpQ==", "requires": { "@jridgewell/gen-mapping": "^0.3.0", "@jridgewell/trace-mapping": "^0.3.9" } }, "@jridgewell/sourcemap-codec": { - "version": "1.4.14", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz", - "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==" + "version": "1.4.15", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", + "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==" }, "@jridgewell/trace-mapping": { - "version": "0.3.17", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.17.tgz", - "integrity": "sha512-MCNzAp77qzKca9+W/+I0+sEpaUnZoeasnghNeVc41VZCEKaCH73Vq3BZZ/SzWIgrqE4H4ceI+p+b6C0mHf9T4g==", + "version": "0.3.18", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.18.tgz", + "integrity": "sha512-w+niJYzMHdd7USdiH2U6869nqhD2nbfZXND5Yp93qIbEmnDNk7PD48o+YchRVpzMU7M6jVCbenTR7PA1FLQ9pA==", "requires": { "@jridgewell/resolve-uri": "3.1.0", "@jridgewell/sourcemap-codec": "1.4.14" + }, + "dependencies": { + "@jridgewell/sourcemap-codec": { + "version": "1.4.14", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz", + "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==" + } } }, "@nodelib/fs.scandir": { @@ -7710,9 +7910,7 @@ }, "dependencies": { "mime": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-3.0.0.tgz", - "integrity": "sha512-jSCU7/VB1loIWBZe14aEYHU/+1UMEHoaO7qxCOVJOw9GgH72VAWppxNcjU+x9a2k3GSIBXNKxXQFqRvvZ7vr3A==" + "version": "3.0.0" } } }, @@ -7746,9 +7944,7 @@ }, "dependencies": { "balanced-match": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-2.0.0.tgz", - "integrity": "sha512-1ugUSr8BHXRnK23KfuYS+gVMC3LB8QGH9W1iGtDPsNWoQbgtXSExkBu2aDR4epiGWZOjZsj6lDl/N/AqqTC3UA==" + "version": "2.0.0" } } }, @@ -7809,9 +8005,7 @@ }, "dependencies": { "loader-utils": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-3.2.1.tgz", - "integrity": "sha512-ZvFw1KWS3GVyYBYb7qkmRM/WwL2TQQBxgCK62rlvm4WpVQ23Nb4tYjApUlfjrEGvOs7KHEsmyUn75OHZrJMWPw==" + "version": "3.2.1" } } }, @@ -7883,9 +8077,7 @@ }, "dependencies": { "mime": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-3.0.0.tgz", - "integrity": "sha512-jSCU7/VB1loIWBZe14aEYHU/+1UMEHoaO7qxCOVJOw9GgH72VAWppxNcjU+x9a2k3GSIBXNKxXQFqRvvZ7vr3A==" + "version": "3.0.0" } } }, @@ -7985,9 +8177,9 @@ "dev": true }, "@types/css-tree": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@types/css-tree/-/css-tree-2.0.0.tgz", - "integrity": "sha512-mY2sXRLBnUPMYw6mkOT+6dABeaNxAEKZz6scE9kQPNJx8fKe1fOsm8Honl7+xFYe6TKX8WNk2+7oMp2vBArJ9Q==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@types/css-tree/-/css-tree-2.3.1.tgz", + "integrity": "sha512-3m636Jz4d9d+lHVMp6FNLsUWQrfOx1xpm1SBxPbQYSNNgXMe+XswcsDeo1ldyULiuzYyWKk1kmvkLTgNq+215Q==", "dev": true }, "@types/cssesc": { @@ -8006,9 +8198,9 @@ } }, "@types/eslint": { - "version": "8.4.10", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.4.10.tgz", - "integrity": "sha512-Sl/HOqN8NKPmhWo2VBEPm0nvHnu2LL3v9vKo8MEq0EtbJ4eVzGPl41VNPvn5E1i5poMk4/XD8UriLHpJvEP/Nw==", + "version": "8.40.2", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.40.2.tgz", + "integrity": "sha512-PRVjQ4Eh9z9pmmtaq8nTjZjQwKFk7YIHIud3lRoKRBgUQjgjRmoGxxGEPXQkF+lH7QkHJRNr5F4aBgYCW0lqpQ==", "requires": { "@types/estree": "*", "@types/json-schema": "*" @@ -8024,9 +8216,9 @@ } }, "@types/estree": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.0.tgz", - "integrity": "sha512-WulqXMDUTYAXCjZnk6JtIHPigp55cVtDgDrO2gHRwhyJto21+1zbVCtOYB2L1F9w4qCQ0rOGWBnBe0FNTiEJIQ==" + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.1.tgz", + "integrity": "sha512-LG4opVs2ANWZ1TJoKc937iMmNstM/d0ae1vNbnBvBhqCSezgVUOzcLCqbI5elV8Vy6WKwKjaqR+zO9VKirBBCA==" }, "@types/find-config": { "version": "1.0.1", @@ -8064,9 +8256,9 @@ "integrity": "sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA==" }, "@types/lodash": { - "version": "4.14.191", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.191.tgz", - "integrity": "sha512-BdZ5BCCvho3EIXw6wUCXHe7rS53AIDPLE+JzwgT+OsJk53oBfbSmZZ7CX4VaRoN78N+TJpFi9QPlfIVNmJYWxQ==", + "version": "4.14.195", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.195.tgz", + "integrity": "sha512-Hwx9EUgdwf2GLarOjQp5ZH8ZmblzcbTBC2wtQWNKARBSxM9ezRIAUpeDTgoQRAFB0+8CNWXVA9+MaSOzOF3nPg==", "dev": true }, "@types/lodash.camelcase": { @@ -8136,9 +8328,9 @@ "dev": true }, "@types/node": { - "version": "14.18.34", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.34.tgz", - "integrity": "sha512-hcU9AIQVHmPnmjRK+XUUYlILlr9pQrsqSrwov/JK1pnf3GTQowVBhx54FbvM0AU/VXGH4i3+vgXS5EguR7fysA==" + "version": "14.18.53", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.53.tgz", + "integrity": "sha512-soGmOpVBUq+gaBMwom1M+krC/NNbWlosh4AtGA03SyWNDiqSKtwp7OulO1M6+mg8YkHMvJ/y0AkCeO8d1hNb7A==" }, "@types/postcss-safe-parser": { "version": "5.0.1", @@ -8182,9 +8374,9 @@ "dev": true }, "@types/scheduler": { - "version": "0.16.2", - "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.2.tgz", - "integrity": "sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew==", + "version": "0.16.3", + "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.3.tgz", + "integrity": "sha512-5cJ8CB4yAx7BH1oMvdU0Jh9lrEXyPkar6F9G/ERswkCuvP4KQZfZkSjcMbAICCpQTN4OuZn8tz0HiKv9TGZgrQ==", "dev": true }, "@types/semver": { @@ -8321,133 +8513,133 @@ "integrity": "sha512-/yrv59IEnmh655z1oeDnGcvMYwnEzNzHLgeYcQCkhYX0xBvYWrAuefoiLcPBUkMpJsb46bqQ6Yv4pwTTQ4d3Qg==" }, "@webassemblyjs/ast": { - "version": "1.11.5", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.5.tgz", - "integrity": "sha512-LHY/GSAZZRpsNQH+/oHqhRQ5FT7eoULcBqgfyTB5nQHogFnK3/7QoN7dLnwSE/JkUAF0SrRuclT7ODqMFtWxxQ==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.6.tgz", + "integrity": "sha512-IN1xI7PwOvLPgjcf180gC1bqn3q/QaOCwYUahIOhbYUu8KA/3tw2RT/T0Gidi1l7Hhj5D/INhJxiICObqpMu4Q==", "requires": { - "@webassemblyjs/helper-numbers": "1.11.5", - "@webassemblyjs/helper-wasm-bytecode": "1.11.5" + "@webassemblyjs/helper-numbers": "1.11.6", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6" } }, "@webassemblyjs/floating-point-hex-parser": { - "version": "1.11.5", - "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.5.tgz", - "integrity": "sha512-1j1zTIC5EZOtCplMBG/IEwLtUojtwFVwdyVMbL/hwWqbzlQoJsWCOavrdnLkemwNoC/EOwtUFch3fuo+cbcXYQ==" + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.6.tgz", + "integrity": "sha512-ejAj9hfRJ2XMsNHk/v6Fu2dGS+i4UaXBXGemOfQ/JfQ6mdQg/WXtwleQRLLS4OvfDhv8rYnVwH27YJLMyYsxhw==" }, "@webassemblyjs/helper-api-error": { - "version": "1.11.5", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.5.tgz", - "integrity": "sha512-L65bDPmfpY0+yFrsgz8b6LhXmbbs38OnwDCf6NpnMUYqa+ENfE5Dq9E42ny0qz/PdR0LJyq/T5YijPnU8AXEpA==" + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.6.tgz", + "integrity": "sha512-o0YkoP4pVu4rN8aTJgAyj9hC2Sv5UlkzCHhxqWj8butaLvnpdc2jOwh4ewE6CX0txSfLn/UYaV/pheS2Txg//Q==" }, "@webassemblyjs/helper-buffer": { - "version": "1.11.5", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.5.tgz", - "integrity": "sha512-fDKo1gstwFFSfacIeH5KfwzjykIE6ldh1iH9Y/8YkAZrhmu4TctqYjSh7t0K2VyDSXOZJ1MLhht/k9IvYGcIxg==" + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.6.tgz", + "integrity": "sha512-z3nFzdcp1mb8nEOFFk8DrYLpHvhKC3grJD2ardfKOzmbmJvEf/tPIqCY+sNcwZIY8ZD7IkB2l7/pqhUhqm7hLA==" }, "@webassemblyjs/helper-numbers": { - "version": "1.11.5", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.5.tgz", - "integrity": "sha512-DhykHXM0ZABqfIGYNv93A5KKDw/+ywBFnuWybZZWcuzWHfbp21wUfRkbtz7dMGwGgT4iXjWuhRMA2Mzod6W4WA==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.6.tgz", + "integrity": "sha512-vUIhZ8LZoIWHBohiEObxVm6hwP034jwmc9kuq5GdHZH0wiLVLIPcMCdpJzG4C11cHoQ25TFIQj9kaVADVX7N3g==", "requires": { - "@webassemblyjs/floating-point-hex-parser": "1.11.5", - "@webassemblyjs/helper-api-error": "1.11.5", + "@webassemblyjs/floating-point-hex-parser": "1.11.6", + "@webassemblyjs/helper-api-error": "1.11.6", "@xtuc/long": "4.2.2" } }, "@webassemblyjs/helper-wasm-bytecode": { - "version": "1.11.5", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.5.tgz", - "integrity": "sha512-oC4Qa0bNcqnjAowFn7MPCETQgDYytpsfvz4ujZz63Zu/a/v71HeCAAmZsgZ3YVKec3zSPYytG3/PrRCqbtcAvA==" + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.6.tgz", + "integrity": "sha512-sFFHKwcmBprO9e7Icf0+gddyWYDViL8bpPjJJl0WHxCdETktXdmtWLGVzoHbqUcY4Be1LkNfwTmXOJUFZYSJdA==" }, "@webassemblyjs/helper-wasm-section": { - "version": "1.11.5", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.5.tgz", - "integrity": "sha512-uEoThA1LN2NA+K3B9wDo3yKlBfVtC6rh0i4/6hvbz071E8gTNZD/pT0MsBf7MeD6KbApMSkaAK0XeKyOZC7CIA==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.6.tgz", + "integrity": "sha512-LPpZbSOwTpEC2cgn4hTydySy1Ke+XEu+ETXuoyvuyezHO3Kjdu90KK95Sh9xTbmjrCsUwvWwCOQQNta37VrS9g==", "requires": { - "@webassemblyjs/ast": "1.11.5", - "@webassemblyjs/helper-buffer": "1.11.5", - "@webassemblyjs/helper-wasm-bytecode": "1.11.5", - "@webassemblyjs/wasm-gen": "1.11.5" + "@webassemblyjs/ast": "1.11.6", + "@webassemblyjs/helper-buffer": "1.11.6", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6", + "@webassemblyjs/wasm-gen": "1.11.6" } }, "@webassemblyjs/ieee754": { - "version": "1.11.5", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.5.tgz", - "integrity": "sha512-37aGq6qVL8A8oPbPrSGMBcp38YZFXcHfiROflJn9jxSdSMMM5dS5P/9e2/TpaJuhE+wFrbukN2WI6Hw9MH5acg==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.6.tgz", + "integrity": "sha512-LM4p2csPNvbij6U1f19v6WR56QZ8JcHg3QIJTlSwzFcmx6WSORicYj6I63f9yU1kEUtrpG+kjkiIAkevHpDXrg==", "requires": { "@xtuc/ieee754": "^1.2.0" } }, "@webassemblyjs/leb128": { - "version": "1.11.5", - "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.5.tgz", - "integrity": "sha512-ajqrRSXaTJoPW+xmkfYN6l8VIeNnR4vBOTQO9HzR7IygoCcKWkICbKFbVTNMjMgMREqXEr0+2M6zukzM47ZUfQ==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.6.tgz", + "integrity": "sha512-m7a0FhE67DQXgouf1tbN5XQcdWoNgaAuoULHIfGFIEVKA6tu/edls6XnIlkmS6FrXAquJRPni3ZZKjw6FSPjPQ==", "requires": { "@xtuc/long": "4.2.2" } }, "@webassemblyjs/utf8": { - "version": "1.11.5", - "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.5.tgz", - "integrity": "sha512-WiOhulHKTZU5UPlRl53gHR8OxdGsSOxqfpqWeA2FmcwBMaoEdz6b2x2si3IwC9/fSPLfe8pBMRTHVMk5nlwnFQ==" + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.6.tgz", + "integrity": "sha512-vtXf2wTQ3+up9Zsg8sa2yWiQpzSsMyXj0qViVP6xKGCUT8p8YJ6HqI7l5eCnWx1T/FYdsv07HQs2wTFbbof/RA==" }, "@webassemblyjs/wasm-edit": { - "version": "1.11.5", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.5.tgz", - "integrity": "sha512-C0p9D2fAu3Twwqvygvf42iGCQ4av8MFBLiTb+08SZ4cEdwzWx9QeAHDo1E2k+9s/0w1DM40oflJOpkZ8jW4HCQ==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.6.tgz", + "integrity": "sha512-Ybn2I6fnfIGuCR+Faaz7YcvtBKxvoLV3Lebn1tM4o/IAJzmi9AWYIPWpyBfU8cC+JxAO57bk4+zdsTjJR+VTOw==", "requires": { - "@webassemblyjs/ast": "1.11.5", - "@webassemblyjs/helper-buffer": "1.11.5", - "@webassemblyjs/helper-wasm-bytecode": "1.11.5", - "@webassemblyjs/helper-wasm-section": "1.11.5", - "@webassemblyjs/wasm-gen": "1.11.5", - "@webassemblyjs/wasm-opt": "1.11.5", - "@webassemblyjs/wasm-parser": "1.11.5", - "@webassemblyjs/wast-printer": "1.11.5" + "@webassemblyjs/ast": "1.11.6", + "@webassemblyjs/helper-buffer": "1.11.6", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6", + "@webassemblyjs/helper-wasm-section": "1.11.6", + "@webassemblyjs/wasm-gen": "1.11.6", + "@webassemblyjs/wasm-opt": "1.11.6", + "@webassemblyjs/wasm-parser": "1.11.6", + "@webassemblyjs/wast-printer": "1.11.6" } }, "@webassemblyjs/wasm-gen": { - "version": "1.11.5", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.5.tgz", - "integrity": "sha512-14vteRlRjxLK9eSyYFvw1K8Vv+iPdZU0Aebk3j6oB8TQiQYuO6hj9s4d7qf6f2HJr2khzvNldAFG13CgdkAIfA==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.6.tgz", + "integrity": "sha512-3XOqkZP/y6B4F0PBAXvI1/bky7GryoogUtfwExeP/v7Nzwo1QLcq5oQmpKlftZLbT+ERUOAZVQjuNVak6UXjPA==", "requires": { - "@webassemblyjs/ast": "1.11.5", - "@webassemblyjs/helper-wasm-bytecode": "1.11.5", - "@webassemblyjs/ieee754": "1.11.5", - "@webassemblyjs/leb128": "1.11.5", - "@webassemblyjs/utf8": "1.11.5" + "@webassemblyjs/ast": "1.11.6", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6", + "@webassemblyjs/ieee754": "1.11.6", + "@webassemblyjs/leb128": "1.11.6", + "@webassemblyjs/utf8": "1.11.6" } }, "@webassemblyjs/wasm-opt": { - "version": "1.11.5", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.5.tgz", - "integrity": "sha512-tcKwlIXstBQgbKy1MlbDMlXaxpucn42eb17H29rawYLxm5+MsEmgPzeCP8B1Cl69hCice8LeKgZpRUAPtqYPgw==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.6.tgz", + "integrity": "sha512-cOrKuLRE7PCe6AsOVl7WasYf3wbSo4CeOk6PkrjS7g57MFfVUF9u6ysQBBODX0LdgSvQqRiGz3CXvIDKcPNy4g==", "requires": { - "@webassemblyjs/ast": "1.11.5", - "@webassemblyjs/helper-buffer": "1.11.5", - "@webassemblyjs/wasm-gen": "1.11.5", - "@webassemblyjs/wasm-parser": "1.11.5" + "@webassemblyjs/ast": "1.11.6", + "@webassemblyjs/helper-buffer": "1.11.6", + "@webassemblyjs/wasm-gen": "1.11.6", + "@webassemblyjs/wasm-parser": "1.11.6" } }, "@webassemblyjs/wasm-parser": { - "version": "1.11.5", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.5.tgz", - "integrity": "sha512-SVXUIwsLQlc8srSD7jejsfTU83g7pIGr2YYNb9oHdtldSxaOhvA5xwvIiWIfcX8PlSakgqMXsLpLfbbJ4cBYew==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.6.tgz", + "integrity": "sha512-6ZwPeGzMJM3Dqp3hCsLgESxBGtT/OeCvCZ4TA1JUPYgmhAx38tTPR9JaKy0S5H3evQpO/h2uWs2j6Yc/fjkpTQ==", "requires": { - "@webassemblyjs/ast": "1.11.5", - "@webassemblyjs/helper-api-error": "1.11.5", - "@webassemblyjs/helper-wasm-bytecode": "1.11.5", - "@webassemblyjs/ieee754": "1.11.5", - "@webassemblyjs/leb128": "1.11.5", - "@webassemblyjs/utf8": "1.11.5" + "@webassemblyjs/ast": "1.11.6", + "@webassemblyjs/helper-api-error": "1.11.6", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6", + "@webassemblyjs/ieee754": "1.11.6", + "@webassemblyjs/leb128": "1.11.6", + "@webassemblyjs/utf8": "1.11.6" } }, "@webassemblyjs/wast-printer": { - "version": "1.11.5", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.11.5.tgz", - "integrity": "sha512-f7Pq3wvg3GSPUPzR0F6bmI89Hdb+u9WXrSKc4v+N0aV0q6r42WoF92Jp2jEorBEBRoRNXgjp53nBniDXcqZYPA==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.11.6.tgz", + "integrity": "sha512-JM7AhRcE+yW2GWYaKeHL5vt4xqee5N2WcezptmgyhNS+ScggqcT1OtXykhAb13Sn5Yas0j2uv9tHgrjwvzAP4A==", "requires": { - "@webassemblyjs/ast": "1.11.5", + "@webassemblyjs/ast": "1.11.6", "@xtuc/long": "4.2.2" } }, @@ -8469,17 +8661,17 @@ } }, "minimatch": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.0.tgz", - "integrity": "sha512-0jJj8AvgKqWN05mrwuqi8QYKx1WmYSUoKSxu5Qhs9prezTz10sxAHGNZe9J9cqIJzta8DWsleh2KaVaLl6Ru2w==", + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.2.tgz", + "integrity": "sha512-PZOT9g5v2ojiTL7r1xF6plNHLtOeTpSlDI007As2NlA2aYBMfVom17yqa6QzhmDP8QOhn7LjHTg7DFCVSSa6yg==", "requires": { "brace-expansion": "^2.0.1" } }, "type-fest": { - "version": "3.8.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-3.8.0.tgz", - "integrity": "sha512-FVNSzGQz9Th+/9R6Lvv7WIAkstylfHN2/JYxkyhhmKFYh9At2DST8t6L6Lref9eYO8PXFTfG9Sg1Agg0K3vq3Q==" + "version": "3.12.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-3.12.0.tgz", + "integrity": "sha512-qj9wWsnFvVEMUDbESiilKeXeHL7FwwiFcogfhfyjmvT968RXSvnl23f1JOClTHYItsi7o501C/7qVllscUP3oA==" } } }, @@ -8505,9 +8697,9 @@ "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==" }, "acorn": { - "version": "8.9.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.9.0.tgz", - "integrity": "sha512-jaVNAFBHNLXspO543WnNNPZFRtavh3skAkITqD0/2aeMkKZTN+254PyhwxFYrk3vQ1xfY+2wbesJMs/JC8/PwQ==" + "version": "8.10.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.10.0.tgz", + "integrity": "sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==" }, "acorn-import-assertions": { "version": "1.9.0", @@ -8542,9 +8734,9 @@ }, "dependencies": { "ajv": { - "version": "8.11.2", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.11.2.tgz", - "integrity": "sha512-E4bfmKAhGiSTvMfL1Myyycaub+cUEU2/IvpylXkUu7CHBkBj1f/ikdzbD7YQ6FKUbixDxeYvB/xY4fvyroDlQg==", + "version": "8.12.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", + "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", "dev": true, "requires": { "fast-deep-equal": "^3.1.1", @@ -8601,6 +8793,16 @@ "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" }, + "array-buffer-byte-length": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz", + "integrity": "sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "is-array-buffer": "^3.0.1" + } + }, "array-includes": { "version": "3.1.6", "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.6.tgz", @@ -8619,6 +8821,18 @@ "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==" }, + "array.prototype.flat": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.1.tgz", + "integrity": "sha512-roTU0KWIOmJ4DRLmwKd19Otg0/mT3qPNt0Qb3GWW8iObuZXxrjB/pzn0R3hqpRSWg4HCwqx+0vwOnWnvlOyeIA==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4", + "es-shim-unscopables": "^1.0.0" + } + }, "array.prototype.flatmap": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.1.tgz", @@ -8663,6 +8877,12 @@ "postcss-value-parser": "^4.2.0" } }, + "available-typed-arrays": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", + "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==", + "dev": true + }, "balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", @@ -8710,14 +8930,14 @@ "dev": true }, "browserslist": { - "version": "4.21.5", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.5.tgz", - "integrity": "sha512-tUkiguQGW7S3IhB7N+c2MV/HZPSCPAAiYBZXLsBhFB/PCy6ZKKsZrmBayHV9fdGV/ARIfJ14NkxKzRDjvp7L6w==", + "version": "4.21.9", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.9.tgz", + "integrity": "sha512-M0MFoZzbUrRU4KNfCrDLnvyE7gub+peetoTid3TBIqtunaDJyXlwhakT+/VkvSXcfIzFfK/nkCs4nmyTmxdNSg==", "requires": { - "caniuse-lite": "^1.0.30001449", - "electron-to-chromium": "^1.4.284", - "node-releases": "^2.0.8", - "update-browserslist-db": "^1.0.10" + "caniuse-lite": "^1.0.30001503", + "electron-to-chromium": "^1.4.431", + "node-releases": "^2.0.12", + "update-browserslist-db": "^1.0.11" } }, "buffer-from": { @@ -8826,15 +9046,21 @@ "tslib": "^2.0.3" } }, + "camelcase": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", + "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", + "dev": true + }, "camelcase-css": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz", "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==" }, "caniuse-lite": { - "version": "1.0.30001466", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001466.tgz", - "integrity": "sha512-ewtFBSfWjEmxUgNBSZItFSmVtvk9zkwkl1OfRZlKA8slltRN+/C/tuGVrF9styXkN36Yu3+SeJ1qkXxDEyNZ5w==" + "version": "1.0.30001512", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001512.tgz", + "integrity": "sha512-2S9nK0G/mE+jasCUsMPlARhRCts1ebcp2Ji8Y8PWi4NDE1iRdLCnEPHkEfeBrGC45L4isBx5ur3IQ6yTE2mRZw==" }, "chai": { "version": "4.3.7", @@ -8903,9 +9129,9 @@ "integrity": "sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==" }, "clean-css": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.3.1.tgz", - "integrity": "sha512-lCr8OHhiWCTw4v8POJovCoh4T7I9U11yVsPjMWWnnMmp9ZowCxyad1Pathle/9HjaDp+fdQKjO9fQydE6RHTZg==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.3.2.tgz", + "integrity": "sha512-JVJbM+f3d3Q704rF4bqQ5UUyTtuJ0JRKNbTKVEeujCCBoMdkEi+V+e8oktO9qGQNSvHrFTM6JZRXrUvGR1czww==", "dev": true, "requires": { "source-map": "~0.6.0" @@ -9057,9 +9283,9 @@ } }, "csstype": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.1.tgz", - "integrity": "sha512-DJR/VvkAvSZW9bTouZue2sSxDwdTN92uHjqeKVm+0dAqdfNykRzQ95tay8aXMBAAPpUiq4Qcug2L7neoRh2Egw==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.2.tgz", + "integrity": "sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==", "dev": true }, "debug": { @@ -9098,15 +9324,15 @@ "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==" }, "deepmerge": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", - "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz", + "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==", "dev": true }, "define-properties": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.4.tgz", - "integrity": "sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.0.tgz", + "integrity": "sha512-xvqAVKGfT1+UAvPwKTVw/njhdQ8ZhXK4lI0bCIuCMrp2up9nPnaDftrLtmpTazqd1o+UY4zgzU+avtMbDP+ldA==", "dev": true, "requires": { "has-property-descriptors": "^1.0.0", @@ -9158,14 +9384,6 @@ "domelementtype": "^2.0.1", "domhandler": "^4.2.0", "entities": "^2.0.0" - }, - "dependencies": { - "entities": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-2.2.0.tgz", - "integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==", - "dev": true - } } }, "domelementtype": { @@ -9247,9 +9465,9 @@ } }, "electron-to-chromium": { - "version": "1.4.284", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.284.tgz", - "integrity": "sha512-M8WEXFuKXMYMVr45fo8mq0wUrrJHheiKZf6BArTKk9ZBYCKJEOU5H8cdWgDT+qCVZf7Na4lVUaZsA+h6uA9+PA==" + "version": "1.4.450", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.450.tgz", + "integrity": "sha512-BLG5HxSELlrMx7dJ2s+8SFlsCtJp37Zpk2VAxyC6CZtbc+9AJeZHfYHbrlSgdXp6saQ8StMqOTEDaBKgA7u1sw==" }, "emoji-regex": { "version": "8.0.0", @@ -9271,6 +9489,12 @@ "tapable": "^2.2.0" } }, + "entities": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-2.2.0.tgz", + "integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==", + "dev": true + }, "error-ex": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", @@ -9281,42 +9505,62 @@ } }, "es-abstract": { - "version": "1.20.5", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.20.5.tgz", - "integrity": "sha512-7h8MM2EQhsCA7pU/Nv78qOXFpD8Rhqd12gYiSJVkrH9+e8VuA8JlPJK/hQjjlLv6pJvx/z1iRFKzYb0XT/RuAQ==", + "version": "1.21.2", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.21.2.tgz", + "integrity": "sha512-y/B5POM2iBnIxCiernH1G7rC9qQoM77lLIMQLuob0zhp8C56Po81+2Nj0WFKnd0pNReDTnkYryc+zhOzpEIROg==", "dev": true, "requires": { + "array-buffer-byte-length": "^1.0.0", + "available-typed-arrays": "^1.0.5", "call-bind": "^1.0.2", + "es-set-tostringtag": "^2.0.1", "es-to-primitive": "^1.2.1", - "function-bind": "^1.1.1", "function.prototype.name": "^1.1.5", - "get-intrinsic": "^1.1.3", + "get-intrinsic": "^1.2.0", "get-symbol-description": "^1.0.0", + "globalthis": "^1.0.3", "gopd": "^1.0.1", "has": "^1.0.3", "has-property-descriptors": "^1.0.0", + "has-proto": "^1.0.1", "has-symbols": "^1.0.3", - "internal-slot": "^1.0.3", + "internal-slot": "^1.0.5", + "is-array-buffer": "^3.0.2", "is-callable": "^1.2.7", "is-negative-zero": "^2.0.2", "is-regex": "^1.1.4", "is-shared-array-buffer": "^1.0.2", "is-string": "^1.0.7", + "is-typed-array": "^1.1.10", "is-weakref": "^1.0.2", - "object-inspect": "^1.12.2", + "object-inspect": "^1.12.3", "object-keys": "^1.1.1", "object.assign": "^4.1.4", "regexp.prototype.flags": "^1.4.3", "safe-regex-test": "^1.0.0", + "string.prototype.trim": "^1.2.7", "string.prototype.trimend": "^1.0.6", "string.prototype.trimstart": "^1.0.6", - "unbox-primitive": "^1.0.2" + "typed-array-length": "^1.0.4", + "unbox-primitive": "^1.0.2", + "which-typed-array": "^1.1.9" } }, "es-module-lexer": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.2.1.tgz", - "integrity": "sha512-9978wrXM50Y4rTMmW5kXIC09ZdXQZqkE4mxhwkd8VbzsGkXGPgV4zWuqQJgCEzYngdo2dYDa0l8xhX4fkSwJSg==" + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.3.0.tgz", + "integrity": "sha512-vZK7T0N2CBmBOixhmjdqx2gWVbFZ4DXZ/NyRMZVlJXPa7CyFS+/a4QQsDGDQy9ZfEzxFuNEsMLeQJnKP2p5/JA==" + }, + "es-set-tostringtag": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.1.tgz", + "integrity": "sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg==", + "dev": true, + "requires": { + "get-intrinsic": "^1.1.3", + "has": "^1.0.3", + "has-tostringtag": "^1.0.0" + } }, "es-shim-unscopables": { "version": "1.0.0", @@ -9339,33 +9583,33 @@ } }, "esbuild": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.17.18.tgz", - "integrity": "sha512-z1lix43jBs6UKjcZVKOw2xx69ffE2aG0PygLL5qJ9OS/gy0Ewd1gW/PUQIOIQGXBHWNywSc0floSKoMFF8aK2w==", + "version": "0.18.11", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.18.11.tgz", + "integrity": "sha512-i8u6mQF0JKJUlGR3OdFLKldJQMMs8OqM9Cc3UCi9XXziJ9WERM5bfkHaEAy0YAvPRMgqSW55W7xYn84XtEFTtA==", "peer": true, "requires": { - "@esbuild/android-arm": "0.17.18", - "@esbuild/android-arm64": "0.17.18", - "@esbuild/android-x64": "0.17.18", - "@esbuild/darwin-arm64": "0.17.18", - "@esbuild/darwin-x64": "0.17.18", - "@esbuild/freebsd-arm64": "0.17.18", - "@esbuild/freebsd-x64": "0.17.18", - "@esbuild/linux-arm": "0.17.18", - "@esbuild/linux-arm64": "0.17.18", - "@esbuild/linux-ia32": "0.17.18", - "@esbuild/linux-loong64": "0.17.18", - "@esbuild/linux-mips64el": "0.17.18", - "@esbuild/linux-ppc64": "0.17.18", - "@esbuild/linux-riscv64": "0.17.18", - "@esbuild/linux-s390x": "0.17.18", - "@esbuild/linux-x64": "0.17.18", - "@esbuild/netbsd-x64": "0.17.18", - "@esbuild/openbsd-x64": "0.17.18", - "@esbuild/sunos-x64": "0.17.18", - "@esbuild/win32-arm64": "0.17.18", - "@esbuild/win32-ia32": "0.17.18", - "@esbuild/win32-x64": "0.17.18" + "@esbuild/android-arm": "0.18.11", + "@esbuild/android-arm64": "0.18.11", + "@esbuild/android-x64": "0.18.11", + "@esbuild/darwin-arm64": "0.18.11", + "@esbuild/darwin-x64": "0.18.11", + "@esbuild/freebsd-arm64": "0.18.11", + "@esbuild/freebsd-x64": "0.18.11", + "@esbuild/linux-arm": "0.18.11", + "@esbuild/linux-arm64": "0.18.11", + "@esbuild/linux-ia32": "0.18.11", + "@esbuild/linux-loong64": "0.18.11", + "@esbuild/linux-mips64el": "0.18.11", + "@esbuild/linux-ppc64": "0.18.11", + "@esbuild/linux-riscv64": "0.18.11", + "@esbuild/linux-s390x": "0.18.11", + "@esbuild/linux-x64": "0.18.11", + "@esbuild/netbsd-x64": "0.18.11", + "@esbuild/openbsd-x64": "0.18.11", + "@esbuild/sunos-x64": "0.18.11", + "@esbuild/win32-arm64": "0.18.11", + "@esbuild/win32-ia32": "0.18.11", + "@esbuild/win32-x64": "0.18.11" } }, "escalade": { @@ -9539,9 +9783,9 @@ } }, "esquery": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.2.tgz", - "integrity": "sha512-JVSoLdTlTDkmjFmab7H/9SL9qGSyjElT3myyKp7krqjVFQCDLmj1QFaCLRFBszBKI0XVZaiiXvuPIX3ZwHe1Ng==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz", + "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", "requires": { "estraverse": "^5.1.0" } @@ -9581,9 +9825,9 @@ "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" }, "fast-glob": { - "version": "3.2.12", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz", - "integrity": "sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.0.tgz", + "integrity": "sha512-ChDuvbOypPuNjO8yIDf36x7BlZX1smcUMTTcyoIjycexOxd6DFsKsg21qVBzEmr3G7fUKIRy2/psii+CIUt7FA==", "requires": { "@nodelib/fs.stat": "^2.0.2", "@nodelib/fs.walk": "^1.2.3", @@ -9618,9 +9862,9 @@ "integrity": "sha512-483XLLxTVIwWK3QTrMGRqUfUpoOs/0hbQrl2oz4J0pAcm3A3bu84wxTFqGqkJzewCLdME38xJLJAxBABfQT8sQ==" }, "fastq": { - "version": "1.14.0", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.14.0.tgz", - "integrity": "sha512-eR2D+V9/ExcbF9ls441yIuN6TI2ED1Y2ZcA5BmMtJsOkWOFRJQ0Jt0g1UwqXJJVAb+V+umH5Dfr8oh4EVP7VVg==", + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz", + "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==", "requires": { "reusify": "^1.0.4" } @@ -9697,6 +9941,15 @@ "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.7.tgz", "integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==" }, + "for-each": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", + "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", + "dev": true, + "requires": { + "is-callable": "^1.1.3" + } + }, "foreground-child": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-2.0.0.tgz", @@ -9759,13 +10012,14 @@ "integrity": "sha512-Hm0ixYtaSZ/V7C8FJrtZIuBBI+iSgL+1Aq82zSu8VQNB4S3Gk8e7Qs3VwBDJAhmRZcFqkl3tQu36g/Foh5I5ig==" }, "get-intrinsic": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.3.tgz", - "integrity": "sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.1.tgz", + "integrity": "sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw==", "dev": true, "requires": { "function-bind": "^1.1.1", "has": "^1.0.3", + "has-proto": "^1.0.1", "has-symbols": "^1.0.3" } }, @@ -9813,6 +10067,15 @@ "type-fest": "^0.20.2" } }, + "globalthis": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz", + "integrity": "sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==", + "dev": true, + "requires": { + "define-properties": "^1.1.3" + } + }, "globby": { "version": "11.1.0", "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", @@ -9836,9 +10099,9 @@ } }, "graceful-fs": { - "version": "4.2.10", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", - "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==" + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==" }, "graphemer": { "version": "1.4.0", @@ -9874,6 +10137,12 @@ "get-intrinsic": "^1.1.1" } }, + "has-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz", + "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==", + "dev": true + }, "has-symbols": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", @@ -9945,14 +10214,15 @@ "domhandler": "^4.0.0", "domutils": "^2.5.2", "entities": "^2.0.0" - }, - "dependencies": { - "entities": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-2.2.0.tgz", - "integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==", - "dev": true - } + } + }, + "iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "dev": true, + "requires": { + "safer-buffer": ">= 2.1.2 < 3.0.0" } }, "icss-utils": { @@ -9962,9 +10232,9 @@ "requires": {} }, "ignore": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.1.tgz", - "integrity": "sha512-d2qQLzTJ9WxQftPAuEQpSPmKqzxePjzVbpAVv62AQ64NTL+wR4JkrVqR/LqFsFEUsHDAiId52mJteHDFuDkElA==" + "version": "5.2.4", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", + "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==" }, "import-fresh": { "version": "3.3.0", @@ -10000,16 +10270,27 @@ "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==" }, "internal-slot": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.4.tgz", - "integrity": "sha512-tA8URYccNzMo94s5MQZgH8NB/XTa6HsOo0MLfXTKKEnHVVdegzaQoFZ7Jp44bdvLvY2waT5dc+j5ICEswhi7UQ==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.5.tgz", + "integrity": "sha512-Y+R5hJrzs52QCG2laLn4udYVnxsfny9CpOhNhUvk/SSSVyF6T27FzRbF0sroPidSu3X8oEAkOn2K804mjpt6UQ==", "dev": true, "requires": { - "get-intrinsic": "^1.1.3", + "get-intrinsic": "^1.2.0", "has": "^1.0.3", "side-channel": "^1.0.4" } }, + "is-array-buffer": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.2.tgz", + "integrity": "sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.2.0", + "is-typed-array": "^1.1.10" + } + }, "is-arrayish": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", @@ -10060,9 +10341,9 @@ "dev": true }, "is-core-module": { - "version": "2.11.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.11.0.tgz", - "integrity": "sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==", + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.12.1.tgz", + "integrity": "sha512-Q4ZuBAe2FUsKtyQJoQHlvP8OvBERxO3jEmy1I7hcRXcJBGGHFh/aJBswbXuS9sgrDH2QUO8ilkwNPHvHMd8clg==", "dev": true, "requires": { "has": "^1.0.3" @@ -10169,6 +10450,19 @@ "has-symbols": "^1.0.2" } }, + "is-typed-array": { + "version": "1.1.10", + "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.10.tgz", + "integrity": "sha512-PJqgEHiWZvMpaFZ3uTc8kHPM4+4ADTlDniuQL7cU/UDA0Ql7F70yGfHph3cLNe+c9toaigv+DFzTJKhc2CtO6A==", + "dev": true, + "requires": { + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-tostringtag": "^1.0.0" + } + }, "is-unicode-supported": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", @@ -10338,19 +10632,21 @@ "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==" }, "json5": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.2.tgz", - "integrity": "sha512-46Tk9JiOL2z7ytNQWFLpj99RZkVgeHf87yGQKsIkaPz1qSH9UczKH1rO7K3wgRselo0tYMUNfecYpm/p1vC7tQ==", + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", "dev": true }, "jsx-ast-utils": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.3.3.tgz", - "integrity": "sha512-fYQHZTZ8jSfmWZ0iyzfwiU4WDX4HpHbMCZ3gPlWYiCl3BoeOTsqKBqnTVfH2rYT7eP5c3sVbeSPHnnJOaTrWiw==", + "version": "3.3.4", + "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.3.4.tgz", + "integrity": "sha512-fX2TVdCViod6HwKEtSWGHs57oFhVfCMwieb9PuRDgjDPh5XeqJiHFFFJCHxU5cnTc3Bu/GRL+kPiFmw8XWOfKw==", "dev": true, "requires": { - "array-includes": "^3.1.5", - "object.assign": "^4.1.3" + "array-includes": "^3.1.6", + "array.prototype.flat": "^1.3.1", + "object.assign": "^4.1.4", + "object.values": "^1.1.6" } }, "levn": { @@ -10543,9 +10839,9 @@ }, "dependencies": { "ajv": { - "version": "8.11.2", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.11.2.tgz", - "integrity": "sha512-E4bfmKAhGiSTvMfL1Myyycaub+cUEU2/IvpylXkUu7CHBkBj1f/ikdzbD7YQ6FKUbixDxeYvB/xY4fvyroDlQg==", + "version": "8.12.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", + "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", "dev": true, "requires": { "fast-deep-equal": "^3.1.1", @@ -10570,15 +10866,15 @@ "dev": true }, "schema-utils": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.0.0.tgz", - "integrity": "sha512-1edyXKgh6XnJsJSQ8mKWXnN/BVaIbFMLpouRUrXgVq7WYne5kw3MW7UPhO44uRXQSIpTSXoJbmrR2X0w9kUTyg==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.2.0.tgz", + "integrity": "sha512-L0jRsrPpjdckP3oPug3/VxNKt2trR8TcabrM6FOAAlvC/9Phcmm+cuAgTlxBqdBR1WJx7Naj9WHw+aOmheSVbw==", "dev": true, "requires": { "@types/json-schema": "^7.0.9", - "ajv": "^8.8.0", + "ajv": "^8.9.0", "ajv-formats": "^2.1.1", - "ajv-keywords": "^5.0.0" + "ajv-keywords": "^5.1.0" } } } @@ -10750,9 +11046,9 @@ } }, "node-releases": { - "version": "2.0.10", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.10.tgz", - "integrity": "sha512-5GFldHPXVG/YZmFzJvKK2zDSzPKhEp0+ZR5SVaoSag9fsL5YgHbUHDfnG5494ISANDcK4KwPXAx2xqVEydmd7w==" + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.12.tgz", + "integrity": "sha512-QzsYKWhXTWx8h1kIvqfnC++o0pEmpRQA/aenALsL2F4pqNVr7YzcdMlDij5WBnwftRbJCNJL/O7zdKaxKPHqgQ==" }, "nopt": { "version": "6.0.0", @@ -10934,9 +11230,9 @@ "dev": true }, "object-inspect": { - "version": "1.12.2", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.2.tgz", - "integrity": "sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ==", + "version": "1.12.3", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz", + "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==", "dev": true }, "object-keys": { @@ -11102,18 +11398,18 @@ "dev": true }, "path-scurry": { - "version": "1.9.2", - "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.9.2.tgz", - "integrity": "sha512-qSDLy2aGFPm8i4rsbHd4MNyTcrzHFsLQykrtbuGRknZZCBBVXSv2tSCDN2Cg6Rt/GFRw8GoW9y9Ecw5rIPG1sg==", + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.10.0.tgz", + "integrity": "sha512-tZFEaRQbMLjwrsmidsGJ6wDMv0iazJWk6SfIKnY4Xru8auXgmJkOBa5DUbYFcFD2Rzk2+KDlIiF0GVXNCbgC7g==", "requires": { - "lru-cache": "^9.1.1", + "lru-cache": "^9.1.1 || ^10.0.0", "minipass": "^5.0.0 || ^6.0.2" }, "dependencies": { "lru-cache": { - "version": "9.1.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-9.1.1.tgz", - "integrity": "sha512-65/Jky17UwSb0BuB9V+MyDpsOtXKmYwzhyl+cOa9XUiI4uV2Ouy/2voFP3+al0BjZbJgMBD8FojMpAf+Z+qn4A==" + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.0.0.tgz", + "integrity": "sha512-svTf/fzsKHffP42sujkO/Rjs37BCIsQVRCeNYIm9WN8rgT7ffoUnRtZCqU+6BqcSBdv8gwJeTz8knJpgACeQMw==" } } }, @@ -11235,9 +11531,9 @@ "requires": {} }, "postcss-selector-parser": { - "version": "6.0.11", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.11.tgz", - "integrity": "sha512-zbARubNdogI9j7WY4nQJBiNqQf3sLS3wCP4WfOidu+p28LofJqDH1tcXypGrcmMHhDk2t9wGhCsYe/+szLTy1g==", + "version": "6.0.13", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.13.tgz", + "integrity": "sha512-EaV1Gl4mUEV4ddhDnv/xtj7sxwrwxdetHdWUGnT4VJQf+4d05v6lHYZr8N573k5Z0BViss7BDhfWtKS3+sfAqQ==", "requires": { "cssesc": "^3.0.0", "util-deprecate": "^1.0.2" @@ -11290,6 +11586,11 @@ "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", "integrity": "sha512-b/YwNhb8lk1Zz2+bXXpS/LK9OisiZZ1SNsSLxN1x2OXVEhW2Ckr/7mWE5vrC1ZTiJlD9g19jWszTmJsB+oEpFQ==" }, + "punycode": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", + "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==" + }, "queue-microtask": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", @@ -11370,14 +11671,14 @@ } }, "regexp.prototype.flags": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.4.3.tgz", - "integrity": "sha512-fjggEOO3slI6Wvgjwflkc4NFRCTZAu5CnNfBd5qOMYhWdn67nJBBu34/TkD++eeFmd8C9r9jfXJ27+nSiRkSUA==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.0.tgz", + "integrity": "sha512-0SutC3pNudRKgquxGoRGIz946MZVHqbNfPjBdxeOhBrdgDKlRoXmYLQN9xRbrR09ZXWeGAdPuif7egofn6v5LA==", "dev": true, "requires": { "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "functions-have-names": "^1.2.2" + "define-properties": "^1.2.0", + "functions-have-names": "^1.2.3" } }, "relateurl": { @@ -11411,12 +11712,12 @@ "dev": true }, "resolve": { - "version": "1.22.1", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz", - "integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==", + "version": "1.22.2", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.2.tgz", + "integrity": "sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g==", "dev": true, "requires": { - "is-core-module": "^2.9.0", + "is-core-module": "^2.11.0", "path-parse": "^1.0.7", "supports-preserve-symlinks-flag": "^1.0.0" } @@ -11457,21 +11758,21 @@ } }, "glob": { - "version": "10.2.6", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.2.6.tgz", - "integrity": "sha512-U/rnDpXJGF414QQQZv5uVsabTVxMSwzS5CH0p3DRCIV6ownl4f7PzGnkGmvlum2wB+9RlJWJZ6ACU1INnBqiPA==", + "version": "10.3.1", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.1.tgz", + "integrity": "sha512-9BKYcEeIs7QwlCYs+Y3GBvqAMISufUS0i2ELd11zpZjxI5V9iyRj0HgzB5/cLf2NY4vcYBTYzJ7GIui7j/4DOw==", "requires": { "foreground-child": "^3.1.0", "jackspeak": "^2.0.3", "minimatch": "^9.0.1", "minipass": "^5.0.0 || ^6.0.2", - "path-scurry": "^1.7.0" + "path-scurry": "^1.10.0" } }, "minimatch": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.1.tgz", - "integrity": "sha512-0jWhJpD/MdhPXwPuiRkCbfYfSKp2qnn2eOc279qI7f+osl/l+prKSrvhg157zSYvx/1nmgn2NqdT6k2Z7zSH9w==", + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.2.tgz", + "integrity": "sha512-PZOT9g5v2ojiTL7r1xF6plNHLtOeTpSlDI007As2NlA2aYBMfVom17yqa6QzhmDP8QOhn7LjHTg7DFCVSSa6yg==", "requires": { "brace-expansion": "^2.0.1" } @@ -11484,9 +11785,9 @@ } }, "rollup": { - "version": "3.26.0", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.26.0.tgz", - "integrity": "sha512-YzJH0eunH2hr3knvF3i6IkLO/jTjAEwU4HoMUbQl4//Tnl3ou0e7P5SjxdDr8HQJdeUJShlbEHXrrnEHy1l7Yg==", + "version": "3.26.1", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.26.1.tgz", + "integrity": "sha512-I5gJCSpSMr3U9wv4D5YA8g7w7cj3eaSDeo7t+JcaFQOmoOUBgu4K9iMp8k3EZnwbJrjQxUMSKxMyB8qEQzzaSg==", "requires": { "fsevents": "~2.3.2" } @@ -11541,9 +11842,9 @@ } }, "semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "version": "7.5.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz", + "integrity": "sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==", "requires": { "lru-cache": "^6.0.0" } @@ -11571,9 +11872,9 @@ "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==" }, "shell-quote": { - "version": "1.7.4", - "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.7.4.tgz", - "integrity": "sha512-8o/QEhSSRb1a5i7TFR0iM4G16Z0vYB2OQVs4G3aAFXjn3T6yEx8AZxy1PgDF7I00LZHYA3WxaSYIf5e5sAX8Rw==", + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.8.1.tgz", + "integrity": "sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA==", "dev": true }, "side-channel": { @@ -11623,17 +11924,6 @@ "abab": "^2.0.6", "iconv-lite": "^0.6.3", "source-map-js": "^1.0.2" - }, - "dependencies": { - "iconv-lite": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", - "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", - "dev": true, - "requires": { - "safer-buffer": ">= 2.1.2 < 3.0.0" - } - } } }, "source-map-support": { @@ -11653,9 +11943,9 @@ } }, "spdx-correct": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz", - "integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.2.0.tgz", + "integrity": "sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==", "dev": true, "requires": { "spdx-expression-parse": "^3.0.0", @@ -11679,9 +11969,9 @@ } }, "spdx-license-ids": { - "version": "3.0.12", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.12.tgz", - "integrity": "sha512-rr+VVSXtRhO4OHbXUiAF7xW3Bo9DuuF6C5jH+q/x15j2jniycgKbxU09Hr0WqlSLUs4i4ltHGXqTe7VHclYWyA==", + "version": "3.0.13", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.13.tgz", + "integrity": "sha512-XkD+zwiqXHikFZm4AX/7JSCXA98U5Db4AFd5XUg/+9UNtnH75+Z9KxtpYiJZx36mUDVOwH83pl7yvCer6ewM3w==", "dev": true }, "string-width": { @@ -11731,6 +12021,17 @@ "es-abstract": "^1.20.4" } }, + "string.prototype.trim": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.7.tgz", + "integrity": "sha512-p6TmeT1T3411M8Cgg9wBTMRtY2q9+PNy9EV1i2lIXUN/btt763oIfxwN3RR8VU6wHX8j/1CFy0L+YuThm6bgOg==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4" + } + }, "string.prototype.trimend": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.6.tgz", @@ -11807,12 +12108,12 @@ "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==" }, "terser": { - "version": "5.17.1", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.17.1.tgz", - "integrity": "sha512-hVl35zClmpisy6oaoKALOpS0rDYLxRFLHhRuDlEGTKey9qHjS1w9GMORjuwIMt70Wan4lwsLYyWDVnWgF+KUEw==", + "version": "5.18.2", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.18.2.tgz", + "integrity": "sha512-Ah19JS86ypbJzTzvUCX7KOsEIhDaRONungA4aYBjEP3JZRf4ocuDzTg4QWZnPn9DEMiMYGJPiSOy7aykoCc70w==", "requires": { - "@jridgewell/source-map": "^0.3.2", - "acorn": "^8.5.0", + "@jridgewell/source-map": "^0.3.3", + "acorn": "^8.8.2", "commander": "^2.20.0", "source-map-support": "~0.5.20" }, @@ -11825,15 +12126,15 @@ } }, "terser-webpack-plugin": { - "version": "5.3.7", - "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.7.tgz", - "integrity": "sha512-AfKwIktyP7Cu50xNjXF/6Qb5lBNzYaWpU6YfoX3uZicTx0zTy0stDDCsvjDapKsSDvOeWo5MEq4TmdBy2cNoHw==", + "version": "5.3.9", + "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.9.tgz", + "integrity": "sha512-ZuXsqE07EcggTWQjXUj+Aot/OMcD0bMKGgF63f7UxYcu5/AJF53aIpK1YoP5xR9l6s/Hy2b+t1AM0bLNPRuhwA==", "requires": { "@jridgewell/trace-mapping": "^0.3.17", "jest-worker": "^27.4.5", "schema-utils": "^3.1.1", "serialize-javascript": "^6.0.1", - "terser": "^5.16.5" + "terser": "^5.16.8" }, "dependencies": { "serialize-javascript": { @@ -11877,9 +12178,9 @@ "dev": true }, "tsconfig-paths": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-4.1.2.tgz", - "integrity": "sha512-uhxiMgnXQp1IR622dUXI+9Ehnws7i/y6xvpZB9IbUVOPy0muvdvgXeZOn88UcGPiT98Vp3rJPTa8bFoalZ3Qhw==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-4.2.0.tgz", + "integrity": "sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg==", "dev": true, "requires": { "json5": "^2.2.2", @@ -11899,9 +12200,9 @@ } }, "tslib": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.1.tgz", - "integrity": "sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA==", + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.0.tgz", + "integrity": "sha512-7At1WUettjcSRHXCyYtTselblcHl9PJFFVKiCAy/bY97+BPZXSQ2wbq0P9s8tK2G7dFQfNnlJnPAiArVBVBsfA==", "dev": true }, "tsutils": { @@ -11937,6 +12238,17 @@ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==" }, + "typed-array-length": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.4.tgz", + "integrity": "sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "is-typed-array": "^1.1.9" + } + }, "typescript": { "version": "5.1.6", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.6.tgz", @@ -11955,9 +12267,9 @@ } }, "update-browserslist-db": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.10.tgz", - "integrity": "sha512-OztqDenkfFkbSG+tRxBeAnCVPckDBcvibKd35yDONx6OU8N7sqgwc7rCbkJ/WcYtVRZ4ba68d6byhC21GFh7sQ==", + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.11.tgz", + "integrity": "sha512-dCwEFf0/oT85M1fHBg4F0jtLwJrutGoHSQXCh7u4o2t1drG+c0a9Flnqww6XUKSfQMPpJBRjU8d4RXB09qtvaA==", "requires": { "escalade": "^3.1.1", "picocolors": "^1.0.0" @@ -11969,13 +12281,6 @@ "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", "requires": { "punycode": "^2.1.0" - }, - "dependencies": { - "punycode": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", - "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==" - } } }, "url-loader": { @@ -12009,9 +12314,9 @@ "dev": true }, "v8-to-istanbul": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.0.1.tgz", - "integrity": "sha512-74Y4LqY74kLE6IFyIjPtkSTWzUZmj8tdHT9Ii/26dvQ6K9Dl2NbEfj0XgU2sHCtKgt5VupqhlO/5aWuqS+IY1w==", + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.1.0.tgz", + "integrity": "sha512-6z3GW9x8G1gd+JIIgQQQxXuiJtCXeAjp6RaPEPLv62mH3iPHPxV6W3robxtCzNErRo6ZwTmzWhsbNvjyEBKzKA==", "dev": true, "requires": { "@jridgewell/trace-mapping": "^0.3.12", @@ -12161,6 +12466,20 @@ "is-symbol": "^1.0.3" } }, + "which-typed-array": { + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.9.tgz", + "integrity": "sha512-w9c4xkx6mPidwp7180ckYWfMmvxpjlZuIudNtDf4N/tTAUB8VJbX25qZoAsrtGuYNnGw3pa0AXgbGKRB8/EceA==", + "dev": true, + "requires": { + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-tostringtag": "^1.0.0", + "is-typed-array": "^1.1.10" + } + }, "workerpool": { "version": "6.2.1", "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.2.1.tgz", @@ -12239,14 +12558,6 @@ "decamelize": "^4.0.0", "flat": "^5.0.2", "is-plain-obj": "^2.1.0" - }, - "dependencies": { - "camelcase": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", - "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", - "dev": true - } } }, "yocto-queue": { From e70f7b4021fa58e2fa6ea55ec2fac176931400b1 Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Wed, 5 Jul 2023 12:23:59 +0300 Subject: [PATCH 36/81] v5.14.0 --- package-lock.json | 250 +++++++++---------- packages/build-tools/package.json | 4 +- packages/cli/package.json | 14 +- packages/code-formatter/package.json | 4 +- packages/core-test-kit/package.json | 4 +- packages/core/package.json | 2 +- packages/create-stylable-app/package.json | 2 +- packages/custom-value/package.json | 4 +- packages/dom-test-kit/package.json | 6 +- packages/e2e-test-kit/package.json | 4 +- packages/esbuild/package.json | 16 +- packages/eslint-plugin-stylable/package.json | 4 +- packages/experimental-loader/package.json | 6 +- packages/jest/package.json | 10 +- packages/language-service/package.json | 6 +- packages/module-utils/package.json | 4 +- packages/node/package.json | 8 +- packages/optimizer/package.json | 4 +- packages/rollup-plugin/package.json | 14 +- packages/runtime/package.json | 2 +- packages/schema-extract/package.json | 4 +- packages/uni-driver/package.json | 2 +- packages/webpack-extensions/package.json | 8 +- packages/webpack-plugin/package.json | 16 +- 24 files changed, 199 insertions(+), 199 deletions(-) diff --git a/package-lock.json b/package-lock.json index a2d752d27..aceb3d91d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7046,10 +7046,10 @@ }, "packages/build-tools": { "name": "@stylable/build-tools", - "version": "5.13.0", + "version": "5.14.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.13.0", + "@stylable/core": "^5.14.0", "find-config": "^1.0.0" }, "engines": { @@ -7058,17 +7058,17 @@ }, "packages/cli": { "name": "@stylable/cli", - "version": "5.13.0", + "version": "5.14.0", "license": "MIT", "dependencies": { "@file-services/node": "^7.4.0", "@file-services/types": "^7.4.0", - "@stylable/build-tools": "^5.13.0", - "@stylable/code-formatter": "^5.13.0", - "@stylable/core": "^5.13.0", - "@stylable/module-utils": "^5.13.0", - "@stylable/node": "^5.13.0", - "@stylable/optimizer": "^5.13.0", + "@stylable/build-tools": "^5.14.0", + "@stylable/code-formatter": "^5.14.0", + "@stylable/core": "^5.14.0", + "@stylable/module-utils": "^5.14.0", + "@stylable/node": "^5.14.0", + "@stylable/optimizer": "^5.14.0", "@wixc3/resolve-directory-context": "^3.0.5", "decache": "^4.6.2", "lodash.camelcase": "^4.3.0", @@ -7097,10 +7097,10 @@ }, "packages/code-formatter": { "name": "@stylable/code-formatter", - "version": "5.13.0", + "version": "5.14.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.13.0", + "@stylable/core": "^5.14.0", "@tokey/css-value-parser": "^0.1.3", "js-beautify": "^1.14.8", "postcss": "^8.4.24" @@ -7111,7 +7111,7 @@ }, "packages/core": { "name": "@stylable/core", - "version": "5.13.0", + "version": "5.14.0", "license": "MIT", "dependencies": { "@tokey/css-selector-parser": "^0.6.1", @@ -7136,11 +7136,11 @@ }, "packages/core-test-kit": { "name": "@stylable/core-test-kit", - "version": "5.13.0", + "version": "5.14.0", "license": "MIT", "dependencies": { "@file-services/memory": "^7.4.0", - "@stylable/core": "^5.13.0", + "@stylable/core": "^5.14.0", "chai": "^4.3.7", "flat": "^5.0.2", "postcss": "^8.4.24" @@ -7154,7 +7154,7 @@ "license": "MIT" }, "packages/create-stylable-app": { - "version": "5.13.0", + "version": "5.14.0", "license": "MIT", "dependencies": { "validate-npm-package-name": "^5.0.0", @@ -7169,10 +7169,10 @@ }, "packages/custom-value": { "name": "@stylable/custom-value", - "version": "5.13.0", + "version": "5.14.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.13.0" + "@stylable/core": "^5.14.0" }, "engines": { "node": ">=14.14.0" @@ -7180,11 +7180,11 @@ }, "packages/dom-test-kit": { "name": "@stylable/dom-test-kit", - "version": "5.13.0", + "version": "5.14.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.13.0", - "@stylable/runtime": "^5.13.0", + "@stylable/core": "^5.14.0", + "@stylable/runtime": "^5.14.0", "@tokey/css-selector-parser": "^0.6.1" }, "engines": { @@ -7193,10 +7193,10 @@ }, "packages/e2e-test-kit": { "name": "@stylable/e2e-test-kit", - "version": "5.13.0", + "version": "5.14.0", "license": "MIT", "dependencies": { - "@stylable/runtime": "^5.13.0", + "@stylable/runtime": "^5.14.0", "node-eval": "^2.0.0", "playwright-core": "^1.35.1", "rimraf": "^5.0.1" @@ -7210,16 +7210,16 @@ }, "packages/esbuild": { "name": "@stylable/esbuild", - "version": "5.13.0", + "version": "5.14.0", "license": "MIT", "dependencies": { - "@stylable/build-tools": "^5.13.0", - "@stylable/cli": "^5.13.0", - "@stylable/core": "^5.13.0", - "@stylable/module-utils": "^5.13.0", - "@stylable/node": "^5.13.0", - "@stylable/optimizer": "^5.13.0", - "@stylable/runtime": "^5.13.0", + "@stylable/build-tools": "^5.14.0", + "@stylable/cli": "^5.14.0", + "@stylable/core": "^5.14.0", + "@stylable/module-utils": "^5.14.0", + "@stylable/node": "^5.14.0", + "@stylable/optimizer": "^5.14.0", + "@stylable/runtime": "^5.14.0", "decache": "^4.6.2" }, "engines": { @@ -7230,20 +7230,20 @@ } }, "packages/eslint-plugin-stylable": { - "version": "5.13.0", + "version": "5.14.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.13.0", + "@stylable/core": "^5.14.0", "@typescript-eslint/experimental-utils": "^5.61.0" } }, "packages/experimental-loader": { "name": "@stylable/experimental-loader", - "version": "5.13.0", + "version": "5.14.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.13.0", - "@stylable/runtime": "^5.13.0", + "@stylable/core": "^5.14.0", + "@stylable/runtime": "^5.14.0", "css-loader": "^6.8.1", "decache": "^4.6.2", "loader-utils": "^3.2.1" @@ -7258,13 +7258,13 @@ }, "packages/jest": { "name": "@stylable/jest", - "version": "5.13.0", + "version": "5.14.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.13.0", - "@stylable/module-utils": "^5.13.0", - "@stylable/node": "^5.13.0", - "@stylable/runtime": "^5.13.0" + "@stylable/core": "^5.14.0", + "@stylable/module-utils": "^5.14.0", + "@stylable/node": "^5.14.0", + "@stylable/runtime": "^5.14.0" }, "engines": { "node": ">=14.14.0" @@ -7272,13 +7272,13 @@ }, "packages/language-service": { "name": "@stylable/language-service", - "version": "5.13.0", + "version": "5.14.0", "license": "MIT", "dependencies": { "@file-services/types": "^7.4.0", "@file-services/typescript": "^7.4.0", - "@stylable/code-formatter": "^5.13.0", - "@stylable/core": "^5.13.0", + "@stylable/code-formatter": "^5.14.0", + "@stylable/core": "^5.14.0", "@tokey/core": "^1.4.0", "@tokey/css-selector-parser": "^0.6.1", "@tokey/css-value-parser": "^0.1.3", @@ -7299,10 +7299,10 @@ }, "packages/module-utils": { "name": "@stylable/module-utils", - "version": "5.13.0", + "version": "5.14.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.13.0", + "@stylable/core": "^5.14.0", "@tokey/core": "^1.4.0", "vlq": "^2.0.4" }, @@ -7312,12 +7312,12 @@ }, "packages/node": { "name": "@stylable/node", - "version": "5.13.0", + "version": "5.14.0", "license": "MIT", "dependencies": { - "@stylable/build-tools": "^5.13.0", - "@stylable/core": "^5.13.0", - "@stylable/module-utils": "^5.13.0", + "@stylable/build-tools": "^5.14.0", + "@stylable/core": "^5.14.0", + "@stylable/module-utils": "^5.14.0", "find-config": "^1.0.0" }, "engines": { @@ -7326,10 +7326,10 @@ }, "packages/optimizer": { "name": "@stylable/optimizer", - "version": "5.13.0", + "version": "5.14.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.13.0", + "@stylable/core": "^5.14.0", "@tokey/css-selector-parser": "^0.6.1", "csso": "^5.0.5", "postcss": "^8.4.24" @@ -7340,15 +7340,15 @@ }, "packages/rollup-plugin": { "name": "@stylable/rollup-plugin", - "version": "5.13.0", + "version": "5.14.0", "license": "MIT", "dependencies": { - "@stylable/build-tools": "^5.13.0", - "@stylable/cli": "^5.13.0", - "@stylable/core": "^5.13.0", - "@stylable/node": "^5.13.0", - "@stylable/optimizer": "^5.13.0", - "@stylable/runtime": "^5.13.0", + "@stylable/build-tools": "^5.14.0", + "@stylable/cli": "^5.14.0", + "@stylable/core": "^5.14.0", + "@stylable/node": "^5.14.0", + "@stylable/optimizer": "^5.14.0", + "@stylable/runtime": "^5.14.0", "decache": "^4.6.2", "mime": "^3.0.0" }, @@ -7371,7 +7371,7 @@ }, "packages/runtime": { "name": "@stylable/runtime", - "version": "5.13.0", + "version": "5.14.0", "license": "MIT", "engines": { "node": ">=14.14.0" @@ -7379,10 +7379,10 @@ }, "packages/schema-extract": { "name": "@stylable/schema-extract", - "version": "5.13.0", + "version": "5.14.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.13.0", + "@stylable/core": "^5.14.0", "jest-docblock": "^29.4.3" }, "engines": { @@ -7391,7 +7391,7 @@ }, "packages/uni-driver": { "name": "@stylable/uni-driver", - "version": "5.13.0", + "version": "5.14.0", "license": "MIT", "engines": { "node": ">=14.14.0" @@ -7399,12 +7399,12 @@ }, "packages/webpack-extensions": { "name": "@stylable/webpack-extensions", - "version": "5.13.0", + "version": "5.14.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.13.0", - "@stylable/node": "^5.13.0", - "@stylable/webpack-plugin": "^5.13.0", + "@stylable/core": "^5.14.0", + "@stylable/node": "^5.14.0", + "@stylable/webpack-plugin": "^5.14.0", "@tokey/css-selector-parser": "^0.6.1", "find-config": "^1.0.0", "lodash.clonedeep": "^4.5.0" @@ -7418,16 +7418,16 @@ }, "packages/webpack-plugin": { "name": "@stylable/webpack-plugin", - "version": "5.13.0", + "version": "5.14.0", "license": "MIT", "dependencies": { - "@stylable/build-tools": "^5.13.0", - "@stylable/cli": "^5.13.0", - "@stylable/core": "^5.13.0", - "@stylable/module-utils": "^5.13.0", - "@stylable/node": "^5.13.0", - "@stylable/optimizer": "^5.13.0", - "@stylable/runtime": "^5.13.0", + "@stylable/build-tools": "^5.14.0", + "@stylable/cli": "^5.14.0", + "@stylable/core": "^5.14.0", + "@stylable/module-utils": "^5.14.0", + "@stylable/node": "^5.14.0", + "@stylable/optimizer": "^5.14.0", + "@stylable/runtime": "^5.14.0", "decache": "^4.6.2", "lodash.clonedeep": "^4.5.0", "postcss": "^8.4.24" @@ -7886,7 +7886,7 @@ "@stylable/build-tools": { "version": "file:packages/build-tools", "requires": { - "@stylable/core": "^5.13.0", + "@stylable/core": "^5.14.0", "find-config": "^1.0.0" } }, @@ -7895,12 +7895,12 @@ "requires": { "@file-services/node": "^7.4.0", "@file-services/types": "^7.4.0", - "@stylable/build-tools": "^5.13.0", - "@stylable/code-formatter": "^5.13.0", - "@stylable/core": "^5.13.0", - "@stylable/module-utils": "^5.13.0", - "@stylable/node": "^5.13.0", - "@stylable/optimizer": "^5.13.0", + "@stylable/build-tools": "^5.14.0", + "@stylable/code-formatter": "^5.14.0", + "@stylable/core": "^5.14.0", + "@stylable/module-utils": "^5.14.0", + "@stylable/node": "^5.14.0", + "@stylable/optimizer": "^5.14.0", "@wixc3/resolve-directory-context": "^3.0.5", "decache": "^4.6.2", "lodash.camelcase": "^4.3.0", @@ -7917,7 +7917,7 @@ "@stylable/code-formatter": { "version": "file:packages/code-formatter", "requires": { - "@stylable/core": "^5.13.0", + "@stylable/core": "^5.14.0", "@tokey/css-value-parser": "^0.1.3", "js-beautify": "^1.14.8", "postcss": "^8.4.24" @@ -7952,7 +7952,7 @@ "version": "file:packages/core-test-kit", "requires": { "@file-services/memory": "^7.4.0", - "@stylable/core": "^5.13.0", + "@stylable/core": "^5.14.0", "chai": "^4.3.7", "flat": "^5.0.2", "postcss": "^8.4.24" @@ -7961,21 +7961,21 @@ "@stylable/custom-value": { "version": "file:packages/custom-value", "requires": { - "@stylable/core": "^5.13.0" + "@stylable/core": "^5.14.0" } }, "@stylable/dom-test-kit": { "version": "file:packages/dom-test-kit", "requires": { - "@stylable/core": "^5.13.0", - "@stylable/runtime": "^5.13.0", + "@stylable/core": "^5.14.0", + "@stylable/runtime": "^5.14.0", "@tokey/css-selector-parser": "^0.6.1" } }, "@stylable/e2e-test-kit": { "version": "file:packages/e2e-test-kit", "requires": { - "@stylable/runtime": "^5.13.0", + "@stylable/runtime": "^5.14.0", "node-eval": "^2.0.0", "playwright-core": "^1.35.1", "rimraf": "^5.0.1" @@ -7984,21 +7984,21 @@ "@stylable/esbuild": { "version": "file:packages/esbuild", "requires": { - "@stylable/build-tools": "^5.13.0", - "@stylable/cli": "^5.13.0", - "@stylable/core": "^5.13.0", - "@stylable/module-utils": "^5.13.0", - "@stylable/node": "^5.13.0", - "@stylable/optimizer": "^5.13.0", - "@stylable/runtime": "^5.13.0", + "@stylable/build-tools": "^5.14.0", + "@stylable/cli": "^5.14.0", + "@stylable/core": "^5.14.0", + "@stylable/module-utils": "^5.14.0", + "@stylable/node": "^5.14.0", + "@stylable/optimizer": "^5.14.0", + "@stylable/runtime": "^5.14.0", "decache": "^4.6.2" } }, "@stylable/experimental-loader": { "version": "file:packages/experimental-loader", "requires": { - "@stylable/core": "^5.13.0", - "@stylable/runtime": "^5.13.0", + "@stylable/core": "^5.14.0", + "@stylable/runtime": "^5.14.0", "css-loader": "^6.8.1", "decache": "^4.6.2", "loader-utils": "^3.2.1" @@ -8012,10 +8012,10 @@ "@stylable/jest": { "version": "file:packages/jest", "requires": { - "@stylable/core": "^5.13.0", - "@stylable/module-utils": "^5.13.0", - "@stylable/node": "^5.13.0", - "@stylable/runtime": "^5.13.0" + "@stylable/core": "^5.14.0", + "@stylable/module-utils": "^5.14.0", + "@stylable/node": "^5.14.0", + "@stylable/runtime": "^5.14.0" } }, "@stylable/language-service": { @@ -8023,8 +8023,8 @@ "requires": { "@file-services/types": "^7.4.0", "@file-services/typescript": "^7.4.0", - "@stylable/code-formatter": "^5.13.0", - "@stylable/core": "^5.13.0", + "@stylable/code-formatter": "^5.14.0", + "@stylable/core": "^5.14.0", "@tokey/core": "^1.4.0", "@tokey/css-selector-parser": "^0.6.1", "@tokey/css-value-parser": "^0.1.3", @@ -8040,7 +8040,7 @@ "@stylable/module-utils": { "version": "file:packages/module-utils", "requires": { - "@stylable/core": "^5.13.0", + "@stylable/core": "^5.14.0", "@tokey/core": "^1.4.0", "vlq": "^2.0.4" } @@ -8048,16 +8048,16 @@ "@stylable/node": { "version": "file:packages/node", "requires": { - "@stylable/build-tools": "^5.13.0", - "@stylable/core": "^5.13.0", - "@stylable/module-utils": "^5.13.0", + "@stylable/build-tools": "^5.14.0", + "@stylable/core": "^5.14.0", + "@stylable/module-utils": "^5.14.0", "find-config": "^1.0.0" } }, "@stylable/optimizer": { "version": "file:packages/optimizer", "requires": { - "@stylable/core": "^5.13.0", + "@stylable/core": "^5.14.0", "@tokey/css-selector-parser": "^0.6.1", "csso": "^5.0.5", "postcss": "^8.4.24" @@ -8066,12 +8066,12 @@ "@stylable/rollup-plugin": { "version": "file:packages/rollup-plugin", "requires": { - "@stylable/build-tools": "^5.13.0", - "@stylable/cli": "^5.13.0", - "@stylable/core": "^5.13.0", - "@stylable/node": "^5.13.0", - "@stylable/optimizer": "^5.13.0", - "@stylable/runtime": "^5.13.0", + "@stylable/build-tools": "^5.14.0", + "@stylable/cli": "^5.14.0", + "@stylable/core": "^5.14.0", + "@stylable/node": "^5.14.0", + "@stylable/optimizer": "^5.14.0", + "@stylable/runtime": "^5.14.0", "decache": "^4.6.2", "mime": "^3.0.0" }, @@ -8087,7 +8087,7 @@ "@stylable/schema-extract": { "version": "file:packages/schema-extract", "requires": { - "@stylable/core": "^5.13.0", + "@stylable/core": "^5.14.0", "jest-docblock": "^29.4.3" } }, @@ -8097,9 +8097,9 @@ "@stylable/webpack-extensions": { "version": "file:packages/webpack-extensions", "requires": { - "@stylable/core": "^5.13.0", - "@stylable/node": "^5.13.0", - "@stylable/webpack-plugin": "^5.13.0", + "@stylable/core": "^5.14.0", + "@stylable/node": "^5.14.0", + "@stylable/webpack-plugin": "^5.14.0", "@tokey/css-selector-parser": "^0.6.1", "find-config": "^1.0.0", "lodash.clonedeep": "^4.5.0" @@ -8108,13 +8108,13 @@ "@stylable/webpack-plugin": { "version": "file:packages/webpack-plugin", "requires": { - "@stylable/build-tools": "^5.13.0", - "@stylable/cli": "^5.13.0", - "@stylable/core": "^5.13.0", - "@stylable/module-utils": "^5.13.0", - "@stylable/node": "^5.13.0", - "@stylable/optimizer": "^5.13.0", - "@stylable/runtime": "^5.13.0", + "@stylable/build-tools": "^5.14.0", + "@stylable/cli": "^5.14.0", + "@stylable/core": "^5.14.0", + "@stylable/module-utils": "^5.14.0", + "@stylable/node": "^5.14.0", + "@stylable/optimizer": "^5.14.0", + "@stylable/runtime": "^5.14.0", "decache": "^4.6.2", "lodash.clonedeep": "^4.5.0", "postcss": "^8.4.24" @@ -9747,7 +9747,7 @@ "eslint-plugin-stylable": { "version": "file:packages/eslint-plugin-stylable", "requires": { - "@stylable/core": "^5.13.0", + "@stylable/core": "^5.14.0", "@typescript-eslint/experimental-utils": "^5.61.0" } }, diff --git a/packages/build-tools/package.json b/packages/build-tools/package.json index e3091a91f..b1f995073 100644 --- a/packages/build-tools/package.json +++ b/packages/build-tools/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/build-tools", - "version": "5.13.0", + "version": "5.14.0", "description": "Collection of helper functions for Stylable based tooling.", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 20000" }, "dependencies": { - "@stylable/core": "^5.13.0", + "@stylable/core": "^5.14.0", "find-config": "^1.0.0" }, "files": [ diff --git a/packages/cli/package.json b/packages/cli/package.json index 0d7782d7a..ba385d300 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/cli", - "version": "5.13.0", + "version": "5.14.0", "description": "A low-level utility used for working with Stylable projects", "main": "dist/index.js", "bin": { @@ -14,12 +14,12 @@ "dependencies": { "@file-services/node": "^7.4.0", "@file-services/types": "^7.4.0", - "@stylable/build-tools": "^5.13.0", - "@stylable/code-formatter": "^5.13.0", - "@stylable/core": "^5.13.0", - "@stylable/module-utils": "^5.13.0", - "@stylable/node": "^5.13.0", - "@stylable/optimizer": "^5.13.0", + "@stylable/build-tools": "^5.14.0", + "@stylable/code-formatter": "^5.14.0", + "@stylable/core": "^5.14.0", + "@stylable/module-utils": "^5.14.0", + "@stylable/node": "^5.14.0", + "@stylable/optimizer": "^5.14.0", "@wixc3/resolve-directory-context": "^3.0.5", "decache": "^4.6.2", "lodash.camelcase": "^4.3.0", diff --git a/packages/code-formatter/package.json b/packages/code-formatter/package.json index 07721a17a..0e426d9db 100644 --- a/packages/code-formatter/package.json +++ b/packages/code-formatter/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/code-formatter", - "version": "5.13.0", + "version": "5.14.0", "description": "A code formatting utility for Stylable stylesheets", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.13.0", + "@stylable/core": "^5.14.0", "@tokey/css-value-parser": "^0.1.3", "js-beautify": "^1.14.8", "postcss": "^8.4.24" diff --git a/packages/core-test-kit/package.json b/packages/core-test-kit/package.json index 3d41c1015..5eaa2bd90 100644 --- a/packages/core-test-kit/package.json +++ b/packages/core-test-kit/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/core-test-kit", - "version": "5.13.0", + "version": "5.14.0", "description": "Stylable core test-kit", "main": "dist/index.js", "scripts": { @@ -8,7 +8,7 @@ }, "dependencies": { "@file-services/memory": "^7.4.0", - "@stylable/core": "^5.13.0", + "@stylable/core": "^5.14.0", "chai": "^4.3.7", "flat": "^5.0.2", "postcss": "^8.4.24" diff --git a/packages/core/package.json b/packages/core/package.json index 4d467ddd2..e1232319f 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/core", - "version": "5.13.0", + "version": "5.14.0", "description": "CSS for Components", "main": "dist/index.js", "scripts": { diff --git a/packages/create-stylable-app/package.json b/packages/create-stylable-app/package.json index d93b1e3fe..2a9570e6a 100644 --- a/packages/create-stylable-app/package.json +++ b/packages/create-stylable-app/package.json @@ -1,6 +1,6 @@ { "name": "create-stylable-app", - "version": "5.13.0", + "version": "5.14.0", "description": "Quickly create a Stylable application", "main": "dist/index.js", "bin": { diff --git a/packages/custom-value/package.json b/packages/custom-value/package.json index a7a771496..f3e6370c8 100644 --- a/packages/custom-value/package.json +++ b/packages/custom-value/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/custom-value", - "version": "5.13.0", + "version": "5.14.0", "description": "Custom values (variables) for Stylable", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 20000" }, "dependencies": { - "@stylable/core": "^5.13.0" + "@stylable/core": "^5.14.0" }, "files": [ "dist", diff --git a/packages/dom-test-kit/package.json b/packages/dom-test-kit/package.json index c1b5b3c7a..5242e590a 100644 --- a/packages/dom-test-kit/package.json +++ b/packages/dom-test-kit/package.json @@ -1,14 +1,14 @@ { "name": "@stylable/dom-test-kit", - "version": "5.13.0", + "version": "5.14.0", "description": "Stylable DOM testing utilities", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.13.0", - "@stylable/runtime": "^5.13.0", + "@stylable/core": "^5.14.0", + "@stylable/runtime": "^5.14.0", "@tokey/css-selector-parser": "^0.6.1" }, "files": [ diff --git a/packages/e2e-test-kit/package.json b/packages/e2e-test-kit/package.json index 6f0f40ed9..20a968714 100644 --- a/packages/e2e-test-kit/package.json +++ b/packages/e2e-test-kit/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/e2e-test-kit", - "version": "5.13.0", + "version": "5.14.0", "description": "A collection of tools to help test Stylable components and applications from end-to-end", "main": "dist/index.js", "peerDependencies": { "webpack": "^5.30.0" }, "dependencies": { - "@stylable/runtime": "^5.13.0", + "@stylable/runtime": "^5.14.0", "node-eval": "^2.0.0", "playwright-core": "^1.35.1", "rimraf": "^5.0.1" diff --git a/packages/esbuild/package.json b/packages/esbuild/package.json index d0bf63f6b..dd7832a48 100644 --- a/packages/esbuild/package.json +++ b/packages/esbuild/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/esbuild", - "version": "5.13.0", + "version": "5.14.0", "description": "Stylable plugin for esbuild", "main": "dist/index.js", "scripts": { @@ -10,13 +10,13 @@ "esbuild": ">=0.17.18" }, "dependencies": { - "@stylable/build-tools": "^5.13.0", - "@stylable/cli": "^5.13.0", - "@stylable/core": "^5.13.0", - "@stylable/module-utils": "^5.13.0", - "@stylable/node": "^5.13.0", - "@stylable/optimizer": "^5.13.0", - "@stylable/runtime": "^5.13.0", + "@stylable/build-tools": "^5.14.0", + "@stylable/cli": "^5.14.0", + "@stylable/core": "^5.14.0", + "@stylable/module-utils": "^5.14.0", + "@stylable/node": "^5.14.0", + "@stylable/optimizer": "^5.14.0", + "@stylable/runtime": "^5.14.0", "decache": "^4.6.2" }, "files": [ diff --git a/packages/eslint-plugin-stylable/package.json b/packages/eslint-plugin-stylable/package.json index 6ee6b6367..9d27f1560 100644 --- a/packages/eslint-plugin-stylable/package.json +++ b/packages/eslint-plugin-stylable/package.json @@ -1,13 +1,13 @@ { "name": "eslint-plugin-stylable", - "version": "5.13.0", + "version": "5.14.0", "description": "eslint plugin for Stylable usages", "main": "dist/index.js", "scripts": { "test": "mocha \"dist/test/**/*.spec.js\" --timeout 5000" }, "dependencies": { - "@stylable/core": "^5.13.0", + "@stylable/core": "^5.14.0", "@typescript-eslint/experimental-utils": "^5.61.0" }, "keywords": [ diff --git a/packages/experimental-loader/package.json b/packages/experimental-loader/package.json index 8374d18a7..56f3d91f4 100644 --- a/packages/experimental-loader/package.json +++ b/packages/experimental-loader/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/experimental-loader", - "version": "5.13.0", + "version": "5.14.0", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 20000" }, "dependencies": { - "@stylable/core": "^5.13.0", - "@stylable/runtime": "^5.13.0", + "@stylable/core": "^5.14.0", + "@stylable/runtime": "^5.14.0", "css-loader": "^6.8.1", "decache": "^4.6.2", "loader-utils": "^3.2.1" diff --git a/packages/jest/package.json b/packages/jest/package.json index 8bdf69bd4..d4e5e7525 100644 --- a/packages/jest/package.json +++ b/packages/jest/package.json @@ -1,16 +1,16 @@ { "name": "@stylable/jest", - "version": "5.13.0", + "version": "5.14.0", "description": "Test your Stylable React components using Jest", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.13.0", - "@stylable/module-utils": "^5.13.0", - "@stylable/node": "^5.13.0", - "@stylable/runtime": "^5.13.0" + "@stylable/core": "^5.14.0", + "@stylable/module-utils": "^5.14.0", + "@stylable/node": "^5.14.0", + "@stylable/runtime": "^5.14.0" }, "files": [ "dist", diff --git a/packages/language-service/package.json b/packages/language-service/package.json index 4f8c98a42..584d7fc61 100644 --- a/packages/language-service/package.json +++ b/packages/language-service/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/language-service", - "version": "5.13.0", + "version": "5.14.0", "description": "Stylable Language Services - syntax highlighting, completions, hinting and more for the Stylable CSS preprocessor.", "main": "dist/index.js", "scripts": { @@ -13,8 +13,8 @@ "dependencies": { "@file-services/types": "^7.4.0", "@file-services/typescript": "^7.4.0", - "@stylable/code-formatter": "^5.13.0", - "@stylable/core": "^5.13.0", + "@stylable/code-formatter": "^5.14.0", + "@stylable/core": "^5.14.0", "@tokey/core": "^1.4.0", "@tokey/css-selector-parser": "^0.6.1", "@tokey/css-value-parser": "^0.1.3", diff --git a/packages/module-utils/package.json b/packages/module-utils/package.json index 28de5d25d..7a4e5013b 100644 --- a/packages/module-utils/package.json +++ b/packages/module-utils/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/module-utils", - "version": "5.13.0", + "version": "5.14.0", "description": "Stylable module creation utilities", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.13.0", + "@stylable/core": "^5.14.0", "@tokey/core": "^1.4.0", "vlq": "^2.0.4" }, diff --git a/packages/node/package.json b/packages/node/package.json index 7c9aa4ca3..6837b3273 100644 --- a/packages/node/package.json +++ b/packages/node/package.json @@ -1,15 +1,15 @@ { "name": "@stylable/node", - "version": "5.13.0", + "version": "5.14.0", "description": "Integrate Stylable into your node application", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 10000" }, "dependencies": { - "@stylable/build-tools": "^5.13.0", - "@stylable/core": "^5.13.0", - "@stylable/module-utils": "^5.13.0", + "@stylable/build-tools": "^5.14.0", + "@stylable/core": "^5.14.0", + "@stylable/module-utils": "^5.14.0", "find-config": "^1.0.0" }, "files": [ diff --git a/packages/optimizer/package.json b/packages/optimizer/package.json index d1091626f..fdc7ec1a5 100644 --- a/packages/optimizer/package.json +++ b/packages/optimizer/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/optimizer", - "version": "5.13.0", + "version": "5.14.0", "description": "Stylable core optimizer", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.13.0", + "@stylable/core": "^5.14.0", "@tokey/css-selector-parser": "^0.6.1", "csso": "^5.0.5", "postcss": "^8.4.24" diff --git a/packages/rollup-plugin/package.json b/packages/rollup-plugin/package.json index dd56d598f..aec3ab547 100644 --- a/packages/rollup-plugin/package.json +++ b/packages/rollup-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/rollup-plugin", - "version": "5.13.0", + "version": "5.14.0", "description": "Stylable plugin for Rollup", "main": "dist/index.js", "scripts": { @@ -10,12 +10,12 @@ "rollup": "^2.70.0 || ^3.0.0" }, "dependencies": { - "@stylable/build-tools": "^5.13.0", - "@stylable/cli": "^5.13.0", - "@stylable/core": "^5.13.0", - "@stylable/node": "^5.13.0", - "@stylable/optimizer": "^5.13.0", - "@stylable/runtime": "^5.13.0", + "@stylable/build-tools": "^5.14.0", + "@stylable/cli": "^5.14.0", + "@stylable/core": "^5.14.0", + "@stylable/node": "^5.14.0", + "@stylable/optimizer": "^5.14.0", + "@stylable/runtime": "^5.14.0", "decache": "^4.6.2", "mime": "^3.0.0" }, diff --git a/packages/runtime/package.json b/packages/runtime/package.json index 7ba8e6497..33b1f3981 100644 --- a/packages/runtime/package.json +++ b/packages/runtime/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/runtime", - "version": "5.13.0", + "version": "5.14.0", "description": "Stylable runtime DOM integration", "main": "dist/index.js", "scripts": { diff --git a/packages/schema-extract/package.json b/packages/schema-extract/package.json index 5c05d6b84..aa2db75a0 100644 --- a/packages/schema-extract/package.json +++ b/packages/schema-extract/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/schema-extract", - "version": "5.13.0", + "version": "5.14.0", "description": "A utility for extracting JSON schema objects from a Stylable stylesheet", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.13.0", + "@stylable/core": "^5.14.0", "jest-docblock": "^29.4.3" }, "files": [ diff --git a/packages/uni-driver/package.json b/packages/uni-driver/package.json index 0fe289efb..911680410 100644 --- a/packages/uni-driver/package.json +++ b/packages/uni-driver/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/uni-driver", - "version": "5.13.0", + "version": "5.14.0", "description": "Stylable UniDriver testing utilities", "main": "dist/index.js", "scripts": { diff --git a/packages/webpack-extensions/package.json b/packages/webpack-extensions/package.json index 1e78be3b0..4c40a4555 100644 --- a/packages/webpack-extensions/package.json +++ b/packages/webpack-extensions/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/webpack-extensions", - "version": "5.13.0", + "version": "5.14.0", "description": "Experimental Stylable webpack plugins", "main": "dist/index.js", "scripts": { @@ -10,9 +10,9 @@ "webpack": "^5.30.0" }, "dependencies": { - "@stylable/core": "^5.13.0", - "@stylable/node": "^5.13.0", - "@stylable/webpack-plugin": "^5.13.0", + "@stylable/core": "^5.14.0", + "@stylable/node": "^5.14.0", + "@stylable/webpack-plugin": "^5.14.0", "@tokey/css-selector-parser": "^0.6.1", "find-config": "^1.0.0", "lodash.clonedeep": "^4.5.0" diff --git a/packages/webpack-plugin/package.json b/packages/webpack-plugin/package.json index 914b6a56f..d18772417 100644 --- a/packages/webpack-plugin/package.json +++ b/packages/webpack-plugin/package.json @@ -1,7 +1,7 @@ { "name": "@stylable/webpack-plugin", "description": "Webpack (5.x) plugin for Stylable modules", - "version": "5.13.0", + "version": "5.14.0", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 20000" @@ -10,13 +10,13 @@ "webpack": "^5.30.0" }, "dependencies": { - "@stylable/build-tools": "^5.13.0", - "@stylable/cli": "^5.13.0", - "@stylable/core": "^5.13.0", - "@stylable/module-utils": "^5.13.0", - "@stylable/node": "^5.13.0", - "@stylable/optimizer": "^5.13.0", - "@stylable/runtime": "^5.13.0", + "@stylable/build-tools": "^5.14.0", + "@stylable/cli": "^5.14.0", + "@stylable/core": "^5.14.0", + "@stylable/module-utils": "^5.14.0", + "@stylable/node": "^5.14.0", + "@stylable/optimizer": "^5.14.0", + "@stylable/runtime": "^5.14.0", "decache": "^4.6.2", "lodash.clonedeep": "^4.5.0", "postcss": "^8.4.24" From 369ea93e78ab4b61cbd956ecb2da5a58ae12239c Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Sun, 9 Jul 2023 12:50:08 +0300 Subject: [PATCH 37/81] fix: warn diagnostics for `@st-scope` with no selector (#2886) --- packages/language-service/src/lib/css-service.ts | 1 + packages/language-service/test/lib/diagnostics.spec.ts | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/packages/language-service/src/lib/css-service.ts b/packages/language-service/src/lib/css-service.ts index bb9613826..7dab7883d 100644 --- a/packages/language-service/src/lib/css-service.ts +++ b/packages/language-service/src/lib/css-service.ts @@ -145,6 +145,7 @@ export class CssService { atRule.name = mq; const replacementDiff = `${stScope} ${atRule.params}`.length - `${mq} all`.length; + atRule.raws.afterName = ' '; atRule.params = 'all' + ' '.repeat(replacementDiff); }); diff --git a/packages/language-service/test/lib/diagnostics.spec.ts b/packages/language-service/test/lib/diagnostics.spec.ts index 9df7d16fb..abdfa6edb 100644 --- a/packages/language-service/test/lib/diagnostics.spec.ts +++ b/packages/language-service/test/lib/diagnostics.spec.ts @@ -176,6 +176,14 @@ describe('diagnostics', () => { const diagnostics = createDiagnostics( { [filePath]: deindent(` + @st-scope{ + .root {} + } + + @st-scope { + .root {} + } + @st-scope [div=rtl] { .root {} } From 151f90355608ee724ac5f88bec870c853390e0d4 Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Sun, 9 Jul 2023 13:13:24 +0300 Subject: [PATCH 38/81] fix: first level pseudo-element def with extend in structure mode (#2888) --- packages/core/src/stylable-transformer.ts | 9 +++++++-- .../core/test/features/st-structure.spec.ts | 20 +++++++++++++++++++ 2 files changed, 27 insertions(+), 2 deletions(-) diff --git a/packages/core/src/stylable-transformer.ts b/packages/core/src/stylable-transformer.ts index a10693fc4..b7c21a824 100644 --- a/packages/core/src/stylable-transformer.ts +++ b/packages/core/src/stylable-transformer.ts @@ -827,10 +827,15 @@ export class InferredSelector { for (const resolvedContext of this.resolveSet.values()) { /** * search for elements in each resolved selector. - * start at 1 for extended symbols to prefer inherited elements over local + * start at 1 for legacy flat mode to prefer inherited elements over local */ const startIndex = - resolvedContext.length === 1 || resolvedContext[0]?.symbol._kind === 'part' ? 0 : 1; + resolvedContext.length === 1 || + (resolvedContext[0] && + (STStructure.isStructureMode(resolvedContext[0].meta) || + resolvedContext[0].symbol._kind === 'part')) + ? 0 + : 1; resolved: for (let i = startIndex; i < resolvedContext.length; i++) { const { symbol, meta } = resolvedContext[i]; const structureMode = STStructure.isStructureMode(meta); diff --git a/packages/core/test/features/st-structure.spec.ts b/packages/core/test/features/st-structure.spec.ts index 14ec93d78..a14a5df61 100644 --- a/packages/core/test/features/st-structure.spec.ts +++ b/packages/core/test/features/st-structure.spec.ts @@ -458,6 +458,26 @@ describe('@st structure', () => { shouldReportNoDiagnostics(meta); }); + it('should resolve first level definition', () => { + const { sheets } = testStylableCore(` + @st .b { + @st ::title => & > h2; + } + @st .a :is(.b) { + @st ::title => & > h1; + } + + /* @rule .entry__a > h1 */ + .a::title {} + + /* @rule .entry__b > h2 */ + .b::title {} + `); + + const { meta } = sheets['/entry.st.css']; + + shouldReportNoDiagnostics(meta); + }); it('should resolve inherited parts', () => { const { sheets } = testStylableCore({ 'base.st.css': ` From 4ad094f2a57f83d5e6dce1b8366f0231267a7026 Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Sun, 9 Jul 2023 13:40:55 +0300 Subject: [PATCH 39/81] fix(lsp): unhandled errors (#2887) * fix: silent catch and log for main lsp api * fix: signatureHelp in mixin arg case --- packages/language-service/src/lib/provider.ts | 2 +- packages/language-service/src/lib/service.ts | 17 ++++++++++ .../src/lib/utils/wrap-and-log.ts | 34 +++++++++++++++++++ 3 files changed, 52 insertions(+), 1 deletion(-) create mode 100644 packages/language-service/src/lib/utils/wrap-and-log.ts diff --git a/packages/language-service/src/lib/provider.ts b/packages/language-service/src/lib/provider.ts index f05800ab8..f9ae236d8 100644 --- a/packages/language-service/src/lib/provider.ts +++ b/packages/language-service/src/lib/provider.ts @@ -400,7 +400,7 @@ export class Provider { let mixin = ''; const rev = parsed.nodes[parsed.nodes.length - 1]; - if (rev.type === 'function' && !!rev.unclosed) { + if (rev?.type === 'function' && !!rev.unclosed) { mixin = rev.value; } else { return null; diff --git a/packages/language-service/src/lib/service.ts b/packages/language-service/src/lib/service.ts index c3e6876f2..6fe3767b9 100644 --- a/packages/language-service/src/lib/service.ts +++ b/packages/language-service/src/lib/service.ts @@ -32,6 +32,7 @@ import { getRefs, getRenameRefs } from './provider'; import { typescriptSupport } from './typescript-support'; import type { ExtendedTsLanguageService } from './types'; import { LangServiceContext } from '../lib-new/lang-service-context'; +import { wrapAndCatchErrors } from './utils/wrap-and-log'; export interface StylableLanguageServiceOptions { fs: IFileSystem; @@ -418,6 +419,22 @@ export class StylableLanguageService { } } +wrapAndCatchErrors( + { + onDefinition: () => [], + onCompletion: () => [], + onSignatureHelp: () => null, + onReferences: () => [], + onHover: () => null, + onColorPresentation: () => [], + onDocumentColor: () => [], + onDocumentFormatting: () => [], + onDocumentRangeFormatting: () => [], + onRenameRequest: () => ({ changes: {} }), + }, + StylableLanguageService +); + export interface StylableFile { path: string; stat: IFileSystemStats; diff --git a/packages/language-service/src/lib/utils/wrap-and-log.ts b/packages/language-service/src/lib/utils/wrap-and-log.ts new file mode 100644 index 000000000..8ee1d126f --- /dev/null +++ b/packages/language-service/src/lib/utils/wrap-and-log.ts @@ -0,0 +1,34 @@ +type FunctionConfig = Pick< + { + [K in keyof T]: T[K] extends (...args: any[]) => infer R ? () => R : never; + }, + { + [K in keyof T]: T[K] extends (...args: any[]) => any ? K : never; + }[keyof T] +>; + +export function wrapAndCatchErrors>( + config: Partial>, + context: new (...args: any[]) => T +) { + const proto = context.prototype; + for (const [name, defaultReturn] of Object.entries(config)) { + const func = proto[name]; + if (typeof func !== 'function') { + console.error( + `expected to find a function named ${name} on context, but found ${typeof func}` + ); + continue; + } + proto[name as keyof T] = function (this: T, ...args: unknown[]) { + try { + return func.apply(this, args) || (defaultReturn as () => unknown)(); + } catch (e) { + const errorContent = e instanceof Error ? e.stack : e; + console.error(`\nUnexpected error in ${name}\n`); + console.log(`${errorContent}\n\n`); + return; + } + } as T[typeof name]; + } +} From b753629ef67f451e109e378662e4a8248f9cbf23 Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Wed, 12 Jul 2023 12:12:37 +0300 Subject: [PATCH 40/81] fix: handle postcss@8.4.24 clone type regression https://github.com/postcss/postcss/issues/1854 --- package-lock.json | 468 +++++++++--------- packages/cli/src/build-single-file.ts | 2 +- packages/core/src/stylable-transformer.ts | 2 +- .../src/create-metadata-stylesheet.ts | 2 +- 4 files changed, 237 insertions(+), 237 deletions(-) diff --git a/package-lock.json b/package-lock.json index aceb3d91d..f955e663f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1002,9 +1002,9 @@ } }, "node_modules/@types/eslint": { - "version": "8.40.2", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.40.2.tgz", - "integrity": "sha512-PRVjQ4Eh9z9pmmtaq8nTjZjQwKFk7YIHIud3lRoKRBgUQjgjRmoGxxGEPXQkF+lH7QkHJRNr5F4aBgYCW0lqpQ==", + "version": "8.44.0", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.44.0.tgz", + "integrity": "sha512-gsF+c/0XOguWgaOgvFs+xnnRqt9GwgTvIks36WpE6ueeI4KCEHHd8K/CKHqhOqrJKsYH8m27kRzQEvWXAwXUTw==", "dependencies": { "@types/estree": "*", "@types/json-schema": "*" @@ -1210,15 +1210,15 @@ "dev": true }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "5.61.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.61.0.tgz", - "integrity": "sha512-A5l/eUAug103qtkwccSCxn8ZRwT+7RXWkFECdA4Cvl1dOlDUgTpAOfSEElZn2uSUxhdDpnCdetrf0jvU4qrL+g==", + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.62.0.tgz", + "integrity": "sha512-TiZzBSJja/LbhNPvk6yc0JrX9XqhQ0hdh6M2svYfsHGejaKFIAGd9MQ+ERIMzLGlN/kZoYIgdxFV0PuljTKXag==", "dev": true, "dependencies": { "@eslint-community/regexpp": "^4.4.0", - "@typescript-eslint/scope-manager": "5.61.0", - "@typescript-eslint/type-utils": "5.61.0", - "@typescript-eslint/utils": "5.61.0", + "@typescript-eslint/scope-manager": "5.62.0", + "@typescript-eslint/type-utils": "5.62.0", + "@typescript-eslint/utils": "5.62.0", "debug": "^4.3.4", "graphemer": "^1.4.0", "ignore": "^5.2.0", @@ -1244,11 +1244,11 @@ } }, "node_modules/@typescript-eslint/experimental-utils": { - "version": "5.61.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.61.0.tgz", - "integrity": "sha512-r4RTnwTcaRRVUyKb7JO4DiOGmcMCat+uNs6HqJBfX7K2nlq5TagYZShhbhAw7hFT3bHaYgxMw6pKP0fhu05VMA==", + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.62.0.tgz", + "integrity": "sha512-RTXpeB3eMkpoclG3ZHft6vG/Z30azNHuqY6wKPBHlVMZFuEvrtlEDe8gMqDb+SO+9hjC/pLekeSCryf9vMZlCw==", "dependencies": { - "@typescript-eslint/utils": "5.61.0" + "@typescript-eslint/utils": "5.62.0" }, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -1262,14 +1262,14 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "5.61.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.61.0.tgz", - "integrity": "sha512-yGr4Sgyh8uO6fSi9hw3jAFXNBHbCtKKFMdX2IkT3ZqpKmtAq3lHS4ixB/COFuAIJpwl9/AqF7j72ZDWYKmIfvg==", + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.62.0.tgz", + "integrity": "sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "5.61.0", - "@typescript-eslint/types": "5.61.0", - "@typescript-eslint/typescript-estree": "5.61.0", + "@typescript-eslint/scope-manager": "5.62.0", + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/typescript-estree": "5.62.0", "debug": "^4.3.4" }, "engines": { @@ -1289,12 +1289,12 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "5.61.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.61.0.tgz", - "integrity": "sha512-W8VoMjoSg7f7nqAROEmTt6LoBpn81AegP7uKhhW5KzYlehs8VV0ZW0fIDVbcZRcaP3aPSW+JZFua+ysQN+m/Nw==", + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.62.0.tgz", + "integrity": "sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w==", "dependencies": { - "@typescript-eslint/types": "5.61.0", - "@typescript-eslint/visitor-keys": "5.61.0" + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/visitor-keys": "5.62.0" }, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -1305,13 +1305,13 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "5.61.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.61.0.tgz", - "integrity": "sha512-kk8u//r+oVK2Aj3ph/26XdH0pbAkC2RiSjUYhKD+PExemG4XSjpGFeyZ/QM8lBOa7O8aGOU+/yEbMJgQv/DnCg==", + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.62.0.tgz", + "integrity": "sha512-xsSQreu+VnfbqQpW5vnCJdq1Z3Q0U31qiWmRhr98ONQmcp/yhiPJFPq8MXiJVLiksmOKSjIldZzkebzHuCGzew==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "5.61.0", - "@typescript-eslint/utils": "5.61.0", + "@typescript-eslint/typescript-estree": "5.62.0", + "@typescript-eslint/utils": "5.62.0", "debug": "^4.3.4", "tsutils": "^3.21.0" }, @@ -1332,9 +1332,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "5.61.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.61.0.tgz", - "integrity": "sha512-ldyueo58KjngXpzloHUog/h9REmHl59G1b3a5Sng1GfBo14BkS3ZbMEb3693gnP1k//97lh7bKsp6/V/0v1veQ==", + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.62.0.tgz", + "integrity": "sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ==", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, @@ -1344,12 +1344,12 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "5.61.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.61.0.tgz", - "integrity": "sha512-Fud90PxONnnLZ36oR5ClJBLTLfU4pIWBmnvGwTbEa2cXIqj70AEDEmOmpkFComjBZ/037ueKrOdHuYmSFVD7Rw==", + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.62.0.tgz", + "integrity": "sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA==", "dependencies": { - "@typescript-eslint/types": "5.61.0", - "@typescript-eslint/visitor-keys": "5.61.0", + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/visitor-keys": "5.62.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -1370,16 +1370,16 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "5.61.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.61.0.tgz", - "integrity": "sha512-mV6O+6VgQmVE6+xzlA91xifndPW9ElFW8vbSF0xCT/czPXVhwDewKila1jOyRwa9AE19zKnrr7Cg5S3pJVrTWQ==", + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.62.0.tgz", + "integrity": "sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ==", "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@types/json-schema": "^7.0.9", "@types/semver": "^7.3.12", - "@typescript-eslint/scope-manager": "5.61.0", - "@typescript-eslint/types": "5.61.0", - "@typescript-eslint/typescript-estree": "5.61.0", + "@typescript-eslint/scope-manager": "5.62.0", + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/typescript-estree": "5.62.0", "eslint-scope": "^5.1.1", "semver": "^7.3.7" }, @@ -1395,11 +1395,11 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "5.61.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.61.0.tgz", - "integrity": "sha512-50XQ5VdbWrX06mQXhy93WywSFZZGsv3EOjq+lqp6WC2t+j3mb6A9xYVdrRxafvK88vg9k9u+CT4l6D8PEatjKg==", + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.62.0.tgz", + "integrity": "sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw==", "dependencies": { - "@typescript-eslint/types": "5.61.0", + "@typescript-eslint/types": "5.62.0", "eslint-visitor-keys": "^3.3.0" }, "engines": { @@ -1567,9 +1567,9 @@ } }, "node_modules/@wixc3/resolve-directory-context/node_modules/minimatch": { - "version": "9.0.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.2.tgz", - "integrity": "sha512-PZOT9g5v2ojiTL7r1xF6plNHLtOeTpSlDI007As2NlA2aYBMfVom17yqa6QzhmDP8QOhn7LjHTg7DFCVSSa6yg==", + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", "dependencies": { "brace-expansion": "^2.0.1" }, @@ -1581,9 +1581,9 @@ } }, "node_modules/@wixc3/resolve-directory-context/node_modules/type-fest": { - "version": "3.12.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-3.12.0.tgz", - "integrity": "sha512-qj9wWsnFvVEMUDbESiilKeXeHL7FwwiFcogfhfyjmvT968RXSvnl23f1JOClTHYItsi7o501C/7qVllscUP3oA==", + "version": "3.13.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-3.13.0.tgz", + "integrity": "sha512-Gur3yQGM9qiLNs0KPP7LPgeRbio2QTt4xXouobMCarR0/wyW3F+F/+OWwshg3NG0Adon7uQfSZBpB46NfhoF1A==", "engines": { "node": ">=14.16" }, @@ -2133,9 +2133,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001512", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001512.tgz", - "integrity": "sha512-2S9nK0G/mE+jasCUsMPlARhRCts1ebcp2Ji8Y8PWi4NDE1iRdLCnEPHkEfeBrGC45L4isBx5ur3IQ6yTE2mRZw==", + "version": "1.0.30001515", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001515.tgz", + "integrity": "sha512-eEFDwUOZbE24sb+Ecsx3+OvNETqjWIdabMy52oOkIgcUtAsQifjUG9q4U9dgTHJM2mfk4uEPxc0+xuFdJ629QA==", "funding": [ { "type": "opencollective", @@ -2680,9 +2680,9 @@ } }, "node_modules/editorconfig/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", "bin": { "semver": "bin/semver" } @@ -2693,9 +2693,9 @@ "integrity": "sha512-ncTzHV7NvsQZkYe1DW7cbDLm0YpzHmZF5r/iyP3ZnQtMiJ+pjzisCiMNI+Sj+xQF5pXhSHxSB3uDbsBTzY/c2A==" }, "node_modules/electron-to-chromium": { - "version": "1.4.450", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.450.tgz", - "integrity": "sha512-BLG5HxSELlrMx7dJ2s+8SFlsCtJp37Zpk2VAxyC6CZtbc+9AJeZHfYHbrlSgdXp6saQ8StMqOTEDaBKgA7u1sw==" + "version": "1.4.457", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.457.tgz", + "integrity": "sha512-/g3UyNDmDd6ebeWapmAoiyy+Sy2HyJ+/X8KyvNeHfKRFfHaA2W8oF5fxD5F3tjBDcjpwo0iek6YNgxNXDBoEtA==" }, "node_modules/emoji-regex": { "version": "8.0.0", @@ -3028,9 +3028,9 @@ } }, "node_modules/eslint-plugin-react/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, "bin": { "semver": "bin/semver.js" @@ -4495,9 +4495,9 @@ } }, "node_modules/make-dir/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, "bin": { "semver": "bin/semver.js" @@ -4654,9 +4654,9 @@ } }, "node_modules/minipass": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-6.0.2.tgz", - "integrity": "sha512-MzWSV5nYVT7mVyWCwn2o7JH13w2TBRmmSqSRCKzTw+lmft9X4z+3wjvs06Tzijo5z4W/kahUCDpRXTF+ZrmF/w==", + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.2.tgz", + "integrity": "sha512-eL79dXrE1q9dBbDCLg7xfn/vl7MS4F1gvJAgjJrQli/jbQWdUttuVawphqpffoIYfRdq78LHx6GP4bU/EQ2ATA==", "engines": { "node": ">=16 || 14 >=14.17" } @@ -4842,9 +4842,9 @@ } }, "node_modules/node-releases": { - "version": "2.0.12", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.12.tgz", - "integrity": "sha512-QzsYKWhXTWx8h1kIvqfnC++o0pEmpRQA/aenALsL2F4pqNVr7YzcdMlDij5WBnwftRbJCNJL/O7zdKaxKPHqgQ==" + "version": "2.0.13", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.13.tgz", + "integrity": "sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ==" }, "node_modules/nopt": { "version": "6.0.0", @@ -4873,9 +4873,9 @@ } }, "node_modules/normalize-package-data/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", "dev": true, "bin": { "semver": "bin/semver" @@ -5009,9 +5009,9 @@ } }, "node_modules/npm-run-all/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", "dev": true, "bin": { "semver": "bin/semver" @@ -5315,12 +5315,12 @@ "dev": true }, "node_modules/path-scurry": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.10.0.tgz", - "integrity": "sha512-tZFEaRQbMLjwrsmidsGJ6wDMv0iazJWk6SfIKnY4Xru8auXgmJkOBa5DUbYFcFD2Rzk2+KDlIiF0GVXNCbgC7g==", + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.10.1.tgz", + "integrity": "sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ==", "dependencies": { "lru-cache": "^9.1.1 || ^10.0.0", - "minipass": "^5.0.0 || ^6.0.2" + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" }, "engines": { "node": ">=16 || 14 >=14.17" @@ -5391,13 +5391,13 @@ } }, "node_modules/playwright-chromium": { - "version": "1.35.1", - "resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.35.1.tgz", - "integrity": "sha512-bPuWIk/DYWtrg10ajcc9cZLo5s9XQrs6JF6wwiieqZ73rCG3PLVEm0RX8fCUzziuEAhYsoL09UNuKSKv7pKz9A==", + "version": "1.36.0", + "resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.36.0.tgz", + "integrity": "sha512-AU4/euzKqiIeK7JMsxMlgVx3jRFOnXF0vkptF9mfqeNSETVYCbovZ9EpwJ3Kzm/vVAmIlpHp+VoXdX2bi+05Zg==", "dev": true, "hasInstallScript": true, "dependencies": { - "playwright-core": "1.35.1" + "playwright-core": "1.36.0" }, "bin": { "playwright": "cli.js" @@ -5407,9 +5407,9 @@ } }, "node_modules/playwright-core": { - "version": "1.35.1", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.35.1.tgz", - "integrity": "sha512-pNXb6CQ7OqmGDRspEjlxE49w+4YtR6a3X6mT1hZXeJHWmsEz7SunmvZeiG/+y1yyMZdHnnn73WKYdtV1er0Xyg==", + "version": "1.36.0", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.36.0.tgz", + "integrity": "sha512-7RTr8P6YJPAqB+8j5ATGHqD6LvLLM39sYVNsslh78g8QeLcBs5750c6+msjrHUwwGt+kEbczBj1XB22WMwn+WA==", "bin": { "playwright-core": "cli.js" }, @@ -5418,9 +5418,9 @@ } }, "node_modules/postcss": { - "version": "8.4.24", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.24.tgz", - "integrity": "sha512-M0RzbcI0sO/XJNucsGjvWU9ERWxb/ytp1w6dKtxTKgixdtQDq4rmx/g8W1hnaheq9jgwL/oyEdH5Bc4WwJKMqg==", + "version": "8.4.25", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.25.tgz", + "integrity": "sha512-7taJ/8t2av0Z+sQEvNzCkpDynl0tX3uJMCODi6nT3PfASC7dYCWV9aQ+uiCf+KBD4SEFcu+GvJdGdwzQ6OSjCw==", "funding": [ { "type": "opencollective", @@ -5887,15 +5887,15 @@ } }, "node_modules/rimraf/node_modules/glob": { - "version": "10.3.1", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.1.tgz", - "integrity": "sha512-9BKYcEeIs7QwlCYs+Y3GBvqAMISufUS0i2ELd11zpZjxI5V9iyRj0HgzB5/cLf2NY4vcYBTYzJ7GIui7j/4DOw==", + "version": "10.3.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.3.tgz", + "integrity": "sha512-92vPiMb/iqpmEgsOoIDvTjc50wf9CCCvMzsi6W0JLPeUKE8TWP1a73PgqSrqy7iAZxaSD1YdzU7QZR5LF51MJw==", "dependencies": { "foreground-child": "^3.1.0", "jackspeak": "^2.0.3", "minimatch": "^9.0.1", - "minipass": "^5.0.0 || ^6.0.2", - "path-scurry": "^1.10.0" + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", + "path-scurry": "^1.10.1" }, "bin": { "glob": "dist/cjs/src/bin.js" @@ -5908,9 +5908,9 @@ } }, "node_modules/rimraf/node_modules/minimatch": { - "version": "9.0.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.2.tgz", - "integrity": "sha512-PZOT9g5v2ojiTL7r1xF6plNHLtOeTpSlDI007As2NlA2aYBMfVom17yqa6QzhmDP8QOhn7LjHTg7DFCVSSa6yg==", + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", "dependencies": { "brace-expansion": "^2.0.1" }, @@ -5933,9 +5933,9 @@ } }, "node_modules/rollup": { - "version": "3.26.1", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.26.1.tgz", - "integrity": "sha512-I5gJCSpSMr3U9wv4D5YA8g7w7cj3eaSDeo7t+JcaFQOmoOUBgu4K9iMp8k3EZnwbJrjQxUMSKxMyB8qEQzzaSg==", + "version": "3.26.2", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.26.2.tgz", + "integrity": "sha512-6umBIGVz93er97pMgQO08LuH3m6PUb3jlDUUGFsNJB6VgTCUaDFpupf5JfU30529m/UKOgmiX+uY6Sx8cOYpLA==", "bin": { "rollup": "dist/bin/rollup" }, @@ -6035,9 +6035,9 @@ } }, "node_modules/semver": { - "version": "7.5.3", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz", - "integrity": "sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==", + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dependencies": { "lru-cache": "^6.0.0" }, @@ -6404,9 +6404,9 @@ } }, "node_modules/terser": { - "version": "5.18.2", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.18.2.tgz", - "integrity": "sha512-Ah19JS86ypbJzTzvUCX7KOsEIhDaRONungA4aYBjEP3JZRf4ocuDzTg4QWZnPn9DEMiMYGJPiSOy7aykoCc70w==", + "version": "5.19.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.19.0.tgz", + "integrity": "sha512-JpcpGOQLOXm2jsomozdMDpd5f8ZHh1rR48OFgWUH3QsyZcfPgv2qDCYbcDEAYNd4OZRj2bWYKpwdll/udZCk/Q==", "dependencies": { "@jridgewell/source-map": "^0.3.3", "acorn": "^8.8.2", @@ -6517,9 +6517,9 @@ } }, "node_modules/tsconfig-paths-webpack-plugin": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/tsconfig-paths-webpack-plugin/-/tsconfig-paths-webpack-plugin-4.0.1.tgz", - "integrity": "sha512-m5//KzLoKmqu2MVix+dgLKq70MnFi8YL8sdzQZ6DblmCdfuq/y3OqvJd5vMndg2KEVCOeNz8Es4WVZhYInteLw==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/tsconfig-paths-webpack-plugin/-/tsconfig-paths-webpack-plugin-4.1.0.tgz", + "integrity": "sha512-xWFISjviPydmtmgeUAuXp4N1fky+VCtfhOkDUFIv5ea7p4wuTomI4QTrXvFBX2S4jZsmyTSrStQl+E+4w+RzxA==", "dev": true, "dependencies": { "chalk": "^4.1.0", @@ -6908,9 +6908,9 @@ } }, "node_modules/which-typed-array": { - "version": "1.1.9", - "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.9.tgz", - "integrity": "sha512-w9c4xkx6mPidwp7180ckYWfMmvxpjlZuIudNtDf4N/tTAUB8VJbX25qZoAsrtGuYNnGw3pa0AXgbGKRB8/EceA==", + "version": "1.1.10", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.10.tgz", + "integrity": "sha512-uxoA5vLUfRPdjCuJ1h5LlYdmTLbYfums398v3WLkM+i/Wltl2/XyZpQWKbN++ck5L64SR/grOHqtXCUKmlZPNA==", "dev": true, "dependencies": { "available-typed-arrays": "^1.0.5", @@ -8198,9 +8198,9 @@ } }, "@types/eslint": { - "version": "8.40.2", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.40.2.tgz", - "integrity": "sha512-PRVjQ4Eh9z9pmmtaq8nTjZjQwKFk7YIHIud3lRoKRBgUQjgjRmoGxxGEPXQkF+lH7QkHJRNr5F4aBgYCW0lqpQ==", + "version": "8.44.0", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.44.0.tgz", + "integrity": "sha512-gsF+c/0XOguWgaOgvFs+xnnRqt9GwgTvIks36WpE6ueeI4KCEHHd8K/CKHqhOqrJKsYH8m27kRzQEvWXAwXUTw==", "requires": { "@types/estree": "*", "@types/json-schema": "*" @@ -8406,15 +8406,15 @@ "dev": true }, "@typescript-eslint/eslint-plugin": { - "version": "5.61.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.61.0.tgz", - "integrity": "sha512-A5l/eUAug103qtkwccSCxn8ZRwT+7RXWkFECdA4Cvl1dOlDUgTpAOfSEElZn2uSUxhdDpnCdetrf0jvU4qrL+g==", + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.62.0.tgz", + "integrity": "sha512-TiZzBSJja/LbhNPvk6yc0JrX9XqhQ0hdh6M2svYfsHGejaKFIAGd9MQ+ERIMzLGlN/kZoYIgdxFV0PuljTKXag==", "dev": true, "requires": { "@eslint-community/regexpp": "^4.4.0", - "@typescript-eslint/scope-manager": "5.61.0", - "@typescript-eslint/type-utils": "5.61.0", - "@typescript-eslint/utils": "5.61.0", + "@typescript-eslint/scope-manager": "5.62.0", + "@typescript-eslint/type-utils": "5.62.0", + "@typescript-eslint/utils": "5.62.0", "debug": "^4.3.4", "graphemer": "^1.4.0", "ignore": "^5.2.0", @@ -8424,58 +8424,58 @@ } }, "@typescript-eslint/experimental-utils": { - "version": "5.61.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.61.0.tgz", - "integrity": "sha512-r4RTnwTcaRRVUyKb7JO4DiOGmcMCat+uNs6HqJBfX7K2nlq5TagYZShhbhAw7hFT3bHaYgxMw6pKP0fhu05VMA==", + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.62.0.tgz", + "integrity": "sha512-RTXpeB3eMkpoclG3ZHft6vG/Z30azNHuqY6wKPBHlVMZFuEvrtlEDe8gMqDb+SO+9hjC/pLekeSCryf9vMZlCw==", "requires": { - "@typescript-eslint/utils": "5.61.0" + "@typescript-eslint/utils": "5.62.0" } }, "@typescript-eslint/parser": { - "version": "5.61.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.61.0.tgz", - "integrity": "sha512-yGr4Sgyh8uO6fSi9hw3jAFXNBHbCtKKFMdX2IkT3ZqpKmtAq3lHS4ixB/COFuAIJpwl9/AqF7j72ZDWYKmIfvg==", + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.62.0.tgz", + "integrity": "sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA==", "dev": true, "requires": { - "@typescript-eslint/scope-manager": "5.61.0", - "@typescript-eslint/types": "5.61.0", - "@typescript-eslint/typescript-estree": "5.61.0", + "@typescript-eslint/scope-manager": "5.62.0", + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/typescript-estree": "5.62.0", "debug": "^4.3.4" } }, "@typescript-eslint/scope-manager": { - "version": "5.61.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.61.0.tgz", - "integrity": "sha512-W8VoMjoSg7f7nqAROEmTt6LoBpn81AegP7uKhhW5KzYlehs8VV0ZW0fIDVbcZRcaP3aPSW+JZFua+ysQN+m/Nw==", + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.62.0.tgz", + "integrity": "sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w==", "requires": { - "@typescript-eslint/types": "5.61.0", - "@typescript-eslint/visitor-keys": "5.61.0" + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/visitor-keys": "5.62.0" } }, "@typescript-eslint/type-utils": { - "version": "5.61.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.61.0.tgz", - "integrity": "sha512-kk8u//r+oVK2Aj3ph/26XdH0pbAkC2RiSjUYhKD+PExemG4XSjpGFeyZ/QM8lBOa7O8aGOU+/yEbMJgQv/DnCg==", + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.62.0.tgz", + "integrity": "sha512-xsSQreu+VnfbqQpW5vnCJdq1Z3Q0U31qiWmRhr98ONQmcp/yhiPJFPq8MXiJVLiksmOKSjIldZzkebzHuCGzew==", "dev": true, "requires": { - "@typescript-eslint/typescript-estree": "5.61.0", - "@typescript-eslint/utils": "5.61.0", + "@typescript-eslint/typescript-estree": "5.62.0", + "@typescript-eslint/utils": "5.62.0", "debug": "^4.3.4", "tsutils": "^3.21.0" } }, "@typescript-eslint/types": { - "version": "5.61.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.61.0.tgz", - "integrity": "sha512-ldyueo58KjngXpzloHUog/h9REmHl59G1b3a5Sng1GfBo14BkS3ZbMEb3693gnP1k//97lh7bKsp6/V/0v1veQ==" + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.62.0.tgz", + "integrity": "sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ==" }, "@typescript-eslint/typescript-estree": { - "version": "5.61.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.61.0.tgz", - "integrity": "sha512-Fud90PxONnnLZ36oR5ClJBLTLfU4pIWBmnvGwTbEa2cXIqj70AEDEmOmpkFComjBZ/037ueKrOdHuYmSFVD7Rw==", + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.62.0.tgz", + "integrity": "sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA==", "requires": { - "@typescript-eslint/types": "5.61.0", - "@typescript-eslint/visitor-keys": "5.61.0", + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/visitor-keys": "5.62.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -8484,26 +8484,26 @@ } }, "@typescript-eslint/utils": { - "version": "5.61.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.61.0.tgz", - "integrity": "sha512-mV6O+6VgQmVE6+xzlA91xifndPW9ElFW8vbSF0xCT/czPXVhwDewKila1jOyRwa9AE19zKnrr7Cg5S3pJVrTWQ==", + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.62.0.tgz", + "integrity": "sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ==", "requires": { "@eslint-community/eslint-utils": "^4.2.0", "@types/json-schema": "^7.0.9", "@types/semver": "^7.3.12", - "@typescript-eslint/scope-manager": "5.61.0", - "@typescript-eslint/types": "5.61.0", - "@typescript-eslint/typescript-estree": "5.61.0", + "@typescript-eslint/scope-manager": "5.62.0", + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/typescript-estree": "5.62.0", "eslint-scope": "^5.1.1", "semver": "^7.3.7" } }, "@typescript-eslint/visitor-keys": { - "version": "5.61.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.61.0.tgz", - "integrity": "sha512-50XQ5VdbWrX06mQXhy93WywSFZZGsv3EOjq+lqp6WC2t+j3mb6A9xYVdrRxafvK88vg9k9u+CT4l6D8PEatjKg==", + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.62.0.tgz", + "integrity": "sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw==", "requires": { - "@typescript-eslint/types": "5.61.0", + "@typescript-eslint/types": "5.62.0", "eslint-visitor-keys": "^3.3.0" } }, @@ -8661,17 +8661,17 @@ } }, "minimatch": { - "version": "9.0.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.2.tgz", - "integrity": "sha512-PZOT9g5v2ojiTL7r1xF6plNHLtOeTpSlDI007As2NlA2aYBMfVom17yqa6QzhmDP8QOhn7LjHTg7DFCVSSa6yg==", + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", "requires": { "brace-expansion": "^2.0.1" } }, "type-fest": { - "version": "3.12.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-3.12.0.tgz", - "integrity": "sha512-qj9wWsnFvVEMUDbESiilKeXeHL7FwwiFcogfhfyjmvT968RXSvnl23f1JOClTHYItsi7o501C/7qVllscUP3oA==" + "version": "3.13.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-3.13.0.tgz", + "integrity": "sha512-Gur3yQGM9qiLNs0KPP7LPgeRbio2QTt4xXouobMCarR0/wyW3F+F/+OWwshg3NG0Adon7uQfSZBpB46NfhoF1A==" } } }, @@ -9058,9 +9058,9 @@ "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==" }, "caniuse-lite": { - "version": "1.0.30001512", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001512.tgz", - "integrity": "sha512-2S9nK0G/mE+jasCUsMPlARhRCts1ebcp2Ji8Y8PWi4NDE1iRdLCnEPHkEfeBrGC45L4isBx5ur3IQ6yTE2mRZw==" + "version": "1.0.30001515", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001515.tgz", + "integrity": "sha512-eEFDwUOZbE24sb+Ecsx3+OvNETqjWIdabMy52oOkIgcUtAsQifjUG9q4U9dgTHJM2mfk4uEPxc0+xuFdJ629QA==" }, "chai": { "version": "4.3.7", @@ -9453,9 +9453,9 @@ } }, "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==" }, "yallist": { "version": "2.1.2", @@ -9465,9 +9465,9 @@ } }, "electron-to-chromium": { - "version": "1.4.450", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.450.tgz", - "integrity": "sha512-BLG5HxSELlrMx7dJ2s+8SFlsCtJp37Zpk2VAxyC6CZtbc+9AJeZHfYHbrlSgdXp6saQ8StMqOTEDaBKgA7u1sw==" + "version": "1.4.457", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.457.tgz", + "integrity": "sha512-/g3UyNDmDd6ebeWapmAoiyy+Sy2HyJ+/X8KyvNeHfKRFfHaA2W8oF5fxD5F3tjBDcjpwo0iek6YNgxNXDBoEtA==" }, "emoji-regex": { "version": "8.0.0", @@ -9730,9 +9730,9 @@ } }, "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true } } @@ -10779,9 +10779,9 @@ }, "dependencies": { "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true } } @@ -10894,9 +10894,9 @@ "dev": true }, "minipass": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-6.0.2.tgz", - "integrity": "sha512-MzWSV5nYVT7mVyWCwn2o7JH13w2TBRmmSqSRCKzTw+lmft9X4z+3wjvs06Tzijo5z4W/kahUCDpRXTF+ZrmF/w==" + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.2.tgz", + "integrity": "sha512-eL79dXrE1q9dBbDCLg7xfn/vl7MS4F1gvJAgjJrQli/jbQWdUttuVawphqpffoIYfRdq78LHx6GP4bU/EQ2ATA==" }, "mocha": { "version": "10.2.0", @@ -11046,9 +11046,9 @@ } }, "node-releases": { - "version": "2.0.12", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.12.tgz", - "integrity": "sha512-QzsYKWhXTWx8h1kIvqfnC++o0pEmpRQA/aenALsL2F4pqNVr7YzcdMlDij5WBnwftRbJCNJL/O7zdKaxKPHqgQ==" + "version": "2.0.13", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.13.tgz", + "integrity": "sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ==" }, "nopt": { "version": "6.0.0", @@ -11071,9 +11071,9 @@ }, "dependencies": { "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", "dev": true } } @@ -11174,9 +11174,9 @@ "dev": true }, "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", "dev": true }, "shebang-command": { @@ -11398,12 +11398,12 @@ "dev": true }, "path-scurry": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.10.0.tgz", - "integrity": "sha512-tZFEaRQbMLjwrsmidsGJ6wDMv0iazJWk6SfIKnY4Xru8auXgmJkOBa5DUbYFcFD2Rzk2+KDlIiF0GVXNCbgC7g==", + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.10.1.tgz", + "integrity": "sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ==", "requires": { "lru-cache": "^9.1.1 || ^10.0.0", - "minipass": "^5.0.0 || ^6.0.2" + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" }, "dependencies": { "lru-cache": { @@ -11446,23 +11446,23 @@ "dev": true }, "playwright-chromium": { - "version": "1.35.1", - "resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.35.1.tgz", - "integrity": "sha512-bPuWIk/DYWtrg10ajcc9cZLo5s9XQrs6JF6wwiieqZ73rCG3PLVEm0RX8fCUzziuEAhYsoL09UNuKSKv7pKz9A==", + "version": "1.36.0", + "resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.36.0.tgz", + "integrity": "sha512-AU4/euzKqiIeK7JMsxMlgVx3jRFOnXF0vkptF9mfqeNSETVYCbovZ9EpwJ3Kzm/vVAmIlpHp+VoXdX2bi+05Zg==", "dev": true, "requires": { - "playwright-core": "1.35.1" + "playwright-core": "1.36.0" } }, "playwright-core": { - "version": "1.35.1", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.35.1.tgz", - "integrity": "sha512-pNXb6CQ7OqmGDRspEjlxE49w+4YtR6a3X6mT1hZXeJHWmsEz7SunmvZeiG/+y1yyMZdHnnn73WKYdtV1er0Xyg==" + "version": "1.36.0", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.36.0.tgz", + "integrity": "sha512-7RTr8P6YJPAqB+8j5ATGHqD6LvLLM39sYVNsslh78g8QeLcBs5750c6+msjrHUwwGt+kEbczBj1XB22WMwn+WA==" }, "postcss": { - "version": "8.4.24", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.24.tgz", - "integrity": "sha512-M0RzbcI0sO/XJNucsGjvWU9ERWxb/ytp1w6dKtxTKgixdtQDq4rmx/g8W1hnaheq9jgwL/oyEdH5Bc4WwJKMqg==", + "version": "8.4.25", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.25.tgz", + "integrity": "sha512-7taJ/8t2av0Z+sQEvNzCkpDynl0tX3uJMCODi6nT3PfASC7dYCWV9aQ+uiCf+KBD4SEFcu+GvJdGdwzQ6OSjCw==", "requires": { "nanoid": "^3.3.6", "picocolors": "^1.0.0", @@ -11758,21 +11758,21 @@ } }, "glob": { - "version": "10.3.1", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.1.tgz", - "integrity": "sha512-9BKYcEeIs7QwlCYs+Y3GBvqAMISufUS0i2ELd11zpZjxI5V9iyRj0HgzB5/cLf2NY4vcYBTYzJ7GIui7j/4DOw==", + "version": "10.3.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.3.tgz", + "integrity": "sha512-92vPiMb/iqpmEgsOoIDvTjc50wf9CCCvMzsi6W0JLPeUKE8TWP1a73PgqSrqy7iAZxaSD1YdzU7QZR5LF51MJw==", "requires": { "foreground-child": "^3.1.0", "jackspeak": "^2.0.3", "minimatch": "^9.0.1", - "minipass": "^5.0.0 || ^6.0.2", - "path-scurry": "^1.10.0" + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", + "path-scurry": "^1.10.1" } }, "minimatch": { - "version": "9.0.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.2.tgz", - "integrity": "sha512-PZOT9g5v2ojiTL7r1xF6plNHLtOeTpSlDI007As2NlA2aYBMfVom17yqa6QzhmDP8QOhn7LjHTg7DFCVSSa6yg==", + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", "requires": { "brace-expansion": "^2.0.1" } @@ -11785,9 +11785,9 @@ } }, "rollup": { - "version": "3.26.1", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.26.1.tgz", - "integrity": "sha512-I5gJCSpSMr3U9wv4D5YA8g7w7cj3eaSDeo7t+JcaFQOmoOUBgu4K9iMp8k3EZnwbJrjQxUMSKxMyB8qEQzzaSg==", + "version": "3.26.2", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.26.2.tgz", + "integrity": "sha512-6umBIGVz93er97pMgQO08LuH3m6PUb3jlDUUGFsNJB6VgTCUaDFpupf5JfU30529m/UKOgmiX+uY6Sx8cOYpLA==", "requires": { "fsevents": "~2.3.2" } @@ -11842,9 +11842,9 @@ } }, "semver": { - "version": "7.5.3", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz", - "integrity": "sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==", + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "requires": { "lru-cache": "^6.0.0" } @@ -12108,9 +12108,9 @@ "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==" }, "terser": { - "version": "5.18.2", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.18.2.tgz", - "integrity": "sha512-Ah19JS86ypbJzTzvUCX7KOsEIhDaRONungA4aYBjEP3JZRf4ocuDzTg4QWZnPn9DEMiMYGJPiSOy7aykoCc70w==", + "version": "5.19.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.19.0.tgz", + "integrity": "sha512-JpcpGOQLOXm2jsomozdMDpd5f8ZHh1rR48OFgWUH3QsyZcfPgv2qDCYbcDEAYNd4OZRj2bWYKpwdll/udZCk/Q==", "requires": { "@jridgewell/source-map": "^0.3.3", "acorn": "^8.8.2", @@ -12189,9 +12189,9 @@ } }, "tsconfig-paths-webpack-plugin": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/tsconfig-paths-webpack-plugin/-/tsconfig-paths-webpack-plugin-4.0.1.tgz", - "integrity": "sha512-m5//KzLoKmqu2MVix+dgLKq70MnFi8YL8sdzQZ6DblmCdfuq/y3OqvJd5vMndg2KEVCOeNz8Es4WVZhYInteLw==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/tsconfig-paths-webpack-plugin/-/tsconfig-paths-webpack-plugin-4.1.0.tgz", + "integrity": "sha512-xWFISjviPydmtmgeUAuXp4N1fky+VCtfhOkDUFIv5ea7p4wuTomI4QTrXvFBX2S4jZsmyTSrStQl+E+4w+RzxA==", "dev": true, "requires": { "chalk": "^4.1.0", @@ -12467,9 +12467,9 @@ } }, "which-typed-array": { - "version": "1.1.9", - "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.9.tgz", - "integrity": "sha512-w9c4xkx6mPidwp7180ckYWfMmvxpjlZuIudNtDf4N/tTAUB8VJbX25qZoAsrtGuYNnGw3pa0AXgbGKRB8/EceA==", + "version": "1.1.10", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.10.tgz", + "integrity": "sha512-uxoA5vLUfRPdjCuJ1h5LlYdmTLbYfums398v3WLkM+i/Wltl2/XyZpQWKbN++ck5L64SR/grOHqtXCUKmlZPNA==", "dev": true, "requires": { "available-typed-arrays": "^1.0.5", diff --git a/packages/cli/src/build-single-file.ts b/packages/cli/src/build-single-file.ts index d94e0c812..56951685f 100644 --- a/packages/cli/src/build-single-file.ts +++ b/packages/cli/src/build-single-file.ts @@ -342,7 +342,7 @@ function collectImportsWithSideEffects(res: StylableResults, stylable: Stylable, } function inlineAssetsForJsModule(res: StylableResults, stylable: Stylable, fs: IFileSystem) { - const ast = res.meta.targetAst!.clone(); + const ast = res.meta.targetAst!.clone() as NonNullable; processUrlDependencies({ meta: { targetAst: ast, source: res.meta.source }, rootContext: stylable.projectRoot, diff --git a/packages/core/src/stylable-transformer.ts b/packages/core/src/stylable-transformer.ts index b7c21a824..87b7bb210 100644 --- a/packages/core/src/stylable-transformer.ts +++ b/packages/core/src/stylable-transformer.ts @@ -165,7 +165,7 @@ export class StylableTransformer { containers: {}, }; meta.transformedScopes = null; - meta.targetAst = meta.sourceAst.clone(); + meta.targetAst = meta.sourceAst.clone() as postcss.Root; const context = { meta, diagnostics: this.diagnostics, diff --git a/packages/webpack-extensions/src/create-metadata-stylesheet.ts b/packages/webpack-extensions/src/create-metadata-stylesheet.ts index faa0218e1..382f6ab43 100644 --- a/packages/webpack-extensions/src/create-metadata-stylesheet.ts +++ b/packages/webpack-extensions/src/create-metadata-stylesheet.ts @@ -44,7 +44,7 @@ function rewriteImports( const sourcesByHash: Record = {}; for (const [meta, resolvedImports] of usedMeta.entries()) { const hash = ensureHash(meta, hashes); - const rawAst = meta.sourceAst.clone(); + const rawAst = meta.sourceAst.clone() as typeof meta.sourceAst; for (const { resolved, stImport } of resolvedImports) { if (resolved && resolved._kind === 'css') { const rawRule = rawAst.nodes?.find(ruleByLocation(stImport.rule)); From 834225e7d6e86a0af0b197f1c538ef0e2bf1e7d9 Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Wed, 12 Jul 2023 12:17:45 +0300 Subject: [PATCH 41/81] chore: remove dependency on eslint-plugin-react It is not directly used by this repo and only exist as a dependency for the stylable-create-app template which is filtered by the eslintignore. --- package-lock.json | 556 ++++------------------------------------------ package.json | 2 - 2 files changed, 47 insertions(+), 511 deletions(-) diff --git a/package-lock.json b/package-lock.json index f955e663f..a613a118b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -48,8 +48,6 @@ "create-listening-server": "^2.1.0", "eslint": "^8.44.0", "eslint-config-prettier": "^8.8.0", - "eslint-plugin-react": "^7.32.2", - "eslint-plugin-react-hooks": "^4.6.0", "file-loader": "^6.2.0", "html-webpack-plugin": "^5.5.3", "mini-css-extract-plugin": "^2.7.6", @@ -1763,25 +1761,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/array-includes": { - "version": "3.1.6", - "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.6.tgz", - "integrity": "sha512-sgTbLvL6cNnw24FnbaDyjmvddQ2ML8arZsgaJhoABMoplz/4QRhtrYS+alr1BUM1Bwp6dhx8vVCBSLG+StwOFw==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4", - "get-intrinsic": "^1.1.3", - "is-string": "^1.0.7" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/array-union": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", @@ -1790,55 +1769,6 @@ "node": ">=8" } }, - "node_modules/array.prototype.flat": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.1.tgz", - "integrity": "sha512-roTU0KWIOmJ4DRLmwKd19Otg0/mT3qPNt0Qb3GWW8iObuZXxrjB/pzn0R3hqpRSWg4HCwqx+0vwOnWnvlOyeIA==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4", - "es-shim-unscopables": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/array.prototype.flatmap": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.1.tgz", - "integrity": "sha512-8UGn9O1FDVvMNB0UlLv4voxRMze7+FpHyF5mSMRjWHUMlpoDViniy05870VlxhfgTnLbpuwTzvD76MTtWxB/mQ==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4", - "es-shim-unscopables": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/array.prototype.tosorted": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/array.prototype.tosorted/-/array.prototype.tosorted-1.1.1.tgz", - "integrity": "sha512-pZYPXPRl2PqWcsUs6LOMn+1f1532nEoPTYowBtqLwAW+W8vSVhkIGnmOX1t/UQjD6YGI0vcD2B1U7ZFGQH9jnQ==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4", - "es-shim-unscopables": "^1.0.0", - "get-intrinsic": "^1.1.3" - } - }, "node_modules/assertion-error": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", @@ -2808,15 +2738,6 @@ "node": ">= 0.4" } }, - "node_modules/es-shim-unscopables": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.0.tgz", - "integrity": "sha512-Jm6GPcCdC30eMLbZ2x8z2WuRwAws3zTBBKuusffYVUrNj/GVSUAZ+xKMaUpfNDR5IbyNA5LJbaecoUVbmUcB1w==", - "dev": true, - "dependencies": { - "has": "^1.0.3" - } - }, "node_modules/es-to-primitive": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", @@ -2957,85 +2878,6 @@ "eslint": ">=7.0.0" } }, - "node_modules/eslint-plugin-react": { - "version": "7.32.2", - "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.32.2.tgz", - "integrity": "sha512-t2fBMa+XzonrrNkyVirzKlvn5RXzzPwRHtMvLAtVZrt8oxgnTQaYbU6SXTOO1mwQgp1y5+toMSKInnzGr0Knqg==", - "dev": true, - "dependencies": { - "array-includes": "^3.1.6", - "array.prototype.flatmap": "^1.3.1", - "array.prototype.tosorted": "^1.1.1", - "doctrine": "^2.1.0", - "estraverse": "^5.3.0", - "jsx-ast-utils": "^2.4.1 || ^3.0.0", - "minimatch": "^3.1.2", - "object.entries": "^1.1.6", - "object.fromentries": "^2.0.6", - "object.hasown": "^1.1.2", - "object.values": "^1.1.6", - "prop-types": "^15.8.1", - "resolve": "^2.0.0-next.4", - "semver": "^6.3.0", - "string.prototype.matchall": "^4.0.8" - }, - "engines": { - "node": ">=4" - }, - "peerDependencies": { - "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8" - } - }, - "node_modules/eslint-plugin-react-hooks": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.0.tgz", - "integrity": "sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g==", - "dev": true, - "engines": { - "node": ">=10" - }, - "peerDependencies": { - "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0" - } - }, - "node_modules/eslint-plugin-react/node_modules/doctrine": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", - "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", - "dev": true, - "dependencies": { - "esutils": "^2.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/eslint-plugin-react/node_modules/resolve": { - "version": "2.0.0-next.4", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-2.0.0-next.4.tgz", - "integrity": "sha512-iMDbmAWtfU+MHpxt/I5iWI7cY6YVEZUQ3MBgPQ++XD1PELuJHIl82xBmObyP2KyQmkNB2dsqF7seoQQiAn5yDQ==", - "dev": true, - "dependencies": { - "is-core-module": "^2.9.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - }, - "bin": { - "resolve": "bin/resolve" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/eslint-plugin-react/node_modules/semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", - "dev": true, - "bin": { - "semver": "bin/semver.js" - } - }, "node_modules/eslint-plugin-stylable": { "resolved": "packages/eslint-plugin-stylable", "link": true @@ -3052,14 +2894,6 @@ "node": ">=8.0.0" } }, - "node_modules/eslint-scope/node_modules/estraverse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", - "engines": { - "node": ">=4.0" - } - }, "node_modules/eslint-visitor-keys": { "version": "3.4.1", "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz", @@ -3086,6 +2920,14 @@ "url": "https://opencollective.com/eslint" } }, + "node_modules/eslint/node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "engines": { + "node": ">=4.0" + } + }, "node_modules/espree": { "version": "9.6.0", "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.0.tgz", @@ -3113,6 +2955,14 @@ "node": ">=0.10" } }, + "node_modules/esquery/node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "engines": { + "node": ">=4.0" + } + }, "node_modules/esrecurse": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", @@ -3124,7 +2974,7 @@ "node": ">=4.0" } }, - "node_modules/estraverse": { + "node_modules/esrecurse/node_modules/estraverse": { "version": "5.3.0", "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", @@ -3132,6 +2982,14 @@ "node": ">=4.0" } }, + "node_modules/estraverse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "engines": { + "node": ">=4.0" + } + }, "node_modules/estree-walker": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", @@ -4314,21 +4172,6 @@ "node": ">=6" } }, - "node_modules/jsx-ast-utils": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.3.4.tgz", - "integrity": "sha512-fX2TVdCViod6HwKEtSWGHs57oFhVfCMwieb9PuRDgjDPh5XeqJiHFFFJCHxU5cnTc3Bu/GRL+kPiFmw8XWOfKw==", - "dev": true, - "dependencies": { - "array-includes": "^3.1.6", - "array.prototype.flat": "^1.3.1", - "object.assign": "^4.1.4", - "object.values": "^1.1.6" - }, - "engines": { - "node": ">=4.0" - } - }, "node_modules/levn": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", @@ -5074,15 +4917,6 @@ "url": "https://github.com/fb55/nth-check?sponsor=1" } }, - "node_modules/object-assign": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/object-inspect": { "version": "1.12.3", "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz", @@ -5119,67 +4953,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/object.entries": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.6.tgz", - "integrity": "sha512-leTPzo4Zvg3pmbQ3rDK69Rl8GQvIqMWubrkxONG9/ojtFE2rD9fjMKfSI5BxW3osRH1m6VdzmqK8oAY9aT4x5w==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/object.fromentries": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.6.tgz", - "integrity": "sha512-VciD13dswC4j1Xt5394WR4MzmAQmlgN72phd/riNp9vtD7tp4QQWJ0R4wvclXcafgcYK8veHRed2W6XeGBvcfg==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/object.hasown": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/object.hasown/-/object.hasown-1.1.2.tgz", - "integrity": "sha512-B5UIT3J1W+WuWIU55h0mjlwaqxiE5vYENJXIXZ4VFe05pNYrkKuK0U/6aFcb0pKywYJh7IhfoqUfKVmrJJHZHw==", - "dev": true, - "dependencies": { - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/object.values": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.6.tgz", - "integrity": "sha512-FVVTkD1vENCsAcwNs9k6jea2uHC/X0+JcjG8YA60FN5CMaJmG95wT9jek/xX9nornqGRrBkKtzuAu2wuHpKqvw==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/once": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", @@ -5611,17 +5384,6 @@ "node": ">=14" } }, - "node_modules/prop-types": { - "version": "15.8.1", - "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", - "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", - "dev": true, - "dependencies": { - "loose-envify": "^1.4.0", - "object-assign": "^4.1.1", - "react-is": "^16.13.1" - } - }, "node_modules/proto-list": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz", @@ -5712,12 +5474,6 @@ "react": "^18.2.0" } }, - "node_modules/react-is": { - "version": "16.13.1", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", - "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", - "dev": true - }, "node_modules/read-pkg": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", @@ -6232,25 +5988,6 @@ "node": ">=8" } }, - "node_modules/string.prototype.matchall": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/string.prototype.matchall/-/string.prototype.matchall-4.0.8.tgz", - "integrity": "sha512-6zOCOcJ+RJAQshcTvXPHoxoQGONa3e/Lqx90wUA+wEzX78sg5Bo+1tQo4N0pohS0erG9qtCqJDjNCQBjeWVxyg==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4", - "get-intrinsic": "^1.1.3", - "has-symbols": "^1.0.3", - "internal-slot": "^1.0.3", - "regexp.prototype.flags": "^1.4.3", - "side-channel": "^1.0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/string.prototype.padend": { "version": "3.1.4", "resolved": "https://registry.npmjs.org/string.prototype.padend/-/string.prototype.padend-3.1.4.tgz", @@ -8803,61 +8540,11 @@ "is-array-buffer": "^3.0.1" } }, - "array-includes": { - "version": "3.1.6", - "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.6.tgz", - "integrity": "sha512-sgTbLvL6cNnw24FnbaDyjmvddQ2ML8arZsgaJhoABMoplz/4QRhtrYS+alr1BUM1Bwp6dhx8vVCBSLG+StwOFw==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4", - "get-intrinsic": "^1.1.3", - "is-string": "^1.0.7" - } - }, "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==" }, - "array.prototype.flat": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.1.tgz", - "integrity": "sha512-roTU0KWIOmJ4DRLmwKd19Otg0/mT3qPNt0Qb3GWW8iObuZXxrjB/pzn0R3hqpRSWg4HCwqx+0vwOnWnvlOyeIA==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4", - "es-shim-unscopables": "^1.0.0" - } - }, - "array.prototype.flatmap": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.1.tgz", - "integrity": "sha512-8UGn9O1FDVvMNB0UlLv4voxRMze7+FpHyF5mSMRjWHUMlpoDViniy05870VlxhfgTnLbpuwTzvD76MTtWxB/mQ==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4", - "es-shim-unscopables": "^1.0.0" - } - }, - "array.prototype.tosorted": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/array.prototype.tosorted/-/array.prototype.tosorted-1.1.1.tgz", - "integrity": "sha512-pZYPXPRl2PqWcsUs6LOMn+1f1532nEoPTYowBtqLwAW+W8vSVhkIGnmOX1t/UQjD6YGI0vcD2B1U7ZFGQH9jnQ==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4", - "es-shim-unscopables": "^1.0.0", - "get-intrinsic": "^1.1.3" - } - }, "assertion-error": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", @@ -9562,15 +9249,6 @@ "has-tostringtag": "^1.0.0" } }, - "es-shim-unscopables": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.0.tgz", - "integrity": "sha512-Jm6GPcCdC30eMLbZ2x8z2WuRwAws3zTBBKuusffYVUrNj/GVSUAZ+xKMaUpfNDR5IbyNA5LJbaecoUVbmUcB1w==", - "dev": true, - "requires": { - "has": "^1.0.3" - } - }, "es-to-primitive": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", @@ -9676,6 +9354,11 @@ "esrecurse": "^4.3.0", "estraverse": "^5.2.0" } + }, + "estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==" } } }, @@ -9686,64 +9369,6 @@ "dev": true, "requires": {} }, - "eslint-plugin-react": { - "version": "7.32.2", - "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.32.2.tgz", - "integrity": "sha512-t2fBMa+XzonrrNkyVirzKlvn5RXzzPwRHtMvLAtVZrt8oxgnTQaYbU6SXTOO1mwQgp1y5+toMSKInnzGr0Knqg==", - "dev": true, - "requires": { - "array-includes": "^3.1.6", - "array.prototype.flatmap": "^1.3.1", - "array.prototype.tosorted": "^1.1.1", - "doctrine": "^2.1.0", - "estraverse": "^5.3.0", - "jsx-ast-utils": "^2.4.1 || ^3.0.0", - "minimatch": "^3.1.2", - "object.entries": "^1.1.6", - "object.fromentries": "^2.0.6", - "object.hasown": "^1.1.2", - "object.values": "^1.1.6", - "prop-types": "^15.8.1", - "resolve": "^2.0.0-next.4", - "semver": "^6.3.0", - "string.prototype.matchall": "^4.0.8" - }, - "dependencies": { - "doctrine": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", - "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", - "dev": true, - "requires": { - "esutils": "^2.0.2" - } - }, - "resolve": { - "version": "2.0.0-next.4", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-2.0.0-next.4.tgz", - "integrity": "sha512-iMDbmAWtfU+MHpxt/I5iWI7cY6YVEZUQ3MBgPQ++XD1PELuJHIl82xBmObyP2KyQmkNB2dsqF7seoQQiAn5yDQ==", - "dev": true, - "requires": { - "is-core-module": "^2.9.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - } - }, - "semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", - "dev": true - } - } - }, - "eslint-plugin-react-hooks": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.0.tgz", - "integrity": "sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g==", - "dev": true, - "requires": {} - }, "eslint-plugin-stylable": { "version": "file:packages/eslint-plugin-stylable", "requires": { @@ -9758,13 +9383,6 @@ "requires": { "esrecurse": "^4.3.0", "estraverse": "^4.1.1" - }, - "dependencies": { - "estraverse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==" - } } }, "eslint-visitor-keys": { @@ -9788,6 +9406,13 @@ "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", "requires": { "estraverse": "^5.1.0" + }, + "dependencies": { + "estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==" + } } }, "esrecurse": { @@ -9796,12 +9421,19 @@ "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", "requires": { "estraverse": "^5.2.0" + }, + "dependencies": { + "estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==" + } } }, "estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==" + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==" }, "estree-walker": { "version": "2.0.2", @@ -10637,18 +10269,6 @@ "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", "dev": true }, - "jsx-ast-utils": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.3.4.tgz", - "integrity": "sha512-fX2TVdCViod6HwKEtSWGHs57oFhVfCMwieb9PuRDgjDPh5XeqJiHFFFJCHxU5cnTc3Bu/GRL+kPiFmw8XWOfKw==", - "dev": true, - "requires": { - "array-includes": "^3.1.6", - "array.prototype.flat": "^1.3.1", - "object.assign": "^4.1.4", - "object.values": "^1.1.6" - } - }, "levn": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", @@ -11223,12 +10843,6 @@ "boolbase": "^1.0.0" } }, - "object-assign": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", - "dev": true - }, "object-inspect": { "version": "1.12.3", "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz", @@ -11253,49 +10867,6 @@ "object-keys": "^1.1.1" } }, - "object.entries": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.6.tgz", - "integrity": "sha512-leTPzo4Zvg3pmbQ3rDK69Rl8GQvIqMWubrkxONG9/ojtFE2rD9fjMKfSI5BxW3osRH1m6VdzmqK8oAY9aT4x5w==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" - } - }, - "object.fromentries": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.6.tgz", - "integrity": "sha512-VciD13dswC4j1Xt5394WR4MzmAQmlgN72phd/riNp9vtD7tp4QQWJ0R4wvclXcafgcYK8veHRed2W6XeGBvcfg==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" - } - }, - "object.hasown": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/object.hasown/-/object.hasown-1.1.2.tgz", - "integrity": "sha512-B5UIT3J1W+WuWIU55h0mjlwaqxiE5vYENJXIXZ4VFe05pNYrkKuK0U/6aFcb0pKywYJh7IhfoqUfKVmrJJHZHw==", - "dev": true, - "requires": { - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" - } - }, - "object.values": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.6.tgz", - "integrity": "sha512-FVVTkD1vENCsAcwNs9k6jea2uHC/X0+JcjG8YA60FN5CMaJmG95wT9jek/xX9nornqGRrBkKtzuAu2wuHpKqvw==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" - } - }, "once": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", @@ -11565,17 +11136,6 @@ "integrity": "sha512-hKLG+bqLZt7WjuGqgwa12pWyph23bEiqYR16WCnZQxpuveDBABKP4tRcSdMWlxIcEBN0MLsUs+VBH+TlaIHtgA==", "dev": true }, - "prop-types": { - "version": "15.8.1", - "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", - "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", - "dev": true, - "requires": { - "loose-envify": "^1.4.0", - "object-assign": "^4.1.1", - "react-is": "^16.13.1" - } - }, "proto-list": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz", @@ -11633,12 +11193,6 @@ "scheduler": "^0.23.0" } }, - "react-is": { - "version": "16.13.1", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", - "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", - "dev": true - }, "read-pkg": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", @@ -11994,22 +11548,6 @@ "strip-ansi": "^6.0.1" } }, - "string.prototype.matchall": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/string.prototype.matchall/-/string.prototype.matchall-4.0.8.tgz", - "integrity": "sha512-6zOCOcJ+RJAQshcTvXPHoxoQGONa3e/Lqx90wUA+wEzX78sg5Bo+1tQo4N0pohS0erG9qtCqJDjNCQBjeWVxyg==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4", - "get-intrinsic": "^1.1.3", - "has-symbols": "^1.0.3", - "internal-slot": "^1.0.3", - "regexp.prototype.flags": "^1.4.3", - "side-channel": "^1.0.4" - } - }, "string.prototype.padend": { "version": "3.1.4", "resolved": "https://registry.npmjs.org/string.prototype.padend/-/string.prototype.padend-3.1.4.tgz", diff --git a/package.json b/package.json index 7d38ad122..de7efdd83 100644 --- a/package.json +++ b/package.json @@ -55,8 +55,6 @@ "create-listening-server": "^2.1.0", "eslint": "^8.44.0", "eslint-config-prettier": "^8.8.0", - "eslint-plugin-react": "^7.32.2", - "eslint-plugin-react-hooks": "^4.6.0", "file-loader": "^6.2.0", "html-webpack-plugin": "^5.5.3", "mini-css-extract-plugin": "^2.7.6", From c86f24083bc77ee1b62db5578d9b3c3c85cd8121 Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Wed, 12 Jul 2023 12:28:40 +0300 Subject: [PATCH 42/81] chore: pin `typescript-eslint` version - major version dropped node14 which we still support for now - changed `experimental-utils` to `utils` --- package-lock.json | 30 ++----------------- packages/eslint-plugin-stylable/package.json | 2 +- .../src/stylable-es-lint.ts | 2 +- .../test/stylable-es-lint.spec.ts | 2 +- pleb.config.mjs | 11 ++++++- 5 files changed, 15 insertions(+), 32 deletions(-) diff --git a/package-lock.json b/package-lock.json index a613a118b..b15e4e14c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1241,24 +1241,6 @@ } } }, - "node_modules/@typescript-eslint/experimental-utils": { - "version": "5.62.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.62.0.tgz", - "integrity": "sha512-RTXpeB3eMkpoclG3ZHft6vG/Z30azNHuqY6wKPBHlVMZFuEvrtlEDe8gMqDb+SO+9hjC/pLekeSCryf9vMZlCw==", - "dependencies": { - "@typescript-eslint/utils": "5.62.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/@typescript-eslint/parser": { "version": "5.62.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.62.0.tgz", @@ -6971,7 +6953,7 @@ "license": "MIT", "dependencies": { "@stylable/core": "^5.14.0", - "@typescript-eslint/experimental-utils": "^5.61.0" + "@typescript-eslint/utils": "^5.61.0" } }, "packages/experimental-loader": { @@ -8160,14 +8142,6 @@ "tsutils": "^3.21.0" } }, - "@typescript-eslint/experimental-utils": { - "version": "5.62.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.62.0.tgz", - "integrity": "sha512-RTXpeB3eMkpoclG3ZHft6vG/Z30azNHuqY6wKPBHlVMZFuEvrtlEDe8gMqDb+SO+9hjC/pLekeSCryf9vMZlCw==", - "requires": { - "@typescript-eslint/utils": "5.62.0" - } - }, "@typescript-eslint/parser": { "version": "5.62.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.62.0.tgz", @@ -9373,7 +9347,7 @@ "version": "file:packages/eslint-plugin-stylable", "requires": { "@stylable/core": "^5.14.0", - "@typescript-eslint/experimental-utils": "^5.61.0" + "@typescript-eslint/utils": "^5.61.0" } }, "eslint-scope": { diff --git a/packages/eslint-plugin-stylable/package.json b/packages/eslint-plugin-stylable/package.json index 9d27f1560..8d52e5460 100644 --- a/packages/eslint-plugin-stylable/package.json +++ b/packages/eslint-plugin-stylable/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "@stylable/core": "^5.14.0", - "@typescript-eslint/experimental-utils": "^5.61.0" + "@typescript-eslint/utils": "^5.61.0" }, "keywords": [ "eslint", diff --git a/packages/eslint-plugin-stylable/src/stylable-es-lint.ts b/packages/eslint-plugin-stylable/src/stylable-es-lint.ts index c9f0656be..1c331fcc4 100644 --- a/packages/eslint-plugin-stylable/src/stylable-es-lint.ts +++ b/packages/eslint-plugin-stylable/src/stylable-es-lint.ts @@ -7,7 +7,7 @@ import { AST_NODE_TYPES, ASTUtils, TSESTree as esTree, -} from '@typescript-eslint/experimental-utils'; +} from '@typescript-eslint/utils'; const { isIdentifier } = ASTUtils; diff --git a/packages/eslint-plugin-stylable/test/stylable-es-lint.spec.ts b/packages/eslint-plugin-stylable/test/stylable-es-lint.spec.ts index 8b0adabc0..ba48df321 100644 --- a/packages/eslint-plugin-stylable/test/stylable-es-lint.spec.ts +++ b/packages/eslint-plugin-stylable/test/stylable-es-lint.spec.ts @@ -1,6 +1,6 @@ import path from 'path'; import fs from 'fs'; -import { ESLintUtils } from '@typescript-eslint/experimental-utils'; +import { ESLintUtils } from '@typescript-eslint/utils'; import StylableLint from 'eslint-plugin-stylable/dist/stylable-es-lint'; import { createTempDirectorySync } from '@stylable/e2e-test-kit'; diff --git a/pleb.config.mjs b/pleb.config.mjs index 6cb4efc59..a7a77485d 100644 --- a/pleb.config.mjs +++ b/pleb.config.mjs @@ -1,3 +1,12 @@ export default { - // pinnedPackages: [{ name: 'name', reason: 'reason' }], + pinnedPackages: [ + { + name: '@typescript-eslint/eslint-plugin', + reason: 'drop node 14 and type issues with ESLintUtils.RuleCreator', + }, + { + name: '@typescript-eslint/parser', + reason: 'drop node 14 and type issues with ESLintUtils.RuleCreator', + }, + ], }; From caf6d1211df38fc3017a5a365f041c476d90ed3f Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Wed, 12 Jul 2023 12:32:46 +0300 Subject: [PATCH 43/81] chore(deps): upgrade to latest stable --- package-lock.json | 36 +++++++++++++------------- package.json | 8 +++--- packages/code-formatter/package.json | 2 +- packages/core-test-kit/package.json | 2 +- packages/core/package.json | 2 +- packages/e2e-test-kit/package.json | 2 +- packages/language-service/package.json | 2 +- packages/optimizer/package.json | 2 +- packages/webpack-plugin/package.json | 2 +- pleb.config.mjs | 4 +++ 10 files changed, 33 insertions(+), 29 deletions(-) diff --git a/package-lock.json b/package-lock.json index b15e4e14c..794be77e2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -54,19 +54,19 @@ "mocha": "^10.2.0", "node-eval": "^2.0.0", "npm-run-all": "^4.1.5", - "playwright-chromium": "^1.35.1", - "postcss": "^8.4.24", + "playwright-chromium": "^1.36.0", + "postcss": "^8.4.25", "promise-assist": "^2.0.1", "raw-loader": "^4.0.2", "react": "^18.2.0", "react-dom": "^18.2.0", "rimraf": "^5.0.1", - "rollup": "^3.26.0", + "rollup": "^3.26.2", "source-map": "^0.7.4", "source-map-loader": "^4.0.1", "style-loader": "^3.3.3", "ts-expect": "^1.3.0", - "tsconfig-paths-webpack-plugin": "^4.0.1", + "tsconfig-paths-webpack-plugin": "^4.1.0", "typescript": "~5.1.6", "url-loader": "^4.1.1", "webpack": "^5.88.1", @@ -6822,7 +6822,7 @@ "@stylable/core": "^5.14.0", "@tokey/css-value-parser": "^0.1.3", "js-beautify": "^1.14.8", - "postcss": "^8.4.24" + "postcss": "^8.4.25" }, "engines": { "node": ">=14.14.0" @@ -6843,7 +6843,7 @@ "is-vendor-prefixed": "^4.0.0", "lodash.clonedeep": "^4.5.0", "lodash.clonedeepwith": "^4.5.0", - "postcss": "^8.4.24", + "postcss": "^8.4.25", "postcss-js": "^4.0.1", "postcss-nested": "^6.0.1", "postcss-safe-parser": "^6.0.0", @@ -6862,7 +6862,7 @@ "@stylable/core": "^5.14.0", "chai": "^4.3.7", "flat": "^5.0.2", - "postcss": "^8.4.24" + "postcss": "^8.4.25" }, "engines": { "node": ">=14.14.0" @@ -6917,7 +6917,7 @@ "dependencies": { "@stylable/runtime": "^5.14.0", "node-eval": "^2.0.0", - "playwright-core": "^1.35.1", + "playwright-core": "^1.36.0", "rimraf": "^5.0.1" }, "engines": { @@ -7002,7 +7002,7 @@ "@tokey/css-selector-parser": "^0.6.1", "@tokey/css-value-parser": "^0.1.3", "css-selector-tokenizer": "^0.8.0", - "postcss": "^8.4.24", + "postcss": "^8.4.25", "postcss-value-parser": "^4.2.0", "vscode-css-languageservice": "^6.2.6", "vscode-languageserver": "^8.1.0", @@ -7051,7 +7051,7 @@ "@stylable/core": "^5.14.0", "@tokey/css-selector-parser": "^0.6.1", "csso": "^5.0.5", - "postcss": "^8.4.24" + "postcss": "^8.4.25" }, "engines": { "node": ">=14.14.0" @@ -7149,7 +7149,7 @@ "@stylable/runtime": "^5.14.0", "decache": "^4.6.2", "lodash.clonedeep": "^4.5.0", - "postcss": "^8.4.24" + "postcss": "^8.4.25" }, "engines": { "node": ">=14.14.0" @@ -7639,7 +7639,7 @@ "@stylable/core": "^5.14.0", "@tokey/css-value-parser": "^0.1.3", "js-beautify": "^1.14.8", - "postcss": "^8.4.24" + "postcss": "^8.4.25" } }, "@stylable/core": { @@ -7655,7 +7655,7 @@ "is-vendor-prefixed": "^4.0.0", "lodash.clonedeep": "^4.5.0", "lodash.clonedeepwith": "^4.5.0", - "postcss": "^8.4.24", + "postcss": "^8.4.25", "postcss-js": "^4.0.1", "postcss-nested": "^6.0.1", "postcss-safe-parser": "^6.0.0", @@ -7674,7 +7674,7 @@ "@stylable/core": "^5.14.0", "chai": "^4.3.7", "flat": "^5.0.2", - "postcss": "^8.4.24" + "postcss": "^8.4.25" } }, "@stylable/custom-value": { @@ -7696,7 +7696,7 @@ "requires": { "@stylable/runtime": "^5.14.0", "node-eval": "^2.0.0", - "playwright-core": "^1.35.1", + "playwright-core": "^1.36.0", "rimraf": "^5.0.1" } }, @@ -7748,7 +7748,7 @@ "@tokey/css-selector-parser": "^0.6.1", "@tokey/css-value-parser": "^0.1.3", "css-selector-tokenizer": "^0.8.0", - "postcss": "^8.4.24", + "postcss": "^8.4.25", "postcss-value-parser": "^4.2.0", "vscode-css-languageservice": "^6.2.6", "vscode-languageserver": "^8.1.0", @@ -7779,7 +7779,7 @@ "@stylable/core": "^5.14.0", "@tokey/css-selector-parser": "^0.6.1", "csso": "^5.0.5", - "postcss": "^8.4.24" + "postcss": "^8.4.25" } }, "@stylable/rollup-plugin": { @@ -7836,7 +7836,7 @@ "@stylable/runtime": "^5.14.0", "decache": "^4.6.2", "lodash.clonedeep": "^4.5.0", - "postcss": "^8.4.24" + "postcss": "^8.4.25" } }, "@tokey/core": { diff --git a/package.json b/package.json index de7efdd83..2a719e6db 100644 --- a/package.json +++ b/package.json @@ -61,19 +61,19 @@ "mocha": "^10.2.0", "node-eval": "^2.0.0", "npm-run-all": "^4.1.5", - "playwright-chromium": "^1.35.1", - "postcss": "^8.4.24", + "playwright-chromium": "^1.36.0", + "postcss": "^8.4.25", "promise-assist": "^2.0.1", "raw-loader": "^4.0.2", "react": "^18.2.0", "react-dom": "^18.2.0", "rimraf": "^5.0.1", - "rollup": "^3.26.0", + "rollup": "^3.26.2", "source-map": "^0.7.4", "source-map-loader": "^4.0.1", "style-loader": "^3.3.3", "ts-expect": "^1.3.0", - "tsconfig-paths-webpack-plugin": "^4.0.1", + "tsconfig-paths-webpack-plugin": "^4.1.0", "typescript": "~5.1.6", "url-loader": "^4.1.1", "webpack": "^5.88.1", diff --git a/packages/code-formatter/package.json b/packages/code-formatter/package.json index 0e426d9db..78f4789d8 100644 --- a/packages/code-formatter/package.json +++ b/packages/code-formatter/package.json @@ -10,7 +10,7 @@ "@stylable/core": "^5.14.0", "@tokey/css-value-parser": "^0.1.3", "js-beautify": "^1.14.8", - "postcss": "^8.4.24" + "postcss": "^8.4.25" }, "files": [ "dist", diff --git a/packages/core-test-kit/package.json b/packages/core-test-kit/package.json index 5eaa2bd90..b6b5c3816 100644 --- a/packages/core-test-kit/package.json +++ b/packages/core-test-kit/package.json @@ -11,7 +11,7 @@ "@stylable/core": "^5.14.0", "chai": "^4.3.7", "flat": "^5.0.2", - "postcss": "^8.4.24" + "postcss": "^8.4.25" }, "files": [ "dist", diff --git a/packages/core/package.json b/packages/core/package.json index e1232319f..9f825efc6 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -20,7 +20,7 @@ "is-vendor-prefixed": "^4.0.0", "lodash.clonedeep": "^4.5.0", "lodash.clonedeepwith": "^4.5.0", - "postcss": "^8.4.24", + "postcss": "^8.4.25", "postcss-js": "^4.0.1", "postcss-nested": "^6.0.1", "postcss-safe-parser": "^6.0.0", diff --git a/packages/e2e-test-kit/package.json b/packages/e2e-test-kit/package.json index 20a968714..e7f3d1510 100644 --- a/packages/e2e-test-kit/package.json +++ b/packages/e2e-test-kit/package.json @@ -9,7 +9,7 @@ "dependencies": { "@stylable/runtime": "^5.14.0", "node-eval": "^2.0.0", - "playwright-core": "^1.35.1", + "playwright-core": "^1.36.0", "rimraf": "^5.0.1" }, "files": [ diff --git a/packages/language-service/package.json b/packages/language-service/package.json index 584d7fc61..9f0c5ba55 100644 --- a/packages/language-service/package.json +++ b/packages/language-service/package.json @@ -19,7 +19,7 @@ "@tokey/css-selector-parser": "^0.6.1", "@tokey/css-value-parser": "^0.1.3", "css-selector-tokenizer": "^0.8.0", - "postcss": "^8.4.24", + "postcss": "^8.4.25", "postcss-value-parser": "^4.2.0", "vscode-css-languageservice": "^6.2.6", "vscode-languageserver": "^8.1.0", diff --git a/packages/optimizer/package.json b/packages/optimizer/package.json index fdc7ec1a5..2f335f6de 100644 --- a/packages/optimizer/package.json +++ b/packages/optimizer/package.json @@ -10,7 +10,7 @@ "@stylable/core": "^5.14.0", "@tokey/css-selector-parser": "^0.6.1", "csso": "^5.0.5", - "postcss": "^8.4.24" + "postcss": "^8.4.25" }, "files": [ "dist", diff --git a/packages/webpack-plugin/package.json b/packages/webpack-plugin/package.json index d18772417..642fbc769 100644 --- a/packages/webpack-plugin/package.json +++ b/packages/webpack-plugin/package.json @@ -19,7 +19,7 @@ "@stylable/runtime": "^5.14.0", "decache": "^4.6.2", "lodash.clonedeep": "^4.5.0", - "postcss": "^8.4.24" + "postcss": "^8.4.25" }, "files": [ "dist", diff --git a/pleb.config.mjs b/pleb.config.mjs index a7a77485d..2ce39b9cd 100644 --- a/pleb.config.mjs +++ b/pleb.config.mjs @@ -8,5 +8,9 @@ export default { name: '@typescript-eslint/parser', reason: 'drop node 14 and type issues with ESLintUtils.RuleCreator', }, + { + name: '@typescript-eslint/utils', + reason: 'drop node 14 and type issues with ESLintUtils.RuleCreator', + }, ], }; From 636215952327b77c927cbfb37e339bd5ccfca41a Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Thu, 13 Jul 2023 16:59:36 +0300 Subject: [PATCH 44/81] fix: report unexpected pseudo-state param error (#2892) * fix: report unexpected pseudo-state param error * fix: handle boolean state as well --- packages/core/src/helpers/custom-state.ts | 30 ++++++-- .../test/features/css-pseudo-class.spec.ts | 76 +++++++++++++++---- 2 files changed, 86 insertions(+), 20 deletions(-) diff --git a/packages/core/src/helpers/custom-state.ts b/packages/core/src/helpers/custom-state.ts index 345825a3c..1cd8ef0da 100644 --- a/packages/core/src/helpers/custom-state.ts +++ b/packages/core/src/helpers/custom-state.ts @@ -154,6 +154,12 @@ export const stateDiagnostics = { (state: string, finalSelector: string) => `pseudo-state "${state}" result cannot start with a type or universal selector "${finalSelector}"` ), + NO_PARAM_REQUIRED: createDiagnosticReporter( + '08018', + 'error', + (name: string, param: string) => + `pseudo-state "${name}" accepts no parameter, but received "${param}"` + ), }; // parse @@ -855,12 +861,24 @@ export function transformPseudoClassToCustomState( diagnostics: Diagnostics, selectorNode?: postcss.Node ) { - if (stateDef === null) { - convertToClass(stateNode).value = createBooleanStateClassName(name, namespace); - delete stateNode.nodes; - } else if (typeof stateDef === 'string') { - // simply concat global mapped selector - ToDo: maybe change to 'selector' - convertToInvalid(stateNode).value = stateDef; + if (stateDef === null || typeof stateDef === 'string') { + if (stateNode.nodes && selectorNode) { + diagnostics.report( + stateDiagnostics.NO_PARAM_REQUIRED(name, stringifySelector(stateNode.nodes)), + { + node: selectorNode, + word: stringifySelector(stateNode), + } + ); + } + if (stateDef === null) { + // boolean + convertToClass(stateNode).value = createBooleanStateClassName(name, namespace); + } else { + // static template selector + // simply concat global mapped selector - ToDo: maybe change to 'selector' + convertToInvalid(stateNode).value = stateDef; + } delete stateNode.nodes; } else if (typeof stateDef === 'object') { if (isTemplateState(stateDef)) { diff --git a/packages/core/test/features/css-pseudo-class.spec.ts b/packages/core/test/features/css-pseudo-class.spec.ts index 7d9224854..299335807 100644 --- a/packages/core/test/features/css-pseudo-class.spec.ts +++ b/packages/core/test/features/css-pseudo-class.spec.ts @@ -34,24 +34,40 @@ describe('features/css-pseudo-class', () => { }); describe('st-custom-state', () => { it('should transform boolean state', () => { - const { sheets } = testStylableCore(` - .root { - /* @transform-remove(removed decl) */ - -st-states: bool, - exBool(boolean); - } + const { sheets } = testStylableCore({ + '/valid.st.css': ` + .root { + /* @transform-remove(removed decl) */ + -st-states: bool, + exBool(boolean); + } - /* @rule(boolean) .entry__root.entry--bool */ - .root:bool {} + /* @rule(boolean) .valid__root.valid--bool */ + .root:bool {} - /* @rule(explicit boolean) .entry__root.entry--exBool */ - .root:exBool {} + /* @rule(explicit boolean) .valid__root.valid--exBool */ + .root:exBool {} - /* @rule(nested) .entry__root:not(.entry--bool) */ - .root:not(:bool) {} - `); + /* @rule(nested) .valid__root:not(.valid--bool) */ + .root:not(:bool) {} + `, + '/invalid.st.css': ` + .root { + -st-states: bool; + } + + /* + @transform-error ${stCustomStateDiagnostics.NO_PARAM_REQUIRED( + 'bool', + 'unknown-param' + )} + @rule .invalid__root.invalid--bool + */ + .root:bool(unknown-param) {} + `, + }); - const { meta } = sheets['/entry.st.css']; + const { meta } = sheets['/valid.st.css']; shouldReportNoDiagnostics(meta); }); describe('string parameter', () => { @@ -412,6 +428,38 @@ describe('features/css-pseudo-class', () => { `); }); }); + describe('custom mapped static', () => { + it('should transform to global selector', () => { + const { sheets } = testStylableCore(` + .root { + -st-states: static(".x[y]"), + } + + /* @rule .entry__root.x[y]*/ + .root:static {} + `); + + const { meta } = sheets['/entry.st.css']; + + shouldReportNoDiagnostics(meta); + }); + it('should report error for unexpected param', () => { + testStylableCore(` + .root { + -st-states: static("[y]"), + } + + /* + @transform-error ${stCustomStateDiagnostics.NO_PARAM_REQUIRED( + 'static', + 'unknown-param' + )} + @rule .entry__root[y] + */ + .root:static(unknown-param) {} + `); + }); + }); describe('custom mapped parameter', () => { it('should transform mapped state (quoted)', () => { const { sheets } = testStylableCore(` From 313103cc22f1039259dca4c7d454947b7d4a79a7 Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Thu, 13 Jul 2023 18:13:00 +0300 Subject: [PATCH 45/81] fix: structure mode pseudo-element selector definition bug (#2889) * fix: resolve extends case for structure mode make resolver move the current meta to next "parent" extend, instead of wrongly picking the origin meta * test: same issue with legacy-flat syntax --- packages/core/src/stylable-resolver.ts | 2 +- .../test/features/css-pseudo-element.spec.ts | 26 ++++++++++ .../core/test/features/st-structure.spec.ts | 47 ++++++++++++++++++- 3 files changed, 73 insertions(+), 2 deletions(-) diff --git a/packages/core/src/stylable-resolver.ts b/packages/core/src/stylable-resolver.ts index a0d26b046..8f268341d 100644 --- a/packages/core/src/stylable-resolver.ts +++ b/packages/core/src/stylable-resolver.ts @@ -499,7 +499,7 @@ export class StylableResolver { break; } } else { - current = { _kind: 'css', symbol: parent, meta }; + current = { _kind: 'css', symbol: parent, meta: current.meta }; } } else { break; diff --git a/packages/core/test/features/css-pseudo-element.spec.ts b/packages/core/test/features/css-pseudo-element.spec.ts index 6dc067b03..9dedaed3b 100644 --- a/packages/core/test/features/css-pseudo-element.spec.ts +++ b/packages/core/test/features/css-pseudo-element.spec.ts @@ -326,4 +326,30 @@ describe('features/css-pseudo-element', () => { }); }); }); + describe('st-import', () => { + it('should resolve inferred selector across stylesheet', () => { + const { sheets } = testStylableCore({ + 'origin.st.css': ` + .root {} + .extend { + -st-extends: root; + } + `, + 'entry.st.css': ` + @st-import [extend as eee] from './origin.st.css'; + + .local { + -st-extends: eee; + } + + /* @rule .entry__local .origin__extend */ + .local::extend {} + `, + }); + + const { meta } = sheets['/entry.st.css']; + + shouldReportNoDiagnostics(meta); + }); + }); }); diff --git a/packages/core/test/features/st-structure.spec.ts b/packages/core/test/features/st-structure.spec.ts index a14a5df61..b2a077ff6 100644 --- a/packages/core/test/features/st-structure.spec.ts +++ b/packages/core/test/features/st-structure.spec.ts @@ -478,7 +478,52 @@ describe('@st structure', () => { shouldReportNoDiagnostics(meta); }); - it('should resolve inherited parts', () => { + it('should resolve inherited between multiple stylesheet definitions', () => { + const { sheets } = testStylableCore({ + 'origin.st.css': ` + @st .origin { + @st ::x => [x-of-origin]; + } + `, + 'def.st.css': ` + @st-import [origin] from "./origin.st.css"; + + @st .base :is(.origin) { + @st ::a => [a-of-base]; + } + @st .compose :is(.base) { + @st ::b => [b-of-compose]; + } + + /* @rule(compose) .def__compose [x-of-origin] */ + .compose::x {} + + /* @rule(compose) .def__compose [b-of-compose] */ + .compose::b {} + + /* @rule(inherited) .def__compose [a-of-base] */ + .compose::a {} + `, + 'entry.st.css': ` + @st-import [compose] from "./def.st.css"; + + @st .x :is(.compose); + + /* @rule(compose) .entry__x [x-of-origin] */ + .x::x {} + + /* @rule(compose) .entry__x [b-of-compose] */ + .x::b {} + + /* @rule(inherited) .entry__x [a-of-base] */ + .x::a {} + `, + }); + + shouldReportNoDiagnostics(sheets['/def.st.css'].meta); + shouldReportNoDiagnostics(sheets['/entry.st.css'].meta); + }); + it('should resolve inherited parts with legacy flat mode', () => { const { sheets } = testStylableCore({ 'base.st.css': ` @st .base { From c8968033762ee448f18993d1f924437b493200a4 Mon Sep 17 00:00:00 2001 From: barak igal Date: Thu, 13 Jul 2023 18:33:19 +0300 Subject: [PATCH 46/81] feat: added a `.mjs` pure runtime to dist (#2891) --- package.json | 2 +- scripts/build.js | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 scripts/build.js diff --git a/package.json b/package.json index 2a719e6db..1a11cb8d2 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ ], "scripts": { "clean": "rimraf -g ./packages/*/{dist,cjs,esm}", - "build": "tsc --build", + "build": "tsc --build && node scripts/build.js", "watch": "npm run build -- -w", "lint": "eslint .", "pretest": "npm run build", diff --git a/scripts/build.js b/scripts/build.js new file mode 100644 index 000000000..8935aa4da --- /dev/null +++ b/scripts/build.js @@ -0,0 +1,16 @@ +const fs = require('node:fs'); +const path = require('node:path'); + +buildPureEsmRuntime(); + +/** + * duplicate the pure.js file from the dist folder in to a .mjs file + */ +function buildPureEsmRuntime() { + const projectRoot = path.join(__dirname, '..', 'packages', 'runtime'); + + const pureJs = path.join(projectRoot, 'dist', 'pure.js'); + const pureMjs = path.join(projectRoot, 'dist', 'pure.mjs'); + + fs.copyFileSync(pureJs, pureMjs); +} From b4a4296f26ba1c02f51e95e41a307c167c3318f1 Mon Sep 17 00:00:00 2001 From: barak igal Date: Sun, 16 Jul 2023 15:34:31 +0300 Subject: [PATCH 47/81] feat: new cjs and esm bundles for core (#2893) --- .vscode/launch.json | 2 +- package-lock.json | 2 - package.json | 3 +- packages/cli/src/build-single-file.ts | 8 +-- packages/core/src/enhanced-resolve-alias.ts | 9 +++ packages/core/src/index.ts | 2 + .../src/stylable-js-module-source.ts | 2 +- packages/esbuild/package.json | 1 - .../esbuild/src/stylable-esbuild-plugin.ts | 8 ++- packages/esbuild/src/tsconfig.json | 1 - packages/module-utils/README.md | 2 + packages/module-utils/src/index.ts | 3 +- packages/module-utils/src/module-factory.ts | 3 +- scripts/build.js | 61 ++++++++++++++++++- 14 files changed, 87 insertions(+), 20 deletions(-) create mode 100644 packages/core/src/enhanced-resolve-alias.ts rename packages/{module-utils => core}/src/stylable-js-module-source.ts (98%) diff --git a/.vscode/launch.json b/.vscode/launch.json index dd145fa04..e9d9f3362 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -11,7 +11,7 @@ "program": "${workspaceFolder}/scripts/test-runner.js", "args": ["--glob", "packages/*/dist/**/${fileBasenameNoExtension}.js", "--timeout", "999999"], "runtimeArgs": ["--enable-source-maps"], - "preLaunchTask": "npm: build", + "preLaunchTask": "npm: build:dev", "internalConsoleOptions": "openOnSessionStart", "skipFiles": ["/**"], "resolveSourceMapLocations": ["${workspaceFolder}/**", "!**/node_modules/**"], diff --git a/package-lock.json b/package-lock.json index 794be77e2..66c6c7ae6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6935,7 +6935,6 @@ "@stylable/build-tools": "^5.14.0", "@stylable/cli": "^5.14.0", "@stylable/core": "^5.14.0", - "@stylable/module-utils": "^5.14.0", "@stylable/node": "^5.14.0", "@stylable/optimizer": "^5.14.0", "@stylable/runtime": "^5.14.0", @@ -7706,7 +7705,6 @@ "@stylable/build-tools": "^5.14.0", "@stylable/cli": "^5.14.0", "@stylable/core": "^5.14.0", - "@stylable/module-utils": "^5.14.0", "@stylable/node": "^5.14.0", "@stylable/optimizer": "^5.14.0", "@stylable/runtime": "^5.14.0", diff --git a/package.json b/package.json index 1a11cb8d2..a63f737e4 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,8 @@ "scripts": { "clean": "rimraf -g ./packages/*/{dist,cjs,esm}", "build": "tsc --build && node scripts/build.js", - "watch": "npm run build -- -w", + "build:dev": "tsc --build", + "watch": "tsc --build -w", "lint": "eslint .", "pretest": "npm run build", "test": "node --enable-source-maps scripts/test-runner.js --parallel", diff --git a/packages/cli/src/build-single-file.ts b/packages/cli/src/build-single-file.ts index 56951685f..fb5df6430 100644 --- a/packages/cli/src/build-single-file.ts +++ b/packages/cli/src/build-single-file.ts @@ -1,10 +1,6 @@ -import type { Stylable, StylableResults } from '@stylable/core'; +import { type Stylable, type StylableResults, generateStylableJSModuleSource } from '@stylable/core'; import { isAsset, isRelativeNativeCss } from '@stylable/core/dist/index-internal'; -import { - generateDTSContent, - generateDTSSourceMap, - generateStylableJSModuleSource, -} from '@stylable/module-utils'; +import { generateDTSContent, generateDTSSourceMap } from '@stylable/module-utils'; import { StylableOptimizer } from '@stylable/optimizer'; import type { IFileSystem } from '@file-services/types'; import { hasImportedSideEffects, processUrlDependencies } from '@stylable/build-tools'; diff --git a/packages/core/src/enhanced-resolve-alias.ts b/packages/core/src/enhanced-resolve-alias.ts new file mode 100644 index 000000000..69cbb83b9 --- /dev/null +++ b/packages/core/src/enhanced-resolve-alias.ts @@ -0,0 +1,9 @@ +// we don't want to bundle the entire enhanced-resolve package for the browser +// it will throw if Stylable is used in the browser without a custom resolver +export default { + createResolver: () => { + throw new Error( + 'Stylable requires a custom resolver in lib bundles. please provide `resolveModule` options to the Stylable constructor.' + ); + }, +}; diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts index db5188b96..cd0ea213d 100644 --- a/packages/core/src/index.ts +++ b/packages/core/src/index.ts @@ -37,3 +37,5 @@ export { createDefaultResolver } from './module-resolver'; // low-level api export { parseModuleImportStatement, ensureModuleImport } from './helpers/import'; export { validateCustomPropertyName } from './helpers/css-custom-property'; + +export { generateStylableJSModuleSource } from './stylable-js-module-source'; diff --git a/packages/module-utils/src/stylable-js-module-source.ts b/packages/core/src/stylable-js-module-source.ts similarity index 98% rename from packages/module-utils/src/stylable-js-module-source.ts rename to packages/core/src/stylable-js-module-source.ts index b9db3ecb5..46cef0030 100644 --- a/packages/module-utils/src/stylable-js-module-source.ts +++ b/packages/core/src/stylable-js-module-source.ts @@ -1,4 +1,4 @@ -import type { StylableExports } from '@stylable/core/dist/index-internal'; +import type { StylableExports } from './stylable-transformer'; interface InjectCSSOptions { /** diff --git a/packages/esbuild/package.json b/packages/esbuild/package.json index dd7832a48..d37685bda 100644 --- a/packages/esbuild/package.json +++ b/packages/esbuild/package.json @@ -13,7 +13,6 @@ "@stylable/build-tools": "^5.14.0", "@stylable/cli": "^5.14.0", "@stylable/core": "^5.14.0", - "@stylable/module-utils": "^5.14.0", "@stylable/node": "^5.14.0", "@stylable/optimizer": "^5.14.0", "@stylable/runtime": "^5.14.0", diff --git a/packages/esbuild/src/stylable-esbuild-plugin.ts b/packages/esbuild/src/stylable-esbuild-plugin.ts index 1ab7c3b9f..303731f79 100644 --- a/packages/esbuild/src/stylable-esbuild-plugin.ts +++ b/packages/esbuild/src/stylable-esbuild-plugin.ts @@ -1,10 +1,14 @@ import fs, { readFileSync, writeFileSync } from 'fs'; import { relative, join, isAbsolute, dirname } from 'path'; import type { Plugin, PluginBuild } from 'esbuild'; -import { Stylable, StylableConfig, StylableResults } from '@stylable/core'; +import { + Stylable, + StylableConfig, + StylableResults, + generateStylableJSModuleSource, +} from '@stylable/core'; import { StylableOptimizer } from '@stylable/optimizer'; import { resolveNamespace as resolveNamespaceNode } from '@stylable/node'; -import { generateStylableJSModuleSource } from '@stylable/module-utils'; import { collectImportsWithSideEffects } from '@stylable/build-tools'; import { resolveConfig, buildDTS } from '@stylable/cli'; import type { DiagnosticsMode } from '@stylable/core/dist/index-internal'; diff --git a/packages/esbuild/src/tsconfig.json b/packages/esbuild/src/tsconfig.json index 59c8cb4f0..83f24b583 100644 --- a/packages/esbuild/src/tsconfig.json +++ b/packages/esbuild/src/tsconfig.json @@ -7,7 +7,6 @@ { "path": "../../core/src" }, { "path": "../../cli/src" }, { "path": "../../node/src" }, - { "path": "../../module-utils/src" }, { "path": "../../optimizer/src" } ] } diff --git a/packages/module-utils/README.md b/packages/module-utils/README.md index b864ba3ad..5204584fb 100644 --- a/packages/module-utils/README.md +++ b/packages/module-utils/README.md @@ -12,5 +12,7 @@ Creates a factory for creating multiple Stylable modules in a shared context, us Creates a single Stylable module source code. +> This function moved to `@stylable/core` and will be removed in the next major version. + ## License Copyright (c) 2017 Wix.com Ltd. All Rights Reserved. Use of this source code is governed by an [MIT license](./LICENSE). diff --git a/packages/module-utils/src/index.ts b/packages/module-utils/src/index.ts index 98b1bb175..0f15550b4 100644 --- a/packages/module-utils/src/index.ts +++ b/packages/module-utils/src/index.ts @@ -4,4 +4,5 @@ export { createModuleSource, generateModuleSource } from './module-source'; export { Options, stylableModuleFactory } from './module-factory'; export { generateDTSContent } from './generate-dts'; export { generateDTSSourceMap } from './generate-dts-sourcemaps'; -export { generateStylableJSModuleSource } from './stylable-js-module-source'; +// ToDo(major): moved to core +export { generateStylableJSModuleSource } from '@stylable/core'; diff --git a/packages/module-utils/src/module-factory.ts b/packages/module-utils/src/module-factory.ts index fd7e2ed0b..1a2fce051 100644 --- a/packages/module-utils/src/module-factory.ts +++ b/packages/module-utils/src/module-factory.ts @@ -1,5 +1,4 @@ -import { Stylable, StylableConfig } from '@stylable/core'; -import { generateStylableJSModuleSource } from './stylable-js-module-source'; +import { Stylable, StylableConfig, generateStylableJSModuleSource } from '@stylable/core'; export interface Options { injectCSS: boolean; diff --git a/scripts/build.js b/scripts/build.js index 8935aa4da..94dabdf47 100644 --- a/scripts/build.js +++ b/scripts/build.js @@ -1,16 +1,73 @@ +// @ts-check + const fs = require('node:fs'); const path = require('node:path'); +const esbuild = require('esbuild'); -buildPureEsmRuntime(); +const packagesRoot = path.join(__dirname, '..', 'packages'); +buildPureEsmRuntime(); +buildCoreLib(); /** * duplicate the pure.js file from the dist folder in to a .mjs file */ function buildPureEsmRuntime() { - const projectRoot = path.join(__dirname, '..', 'packages', 'runtime'); + const projectRoot = path.join(packagesRoot, 'runtime'); const pureJs = path.join(projectRoot, 'dist', 'pure.js'); const pureMjs = path.join(projectRoot, 'dist', 'pure.mjs'); fs.copyFileSync(pureJs, pureMjs); } + +function buildCoreLib() { + const coreRoot = path.join(packagesRoot, 'core'); + // bundle({ + // absWorkingDir: coreRoot, + // format: 'iife', + // outfile: `./dist/lib.js`, + // globalName: 'StylableCore', + // }); + bundle({ + absWorkingDir: coreRoot, + format: 'cjs', + outfile: `./dist/lib.cjs`, + }); + bundle({ + absWorkingDir: coreRoot, + format: 'esm', + outfile: `./dist/lib.mjs`, + }); +} +function bundle(options) { + esbuild + .build({ + entryPoints: ['./src/index.ts'], + bundle: true, + platform: 'browser', + sourcemap: true, + minify: true, + write: true, + alias: { + path: '@file-services/path', + // remove after moving the defaultResolver from core + 'enhanced-resolve/lib/ResolverFactory.js': path.join( + options.absWorkingDir, + 'src', + 'enhanced-resolve-alias.ts' + ), + }, + ...options, + }) + .then(({ errors, warnings }) => { + if (errors.length || warnings.length) { + console.error('build errors', errors); + console.warn('build warnings', warnings); + process.exitCode = 1; + } + }) + .catch((e) => { + console.error(e); + process.exitCode = 1; + }); +} From e0d25290cebcc4bf66f05b35592db74d39bb94d0 Mon Sep 17 00:00:00 2001 From: barak igal Date: Mon, 17 Jul 2023 11:34:19 +0300 Subject: [PATCH 48/81] Update native-reserved-list value functions (#2890) --- packages/core/src/native-reserved-lists.ts | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/packages/core/src/native-reserved-lists.ts b/packages/core/src/native-reserved-lists.ts index 0b5d2580f..b2997379d 100644 --- a/packages/core/src/native-reserved-lists.ts +++ b/packages/core/src/native-reserved-lists.ts @@ -163,6 +163,7 @@ export const nativeFunctionsDic: Record = { scaleX: { preserveQuotes: false }, scaleY: { preserveQuotes: false }, scaleZ: { preserveQuotes: false }, + scroll: { preserveQuotes: false }, sepia: { preserveQuotes: false }, skew: { preserveQuotes: false }, skewX: { preserveQuotes: false }, @@ -179,4 +180,29 @@ export const nativeFunctionsDic: Record = { translateZ: { preserveQuotes: false }, url: { preserveQuotes: false }, var: { preserveQuotes: false }, + color: { preserveQuotes: true }, + 'color-mix': { preserveQuotes: true }, + lab: { preserveQuotes: true }, + oklab: { preserveQuotes: true }, + lch: { preserveQuotes: true }, + oklch: { preserveQuotes: true }, + supports: { preserveQuotes: true }, + anchor: { preserveQuotes: true }, + selector: { preserveQuotes: true /* TODO:transform the nested selector */ }, + style: { preserveQuotes: true /* TODO: transform the dashed ident property */ }, + 'image-set': { preserveQuotes: true }, + sin: { preserveQuotes: true }, + cos: { preserveQuotes: true }, + tan: { preserveQuotes: true }, + asin: { preserveQuotes: true }, + acos: { preserveQuotes: true }, + atan: { preserveQuotes: true }, + atan2: { preserveQuotes: true }, + pow: { preserveQuotes: true }, + sqrt: { preserveQuotes: true }, + hypot: { preserveQuotes: true }, + log: { preserveQuotes: true }, + exp: { preserveQuotes: true }, + abs: { preserveQuotes: true }, + sign: { preserveQuotes: true }, }; From 314cf0813a5e546db480ceb94c9fad30fdd65e08 Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Mon, 17 Jul 2023 11:40:28 +0300 Subject: [PATCH 49/81] v5.15.0 --- package-lock.json | 246 +++++++++---------- packages/build-tools/package.json | 4 +- packages/cli/package.json | 14 +- packages/code-formatter/package.json | 4 +- packages/core-test-kit/package.json | 4 +- packages/core/package.json | 2 +- packages/create-stylable-app/package.json | 2 +- packages/custom-value/package.json | 4 +- packages/dom-test-kit/package.json | 6 +- packages/e2e-test-kit/package.json | 4 +- packages/esbuild/package.json | 14 +- packages/eslint-plugin-stylable/package.json | 4 +- packages/experimental-loader/package.json | 6 +- packages/jest/package.json | 10 +- packages/language-service/package.json | 6 +- packages/module-utils/package.json | 4 +- packages/node/package.json | 8 +- packages/optimizer/package.json | 4 +- packages/rollup-plugin/package.json | 14 +- packages/runtime/package.json | 2 +- packages/schema-extract/package.json | 4 +- packages/uni-driver/package.json | 2 +- packages/webpack-extensions/package.json | 8 +- packages/webpack-plugin/package.json | 16 +- 24 files changed, 196 insertions(+), 196 deletions(-) diff --git a/package-lock.json b/package-lock.json index 66c6c7ae6..c4a640114 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6765,10 +6765,10 @@ }, "packages/build-tools": { "name": "@stylable/build-tools", - "version": "5.14.0", + "version": "5.15.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.14.0", + "@stylable/core": "^5.15.0", "find-config": "^1.0.0" }, "engines": { @@ -6777,17 +6777,17 @@ }, "packages/cli": { "name": "@stylable/cli", - "version": "5.14.0", + "version": "5.15.0", "license": "MIT", "dependencies": { "@file-services/node": "^7.4.0", "@file-services/types": "^7.4.0", - "@stylable/build-tools": "^5.14.0", - "@stylable/code-formatter": "^5.14.0", - "@stylable/core": "^5.14.0", - "@stylable/module-utils": "^5.14.0", - "@stylable/node": "^5.14.0", - "@stylable/optimizer": "^5.14.0", + "@stylable/build-tools": "^5.15.0", + "@stylable/code-formatter": "^5.15.0", + "@stylable/core": "^5.15.0", + "@stylable/module-utils": "^5.15.0", + "@stylable/node": "^5.15.0", + "@stylable/optimizer": "^5.15.0", "@wixc3/resolve-directory-context": "^3.0.5", "decache": "^4.6.2", "lodash.camelcase": "^4.3.0", @@ -6816,10 +6816,10 @@ }, "packages/code-formatter": { "name": "@stylable/code-formatter", - "version": "5.14.0", + "version": "5.15.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.14.0", + "@stylable/core": "^5.15.0", "@tokey/css-value-parser": "^0.1.3", "js-beautify": "^1.14.8", "postcss": "^8.4.25" @@ -6830,7 +6830,7 @@ }, "packages/core": { "name": "@stylable/core", - "version": "5.14.0", + "version": "5.15.0", "license": "MIT", "dependencies": { "@tokey/css-selector-parser": "^0.6.1", @@ -6855,11 +6855,11 @@ }, "packages/core-test-kit": { "name": "@stylable/core-test-kit", - "version": "5.14.0", + "version": "5.15.0", "license": "MIT", "dependencies": { "@file-services/memory": "^7.4.0", - "@stylable/core": "^5.14.0", + "@stylable/core": "^5.15.0", "chai": "^4.3.7", "flat": "^5.0.2", "postcss": "^8.4.25" @@ -6873,7 +6873,7 @@ "license": "MIT" }, "packages/create-stylable-app": { - "version": "5.14.0", + "version": "5.15.0", "license": "MIT", "dependencies": { "validate-npm-package-name": "^5.0.0", @@ -6888,10 +6888,10 @@ }, "packages/custom-value": { "name": "@stylable/custom-value", - "version": "5.14.0", + "version": "5.15.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.14.0" + "@stylable/core": "^5.15.0" }, "engines": { "node": ">=14.14.0" @@ -6899,11 +6899,11 @@ }, "packages/dom-test-kit": { "name": "@stylable/dom-test-kit", - "version": "5.14.0", + "version": "5.15.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.14.0", - "@stylable/runtime": "^5.14.0", + "@stylable/core": "^5.15.0", + "@stylable/runtime": "^5.15.0", "@tokey/css-selector-parser": "^0.6.1" }, "engines": { @@ -6912,10 +6912,10 @@ }, "packages/e2e-test-kit": { "name": "@stylable/e2e-test-kit", - "version": "5.14.0", + "version": "5.15.0", "license": "MIT", "dependencies": { - "@stylable/runtime": "^5.14.0", + "@stylable/runtime": "^5.15.0", "node-eval": "^2.0.0", "playwright-core": "^1.36.0", "rimraf": "^5.0.1" @@ -6929,15 +6929,15 @@ }, "packages/esbuild": { "name": "@stylable/esbuild", - "version": "5.14.0", + "version": "5.15.0", "license": "MIT", "dependencies": { - "@stylable/build-tools": "^5.14.0", - "@stylable/cli": "^5.14.0", - "@stylable/core": "^5.14.0", - "@stylable/node": "^5.14.0", - "@stylable/optimizer": "^5.14.0", - "@stylable/runtime": "^5.14.0", + "@stylable/build-tools": "^5.15.0", + "@stylable/cli": "^5.15.0", + "@stylable/core": "^5.15.0", + "@stylable/node": "^5.15.0", + "@stylable/optimizer": "^5.15.0", + "@stylable/runtime": "^5.15.0", "decache": "^4.6.2" }, "engines": { @@ -6948,20 +6948,20 @@ } }, "packages/eslint-plugin-stylable": { - "version": "5.14.0", + "version": "5.15.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.14.0", + "@stylable/core": "^5.15.0", "@typescript-eslint/utils": "^5.61.0" } }, "packages/experimental-loader": { "name": "@stylable/experimental-loader", - "version": "5.14.0", + "version": "5.15.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.14.0", - "@stylable/runtime": "^5.14.0", + "@stylable/core": "^5.15.0", + "@stylable/runtime": "^5.15.0", "css-loader": "^6.8.1", "decache": "^4.6.2", "loader-utils": "^3.2.1" @@ -6976,13 +6976,13 @@ }, "packages/jest": { "name": "@stylable/jest", - "version": "5.14.0", + "version": "5.15.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.14.0", - "@stylable/module-utils": "^5.14.0", - "@stylable/node": "^5.14.0", - "@stylable/runtime": "^5.14.0" + "@stylable/core": "^5.15.0", + "@stylable/module-utils": "^5.15.0", + "@stylable/node": "^5.15.0", + "@stylable/runtime": "^5.15.0" }, "engines": { "node": ">=14.14.0" @@ -6990,13 +6990,13 @@ }, "packages/language-service": { "name": "@stylable/language-service", - "version": "5.14.0", + "version": "5.15.0", "license": "MIT", "dependencies": { "@file-services/types": "^7.4.0", "@file-services/typescript": "^7.4.0", - "@stylable/code-formatter": "^5.14.0", - "@stylable/core": "^5.14.0", + "@stylable/code-formatter": "^5.15.0", + "@stylable/core": "^5.15.0", "@tokey/core": "^1.4.0", "@tokey/css-selector-parser": "^0.6.1", "@tokey/css-value-parser": "^0.1.3", @@ -7017,10 +7017,10 @@ }, "packages/module-utils": { "name": "@stylable/module-utils", - "version": "5.14.0", + "version": "5.15.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.14.0", + "@stylable/core": "^5.15.0", "@tokey/core": "^1.4.0", "vlq": "^2.0.4" }, @@ -7030,12 +7030,12 @@ }, "packages/node": { "name": "@stylable/node", - "version": "5.14.0", + "version": "5.15.0", "license": "MIT", "dependencies": { - "@stylable/build-tools": "^5.14.0", - "@stylable/core": "^5.14.0", - "@stylable/module-utils": "^5.14.0", + "@stylable/build-tools": "^5.15.0", + "@stylable/core": "^5.15.0", + "@stylable/module-utils": "^5.15.0", "find-config": "^1.0.0" }, "engines": { @@ -7044,10 +7044,10 @@ }, "packages/optimizer": { "name": "@stylable/optimizer", - "version": "5.14.0", + "version": "5.15.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.14.0", + "@stylable/core": "^5.15.0", "@tokey/css-selector-parser": "^0.6.1", "csso": "^5.0.5", "postcss": "^8.4.25" @@ -7058,15 +7058,15 @@ }, "packages/rollup-plugin": { "name": "@stylable/rollup-plugin", - "version": "5.14.0", + "version": "5.15.0", "license": "MIT", "dependencies": { - "@stylable/build-tools": "^5.14.0", - "@stylable/cli": "^5.14.0", - "@stylable/core": "^5.14.0", - "@stylable/node": "^5.14.0", - "@stylable/optimizer": "^5.14.0", - "@stylable/runtime": "^5.14.0", + "@stylable/build-tools": "^5.15.0", + "@stylable/cli": "^5.15.0", + "@stylable/core": "^5.15.0", + "@stylable/node": "^5.15.0", + "@stylable/optimizer": "^5.15.0", + "@stylable/runtime": "^5.15.0", "decache": "^4.6.2", "mime": "^3.0.0" }, @@ -7089,7 +7089,7 @@ }, "packages/runtime": { "name": "@stylable/runtime", - "version": "5.14.0", + "version": "5.15.0", "license": "MIT", "engines": { "node": ">=14.14.0" @@ -7097,10 +7097,10 @@ }, "packages/schema-extract": { "name": "@stylable/schema-extract", - "version": "5.14.0", + "version": "5.15.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.14.0", + "@stylable/core": "^5.15.0", "jest-docblock": "^29.4.3" }, "engines": { @@ -7109,7 +7109,7 @@ }, "packages/uni-driver": { "name": "@stylable/uni-driver", - "version": "5.14.0", + "version": "5.15.0", "license": "MIT", "engines": { "node": ">=14.14.0" @@ -7117,12 +7117,12 @@ }, "packages/webpack-extensions": { "name": "@stylable/webpack-extensions", - "version": "5.14.0", + "version": "5.15.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.14.0", - "@stylable/node": "^5.14.0", - "@stylable/webpack-plugin": "^5.14.0", + "@stylable/core": "^5.15.0", + "@stylable/node": "^5.15.0", + "@stylable/webpack-plugin": "^5.15.0", "@tokey/css-selector-parser": "^0.6.1", "find-config": "^1.0.0", "lodash.clonedeep": "^4.5.0" @@ -7136,16 +7136,16 @@ }, "packages/webpack-plugin": { "name": "@stylable/webpack-plugin", - "version": "5.14.0", + "version": "5.15.0", "license": "MIT", "dependencies": { - "@stylable/build-tools": "^5.14.0", - "@stylable/cli": "^5.14.0", - "@stylable/core": "^5.14.0", - "@stylable/module-utils": "^5.14.0", - "@stylable/node": "^5.14.0", - "@stylable/optimizer": "^5.14.0", - "@stylable/runtime": "^5.14.0", + "@stylable/build-tools": "^5.15.0", + "@stylable/cli": "^5.15.0", + "@stylable/core": "^5.15.0", + "@stylable/module-utils": "^5.15.0", + "@stylable/node": "^5.15.0", + "@stylable/optimizer": "^5.15.0", + "@stylable/runtime": "^5.15.0", "decache": "^4.6.2", "lodash.clonedeep": "^4.5.0", "postcss": "^8.4.25" @@ -7604,7 +7604,7 @@ "@stylable/build-tools": { "version": "file:packages/build-tools", "requires": { - "@stylable/core": "^5.14.0", + "@stylable/core": "^5.15.0", "find-config": "^1.0.0" } }, @@ -7613,12 +7613,12 @@ "requires": { "@file-services/node": "^7.4.0", "@file-services/types": "^7.4.0", - "@stylable/build-tools": "^5.14.0", - "@stylable/code-formatter": "^5.14.0", - "@stylable/core": "^5.14.0", - "@stylable/module-utils": "^5.14.0", - "@stylable/node": "^5.14.0", - "@stylable/optimizer": "^5.14.0", + "@stylable/build-tools": "^5.15.0", + "@stylable/code-formatter": "^5.15.0", + "@stylable/core": "^5.15.0", + "@stylable/module-utils": "^5.15.0", + "@stylable/node": "^5.15.0", + "@stylable/optimizer": "^5.15.0", "@wixc3/resolve-directory-context": "^3.0.5", "decache": "^4.6.2", "lodash.camelcase": "^4.3.0", @@ -7635,7 +7635,7 @@ "@stylable/code-formatter": { "version": "file:packages/code-formatter", "requires": { - "@stylable/core": "^5.14.0", + "@stylable/core": "^5.15.0", "@tokey/css-value-parser": "^0.1.3", "js-beautify": "^1.14.8", "postcss": "^8.4.25" @@ -7670,7 +7670,7 @@ "version": "file:packages/core-test-kit", "requires": { "@file-services/memory": "^7.4.0", - "@stylable/core": "^5.14.0", + "@stylable/core": "^5.15.0", "chai": "^4.3.7", "flat": "^5.0.2", "postcss": "^8.4.25" @@ -7679,21 +7679,21 @@ "@stylable/custom-value": { "version": "file:packages/custom-value", "requires": { - "@stylable/core": "^5.14.0" + "@stylable/core": "^5.15.0" } }, "@stylable/dom-test-kit": { "version": "file:packages/dom-test-kit", "requires": { - "@stylable/core": "^5.14.0", - "@stylable/runtime": "^5.14.0", + "@stylable/core": "^5.15.0", + "@stylable/runtime": "^5.15.0", "@tokey/css-selector-parser": "^0.6.1" } }, "@stylable/e2e-test-kit": { "version": "file:packages/e2e-test-kit", "requires": { - "@stylable/runtime": "^5.14.0", + "@stylable/runtime": "^5.15.0", "node-eval": "^2.0.0", "playwright-core": "^1.36.0", "rimraf": "^5.0.1" @@ -7702,20 +7702,20 @@ "@stylable/esbuild": { "version": "file:packages/esbuild", "requires": { - "@stylable/build-tools": "^5.14.0", - "@stylable/cli": "^5.14.0", - "@stylable/core": "^5.14.0", - "@stylable/node": "^5.14.0", - "@stylable/optimizer": "^5.14.0", - "@stylable/runtime": "^5.14.0", + "@stylable/build-tools": "^5.15.0", + "@stylable/cli": "^5.15.0", + "@stylable/core": "^5.15.0", + "@stylable/node": "^5.15.0", + "@stylable/optimizer": "^5.15.0", + "@stylable/runtime": "^5.15.0", "decache": "^4.6.2" } }, "@stylable/experimental-loader": { "version": "file:packages/experimental-loader", "requires": { - "@stylable/core": "^5.14.0", - "@stylable/runtime": "^5.14.0", + "@stylable/core": "^5.15.0", + "@stylable/runtime": "^5.15.0", "css-loader": "^6.8.1", "decache": "^4.6.2", "loader-utils": "^3.2.1" @@ -7729,10 +7729,10 @@ "@stylable/jest": { "version": "file:packages/jest", "requires": { - "@stylable/core": "^5.14.0", - "@stylable/module-utils": "^5.14.0", - "@stylable/node": "^5.14.0", - "@stylable/runtime": "^5.14.0" + "@stylable/core": "^5.15.0", + "@stylable/module-utils": "^5.15.0", + "@stylable/node": "^5.15.0", + "@stylable/runtime": "^5.15.0" } }, "@stylable/language-service": { @@ -7740,8 +7740,8 @@ "requires": { "@file-services/types": "^7.4.0", "@file-services/typescript": "^7.4.0", - "@stylable/code-formatter": "^5.14.0", - "@stylable/core": "^5.14.0", + "@stylable/code-formatter": "^5.15.0", + "@stylable/core": "^5.15.0", "@tokey/core": "^1.4.0", "@tokey/css-selector-parser": "^0.6.1", "@tokey/css-value-parser": "^0.1.3", @@ -7757,7 +7757,7 @@ "@stylable/module-utils": { "version": "file:packages/module-utils", "requires": { - "@stylable/core": "^5.14.0", + "@stylable/core": "^5.15.0", "@tokey/core": "^1.4.0", "vlq": "^2.0.4" } @@ -7765,16 +7765,16 @@ "@stylable/node": { "version": "file:packages/node", "requires": { - "@stylable/build-tools": "^5.14.0", - "@stylable/core": "^5.14.0", - "@stylable/module-utils": "^5.14.0", + "@stylable/build-tools": "^5.15.0", + "@stylable/core": "^5.15.0", + "@stylable/module-utils": "^5.15.0", "find-config": "^1.0.0" } }, "@stylable/optimizer": { "version": "file:packages/optimizer", "requires": { - "@stylable/core": "^5.14.0", + "@stylable/core": "^5.15.0", "@tokey/css-selector-parser": "^0.6.1", "csso": "^5.0.5", "postcss": "^8.4.25" @@ -7783,12 +7783,12 @@ "@stylable/rollup-plugin": { "version": "file:packages/rollup-plugin", "requires": { - "@stylable/build-tools": "^5.14.0", - "@stylable/cli": "^5.14.0", - "@stylable/core": "^5.14.0", - "@stylable/node": "^5.14.0", - "@stylable/optimizer": "^5.14.0", - "@stylable/runtime": "^5.14.0", + "@stylable/build-tools": "^5.15.0", + "@stylable/cli": "^5.15.0", + "@stylable/core": "^5.15.0", + "@stylable/node": "^5.15.0", + "@stylable/optimizer": "^5.15.0", + "@stylable/runtime": "^5.15.0", "decache": "^4.6.2", "mime": "^3.0.0" }, @@ -7804,7 +7804,7 @@ "@stylable/schema-extract": { "version": "file:packages/schema-extract", "requires": { - "@stylable/core": "^5.14.0", + "@stylable/core": "^5.15.0", "jest-docblock": "^29.4.3" } }, @@ -7814,9 +7814,9 @@ "@stylable/webpack-extensions": { "version": "file:packages/webpack-extensions", "requires": { - "@stylable/core": "^5.14.0", - "@stylable/node": "^5.14.0", - "@stylable/webpack-plugin": "^5.14.0", + "@stylable/core": "^5.15.0", + "@stylable/node": "^5.15.0", + "@stylable/webpack-plugin": "^5.15.0", "@tokey/css-selector-parser": "^0.6.1", "find-config": "^1.0.0", "lodash.clonedeep": "^4.5.0" @@ -7825,13 +7825,13 @@ "@stylable/webpack-plugin": { "version": "file:packages/webpack-plugin", "requires": { - "@stylable/build-tools": "^5.14.0", - "@stylable/cli": "^5.14.0", - "@stylable/core": "^5.14.0", - "@stylable/module-utils": "^5.14.0", - "@stylable/node": "^5.14.0", - "@stylable/optimizer": "^5.14.0", - "@stylable/runtime": "^5.14.0", + "@stylable/build-tools": "^5.15.0", + "@stylable/cli": "^5.15.0", + "@stylable/core": "^5.15.0", + "@stylable/module-utils": "^5.15.0", + "@stylable/node": "^5.15.0", + "@stylable/optimizer": "^5.15.0", + "@stylable/runtime": "^5.15.0", "decache": "^4.6.2", "lodash.clonedeep": "^4.5.0", "postcss": "^8.4.25" @@ -9344,7 +9344,7 @@ "eslint-plugin-stylable": { "version": "file:packages/eslint-plugin-stylable", "requires": { - "@stylable/core": "^5.14.0", + "@stylable/core": "^5.15.0", "@typescript-eslint/utils": "^5.61.0" } }, diff --git a/packages/build-tools/package.json b/packages/build-tools/package.json index b1f995073..93f8e3f0f 100644 --- a/packages/build-tools/package.json +++ b/packages/build-tools/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/build-tools", - "version": "5.14.0", + "version": "5.15.0", "description": "Collection of helper functions for Stylable based tooling.", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 20000" }, "dependencies": { - "@stylable/core": "^5.14.0", + "@stylable/core": "^5.15.0", "find-config": "^1.0.0" }, "files": [ diff --git a/packages/cli/package.json b/packages/cli/package.json index ba385d300..42908a3d1 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/cli", - "version": "5.14.0", + "version": "5.15.0", "description": "A low-level utility used for working with Stylable projects", "main": "dist/index.js", "bin": { @@ -14,12 +14,12 @@ "dependencies": { "@file-services/node": "^7.4.0", "@file-services/types": "^7.4.0", - "@stylable/build-tools": "^5.14.0", - "@stylable/code-formatter": "^5.14.0", - "@stylable/core": "^5.14.0", - "@stylable/module-utils": "^5.14.0", - "@stylable/node": "^5.14.0", - "@stylable/optimizer": "^5.14.0", + "@stylable/build-tools": "^5.15.0", + "@stylable/code-formatter": "^5.15.0", + "@stylable/core": "^5.15.0", + "@stylable/module-utils": "^5.15.0", + "@stylable/node": "^5.15.0", + "@stylable/optimizer": "^5.15.0", "@wixc3/resolve-directory-context": "^3.0.5", "decache": "^4.6.2", "lodash.camelcase": "^4.3.0", diff --git a/packages/code-formatter/package.json b/packages/code-formatter/package.json index 78f4789d8..a5f9184fb 100644 --- a/packages/code-formatter/package.json +++ b/packages/code-formatter/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/code-formatter", - "version": "5.14.0", + "version": "5.15.0", "description": "A code formatting utility for Stylable stylesheets", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.14.0", + "@stylable/core": "^5.15.0", "@tokey/css-value-parser": "^0.1.3", "js-beautify": "^1.14.8", "postcss": "^8.4.25" diff --git a/packages/core-test-kit/package.json b/packages/core-test-kit/package.json index b6b5c3816..28b63aa90 100644 --- a/packages/core-test-kit/package.json +++ b/packages/core-test-kit/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/core-test-kit", - "version": "5.14.0", + "version": "5.15.0", "description": "Stylable core test-kit", "main": "dist/index.js", "scripts": { @@ -8,7 +8,7 @@ }, "dependencies": { "@file-services/memory": "^7.4.0", - "@stylable/core": "^5.14.0", + "@stylable/core": "^5.15.0", "chai": "^4.3.7", "flat": "^5.0.2", "postcss": "^8.4.25" diff --git a/packages/core/package.json b/packages/core/package.json index 9f825efc6..26e2cae94 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/core", - "version": "5.14.0", + "version": "5.15.0", "description": "CSS for Components", "main": "dist/index.js", "scripts": { diff --git a/packages/create-stylable-app/package.json b/packages/create-stylable-app/package.json index 2a9570e6a..ccf822803 100644 --- a/packages/create-stylable-app/package.json +++ b/packages/create-stylable-app/package.json @@ -1,6 +1,6 @@ { "name": "create-stylable-app", - "version": "5.14.0", + "version": "5.15.0", "description": "Quickly create a Stylable application", "main": "dist/index.js", "bin": { diff --git a/packages/custom-value/package.json b/packages/custom-value/package.json index f3e6370c8..779ce0a1b 100644 --- a/packages/custom-value/package.json +++ b/packages/custom-value/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/custom-value", - "version": "5.14.0", + "version": "5.15.0", "description": "Custom values (variables) for Stylable", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 20000" }, "dependencies": { - "@stylable/core": "^5.14.0" + "@stylable/core": "^5.15.0" }, "files": [ "dist", diff --git a/packages/dom-test-kit/package.json b/packages/dom-test-kit/package.json index 5242e590a..6522627c7 100644 --- a/packages/dom-test-kit/package.json +++ b/packages/dom-test-kit/package.json @@ -1,14 +1,14 @@ { "name": "@stylable/dom-test-kit", - "version": "5.14.0", + "version": "5.15.0", "description": "Stylable DOM testing utilities", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.14.0", - "@stylable/runtime": "^5.14.0", + "@stylable/core": "^5.15.0", + "@stylable/runtime": "^5.15.0", "@tokey/css-selector-parser": "^0.6.1" }, "files": [ diff --git a/packages/e2e-test-kit/package.json b/packages/e2e-test-kit/package.json index e7f3d1510..522bbfb80 100644 --- a/packages/e2e-test-kit/package.json +++ b/packages/e2e-test-kit/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/e2e-test-kit", - "version": "5.14.0", + "version": "5.15.0", "description": "A collection of tools to help test Stylable components and applications from end-to-end", "main": "dist/index.js", "peerDependencies": { "webpack": "^5.30.0" }, "dependencies": { - "@stylable/runtime": "^5.14.0", + "@stylable/runtime": "^5.15.0", "node-eval": "^2.0.0", "playwright-core": "^1.36.0", "rimraf": "^5.0.1" diff --git a/packages/esbuild/package.json b/packages/esbuild/package.json index d37685bda..a89dd7e8f 100644 --- a/packages/esbuild/package.json +++ b/packages/esbuild/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/esbuild", - "version": "5.14.0", + "version": "5.15.0", "description": "Stylable plugin for esbuild", "main": "dist/index.js", "scripts": { @@ -10,12 +10,12 @@ "esbuild": ">=0.17.18" }, "dependencies": { - "@stylable/build-tools": "^5.14.0", - "@stylable/cli": "^5.14.0", - "@stylable/core": "^5.14.0", - "@stylable/node": "^5.14.0", - "@stylable/optimizer": "^5.14.0", - "@stylable/runtime": "^5.14.0", + "@stylable/build-tools": "^5.15.0", + "@stylable/cli": "^5.15.0", + "@stylable/core": "^5.15.0", + "@stylable/node": "^5.15.0", + "@stylable/optimizer": "^5.15.0", + "@stylable/runtime": "^5.15.0", "decache": "^4.6.2" }, "files": [ diff --git a/packages/eslint-plugin-stylable/package.json b/packages/eslint-plugin-stylable/package.json index 8d52e5460..e05bcd653 100644 --- a/packages/eslint-plugin-stylable/package.json +++ b/packages/eslint-plugin-stylable/package.json @@ -1,13 +1,13 @@ { "name": "eslint-plugin-stylable", - "version": "5.14.0", + "version": "5.15.0", "description": "eslint plugin for Stylable usages", "main": "dist/index.js", "scripts": { "test": "mocha \"dist/test/**/*.spec.js\" --timeout 5000" }, "dependencies": { - "@stylable/core": "^5.14.0", + "@stylable/core": "^5.15.0", "@typescript-eslint/utils": "^5.61.0" }, "keywords": [ diff --git a/packages/experimental-loader/package.json b/packages/experimental-loader/package.json index 56f3d91f4..49e3d85d3 100644 --- a/packages/experimental-loader/package.json +++ b/packages/experimental-loader/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/experimental-loader", - "version": "5.14.0", + "version": "5.15.0", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 20000" }, "dependencies": { - "@stylable/core": "^5.14.0", - "@stylable/runtime": "^5.14.0", + "@stylable/core": "^5.15.0", + "@stylable/runtime": "^5.15.0", "css-loader": "^6.8.1", "decache": "^4.6.2", "loader-utils": "^3.2.1" diff --git a/packages/jest/package.json b/packages/jest/package.json index d4e5e7525..0272d79a1 100644 --- a/packages/jest/package.json +++ b/packages/jest/package.json @@ -1,16 +1,16 @@ { "name": "@stylable/jest", - "version": "5.14.0", + "version": "5.15.0", "description": "Test your Stylable React components using Jest", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.14.0", - "@stylable/module-utils": "^5.14.0", - "@stylable/node": "^5.14.0", - "@stylable/runtime": "^5.14.0" + "@stylable/core": "^5.15.0", + "@stylable/module-utils": "^5.15.0", + "@stylable/node": "^5.15.0", + "@stylable/runtime": "^5.15.0" }, "files": [ "dist", diff --git a/packages/language-service/package.json b/packages/language-service/package.json index 9f0c5ba55..fd5290556 100644 --- a/packages/language-service/package.json +++ b/packages/language-service/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/language-service", - "version": "5.14.0", + "version": "5.15.0", "description": "Stylable Language Services - syntax highlighting, completions, hinting and more for the Stylable CSS preprocessor.", "main": "dist/index.js", "scripts": { @@ -13,8 +13,8 @@ "dependencies": { "@file-services/types": "^7.4.0", "@file-services/typescript": "^7.4.0", - "@stylable/code-formatter": "^5.14.0", - "@stylable/core": "^5.14.0", + "@stylable/code-formatter": "^5.15.0", + "@stylable/core": "^5.15.0", "@tokey/core": "^1.4.0", "@tokey/css-selector-parser": "^0.6.1", "@tokey/css-value-parser": "^0.1.3", diff --git a/packages/module-utils/package.json b/packages/module-utils/package.json index 7a4e5013b..f9ccbfa8d 100644 --- a/packages/module-utils/package.json +++ b/packages/module-utils/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/module-utils", - "version": "5.14.0", + "version": "5.15.0", "description": "Stylable module creation utilities", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.14.0", + "@stylable/core": "^5.15.0", "@tokey/core": "^1.4.0", "vlq": "^2.0.4" }, diff --git a/packages/node/package.json b/packages/node/package.json index 6837b3273..18d525685 100644 --- a/packages/node/package.json +++ b/packages/node/package.json @@ -1,15 +1,15 @@ { "name": "@stylable/node", - "version": "5.14.0", + "version": "5.15.0", "description": "Integrate Stylable into your node application", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 10000" }, "dependencies": { - "@stylable/build-tools": "^5.14.0", - "@stylable/core": "^5.14.0", - "@stylable/module-utils": "^5.14.0", + "@stylable/build-tools": "^5.15.0", + "@stylable/core": "^5.15.0", + "@stylable/module-utils": "^5.15.0", "find-config": "^1.0.0" }, "files": [ diff --git a/packages/optimizer/package.json b/packages/optimizer/package.json index 2f335f6de..bacf8b96e 100644 --- a/packages/optimizer/package.json +++ b/packages/optimizer/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/optimizer", - "version": "5.14.0", + "version": "5.15.0", "description": "Stylable core optimizer", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.14.0", + "@stylable/core": "^5.15.0", "@tokey/css-selector-parser": "^0.6.1", "csso": "^5.0.5", "postcss": "^8.4.25" diff --git a/packages/rollup-plugin/package.json b/packages/rollup-plugin/package.json index aec3ab547..e1110080e 100644 --- a/packages/rollup-plugin/package.json +++ b/packages/rollup-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/rollup-plugin", - "version": "5.14.0", + "version": "5.15.0", "description": "Stylable plugin for Rollup", "main": "dist/index.js", "scripts": { @@ -10,12 +10,12 @@ "rollup": "^2.70.0 || ^3.0.0" }, "dependencies": { - "@stylable/build-tools": "^5.14.0", - "@stylable/cli": "^5.14.0", - "@stylable/core": "^5.14.0", - "@stylable/node": "^5.14.0", - "@stylable/optimizer": "^5.14.0", - "@stylable/runtime": "^5.14.0", + "@stylable/build-tools": "^5.15.0", + "@stylable/cli": "^5.15.0", + "@stylable/core": "^5.15.0", + "@stylable/node": "^5.15.0", + "@stylable/optimizer": "^5.15.0", + "@stylable/runtime": "^5.15.0", "decache": "^4.6.2", "mime": "^3.0.0" }, diff --git a/packages/runtime/package.json b/packages/runtime/package.json index 33b1f3981..fb0425d8b 100644 --- a/packages/runtime/package.json +++ b/packages/runtime/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/runtime", - "version": "5.14.0", + "version": "5.15.0", "description": "Stylable runtime DOM integration", "main": "dist/index.js", "scripts": { diff --git a/packages/schema-extract/package.json b/packages/schema-extract/package.json index aa2db75a0..42fd0c99b 100644 --- a/packages/schema-extract/package.json +++ b/packages/schema-extract/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/schema-extract", - "version": "5.14.0", + "version": "5.15.0", "description": "A utility for extracting JSON schema objects from a Stylable stylesheet", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.14.0", + "@stylable/core": "^5.15.0", "jest-docblock": "^29.4.3" }, "files": [ diff --git a/packages/uni-driver/package.json b/packages/uni-driver/package.json index 911680410..6a97258a9 100644 --- a/packages/uni-driver/package.json +++ b/packages/uni-driver/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/uni-driver", - "version": "5.14.0", + "version": "5.15.0", "description": "Stylable UniDriver testing utilities", "main": "dist/index.js", "scripts": { diff --git a/packages/webpack-extensions/package.json b/packages/webpack-extensions/package.json index 4c40a4555..5bfb13b04 100644 --- a/packages/webpack-extensions/package.json +++ b/packages/webpack-extensions/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/webpack-extensions", - "version": "5.14.0", + "version": "5.15.0", "description": "Experimental Stylable webpack plugins", "main": "dist/index.js", "scripts": { @@ -10,9 +10,9 @@ "webpack": "^5.30.0" }, "dependencies": { - "@stylable/core": "^5.14.0", - "@stylable/node": "^5.14.0", - "@stylable/webpack-plugin": "^5.14.0", + "@stylable/core": "^5.15.0", + "@stylable/node": "^5.15.0", + "@stylable/webpack-plugin": "^5.15.0", "@tokey/css-selector-parser": "^0.6.1", "find-config": "^1.0.0", "lodash.clonedeep": "^4.5.0" diff --git a/packages/webpack-plugin/package.json b/packages/webpack-plugin/package.json index 642fbc769..09e4d3bed 100644 --- a/packages/webpack-plugin/package.json +++ b/packages/webpack-plugin/package.json @@ -1,7 +1,7 @@ { "name": "@stylable/webpack-plugin", "description": "Webpack (5.x) plugin for Stylable modules", - "version": "5.14.0", + "version": "5.15.0", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 20000" @@ -10,13 +10,13 @@ "webpack": "^5.30.0" }, "dependencies": { - "@stylable/build-tools": "^5.14.0", - "@stylable/cli": "^5.14.0", - "@stylable/core": "^5.14.0", - "@stylable/module-utils": "^5.14.0", - "@stylable/node": "^5.14.0", - "@stylable/optimizer": "^5.14.0", - "@stylable/runtime": "^5.14.0", + "@stylable/build-tools": "^5.15.0", + "@stylable/cli": "^5.15.0", + "@stylable/core": "^5.15.0", + "@stylable/module-utils": "^5.15.0", + "@stylable/node": "^5.15.0", + "@stylable/optimizer": "^5.15.0", + "@stylable/runtime": "^5.15.0", "decache": "^4.6.2", "lodash.clonedeep": "^4.5.0", "postcss": "^8.4.25" From fea8f36739d38ff02c8a2cdf7febde8bd9af8433 Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Wed, 19 Jul 2023 10:25:32 +0300 Subject: [PATCH 50/81] chore(deps): upgrade to latest stable - reverse postcss regression handling --- package-lock.json | 821 +++++++++++------- package.json | 14 +- packages/cli/src/build-single-file.ts | 8 +- packages/code-formatter/package.json | 2 +- packages/core-test-kit/package.json | 2 +- packages/core/package.json | 2 +- packages/core/src/stylable-transformer.ts | 2 +- packages/e2e-test-kit/package.json | 2 +- packages/language-service/package.json | 2 +- packages/optimizer/package.json | 2 +- .../src/create-metadata-stylesheet.ts | 2 +- packages/webpack-plugin/package.json | 2 +- pleb.config.mjs | 4 + 13 files changed, 516 insertions(+), 349 deletions(-) diff --git a/package-lock.json b/package-lock.json index c4a640114..070112831 100644 --- a/package-lock.json +++ b/package-lock.json @@ -34,8 +34,8 @@ "@types/mocha": "^10.0.1", "@types/node": "14", "@types/postcss-safe-parser": "^5.0.1", - "@types/react": "^18.2.14", - "@types/react-dom": "^18.2.6", + "@types/react": "^18.2.15", + "@types/react-dom": "^18.2.7", "@types/semver": "^7.5.0", "@types/validate-npm-package-name": "^4.0.0", "@types/yargs": "^17.0.24", @@ -46,7 +46,7 @@ "chai": "^4.3.7", "chai-subset": "^1.6.0", "create-listening-server": "^2.1.0", - "eslint": "^8.44.0", + "eslint": "^8.45.0", "eslint-config-prettier": "^8.8.0", "file-loader": "^6.2.0", "html-webpack-plugin": "^5.5.3", @@ -54,14 +54,14 @@ "mocha": "^10.2.0", "node-eval": "^2.0.0", "npm-run-all": "^4.1.5", - "playwright-chromium": "^1.36.0", - "postcss": "^8.4.25", + "playwright-chromium": "^1.36.1", + "postcss": "^8.4.26", "promise-assist": "^2.0.1", "raw-loader": "^4.0.2", "react": "^18.2.0", "react-dom": "^18.2.0", "rimraf": "^5.0.1", - "rollup": "^3.26.2", + "rollup": "^3.26.3", "source-map": "^0.7.4", "source-map-loader": "^4.0.1", "style-loader": "^3.3.3", @@ -69,7 +69,7 @@ "tsconfig-paths-webpack-plugin": "^4.1.0", "typescript": "~5.1.6", "url-loader": "^4.1.1", - "webpack": "^5.88.1", + "webpack": "^5.88.2", "yargs": "^17.7.2" }, "engines": { @@ -91,9 +91,9 @@ "dev": true }, "node_modules/@esbuild/android-arm": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.11.tgz", - "integrity": "sha512-q4qlUf5ucwbUJZXF5tEQ8LF7y0Nk4P58hOsGk3ucY0oCwgQqAnqXVbUuahCddVHfrxmpyewRpiTHwVHIETYu7Q==", + "version": "0.18.14", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.14.tgz", + "integrity": "sha512-blODaaL+lngG5bdK/t4qZcQvq2BBqrABmYwqPPcS5VRxrCSGHb9R/rA3fqxh7R18I7WU4KKv+NYkt22FDfalcg==", "cpu": [ "arm" ], @@ -107,9 +107,9 @@ } }, "node_modules/@esbuild/android-arm64": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.18.11.tgz", - "integrity": "sha512-snieiq75Z1z5LJX9cduSAjUr7vEI1OdlzFPMw0HH5YI7qQHDd3qs+WZoMrWYDsfRJSq36lIA6mfZBkvL46KoIw==", + "version": "0.18.14", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.18.14.tgz", + "integrity": "sha512-rZ2v+Luba5/3D6l8kofWgTnqE+qsC/L5MleKIKFyllHTKHrNBMqeRCnZI1BtRx8B24xMYxeU32iIddRQqMsOsg==", "cpu": [ "arm64" ], @@ -123,9 +123,9 @@ } }, "node_modules/@esbuild/android-x64": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.18.11.tgz", - "integrity": "sha512-iPuoxQEV34+hTF6FT7om+Qwziv1U519lEOvekXO9zaMMlT9+XneAhKL32DW3H7okrCOBQ44BMihE8dclbZtTuw==", + "version": "0.18.14", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.18.14.tgz", + "integrity": "sha512-qSwh8y38QKl+1Iqg+YhvCVYlSk3dVLk9N88VO71U4FUjtiSFylMWK3Ugr8GC6eTkkP4Tc83dVppt2n8vIdlSGg==", "cpu": [ "x64" ], @@ -139,9 +139,9 @@ } }, "node_modules/@esbuild/darwin-arm64": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.18.11.tgz", - "integrity": "sha512-Gm0QkI3k402OpfMKyQEEMG0RuW2LQsSmI6OeO4El2ojJMoF5NLYb3qMIjvbG/lbMeLOGiW6ooU8xqc+S0fgz2w==", + "version": "0.18.14", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.18.14.tgz", + "integrity": "sha512-9Hl2D2PBeDYZiNbnRKRWuxwHa9v5ssWBBjisXFkVcSP5cZqzZRFBUWEQuqBHO4+PKx4q4wgHoWtfQ1S7rUqJ2Q==", "cpu": [ "arm64" ], @@ -155,9 +155,9 @@ } }, "node_modules/@esbuild/darwin-x64": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.18.11.tgz", - "integrity": "sha512-N15Vzy0YNHu6cfyDOjiyfJlRJCB/ngKOAvoBf1qybG3eOq0SL2Lutzz9N7DYUbb7Q23XtHPn6lMDF6uWbGv9Fw==", + "version": "0.18.14", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.18.14.tgz", + "integrity": "sha512-ZnI3Dg4ElQ6tlv82qLc/UNHtFsgZSKZ7KjsUNAo1BF1SoYDjkGKHJyCrYyWjFecmXpvvG/KJ9A/oe0H12odPLQ==", "cpu": [ "x64" ], @@ -171,9 +171,9 @@ } }, "node_modules/@esbuild/freebsd-arm64": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.11.tgz", - "integrity": "sha512-atEyuq6a3omEY5qAh5jIORWk8MzFnCpSTUruBgeyN9jZq1K/QI9uke0ATi3MHu4L8c59CnIi4+1jDKMuqmR71A==", + "version": "0.18.14", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.14.tgz", + "integrity": "sha512-h3OqR80Da4oQCIa37zl8tU5MwHQ7qgPV0oVScPfKJK21fSRZEhLE4IIVpmcOxfAVmqjU6NDxcxhYaM8aDIGRLw==", "cpu": [ "arm64" ], @@ -187,9 +187,9 @@ } }, "node_modules/@esbuild/freebsd-x64": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.18.11.tgz", - "integrity": "sha512-XtuPrEfBj/YYYnAAB7KcorzzpGTvOr/dTtXPGesRfmflqhA4LMF0Gh/n5+a9JBzPuJ+CGk17CA++Hmr1F/gI0Q==", + "version": "0.18.14", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.18.14.tgz", + "integrity": "sha512-ha4BX+S6CZG4BoH9tOZTrFIYC1DH13UTCRHzFc3GWX74nz3h/N6MPF3tuR3XlsNjMFUazGgm35MPW5tHkn2lzQ==", "cpu": [ "x64" ], @@ -203,9 +203,9 @@ } }, "node_modules/@esbuild/linux-arm": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.18.11.tgz", - "integrity": "sha512-Idipz+Taso/toi2ETugShXjQ3S59b6m62KmLHkJlSq/cBejixmIydqrtM2XTvNCywFl3VC7SreSf6NV0i6sRyg==", + "version": "0.18.14", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.18.14.tgz", + "integrity": "sha512-5+7vehI1iqru5WRtJyU2XvTOvTGURw3OZxe3YTdE9muNNIdmKAVmSHpB3Vw2LazJk2ifEdIMt/wTWnVe5V98Kg==", "cpu": [ "arm" ], @@ -219,9 +219,9 @@ } }, "node_modules/@esbuild/linux-arm64": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.18.11.tgz", - "integrity": "sha512-c6Vh2WS9VFKxKZ2TvJdA7gdy0n6eSy+yunBvv4aqNCEhSWVor1TU43wNRp2YLO9Vng2G+W94aRz+ILDSwAiYog==", + "version": "0.18.14", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.18.14.tgz", + "integrity": "sha512-IXORRe22In7U65NZCzjwAUc03nn8SDIzWCnfzJ6t/8AvGx5zBkcLfknI+0P+hhuftufJBmIXxdSTbzWc8X/V4w==", "cpu": [ "arm64" ], @@ -235,9 +235,9 @@ } }, "node_modules/@esbuild/linux-ia32": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.18.11.tgz", - "integrity": "sha512-S3hkIF6KUqRh9n1Q0dSyYcWmcVa9Cg+mSoZEfFuzoYXXsk6196qndrM+ZiHNwpZKi3XOXpShZZ+9dfN5ykqjjw==", + "version": "0.18.14", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.18.14.tgz", + "integrity": "sha512-BfHlMa0nibwpjG+VXbOoqJDmFde4UK2gnW351SQ2Zd4t1N3zNdmUEqRkw/srC1Sa1DRBE88Dbwg4JgWCbNz/FQ==", "cpu": [ "ia32" ], @@ -251,9 +251,9 @@ } }, "node_modules/@esbuild/linux-loong64": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.18.11.tgz", - "integrity": "sha512-MRESANOoObQINBA+RMZW+Z0TJWpibtE7cPFnahzyQHDCA9X9LOmGh68MVimZlM9J8n5Ia8lU773te6O3ILW8kw==", + "version": "0.18.14", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.18.14.tgz", + "integrity": "sha512-j2/Ex++DRUWIAaUDprXd3JevzGtZ4/d7VKz+AYDoHZ3HjJzCyYBub9CU1wwIXN+viOP0b4VR3RhGClsvyt/xSw==", "cpu": [ "loong64" ], @@ -267,9 +267,9 @@ } }, "node_modules/@esbuild/linux-mips64el": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.18.11.tgz", - "integrity": "sha512-qVyPIZrXNMOLYegtD1u8EBccCrBVshxMrn5MkuFc3mEVsw7CCQHaqZ4jm9hbn4gWY95XFnb7i4SsT3eflxZsUg==", + "version": "0.18.14", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.18.14.tgz", + "integrity": "sha512-qn2+nc+ZCrJmiicoAnJXJJkZWt8Nwswgu1crY7N+PBR8ChBHh89XRxj38UU6Dkthl2yCVO9jWuafZ24muzDC/A==", "cpu": [ "mips64el" ], @@ -283,9 +283,9 @@ } }, "node_modules/@esbuild/linux-ppc64": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.18.11.tgz", - "integrity": "sha512-T3yd8vJXfPirZaUOoA9D2ZjxZX4Gr3QuC3GztBJA6PklLotc/7sXTOuuRkhE9W/5JvJP/K9b99ayPNAD+R+4qQ==", + "version": "0.18.14", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.18.14.tgz", + "integrity": "sha512-aGzXzd+djqeEC5IRkDKt3kWzvXoXC6K6GyYKxd+wsFJ2VQYnOWE954qV2tvy5/aaNrmgPTb52cSCHFE+Z7Z0yg==", "cpu": [ "ppc64" ], @@ -299,9 +299,9 @@ } }, "node_modules/@esbuild/linux-riscv64": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.18.11.tgz", - "integrity": "sha512-evUoRPWiwuFk++snjH9e2cAjF5VVSTj+Dnf+rkO/Q20tRqv+644279TZlPK8nUGunjPAtQRCj1jQkDAvL6rm2w==", + "version": "0.18.14", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.18.14.tgz", + "integrity": "sha512-8C6vWbfr0ygbAiMFLS6OPz0BHvApkT2gCboOGV76YrYw+sD/MQJzyITNsjZWDXJwPu9tjrFQOVG7zijRzBCnLw==", "cpu": [ "riscv64" ], @@ -315,9 +315,9 @@ } }, "node_modules/@esbuild/linux-s390x": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.18.11.tgz", - "integrity": "sha512-/SlRJ15XR6i93gRWquRxYCfhTeC5PdqEapKoLbX63PLCmAkXZHY2uQm2l9bN0oPHBsOw2IswRZctMYS0MijFcg==", + "version": "0.18.14", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.18.14.tgz", + "integrity": "sha512-G/Lf9iu8sRMM60OVGOh94ZW2nIStksEcITkXdkD09/T6QFD/o+g0+9WVyR/jajIb3A0LvBJ670tBnGe1GgXMgw==", "cpu": [ "s390x" ], @@ -331,9 +331,9 @@ } }, "node_modules/@esbuild/linux-x64": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.18.11.tgz", - "integrity": "sha512-xcncej+wF16WEmIwPtCHi0qmx1FweBqgsRtEL1mSHLFR6/mb3GEZfLQnx+pUDfRDEM4DQF8dpXIW7eDOZl1IbA==", + "version": "0.18.14", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.18.14.tgz", + "integrity": "sha512-TBgStYBQaa3EGhgqIDM+ECnkreb0wkcKqL7H6m+XPcGUoU4dO7dqewfbm0mWEQYH3kzFHrzjOFNpSAVzDZRSJw==", "cpu": [ "x64" ], @@ -347,9 +347,9 @@ } }, "node_modules/@esbuild/netbsd-x64": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.18.11.tgz", - "integrity": "sha512-aSjMHj/F7BuS1CptSXNg6S3M4F3bLp5wfFPIJM+Km2NfIVfFKhdmfHF9frhiCLIGVzDziggqWll0B+9AUbud/Q==", + "version": "0.18.14", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.18.14.tgz", + "integrity": "sha512-stvCcjyCQR2lMTroqNhAbvROqRjxPEq0oQ380YdXxA81TaRJEucH/PzJ/qsEtsHgXlWFW6Ryr/X15vxQiyRXVg==", "cpu": [ "x64" ], @@ -363,9 +363,9 @@ } }, "node_modules/@esbuild/openbsd-x64": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.18.11.tgz", - "integrity": "sha512-tNBq+6XIBZtht0xJGv7IBB5XaSyvYPCm1PxJ33zLQONdZoLVM0bgGqUrXnJyiEguD9LU4AHiu+GCXy/Hm9LsdQ==", + "version": "0.18.14", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.18.14.tgz", + "integrity": "sha512-apAOJF14CIsN5ht1PA57PboEMsNV70j3FUdxLmA2liZ20gEQnfTG5QU0FhENo5nwbTqCB2O3WDsXAihfODjHYw==", "cpu": [ "x64" ], @@ -379,9 +379,9 @@ } }, "node_modules/@esbuild/sunos-x64": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.18.11.tgz", - "integrity": "sha512-kxfbDOrH4dHuAAOhr7D7EqaYf+W45LsAOOhAet99EyuxxQmjbk8M9N4ezHcEiCYPaiW8Dj3K26Z2V17Gt6p3ng==", + "version": "0.18.14", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.18.14.tgz", + "integrity": "sha512-fYRaaS8mDgZcGybPn2MQbn1ZNZx+UXFSUoS5Hd2oEnlsyUcr/l3c6RnXf1bLDRKKdLRSabTmyCy7VLQ7VhGdOQ==", "cpu": [ "x64" ], @@ -395,9 +395,9 @@ } }, "node_modules/@esbuild/win32-arm64": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.18.11.tgz", - "integrity": "sha512-Sh0dDRyk1Xi348idbal7lZyfSkjhJsdFeuC13zqdipsvMetlGiFQNdO+Yfp6f6B4FbyQm7qsk16yaZk25LChzg==", + "version": "0.18.14", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.18.14.tgz", + "integrity": "sha512-1c44RcxKEJPrVj62XdmYhxXaU/V7auELCmnD+Ri+UCt+AGxTvzxl9uauQhrFso8gj6ZV1DaORV0sT9XSHOAk8Q==", "cpu": [ "arm64" ], @@ -411,9 +411,9 @@ } }, "node_modules/@esbuild/win32-ia32": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.18.11.tgz", - "integrity": "sha512-o9JUIKF1j0rqJTFbIoF4bXj6rvrTZYOrfRcGyL0Vm5uJ/j5CkBD/51tpdxe9lXEDouhRgdr/BYzUrDOvrWwJpg==", + "version": "0.18.14", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.18.14.tgz", + "integrity": "sha512-EXAFttrdAxZkFQmpvcAQ2bywlWUsONp/9c2lcfvPUhu8vXBBenCXpoq9YkUvVP639ld3YGiYx0YUQ6/VQz3Maw==", "cpu": [ "ia32" ], @@ -427,9 +427,9 @@ } }, "node_modules/@esbuild/win32-x64": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.18.11.tgz", - "integrity": "sha512-rQI4cjLHd2hGsM1LqgDI7oOCYbQ6IBOVsX9ejuRMSze0GqXUG2ekwiKkiBU1pRGSeCqFFHxTrcEydB2Hyoz9CA==", + "version": "0.18.14", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.18.14.tgz", + "integrity": "sha512-K0QjGbcskx+gY+qp3v4/940qg8JitpXbdxFhRDA1aYoNaPff88+aEwoq45aqJ+ogpxQxmU0ZTjgnrQD/w8iiUg==", "cpu": [ "x64" ], @@ -1150,9 +1150,9 @@ "dev": true }, "node_modules/@types/react": { - "version": "18.2.14", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.14.tgz", - "integrity": "sha512-A0zjq+QN/O0Kpe30hA1GidzyFjatVvrpIvWLxD+xv67Vt91TWWgco9IvrJBkeyHm1trGaFS/FSGqPlhyeZRm0g==", + "version": "18.2.15", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.15.tgz", + "integrity": "sha512-oEjE7TQt1fFTFSbf8kkNuc798ahTUzn3Le67/PWjE8MAfYAD/qB7O8hSTcromLFqHCt9bcdOg5GXMokzTjJ5SA==", "dev": true, "dependencies": { "@types/prop-types": "*", @@ -1161,9 +1161,9 @@ } }, "node_modules/@types/react-dom": { - "version": "18.2.6", - "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.6.tgz", - "integrity": "sha512-2et4PDvg6PVCyS7fuTc4gPoksV58bW0RwSxWKcPRcHZf0PRUGq03TKcD/rUHe3azfV6/5/biUBJw+HhCQjaP0A==", + "version": "18.2.7", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.7.tgz", + "integrity": "sha512-GRaAEriuT4zp9N4p1i8BDBYmEyfo+xQ3yHjJU4eiK5NDa1RmUZG+unZABUTK4/Ox/M+GaHwb6Ow8rUITrtjszA==", "dev": true, "dependencies": { "@types/react": "*" @@ -1561,9 +1561,9 @@ } }, "node_modules/@wixc3/resolve-directory-context/node_modules/type-fest": { - "version": "3.13.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-3.13.0.tgz", - "integrity": "sha512-Gur3yQGM9qiLNs0KPP7LPgeRbio2QTt4xXouobMCarR0/wyW3F+F/+OWwshg3NG0Adon7uQfSZBpB46NfhoF1A==", + "version": "3.13.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-3.13.1.tgz", + "integrity": "sha512-tLq3bSNx+xSpwvAJnzrK0Ep5CLNWjvFTOp71URMaAEWBfRb9nnJiBoUe0tF8bI4ZFO3omgBR6NvnbzVUT3Ly4g==", "engines": { "node": ">=14.16" }, @@ -1751,6 +1751,26 @@ "node": ">=8" } }, + "node_modules/arraybuffer.prototype.slice": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.1.tgz", + "integrity": "sha512-09x0ZWFEjj4WD8PDbykUwo3t9arLn8NIzmmYEJFpYekOAQjpkGSyrQhNoRTcwwcFRu+ycWF78QZ63oWTqSjBcw==", + "dev": true, + "dependencies": { + "array-buffer-byte-length": "^1.0.0", + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "get-intrinsic": "^1.2.1", + "is-array-buffer": "^3.0.2", + "is-shared-array-buffer": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/assertion-error": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", @@ -2045,9 +2065,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001515", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001515.tgz", - "integrity": "sha512-eEFDwUOZbE24sb+Ecsx3+OvNETqjWIdabMy52oOkIgcUtAsQifjUG9q4U9dgTHJM2mfk4uEPxc0+xuFdJ629QA==", + "version": "1.0.30001516", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001516.tgz", + "integrity": "sha512-Wmec9pCBY8CWbmI4HsjBeQLqDTqV91nFVR83DnZpYyRnPI1wePDsTg0bGLPC5VU/3OIZV1fmxEea1b+tFKe86g==", "funding": [ { "type": "opencollective", @@ -2605,9 +2625,9 @@ "integrity": "sha512-ncTzHV7NvsQZkYe1DW7cbDLm0YpzHmZF5r/iyP3ZnQtMiJ+pjzisCiMNI+Sj+xQF5pXhSHxSB3uDbsBTzY/c2A==" }, "node_modules/electron-to-chromium": { - "version": "1.4.457", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.457.tgz", - "integrity": "sha512-/g3UyNDmDd6ebeWapmAoiyy+Sy2HyJ+/X8KyvNeHfKRFfHaA2W8oF5fxD5F3tjBDcjpwo0iek6YNgxNXDBoEtA==" + "version": "1.4.464", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.464.tgz", + "integrity": "sha512-guZ84yoou4+ILNdj0XEbmGs6DEWj6zpVOWYpY09GU66yEb0DSYvP/biBPzHn0GuW/3RC/pnaYNUWlQE1fJYtgA==" }, "node_modules/emoji-regex": { "version": "8.0.0", @@ -2654,18 +2674,19 @@ } }, "node_modules/es-abstract": { - "version": "1.21.2", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.21.2.tgz", - "integrity": "sha512-y/B5POM2iBnIxCiernH1G7rC9qQoM77lLIMQLuob0zhp8C56Po81+2Nj0WFKnd0pNReDTnkYryc+zhOzpEIROg==", + "version": "1.22.1", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.22.1.tgz", + "integrity": "sha512-ioRRcXMO6OFyRpyzV3kE1IIBd4WG5/kltnzdxSCqoP8CMGs/Li+M1uF5o7lOkZVFjDs+NLesthnF66Pg/0q0Lw==", "dev": true, "dependencies": { "array-buffer-byte-length": "^1.0.0", + "arraybuffer.prototype.slice": "^1.0.1", "available-typed-arrays": "^1.0.5", "call-bind": "^1.0.2", "es-set-tostringtag": "^2.0.1", "es-to-primitive": "^1.2.1", "function.prototype.name": "^1.1.5", - "get-intrinsic": "^1.2.0", + "get-intrinsic": "^1.2.1", "get-symbol-description": "^1.0.0", "globalthis": "^1.0.3", "gopd": "^1.0.1", @@ -2685,14 +2706,18 @@ "object-inspect": "^1.12.3", "object-keys": "^1.1.1", "object.assign": "^4.1.4", - "regexp.prototype.flags": "^1.4.3", + "regexp.prototype.flags": "^1.5.0", + "safe-array-concat": "^1.0.0", "safe-regex-test": "^1.0.0", "string.prototype.trim": "^1.2.7", "string.prototype.trimend": "^1.0.6", "string.prototype.trimstart": "^1.0.6", + "typed-array-buffer": "^1.0.0", + "typed-array-byte-length": "^1.0.0", + "typed-array-byte-offset": "^1.0.0", "typed-array-length": "^1.0.4", "unbox-primitive": "^1.0.2", - "which-typed-array": "^1.1.9" + "which-typed-array": "^1.1.10" }, "engines": { "node": ">= 0.4" @@ -2738,9 +2763,9 @@ } }, "node_modules/esbuild": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.18.11.tgz", - "integrity": "sha512-i8u6mQF0JKJUlGR3OdFLKldJQMMs8OqM9Cc3UCi9XXziJ9WERM5bfkHaEAy0YAvPRMgqSW55W7xYn84XtEFTtA==", + "version": "0.18.14", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.18.14.tgz", + "integrity": "sha512-uNPj5oHPYmj+ZhSQeYQVFZ+hAlJZbAGOmmILWIqrGvPVlNLbyOvU5Bu6Woi8G8nskcx0vwY0iFoMPrzT86Ko+w==", "hasInstallScript": true, "peer": true, "bin": { @@ -2750,28 +2775,28 @@ "node": ">=12" }, "optionalDependencies": { - "@esbuild/android-arm": "0.18.11", - "@esbuild/android-arm64": "0.18.11", - "@esbuild/android-x64": "0.18.11", - "@esbuild/darwin-arm64": "0.18.11", - "@esbuild/darwin-x64": "0.18.11", - "@esbuild/freebsd-arm64": "0.18.11", - "@esbuild/freebsd-x64": "0.18.11", - "@esbuild/linux-arm": "0.18.11", - "@esbuild/linux-arm64": "0.18.11", - "@esbuild/linux-ia32": "0.18.11", - "@esbuild/linux-loong64": "0.18.11", - "@esbuild/linux-mips64el": "0.18.11", - "@esbuild/linux-ppc64": "0.18.11", - "@esbuild/linux-riscv64": "0.18.11", - "@esbuild/linux-s390x": "0.18.11", - "@esbuild/linux-x64": "0.18.11", - "@esbuild/netbsd-x64": "0.18.11", - "@esbuild/openbsd-x64": "0.18.11", - "@esbuild/sunos-x64": "0.18.11", - "@esbuild/win32-arm64": "0.18.11", - "@esbuild/win32-ia32": "0.18.11", - "@esbuild/win32-x64": "0.18.11" + "@esbuild/android-arm": "0.18.14", + "@esbuild/android-arm64": "0.18.14", + "@esbuild/android-x64": "0.18.14", + "@esbuild/darwin-arm64": "0.18.14", + "@esbuild/darwin-x64": "0.18.14", + "@esbuild/freebsd-arm64": "0.18.14", + "@esbuild/freebsd-x64": "0.18.14", + "@esbuild/linux-arm": "0.18.14", + "@esbuild/linux-arm64": "0.18.14", + "@esbuild/linux-ia32": "0.18.14", + "@esbuild/linux-loong64": "0.18.14", + "@esbuild/linux-mips64el": "0.18.14", + "@esbuild/linux-ppc64": "0.18.14", + "@esbuild/linux-riscv64": "0.18.14", + "@esbuild/linux-s390x": "0.18.14", + "@esbuild/linux-x64": "0.18.14", + "@esbuild/netbsd-x64": "0.18.14", + "@esbuild/openbsd-x64": "0.18.14", + "@esbuild/sunos-x64": "0.18.14", + "@esbuild/win32-arm64": "0.18.14", + "@esbuild/win32-ia32": "0.18.14", + "@esbuild/win32-x64": "0.18.14" } }, "node_modules/escalade": { @@ -2794,9 +2819,9 @@ } }, "node_modules/eslint": { - "version": "8.44.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.44.0.tgz", - "integrity": "sha512-0wpHoUbDUHgNCyvFB5aXLiQVfK9B0at6gUvzy83k4kAsQ/u769TQDX6iKC+aO4upIHO9WSaA3QoXYQDHbNwf1A==", + "version": "8.45.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.45.0.tgz", + "integrity": "sha512-pd8KSxiQpdYRfYa9Wufvdoct3ZPQQuVuU5O6scNgMuOMYuxvH0IGaYK0wUFjo4UYYQQCUndlXiMbnxopwvvTiw==", "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.4.0", @@ -2823,7 +2848,6 @@ "globals": "^13.19.0", "graphemer": "^1.4.0", "ignore": "^5.2.0", - "import-fresh": "^3.0.0", "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", "is-path-inside": "^3.0.3", @@ -2835,7 +2859,6 @@ "natural-compare": "^1.4.0", "optionator": "^0.9.3", "strip-ansi": "^6.0.1", - "strip-json-comments": "^3.1.0", "text-table": "^0.2.0" }, "bin": { @@ -2888,9 +2911,9 @@ } }, "node_modules/eslint/node_modules/eslint-scope": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.0.tgz", - "integrity": "sha512-DYj5deGlHBfMt15J7rdtyKNq/Nqlv5KfU4iodrQ019XESsRnwXH9KAE0y3cwtUHDo2ob7CypAnCqefh6vioWRw==", + "version": "7.2.1", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.1.tgz", + "integrity": "sha512-CvefSOsDdaYYvxChovdrPo/ZGt8d5lrJWleAc1diXRKhHGiTYEI26cvo8Kle/wGnsizoCJjK73FMg1/IkIwiNA==", "dependencies": { "esrecurse": "^4.3.0", "estraverse": "^5.2.0" @@ -2911,9 +2934,9 @@ } }, "node_modules/espree": { - "version": "9.6.0", - "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.0.tgz", - "integrity": "sha512-1FH/IiruXZ84tpUlm0aCUEwMl2Ho5ilqVh0VvQXw+byAz/4SAciyHLlfmL5WYqsvD38oymdUwBss0LtK8m4s/A==", + "version": "9.6.1", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", + "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", "dependencies": { "acorn": "^8.9.0", "acorn-jsx": "^5.3.2", @@ -3902,16 +3925,12 @@ } }, "node_modules/is-typed-array": { - "version": "1.1.10", - "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.10.tgz", - "integrity": "sha512-PJqgEHiWZvMpaFZ3uTc8kHPM4+4ADTlDniuQL7cU/UDA0Ql7F70yGfHph3cLNe+c9toaigv+DFzTJKhc2CtO6A==", + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.12.tgz", + "integrity": "sha512-Z14TF2JNG8Lss5/HMqt0//T9JeHXttXy5pH/DBU4vi98ozO2btxzq9MwYDZYnKwU8nRsz/+GVFVRDq3DkVuSPg==", "dev": true, "dependencies": { - "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.2", - "for-each": "^0.3.3", - "gopd": "^1.0.1", - "has-tostringtag": "^1.0.0" + "which-typed-array": "^1.1.11" }, "engines": { "node": ">= 0.4" @@ -3952,6 +3971,12 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/isarray": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", + "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", + "dev": true + }, "node_modules/isexe": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", @@ -5146,13 +5171,13 @@ } }, "node_modules/playwright-chromium": { - "version": "1.36.0", - "resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.36.0.tgz", - "integrity": "sha512-AU4/euzKqiIeK7JMsxMlgVx3jRFOnXF0vkptF9mfqeNSETVYCbovZ9EpwJ3Kzm/vVAmIlpHp+VoXdX2bi+05Zg==", + "version": "1.36.1", + "resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.36.1.tgz", + "integrity": "sha512-V2jBtS5zNUyMajzh6SRiCzafsz/Mg35IroR+SwWhAa1Dqa4juGXDp26AdK7Nj/fAOvwnG+dFDVOVx/ewt9dSxQ==", "dev": true, "hasInstallScript": true, "dependencies": { - "playwright-core": "1.36.0" + "playwright-core": "1.36.1" }, "bin": { "playwright": "cli.js" @@ -5162,9 +5187,9 @@ } }, "node_modules/playwright-core": { - "version": "1.36.0", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.36.0.tgz", - "integrity": "sha512-7RTr8P6YJPAqB+8j5ATGHqD6LvLLM39sYVNsslh78g8QeLcBs5750c6+msjrHUwwGt+kEbczBj1XB22WMwn+WA==", + "version": "1.36.1", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.36.1.tgz", + "integrity": "sha512-7+tmPuMcEW4xeCL9cp9KxmYpQYHKkyjwoXRnoeTowaeNat8PoBMk/HwCYhqkH2fRkshfKEOiVus/IhID2Pg8kg==", "bin": { "playwright-core": "cli.js" }, @@ -5173,9 +5198,9 @@ } }, "node_modules/postcss": { - "version": "8.4.25", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.25.tgz", - "integrity": "sha512-7taJ/8t2av0Z+sQEvNzCkpDynl0tX3uJMCODi6nT3PfASC7dYCWV9aQ+uiCf+KBD4SEFcu+GvJdGdwzQ6OSjCw==", + "version": "8.4.26", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.26.tgz", + "integrity": "sha512-jrXHFF8iTloAenySjM/ob3gSj7pCu0Ji49hnjqzsgSRa50hkWCKD0HQ+gMNJkW38jBI68MpAAg7ZWwHwX8NMMw==", "funding": [ { "type": "opencollective", @@ -5671,9 +5696,9 @@ } }, "node_modules/rollup": { - "version": "3.26.2", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.26.2.tgz", - "integrity": "sha512-6umBIGVz93er97pMgQO08LuH3m6PUb3jlDUUGFsNJB6VgTCUaDFpupf5JfU30529m/UKOgmiX+uY6Sx8cOYpLA==", + "version": "3.26.3", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.26.3.tgz", + "integrity": "sha512-7Tin0C8l86TkpcMtXvQu6saWH93nhG3dGQ1/+l5V2TDMceTxO7kDiK6GzbfLWNNxqJXm591PcEZUozZm51ogwQ==", "bin": { "rollup": "dist/bin/rollup" }, @@ -5707,6 +5732,24 @@ "queue-microtask": "^1.2.2" } }, + "node_modules/safe-array-concat": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.0.0.tgz", + "integrity": "sha512-9dVEFruWIsnie89yym+xWTAYASdpw3CJV7Li/6zBewGf9z2i1j31rP6jnY0pHEO4QZh6N0K11bFjWmdR8UGdPQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.2.0", + "has-symbols": "^1.0.3", + "isarray": "^2.0.5" + }, + "engines": { + "node": ">=0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/safe-buffer": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", @@ -6123,9 +6166,9 @@ } }, "node_modules/terser": { - "version": "5.19.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.19.0.tgz", - "integrity": "sha512-JpcpGOQLOXm2jsomozdMDpd5f8ZHh1rR48OFgWUH3QsyZcfPgv2qDCYbcDEAYNd4OZRj2bWYKpwdll/udZCk/Q==", + "version": "5.19.1", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.19.1.tgz", + "integrity": "sha512-27hxBUVdV6GoNg1pKQ7Z5cbR6V9txPVyBA+FQw3BaZ1Wuzvztce5p156DaP0NVZNrMZZ+6iG9Syf7WgMNKDg2Q==", "dependencies": { "@jridgewell/source-map": "^0.3.3", "acorn": "^8.8.2", @@ -6304,6 +6347,57 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/typed-array-buffer": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.0.tgz", + "integrity": "sha512-Y8KTSIglk9OZEr8zywiIHG/kmQ7KWyjseXs1CbSo8vC42w7hg2HgYTxSWwP0+is7bWDc1H+Fo026CpHFwm8tkw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.2.1", + "is-typed-array": "^1.1.10" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/typed-array-byte-length": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.0.tgz", + "integrity": "sha512-Or/+kvLxNpeQ9DtSydonMxCx+9ZXOswtwJn17SNLvhptaXYDJvkFFP5zbfU/uLmvnBJlI4yrnXRxpdWH/M5tNA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "has-proto": "^1.0.1", + "is-typed-array": "^1.1.10" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/typed-array-byte-offset": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.0.tgz", + "integrity": "sha512-RD97prjEt9EL8YgAgpOkf3O4IF9lhJFr9g0htQkm0rchFp/Vx7LW5Q8fSXXub7BXAODyUQohRMyOc3faCPd0hg==", + "dev": true, + "dependencies": { + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "has-proto": "^1.0.1", + "is-typed-array": "^1.1.10" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/typed-array-length": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.4.tgz", @@ -6543,9 +6637,9 @@ } }, "node_modules/webpack": { - "version": "5.88.1", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.88.1.tgz", - "integrity": "sha512-FROX3TxQnC/ox4N+3xQoWZzvGXSuscxR32rbzjpXgEzWudJFEJBpdlkkob2ylrv5yzzufD1zph1OoFsLtm6stQ==", + "version": "5.88.2", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.88.2.tgz", + "integrity": "sha512-JmcgNZ1iKj+aiR0OvTYtWQqJwq37Pf683dY9bVORwVbUrDhLhdn/PlO2sHsFHPkj7sHNQF3JwaAkp49V+Sq1tQ==", "dependencies": { "@types/eslint-scope": "^3.7.3", "@types/estree": "^1.0.0", @@ -6627,17 +6721,16 @@ } }, "node_modules/which-typed-array": { - "version": "1.1.10", - "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.10.tgz", - "integrity": "sha512-uxoA5vLUfRPdjCuJ1h5LlYdmTLbYfums398v3WLkM+i/Wltl2/XyZpQWKbN++ck5L64SR/grOHqtXCUKmlZPNA==", + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.11.tgz", + "integrity": "sha512-qe9UWWpkeG5yzZ0tNYxDmd7vo58HDBc39mZ0xWWpolAGADdFOzkfamWLDxkOWcvHQKVmdTyQdLD4NOfjLWTKew==", "dev": true, "dependencies": { "available-typed-arrays": "^1.0.5", "call-bind": "^1.0.2", "for-each": "^0.3.3", "gopd": "^1.0.1", - "has-tostringtag": "^1.0.0", - "is-typed-array": "^1.1.10" + "has-tostringtag": "^1.0.0" }, "engines": { "node": ">= 0.4" @@ -6822,7 +6915,7 @@ "@stylable/core": "^5.15.0", "@tokey/css-value-parser": "^0.1.3", "js-beautify": "^1.14.8", - "postcss": "^8.4.25" + "postcss": "^8.4.26" }, "engines": { "node": ">=14.14.0" @@ -6843,7 +6936,7 @@ "is-vendor-prefixed": "^4.0.0", "lodash.clonedeep": "^4.5.0", "lodash.clonedeepwith": "^4.5.0", - "postcss": "^8.4.25", + "postcss": "^8.4.26", "postcss-js": "^4.0.1", "postcss-nested": "^6.0.1", "postcss-safe-parser": "^6.0.0", @@ -6862,7 +6955,7 @@ "@stylable/core": "^5.15.0", "chai": "^4.3.7", "flat": "^5.0.2", - "postcss": "^8.4.25" + "postcss": "^8.4.26" }, "engines": { "node": ">=14.14.0" @@ -6917,7 +7010,7 @@ "dependencies": { "@stylable/runtime": "^5.15.0", "node-eval": "^2.0.0", - "playwright-core": "^1.36.0", + "playwright-core": "^1.36.1", "rimraf": "^5.0.1" }, "engines": { @@ -7001,7 +7094,7 @@ "@tokey/css-selector-parser": "^0.6.1", "@tokey/css-value-parser": "^0.1.3", "css-selector-tokenizer": "^0.8.0", - "postcss": "^8.4.25", + "postcss": "^8.4.26", "postcss-value-parser": "^4.2.0", "vscode-css-languageservice": "^6.2.6", "vscode-languageserver": "^8.1.0", @@ -7050,7 +7143,7 @@ "@stylable/core": "^5.15.0", "@tokey/css-selector-parser": "^0.6.1", "csso": "^5.0.5", - "postcss": "^8.4.25" + "postcss": "^8.4.26" }, "engines": { "node": ">=14.14.0" @@ -7148,7 +7241,7 @@ "@stylable/runtime": "^5.15.0", "decache": "^4.6.2", "lodash.clonedeep": "^4.5.0", - "postcss": "^8.4.25" + "postcss": "^8.4.26" }, "engines": { "node": ">=14.14.0" @@ -7171,156 +7264,156 @@ "dev": true }, "@esbuild/android-arm": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.11.tgz", - "integrity": "sha512-q4qlUf5ucwbUJZXF5tEQ8LF7y0Nk4P58hOsGk3ucY0oCwgQqAnqXVbUuahCddVHfrxmpyewRpiTHwVHIETYu7Q==", + "version": "0.18.14", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.14.tgz", + "integrity": "sha512-blODaaL+lngG5bdK/t4qZcQvq2BBqrABmYwqPPcS5VRxrCSGHb9R/rA3fqxh7R18I7WU4KKv+NYkt22FDfalcg==", "optional": true, "peer": true }, "@esbuild/android-arm64": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.18.11.tgz", - "integrity": "sha512-snieiq75Z1z5LJX9cduSAjUr7vEI1OdlzFPMw0HH5YI7qQHDd3qs+WZoMrWYDsfRJSq36lIA6mfZBkvL46KoIw==", + "version": "0.18.14", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.18.14.tgz", + "integrity": "sha512-rZ2v+Luba5/3D6l8kofWgTnqE+qsC/L5MleKIKFyllHTKHrNBMqeRCnZI1BtRx8B24xMYxeU32iIddRQqMsOsg==", "optional": true, "peer": true }, "@esbuild/android-x64": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.18.11.tgz", - "integrity": "sha512-iPuoxQEV34+hTF6FT7om+Qwziv1U519lEOvekXO9zaMMlT9+XneAhKL32DW3H7okrCOBQ44BMihE8dclbZtTuw==", + "version": "0.18.14", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.18.14.tgz", + "integrity": "sha512-qSwh8y38QKl+1Iqg+YhvCVYlSk3dVLk9N88VO71U4FUjtiSFylMWK3Ugr8GC6eTkkP4Tc83dVppt2n8vIdlSGg==", "optional": true, "peer": true }, "@esbuild/darwin-arm64": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.18.11.tgz", - "integrity": "sha512-Gm0QkI3k402OpfMKyQEEMG0RuW2LQsSmI6OeO4El2ojJMoF5NLYb3qMIjvbG/lbMeLOGiW6ooU8xqc+S0fgz2w==", + "version": "0.18.14", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.18.14.tgz", + "integrity": "sha512-9Hl2D2PBeDYZiNbnRKRWuxwHa9v5ssWBBjisXFkVcSP5cZqzZRFBUWEQuqBHO4+PKx4q4wgHoWtfQ1S7rUqJ2Q==", "optional": true, "peer": true }, "@esbuild/darwin-x64": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.18.11.tgz", - "integrity": "sha512-N15Vzy0YNHu6cfyDOjiyfJlRJCB/ngKOAvoBf1qybG3eOq0SL2Lutzz9N7DYUbb7Q23XtHPn6lMDF6uWbGv9Fw==", + "version": "0.18.14", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.18.14.tgz", + "integrity": "sha512-ZnI3Dg4ElQ6tlv82qLc/UNHtFsgZSKZ7KjsUNAo1BF1SoYDjkGKHJyCrYyWjFecmXpvvG/KJ9A/oe0H12odPLQ==", "optional": true, "peer": true }, "@esbuild/freebsd-arm64": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.11.tgz", - "integrity": "sha512-atEyuq6a3omEY5qAh5jIORWk8MzFnCpSTUruBgeyN9jZq1K/QI9uke0ATi3MHu4L8c59CnIi4+1jDKMuqmR71A==", + "version": "0.18.14", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.14.tgz", + "integrity": "sha512-h3OqR80Da4oQCIa37zl8tU5MwHQ7qgPV0oVScPfKJK21fSRZEhLE4IIVpmcOxfAVmqjU6NDxcxhYaM8aDIGRLw==", "optional": true, "peer": true }, "@esbuild/freebsd-x64": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.18.11.tgz", - "integrity": "sha512-XtuPrEfBj/YYYnAAB7KcorzzpGTvOr/dTtXPGesRfmflqhA4LMF0Gh/n5+a9JBzPuJ+CGk17CA++Hmr1F/gI0Q==", + "version": "0.18.14", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.18.14.tgz", + "integrity": "sha512-ha4BX+S6CZG4BoH9tOZTrFIYC1DH13UTCRHzFc3GWX74nz3h/N6MPF3tuR3XlsNjMFUazGgm35MPW5tHkn2lzQ==", "optional": true, "peer": true }, "@esbuild/linux-arm": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.18.11.tgz", - "integrity": "sha512-Idipz+Taso/toi2ETugShXjQ3S59b6m62KmLHkJlSq/cBejixmIydqrtM2XTvNCywFl3VC7SreSf6NV0i6sRyg==", + "version": "0.18.14", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.18.14.tgz", + "integrity": "sha512-5+7vehI1iqru5WRtJyU2XvTOvTGURw3OZxe3YTdE9muNNIdmKAVmSHpB3Vw2LazJk2ifEdIMt/wTWnVe5V98Kg==", "optional": true, "peer": true }, "@esbuild/linux-arm64": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.18.11.tgz", - "integrity": "sha512-c6Vh2WS9VFKxKZ2TvJdA7gdy0n6eSy+yunBvv4aqNCEhSWVor1TU43wNRp2YLO9Vng2G+W94aRz+ILDSwAiYog==", + "version": "0.18.14", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.18.14.tgz", + "integrity": "sha512-IXORRe22In7U65NZCzjwAUc03nn8SDIzWCnfzJ6t/8AvGx5zBkcLfknI+0P+hhuftufJBmIXxdSTbzWc8X/V4w==", "optional": true, "peer": true }, "@esbuild/linux-ia32": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.18.11.tgz", - "integrity": "sha512-S3hkIF6KUqRh9n1Q0dSyYcWmcVa9Cg+mSoZEfFuzoYXXsk6196qndrM+ZiHNwpZKi3XOXpShZZ+9dfN5ykqjjw==", + "version": "0.18.14", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.18.14.tgz", + "integrity": "sha512-BfHlMa0nibwpjG+VXbOoqJDmFde4UK2gnW351SQ2Zd4t1N3zNdmUEqRkw/srC1Sa1DRBE88Dbwg4JgWCbNz/FQ==", "optional": true, "peer": true }, "@esbuild/linux-loong64": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.18.11.tgz", - "integrity": "sha512-MRESANOoObQINBA+RMZW+Z0TJWpibtE7cPFnahzyQHDCA9X9LOmGh68MVimZlM9J8n5Ia8lU773te6O3ILW8kw==", + "version": "0.18.14", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.18.14.tgz", + "integrity": "sha512-j2/Ex++DRUWIAaUDprXd3JevzGtZ4/d7VKz+AYDoHZ3HjJzCyYBub9CU1wwIXN+viOP0b4VR3RhGClsvyt/xSw==", "optional": true, "peer": true }, "@esbuild/linux-mips64el": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.18.11.tgz", - "integrity": "sha512-qVyPIZrXNMOLYegtD1u8EBccCrBVshxMrn5MkuFc3mEVsw7CCQHaqZ4jm9hbn4gWY95XFnb7i4SsT3eflxZsUg==", + "version": "0.18.14", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.18.14.tgz", + "integrity": "sha512-qn2+nc+ZCrJmiicoAnJXJJkZWt8Nwswgu1crY7N+PBR8ChBHh89XRxj38UU6Dkthl2yCVO9jWuafZ24muzDC/A==", "optional": true, "peer": true }, "@esbuild/linux-ppc64": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.18.11.tgz", - "integrity": "sha512-T3yd8vJXfPirZaUOoA9D2ZjxZX4Gr3QuC3GztBJA6PklLotc/7sXTOuuRkhE9W/5JvJP/K9b99ayPNAD+R+4qQ==", + "version": "0.18.14", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.18.14.tgz", + "integrity": "sha512-aGzXzd+djqeEC5IRkDKt3kWzvXoXC6K6GyYKxd+wsFJ2VQYnOWE954qV2tvy5/aaNrmgPTb52cSCHFE+Z7Z0yg==", "optional": true, "peer": true }, "@esbuild/linux-riscv64": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.18.11.tgz", - "integrity": "sha512-evUoRPWiwuFk++snjH9e2cAjF5VVSTj+Dnf+rkO/Q20tRqv+644279TZlPK8nUGunjPAtQRCj1jQkDAvL6rm2w==", + "version": "0.18.14", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.18.14.tgz", + "integrity": "sha512-8C6vWbfr0ygbAiMFLS6OPz0BHvApkT2gCboOGV76YrYw+sD/MQJzyITNsjZWDXJwPu9tjrFQOVG7zijRzBCnLw==", "optional": true, "peer": true }, "@esbuild/linux-s390x": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.18.11.tgz", - "integrity": "sha512-/SlRJ15XR6i93gRWquRxYCfhTeC5PdqEapKoLbX63PLCmAkXZHY2uQm2l9bN0oPHBsOw2IswRZctMYS0MijFcg==", + "version": "0.18.14", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.18.14.tgz", + "integrity": "sha512-G/Lf9iu8sRMM60OVGOh94ZW2nIStksEcITkXdkD09/T6QFD/o+g0+9WVyR/jajIb3A0LvBJ670tBnGe1GgXMgw==", "optional": true, "peer": true }, "@esbuild/linux-x64": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.18.11.tgz", - "integrity": "sha512-xcncej+wF16WEmIwPtCHi0qmx1FweBqgsRtEL1mSHLFR6/mb3GEZfLQnx+pUDfRDEM4DQF8dpXIW7eDOZl1IbA==", + "version": "0.18.14", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.18.14.tgz", + "integrity": "sha512-TBgStYBQaa3EGhgqIDM+ECnkreb0wkcKqL7H6m+XPcGUoU4dO7dqewfbm0mWEQYH3kzFHrzjOFNpSAVzDZRSJw==", "optional": true, "peer": true }, "@esbuild/netbsd-x64": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.18.11.tgz", - "integrity": "sha512-aSjMHj/F7BuS1CptSXNg6S3M4F3bLp5wfFPIJM+Km2NfIVfFKhdmfHF9frhiCLIGVzDziggqWll0B+9AUbud/Q==", + "version": "0.18.14", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.18.14.tgz", + "integrity": "sha512-stvCcjyCQR2lMTroqNhAbvROqRjxPEq0oQ380YdXxA81TaRJEucH/PzJ/qsEtsHgXlWFW6Ryr/X15vxQiyRXVg==", "optional": true, "peer": true }, "@esbuild/openbsd-x64": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.18.11.tgz", - "integrity": "sha512-tNBq+6XIBZtht0xJGv7IBB5XaSyvYPCm1PxJ33zLQONdZoLVM0bgGqUrXnJyiEguD9LU4AHiu+GCXy/Hm9LsdQ==", + "version": "0.18.14", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.18.14.tgz", + "integrity": "sha512-apAOJF14CIsN5ht1PA57PboEMsNV70j3FUdxLmA2liZ20gEQnfTG5QU0FhENo5nwbTqCB2O3WDsXAihfODjHYw==", "optional": true, "peer": true }, "@esbuild/sunos-x64": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.18.11.tgz", - "integrity": "sha512-kxfbDOrH4dHuAAOhr7D7EqaYf+W45LsAOOhAet99EyuxxQmjbk8M9N4ezHcEiCYPaiW8Dj3K26Z2V17Gt6p3ng==", + "version": "0.18.14", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.18.14.tgz", + "integrity": "sha512-fYRaaS8mDgZcGybPn2MQbn1ZNZx+UXFSUoS5Hd2oEnlsyUcr/l3c6RnXf1bLDRKKdLRSabTmyCy7VLQ7VhGdOQ==", "optional": true, "peer": true }, "@esbuild/win32-arm64": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.18.11.tgz", - "integrity": "sha512-Sh0dDRyk1Xi348idbal7lZyfSkjhJsdFeuC13zqdipsvMetlGiFQNdO+Yfp6f6B4FbyQm7qsk16yaZk25LChzg==", + "version": "0.18.14", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.18.14.tgz", + "integrity": "sha512-1c44RcxKEJPrVj62XdmYhxXaU/V7auELCmnD+Ri+UCt+AGxTvzxl9uauQhrFso8gj6ZV1DaORV0sT9XSHOAk8Q==", "optional": true, "peer": true }, "@esbuild/win32-ia32": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.18.11.tgz", - "integrity": "sha512-o9JUIKF1j0rqJTFbIoF4bXj6rvrTZYOrfRcGyL0Vm5uJ/j5CkBD/51tpdxe9lXEDouhRgdr/BYzUrDOvrWwJpg==", + "version": "0.18.14", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.18.14.tgz", + "integrity": "sha512-EXAFttrdAxZkFQmpvcAQ2bywlWUsONp/9c2lcfvPUhu8vXBBenCXpoq9YkUvVP639ld3YGiYx0YUQ6/VQz3Maw==", "optional": true, "peer": true }, "@esbuild/win32-x64": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.18.11.tgz", - "integrity": "sha512-rQI4cjLHd2hGsM1LqgDI7oOCYbQ6IBOVsX9ejuRMSze0GqXUG2ekwiKkiBU1pRGSeCqFFHxTrcEydB2Hyoz9CA==", + "version": "0.18.14", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.18.14.tgz", + "integrity": "sha512-K0QjGbcskx+gY+qp3v4/940qg8JitpXbdxFhRDA1aYoNaPff88+aEwoq45aqJ+ogpxQxmU0ZTjgnrQD/w8iiUg==", "optional": true, "peer": true }, @@ -7638,7 +7731,7 @@ "@stylable/core": "^5.15.0", "@tokey/css-value-parser": "^0.1.3", "js-beautify": "^1.14.8", - "postcss": "^8.4.25" + "postcss": "^8.4.26" } }, "@stylable/core": { @@ -7654,7 +7747,7 @@ "is-vendor-prefixed": "^4.0.0", "lodash.clonedeep": "^4.5.0", "lodash.clonedeepwith": "^4.5.0", - "postcss": "^8.4.25", + "postcss": "^8.4.26", "postcss-js": "^4.0.1", "postcss-nested": "^6.0.1", "postcss-safe-parser": "^6.0.0", @@ -7673,7 +7766,7 @@ "@stylable/core": "^5.15.0", "chai": "^4.3.7", "flat": "^5.0.2", - "postcss": "^8.4.25" + "postcss": "^8.4.26" } }, "@stylable/custom-value": { @@ -7695,7 +7788,7 @@ "requires": { "@stylable/runtime": "^5.15.0", "node-eval": "^2.0.0", - "playwright-core": "^1.36.0", + "playwright-core": "^1.36.1", "rimraf": "^5.0.1" } }, @@ -7746,7 +7839,7 @@ "@tokey/css-selector-parser": "^0.6.1", "@tokey/css-value-parser": "^0.1.3", "css-selector-tokenizer": "^0.8.0", - "postcss": "^8.4.25", + "postcss": "^8.4.26", "postcss-value-parser": "^4.2.0", "vscode-css-languageservice": "^6.2.6", "vscode-languageserver": "^8.1.0", @@ -7777,7 +7870,7 @@ "@stylable/core": "^5.15.0", "@tokey/css-selector-parser": "^0.6.1", "csso": "^5.0.5", - "postcss": "^8.4.25" + "postcss": "^8.4.26" } }, "@stylable/rollup-plugin": { @@ -7834,7 +7927,7 @@ "@stylable/runtime": "^5.15.0", "decache": "^4.6.2", "lodash.clonedeep": "^4.5.0", - "postcss": "^8.4.25" + "postcss": "^8.4.26" } }, "@tokey/core": { @@ -8065,9 +8158,9 @@ "dev": true }, "@types/react": { - "version": "18.2.14", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.14.tgz", - "integrity": "sha512-A0zjq+QN/O0Kpe30hA1GidzyFjatVvrpIvWLxD+xv67Vt91TWWgco9IvrJBkeyHm1trGaFS/FSGqPlhyeZRm0g==", + "version": "18.2.15", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.15.tgz", + "integrity": "sha512-oEjE7TQt1fFTFSbf8kkNuc798ahTUzn3Le67/PWjE8MAfYAD/qB7O8hSTcromLFqHCt9bcdOg5GXMokzTjJ5SA==", "dev": true, "requires": { "@types/prop-types": "*", @@ -8076,9 +8169,9 @@ } }, "@types/react-dom": { - "version": "18.2.6", - "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.6.tgz", - "integrity": "sha512-2et4PDvg6PVCyS7fuTc4gPoksV58bW0RwSxWKcPRcHZf0PRUGq03TKcD/rUHe3azfV6/5/biUBJw+HhCQjaP0A==", + "version": "18.2.7", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.7.tgz", + "integrity": "sha512-GRaAEriuT4zp9N4p1i8BDBYmEyfo+xQ3yHjJU4eiK5NDa1RmUZG+unZABUTK4/Ox/M+GaHwb6Ow8rUITrtjszA==", "dev": true, "requires": { "@types/react": "*" @@ -8378,9 +8471,9 @@ } }, "type-fest": { - "version": "3.13.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-3.13.0.tgz", - "integrity": "sha512-Gur3yQGM9qiLNs0KPP7LPgeRbio2QTt4xXouobMCarR0/wyW3F+F/+OWwshg3NG0Adon7uQfSZBpB46NfhoF1A==" + "version": "3.13.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-3.13.1.tgz", + "integrity": "sha512-tLq3bSNx+xSpwvAJnzrK0Ep5CLNWjvFTOp71URMaAEWBfRb9nnJiBoUe0tF8bI4ZFO3omgBR6NvnbzVUT3Ly4g==" } } }, @@ -8517,6 +8610,20 @@ "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==" }, + "arraybuffer.prototype.slice": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.1.tgz", + "integrity": "sha512-09x0ZWFEjj4WD8PDbykUwo3t9arLn8NIzmmYEJFpYekOAQjpkGSyrQhNoRTcwwcFRu+ycWF78QZ63oWTqSjBcw==", + "dev": true, + "requires": { + "array-buffer-byte-length": "^1.0.0", + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "get-intrinsic": "^1.2.1", + "is-array-buffer": "^3.0.2", + "is-shared-array-buffer": "^1.0.2" + } + }, "assertion-error": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", @@ -8717,9 +8824,9 @@ "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==" }, "caniuse-lite": { - "version": "1.0.30001515", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001515.tgz", - "integrity": "sha512-eEFDwUOZbE24sb+Ecsx3+OvNETqjWIdabMy52oOkIgcUtAsQifjUG9q4U9dgTHJM2mfk4uEPxc0+xuFdJ629QA==" + "version": "1.0.30001516", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001516.tgz", + "integrity": "sha512-Wmec9pCBY8CWbmI4HsjBeQLqDTqV91nFVR83DnZpYyRnPI1wePDsTg0bGLPC5VU/3OIZV1fmxEea1b+tFKe86g==" }, "chai": { "version": "4.3.7", @@ -9124,9 +9231,9 @@ } }, "electron-to-chromium": { - "version": "1.4.457", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.457.tgz", - "integrity": "sha512-/g3UyNDmDd6ebeWapmAoiyy+Sy2HyJ+/X8KyvNeHfKRFfHaA2W8oF5fxD5F3tjBDcjpwo0iek6YNgxNXDBoEtA==" + "version": "1.4.464", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.464.tgz", + "integrity": "sha512-guZ84yoou4+ILNdj0XEbmGs6DEWj6zpVOWYpY09GU66yEb0DSYvP/biBPzHn0GuW/3RC/pnaYNUWlQE1fJYtgA==" }, "emoji-regex": { "version": "8.0.0", @@ -9164,18 +9271,19 @@ } }, "es-abstract": { - "version": "1.21.2", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.21.2.tgz", - "integrity": "sha512-y/B5POM2iBnIxCiernH1G7rC9qQoM77lLIMQLuob0zhp8C56Po81+2Nj0WFKnd0pNReDTnkYryc+zhOzpEIROg==", + "version": "1.22.1", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.22.1.tgz", + "integrity": "sha512-ioRRcXMO6OFyRpyzV3kE1IIBd4WG5/kltnzdxSCqoP8CMGs/Li+M1uF5o7lOkZVFjDs+NLesthnF66Pg/0q0Lw==", "dev": true, "requires": { "array-buffer-byte-length": "^1.0.0", + "arraybuffer.prototype.slice": "^1.0.1", "available-typed-arrays": "^1.0.5", "call-bind": "^1.0.2", "es-set-tostringtag": "^2.0.1", "es-to-primitive": "^1.2.1", "function.prototype.name": "^1.1.5", - "get-intrinsic": "^1.2.0", + "get-intrinsic": "^1.2.1", "get-symbol-description": "^1.0.0", "globalthis": "^1.0.3", "gopd": "^1.0.1", @@ -9195,14 +9303,18 @@ "object-inspect": "^1.12.3", "object-keys": "^1.1.1", "object.assign": "^4.1.4", - "regexp.prototype.flags": "^1.4.3", + "regexp.prototype.flags": "^1.5.0", + "safe-array-concat": "^1.0.0", "safe-regex-test": "^1.0.0", "string.prototype.trim": "^1.2.7", "string.prototype.trimend": "^1.0.6", "string.prototype.trimstart": "^1.0.6", + "typed-array-buffer": "^1.0.0", + "typed-array-byte-length": "^1.0.0", + "typed-array-byte-offset": "^1.0.0", "typed-array-length": "^1.0.4", "unbox-primitive": "^1.0.2", - "which-typed-array": "^1.1.9" + "which-typed-array": "^1.1.10" } }, "es-module-lexer": { @@ -9233,33 +9345,33 @@ } }, "esbuild": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.18.11.tgz", - "integrity": "sha512-i8u6mQF0JKJUlGR3OdFLKldJQMMs8OqM9Cc3UCi9XXziJ9WERM5bfkHaEAy0YAvPRMgqSW55W7xYn84XtEFTtA==", + "version": "0.18.14", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.18.14.tgz", + "integrity": "sha512-uNPj5oHPYmj+ZhSQeYQVFZ+hAlJZbAGOmmILWIqrGvPVlNLbyOvU5Bu6Woi8G8nskcx0vwY0iFoMPrzT86Ko+w==", "peer": true, "requires": { - "@esbuild/android-arm": "0.18.11", - "@esbuild/android-arm64": "0.18.11", - "@esbuild/android-x64": "0.18.11", - "@esbuild/darwin-arm64": "0.18.11", - "@esbuild/darwin-x64": "0.18.11", - "@esbuild/freebsd-arm64": "0.18.11", - "@esbuild/freebsd-x64": "0.18.11", - "@esbuild/linux-arm": "0.18.11", - "@esbuild/linux-arm64": "0.18.11", - "@esbuild/linux-ia32": "0.18.11", - "@esbuild/linux-loong64": "0.18.11", - "@esbuild/linux-mips64el": "0.18.11", - "@esbuild/linux-ppc64": "0.18.11", - "@esbuild/linux-riscv64": "0.18.11", - "@esbuild/linux-s390x": "0.18.11", - "@esbuild/linux-x64": "0.18.11", - "@esbuild/netbsd-x64": "0.18.11", - "@esbuild/openbsd-x64": "0.18.11", - "@esbuild/sunos-x64": "0.18.11", - "@esbuild/win32-arm64": "0.18.11", - "@esbuild/win32-ia32": "0.18.11", - "@esbuild/win32-x64": "0.18.11" + "@esbuild/android-arm": "0.18.14", + "@esbuild/android-arm64": "0.18.14", + "@esbuild/android-x64": "0.18.14", + "@esbuild/darwin-arm64": "0.18.14", + "@esbuild/darwin-x64": "0.18.14", + "@esbuild/freebsd-arm64": "0.18.14", + "@esbuild/freebsd-x64": "0.18.14", + "@esbuild/linux-arm": "0.18.14", + "@esbuild/linux-arm64": "0.18.14", + "@esbuild/linux-ia32": "0.18.14", + "@esbuild/linux-loong64": "0.18.14", + "@esbuild/linux-mips64el": "0.18.14", + "@esbuild/linux-ppc64": "0.18.14", + "@esbuild/linux-riscv64": "0.18.14", + "@esbuild/linux-s390x": "0.18.14", + "@esbuild/linux-x64": "0.18.14", + "@esbuild/netbsd-x64": "0.18.14", + "@esbuild/openbsd-x64": "0.18.14", + "@esbuild/sunos-x64": "0.18.14", + "@esbuild/win32-arm64": "0.18.14", + "@esbuild/win32-ia32": "0.18.14", + "@esbuild/win32-x64": "0.18.14" } }, "escalade": { @@ -9273,9 +9385,9 @@ "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==" }, "eslint": { - "version": "8.44.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.44.0.tgz", - "integrity": "sha512-0wpHoUbDUHgNCyvFB5aXLiQVfK9B0at6gUvzy83k4kAsQ/u769TQDX6iKC+aO4upIHO9WSaA3QoXYQDHbNwf1A==", + "version": "8.45.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.45.0.tgz", + "integrity": "sha512-pd8KSxiQpdYRfYa9Wufvdoct3ZPQQuVuU5O6scNgMuOMYuxvH0IGaYK0wUFjo4UYYQQCUndlXiMbnxopwvvTiw==", "requires": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.4.0", @@ -9302,7 +9414,6 @@ "globals": "^13.19.0", "graphemer": "^1.4.0", "ignore": "^5.2.0", - "import-fresh": "^3.0.0", "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", "is-path-inside": "^3.0.3", @@ -9314,14 +9425,13 @@ "natural-compare": "^1.4.0", "optionator": "^0.9.3", "strip-ansi": "^6.0.1", - "strip-json-comments": "^3.1.0", "text-table": "^0.2.0" }, "dependencies": { "eslint-scope": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.0.tgz", - "integrity": "sha512-DYj5deGlHBfMt15J7rdtyKNq/Nqlv5KfU4iodrQ019XESsRnwXH9KAE0y3cwtUHDo2ob7CypAnCqefh6vioWRw==", + "version": "7.2.1", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.1.tgz", + "integrity": "sha512-CvefSOsDdaYYvxChovdrPo/ZGt8d5lrJWleAc1diXRKhHGiTYEI26cvo8Kle/wGnsizoCJjK73FMg1/IkIwiNA==", "requires": { "esrecurse": "^4.3.0", "estraverse": "^5.2.0" @@ -9363,9 +9473,9 @@ "integrity": "sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==" }, "espree": { - "version": "9.6.0", - "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.0.tgz", - "integrity": "sha512-1FH/IiruXZ84tpUlm0aCUEwMl2Ho5ilqVh0VvQXw+byAz/4SAciyHLlfmL5WYqsvD38oymdUwBss0LtK8m4s/A==", + "version": "9.6.1", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", + "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", "requires": { "acorn": "^8.9.0", "acorn-jsx": "^5.3.2", @@ -10055,16 +10165,12 @@ } }, "is-typed-array": { - "version": "1.1.10", - "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.10.tgz", - "integrity": "sha512-PJqgEHiWZvMpaFZ3uTc8kHPM4+4ADTlDniuQL7cU/UDA0Ql7F70yGfHph3cLNe+c9toaigv+DFzTJKhc2CtO6A==", + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.12.tgz", + "integrity": "sha512-Z14TF2JNG8Lss5/HMqt0//T9JeHXttXy5pH/DBU4vi98ozO2btxzq9MwYDZYnKwU8nRsz/+GVFVRDq3DkVuSPg==", "dev": true, "requires": { - "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.2", - "for-each": "^0.3.3", - "gopd": "^1.0.1", - "has-tostringtag": "^1.0.0" + "which-typed-array": "^1.1.11" } }, "is-unicode-supported": { @@ -10090,6 +10196,12 @@ "call-bind": "^1.0.2" } }, + "isarray": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", + "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", + "dev": true + }, "isexe": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", @@ -10989,23 +11101,23 @@ "dev": true }, "playwright-chromium": { - "version": "1.36.0", - "resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.36.0.tgz", - "integrity": "sha512-AU4/euzKqiIeK7JMsxMlgVx3jRFOnXF0vkptF9mfqeNSETVYCbovZ9EpwJ3Kzm/vVAmIlpHp+VoXdX2bi+05Zg==", + "version": "1.36.1", + "resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.36.1.tgz", + "integrity": "sha512-V2jBtS5zNUyMajzh6SRiCzafsz/Mg35IroR+SwWhAa1Dqa4juGXDp26AdK7Nj/fAOvwnG+dFDVOVx/ewt9dSxQ==", "dev": true, "requires": { - "playwright-core": "1.36.0" + "playwright-core": "1.36.1" } }, "playwright-core": { - "version": "1.36.0", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.36.0.tgz", - "integrity": "sha512-7RTr8P6YJPAqB+8j5ATGHqD6LvLLM39sYVNsslh78g8QeLcBs5750c6+msjrHUwwGt+kEbczBj1XB22WMwn+WA==" + "version": "1.36.1", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.36.1.tgz", + "integrity": "sha512-7+tmPuMcEW4xeCL9cp9KxmYpQYHKkyjwoXRnoeTowaeNat8PoBMk/HwCYhqkH2fRkshfKEOiVus/IhID2Pg8kg==" }, "postcss": { - "version": "8.4.25", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.25.tgz", - "integrity": "sha512-7taJ/8t2av0Z+sQEvNzCkpDynl0tX3uJMCODi6nT3PfASC7dYCWV9aQ+uiCf+KBD4SEFcu+GvJdGdwzQ6OSjCw==", + "version": "8.4.26", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.26.tgz", + "integrity": "sha512-jrXHFF8iTloAenySjM/ob3gSj7pCu0Ji49hnjqzsgSRa50hkWCKD0HQ+gMNJkW38jBI68MpAAg7ZWwHwX8NMMw==", "requires": { "nanoid": "^3.3.6", "picocolors": "^1.0.0", @@ -11311,9 +11423,9 @@ } }, "rollup": { - "version": "3.26.2", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.26.2.tgz", - "integrity": "sha512-6umBIGVz93er97pMgQO08LuH3m6PUb3jlDUUGFsNJB6VgTCUaDFpupf5JfU30529m/UKOgmiX+uY6Sx8cOYpLA==", + "version": "3.26.3", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.26.3.tgz", + "integrity": "sha512-7Tin0C8l86TkpcMtXvQu6saWH93nhG3dGQ1/+l5V2TDMceTxO7kDiK6GzbfLWNNxqJXm591PcEZUozZm51ogwQ==", "requires": { "fsevents": "~2.3.2" } @@ -11326,6 +11438,18 @@ "queue-microtask": "^1.2.2" } }, + "safe-array-concat": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.0.0.tgz", + "integrity": "sha512-9dVEFruWIsnie89yym+xWTAYASdpw3CJV7Li/6zBewGf9z2i1j31rP6jnY0pHEO4QZh6N0K11bFjWmdR8UGdPQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.2.0", + "has-symbols": "^1.0.3", + "isarray": "^2.0.5" + } + }, "safe-buffer": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", @@ -11618,9 +11742,9 @@ "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==" }, "terser": { - "version": "5.19.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.19.0.tgz", - "integrity": "sha512-JpcpGOQLOXm2jsomozdMDpd5f8ZHh1rR48OFgWUH3QsyZcfPgv2qDCYbcDEAYNd4OZRj2bWYKpwdll/udZCk/Q==", + "version": "5.19.1", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.19.1.tgz", + "integrity": "sha512-27hxBUVdV6GoNg1pKQ7Z5cbR6V9txPVyBA+FQw3BaZ1Wuzvztce5p156DaP0NVZNrMZZ+6iG9Syf7WgMNKDg2Q==", "requires": { "@jridgewell/source-map": "^0.3.3", "acorn": "^8.8.2", @@ -11748,6 +11872,42 @@ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==" }, + "typed-array-buffer": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.0.tgz", + "integrity": "sha512-Y8KTSIglk9OZEr8zywiIHG/kmQ7KWyjseXs1CbSo8vC42w7hg2HgYTxSWwP0+is7bWDc1H+Fo026CpHFwm8tkw==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.2.1", + "is-typed-array": "^1.1.10" + } + }, + "typed-array-byte-length": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.0.tgz", + "integrity": "sha512-Or/+kvLxNpeQ9DtSydonMxCx+9ZXOswtwJn17SNLvhptaXYDJvkFFP5zbfU/uLmvnBJlI4yrnXRxpdWH/M5tNA==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "has-proto": "^1.0.1", + "is-typed-array": "^1.1.10" + } + }, + "typed-array-byte-offset": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.0.tgz", + "integrity": "sha512-RD97prjEt9EL8YgAgpOkf3O4IF9lhJFr9g0htQkm0rchFp/Vx7LW5Q8fSXXub7BXAODyUQohRMyOc3faCPd0hg==", + "dev": true, + "requires": { + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "has-proto": "^1.0.1", + "is-typed-array": "^1.1.10" + } + }, "typed-array-length": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.4.tgz", @@ -11920,9 +12080,9 @@ } }, "webpack": { - "version": "5.88.1", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.88.1.tgz", - "integrity": "sha512-FROX3TxQnC/ox4N+3xQoWZzvGXSuscxR32rbzjpXgEzWudJFEJBpdlkkob2ylrv5yzzufD1zph1OoFsLtm6stQ==", + "version": "5.88.2", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.88.2.tgz", + "integrity": "sha512-JmcgNZ1iKj+aiR0OvTYtWQqJwq37Pf683dY9bVORwVbUrDhLhdn/PlO2sHsFHPkj7sHNQF3JwaAkp49V+Sq1tQ==", "requires": { "@types/eslint-scope": "^3.7.3", "@types/estree": "^1.0.0", @@ -11977,17 +12137,16 @@ } }, "which-typed-array": { - "version": "1.1.10", - "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.10.tgz", - "integrity": "sha512-uxoA5vLUfRPdjCuJ1h5LlYdmTLbYfums398v3WLkM+i/Wltl2/XyZpQWKbN++ck5L64SR/grOHqtXCUKmlZPNA==", + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.11.tgz", + "integrity": "sha512-qe9UWWpkeG5yzZ0tNYxDmd7vo58HDBc39mZ0xWWpolAGADdFOzkfamWLDxkOWcvHQKVmdTyQdLD4NOfjLWTKew==", "dev": true, "requires": { "available-typed-arrays": "^1.0.5", "call-bind": "^1.0.2", "for-each": "^0.3.3", "gopd": "^1.0.1", - "has-tostringtag": "^1.0.0", - "is-typed-array": "^1.1.10" + "has-tostringtag": "^1.0.0" } }, "workerpool": { diff --git a/package.json b/package.json index a63f737e4..181b80af5 100644 --- a/package.json +++ b/package.json @@ -42,8 +42,8 @@ "@types/mocha": "^10.0.1", "@types/node": "14", "@types/postcss-safe-parser": "^5.0.1", - "@types/react": "^18.2.14", - "@types/react-dom": "^18.2.6", + "@types/react": "^18.2.15", + "@types/react-dom": "^18.2.7", "@types/semver": "^7.5.0", "@types/validate-npm-package-name": "^4.0.0", "@types/yargs": "^17.0.24", @@ -54,7 +54,7 @@ "chai": "^4.3.7", "chai-subset": "^1.6.0", "create-listening-server": "^2.1.0", - "eslint": "^8.44.0", + "eslint": "^8.45.0", "eslint-config-prettier": "^8.8.0", "file-loader": "^6.2.0", "html-webpack-plugin": "^5.5.3", @@ -62,14 +62,14 @@ "mocha": "^10.2.0", "node-eval": "^2.0.0", "npm-run-all": "^4.1.5", - "playwright-chromium": "^1.36.0", - "postcss": "^8.4.25", + "playwright-chromium": "^1.36.1", + "postcss": "^8.4.26", "promise-assist": "^2.0.1", "raw-loader": "^4.0.2", "react": "^18.2.0", "react-dom": "^18.2.0", "rimraf": "^5.0.1", - "rollup": "^3.26.2", + "rollup": "^3.26.3", "source-map": "^0.7.4", "source-map-loader": "^4.0.1", "style-loader": "^3.3.3", @@ -77,7 +77,7 @@ "tsconfig-paths-webpack-plugin": "^4.1.0", "typescript": "~5.1.6", "url-loader": "^4.1.1", - "webpack": "^5.88.1", + "webpack": "^5.88.2", "yargs": "^17.7.2" }, "engines": { diff --git a/packages/cli/src/build-single-file.ts b/packages/cli/src/build-single-file.ts index fb5df6430..0dd7a9253 100644 --- a/packages/cli/src/build-single-file.ts +++ b/packages/cli/src/build-single-file.ts @@ -1,4 +1,8 @@ -import { type Stylable, type StylableResults, generateStylableJSModuleSource } from '@stylable/core'; +import { + type Stylable, + type StylableResults, + generateStylableJSModuleSource, +} from '@stylable/core'; import { isAsset, isRelativeNativeCss } from '@stylable/core/dist/index-internal'; import { generateDTSContent, generateDTSSourceMap } from '@stylable/module-utils'; import { StylableOptimizer } from '@stylable/optimizer'; @@ -338,7 +342,7 @@ function collectImportsWithSideEffects(res: StylableResults, stylable: Stylable, } function inlineAssetsForJsModule(res: StylableResults, stylable: Stylable, fs: IFileSystem) { - const ast = res.meta.targetAst!.clone() as NonNullable; + const ast = res.meta.targetAst!.clone(); processUrlDependencies({ meta: { targetAst: ast, source: res.meta.source }, rootContext: stylable.projectRoot, diff --git a/packages/code-formatter/package.json b/packages/code-formatter/package.json index a5f9184fb..da1a6ffc1 100644 --- a/packages/code-formatter/package.json +++ b/packages/code-formatter/package.json @@ -10,7 +10,7 @@ "@stylable/core": "^5.15.0", "@tokey/css-value-parser": "^0.1.3", "js-beautify": "^1.14.8", - "postcss": "^8.4.25" + "postcss": "^8.4.26" }, "files": [ "dist", diff --git a/packages/core-test-kit/package.json b/packages/core-test-kit/package.json index 28b63aa90..8c841f9e5 100644 --- a/packages/core-test-kit/package.json +++ b/packages/core-test-kit/package.json @@ -11,7 +11,7 @@ "@stylable/core": "^5.15.0", "chai": "^4.3.7", "flat": "^5.0.2", - "postcss": "^8.4.25" + "postcss": "^8.4.26" }, "files": [ "dist", diff --git a/packages/core/package.json b/packages/core/package.json index 26e2cae94..68df3d1c4 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -20,7 +20,7 @@ "is-vendor-prefixed": "^4.0.0", "lodash.clonedeep": "^4.5.0", "lodash.clonedeepwith": "^4.5.0", - "postcss": "^8.4.25", + "postcss": "^8.4.26", "postcss-js": "^4.0.1", "postcss-nested": "^6.0.1", "postcss-safe-parser": "^6.0.0", diff --git a/packages/core/src/stylable-transformer.ts b/packages/core/src/stylable-transformer.ts index 87b7bb210..b7c21a824 100644 --- a/packages/core/src/stylable-transformer.ts +++ b/packages/core/src/stylable-transformer.ts @@ -165,7 +165,7 @@ export class StylableTransformer { containers: {}, }; meta.transformedScopes = null; - meta.targetAst = meta.sourceAst.clone() as postcss.Root; + meta.targetAst = meta.sourceAst.clone(); const context = { meta, diagnostics: this.diagnostics, diff --git a/packages/e2e-test-kit/package.json b/packages/e2e-test-kit/package.json index 522bbfb80..33e726984 100644 --- a/packages/e2e-test-kit/package.json +++ b/packages/e2e-test-kit/package.json @@ -9,7 +9,7 @@ "dependencies": { "@stylable/runtime": "^5.15.0", "node-eval": "^2.0.0", - "playwright-core": "^1.36.0", + "playwright-core": "^1.36.1", "rimraf": "^5.0.1" }, "files": [ diff --git a/packages/language-service/package.json b/packages/language-service/package.json index fd5290556..2b9a13f9d 100644 --- a/packages/language-service/package.json +++ b/packages/language-service/package.json @@ -19,7 +19,7 @@ "@tokey/css-selector-parser": "^0.6.1", "@tokey/css-value-parser": "^0.1.3", "css-selector-tokenizer": "^0.8.0", - "postcss": "^8.4.25", + "postcss": "^8.4.26", "postcss-value-parser": "^4.2.0", "vscode-css-languageservice": "^6.2.6", "vscode-languageserver": "^8.1.0", diff --git a/packages/optimizer/package.json b/packages/optimizer/package.json index bacf8b96e..09e621c64 100644 --- a/packages/optimizer/package.json +++ b/packages/optimizer/package.json @@ -10,7 +10,7 @@ "@stylable/core": "^5.15.0", "@tokey/css-selector-parser": "^0.6.1", "csso": "^5.0.5", - "postcss": "^8.4.25" + "postcss": "^8.4.26" }, "files": [ "dist", diff --git a/packages/webpack-extensions/src/create-metadata-stylesheet.ts b/packages/webpack-extensions/src/create-metadata-stylesheet.ts index 382f6ab43..faa0218e1 100644 --- a/packages/webpack-extensions/src/create-metadata-stylesheet.ts +++ b/packages/webpack-extensions/src/create-metadata-stylesheet.ts @@ -44,7 +44,7 @@ function rewriteImports( const sourcesByHash: Record = {}; for (const [meta, resolvedImports] of usedMeta.entries()) { const hash = ensureHash(meta, hashes); - const rawAst = meta.sourceAst.clone() as typeof meta.sourceAst; + const rawAst = meta.sourceAst.clone(); for (const { resolved, stImport } of resolvedImports) { if (resolved && resolved._kind === 'css') { const rawRule = rawAst.nodes?.find(ruleByLocation(stImport.rule)); diff --git a/packages/webpack-plugin/package.json b/packages/webpack-plugin/package.json index 09e4d3bed..8c6b23361 100644 --- a/packages/webpack-plugin/package.json +++ b/packages/webpack-plugin/package.json @@ -19,7 +19,7 @@ "@stylable/runtime": "^5.15.0", "decache": "^4.6.2", "lodash.clonedeep": "^4.5.0", - "postcss": "^8.4.25" + "postcss": "^8.4.26" }, "files": [ "dist", diff --git a/pleb.config.mjs b/pleb.config.mjs index 2ce39b9cd..8f024aaad 100644 --- a/pleb.config.mjs +++ b/pleb.config.mjs @@ -12,5 +12,9 @@ export default { name: '@typescript-eslint/utils', reason: 'drop node 14 and type issues with ESLintUtils.RuleCreator', }, + { + name: '@wixc3/resolve-directory-context', + reason: 'drop node 14', + }, ], }; From 147e16cef32f620caea39670d371813f28b689b6 Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Thu, 20 Jul 2023 15:38:01 +0300 Subject: [PATCH 51/81] fix(webpack): false positive unused stylesheet collision (#2894) --- packages/webpack-plugin/src/plugin-utils.ts | 14 +++++++++----- packages/webpack-plugin/src/plugin.ts | 4 ++-- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/packages/webpack-plugin/src/plugin-utils.ts b/packages/webpack-plugin/src/plugin-utils.ts index 374d5d98f..76ef07374 100644 --- a/packages/webpack-plugin/src/plugin-utils.ts +++ b/packages/webpack-plugin/src/plugin-utils.ts @@ -470,7 +470,7 @@ function getModuleRequestPath( export interface OptimizationMapping { usageMapping: Record; namespaceMapping: Record; - namespaceToFileMapping: Map>; + potentialNamespaceCollision: Map>; } export function createOptimizationMapping( @@ -485,17 +485,21 @@ export function createOptimizationMapping( acc.usageMapping[namespace] = isUsed ?? true; } acc.namespaceMapping[namespace] = optimizer.getNamespace(namespace); - if (acc.namespaceToFileMapping.has(namespace)) { - acc.namespaceToFileMapping.get(namespace)!.add(module); + if (!isUsed) { + // skip collision map for unused stylesheets + return acc; + } + if (acc.potentialNamespaceCollision.has(namespace)) { + acc.potentialNamespaceCollision.get(namespace)!.add(module); } else { - acc.namespaceToFileMapping.set(namespace, new Set([module])); + acc.potentialNamespaceCollision.set(namespace, new Set([module])); } return acc; }, { usageMapping: {}, namespaceMapping: {}, - namespaceToFileMapping: new Map>(), + potentialNamespaceCollision: new Map>(), } ); } diff --git a/packages/webpack-plugin/src/plugin.ts b/packages/webpack-plugin/src/plugin.ts index 1faf8d487..5a4b2c516 100644 --- a/packages/webpack-plugin/src/plugin.ts +++ b/packages/webpack-plugin/src/plugin.ts @@ -589,11 +589,11 @@ export class StylableWebpackPlugin { (m) => m.resource ); - const { usageMapping, namespaceMapping, namespaceToFileMapping } = + const { usageMapping, namespaceMapping, potentialNamespaceCollision } = createOptimizationMapping(sortedModules, optimizer); reportNamespaceCollision( - namespaceToFileMapping, + potentialNamespaceCollision, compilation, normalizeNamespaceCollisionOption( this.options.unsafeMuteDiagnostics.DUPLICATE_MODULE_NAMESPACE From bf27f9ec00ee5a73ea69f2f74cb1b26fe1046f39 Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Thu, 20 Jul 2023 15:41:25 +0300 Subject: [PATCH 52/81] v5.15.1 --- package-lock.json | 246 +++++++++---------- packages/build-tools/package.json | 4 +- packages/cli/package.json | 14 +- packages/code-formatter/package.json | 4 +- packages/core-test-kit/package.json | 4 +- packages/core/package.json | 2 +- packages/create-stylable-app/package.json | 2 +- packages/custom-value/package.json | 4 +- packages/dom-test-kit/package.json | 6 +- packages/e2e-test-kit/package.json | 4 +- packages/esbuild/package.json | 14 +- packages/eslint-plugin-stylable/package.json | 4 +- packages/experimental-loader/package.json | 6 +- packages/jest/package.json | 10 +- packages/language-service/package.json | 6 +- packages/module-utils/package.json | 4 +- packages/node/package.json | 8 +- packages/optimizer/package.json | 4 +- packages/rollup-plugin/package.json | 14 +- packages/runtime/package.json | 2 +- packages/schema-extract/package.json | 4 +- packages/uni-driver/package.json | 2 +- packages/webpack-extensions/package.json | 8 +- packages/webpack-plugin/package.json | 16 +- 24 files changed, 196 insertions(+), 196 deletions(-) diff --git a/package-lock.json b/package-lock.json index 070112831..2f59abf86 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6858,10 +6858,10 @@ }, "packages/build-tools": { "name": "@stylable/build-tools", - "version": "5.15.0", + "version": "5.15.1", "license": "MIT", "dependencies": { - "@stylable/core": "^5.15.0", + "@stylable/core": "^5.15.1", "find-config": "^1.0.0" }, "engines": { @@ -6870,17 +6870,17 @@ }, "packages/cli": { "name": "@stylable/cli", - "version": "5.15.0", + "version": "5.15.1", "license": "MIT", "dependencies": { "@file-services/node": "^7.4.0", "@file-services/types": "^7.4.0", - "@stylable/build-tools": "^5.15.0", - "@stylable/code-formatter": "^5.15.0", - "@stylable/core": "^5.15.0", - "@stylable/module-utils": "^5.15.0", - "@stylable/node": "^5.15.0", - "@stylable/optimizer": "^5.15.0", + "@stylable/build-tools": "^5.15.1", + "@stylable/code-formatter": "^5.15.1", + "@stylable/core": "^5.15.1", + "@stylable/module-utils": "^5.15.1", + "@stylable/node": "^5.15.1", + "@stylable/optimizer": "^5.15.1", "@wixc3/resolve-directory-context": "^3.0.5", "decache": "^4.6.2", "lodash.camelcase": "^4.3.0", @@ -6909,10 +6909,10 @@ }, "packages/code-formatter": { "name": "@stylable/code-formatter", - "version": "5.15.0", + "version": "5.15.1", "license": "MIT", "dependencies": { - "@stylable/core": "^5.15.0", + "@stylable/core": "^5.15.1", "@tokey/css-value-parser": "^0.1.3", "js-beautify": "^1.14.8", "postcss": "^8.4.26" @@ -6923,7 +6923,7 @@ }, "packages/core": { "name": "@stylable/core", - "version": "5.15.0", + "version": "5.15.1", "license": "MIT", "dependencies": { "@tokey/css-selector-parser": "^0.6.1", @@ -6948,11 +6948,11 @@ }, "packages/core-test-kit": { "name": "@stylable/core-test-kit", - "version": "5.15.0", + "version": "5.15.1", "license": "MIT", "dependencies": { "@file-services/memory": "^7.4.0", - "@stylable/core": "^5.15.0", + "@stylable/core": "^5.15.1", "chai": "^4.3.7", "flat": "^5.0.2", "postcss": "^8.4.26" @@ -6966,7 +6966,7 @@ "license": "MIT" }, "packages/create-stylable-app": { - "version": "5.15.0", + "version": "5.15.1", "license": "MIT", "dependencies": { "validate-npm-package-name": "^5.0.0", @@ -6981,10 +6981,10 @@ }, "packages/custom-value": { "name": "@stylable/custom-value", - "version": "5.15.0", + "version": "5.15.1", "license": "MIT", "dependencies": { - "@stylable/core": "^5.15.0" + "@stylable/core": "^5.15.1" }, "engines": { "node": ">=14.14.0" @@ -6992,11 +6992,11 @@ }, "packages/dom-test-kit": { "name": "@stylable/dom-test-kit", - "version": "5.15.0", + "version": "5.15.1", "license": "MIT", "dependencies": { - "@stylable/core": "^5.15.0", - "@stylable/runtime": "^5.15.0", + "@stylable/core": "^5.15.1", + "@stylable/runtime": "^5.15.1", "@tokey/css-selector-parser": "^0.6.1" }, "engines": { @@ -7005,10 +7005,10 @@ }, "packages/e2e-test-kit": { "name": "@stylable/e2e-test-kit", - "version": "5.15.0", + "version": "5.15.1", "license": "MIT", "dependencies": { - "@stylable/runtime": "^5.15.0", + "@stylable/runtime": "^5.15.1", "node-eval": "^2.0.0", "playwright-core": "^1.36.1", "rimraf": "^5.0.1" @@ -7022,15 +7022,15 @@ }, "packages/esbuild": { "name": "@stylable/esbuild", - "version": "5.15.0", + "version": "5.15.1", "license": "MIT", "dependencies": { - "@stylable/build-tools": "^5.15.0", - "@stylable/cli": "^5.15.0", - "@stylable/core": "^5.15.0", - "@stylable/node": "^5.15.0", - "@stylable/optimizer": "^5.15.0", - "@stylable/runtime": "^5.15.0", + "@stylable/build-tools": "^5.15.1", + "@stylable/cli": "^5.15.1", + "@stylable/core": "^5.15.1", + "@stylable/node": "^5.15.1", + "@stylable/optimizer": "^5.15.1", + "@stylable/runtime": "^5.15.1", "decache": "^4.6.2" }, "engines": { @@ -7041,20 +7041,20 @@ } }, "packages/eslint-plugin-stylable": { - "version": "5.15.0", + "version": "5.15.1", "license": "MIT", "dependencies": { - "@stylable/core": "^5.15.0", + "@stylable/core": "^5.15.1", "@typescript-eslint/utils": "^5.61.0" } }, "packages/experimental-loader": { "name": "@stylable/experimental-loader", - "version": "5.15.0", + "version": "5.15.1", "license": "MIT", "dependencies": { - "@stylable/core": "^5.15.0", - "@stylable/runtime": "^5.15.0", + "@stylable/core": "^5.15.1", + "@stylable/runtime": "^5.15.1", "css-loader": "^6.8.1", "decache": "^4.6.2", "loader-utils": "^3.2.1" @@ -7069,13 +7069,13 @@ }, "packages/jest": { "name": "@stylable/jest", - "version": "5.15.0", + "version": "5.15.1", "license": "MIT", "dependencies": { - "@stylable/core": "^5.15.0", - "@stylable/module-utils": "^5.15.0", - "@stylable/node": "^5.15.0", - "@stylable/runtime": "^5.15.0" + "@stylable/core": "^5.15.1", + "@stylable/module-utils": "^5.15.1", + "@stylable/node": "^5.15.1", + "@stylable/runtime": "^5.15.1" }, "engines": { "node": ">=14.14.0" @@ -7083,13 +7083,13 @@ }, "packages/language-service": { "name": "@stylable/language-service", - "version": "5.15.0", + "version": "5.15.1", "license": "MIT", "dependencies": { "@file-services/types": "^7.4.0", "@file-services/typescript": "^7.4.0", - "@stylable/code-formatter": "^5.15.0", - "@stylable/core": "^5.15.0", + "@stylable/code-formatter": "^5.15.1", + "@stylable/core": "^5.15.1", "@tokey/core": "^1.4.0", "@tokey/css-selector-parser": "^0.6.1", "@tokey/css-value-parser": "^0.1.3", @@ -7110,10 +7110,10 @@ }, "packages/module-utils": { "name": "@stylable/module-utils", - "version": "5.15.0", + "version": "5.15.1", "license": "MIT", "dependencies": { - "@stylable/core": "^5.15.0", + "@stylable/core": "^5.15.1", "@tokey/core": "^1.4.0", "vlq": "^2.0.4" }, @@ -7123,12 +7123,12 @@ }, "packages/node": { "name": "@stylable/node", - "version": "5.15.0", + "version": "5.15.1", "license": "MIT", "dependencies": { - "@stylable/build-tools": "^5.15.0", - "@stylable/core": "^5.15.0", - "@stylable/module-utils": "^5.15.0", + "@stylable/build-tools": "^5.15.1", + "@stylable/core": "^5.15.1", + "@stylable/module-utils": "^5.15.1", "find-config": "^1.0.0" }, "engines": { @@ -7137,10 +7137,10 @@ }, "packages/optimizer": { "name": "@stylable/optimizer", - "version": "5.15.0", + "version": "5.15.1", "license": "MIT", "dependencies": { - "@stylable/core": "^5.15.0", + "@stylable/core": "^5.15.1", "@tokey/css-selector-parser": "^0.6.1", "csso": "^5.0.5", "postcss": "^8.4.26" @@ -7151,15 +7151,15 @@ }, "packages/rollup-plugin": { "name": "@stylable/rollup-plugin", - "version": "5.15.0", + "version": "5.15.1", "license": "MIT", "dependencies": { - "@stylable/build-tools": "^5.15.0", - "@stylable/cli": "^5.15.0", - "@stylable/core": "^5.15.0", - "@stylable/node": "^5.15.0", - "@stylable/optimizer": "^5.15.0", - "@stylable/runtime": "^5.15.0", + "@stylable/build-tools": "^5.15.1", + "@stylable/cli": "^5.15.1", + "@stylable/core": "^5.15.1", + "@stylable/node": "^5.15.1", + "@stylable/optimizer": "^5.15.1", + "@stylable/runtime": "^5.15.1", "decache": "^4.6.2", "mime": "^3.0.0" }, @@ -7182,7 +7182,7 @@ }, "packages/runtime": { "name": "@stylable/runtime", - "version": "5.15.0", + "version": "5.15.1", "license": "MIT", "engines": { "node": ">=14.14.0" @@ -7190,10 +7190,10 @@ }, "packages/schema-extract": { "name": "@stylable/schema-extract", - "version": "5.15.0", + "version": "5.15.1", "license": "MIT", "dependencies": { - "@stylable/core": "^5.15.0", + "@stylable/core": "^5.15.1", "jest-docblock": "^29.4.3" }, "engines": { @@ -7202,7 +7202,7 @@ }, "packages/uni-driver": { "name": "@stylable/uni-driver", - "version": "5.15.0", + "version": "5.15.1", "license": "MIT", "engines": { "node": ">=14.14.0" @@ -7210,12 +7210,12 @@ }, "packages/webpack-extensions": { "name": "@stylable/webpack-extensions", - "version": "5.15.0", + "version": "5.15.1", "license": "MIT", "dependencies": { - "@stylable/core": "^5.15.0", - "@stylable/node": "^5.15.0", - "@stylable/webpack-plugin": "^5.15.0", + "@stylable/core": "^5.15.1", + "@stylable/node": "^5.15.1", + "@stylable/webpack-plugin": "^5.15.1", "@tokey/css-selector-parser": "^0.6.1", "find-config": "^1.0.0", "lodash.clonedeep": "^4.5.0" @@ -7229,16 +7229,16 @@ }, "packages/webpack-plugin": { "name": "@stylable/webpack-plugin", - "version": "5.15.0", + "version": "5.15.1", "license": "MIT", "dependencies": { - "@stylable/build-tools": "^5.15.0", - "@stylable/cli": "^5.15.0", - "@stylable/core": "^5.15.0", - "@stylable/module-utils": "^5.15.0", - "@stylable/node": "^5.15.0", - "@stylable/optimizer": "^5.15.0", - "@stylable/runtime": "^5.15.0", + "@stylable/build-tools": "^5.15.1", + "@stylable/cli": "^5.15.1", + "@stylable/core": "^5.15.1", + "@stylable/module-utils": "^5.15.1", + "@stylable/node": "^5.15.1", + "@stylable/optimizer": "^5.15.1", + "@stylable/runtime": "^5.15.1", "decache": "^4.6.2", "lodash.clonedeep": "^4.5.0", "postcss": "^8.4.26" @@ -7697,7 +7697,7 @@ "@stylable/build-tools": { "version": "file:packages/build-tools", "requires": { - "@stylable/core": "^5.15.0", + "@stylable/core": "^5.15.1", "find-config": "^1.0.0" } }, @@ -7706,12 +7706,12 @@ "requires": { "@file-services/node": "^7.4.0", "@file-services/types": "^7.4.0", - "@stylable/build-tools": "^5.15.0", - "@stylable/code-formatter": "^5.15.0", - "@stylable/core": "^5.15.0", - "@stylable/module-utils": "^5.15.0", - "@stylable/node": "^5.15.0", - "@stylable/optimizer": "^5.15.0", + "@stylable/build-tools": "^5.15.1", + "@stylable/code-formatter": "^5.15.1", + "@stylable/core": "^5.15.1", + "@stylable/module-utils": "^5.15.1", + "@stylable/node": "^5.15.1", + "@stylable/optimizer": "^5.15.1", "@wixc3/resolve-directory-context": "^3.0.5", "decache": "^4.6.2", "lodash.camelcase": "^4.3.0", @@ -7728,7 +7728,7 @@ "@stylable/code-formatter": { "version": "file:packages/code-formatter", "requires": { - "@stylable/core": "^5.15.0", + "@stylable/core": "^5.15.1", "@tokey/css-value-parser": "^0.1.3", "js-beautify": "^1.14.8", "postcss": "^8.4.26" @@ -7763,7 +7763,7 @@ "version": "file:packages/core-test-kit", "requires": { "@file-services/memory": "^7.4.0", - "@stylable/core": "^5.15.0", + "@stylable/core": "^5.15.1", "chai": "^4.3.7", "flat": "^5.0.2", "postcss": "^8.4.26" @@ -7772,21 +7772,21 @@ "@stylable/custom-value": { "version": "file:packages/custom-value", "requires": { - "@stylable/core": "^5.15.0" + "@stylable/core": "^5.15.1" } }, "@stylable/dom-test-kit": { "version": "file:packages/dom-test-kit", "requires": { - "@stylable/core": "^5.15.0", - "@stylable/runtime": "^5.15.0", + "@stylable/core": "^5.15.1", + "@stylable/runtime": "^5.15.1", "@tokey/css-selector-parser": "^0.6.1" } }, "@stylable/e2e-test-kit": { "version": "file:packages/e2e-test-kit", "requires": { - "@stylable/runtime": "^5.15.0", + "@stylable/runtime": "^5.15.1", "node-eval": "^2.0.0", "playwright-core": "^1.36.1", "rimraf": "^5.0.1" @@ -7795,20 +7795,20 @@ "@stylable/esbuild": { "version": "file:packages/esbuild", "requires": { - "@stylable/build-tools": "^5.15.0", - "@stylable/cli": "^5.15.0", - "@stylable/core": "^5.15.0", - "@stylable/node": "^5.15.0", - "@stylable/optimizer": "^5.15.0", - "@stylable/runtime": "^5.15.0", + "@stylable/build-tools": "^5.15.1", + "@stylable/cli": "^5.15.1", + "@stylable/core": "^5.15.1", + "@stylable/node": "^5.15.1", + "@stylable/optimizer": "^5.15.1", + "@stylable/runtime": "^5.15.1", "decache": "^4.6.2" } }, "@stylable/experimental-loader": { "version": "file:packages/experimental-loader", "requires": { - "@stylable/core": "^5.15.0", - "@stylable/runtime": "^5.15.0", + "@stylable/core": "^5.15.1", + "@stylable/runtime": "^5.15.1", "css-loader": "^6.8.1", "decache": "^4.6.2", "loader-utils": "^3.2.1" @@ -7822,10 +7822,10 @@ "@stylable/jest": { "version": "file:packages/jest", "requires": { - "@stylable/core": "^5.15.0", - "@stylable/module-utils": "^5.15.0", - "@stylable/node": "^5.15.0", - "@stylable/runtime": "^5.15.0" + "@stylable/core": "^5.15.1", + "@stylable/module-utils": "^5.15.1", + "@stylable/node": "^5.15.1", + "@stylable/runtime": "^5.15.1" } }, "@stylable/language-service": { @@ -7833,8 +7833,8 @@ "requires": { "@file-services/types": "^7.4.0", "@file-services/typescript": "^7.4.0", - "@stylable/code-formatter": "^5.15.0", - "@stylable/core": "^5.15.0", + "@stylable/code-formatter": "^5.15.1", + "@stylable/core": "^5.15.1", "@tokey/core": "^1.4.0", "@tokey/css-selector-parser": "^0.6.1", "@tokey/css-value-parser": "^0.1.3", @@ -7850,7 +7850,7 @@ "@stylable/module-utils": { "version": "file:packages/module-utils", "requires": { - "@stylable/core": "^5.15.0", + "@stylable/core": "^5.15.1", "@tokey/core": "^1.4.0", "vlq": "^2.0.4" } @@ -7858,16 +7858,16 @@ "@stylable/node": { "version": "file:packages/node", "requires": { - "@stylable/build-tools": "^5.15.0", - "@stylable/core": "^5.15.0", - "@stylable/module-utils": "^5.15.0", + "@stylable/build-tools": "^5.15.1", + "@stylable/core": "^5.15.1", + "@stylable/module-utils": "^5.15.1", "find-config": "^1.0.0" } }, "@stylable/optimizer": { "version": "file:packages/optimizer", "requires": { - "@stylable/core": "^5.15.0", + "@stylable/core": "^5.15.1", "@tokey/css-selector-parser": "^0.6.1", "csso": "^5.0.5", "postcss": "^8.4.26" @@ -7876,12 +7876,12 @@ "@stylable/rollup-plugin": { "version": "file:packages/rollup-plugin", "requires": { - "@stylable/build-tools": "^5.15.0", - "@stylable/cli": "^5.15.0", - "@stylable/core": "^5.15.0", - "@stylable/node": "^5.15.0", - "@stylable/optimizer": "^5.15.0", - "@stylable/runtime": "^5.15.0", + "@stylable/build-tools": "^5.15.1", + "@stylable/cli": "^5.15.1", + "@stylable/core": "^5.15.1", + "@stylable/node": "^5.15.1", + "@stylable/optimizer": "^5.15.1", + "@stylable/runtime": "^5.15.1", "decache": "^4.6.2", "mime": "^3.0.0" }, @@ -7897,7 +7897,7 @@ "@stylable/schema-extract": { "version": "file:packages/schema-extract", "requires": { - "@stylable/core": "^5.15.0", + "@stylable/core": "^5.15.1", "jest-docblock": "^29.4.3" } }, @@ -7907,9 +7907,9 @@ "@stylable/webpack-extensions": { "version": "file:packages/webpack-extensions", "requires": { - "@stylable/core": "^5.15.0", - "@stylable/node": "^5.15.0", - "@stylable/webpack-plugin": "^5.15.0", + "@stylable/core": "^5.15.1", + "@stylable/node": "^5.15.1", + "@stylable/webpack-plugin": "^5.15.1", "@tokey/css-selector-parser": "^0.6.1", "find-config": "^1.0.0", "lodash.clonedeep": "^4.5.0" @@ -7918,13 +7918,13 @@ "@stylable/webpack-plugin": { "version": "file:packages/webpack-plugin", "requires": { - "@stylable/build-tools": "^5.15.0", - "@stylable/cli": "^5.15.0", - "@stylable/core": "^5.15.0", - "@stylable/module-utils": "^5.15.0", - "@stylable/node": "^5.15.0", - "@stylable/optimizer": "^5.15.0", - "@stylable/runtime": "^5.15.0", + "@stylable/build-tools": "^5.15.1", + "@stylable/cli": "^5.15.1", + "@stylable/core": "^5.15.1", + "@stylable/module-utils": "^5.15.1", + "@stylable/node": "^5.15.1", + "@stylable/optimizer": "^5.15.1", + "@stylable/runtime": "^5.15.1", "decache": "^4.6.2", "lodash.clonedeep": "^4.5.0", "postcss": "^8.4.26" @@ -9454,7 +9454,7 @@ "eslint-plugin-stylable": { "version": "file:packages/eslint-plugin-stylable", "requires": { - "@stylable/core": "^5.15.0", + "@stylable/core": "^5.15.1", "@typescript-eslint/utils": "^5.61.0" } }, diff --git a/packages/build-tools/package.json b/packages/build-tools/package.json index 93f8e3f0f..71bbd7146 100644 --- a/packages/build-tools/package.json +++ b/packages/build-tools/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/build-tools", - "version": "5.15.0", + "version": "5.15.1", "description": "Collection of helper functions for Stylable based tooling.", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 20000" }, "dependencies": { - "@stylable/core": "^5.15.0", + "@stylable/core": "^5.15.1", "find-config": "^1.0.0" }, "files": [ diff --git a/packages/cli/package.json b/packages/cli/package.json index 42908a3d1..a2077eb36 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/cli", - "version": "5.15.0", + "version": "5.15.1", "description": "A low-level utility used for working with Stylable projects", "main": "dist/index.js", "bin": { @@ -14,12 +14,12 @@ "dependencies": { "@file-services/node": "^7.4.0", "@file-services/types": "^7.4.0", - "@stylable/build-tools": "^5.15.0", - "@stylable/code-formatter": "^5.15.0", - "@stylable/core": "^5.15.0", - "@stylable/module-utils": "^5.15.0", - "@stylable/node": "^5.15.0", - "@stylable/optimizer": "^5.15.0", + "@stylable/build-tools": "^5.15.1", + "@stylable/code-formatter": "^5.15.1", + "@stylable/core": "^5.15.1", + "@stylable/module-utils": "^5.15.1", + "@stylable/node": "^5.15.1", + "@stylable/optimizer": "^5.15.1", "@wixc3/resolve-directory-context": "^3.0.5", "decache": "^4.6.2", "lodash.camelcase": "^4.3.0", diff --git a/packages/code-formatter/package.json b/packages/code-formatter/package.json index da1a6ffc1..1eaceb671 100644 --- a/packages/code-formatter/package.json +++ b/packages/code-formatter/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/code-formatter", - "version": "5.15.0", + "version": "5.15.1", "description": "A code formatting utility for Stylable stylesheets", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.15.0", + "@stylable/core": "^5.15.1", "@tokey/css-value-parser": "^0.1.3", "js-beautify": "^1.14.8", "postcss": "^8.4.26" diff --git a/packages/core-test-kit/package.json b/packages/core-test-kit/package.json index 8c841f9e5..87b047300 100644 --- a/packages/core-test-kit/package.json +++ b/packages/core-test-kit/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/core-test-kit", - "version": "5.15.0", + "version": "5.15.1", "description": "Stylable core test-kit", "main": "dist/index.js", "scripts": { @@ -8,7 +8,7 @@ }, "dependencies": { "@file-services/memory": "^7.4.0", - "@stylable/core": "^5.15.0", + "@stylable/core": "^5.15.1", "chai": "^4.3.7", "flat": "^5.0.2", "postcss": "^8.4.26" diff --git a/packages/core/package.json b/packages/core/package.json index 68df3d1c4..7fad19eca 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/core", - "version": "5.15.0", + "version": "5.15.1", "description": "CSS for Components", "main": "dist/index.js", "scripts": { diff --git a/packages/create-stylable-app/package.json b/packages/create-stylable-app/package.json index ccf822803..fc100efe5 100644 --- a/packages/create-stylable-app/package.json +++ b/packages/create-stylable-app/package.json @@ -1,6 +1,6 @@ { "name": "create-stylable-app", - "version": "5.15.0", + "version": "5.15.1", "description": "Quickly create a Stylable application", "main": "dist/index.js", "bin": { diff --git a/packages/custom-value/package.json b/packages/custom-value/package.json index 779ce0a1b..0799977ac 100644 --- a/packages/custom-value/package.json +++ b/packages/custom-value/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/custom-value", - "version": "5.15.0", + "version": "5.15.1", "description": "Custom values (variables) for Stylable", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 20000" }, "dependencies": { - "@stylable/core": "^5.15.0" + "@stylable/core": "^5.15.1" }, "files": [ "dist", diff --git a/packages/dom-test-kit/package.json b/packages/dom-test-kit/package.json index 6522627c7..a80838079 100644 --- a/packages/dom-test-kit/package.json +++ b/packages/dom-test-kit/package.json @@ -1,14 +1,14 @@ { "name": "@stylable/dom-test-kit", - "version": "5.15.0", + "version": "5.15.1", "description": "Stylable DOM testing utilities", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.15.0", - "@stylable/runtime": "^5.15.0", + "@stylable/core": "^5.15.1", + "@stylable/runtime": "^5.15.1", "@tokey/css-selector-parser": "^0.6.1" }, "files": [ diff --git a/packages/e2e-test-kit/package.json b/packages/e2e-test-kit/package.json index 33e726984..3023503b4 100644 --- a/packages/e2e-test-kit/package.json +++ b/packages/e2e-test-kit/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/e2e-test-kit", - "version": "5.15.0", + "version": "5.15.1", "description": "A collection of tools to help test Stylable components and applications from end-to-end", "main": "dist/index.js", "peerDependencies": { "webpack": "^5.30.0" }, "dependencies": { - "@stylable/runtime": "^5.15.0", + "@stylable/runtime": "^5.15.1", "node-eval": "^2.0.0", "playwright-core": "^1.36.1", "rimraf": "^5.0.1" diff --git a/packages/esbuild/package.json b/packages/esbuild/package.json index a89dd7e8f..33b7e36e1 100644 --- a/packages/esbuild/package.json +++ b/packages/esbuild/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/esbuild", - "version": "5.15.0", + "version": "5.15.1", "description": "Stylable plugin for esbuild", "main": "dist/index.js", "scripts": { @@ -10,12 +10,12 @@ "esbuild": ">=0.17.18" }, "dependencies": { - "@stylable/build-tools": "^5.15.0", - "@stylable/cli": "^5.15.0", - "@stylable/core": "^5.15.0", - "@stylable/node": "^5.15.0", - "@stylable/optimizer": "^5.15.0", - "@stylable/runtime": "^5.15.0", + "@stylable/build-tools": "^5.15.1", + "@stylable/cli": "^5.15.1", + "@stylable/core": "^5.15.1", + "@stylable/node": "^5.15.1", + "@stylable/optimizer": "^5.15.1", + "@stylable/runtime": "^5.15.1", "decache": "^4.6.2" }, "files": [ diff --git a/packages/eslint-plugin-stylable/package.json b/packages/eslint-plugin-stylable/package.json index e05bcd653..ba80ebdef 100644 --- a/packages/eslint-plugin-stylable/package.json +++ b/packages/eslint-plugin-stylable/package.json @@ -1,13 +1,13 @@ { "name": "eslint-plugin-stylable", - "version": "5.15.0", + "version": "5.15.1", "description": "eslint plugin for Stylable usages", "main": "dist/index.js", "scripts": { "test": "mocha \"dist/test/**/*.spec.js\" --timeout 5000" }, "dependencies": { - "@stylable/core": "^5.15.0", + "@stylable/core": "^5.15.1", "@typescript-eslint/utils": "^5.61.0" }, "keywords": [ diff --git a/packages/experimental-loader/package.json b/packages/experimental-loader/package.json index 49e3d85d3..3f0e8f29f 100644 --- a/packages/experimental-loader/package.json +++ b/packages/experimental-loader/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/experimental-loader", - "version": "5.15.0", + "version": "5.15.1", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 20000" }, "dependencies": { - "@stylable/core": "^5.15.0", - "@stylable/runtime": "^5.15.0", + "@stylable/core": "^5.15.1", + "@stylable/runtime": "^5.15.1", "css-loader": "^6.8.1", "decache": "^4.6.2", "loader-utils": "^3.2.1" diff --git a/packages/jest/package.json b/packages/jest/package.json index 0272d79a1..3f1bae71f 100644 --- a/packages/jest/package.json +++ b/packages/jest/package.json @@ -1,16 +1,16 @@ { "name": "@stylable/jest", - "version": "5.15.0", + "version": "5.15.1", "description": "Test your Stylable React components using Jest", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.15.0", - "@stylable/module-utils": "^5.15.0", - "@stylable/node": "^5.15.0", - "@stylable/runtime": "^5.15.0" + "@stylable/core": "^5.15.1", + "@stylable/module-utils": "^5.15.1", + "@stylable/node": "^5.15.1", + "@stylable/runtime": "^5.15.1" }, "files": [ "dist", diff --git a/packages/language-service/package.json b/packages/language-service/package.json index 2b9a13f9d..56ac7788e 100644 --- a/packages/language-service/package.json +++ b/packages/language-service/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/language-service", - "version": "5.15.0", + "version": "5.15.1", "description": "Stylable Language Services - syntax highlighting, completions, hinting and more for the Stylable CSS preprocessor.", "main": "dist/index.js", "scripts": { @@ -13,8 +13,8 @@ "dependencies": { "@file-services/types": "^7.4.0", "@file-services/typescript": "^7.4.0", - "@stylable/code-formatter": "^5.15.0", - "@stylable/core": "^5.15.0", + "@stylable/code-formatter": "^5.15.1", + "@stylable/core": "^5.15.1", "@tokey/core": "^1.4.0", "@tokey/css-selector-parser": "^0.6.1", "@tokey/css-value-parser": "^0.1.3", diff --git a/packages/module-utils/package.json b/packages/module-utils/package.json index f9ccbfa8d..5fc2d6b62 100644 --- a/packages/module-utils/package.json +++ b/packages/module-utils/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/module-utils", - "version": "5.15.0", + "version": "5.15.1", "description": "Stylable module creation utilities", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.15.0", + "@stylable/core": "^5.15.1", "@tokey/core": "^1.4.0", "vlq": "^2.0.4" }, diff --git a/packages/node/package.json b/packages/node/package.json index 18d525685..84517dbed 100644 --- a/packages/node/package.json +++ b/packages/node/package.json @@ -1,15 +1,15 @@ { "name": "@stylable/node", - "version": "5.15.0", + "version": "5.15.1", "description": "Integrate Stylable into your node application", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 10000" }, "dependencies": { - "@stylable/build-tools": "^5.15.0", - "@stylable/core": "^5.15.0", - "@stylable/module-utils": "^5.15.0", + "@stylable/build-tools": "^5.15.1", + "@stylable/core": "^5.15.1", + "@stylable/module-utils": "^5.15.1", "find-config": "^1.0.0" }, "files": [ diff --git a/packages/optimizer/package.json b/packages/optimizer/package.json index 09e621c64..659f7d00d 100644 --- a/packages/optimizer/package.json +++ b/packages/optimizer/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/optimizer", - "version": "5.15.0", + "version": "5.15.1", "description": "Stylable core optimizer", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.15.0", + "@stylable/core": "^5.15.1", "@tokey/css-selector-parser": "^0.6.1", "csso": "^5.0.5", "postcss": "^8.4.26" diff --git a/packages/rollup-plugin/package.json b/packages/rollup-plugin/package.json index e1110080e..1e5aaf040 100644 --- a/packages/rollup-plugin/package.json +++ b/packages/rollup-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/rollup-plugin", - "version": "5.15.0", + "version": "5.15.1", "description": "Stylable plugin for Rollup", "main": "dist/index.js", "scripts": { @@ -10,12 +10,12 @@ "rollup": "^2.70.0 || ^3.0.0" }, "dependencies": { - "@stylable/build-tools": "^5.15.0", - "@stylable/cli": "^5.15.0", - "@stylable/core": "^5.15.0", - "@stylable/node": "^5.15.0", - "@stylable/optimizer": "^5.15.0", - "@stylable/runtime": "^5.15.0", + "@stylable/build-tools": "^5.15.1", + "@stylable/cli": "^5.15.1", + "@stylable/core": "^5.15.1", + "@stylable/node": "^5.15.1", + "@stylable/optimizer": "^5.15.1", + "@stylable/runtime": "^5.15.1", "decache": "^4.6.2", "mime": "^3.0.0" }, diff --git a/packages/runtime/package.json b/packages/runtime/package.json index fb0425d8b..7cebd65bf 100644 --- a/packages/runtime/package.json +++ b/packages/runtime/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/runtime", - "version": "5.15.0", + "version": "5.15.1", "description": "Stylable runtime DOM integration", "main": "dist/index.js", "scripts": { diff --git a/packages/schema-extract/package.json b/packages/schema-extract/package.json index 42fd0c99b..0a9b8d2b5 100644 --- a/packages/schema-extract/package.json +++ b/packages/schema-extract/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/schema-extract", - "version": "5.15.0", + "version": "5.15.1", "description": "A utility for extracting JSON schema objects from a Stylable stylesheet", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.15.0", + "@stylable/core": "^5.15.1", "jest-docblock": "^29.4.3" }, "files": [ diff --git a/packages/uni-driver/package.json b/packages/uni-driver/package.json index 6a97258a9..21233cd95 100644 --- a/packages/uni-driver/package.json +++ b/packages/uni-driver/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/uni-driver", - "version": "5.15.0", + "version": "5.15.1", "description": "Stylable UniDriver testing utilities", "main": "dist/index.js", "scripts": { diff --git a/packages/webpack-extensions/package.json b/packages/webpack-extensions/package.json index 5bfb13b04..aae6972da 100644 --- a/packages/webpack-extensions/package.json +++ b/packages/webpack-extensions/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/webpack-extensions", - "version": "5.15.0", + "version": "5.15.1", "description": "Experimental Stylable webpack plugins", "main": "dist/index.js", "scripts": { @@ -10,9 +10,9 @@ "webpack": "^5.30.0" }, "dependencies": { - "@stylable/core": "^5.15.0", - "@stylable/node": "^5.15.0", - "@stylable/webpack-plugin": "^5.15.0", + "@stylable/core": "^5.15.1", + "@stylable/node": "^5.15.1", + "@stylable/webpack-plugin": "^5.15.1", "@tokey/css-selector-parser": "^0.6.1", "find-config": "^1.0.0", "lodash.clonedeep": "^4.5.0" diff --git a/packages/webpack-plugin/package.json b/packages/webpack-plugin/package.json index 8c6b23361..e589195a8 100644 --- a/packages/webpack-plugin/package.json +++ b/packages/webpack-plugin/package.json @@ -1,7 +1,7 @@ { "name": "@stylable/webpack-plugin", "description": "Webpack (5.x) plugin for Stylable modules", - "version": "5.15.0", + "version": "5.15.1", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 20000" @@ -10,13 +10,13 @@ "webpack": "^5.30.0" }, "dependencies": { - "@stylable/build-tools": "^5.15.0", - "@stylable/cli": "^5.15.0", - "@stylable/core": "^5.15.0", - "@stylable/module-utils": "^5.15.0", - "@stylable/node": "^5.15.0", - "@stylable/optimizer": "^5.15.0", - "@stylable/runtime": "^5.15.0", + "@stylable/build-tools": "^5.15.1", + "@stylable/cli": "^5.15.1", + "@stylable/core": "^5.15.1", + "@stylable/module-utils": "^5.15.1", + "@stylable/node": "^5.15.1", + "@stylable/optimizer": "^5.15.1", + "@stylable/runtime": "^5.15.1", "decache": "^4.6.2", "lodash.clonedeep": "^4.5.0", "postcss": "^8.4.26" From 1e9fdf5a6d0690dd79bb99d6a220804f2de858ef Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Wed, 26 Jul 2023 04:26:01 +0300 Subject: [PATCH 53/81] chore(deps): upgrade to latest stable --- package-lock.json | 926 +++++++++++-------------- package.json | 10 +- packages/code-formatter/package.json | 4 +- packages/core-test-kit/package.json | 2 +- packages/core/package.json | 2 +- packages/e2e-test-kit/package.json | 2 +- packages/language-service/package.json | 2 +- packages/optimizer/package.json | 2 +- packages/webpack-plugin/package.json | 2 +- 9 files changed, 428 insertions(+), 524 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2f59abf86..efd2b8115 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ "@file-services/node": "^7.4.0", "@rollup/plugin-html": "^1.0.2", "@rollup/plugin-node-resolve": "^15.1.0", - "@types/balanced-match": "^1.0.2", + "@types/balanced-match": "^1.0.3", "@types/chai": "^4.3.5", "@types/chai-subset": "^1.3.3", "@types/css-selector-tokenizer": "^0.7.1", @@ -34,7 +34,7 @@ "@types/mocha": "^10.0.1", "@types/node": "14", "@types/postcss-safe-parser": "^5.0.1", - "@types/react": "^18.2.15", + "@types/react": "^18.2.16", "@types/react-dom": "^18.2.7", "@types/semver": "^7.5.0", "@types/validate-npm-package-name": "^4.0.0", @@ -42,7 +42,7 @@ "@typescript-eslint/eslint-plugin": "^5.61.0", "@typescript-eslint/parser": "^5.61.0", "autoprefixer": "^10.4.14", - "c8": "^8.0.0", + "c8": "^8.0.1", "chai": "^4.3.7", "chai-subset": "^1.6.0", "create-listening-server": "^2.1.0", @@ -54,8 +54,8 @@ "mocha": "^10.2.0", "node-eval": "^2.0.0", "npm-run-all": "^4.1.5", - "playwright-chromium": "^1.36.1", - "postcss": "^8.4.26", + "playwright-chromium": "^1.36.2", + "postcss": "^8.4.27", "promise-assist": "^2.0.1", "raw-loader": "^4.0.2", "react": "^18.2.0", @@ -91,9 +91,9 @@ "dev": true }, "node_modules/@esbuild/android-arm": { - "version": "0.18.14", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.14.tgz", - "integrity": "sha512-blODaaL+lngG5bdK/t4qZcQvq2BBqrABmYwqPPcS5VRxrCSGHb9R/rA3fqxh7R18I7WU4KKv+NYkt22FDfalcg==", + "version": "0.18.16", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.16.tgz", + "integrity": "sha512-gCHjjQmA8L0soklKbLKA6pgsLk1byULuHe94lkZDzcO3/Ta+bbeewJioEn1Fr7kgy9NWNFy/C+MrBwC6I/WCug==", "cpu": [ "arm" ], @@ -107,9 +107,9 @@ } }, "node_modules/@esbuild/android-arm64": { - "version": "0.18.14", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.18.14.tgz", - "integrity": "sha512-rZ2v+Luba5/3D6l8kofWgTnqE+qsC/L5MleKIKFyllHTKHrNBMqeRCnZI1BtRx8B24xMYxeU32iIddRQqMsOsg==", + "version": "0.18.16", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.18.16.tgz", + "integrity": "sha512-wsCqSPqLz+6Ov+OM4EthU43DyYVVyfn15S4j1bJzylDpc1r1jZFFfJQNfDuT8SlgwuqpmpJXK4uPlHGw6ve7eA==", "cpu": [ "arm64" ], @@ -123,9 +123,9 @@ } }, "node_modules/@esbuild/android-x64": { - "version": "0.18.14", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.18.14.tgz", - "integrity": "sha512-qSwh8y38QKl+1Iqg+YhvCVYlSk3dVLk9N88VO71U4FUjtiSFylMWK3Ugr8GC6eTkkP4Tc83dVppt2n8vIdlSGg==", + "version": "0.18.16", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.18.16.tgz", + "integrity": "sha512-ldsTXolyA3eTQ1//4DS+E15xl0H/3DTRJaRL0/0PgkqDsI0fV/FlOtD+h0u/AUJr+eOTlZv4aC9gvfppo3C4sw==", "cpu": [ "x64" ], @@ -139,9 +139,9 @@ } }, "node_modules/@esbuild/darwin-arm64": { - "version": "0.18.14", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.18.14.tgz", - "integrity": "sha512-9Hl2D2PBeDYZiNbnRKRWuxwHa9v5ssWBBjisXFkVcSP5cZqzZRFBUWEQuqBHO4+PKx4q4wgHoWtfQ1S7rUqJ2Q==", + "version": "0.18.16", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.18.16.tgz", + "integrity": "sha512-aBxruWCII+OtluORR/KvisEw0ALuw/qDQWvkoosA+c/ngC/Kwk0lLaZ+B++LLS481/VdydB2u6tYpWxUfnLAIw==", "cpu": [ "arm64" ], @@ -155,9 +155,9 @@ } }, "node_modules/@esbuild/darwin-x64": { - "version": "0.18.14", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.18.14.tgz", - "integrity": "sha512-ZnI3Dg4ElQ6tlv82qLc/UNHtFsgZSKZ7KjsUNAo1BF1SoYDjkGKHJyCrYyWjFecmXpvvG/KJ9A/oe0H12odPLQ==", + "version": "0.18.16", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.18.16.tgz", + "integrity": "sha512-6w4Dbue280+rp3LnkgmriS1icOUZDyPuZo/9VsuMUTns7SYEiOaJ7Ca1cbhu9KVObAWfmdjUl4gwy9TIgiO5eA==", "cpu": [ "x64" ], @@ -171,9 +171,9 @@ } }, "node_modules/@esbuild/freebsd-arm64": { - "version": "0.18.14", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.14.tgz", - "integrity": "sha512-h3OqR80Da4oQCIa37zl8tU5MwHQ7qgPV0oVScPfKJK21fSRZEhLE4IIVpmcOxfAVmqjU6NDxcxhYaM8aDIGRLw==", + "version": "0.18.16", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.16.tgz", + "integrity": "sha512-x35fCebhe9s979DGKbVAwXUOcTmCIE32AIqB9CB1GralMIvxdnMLAw5CnID17ipEw9/3MvDsusj/cspYt2ZLNQ==", "cpu": [ "arm64" ], @@ -187,9 +187,9 @@ } }, "node_modules/@esbuild/freebsd-x64": { - "version": "0.18.14", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.18.14.tgz", - "integrity": "sha512-ha4BX+S6CZG4BoH9tOZTrFIYC1DH13UTCRHzFc3GWX74nz3h/N6MPF3tuR3XlsNjMFUazGgm35MPW5tHkn2lzQ==", + "version": "0.18.16", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.18.16.tgz", + "integrity": "sha512-YM98f+PeNXF3GbxIJlUsj+McUWG1irguBHkszCIwfr3BXtXZsXo0vqybjUDFfu9a8Wr7uUD/YSmHib+EeGAFlg==", "cpu": [ "x64" ], @@ -203,9 +203,9 @@ } }, "node_modules/@esbuild/linux-arm": { - "version": "0.18.14", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.18.14.tgz", - "integrity": "sha512-5+7vehI1iqru5WRtJyU2XvTOvTGURw3OZxe3YTdE9muNNIdmKAVmSHpB3Vw2LazJk2ifEdIMt/wTWnVe5V98Kg==", + "version": "0.18.16", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.18.16.tgz", + "integrity": "sha512-b5ABb+5Ha2C9JkeZXV+b+OruR1tJ33ePmv9ZwMeETSEKlmu/WJ45XTTG+l6a2KDsQtJJ66qo/hbSGBtk0XVLHw==", "cpu": [ "arm" ], @@ -219,9 +219,9 @@ } }, "node_modules/@esbuild/linux-arm64": { - "version": "0.18.14", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.18.14.tgz", - "integrity": "sha512-IXORRe22In7U65NZCzjwAUc03nn8SDIzWCnfzJ6t/8AvGx5zBkcLfknI+0P+hhuftufJBmIXxdSTbzWc8X/V4w==", + "version": "0.18.16", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.18.16.tgz", + "integrity": "sha512-XIqhNUxJiuy+zsR77+H5Z2f7s4YRlriSJKtvx99nJuG5ATuJPjmZ9n0ANgnGlPCpXGSReFpgcJ7O3SMtzIFeiQ==", "cpu": [ "arm64" ], @@ -235,9 +235,9 @@ } }, "node_modules/@esbuild/linux-ia32": { - "version": "0.18.14", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.18.14.tgz", - "integrity": "sha512-BfHlMa0nibwpjG+VXbOoqJDmFde4UK2gnW351SQ2Zd4t1N3zNdmUEqRkw/srC1Sa1DRBE88Dbwg4JgWCbNz/FQ==", + "version": "0.18.16", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.18.16.tgz", + "integrity": "sha512-no+pfEpwnRvIyH+txbBAWtjxPU9grslmTBfsmDndj7bnBmr55rOo/PfQmRfz7Qg9isswt1FP5hBbWb23fRWnow==", "cpu": [ "ia32" ], @@ -251,9 +251,9 @@ } }, "node_modules/@esbuild/linux-loong64": { - "version": "0.18.14", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.18.14.tgz", - "integrity": "sha512-j2/Ex++DRUWIAaUDprXd3JevzGtZ4/d7VKz+AYDoHZ3HjJzCyYBub9CU1wwIXN+viOP0b4VR3RhGClsvyt/xSw==", + "version": "0.18.16", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.18.16.tgz", + "integrity": "sha512-Zbnczs9ZXjmo0oZSS0zbNlJbcwKXa/fcNhYQjahDs4Xg18UumpXG/lwM2lcSvHS3mTrRyCYZvJbmzYc4laRI1g==", "cpu": [ "loong64" ], @@ -267,9 +267,9 @@ } }, "node_modules/@esbuild/linux-mips64el": { - "version": "0.18.14", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.18.14.tgz", - "integrity": "sha512-qn2+nc+ZCrJmiicoAnJXJJkZWt8Nwswgu1crY7N+PBR8ChBHh89XRxj38UU6Dkthl2yCVO9jWuafZ24muzDC/A==", + "version": "0.18.16", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.18.16.tgz", + "integrity": "sha512-YMF7hih1HVR/hQVa/ot4UVffc5ZlrzEb3k2ip0nZr1w6fnYypll9td2qcoMLvd3o8j3y6EbJM3MyIcXIVzXvQQ==", "cpu": [ "mips64el" ], @@ -283,9 +283,9 @@ } }, "node_modules/@esbuild/linux-ppc64": { - "version": "0.18.14", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.18.14.tgz", - "integrity": "sha512-aGzXzd+djqeEC5IRkDKt3kWzvXoXC6K6GyYKxd+wsFJ2VQYnOWE954qV2tvy5/aaNrmgPTb52cSCHFE+Z7Z0yg==", + "version": "0.18.16", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.18.16.tgz", + "integrity": "sha512-Wkz++LZ29lDwUyTSEnzDaaP5OveOgTU69q9IyIw9WqLRxM4BjTBjz9un4G6TOvehWpf/J3gYVFN96TjGHrbcNQ==", "cpu": [ "ppc64" ], @@ -299,9 +299,9 @@ } }, "node_modules/@esbuild/linux-riscv64": { - "version": "0.18.14", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.18.14.tgz", - "integrity": "sha512-8C6vWbfr0ygbAiMFLS6OPz0BHvApkT2gCboOGV76YrYw+sD/MQJzyITNsjZWDXJwPu9tjrFQOVG7zijRzBCnLw==", + "version": "0.18.16", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.18.16.tgz", + "integrity": "sha512-LFMKZ30tk78/mUv1ygvIP+568bwf4oN6reG/uczXnz6SvFn4e2QUFpUpZY9iSJT6Qpgstrhef/nMykIXZtZWGQ==", "cpu": [ "riscv64" ], @@ -315,9 +315,9 @@ } }, "node_modules/@esbuild/linux-s390x": { - "version": "0.18.14", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.18.14.tgz", - "integrity": "sha512-G/Lf9iu8sRMM60OVGOh94ZW2nIStksEcITkXdkD09/T6QFD/o+g0+9WVyR/jajIb3A0LvBJ670tBnGe1GgXMgw==", + "version": "0.18.16", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.18.16.tgz", + "integrity": "sha512-3ZC0BgyYHYKfZo3AV2/66TD/I9tlSBaW7eWTEIkrQQKfJIifKMMttXl9FrAg+UT0SGYsCRLI35Gwdmm96vlOjg==", "cpu": [ "s390x" ], @@ -331,9 +331,9 @@ } }, "node_modules/@esbuild/linux-x64": { - "version": "0.18.14", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.18.14.tgz", - "integrity": "sha512-TBgStYBQaa3EGhgqIDM+ECnkreb0wkcKqL7H6m+XPcGUoU4dO7dqewfbm0mWEQYH3kzFHrzjOFNpSAVzDZRSJw==", + "version": "0.18.16", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.18.16.tgz", + "integrity": "sha512-xu86B3647DihHJHv/wx3NCz2Dg1gjQ8bbf9cVYZzWKY+gsvxYmn/lnVlqDRazObc3UMwoHpUhNYaZset4X8IPA==", "cpu": [ "x64" ], @@ -347,9 +347,9 @@ } }, "node_modules/@esbuild/netbsd-x64": { - "version": "0.18.14", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.18.14.tgz", - "integrity": "sha512-stvCcjyCQR2lMTroqNhAbvROqRjxPEq0oQ380YdXxA81TaRJEucH/PzJ/qsEtsHgXlWFW6Ryr/X15vxQiyRXVg==", + "version": "0.18.16", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.18.16.tgz", + "integrity": "sha512-uVAgpimx9Ffw3xowtg/7qQPwHFx94yCje+DoBx+LNm2ePDpQXHrzE+Sb0Si2VBObYz+LcRps15cq+95YM7gkUw==", "cpu": [ "x64" ], @@ -363,9 +363,9 @@ } }, "node_modules/@esbuild/openbsd-x64": { - "version": "0.18.14", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.18.14.tgz", - "integrity": "sha512-apAOJF14CIsN5ht1PA57PboEMsNV70j3FUdxLmA2liZ20gEQnfTG5QU0FhENo5nwbTqCB2O3WDsXAihfODjHYw==", + "version": "0.18.16", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.18.16.tgz", + "integrity": "sha512-6OjCQM9wf7z8/MBi6BOWaTL2AS/SZudsZtBziXMtNI8r/U41AxS9x7jn0ATOwVy08OotwkPqGRMkpPR2wcTJXA==", "cpu": [ "x64" ], @@ -379,9 +379,9 @@ } }, "node_modules/@esbuild/sunos-x64": { - "version": "0.18.14", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.18.14.tgz", - "integrity": "sha512-fYRaaS8mDgZcGybPn2MQbn1ZNZx+UXFSUoS5Hd2oEnlsyUcr/l3c6RnXf1bLDRKKdLRSabTmyCy7VLQ7VhGdOQ==", + "version": "0.18.16", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.18.16.tgz", + "integrity": "sha512-ZoNkruFYJp9d1LbUYCh8awgQDvB9uOMZqlQ+gGEZR7v6C+N6u7vPr86c+Chih8niBR81Q/bHOSKGBK3brJyvkQ==", "cpu": [ "x64" ], @@ -395,9 +395,9 @@ } }, "node_modules/@esbuild/win32-arm64": { - "version": "0.18.14", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.18.14.tgz", - "integrity": "sha512-1c44RcxKEJPrVj62XdmYhxXaU/V7auELCmnD+Ri+UCt+AGxTvzxl9uauQhrFso8gj6ZV1DaORV0sT9XSHOAk8Q==", + "version": "0.18.16", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.18.16.tgz", + "integrity": "sha512-+j4anzQ9hrs+iqO+/wa8UE6TVkKua1pXUb0XWFOx0FiAj6R9INJ+WE//1/Xo6FG1vB5EpH3ko+XcgwiDXTxcdw==", "cpu": [ "arm64" ], @@ -411,9 +411,9 @@ } }, "node_modules/@esbuild/win32-ia32": { - "version": "0.18.14", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.18.14.tgz", - "integrity": "sha512-EXAFttrdAxZkFQmpvcAQ2bywlWUsONp/9c2lcfvPUhu8vXBBenCXpoq9YkUvVP639ld3YGiYx0YUQ6/VQz3Maw==", + "version": "0.18.16", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.18.16.tgz", + "integrity": "sha512-5PFPmq3sSKTp9cT9dzvI67WNfRZGvEVctcZa1KGjDDu4n3H8k59Inbk0du1fz0KrAbKKNpJbdFXQMDUz7BG4rQ==", "cpu": [ "ia32" ], @@ -427,9 +427,9 @@ } }, "node_modules/@esbuild/win32-x64": { - "version": "0.18.14", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.18.14.tgz", - "integrity": "sha512-K0QjGbcskx+gY+qp3v4/940qg8JitpXbdxFhRDA1aYoNaPff88+aEwoq45aqJ+ogpxQxmU0ZTjgnrQD/w8iiUg==", + "version": "0.18.16", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.18.16.tgz", + "integrity": "sha512-sCIVrrtcWN5Ua7jYXNG1xD199IalrbfV2+0k/2Zf2OyV2FtnQnMgdzgpRAbi4AWlKJj1jkX+M+fEGPQj6BQB4w==", "cpu": [ "x64" ], @@ -457,9 +457,9 @@ } }, "node_modules/@eslint-community/regexpp": { - "version": "4.5.1", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.5.1.tgz", - "integrity": "sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6FZTFKQ==", + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.6.2.tgz", + "integrity": "sha512-pPTNuaAG3QMH+buKyBIGJs3g/S5y0caxw0ygM3YyE6yJFySwiGGSzA+mM3KJ8QQvzeLh3blwgSonkFjgQdxzMw==", "engines": { "node": "^12.0.0 || ^14.0.0 || >=16.0.0" } @@ -765,6 +765,11 @@ "node": ">= 8" } }, + "node_modules/@one-ini/wasm": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/@one-ini/wasm/-/wasm-0.1.1.tgz", + "integrity": "sha512-XuySG1E38YScSJoMlqovLru4KTUNSjgVTIjyh7qMX6aNN5HY5Ct5LhRJdxO79JtTzKfzV/bnWpz+zquYrISsvw==" + }, "node_modules/@pkgjs/parseargs": { "version": "0.11.0", "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", @@ -952,9 +957,9 @@ } }, "node_modules/@types/balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@types/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-KgomuqUNYgN+Sibk22j7HB6vo8gziGz/k3Y8RkauF2duMZfMeIkyUKARef2eIIQuXGrkbIvcOfY5DNF/nQrDZQ==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@types/balanced-match/-/balanced-match-1.0.3.tgz", + "integrity": "sha512-nBZFt2r4snsIMicyNwgdga4wcoJtGRF39xX4Le3GjA2oSJcQlGAD8XrmlRddYcINFK8dypxJEUS6bVgKBQ7FyA==", "dev": true }, "node_modules/@types/chai": { @@ -1000,9 +1005,9 @@ } }, "node_modules/@types/eslint": { - "version": "8.44.0", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.44.0.tgz", - "integrity": "sha512-gsF+c/0XOguWgaOgvFs+xnnRqt9GwgTvIks36WpE6ueeI4KCEHHd8K/CKHqhOqrJKsYH8m27kRzQEvWXAwXUTw==", + "version": "8.44.1", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.44.1.tgz", + "integrity": "sha512-XpNDc4Z5Tb4x+SW1MriMVeIsMoONHCkWFMkR/aPJbzEsxqHy+4Glu/BqTdPrApfDeMaXbtNh6bseNgl5KaWrSg==", "dependencies": { "@types/estree": "*", "@types/json-schema": "*" @@ -1058,9 +1063,9 @@ "integrity": "sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA==" }, "node_modules/@types/lodash": { - "version": "4.14.195", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.195.tgz", - "integrity": "sha512-Hwx9EUgdwf2GLarOjQp5ZH8ZmblzcbTBC2wtQWNKARBSxM9ezRIAUpeDTgoQRAFB0+8CNWXVA9+MaSOzOF3nPg==", + "version": "4.14.196", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.196.tgz", + "integrity": "sha512-22y3o88f4a94mKljsZcanlNWPzO0uBsBdzLAngf2tp533LzZcQzb6+eZPJ+vCTt+bqF2XnvT9gejTLsAcJAJyQ==", "dev": true }, "node_modules/@types/lodash.camelcase": { @@ -1130,9 +1135,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "14.18.53", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.53.tgz", - "integrity": "sha512-soGmOpVBUq+gaBMwom1M+krC/NNbWlosh4AtGA03SyWNDiqSKtwp7OulO1M6+mg8YkHMvJ/y0AkCeO8d1hNb7A==" + "version": "14.18.54", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.54.tgz", + "integrity": "sha512-uq7O52wvo2Lggsx1x21tKZgqkJpvwCseBBPtX/nKQfpVlEsLOb11zZ1CRsWUKvJF0+lzuA9jwvA7Pr2Wt7i3xw==" }, "node_modules/@types/postcss-safe-parser": { "version": "5.0.1", @@ -1150,9 +1155,9 @@ "dev": true }, "node_modules/@types/react": { - "version": "18.2.15", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.15.tgz", - "integrity": "sha512-oEjE7TQt1fFTFSbf8kkNuc798ahTUzn3Le67/PWjE8MAfYAD/qB7O8hSTcromLFqHCt9bcdOg5GXMokzTjJ5SA==", + "version": "18.2.16", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.16.tgz", + "integrity": "sha512-LLFWr12ZhBJ4YVw7neWLe6Pk7Ey5R9OCydfuMsz1L8bZxzaawJj2p06Q8/EFEHDeTBQNFLF62X+CG7B2zIyu0Q==", "dev": true, "dependencies": { "@types/prop-types": "*", @@ -1936,9 +1941,9 @@ } }, "node_modules/c8": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/c8/-/c8-8.0.0.tgz", - "integrity": "sha512-XHA5vSfCLglAc0Xt8eLBZMv19lgiBSjnb1FLAQgnwkuhJYEonpilhEB4Ea3jPAbm0FhD6VVJrc0z73jPe7JyGQ==", + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/c8/-/c8-8.0.1.tgz", + "integrity": "sha512-EINpopxZNH1mETuI0DzRA4MZpAUH+IFiRhnmFD3vFr3vdrgxqi3VfE3KL0AIL+zDq8rC9bZqwM/VDmmoe04y7w==", "dev": true, "dependencies": { "@bcoe/v8-coverage": "^0.2.3", @@ -1946,13 +1951,13 @@ "find-up": "^5.0.0", "foreground-child": "^2.0.0", "istanbul-lib-coverage": "^3.2.0", - "istanbul-lib-report": "^3.0.0", - "istanbul-reports": "^3.1.4", + "istanbul-lib-report": "^3.0.1", + "istanbul-reports": "^3.1.6", "rimraf": "^3.0.2", "test-exclude": "^6.0.0", "v8-to-istanbul": "^9.0.0", - "yargs": "^16.2.0", - "yargs-parser": "^20.2.9" + "yargs": "^17.7.2", + "yargs-parser": "^21.1.1" }, "bin": { "c8": "bin/c8.js" @@ -1961,17 +1966,6 @@ "node": ">=12" } }, - "node_modules/c8/node_modules/cliui": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", - "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", - "dev": true, - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^7.0.0" - } - }, "node_modules/c8/node_modules/rimraf": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", @@ -1987,24 +1981,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/c8/node_modules/yargs": { - "version": "16.2.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", - "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", - "dev": true, - "dependencies": { - "cliui": "^7.0.2", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.0", - "y18n": "^5.0.5", - "yargs-parser": "^20.2.2" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/call-bind": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", @@ -2065,9 +2041,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001516", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001516.tgz", - "integrity": "sha512-Wmec9pCBY8CWbmI4HsjBeQLqDTqV91nFVR83DnZpYyRnPI1wePDsTg0bGLPC5VU/3OIZV1fmxEea1b+tFKe86g==", + "version": "1.0.30001517", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001517.tgz", + "integrity": "sha512-Vdhm5S11DaFVLlyiKu4hiUTkpZu+y1KA/rZZqVQfOD5YdDT/eQKlkt7NaE0WGOFgX32diqt9MiP9CAiFeRklaA==", "funding": [ { "type": "opencollective", @@ -2584,50 +2560,56 @@ "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==" }, "node_modules/editorconfig": { - "version": "0.15.3", - "resolved": "https://registry.npmjs.org/editorconfig/-/editorconfig-0.15.3.tgz", - "integrity": "sha512-M9wIMFx96vq0R4F+gRpY3o2exzb8hEj/n9S8unZtHSvYjibBp/iMufSzvmOcV/laG0ZtuTVGtiJggPOSW2r93g==", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/editorconfig/-/editorconfig-1.0.4.tgz", + "integrity": "sha512-L9Qe08KWTlqYMVvMcTIvMAdl1cDUubzRNYL+WfA4bLDMHe4nemKkpmYzkznE1FwLKu0EEmy6obgQKzMJrg4x9Q==", "dependencies": { - "commander": "^2.19.0", - "lru-cache": "^4.1.5", - "semver": "^5.6.0", - "sigmund": "^1.0.1" + "@one-ini/wasm": "0.1.1", + "commander": "^10.0.0", + "minimatch": "9.0.1", + "semver": "^7.5.3" }, "bin": { "editorconfig": "bin/editorconfig" + }, + "engines": { + "node": ">=14" } }, - "node_modules/editorconfig/node_modules/commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" - }, - "node_modules/editorconfig/node_modules/lru-cache": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz", - "integrity": "sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==", + "node_modules/editorconfig/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "dependencies": { - "pseudomap": "^1.0.2", - "yallist": "^2.1.2" + "balanced-match": "^1.0.0" } }, - "node_modules/editorconfig/node_modules/semver": { - "version": "5.7.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", - "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", - "bin": { - "semver": "bin/semver" + "node_modules/editorconfig/node_modules/commander": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-10.0.1.tgz", + "integrity": "sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==", + "engines": { + "node": ">=14" } }, - "node_modules/editorconfig/node_modules/yallist": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", - "integrity": "sha512-ncTzHV7NvsQZkYe1DW7cbDLm0YpzHmZF5r/iyP3ZnQtMiJ+pjzisCiMNI+Sj+xQF5pXhSHxSB3uDbsBTzY/c2A==" + "node_modules/editorconfig/node_modules/minimatch": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.1.tgz", + "integrity": "sha512-0jWhJpD/MdhPXwPuiRkCbfYfSKp2qnn2eOc279qI7f+osl/l+prKSrvhg157zSYvx/1nmgn2NqdT6k2Z7zSH9w==", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } }, "node_modules/electron-to-chromium": { - "version": "1.4.464", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.464.tgz", - "integrity": "sha512-guZ84yoou4+ILNdj0XEbmGs6DEWj6zpVOWYpY09GU66yEb0DSYvP/biBPzHn0GuW/3RC/pnaYNUWlQE1fJYtgA==" + "version": "1.4.471", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.471.tgz", + "integrity": "sha512-GpmGRC1vTl60w/k6YpQ18pSiqnmr0j3un//5TV1idPi6aheNfkT1Ye71tMEabWyNDO6sBMgAR+95Eb0eUUr1tA==" }, "node_modules/emoji-regex": { "version": "8.0.0", @@ -2763,9 +2745,9 @@ } }, "node_modules/esbuild": { - "version": "0.18.14", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.18.14.tgz", - "integrity": "sha512-uNPj5oHPYmj+ZhSQeYQVFZ+hAlJZbAGOmmILWIqrGvPVlNLbyOvU5Bu6Woi8G8nskcx0vwY0iFoMPrzT86Ko+w==", + "version": "0.18.16", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.18.16.tgz", + "integrity": "sha512-1xLsOXrDqwdHxyXb/x/SOyg59jpf/SH7YMvU5RNSU7z3TInaASNJWNFJ6iRvLvLETZMasF3d1DdZLg7sgRimRQ==", "hasInstallScript": true, "peer": true, "bin": { @@ -2775,28 +2757,28 @@ "node": ">=12" }, "optionalDependencies": { - "@esbuild/android-arm": "0.18.14", - "@esbuild/android-arm64": "0.18.14", - "@esbuild/android-x64": "0.18.14", - "@esbuild/darwin-arm64": "0.18.14", - "@esbuild/darwin-x64": "0.18.14", - "@esbuild/freebsd-arm64": "0.18.14", - "@esbuild/freebsd-x64": "0.18.14", - "@esbuild/linux-arm": "0.18.14", - "@esbuild/linux-arm64": "0.18.14", - "@esbuild/linux-ia32": "0.18.14", - "@esbuild/linux-loong64": "0.18.14", - "@esbuild/linux-mips64el": "0.18.14", - "@esbuild/linux-ppc64": "0.18.14", - "@esbuild/linux-riscv64": "0.18.14", - "@esbuild/linux-s390x": "0.18.14", - "@esbuild/linux-x64": "0.18.14", - "@esbuild/netbsd-x64": "0.18.14", - "@esbuild/openbsd-x64": "0.18.14", - "@esbuild/sunos-x64": "0.18.14", - "@esbuild/win32-arm64": "0.18.14", - "@esbuild/win32-ia32": "0.18.14", - "@esbuild/win32-x64": "0.18.14" + "@esbuild/android-arm": "0.18.16", + "@esbuild/android-arm64": "0.18.16", + "@esbuild/android-x64": "0.18.16", + "@esbuild/darwin-arm64": "0.18.16", + "@esbuild/darwin-x64": "0.18.16", + "@esbuild/freebsd-arm64": "0.18.16", + "@esbuild/freebsd-x64": "0.18.16", + "@esbuild/linux-arm": "0.18.16", + "@esbuild/linux-arm64": "0.18.16", + "@esbuild/linux-ia32": "0.18.16", + "@esbuild/linux-loong64": "0.18.16", + "@esbuild/linux-mips64el": "0.18.16", + "@esbuild/linux-ppc64": "0.18.16", + "@esbuild/linux-riscv64": "0.18.16", + "@esbuild/linux-s390x": "0.18.16", + "@esbuild/linux-x64": "0.18.16", + "@esbuild/netbsd-x64": "0.18.16", + "@esbuild/openbsd-x64": "0.18.16", + "@esbuild/sunos-x64": "0.18.16", + "@esbuild/win32-arm64": "0.18.16", + "@esbuild/win32-ia32": "0.18.16", + "@esbuild/win32-x64": "0.18.16" } }, "node_modules/escalade": { @@ -3023,9 +3005,9 @@ "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" }, "node_modules/fast-glob": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.0.tgz", - "integrity": "sha512-ChDuvbOypPuNjO8yIDf36x7BlZX1smcUMTTcyoIjycexOxd6DFsKsg21qVBzEmr3G7fUKIRy2/psii+CIUt7FA==", + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.1.tgz", + "integrity": "sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==", "dependencies": { "@nodelib/fs.stat": "^2.0.2", "@nodelib/fs.walk": "^1.2.3", @@ -3992,23 +3974,23 @@ } }, "node_modules/istanbul-lib-report": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", - "integrity": "sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz", + "integrity": "sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==", "dev": true, "dependencies": { "istanbul-lib-coverage": "^3.0.0", - "make-dir": "^3.0.0", + "make-dir": "^4.0.0", "supports-color": "^7.1.0" }, "engines": { - "node": ">=8" + "node": ">=10" } }, "node_modules/istanbul-reports": { - "version": "3.1.5", - "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.5.tgz", - "integrity": "sha512-nUsEMa9pBt/NOHqbcbeJEgqIlY/K7rVWUX6Lql2orY5e9roQOthbR3vtY4zzf2orPELg80fnxxk9zUyPlgwD1w==", + "version": "3.1.6", + "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.6.tgz", + "integrity": "sha512-TLgnMkKg3iTDsQ9PbPTdpfAK2DzjF9mqUG7RMgcQl8oFjad8ob4laGxv5XV5U9MAfx8D6tSJiUyuAwzLicaxlg==", "dev": true, "dependencies": { "html-escaper": "^2.0.0", @@ -4019,9 +4001,9 @@ } }, "node_modules/jackspeak": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.2.1.tgz", - "integrity": "sha512-MXbxovZ/Pm42f6cDIDkl3xpwv1AGwObKwfmjs2nQePiy85tP3fatofl3FC1aBsOtP/6fq5SbtgHwWcMsLP+bDw==", + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.2.2.tgz", + "integrity": "sha512-mgNtVv4vUuaKA97yxUHoA3+FkuhtxkjdXEWOyB/N76fjy0FjezEt34oy3epBtvCvS+7DyKwqCFWx/oJLV5+kCg==", "dependencies": { "@isaacs/cliui": "^8.0.2" }, @@ -4074,12 +4056,12 @@ } }, "node_modules/js-beautify": { - "version": "1.14.8", - "resolved": "https://registry.npmjs.org/js-beautify/-/js-beautify-1.14.8.tgz", - "integrity": "sha512-4S7HFeI9YfRvRgKnEweohs0tgJj28InHVIj4Nl8Htf96Y6pHg3+tJrmo4ucAM9f7l4SHbFI3IvFAZ2a1eQPbyg==", + "version": "1.14.9", + "resolved": "https://registry.npmjs.org/js-beautify/-/js-beautify-1.14.9.tgz", + "integrity": "sha512-coM7xq1syLcMyuVGyToxcj2AlzhkDjmfklL8r0JgJ7A76wyGMpJ1oA35mr4APdYNO/o/4YY8H54NQIJzhMbhBg==", "dependencies": { "config-chain": "^1.1.13", - "editorconfig": "^0.15.3", + "editorconfig": "^1.0.3", "glob": "^8.1.0", "nopt": "^6.0.0" }, @@ -4330,29 +4312,20 @@ } }, "node_modules/make-dir": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", - "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz", + "integrity": "sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==", "dev": true, "dependencies": { - "semver": "^6.0.0" + "semver": "^7.5.3" }, "engines": { - "node": ">=8" + "node": ">=10" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/make-dir/node_modules/semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", - "dev": true, - "bin": { - "semver": "bin/semver.js" - } - }, "node_modules/mdn-data": { "version": "2.0.28", "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.28.tgz", @@ -5171,13 +5144,13 @@ } }, "node_modules/playwright-chromium": { - "version": "1.36.1", - "resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.36.1.tgz", - "integrity": "sha512-V2jBtS5zNUyMajzh6SRiCzafsz/Mg35IroR+SwWhAa1Dqa4juGXDp26AdK7Nj/fAOvwnG+dFDVOVx/ewt9dSxQ==", + "version": "1.36.2", + "resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.36.2.tgz", + "integrity": "sha512-ONY6+ON1A+qYUBiymWn3MHnBjdPO6lYIi2SiQbUo1OA0cSZaxx9vM2mRYY3p7JLC6AhAbPEimZdXetQx48AHkA==", "dev": true, "hasInstallScript": true, "dependencies": { - "playwright-core": "1.36.1" + "playwright-core": "1.36.2" }, "bin": { "playwright": "cli.js" @@ -5187,9 +5160,9 @@ } }, "node_modules/playwright-core": { - "version": "1.36.1", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.36.1.tgz", - "integrity": "sha512-7+tmPuMcEW4xeCL9cp9KxmYpQYHKkyjwoXRnoeTowaeNat8PoBMk/HwCYhqkH2fRkshfKEOiVus/IhID2Pg8kg==", + "version": "1.36.2", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.36.2.tgz", + "integrity": "sha512-sQYZt31dwkqxOrP7xy2ggDfEzUxM1lodjhsQ3NMMv5uGTRDsLxU0e4xf4wwMkF2gplIxf17QMBCodSFgm6bFVQ==", "bin": { "playwright-core": "cli.js" }, @@ -5198,9 +5171,9 @@ } }, "node_modules/postcss": { - "version": "8.4.26", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.26.tgz", - "integrity": "sha512-jrXHFF8iTloAenySjM/ob3gSj7pCu0Ji49hnjqzsgSRa50hkWCKD0HQ+gMNJkW38jBI68MpAAg7ZWwHwX8NMMw==", + "version": "8.4.27", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.27.tgz", + "integrity": "sha512-gY/ACJtJPSmUFPDCHtX78+01fHa64FaU4zaaWfuh1MhGJISufJAH4cun6k/8fwsHYeK4UQmENQK+tRLCFJE8JQ==", "funding": [ { "type": "opencollective", @@ -5396,11 +5369,6 @@ "resolved": "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz", "integrity": "sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA==" }, - "node_modules/pseudomap": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", - "integrity": "sha512-b/YwNhb8lk1Zz2+bXXpS/LK9OisiZZ1SNsSLxN1x2OXVEhW2Ckr/7mWE5vrC1ZTiJlD9g19jWszTmJsB+oEpFQ==" - }, "node_modules/punycode": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", @@ -5880,11 +5848,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/sigmund": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/sigmund/-/sigmund-1.0.1.tgz", - "integrity": "sha512-fCvEXfh6NWpm+YSuY2bpXb/VIihqWA6hLsgboC+0nl71Q7N7o2eaCW8mJa/NLvQhs6jpd3VZV4UiUQlV6+lc8g==" - }, "node_modules/signal-exit": { "version": "3.0.7", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", @@ -6166,9 +6129,9 @@ } }, "node_modules/terser": { - "version": "5.19.1", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.19.1.tgz", - "integrity": "sha512-27hxBUVdV6GoNg1pKQ7Z5cbR6V9txPVyBA+FQw3BaZ1Wuzvztce5p156DaP0NVZNrMZZ+6iG9Syf7WgMNKDg2Q==", + "version": "5.19.2", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.19.2.tgz", + "integrity": "sha512-qC5+dmecKJA4cpYxRa5aVkKehYsQKc+AHeKl0Oe62aYjBL8ZA33tTljktDHJSaxxMnbI5ZYw+o/S2DxxLu8OfA==", "dependencies": { "@jridgewell/source-map": "^0.3.3", "acorn": "^8.8.2", @@ -6293,9 +6256,9 @@ } }, "node_modules/tslib": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.0.tgz", - "integrity": "sha512-7At1WUettjcSRHXCyYtTselblcHl9PJFFVKiCAy/bY97+BPZXSQ2wbq0P9s8tK2G7dFQfNnlJnPAiArVBVBsfA==", + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.1.tgz", + "integrity": "sha512-t0hLfiEKfMUoqhG+U1oid7Pva4bbDPHYfJNiB7BiIjRkj1pyC++4N3huJfqY6aRH6VTB0rvtzQwjM4K6qpfOig==", "dev": true }, "node_modules/tsutils": { @@ -6814,12 +6777,11 @@ } }, "node_modules/yargs-parser": { - "version": "20.2.9", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", - "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", - "dev": true, + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", "engines": { - "node": ">=10" + "node": ">=12" } }, "node_modules/yargs-unparser": { @@ -6837,14 +6799,6 @@ "node": ">=10" } }, - "node_modules/yargs/node_modules/yargs-parser": { - "version": "21.1.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", - "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", - "engines": { - "node": ">=12" - } - }, "node_modules/yocto-queue": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", @@ -6914,8 +6868,8 @@ "dependencies": { "@stylable/core": "^5.15.1", "@tokey/css-value-parser": "^0.1.3", - "js-beautify": "^1.14.8", - "postcss": "^8.4.26" + "js-beautify": "^1.14.9", + "postcss": "^8.4.27" }, "engines": { "node": ">=14.14.0" @@ -6936,7 +6890,7 @@ "is-vendor-prefixed": "^4.0.0", "lodash.clonedeep": "^4.5.0", "lodash.clonedeepwith": "^4.5.0", - "postcss": "^8.4.26", + "postcss": "^8.4.27", "postcss-js": "^4.0.1", "postcss-nested": "^6.0.1", "postcss-safe-parser": "^6.0.0", @@ -6955,7 +6909,7 @@ "@stylable/core": "^5.15.1", "chai": "^4.3.7", "flat": "^5.0.2", - "postcss": "^8.4.26" + "postcss": "^8.4.27" }, "engines": { "node": ">=14.14.0" @@ -7010,7 +6964,7 @@ "dependencies": { "@stylable/runtime": "^5.15.1", "node-eval": "^2.0.0", - "playwright-core": "^1.36.1", + "playwright-core": "^1.36.2", "rimraf": "^5.0.1" }, "engines": { @@ -7094,7 +7048,7 @@ "@tokey/css-selector-parser": "^0.6.1", "@tokey/css-value-parser": "^0.1.3", "css-selector-tokenizer": "^0.8.0", - "postcss": "^8.4.26", + "postcss": "^8.4.27", "postcss-value-parser": "^4.2.0", "vscode-css-languageservice": "^6.2.6", "vscode-languageserver": "^8.1.0", @@ -7143,7 +7097,7 @@ "@stylable/core": "^5.15.1", "@tokey/css-selector-parser": "^0.6.1", "csso": "^5.0.5", - "postcss": "^8.4.26" + "postcss": "^8.4.27" }, "engines": { "node": ">=14.14.0" @@ -7241,7 +7195,7 @@ "@stylable/runtime": "^5.15.1", "decache": "^4.6.2", "lodash.clonedeep": "^4.5.0", - "postcss": "^8.4.26" + "postcss": "^8.4.27" }, "engines": { "node": ">=14.14.0" @@ -7264,156 +7218,156 @@ "dev": true }, "@esbuild/android-arm": { - "version": "0.18.14", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.14.tgz", - "integrity": "sha512-blODaaL+lngG5bdK/t4qZcQvq2BBqrABmYwqPPcS5VRxrCSGHb9R/rA3fqxh7R18I7WU4KKv+NYkt22FDfalcg==", + "version": "0.18.16", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.16.tgz", + "integrity": "sha512-gCHjjQmA8L0soklKbLKA6pgsLk1byULuHe94lkZDzcO3/Ta+bbeewJioEn1Fr7kgy9NWNFy/C+MrBwC6I/WCug==", "optional": true, "peer": true }, "@esbuild/android-arm64": { - "version": "0.18.14", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.18.14.tgz", - "integrity": "sha512-rZ2v+Luba5/3D6l8kofWgTnqE+qsC/L5MleKIKFyllHTKHrNBMqeRCnZI1BtRx8B24xMYxeU32iIddRQqMsOsg==", + "version": "0.18.16", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.18.16.tgz", + "integrity": "sha512-wsCqSPqLz+6Ov+OM4EthU43DyYVVyfn15S4j1bJzylDpc1r1jZFFfJQNfDuT8SlgwuqpmpJXK4uPlHGw6ve7eA==", "optional": true, "peer": true }, "@esbuild/android-x64": { - "version": "0.18.14", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.18.14.tgz", - "integrity": "sha512-qSwh8y38QKl+1Iqg+YhvCVYlSk3dVLk9N88VO71U4FUjtiSFylMWK3Ugr8GC6eTkkP4Tc83dVppt2n8vIdlSGg==", + "version": "0.18.16", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.18.16.tgz", + "integrity": "sha512-ldsTXolyA3eTQ1//4DS+E15xl0H/3DTRJaRL0/0PgkqDsI0fV/FlOtD+h0u/AUJr+eOTlZv4aC9gvfppo3C4sw==", "optional": true, "peer": true }, "@esbuild/darwin-arm64": { - "version": "0.18.14", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.18.14.tgz", - "integrity": "sha512-9Hl2D2PBeDYZiNbnRKRWuxwHa9v5ssWBBjisXFkVcSP5cZqzZRFBUWEQuqBHO4+PKx4q4wgHoWtfQ1S7rUqJ2Q==", + "version": "0.18.16", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.18.16.tgz", + "integrity": "sha512-aBxruWCII+OtluORR/KvisEw0ALuw/qDQWvkoosA+c/ngC/Kwk0lLaZ+B++LLS481/VdydB2u6tYpWxUfnLAIw==", "optional": true, "peer": true }, "@esbuild/darwin-x64": { - "version": "0.18.14", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.18.14.tgz", - "integrity": "sha512-ZnI3Dg4ElQ6tlv82qLc/UNHtFsgZSKZ7KjsUNAo1BF1SoYDjkGKHJyCrYyWjFecmXpvvG/KJ9A/oe0H12odPLQ==", + "version": "0.18.16", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.18.16.tgz", + "integrity": "sha512-6w4Dbue280+rp3LnkgmriS1icOUZDyPuZo/9VsuMUTns7SYEiOaJ7Ca1cbhu9KVObAWfmdjUl4gwy9TIgiO5eA==", "optional": true, "peer": true }, "@esbuild/freebsd-arm64": { - "version": "0.18.14", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.14.tgz", - "integrity": "sha512-h3OqR80Da4oQCIa37zl8tU5MwHQ7qgPV0oVScPfKJK21fSRZEhLE4IIVpmcOxfAVmqjU6NDxcxhYaM8aDIGRLw==", + "version": "0.18.16", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.16.tgz", + "integrity": "sha512-x35fCebhe9s979DGKbVAwXUOcTmCIE32AIqB9CB1GralMIvxdnMLAw5CnID17ipEw9/3MvDsusj/cspYt2ZLNQ==", "optional": true, "peer": true }, "@esbuild/freebsd-x64": { - "version": "0.18.14", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.18.14.tgz", - "integrity": "sha512-ha4BX+S6CZG4BoH9tOZTrFIYC1DH13UTCRHzFc3GWX74nz3h/N6MPF3tuR3XlsNjMFUazGgm35MPW5tHkn2lzQ==", + "version": "0.18.16", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.18.16.tgz", + "integrity": "sha512-YM98f+PeNXF3GbxIJlUsj+McUWG1irguBHkszCIwfr3BXtXZsXo0vqybjUDFfu9a8Wr7uUD/YSmHib+EeGAFlg==", "optional": true, "peer": true }, "@esbuild/linux-arm": { - "version": "0.18.14", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.18.14.tgz", - "integrity": "sha512-5+7vehI1iqru5WRtJyU2XvTOvTGURw3OZxe3YTdE9muNNIdmKAVmSHpB3Vw2LazJk2ifEdIMt/wTWnVe5V98Kg==", + "version": "0.18.16", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.18.16.tgz", + "integrity": "sha512-b5ABb+5Ha2C9JkeZXV+b+OruR1tJ33ePmv9ZwMeETSEKlmu/WJ45XTTG+l6a2KDsQtJJ66qo/hbSGBtk0XVLHw==", "optional": true, "peer": true }, "@esbuild/linux-arm64": { - "version": "0.18.14", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.18.14.tgz", - "integrity": "sha512-IXORRe22In7U65NZCzjwAUc03nn8SDIzWCnfzJ6t/8AvGx5zBkcLfknI+0P+hhuftufJBmIXxdSTbzWc8X/V4w==", + "version": "0.18.16", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.18.16.tgz", + "integrity": "sha512-XIqhNUxJiuy+zsR77+H5Z2f7s4YRlriSJKtvx99nJuG5ATuJPjmZ9n0ANgnGlPCpXGSReFpgcJ7O3SMtzIFeiQ==", "optional": true, "peer": true }, "@esbuild/linux-ia32": { - "version": "0.18.14", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.18.14.tgz", - "integrity": "sha512-BfHlMa0nibwpjG+VXbOoqJDmFde4UK2gnW351SQ2Zd4t1N3zNdmUEqRkw/srC1Sa1DRBE88Dbwg4JgWCbNz/FQ==", + "version": "0.18.16", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.18.16.tgz", + "integrity": "sha512-no+pfEpwnRvIyH+txbBAWtjxPU9grslmTBfsmDndj7bnBmr55rOo/PfQmRfz7Qg9isswt1FP5hBbWb23fRWnow==", "optional": true, "peer": true }, "@esbuild/linux-loong64": { - "version": "0.18.14", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.18.14.tgz", - "integrity": "sha512-j2/Ex++DRUWIAaUDprXd3JevzGtZ4/d7VKz+AYDoHZ3HjJzCyYBub9CU1wwIXN+viOP0b4VR3RhGClsvyt/xSw==", + "version": "0.18.16", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.18.16.tgz", + "integrity": "sha512-Zbnczs9ZXjmo0oZSS0zbNlJbcwKXa/fcNhYQjahDs4Xg18UumpXG/lwM2lcSvHS3mTrRyCYZvJbmzYc4laRI1g==", "optional": true, "peer": true }, "@esbuild/linux-mips64el": { - "version": "0.18.14", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.18.14.tgz", - "integrity": "sha512-qn2+nc+ZCrJmiicoAnJXJJkZWt8Nwswgu1crY7N+PBR8ChBHh89XRxj38UU6Dkthl2yCVO9jWuafZ24muzDC/A==", + "version": "0.18.16", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.18.16.tgz", + "integrity": "sha512-YMF7hih1HVR/hQVa/ot4UVffc5ZlrzEb3k2ip0nZr1w6fnYypll9td2qcoMLvd3o8j3y6EbJM3MyIcXIVzXvQQ==", "optional": true, "peer": true }, "@esbuild/linux-ppc64": { - "version": "0.18.14", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.18.14.tgz", - "integrity": "sha512-aGzXzd+djqeEC5IRkDKt3kWzvXoXC6K6GyYKxd+wsFJ2VQYnOWE954qV2tvy5/aaNrmgPTb52cSCHFE+Z7Z0yg==", + "version": "0.18.16", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.18.16.tgz", + "integrity": "sha512-Wkz++LZ29lDwUyTSEnzDaaP5OveOgTU69q9IyIw9WqLRxM4BjTBjz9un4G6TOvehWpf/J3gYVFN96TjGHrbcNQ==", "optional": true, "peer": true }, "@esbuild/linux-riscv64": { - "version": "0.18.14", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.18.14.tgz", - "integrity": "sha512-8C6vWbfr0ygbAiMFLS6OPz0BHvApkT2gCboOGV76YrYw+sD/MQJzyITNsjZWDXJwPu9tjrFQOVG7zijRzBCnLw==", + "version": "0.18.16", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.18.16.tgz", + "integrity": "sha512-LFMKZ30tk78/mUv1ygvIP+568bwf4oN6reG/uczXnz6SvFn4e2QUFpUpZY9iSJT6Qpgstrhef/nMykIXZtZWGQ==", "optional": true, "peer": true }, "@esbuild/linux-s390x": { - "version": "0.18.14", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.18.14.tgz", - "integrity": "sha512-G/Lf9iu8sRMM60OVGOh94ZW2nIStksEcITkXdkD09/T6QFD/o+g0+9WVyR/jajIb3A0LvBJ670tBnGe1GgXMgw==", + "version": "0.18.16", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.18.16.tgz", + "integrity": "sha512-3ZC0BgyYHYKfZo3AV2/66TD/I9tlSBaW7eWTEIkrQQKfJIifKMMttXl9FrAg+UT0SGYsCRLI35Gwdmm96vlOjg==", "optional": true, "peer": true }, "@esbuild/linux-x64": { - "version": "0.18.14", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.18.14.tgz", - "integrity": "sha512-TBgStYBQaa3EGhgqIDM+ECnkreb0wkcKqL7H6m+XPcGUoU4dO7dqewfbm0mWEQYH3kzFHrzjOFNpSAVzDZRSJw==", + "version": "0.18.16", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.18.16.tgz", + "integrity": "sha512-xu86B3647DihHJHv/wx3NCz2Dg1gjQ8bbf9cVYZzWKY+gsvxYmn/lnVlqDRazObc3UMwoHpUhNYaZset4X8IPA==", "optional": true, "peer": true }, "@esbuild/netbsd-x64": { - "version": "0.18.14", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.18.14.tgz", - "integrity": "sha512-stvCcjyCQR2lMTroqNhAbvROqRjxPEq0oQ380YdXxA81TaRJEucH/PzJ/qsEtsHgXlWFW6Ryr/X15vxQiyRXVg==", + "version": "0.18.16", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.18.16.tgz", + "integrity": "sha512-uVAgpimx9Ffw3xowtg/7qQPwHFx94yCje+DoBx+LNm2ePDpQXHrzE+Sb0Si2VBObYz+LcRps15cq+95YM7gkUw==", "optional": true, "peer": true }, "@esbuild/openbsd-x64": { - "version": "0.18.14", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.18.14.tgz", - "integrity": "sha512-apAOJF14CIsN5ht1PA57PboEMsNV70j3FUdxLmA2liZ20gEQnfTG5QU0FhENo5nwbTqCB2O3WDsXAihfODjHYw==", + "version": "0.18.16", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.18.16.tgz", + "integrity": "sha512-6OjCQM9wf7z8/MBi6BOWaTL2AS/SZudsZtBziXMtNI8r/U41AxS9x7jn0ATOwVy08OotwkPqGRMkpPR2wcTJXA==", "optional": true, "peer": true }, "@esbuild/sunos-x64": { - "version": "0.18.14", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.18.14.tgz", - "integrity": "sha512-fYRaaS8mDgZcGybPn2MQbn1ZNZx+UXFSUoS5Hd2oEnlsyUcr/l3c6RnXf1bLDRKKdLRSabTmyCy7VLQ7VhGdOQ==", + "version": "0.18.16", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.18.16.tgz", + "integrity": "sha512-ZoNkruFYJp9d1LbUYCh8awgQDvB9uOMZqlQ+gGEZR7v6C+N6u7vPr86c+Chih8niBR81Q/bHOSKGBK3brJyvkQ==", "optional": true, "peer": true }, "@esbuild/win32-arm64": { - "version": "0.18.14", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.18.14.tgz", - "integrity": "sha512-1c44RcxKEJPrVj62XdmYhxXaU/V7auELCmnD+Ri+UCt+AGxTvzxl9uauQhrFso8gj6ZV1DaORV0sT9XSHOAk8Q==", + "version": "0.18.16", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.18.16.tgz", + "integrity": "sha512-+j4anzQ9hrs+iqO+/wa8UE6TVkKua1pXUb0XWFOx0FiAj6R9INJ+WE//1/Xo6FG1vB5EpH3ko+XcgwiDXTxcdw==", "optional": true, "peer": true }, "@esbuild/win32-ia32": { - "version": "0.18.14", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.18.14.tgz", - "integrity": "sha512-EXAFttrdAxZkFQmpvcAQ2bywlWUsONp/9c2lcfvPUhu8vXBBenCXpoq9YkUvVP639ld3YGiYx0YUQ6/VQz3Maw==", + "version": "0.18.16", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.18.16.tgz", + "integrity": "sha512-5PFPmq3sSKTp9cT9dzvI67WNfRZGvEVctcZa1KGjDDu4n3H8k59Inbk0du1fz0KrAbKKNpJbdFXQMDUz7BG4rQ==", "optional": true, "peer": true }, "@esbuild/win32-x64": { - "version": "0.18.14", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.18.14.tgz", - "integrity": "sha512-K0QjGbcskx+gY+qp3v4/940qg8JitpXbdxFhRDA1aYoNaPff88+aEwoq45aqJ+ogpxQxmU0ZTjgnrQD/w8iiUg==", + "version": "0.18.16", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.18.16.tgz", + "integrity": "sha512-sCIVrrtcWN5Ua7jYXNG1xD199IalrbfV2+0k/2Zf2OyV2FtnQnMgdzgpRAbi4AWlKJj1jkX+M+fEGPQj6BQB4w==", "optional": true, "peer": true }, @@ -7426,9 +7380,9 @@ } }, "@eslint-community/regexpp": { - "version": "4.5.1", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.5.1.tgz", - "integrity": "sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6FZTFKQ==" + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.6.2.tgz", + "integrity": "sha512-pPTNuaAG3QMH+buKyBIGJs3g/S5y0caxw0ygM3YyE6yJFySwiGGSzA+mM3KJ8QQvzeLh3blwgSonkFjgQdxzMw==" }, "@eslint/eslintrc": { "version": "2.1.0", @@ -7656,6 +7610,11 @@ "fastq": "^1.6.0" } }, + "@one-ini/wasm": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/@one-ini/wasm/-/wasm-0.1.1.tgz", + "integrity": "sha512-XuySG1E38YScSJoMlqovLru4KTUNSjgVTIjyh7qMX6aNN5HY5Ct5LhRJdxO79JtTzKfzV/bnWpz+zquYrISsvw==" + }, "@pkgjs/parseargs": { "version": "0.11.0", "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", @@ -7730,8 +7689,8 @@ "requires": { "@stylable/core": "^5.15.1", "@tokey/css-value-parser": "^0.1.3", - "js-beautify": "^1.14.8", - "postcss": "^8.4.26" + "js-beautify": "^1.14.9", + "postcss": "^8.4.27" } }, "@stylable/core": { @@ -7747,7 +7706,7 @@ "is-vendor-prefixed": "^4.0.0", "lodash.clonedeep": "^4.5.0", "lodash.clonedeepwith": "^4.5.0", - "postcss": "^8.4.26", + "postcss": "^8.4.27", "postcss-js": "^4.0.1", "postcss-nested": "^6.0.1", "postcss-safe-parser": "^6.0.0", @@ -7766,7 +7725,7 @@ "@stylable/core": "^5.15.1", "chai": "^4.3.7", "flat": "^5.0.2", - "postcss": "^8.4.26" + "postcss": "^8.4.27" } }, "@stylable/custom-value": { @@ -7788,7 +7747,7 @@ "requires": { "@stylable/runtime": "^5.15.1", "node-eval": "^2.0.0", - "playwright-core": "^1.36.1", + "playwright-core": "^1.36.2", "rimraf": "^5.0.1" } }, @@ -7839,7 +7798,7 @@ "@tokey/css-selector-parser": "^0.6.1", "@tokey/css-value-parser": "^0.1.3", "css-selector-tokenizer": "^0.8.0", - "postcss": "^8.4.26", + "postcss": "^8.4.27", "postcss-value-parser": "^4.2.0", "vscode-css-languageservice": "^6.2.6", "vscode-languageserver": "^8.1.0", @@ -7870,7 +7829,7 @@ "@stylable/core": "^5.15.1", "@tokey/css-selector-parser": "^0.6.1", "csso": "^5.0.5", - "postcss": "^8.4.26" + "postcss": "^8.4.27" } }, "@stylable/rollup-plugin": { @@ -7927,7 +7886,7 @@ "@stylable/runtime": "^5.15.1", "decache": "^4.6.2", "lodash.clonedeep": "^4.5.0", - "postcss": "^8.4.26" + "postcss": "^8.4.27" } }, "@tokey/core": { @@ -7960,9 +7919,9 @@ } }, "@types/balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@types/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-KgomuqUNYgN+Sibk22j7HB6vo8gziGz/k3Y8RkauF2duMZfMeIkyUKARef2eIIQuXGrkbIvcOfY5DNF/nQrDZQ==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@types/balanced-match/-/balanced-match-1.0.3.tgz", + "integrity": "sha512-nBZFt2r4snsIMicyNwgdga4wcoJtGRF39xX4Le3GjA2oSJcQlGAD8XrmlRddYcINFK8dypxJEUS6bVgKBQ7FyA==", "dev": true }, "@types/chai": { @@ -8008,9 +7967,9 @@ } }, "@types/eslint": { - "version": "8.44.0", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.44.0.tgz", - "integrity": "sha512-gsF+c/0XOguWgaOgvFs+xnnRqt9GwgTvIks36WpE6ueeI4KCEHHd8K/CKHqhOqrJKsYH8m27kRzQEvWXAwXUTw==", + "version": "8.44.1", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.44.1.tgz", + "integrity": "sha512-XpNDc4Z5Tb4x+SW1MriMVeIsMoONHCkWFMkR/aPJbzEsxqHy+4Glu/BqTdPrApfDeMaXbtNh6bseNgl5KaWrSg==", "requires": { "@types/estree": "*", "@types/json-schema": "*" @@ -8066,9 +8025,9 @@ "integrity": "sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA==" }, "@types/lodash": { - "version": "4.14.195", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.195.tgz", - "integrity": "sha512-Hwx9EUgdwf2GLarOjQp5ZH8ZmblzcbTBC2wtQWNKARBSxM9ezRIAUpeDTgoQRAFB0+8CNWXVA9+MaSOzOF3nPg==", + "version": "4.14.196", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.196.tgz", + "integrity": "sha512-22y3o88f4a94mKljsZcanlNWPzO0uBsBdzLAngf2tp533LzZcQzb6+eZPJ+vCTt+bqF2XnvT9gejTLsAcJAJyQ==", "dev": true }, "@types/lodash.camelcase": { @@ -8138,9 +8097,9 @@ "dev": true }, "@types/node": { - "version": "14.18.53", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.53.tgz", - "integrity": "sha512-soGmOpVBUq+gaBMwom1M+krC/NNbWlosh4AtGA03SyWNDiqSKtwp7OulO1M6+mg8YkHMvJ/y0AkCeO8d1hNb7A==" + "version": "14.18.54", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.54.tgz", + "integrity": "sha512-uq7O52wvo2Lggsx1x21tKZgqkJpvwCseBBPtX/nKQfpVlEsLOb11zZ1CRsWUKvJF0+lzuA9jwvA7Pr2Wt7i3xw==" }, "@types/postcss-safe-parser": { "version": "5.0.1", @@ -8158,9 +8117,9 @@ "dev": true }, "@types/react": { - "version": "18.2.15", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.15.tgz", - "integrity": "sha512-oEjE7TQt1fFTFSbf8kkNuc798ahTUzn3Le67/PWjE8MAfYAD/qB7O8hSTcromLFqHCt9bcdOg5GXMokzTjJ5SA==", + "version": "18.2.16", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.16.tgz", + "integrity": "sha512-LLFWr12ZhBJ4YVw7neWLe6Pk7Ey5R9OCydfuMsz1L8bZxzaawJj2p06Q8/EFEHDeTBQNFLF62X+CG7B2zIyu0Q==", "dev": true, "requires": { "@types/prop-types": "*", @@ -8726,9 +8685,9 @@ } }, "c8": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/c8/-/c8-8.0.0.tgz", - "integrity": "sha512-XHA5vSfCLglAc0Xt8eLBZMv19lgiBSjnb1FLAQgnwkuhJYEonpilhEB4Ea3jPAbm0FhD6VVJrc0z73jPe7JyGQ==", + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/c8/-/c8-8.0.1.tgz", + "integrity": "sha512-EINpopxZNH1mETuI0DzRA4MZpAUH+IFiRhnmFD3vFr3vdrgxqi3VfE3KL0AIL+zDq8rC9bZqwM/VDmmoe04y7w==", "dev": true, "requires": { "@bcoe/v8-coverage": "^0.2.3", @@ -8736,26 +8695,15 @@ "find-up": "^5.0.0", "foreground-child": "^2.0.0", "istanbul-lib-coverage": "^3.2.0", - "istanbul-lib-report": "^3.0.0", - "istanbul-reports": "^3.1.4", + "istanbul-lib-report": "^3.0.1", + "istanbul-reports": "^3.1.6", "rimraf": "^3.0.2", "test-exclude": "^6.0.0", "v8-to-istanbul": "^9.0.0", - "yargs": "^16.2.0", - "yargs-parser": "^20.2.9" + "yargs": "^17.7.2", + "yargs-parser": "^21.1.1" }, "dependencies": { - "cliui": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", - "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", - "dev": true, - "requires": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^7.0.0" - } - }, "rimraf": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", @@ -8764,21 +8712,6 @@ "requires": { "glob": "^7.1.3" } - }, - "yargs": { - "version": "16.2.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", - "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", - "dev": true, - "requires": { - "cliui": "^7.0.2", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.0", - "y18n": "^5.0.5", - "yargs-parser": "^20.2.2" - } } } }, @@ -8824,9 +8757,9 @@ "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==" }, "caniuse-lite": { - "version": "1.0.30001516", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001516.tgz", - "integrity": "sha512-Wmec9pCBY8CWbmI4HsjBeQLqDTqV91nFVR83DnZpYyRnPI1wePDsTg0bGLPC5VU/3OIZV1fmxEea1b+tFKe86g==" + "version": "1.0.30001517", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001517.tgz", + "integrity": "sha512-Vdhm5S11DaFVLlyiKu4hiUTkpZu+y1KA/rZZqVQfOD5YdDT/eQKlkt7NaE0WGOFgX32diqt9MiP9CAiFeRklaA==" }, "chai": { "version": "4.3.7", @@ -9194,46 +9127,43 @@ "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==" }, "editorconfig": { - "version": "0.15.3", - "resolved": "https://registry.npmjs.org/editorconfig/-/editorconfig-0.15.3.tgz", - "integrity": "sha512-M9wIMFx96vq0R4F+gRpY3o2exzb8hEj/n9S8unZtHSvYjibBp/iMufSzvmOcV/laG0ZtuTVGtiJggPOSW2r93g==", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/editorconfig/-/editorconfig-1.0.4.tgz", + "integrity": "sha512-L9Qe08KWTlqYMVvMcTIvMAdl1cDUubzRNYL+WfA4bLDMHe4nemKkpmYzkznE1FwLKu0EEmy6obgQKzMJrg4x9Q==", "requires": { - "commander": "^2.19.0", - "lru-cache": "^4.1.5", - "semver": "^5.6.0", - "sigmund": "^1.0.1" + "@one-ini/wasm": "0.1.1", + "commander": "^10.0.0", + "minimatch": "9.0.1", + "semver": "^7.5.3" }, "dependencies": { - "commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" - }, - "lru-cache": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz", - "integrity": "sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==", + "brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "requires": { - "pseudomap": "^1.0.2", - "yallist": "^2.1.2" + "balanced-match": "^1.0.0" } }, - "semver": { - "version": "5.7.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", - "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==" + "commander": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-10.0.1.tgz", + "integrity": "sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==" }, - "yallist": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", - "integrity": "sha512-ncTzHV7NvsQZkYe1DW7cbDLm0YpzHmZF5r/iyP3ZnQtMiJ+pjzisCiMNI+Sj+xQF5pXhSHxSB3uDbsBTzY/c2A==" + "minimatch": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.1.tgz", + "integrity": "sha512-0jWhJpD/MdhPXwPuiRkCbfYfSKp2qnn2eOc279qI7f+osl/l+prKSrvhg157zSYvx/1nmgn2NqdT6k2Z7zSH9w==", + "requires": { + "brace-expansion": "^2.0.1" + } } } }, "electron-to-chromium": { - "version": "1.4.464", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.464.tgz", - "integrity": "sha512-guZ84yoou4+ILNdj0XEbmGs6DEWj6zpVOWYpY09GU66yEb0DSYvP/biBPzHn0GuW/3RC/pnaYNUWlQE1fJYtgA==" + "version": "1.4.471", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.471.tgz", + "integrity": "sha512-GpmGRC1vTl60w/k6YpQ18pSiqnmr0j3un//5TV1idPi6aheNfkT1Ye71tMEabWyNDO6sBMgAR+95Eb0eUUr1tA==" }, "emoji-regex": { "version": "8.0.0", @@ -9345,33 +9275,33 @@ } }, "esbuild": { - "version": "0.18.14", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.18.14.tgz", - "integrity": "sha512-uNPj5oHPYmj+ZhSQeYQVFZ+hAlJZbAGOmmILWIqrGvPVlNLbyOvU5Bu6Woi8G8nskcx0vwY0iFoMPrzT86Ko+w==", + "version": "0.18.16", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.18.16.tgz", + "integrity": "sha512-1xLsOXrDqwdHxyXb/x/SOyg59jpf/SH7YMvU5RNSU7z3TInaASNJWNFJ6iRvLvLETZMasF3d1DdZLg7sgRimRQ==", "peer": true, "requires": { - "@esbuild/android-arm": "0.18.14", - "@esbuild/android-arm64": "0.18.14", - "@esbuild/android-x64": "0.18.14", - "@esbuild/darwin-arm64": "0.18.14", - "@esbuild/darwin-x64": "0.18.14", - "@esbuild/freebsd-arm64": "0.18.14", - "@esbuild/freebsd-x64": "0.18.14", - "@esbuild/linux-arm": "0.18.14", - "@esbuild/linux-arm64": "0.18.14", - "@esbuild/linux-ia32": "0.18.14", - "@esbuild/linux-loong64": "0.18.14", - "@esbuild/linux-mips64el": "0.18.14", - "@esbuild/linux-ppc64": "0.18.14", - "@esbuild/linux-riscv64": "0.18.14", - "@esbuild/linux-s390x": "0.18.14", - "@esbuild/linux-x64": "0.18.14", - "@esbuild/netbsd-x64": "0.18.14", - "@esbuild/openbsd-x64": "0.18.14", - "@esbuild/sunos-x64": "0.18.14", - "@esbuild/win32-arm64": "0.18.14", - "@esbuild/win32-ia32": "0.18.14", - "@esbuild/win32-x64": "0.18.14" + "@esbuild/android-arm": "0.18.16", + "@esbuild/android-arm64": "0.18.16", + "@esbuild/android-x64": "0.18.16", + "@esbuild/darwin-arm64": "0.18.16", + "@esbuild/darwin-x64": "0.18.16", + "@esbuild/freebsd-arm64": "0.18.16", + "@esbuild/freebsd-x64": "0.18.16", + "@esbuild/linux-arm": "0.18.16", + "@esbuild/linux-arm64": "0.18.16", + "@esbuild/linux-ia32": "0.18.16", + "@esbuild/linux-loong64": "0.18.16", + "@esbuild/linux-mips64el": "0.18.16", + "@esbuild/linux-ppc64": "0.18.16", + "@esbuild/linux-riscv64": "0.18.16", + "@esbuild/linux-s390x": "0.18.16", + "@esbuild/linux-x64": "0.18.16", + "@esbuild/netbsd-x64": "0.18.16", + "@esbuild/openbsd-x64": "0.18.16", + "@esbuild/sunos-x64": "0.18.16", + "@esbuild/win32-arm64": "0.18.16", + "@esbuild/win32-ia32": "0.18.16", + "@esbuild/win32-x64": "0.18.16" } }, "escalade": { @@ -9539,9 +9469,9 @@ "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" }, "fast-glob": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.0.tgz", - "integrity": "sha512-ChDuvbOypPuNjO8yIDf36x7BlZX1smcUMTTcyoIjycexOxd6DFsKsg21qVBzEmr3G7fUKIRy2/psii+CIUt7FA==", + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.1.tgz", + "integrity": "sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==", "requires": { "@nodelib/fs.stat": "^2.0.2", "@nodelib/fs.walk": "^1.2.3", @@ -10214,20 +10144,20 @@ "dev": true }, "istanbul-lib-report": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", - "integrity": "sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz", + "integrity": "sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==", "dev": true, "requires": { "istanbul-lib-coverage": "^3.0.0", - "make-dir": "^3.0.0", + "make-dir": "^4.0.0", "supports-color": "^7.1.0" } }, "istanbul-reports": { - "version": "3.1.5", - "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.5.tgz", - "integrity": "sha512-nUsEMa9pBt/NOHqbcbeJEgqIlY/K7rVWUX6Lql2orY5e9roQOthbR3vtY4zzf2orPELg80fnxxk9zUyPlgwD1w==", + "version": "3.1.6", + "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.6.tgz", + "integrity": "sha512-TLgnMkKg3iTDsQ9PbPTdpfAK2DzjF9mqUG7RMgcQl8oFjad8ob4laGxv5XV5U9MAfx8D6tSJiUyuAwzLicaxlg==", "dev": true, "requires": { "html-escaper": "^2.0.0", @@ -10235,9 +10165,9 @@ } }, "jackspeak": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.2.1.tgz", - "integrity": "sha512-MXbxovZ/Pm42f6cDIDkl3xpwv1AGwObKwfmjs2nQePiy85tP3fatofl3FC1aBsOtP/6fq5SbtgHwWcMsLP+bDw==", + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.2.2.tgz", + "integrity": "sha512-mgNtVv4vUuaKA97yxUHoA3+FkuhtxkjdXEWOyB/N76fjy0FjezEt34oy3epBtvCvS+7DyKwqCFWx/oJLV5+kCg==", "requires": { "@isaacs/cliui": "^8.0.2", "@pkgjs/parseargs": "^0.11.0" @@ -10272,12 +10202,12 @@ } }, "js-beautify": { - "version": "1.14.8", - "resolved": "https://registry.npmjs.org/js-beautify/-/js-beautify-1.14.8.tgz", - "integrity": "sha512-4S7HFeI9YfRvRgKnEweohs0tgJj28InHVIj4Nl8Htf96Y6pHg3+tJrmo4ucAM9f7l4SHbFI3IvFAZ2a1eQPbyg==", + "version": "1.14.9", + "resolved": "https://registry.npmjs.org/js-beautify/-/js-beautify-1.14.9.tgz", + "integrity": "sha512-coM7xq1syLcMyuVGyToxcj2AlzhkDjmfklL8r0JgJ7A76wyGMpJ1oA35mr4APdYNO/o/4YY8H54NQIJzhMbhBg==", "requires": { "config-chain": "^1.1.13", - "editorconfig": "^0.15.3", + "editorconfig": "^1.0.3", "glob": "^8.1.0", "nopt": "^6.0.0" }, @@ -10474,20 +10404,12 @@ } }, "make-dir": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", - "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz", + "integrity": "sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==", "dev": true, "requires": { - "semver": "^6.0.0" - }, - "dependencies": { - "semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", - "dev": true - } + "semver": "^7.5.3" } }, "mdn-data": { @@ -11101,23 +11023,23 @@ "dev": true }, "playwright-chromium": { - "version": "1.36.1", - "resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.36.1.tgz", - "integrity": "sha512-V2jBtS5zNUyMajzh6SRiCzafsz/Mg35IroR+SwWhAa1Dqa4juGXDp26AdK7Nj/fAOvwnG+dFDVOVx/ewt9dSxQ==", + "version": "1.36.2", + "resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.36.2.tgz", + "integrity": "sha512-ONY6+ON1A+qYUBiymWn3MHnBjdPO6lYIi2SiQbUo1OA0cSZaxx9vM2mRYY3p7JLC6AhAbPEimZdXetQx48AHkA==", "dev": true, "requires": { - "playwright-core": "1.36.1" + "playwright-core": "1.36.2" } }, "playwright-core": { - "version": "1.36.1", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.36.1.tgz", - "integrity": "sha512-7+tmPuMcEW4xeCL9cp9KxmYpQYHKkyjwoXRnoeTowaeNat8PoBMk/HwCYhqkH2fRkshfKEOiVus/IhID2Pg8kg==" + "version": "1.36.2", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.36.2.tgz", + "integrity": "sha512-sQYZt31dwkqxOrP7xy2ggDfEzUxM1lodjhsQ3NMMv5uGTRDsLxU0e4xf4wwMkF2gplIxf17QMBCodSFgm6bFVQ==" }, "postcss": { - "version": "8.4.26", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.26.tgz", - "integrity": "sha512-jrXHFF8iTloAenySjM/ob3gSj7pCu0Ji49hnjqzsgSRa50hkWCKD0HQ+gMNJkW38jBI68MpAAg7ZWwHwX8NMMw==", + "version": "8.4.27", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.27.tgz", + "integrity": "sha512-gY/ACJtJPSmUFPDCHtX78+01fHa64FaU4zaaWfuh1MhGJISufJAH4cun6k/8fwsHYeK4UQmENQK+tRLCFJE8JQ==", "requires": { "nanoid": "^3.3.6", "picocolors": "^1.0.0", @@ -11225,11 +11147,6 @@ "resolved": "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz", "integrity": "sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA==" }, - "pseudomap": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", - "integrity": "sha512-b/YwNhb8lk1Zz2+bXXpS/LK9OisiZZ1SNsSLxN1x2OXVEhW2Ckr/7mWE5vrC1ZTiJlD9g19jWszTmJsB+oEpFQ==" - }, "punycode": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", @@ -11538,11 +11455,6 @@ "object-inspect": "^1.9.0" } }, - "sigmund": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/sigmund/-/sigmund-1.0.1.tgz", - "integrity": "sha512-fCvEXfh6NWpm+YSuY2bpXb/VIihqWA6hLsgboC+0nl71Q7N7o2eaCW8mJa/NLvQhs6jpd3VZV4UiUQlV6+lc8g==" - }, "signal-exit": { "version": "3.0.7", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", @@ -11742,9 +11654,9 @@ "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==" }, "terser": { - "version": "5.19.1", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.19.1.tgz", - "integrity": "sha512-27hxBUVdV6GoNg1pKQ7Z5cbR6V9txPVyBA+FQw3BaZ1Wuzvztce5p156DaP0NVZNrMZZ+6iG9Syf7WgMNKDg2Q==", + "version": "5.19.2", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.19.2.tgz", + "integrity": "sha512-qC5+dmecKJA4cpYxRa5aVkKehYsQKc+AHeKl0Oe62aYjBL8ZA33tTljktDHJSaxxMnbI5ZYw+o/S2DxxLu8OfA==", "requires": { "@jridgewell/source-map": "^0.3.3", "acorn": "^8.8.2", @@ -11834,9 +11746,9 @@ } }, "tslib": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.0.tgz", - "integrity": "sha512-7At1WUettjcSRHXCyYtTselblcHl9PJFFVKiCAy/bY97+BPZXSQ2wbq0P9s8tK2G7dFQfNnlJnPAiArVBVBsfA==", + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.1.tgz", + "integrity": "sha512-t0hLfiEKfMUoqhG+U1oid7Pva4bbDPHYfJNiB7BiIjRkj1pyC++4N3huJfqY6aRH6VTB0rvtzQwjM4K6qpfOig==", "dev": true }, "tsutils": { @@ -12202,20 +12114,12 @@ "string-width": "^4.2.3", "y18n": "^5.0.5", "yargs-parser": "^21.1.1" - }, - "dependencies": { - "yargs-parser": { - "version": "21.1.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", - "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==" - } } }, "yargs-parser": { - "version": "20.2.9", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", - "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", - "dev": true + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==" }, "yargs-unparser": { "version": "2.0.0", diff --git a/package.json b/package.json index 181b80af5..334b773ef 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "@file-services/node": "^7.4.0", "@rollup/plugin-html": "^1.0.2", "@rollup/plugin-node-resolve": "^15.1.0", - "@types/balanced-match": "^1.0.2", + "@types/balanced-match": "^1.0.3", "@types/chai": "^4.3.5", "@types/chai-subset": "^1.3.3", "@types/css-selector-tokenizer": "^0.7.1", @@ -42,7 +42,7 @@ "@types/mocha": "^10.0.1", "@types/node": "14", "@types/postcss-safe-parser": "^5.0.1", - "@types/react": "^18.2.15", + "@types/react": "^18.2.16", "@types/react-dom": "^18.2.7", "@types/semver": "^7.5.0", "@types/validate-npm-package-name": "^4.0.0", @@ -50,7 +50,7 @@ "@typescript-eslint/eslint-plugin": "^5.61.0", "@typescript-eslint/parser": "^5.61.0", "autoprefixer": "^10.4.14", - "c8": "^8.0.0", + "c8": "^8.0.1", "chai": "^4.3.7", "chai-subset": "^1.6.0", "create-listening-server": "^2.1.0", @@ -62,8 +62,8 @@ "mocha": "^10.2.0", "node-eval": "^2.0.0", "npm-run-all": "^4.1.5", - "playwright-chromium": "^1.36.1", - "postcss": "^8.4.26", + "playwright-chromium": "^1.36.2", + "postcss": "^8.4.27", "promise-assist": "^2.0.1", "raw-loader": "^4.0.2", "react": "^18.2.0", diff --git a/packages/code-formatter/package.json b/packages/code-formatter/package.json index 1eaceb671..bcdb9b8de 100644 --- a/packages/code-formatter/package.json +++ b/packages/code-formatter/package.json @@ -9,8 +9,8 @@ "dependencies": { "@stylable/core": "^5.15.1", "@tokey/css-value-parser": "^0.1.3", - "js-beautify": "^1.14.8", - "postcss": "^8.4.26" + "js-beautify": "^1.14.9", + "postcss": "^8.4.27" }, "files": [ "dist", diff --git a/packages/core-test-kit/package.json b/packages/core-test-kit/package.json index 87b047300..dfb9fd0fc 100644 --- a/packages/core-test-kit/package.json +++ b/packages/core-test-kit/package.json @@ -11,7 +11,7 @@ "@stylable/core": "^5.15.1", "chai": "^4.3.7", "flat": "^5.0.2", - "postcss": "^8.4.26" + "postcss": "^8.4.27" }, "files": [ "dist", diff --git a/packages/core/package.json b/packages/core/package.json index 7fad19eca..9898872ca 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -20,7 +20,7 @@ "is-vendor-prefixed": "^4.0.0", "lodash.clonedeep": "^4.5.0", "lodash.clonedeepwith": "^4.5.0", - "postcss": "^8.4.26", + "postcss": "^8.4.27", "postcss-js": "^4.0.1", "postcss-nested": "^6.0.1", "postcss-safe-parser": "^6.0.0", diff --git a/packages/e2e-test-kit/package.json b/packages/e2e-test-kit/package.json index 3023503b4..70e300bdb 100644 --- a/packages/e2e-test-kit/package.json +++ b/packages/e2e-test-kit/package.json @@ -9,7 +9,7 @@ "dependencies": { "@stylable/runtime": "^5.15.1", "node-eval": "^2.0.0", - "playwright-core": "^1.36.1", + "playwright-core": "^1.36.2", "rimraf": "^5.0.1" }, "files": [ diff --git a/packages/language-service/package.json b/packages/language-service/package.json index 56ac7788e..0a42341ca 100644 --- a/packages/language-service/package.json +++ b/packages/language-service/package.json @@ -19,7 +19,7 @@ "@tokey/css-selector-parser": "^0.6.1", "@tokey/css-value-parser": "^0.1.3", "css-selector-tokenizer": "^0.8.0", - "postcss": "^8.4.26", + "postcss": "^8.4.27", "postcss-value-parser": "^4.2.0", "vscode-css-languageservice": "^6.2.6", "vscode-languageserver": "^8.1.0", diff --git a/packages/optimizer/package.json b/packages/optimizer/package.json index 659f7d00d..336c74cbf 100644 --- a/packages/optimizer/package.json +++ b/packages/optimizer/package.json @@ -10,7 +10,7 @@ "@stylable/core": "^5.15.1", "@tokey/css-selector-parser": "^0.6.1", "csso": "^5.0.5", - "postcss": "^8.4.26" + "postcss": "^8.4.27" }, "files": [ "dist", diff --git a/packages/webpack-plugin/package.json b/packages/webpack-plugin/package.json index e589195a8..07eb5b43d 100644 --- a/packages/webpack-plugin/package.json +++ b/packages/webpack-plugin/package.json @@ -19,7 +19,7 @@ "@stylable/runtime": "^5.15.1", "decache": "^4.6.2", "lodash.clonedeep": "^4.5.0", - "postcss": "^8.4.26" + "postcss": "^8.4.27" }, "files": [ "dist", From ab55d7175021ea4979e6892c1f032eeb5e1a95d3 Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Fri, 11 Aug 2023 09:04:00 +0300 Subject: [PATCH 54/81] chore(deps): upgrade to latest stable --- package-lock.json | 852 ++++++++++++------------- package.json | 16 +- packages/cli/package.json | 4 +- packages/core-test-kit/package.json | 2 +- packages/e2e-test-kit/package.json | 2 +- packages/language-service/package.json | 4 +- 6 files changed, 434 insertions(+), 446 deletions(-) diff --git a/package-lock.json b/package-lock.json index efd2b8115..71c205476 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,8 +10,8 @@ "packages/*" ], "devDependencies": { - "@file-services/memory": "^7.4.0", - "@file-services/node": "^7.4.0", + "@file-services/memory": "^8.1.1", + "@file-services/node": "^8.1.1", "@rollup/plugin-html": "^1.0.2", "@rollup/plugin-node-resolve": "^15.1.0", "@types/balanced-match": "^1.0.3", @@ -22,7 +22,7 @@ "@types/csso": "^5.0.0", "@types/find-config": "^1.0.1", "@types/flat": "^5.0.2", - "@types/js-beautify": "^1.13.3", + "@types/js-beautify": "^1.14.0", "@types/json-schema": "^7.0.12", "@types/lodash.camelcase": "^4.3.7", "@types/lodash.clonedeep": "^4.5.7", @@ -34,7 +34,7 @@ "@types/mocha": "^10.0.1", "@types/node": "14", "@types/postcss-safe-parser": "^5.0.1", - "@types/react": "^18.2.16", + "@types/react": "^18.2.20", "@types/react-dom": "^18.2.7", "@types/semver": "^7.5.0", "@types/validate-npm-package-name": "^4.0.0", @@ -46,22 +46,22 @@ "chai": "^4.3.7", "chai-subset": "^1.6.0", "create-listening-server": "^2.1.0", - "eslint": "^8.45.0", - "eslint-config-prettier": "^8.8.0", + "eslint": "^8.46.0", + "eslint-config-prettier": "^9.0.0", "file-loader": "^6.2.0", "html-webpack-plugin": "^5.5.3", "mini-css-extract-plugin": "^2.7.6", "mocha": "^10.2.0", "node-eval": "^2.0.0", "npm-run-all": "^4.1.5", - "playwright-chromium": "^1.36.2", + "playwright-chromium": "^1.37.0", "postcss": "^8.4.27", "promise-assist": "^2.0.1", "raw-loader": "^4.0.2", "react": "^18.2.0", "react-dom": "^18.2.0", "rimraf": "^5.0.1", - "rollup": "^3.26.3", + "rollup": "^3.28.0", "source-map": "^0.7.4", "source-map-loader": "^4.0.1", "style-loader": "^3.3.3", @@ -91,9 +91,9 @@ "dev": true }, "node_modules/@esbuild/android-arm": { - "version": "0.18.16", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.16.tgz", - "integrity": "sha512-gCHjjQmA8L0soklKbLKA6pgsLk1byULuHe94lkZDzcO3/Ta+bbeewJioEn1Fr7kgy9NWNFy/C+MrBwC6I/WCug==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.0.tgz", + "integrity": "sha512-GAkjUyHgWTYuex3evPd5V7uV/XS4LMKr1PWHRPW1xNyy/Jx08x3uTrDFRefBYLKT/KpaWM8/YMQcwbp5a3yIDA==", "cpu": [ "arm" ], @@ -107,9 +107,9 @@ } }, "node_modules/@esbuild/android-arm64": { - "version": "0.18.16", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.18.16.tgz", - "integrity": "sha512-wsCqSPqLz+6Ov+OM4EthU43DyYVVyfn15S4j1bJzylDpc1r1jZFFfJQNfDuT8SlgwuqpmpJXK4uPlHGw6ve7eA==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.19.0.tgz", + "integrity": "sha512-AzsozJnB+RNaDncBCs3Ys5g3kqhPFUueItfEaCpp89JH2naFNX2mYDIvUgPYMqqjm8hiFoo+jklb3QHZyR3ubw==", "cpu": [ "arm64" ], @@ -123,9 +123,9 @@ } }, "node_modules/@esbuild/android-x64": { - "version": "0.18.16", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.18.16.tgz", - "integrity": "sha512-ldsTXolyA3eTQ1//4DS+E15xl0H/3DTRJaRL0/0PgkqDsI0fV/FlOtD+h0u/AUJr+eOTlZv4aC9gvfppo3C4sw==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.19.0.tgz", + "integrity": "sha512-SUG8/qiVhljBDpdkHQ9DvOWbp7hFFIP0OzxOTptbmVsgBgzY6JWowmMd6yJuOhapfxmj/DrvwKmjRLvVSIAKZg==", "cpu": [ "x64" ], @@ -139,9 +139,9 @@ } }, "node_modules/@esbuild/darwin-arm64": { - "version": "0.18.16", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.18.16.tgz", - "integrity": "sha512-aBxruWCII+OtluORR/KvisEw0ALuw/qDQWvkoosA+c/ngC/Kwk0lLaZ+B++LLS481/VdydB2u6tYpWxUfnLAIw==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.19.0.tgz", + "integrity": "sha512-HkxZ8k3Jvcw0FORPNTavA8BMgQjLOB6AajT+iXmil7BwY3gU1hWvJJAyWyEogCmA4LdbGvKF8vEykdmJ4xNJJQ==", "cpu": [ "arm64" ], @@ -155,9 +155,9 @@ } }, "node_modules/@esbuild/darwin-x64": { - "version": "0.18.16", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.18.16.tgz", - "integrity": "sha512-6w4Dbue280+rp3LnkgmriS1icOUZDyPuZo/9VsuMUTns7SYEiOaJ7Ca1cbhu9KVObAWfmdjUl4gwy9TIgiO5eA==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.19.0.tgz", + "integrity": "sha512-9IRWJjqpWFHM9a5Qs3r3bK834NCFuDY5ZaLrmTjqE+10B6w65UMQzeZjh794JcxpHolsAHqwsN/33crUXNCM2Q==", "cpu": [ "x64" ], @@ -171,9 +171,9 @@ } }, "node_modules/@esbuild/freebsd-arm64": { - "version": "0.18.16", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.16.tgz", - "integrity": "sha512-x35fCebhe9s979DGKbVAwXUOcTmCIE32AIqB9CB1GralMIvxdnMLAw5CnID17ipEw9/3MvDsusj/cspYt2ZLNQ==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.0.tgz", + "integrity": "sha512-s7i2WcXcK0V1PJHVBe7NsGddsL62a9Vhpz2U7zapPrwKoFuxPP9jybwX8SXnropR/AOj3ppt2ern4ItblU6UQQ==", "cpu": [ "arm64" ], @@ -187,9 +187,9 @@ } }, "node_modules/@esbuild/freebsd-x64": { - "version": "0.18.16", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.18.16.tgz", - "integrity": "sha512-YM98f+PeNXF3GbxIJlUsj+McUWG1irguBHkszCIwfr3BXtXZsXo0vqybjUDFfu9a8Wr7uUD/YSmHib+EeGAFlg==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.19.0.tgz", + "integrity": "sha512-NMdBSSdgwHCqCsucU5k1xflIIRU0qi1QZnM6+vdGy5fvxm1c8rKh50VzsWsIVTFUG3l91AtRxVwoz3Lcvy3I5w==", "cpu": [ "x64" ], @@ -203,9 +203,9 @@ } }, "node_modules/@esbuild/linux-arm": { - "version": "0.18.16", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.18.16.tgz", - "integrity": "sha512-b5ABb+5Ha2C9JkeZXV+b+OruR1tJ33ePmv9ZwMeETSEKlmu/WJ45XTTG+l6a2KDsQtJJ66qo/hbSGBtk0XVLHw==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.19.0.tgz", + "integrity": "sha512-2F1+lH7ZBcCcgxiSs8EXQV0PPJJdTNiNcXxDb61vzxTRJJkXX1I/ye9mAhfHyScXzHaEibEXg1Jq9SW586zz7w==", "cpu": [ "arm" ], @@ -219,9 +219,9 @@ } }, "node_modules/@esbuild/linux-arm64": { - "version": "0.18.16", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.18.16.tgz", - "integrity": "sha512-XIqhNUxJiuy+zsR77+H5Z2f7s4YRlriSJKtvx99nJuG5ATuJPjmZ9n0ANgnGlPCpXGSReFpgcJ7O3SMtzIFeiQ==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.19.0.tgz", + "integrity": "sha512-I4zvE2srSZxRPapFnNqj+NL3sDJ1wkvEZqt903OZUlBBgigrQMvzUowvP/TTTu2OGYe1oweg5MFilfyrElIFag==", "cpu": [ "arm64" ], @@ -235,9 +235,9 @@ } }, "node_modules/@esbuild/linux-ia32": { - "version": "0.18.16", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.18.16.tgz", - "integrity": "sha512-no+pfEpwnRvIyH+txbBAWtjxPU9grslmTBfsmDndj7bnBmr55rOo/PfQmRfz7Qg9isswt1FP5hBbWb23fRWnow==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.19.0.tgz", + "integrity": "sha512-dz2Q7+P92r1Evc8kEN+cQnB3qqPjmCrOZ+EdBTn8lEc1yN8WDgaDORQQiX+mxaijbH8npXBT9GxUqE52Gt6Y+g==", "cpu": [ "ia32" ], @@ -251,9 +251,9 @@ } }, "node_modules/@esbuild/linux-loong64": { - "version": "0.18.16", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.18.16.tgz", - "integrity": "sha512-Zbnczs9ZXjmo0oZSS0zbNlJbcwKXa/fcNhYQjahDs4Xg18UumpXG/lwM2lcSvHS3mTrRyCYZvJbmzYc4laRI1g==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.19.0.tgz", + "integrity": "sha512-IcVJovJVflih4oFahhUw+N7YgNbuMSVFNr38awb0LNzfaiIfdqIh518nOfYaNQU3aVfiJnOIRVJDSAP4k35WxA==", "cpu": [ "loong64" ], @@ -267,9 +267,9 @@ } }, "node_modules/@esbuild/linux-mips64el": { - "version": "0.18.16", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.18.16.tgz", - "integrity": "sha512-YMF7hih1HVR/hQVa/ot4UVffc5ZlrzEb3k2ip0nZr1w6fnYypll9td2qcoMLvd3o8j3y6EbJM3MyIcXIVzXvQQ==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.19.0.tgz", + "integrity": "sha512-bZGRAGySMquWsKw0gIdsClwfvgbsSq/7oq5KVu1H1r9Il+WzOcfkV1hguntIuBjRVL8agI95i4AukjdAV2YpUw==", "cpu": [ "mips64el" ], @@ -283,9 +283,9 @@ } }, "node_modules/@esbuild/linux-ppc64": { - "version": "0.18.16", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.18.16.tgz", - "integrity": "sha512-Wkz++LZ29lDwUyTSEnzDaaP5OveOgTU69q9IyIw9WqLRxM4BjTBjz9un4G6TOvehWpf/J3gYVFN96TjGHrbcNQ==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.19.0.tgz", + "integrity": "sha512-3LC6H5/gCDorxoRBUdpLV/m7UthYSdar0XcCu+ypycQxMS08MabZ06y1D1yZlDzL/BvOYliRNRWVG/YJJvQdbg==", "cpu": [ "ppc64" ], @@ -299,9 +299,9 @@ } }, "node_modules/@esbuild/linux-riscv64": { - "version": "0.18.16", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.18.16.tgz", - "integrity": "sha512-LFMKZ30tk78/mUv1ygvIP+568bwf4oN6reG/uczXnz6SvFn4e2QUFpUpZY9iSJT6Qpgstrhef/nMykIXZtZWGQ==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.19.0.tgz", + "integrity": "sha512-jfvdKjWk+Cp2sgLtEEdSHXO7qckrw2B2eFBaoRdmfhThqZs29GMMg7q/LsQpybA7BxCLLEs4di5ucsWzZC5XPA==", "cpu": [ "riscv64" ], @@ -315,9 +315,9 @@ } }, "node_modules/@esbuild/linux-s390x": { - "version": "0.18.16", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.18.16.tgz", - "integrity": "sha512-3ZC0BgyYHYKfZo3AV2/66TD/I9tlSBaW7eWTEIkrQQKfJIifKMMttXl9FrAg+UT0SGYsCRLI35Gwdmm96vlOjg==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.19.0.tgz", + "integrity": "sha512-ofcucfNLkoXmcnJaw9ugdEOf40AWKGt09WBFCkpor+vFJVvmk/8OPjl/qRtks2Z7BuZbG3ztJuK1zS9z5Cgx9A==", "cpu": [ "s390x" ], @@ -331,9 +331,9 @@ } }, "node_modules/@esbuild/linux-x64": { - "version": "0.18.16", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.18.16.tgz", - "integrity": "sha512-xu86B3647DihHJHv/wx3NCz2Dg1gjQ8bbf9cVYZzWKY+gsvxYmn/lnVlqDRazObc3UMwoHpUhNYaZset4X8IPA==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.0.tgz", + "integrity": "sha512-Fpf7zNDBti3xrQKQKLdXT0hTyOxgFdRJIMtNy8x1az9ATR9/GJ1brYbB/GLWoXhKiHsoWs+2DLkFVNNMTCLEwA==", "cpu": [ "x64" ], @@ -347,9 +347,9 @@ } }, "node_modules/@esbuild/netbsd-x64": { - "version": "0.18.16", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.18.16.tgz", - "integrity": "sha512-uVAgpimx9Ffw3xowtg/7qQPwHFx94yCje+DoBx+LNm2ePDpQXHrzE+Sb0Si2VBObYz+LcRps15cq+95YM7gkUw==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.19.0.tgz", + "integrity": "sha512-AMQAp/5oENgDOvVhvOlbhVe1pWii7oFAMRHlmTjSEMcpjTpIHtFXhv9uAFgUERHm3eYtNvS9Vf+gT55cwuI6Aw==", "cpu": [ "x64" ], @@ -363,9 +363,9 @@ } }, "node_modules/@esbuild/openbsd-x64": { - "version": "0.18.16", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.18.16.tgz", - "integrity": "sha512-6OjCQM9wf7z8/MBi6BOWaTL2AS/SZudsZtBziXMtNI8r/U41AxS9x7jn0ATOwVy08OotwkPqGRMkpPR2wcTJXA==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.19.0.tgz", + "integrity": "sha512-fDztEve1QUs3h/Dw2AUmBlWGkNQbhDoD05ppm5jKvzQv+HVuV13so7m5RYeiSMIC2XQy7PAjZh+afkxAnCRZxA==", "cpu": [ "x64" ], @@ -379,9 +379,9 @@ } }, "node_modules/@esbuild/sunos-x64": { - "version": "0.18.16", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.18.16.tgz", - "integrity": "sha512-ZoNkruFYJp9d1LbUYCh8awgQDvB9uOMZqlQ+gGEZR7v6C+N6u7vPr86c+Chih8niBR81Q/bHOSKGBK3brJyvkQ==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.19.0.tgz", + "integrity": "sha512-bKZzJ2/rvUjDzA5Ddyva2tMk89WzNJEibZEaq+wY6SiqPlwgFbqyQLimouxLHiHh1itb5P3SNCIF1bc2bw5H9w==", "cpu": [ "x64" ], @@ -395,9 +395,9 @@ } }, "node_modules/@esbuild/win32-arm64": { - "version": "0.18.16", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.18.16.tgz", - "integrity": "sha512-+j4anzQ9hrs+iqO+/wa8UE6TVkKua1pXUb0XWFOx0FiAj6R9INJ+WE//1/Xo6FG1vB5EpH3ko+XcgwiDXTxcdw==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.19.0.tgz", + "integrity": "sha512-NQJ+4jmnA79saI+sE+QzcEls19uZkoEmdxo7r//PDOjIpX8pmoWtTnWg6XcbnO7o4fieyAwb5U2LvgWynF4diA==", "cpu": [ "arm64" ], @@ -411,9 +411,9 @@ } }, "node_modules/@esbuild/win32-ia32": { - "version": "0.18.16", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.18.16.tgz", - "integrity": "sha512-5PFPmq3sSKTp9cT9dzvI67WNfRZGvEVctcZa1KGjDDu4n3H8k59Inbk0du1fz0KrAbKKNpJbdFXQMDUz7BG4rQ==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.19.0.tgz", + "integrity": "sha512-uyxiZAnsfu9diHm9/rIH2soecF/HWLXYUhJKW4q1+/LLmNQ+55lRjvSUDhUmsgJtSUscRJB/3S4RNiTb9o9mCg==", "cpu": [ "ia32" ], @@ -427,9 +427,9 @@ } }, "node_modules/@esbuild/win32-x64": { - "version": "0.18.16", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.18.16.tgz", - "integrity": "sha512-sCIVrrtcWN5Ua7jYXNG1xD199IalrbfV2+0k/2Zf2OyV2FtnQnMgdzgpRAbi4AWlKJj1jkX+M+fEGPQj6BQB4w==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.19.0.tgz", + "integrity": "sha512-jl+NXUjK2StMgqnZnqgNjZuerFG8zQqWXMBZdMMv4W/aO1ZKQaYWZBxTrtWKphkCBVEMh0wMVfGgOd2BjOZqUQ==", "cpu": [ "x64" ], @@ -465,9 +465,9 @@ } }, "node_modules/@eslint/eslintrc": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.0.tgz", - "integrity": "sha512-Lj7DECXqIVCqnqjjHMPna4vn6GJcMgul/wuS0je9OZ9gsL0zzDpKPVtcG1HaDVc+9y+qgXneTeUMbCqXJNpH1A==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.1.tgz", + "integrity": "sha512-9t7ZA7NGGK8ckelF0PQCfcxIUzs1Md5rrO6U/c+FIQNanea5UZC0wqKXH4vHBccmu4ZJgZ2idtPeW7+Q2npOEA==", "dependencies": { "ajv": "^6.12.4", "debug": "^4.3.2", @@ -487,65 +487,65 @@ } }, "node_modules/@eslint/js": { - "version": "8.44.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.44.0.tgz", - "integrity": "sha512-Ag+9YM4ocKQx9AarydN0KY2j0ErMHNIocPDrVo8zAE44xLTjEtz81OdR68/cydGtk6m6jDb5Za3r2useMzYmSw==", + "version": "8.46.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.46.0.tgz", + "integrity": "sha512-a8TLtmPi8xzPkCbp/OGFUo5yhRkHM2Ko9kOWP4znJr0WAhWyThaw3PnwX4vOTWOAMsV2uRt32PPDcEz63esSaA==", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } }, "node_modules/@file-services/memory": { - "version": "7.4.0", - "resolved": "https://registry.npmjs.org/@file-services/memory/-/memory-7.4.0.tgz", - "integrity": "sha512-j+e0WTodbNZdGH7+9CG+iYdxMZhUoFhXi52ucpxUDH1CetTlS4kte9K1/MaBZWFaNCXpy57Mk91mZkfMrWk+HQ==", + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/@file-services/memory/-/memory-8.1.1.tgz", + "integrity": "sha512-IsFBUX2WoqyxD0Tek7+fvHkg5VPyXnNDA0q/nHOuAbKsVw9/Cj0ZfNOqqydvE0yCblk4RuFPziFFkO6EPWd4DQ==", "dependencies": { - "@file-services/path": "^7.4.0", - "@file-services/types": "^7.4.0", - "@file-services/utils": "^7.4.0" + "@file-services/path": "^8.1.1", + "@file-services/types": "^8.1.1", + "@file-services/utils": "^8.1.1" } }, "node_modules/@file-services/node": { - "version": "7.4.0", - "resolved": "https://registry.npmjs.org/@file-services/node/-/node-7.4.0.tgz", - "integrity": "sha512-eajJJV4sg8HTD5/8tz3u599vqcJp1w9nTEsrRnT/xKG38dToG481SacOBrJpMlcoNSygh0pHfj+gxkcQzyXRTQ==", + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/@file-services/node/-/node-8.1.1.tgz", + "integrity": "sha512-cgEKNeOozmw42O+kwzSSS+wx/KGNPT103rsINcjBFdFjI9wbwm2Nv216P5YhkEhBc4NpUXxJe4yn72Eb44TluQ==", "dependencies": { - "@file-services/types": "^7.4.0", - "@file-services/utils": "^7.4.0" + "@file-services/types": "^8.1.1", + "@file-services/utils": "^8.1.1" }, "engines": { "node": ">=14" } }, "node_modules/@file-services/path": { - "version": "7.4.0", - "resolved": "https://registry.npmjs.org/@file-services/path/-/path-7.4.0.tgz", - "integrity": "sha512-p4GMRlaTMLS3QXGCkIvCnR/Mq1K8k7PV1KbXzDN/c0SksRiHbuC3AYUNKx/y6AayJfsJ2zsFqbRYgQ6gU1BRIg==", + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/@file-services/path/-/path-8.1.1.tgz", + "integrity": "sha512-oG0bH2Jw8tqL+D3jstr9f3SL5e2eYIVqDT5TFO6WDbhgv8xvYUM/S6c2mOvp1wokzRQ7t3Ah4Dlnp1uNqe+49w==", "dependencies": { - "@file-services/types": "^7.4.0" + "@file-services/types": "^8.1.1" } }, "node_modules/@file-services/types": { - "version": "7.4.0", - "resolved": "https://registry.npmjs.org/@file-services/types/-/types-7.4.0.tgz", - "integrity": "sha512-KZue4o5MRAdpgjTjZU8uC4MRPBHCcxzfcT0cBVwqgEi/8OwCkjBuBm3sdJLVd/AdpZGoh/N4IrSXAgzpxrbjvQ==" + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/@file-services/types/-/types-8.1.1.tgz", + "integrity": "sha512-jlmBAT0V+1t1w1iwzl9bsAIQqxxYQ7Ob5mSPJbtLDHRP4F2f8NeGxkd5ZqZ+ITb+0dZCp+rKpJ0v/1/ZFChoNQ==" }, "node_modules/@file-services/typescript": { - "version": "7.4.0", - "resolved": "https://registry.npmjs.org/@file-services/typescript/-/typescript-7.4.0.tgz", - "integrity": "sha512-b87Bi4g7PM1v2KqqaRD5K8wa0paH1sNQNyhHiU0hZ604v0OhBdv23uPenb6KA+kMKlUBPbFwGj4x1l7LWxjEBQ==", + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/@file-services/typescript/-/typescript-8.1.1.tgz", + "integrity": "sha512-xerLHwHgBy4/z4ymQX26NzEPh+bu/TIPoQ0X88wO3A9bCFkWO/TvaUu2QiaeYczYmXVryYINeaGk6XwmmwbT5A==", "dependencies": { - "@file-services/types": "^7.4.0" + "@file-services/types": "^8.1.1" }, "peerDependencies": { "typescript": ">=2.8.0" } }, "node_modules/@file-services/utils": { - "version": "7.4.0", - "resolved": "https://registry.npmjs.org/@file-services/utils/-/utils-7.4.0.tgz", - "integrity": "sha512-XzM0vOIJDlLtpzGLytAig2SmYAS69zn6NrC1dlzvuQELhrMuB2JPY9zHesV/VreczxENCtRU88LKo5x0MTZ2ZA==", + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/@file-services/utils/-/utils-8.1.1.tgz", + "integrity": "sha512-lvMQFw1pc2NLcyJurOGrJQGDhODPzgnTpz8AJO3mr9njTnE8A/mXSZFen3FXBPT5Egnj7RqOZVkW7xOcv14ERg==", "dependencies": { - "@file-services/types": "^7.4.0" + "@file-services/types": "^8.1.1" } }, "node_modules/@humanwhocodes/config-array": { @@ -690,9 +690,9 @@ } }, "node_modules/@jridgewell/resolve-uri": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz", - "integrity": "sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz", + "integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==", "engines": { "node": ">=6.0.0" } @@ -720,19 +720,14 @@ "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==" }, "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.18", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.18.tgz", - "integrity": "sha512-w+niJYzMHdd7USdiH2U6869nqhD2nbfZXND5Yp93qIbEmnDNk7PD48o+YchRVpzMU7M6jVCbenTR7PA1FLQ9pA==", + "version": "0.3.19", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.19.tgz", + "integrity": "sha512-kf37QtfW+Hwx/buWGMPcR60iF9ziHa6r/CZJIHbmcm4+0qrXiVdxegAH0F6yddEVQ7zdkjcGCgCzUu+BcbhQxw==", "dependencies": { - "@jridgewell/resolve-uri": "3.1.0", - "@jridgewell/sourcemap-codec": "1.4.14" + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" } }, - "node_modules/@jridgewell/trace-mapping/node_modules/@jridgewell/sourcemap-codec": { - "version": "1.4.14", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz", - "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==" - }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", @@ -1005,9 +1000,9 @@ } }, "node_modules/@types/eslint": { - "version": "8.44.1", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.44.1.tgz", - "integrity": "sha512-XpNDc4Z5Tb4x+SW1MriMVeIsMoONHCkWFMkR/aPJbzEsxqHy+4Glu/BqTdPrApfDeMaXbtNh6bseNgl5KaWrSg==", + "version": "8.44.2", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.44.2.tgz", + "integrity": "sha512-sdPRb9K6iL5XZOmBubg8yiFp5yS/JdUDQsq5e6h95km91MCYMuvp7mh1fjPEYUhvHepKpZOjnEaMBR4PxjWDzg==", "dependencies": { "@types/estree": "*", "@types/json-schema": "*" @@ -1052,9 +1047,9 @@ "dev": true }, "node_modules/@types/js-beautify": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/@types/js-beautify/-/js-beautify-1.13.3.tgz", - "integrity": "sha512-ucIPw5gmNyvRKi6mpeojlqp+T+6ZBJeU+kqMDnIEDlijEU4QhLTon90sZ3cz9HZr+QTwXILjNsMZImzA7+zuJA==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@types/js-beautify/-/js-beautify-1.14.0.tgz", + "integrity": "sha512-OrJo4dEKd/8YKwGWuRP7qC/NoxNQCVsjAT7aHhgoIrNJaaDudLwX8husFrklktmXKIFbXevxzrLyEhB1842zjg==", "dev": true }, "node_modules/@types/json-schema": { @@ -1063,9 +1058,9 @@ "integrity": "sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA==" }, "node_modules/@types/lodash": { - "version": "4.14.196", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.196.tgz", - "integrity": "sha512-22y3o88f4a94mKljsZcanlNWPzO0uBsBdzLAngf2tp533LzZcQzb6+eZPJ+vCTt+bqF2XnvT9gejTLsAcJAJyQ==", + "version": "4.14.197", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.197.tgz", + "integrity": "sha512-BMVOiWs0uNxHVlHBgzTIqJYmj+PgCo4euloGF+5m4okL3rEYzM2EEv78mw8zWSMM57dM7kVIgJ2QDvwHSoCI5g==", "dev": true }, "node_modules/@types/lodash.camelcase": { @@ -1155,9 +1150,9 @@ "dev": true }, "node_modules/@types/react": { - "version": "18.2.16", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.16.tgz", - "integrity": "sha512-LLFWr12ZhBJ4YVw7neWLe6Pk7Ey5R9OCydfuMsz1L8bZxzaawJj2p06Q8/EFEHDeTBQNFLF62X+CG7B2zIyu0Q==", + "version": "18.2.20", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.20.tgz", + "integrity": "sha512-WKNtmsLWJM/3D5mG4U84cysVY31ivmyw85dE84fOCk5Hx78wezB/XEjVPWl2JTZ5FkEeaTJf+VgUAUn3PE7Isw==", "dev": true, "dependencies": { "@types/prop-types": "*", @@ -1885,9 +1880,9 @@ "dev": true }, "node_modules/browserslist": { - "version": "4.21.9", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.9.tgz", - "integrity": "sha512-M0MFoZzbUrRU4KNfCrDLnvyE7gub+peetoTid3TBIqtunaDJyXlwhakT+/VkvSXcfIzFfK/nkCs4nmyTmxdNSg==", + "version": "4.21.10", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.10.tgz", + "integrity": "sha512-bipEBdZfVH5/pwrvqc+Ub0kUPVfGUhlKxbvfD+z1BDnPEO/X98ruXGA1WP5ASpAFKan7Qr6j736IacbZQuAlKQ==", "funding": [ { "type": "opencollective", @@ -1903,9 +1898,9 @@ } ], "dependencies": { - "caniuse-lite": "^1.0.30001503", - "electron-to-chromium": "^1.4.431", - "node-releases": "^2.0.12", + "caniuse-lite": "^1.0.30001517", + "electron-to-chromium": "^1.4.477", + "node-releases": "^2.0.13", "update-browserslist-db": "^1.0.11" }, "bin": { @@ -2041,9 +2036,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001517", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001517.tgz", - "integrity": "sha512-Vdhm5S11DaFVLlyiKu4hiUTkpZu+y1KA/rZZqVQfOD5YdDT/eQKlkt7NaE0WGOFgX32diqt9MiP9CAiFeRklaA==", + "version": "1.0.30001519", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001519.tgz", + "integrity": "sha512-0QHgqR+Jv4bxHMp8kZ1Kn8CH55OikjKJ6JmKkZYP1F3D7w+lnFXF70nG5eNfsZS89jadi5Ywy5UCSKLAglIRkg==", "funding": [ { "type": "opencollective", @@ -2607,9 +2602,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.471", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.471.tgz", - "integrity": "sha512-GpmGRC1vTl60w/k6YpQ18pSiqnmr0j3un//5TV1idPi6aheNfkT1Ye71tMEabWyNDO6sBMgAR+95Eb0eUUr1tA==" + "version": "1.4.490", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.490.tgz", + "integrity": "sha512-6s7NVJz+sATdYnIwhdshx/N/9O6rvMxmhVoDSDFdj6iA45gHR8EQje70+RYsF4GeB+k0IeNSBnP7yG9ZXJFr7A==" }, "node_modules/emoji-regex": { "version": "8.0.0", @@ -2745,9 +2740,9 @@ } }, "node_modules/esbuild": { - "version": "0.18.16", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.18.16.tgz", - "integrity": "sha512-1xLsOXrDqwdHxyXb/x/SOyg59jpf/SH7YMvU5RNSU7z3TInaASNJWNFJ6iRvLvLETZMasF3d1DdZLg7sgRimRQ==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.19.0.tgz", + "integrity": "sha512-i7i8TP4vuG55bKeLyqqk5sTPu1ZjPH3wkcLvAj/0X/222iWFo3AJUYRKjbOoY6BWFMH3teizxHEdV9Su5ESl0w==", "hasInstallScript": true, "peer": true, "bin": { @@ -2757,28 +2752,28 @@ "node": ">=12" }, "optionalDependencies": { - "@esbuild/android-arm": "0.18.16", - "@esbuild/android-arm64": "0.18.16", - "@esbuild/android-x64": "0.18.16", - "@esbuild/darwin-arm64": "0.18.16", - "@esbuild/darwin-x64": "0.18.16", - "@esbuild/freebsd-arm64": "0.18.16", - "@esbuild/freebsd-x64": "0.18.16", - "@esbuild/linux-arm": "0.18.16", - "@esbuild/linux-arm64": "0.18.16", - "@esbuild/linux-ia32": "0.18.16", - "@esbuild/linux-loong64": "0.18.16", - "@esbuild/linux-mips64el": "0.18.16", - "@esbuild/linux-ppc64": "0.18.16", - "@esbuild/linux-riscv64": "0.18.16", - "@esbuild/linux-s390x": "0.18.16", - "@esbuild/linux-x64": "0.18.16", - "@esbuild/netbsd-x64": "0.18.16", - "@esbuild/openbsd-x64": "0.18.16", - "@esbuild/sunos-x64": "0.18.16", - "@esbuild/win32-arm64": "0.18.16", - "@esbuild/win32-ia32": "0.18.16", - "@esbuild/win32-x64": "0.18.16" + "@esbuild/android-arm": "0.19.0", + "@esbuild/android-arm64": "0.19.0", + "@esbuild/android-x64": "0.19.0", + "@esbuild/darwin-arm64": "0.19.0", + "@esbuild/darwin-x64": "0.19.0", + "@esbuild/freebsd-arm64": "0.19.0", + "@esbuild/freebsd-x64": "0.19.0", + "@esbuild/linux-arm": "0.19.0", + "@esbuild/linux-arm64": "0.19.0", + "@esbuild/linux-ia32": "0.19.0", + "@esbuild/linux-loong64": "0.19.0", + "@esbuild/linux-mips64el": "0.19.0", + "@esbuild/linux-ppc64": "0.19.0", + "@esbuild/linux-riscv64": "0.19.0", + "@esbuild/linux-s390x": "0.19.0", + "@esbuild/linux-x64": "0.19.0", + "@esbuild/netbsd-x64": "0.19.0", + "@esbuild/openbsd-x64": "0.19.0", + "@esbuild/sunos-x64": "0.19.0", + "@esbuild/win32-arm64": "0.19.0", + "@esbuild/win32-ia32": "0.19.0", + "@esbuild/win32-x64": "0.19.0" } }, "node_modules/escalade": { @@ -2801,26 +2796,26 @@ } }, "node_modules/eslint": { - "version": "8.45.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.45.0.tgz", - "integrity": "sha512-pd8KSxiQpdYRfYa9Wufvdoct3ZPQQuVuU5O6scNgMuOMYuxvH0IGaYK0wUFjo4UYYQQCUndlXiMbnxopwvvTiw==", + "version": "8.46.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.46.0.tgz", + "integrity": "sha512-cIO74PvbW0qU8e0mIvk5IV3ToWdCq5FYG6gWPHHkx6gNdjlbAYvtfHmlCMXxjcoVaIdwy/IAt3+mDkZkfvb2Dg==", "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", - "@eslint-community/regexpp": "^4.4.0", - "@eslint/eslintrc": "^2.1.0", - "@eslint/js": "8.44.0", + "@eslint-community/regexpp": "^4.6.1", + "@eslint/eslintrc": "^2.1.1", + "@eslint/js": "^8.46.0", "@humanwhocodes/config-array": "^0.11.10", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", - "ajv": "^6.10.0", + "ajv": "^6.12.4", "chalk": "^4.0.0", "cross-spawn": "^7.0.2", "debug": "^4.3.2", "doctrine": "^3.0.0", "escape-string-regexp": "^4.0.0", - "eslint-scope": "^7.2.0", - "eslint-visitor-keys": "^3.4.1", - "espree": "^9.6.0", + "eslint-scope": "^7.2.2", + "eslint-visitor-keys": "^3.4.2", + "espree": "^9.6.1", "esquery": "^1.4.2", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", @@ -2854,9 +2849,9 @@ } }, "node_modules/eslint-config-prettier": { - "version": "8.8.0", - "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.8.0.tgz", - "integrity": "sha512-wLbQiFre3tdGgpDv67NQKnJuTlcUVYHas3k+DZCc2U2BadthoEY4B7hLPvAxaqdyOGCzuLfii2fqGph10va7oA==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-9.0.0.tgz", + "integrity": "sha512-IcJsTkJae2S35pRsRAwoCE+925rJJStOdkKnLVgtE+tEpqU0EVVM7OqrwxqgptKdX29NUwC82I5pXsGFIgSevw==", "dev": true, "bin": { "eslint-config-prettier": "bin/cli.js" @@ -2882,9 +2877,9 @@ } }, "node_modules/eslint-visitor-keys": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz", - "integrity": "sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==", + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.2.tgz", + "integrity": "sha512-8drBzUEyZ2llkpCA67iYrgEssKDUu68V8ChqqOfFupIaG/LCVPUT+CoGJpT77zJprs4T/W7p07LP7zAIMuweVw==", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, @@ -2893,9 +2888,9 @@ } }, "node_modules/eslint/node_modules/eslint-scope": { - "version": "7.2.1", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.1.tgz", - "integrity": "sha512-CvefSOsDdaYYvxChovdrPo/ZGt8d5lrJWleAc1diXRKhHGiTYEI26cvo8Kle/wGnsizoCJjK73FMg1/IkIwiNA==", + "version": "7.2.2", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", + "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", "dependencies": { "esrecurse": "^4.3.0", "estraverse": "^5.2.0" @@ -3737,9 +3732,9 @@ } }, "node_modules/is-core-module": { - "version": "2.12.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.12.1.tgz", - "integrity": "sha512-Q4ZuBAe2FUsKtyQJoQHlvP8OvBERxO3jEmy1I7hcRXcJBGGHFh/aJBswbXuS9sgrDH2QUO8ilkwNPHvHMd8clg==", + "version": "2.13.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.0.tgz", + "integrity": "sha512-Z7dk6Qo8pOCp3l4tsX2C5ZVas4V+UxwQodwZhLopL91TX8UyyHEXafPcyoeeWuLrwzHcr3igO78wNLwHJHsMCQ==", "dev": true, "dependencies": { "has": "^1.0.3" @@ -4001,9 +3996,9 @@ } }, "node_modules/jackspeak": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.2.2.tgz", - "integrity": "sha512-mgNtVv4vUuaKA97yxUHoA3+FkuhtxkjdXEWOyB/N76fjy0FjezEt34oy3epBtvCvS+7DyKwqCFWx/oJLV5+kCg==", + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.2.3.tgz", + "integrity": "sha512-pF0kfjmg8DJLxDrizHoCZGUFz4P4czQ3HyfW4BU0ffebYkzAVlBywp5zaxW/TM+r0sGbmrQdi8EQQVTJFxnGsQ==", "dependencies": { "@isaacs/cliui": "^8.0.2" }, @@ -5083,9 +5078,9 @@ } }, "node_modules/path-scurry/node_modules/lru-cache": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.0.0.tgz", - "integrity": "sha512-svTf/fzsKHffP42sujkO/Rjs37BCIsQVRCeNYIm9WN8rgT7ffoUnRtZCqU+6BqcSBdv8gwJeTz8knJpgACeQMw==", + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.0.1.tgz", + "integrity": "sha512-IJ4uwUTi2qCccrioU6g9g/5rvvVl13bsdczUUcqbciD9iLr095yj8DQKdObriEvuNSx325N1rV1O0sJFszx75g==", "engines": { "node": "14 || >=16.14" } @@ -5144,13 +5139,13 @@ } }, "node_modules/playwright-chromium": { - "version": "1.36.2", - "resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.36.2.tgz", - "integrity": "sha512-ONY6+ON1A+qYUBiymWn3MHnBjdPO6lYIi2SiQbUo1OA0cSZaxx9vM2mRYY3p7JLC6AhAbPEimZdXetQx48AHkA==", + "version": "1.37.0", + "resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.37.0.tgz", + "integrity": "sha512-56DOca+pGZombnX34ZwO1fI7HLgv3IgzqzNT1kmYAJ82JytqmXFz/umA7WkkONn9cN3WRPswqrqvD+3pq46rdg==", "dev": true, "hasInstallScript": true, "dependencies": { - "playwright-core": "1.36.2" + "playwright-core": "1.37.0" }, "bin": { "playwright": "cli.js" @@ -5160,9 +5155,9 @@ } }, "node_modules/playwright-core": { - "version": "1.36.2", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.36.2.tgz", - "integrity": "sha512-sQYZt31dwkqxOrP7xy2ggDfEzUxM1lodjhsQ3NMMv5uGTRDsLxU0e4xf4wwMkF2gplIxf17QMBCodSFgm6bFVQ==", + "version": "1.37.0", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.37.0.tgz", + "integrity": "sha512-1c46jhTH/myQw6sesrcuHVtLoSNfJv8Pfy9t3rs6subY7kARv0HRw5PpyfPYPpPtQvBOmgbE6K+qgYUpj81LAA==", "bin": { "playwright-core": "cli.js" }, @@ -5544,12 +5539,12 @@ } }, "node_modules/resolve": { - "version": "1.22.2", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.2.tgz", - "integrity": "sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g==", + "version": "1.22.4", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.4.tgz", + "integrity": "sha512-PXNdCiPqDqeUou+w1C2eTQbNfxKSuMxqTCuvlmmMsk1NWHL5fRrhY6Pl0qEYYc6+QqGClco1Qj8XnjPego4wfg==", "dev": true, "dependencies": { - "is-core-module": "^2.11.0", + "is-core-module": "^2.13.0", "path-parse": "^1.0.7", "supports-preserve-symlinks-flag": "^1.0.0" }, @@ -5653,9 +5648,9 @@ } }, "node_modules/rimraf/node_modules/signal-exit": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.0.2.tgz", - "integrity": "sha512-MY2/qGx4enyjprQnFaZsHib3Yadh3IXyV2C321GY0pjGfVBu4un0uDJkwgdxqO+Rdx8JMT8IfJIRwbYVz3Ob3Q==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", "engines": { "node": ">=14" }, @@ -5664,9 +5659,9 @@ } }, "node_modules/rollup": { - "version": "3.26.3", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.26.3.tgz", - "integrity": "sha512-7Tin0C8l86TkpcMtXvQu6saWH93nhG3dGQ1/+l5V2TDMceTxO7kDiK6GzbfLWNNxqJXm591PcEZUozZm51ogwQ==", + "version": "3.28.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.28.0.tgz", + "integrity": "sha512-d7zhvo1OUY2SXSM6pfNjgD5+d0Nz87CUp4mt8l/GgVP3oBsPwzNvSzyu1me6BSG9JIgWNTVcafIXBIyM8yQ3yw==", "bin": { "rollup": "dist/bin/rollup" }, @@ -6827,8 +6822,8 @@ "version": "5.15.1", "license": "MIT", "dependencies": { - "@file-services/node": "^7.4.0", - "@file-services/types": "^7.4.0", + "@file-services/node": "^8.1.1", + "@file-services/types": "^8.1.1", "@stylable/build-tools": "^5.15.1", "@stylable/code-formatter": "^5.15.1", "@stylable/core": "^5.15.1", @@ -6905,7 +6900,7 @@ "version": "5.15.1", "license": "MIT", "dependencies": { - "@file-services/memory": "^7.4.0", + "@file-services/memory": "^8.1.1", "@stylable/core": "^5.15.1", "chai": "^4.3.7", "flat": "^5.0.2", @@ -6964,7 +6959,7 @@ "dependencies": { "@stylable/runtime": "^5.15.1", "node-eval": "^2.0.0", - "playwright-core": "^1.36.2", + "playwright-core": "^1.37.0", "rimraf": "^5.0.1" }, "engines": { @@ -7040,8 +7035,8 @@ "version": "5.15.1", "license": "MIT", "dependencies": { - "@file-services/types": "^7.4.0", - "@file-services/typescript": "^7.4.0", + "@file-services/types": "^8.1.1", + "@file-services/typescript": "^8.1.1", "@stylable/code-formatter": "^5.15.1", "@stylable/core": "^5.15.1", "@tokey/core": "^1.4.0", @@ -7218,156 +7213,156 @@ "dev": true }, "@esbuild/android-arm": { - "version": "0.18.16", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.16.tgz", - "integrity": "sha512-gCHjjQmA8L0soklKbLKA6pgsLk1byULuHe94lkZDzcO3/Ta+bbeewJioEn1Fr7kgy9NWNFy/C+MrBwC6I/WCug==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.0.tgz", + "integrity": "sha512-GAkjUyHgWTYuex3evPd5V7uV/XS4LMKr1PWHRPW1xNyy/Jx08x3uTrDFRefBYLKT/KpaWM8/YMQcwbp5a3yIDA==", "optional": true, "peer": true }, "@esbuild/android-arm64": { - "version": "0.18.16", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.18.16.tgz", - "integrity": "sha512-wsCqSPqLz+6Ov+OM4EthU43DyYVVyfn15S4j1bJzylDpc1r1jZFFfJQNfDuT8SlgwuqpmpJXK4uPlHGw6ve7eA==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.19.0.tgz", + "integrity": "sha512-AzsozJnB+RNaDncBCs3Ys5g3kqhPFUueItfEaCpp89JH2naFNX2mYDIvUgPYMqqjm8hiFoo+jklb3QHZyR3ubw==", "optional": true, "peer": true }, "@esbuild/android-x64": { - "version": "0.18.16", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.18.16.tgz", - "integrity": "sha512-ldsTXolyA3eTQ1//4DS+E15xl0H/3DTRJaRL0/0PgkqDsI0fV/FlOtD+h0u/AUJr+eOTlZv4aC9gvfppo3C4sw==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.19.0.tgz", + "integrity": "sha512-SUG8/qiVhljBDpdkHQ9DvOWbp7hFFIP0OzxOTptbmVsgBgzY6JWowmMd6yJuOhapfxmj/DrvwKmjRLvVSIAKZg==", "optional": true, "peer": true }, "@esbuild/darwin-arm64": { - "version": "0.18.16", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.18.16.tgz", - "integrity": "sha512-aBxruWCII+OtluORR/KvisEw0ALuw/qDQWvkoosA+c/ngC/Kwk0lLaZ+B++LLS481/VdydB2u6tYpWxUfnLAIw==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.19.0.tgz", + "integrity": "sha512-HkxZ8k3Jvcw0FORPNTavA8BMgQjLOB6AajT+iXmil7BwY3gU1hWvJJAyWyEogCmA4LdbGvKF8vEykdmJ4xNJJQ==", "optional": true, "peer": true }, "@esbuild/darwin-x64": { - "version": "0.18.16", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.18.16.tgz", - "integrity": "sha512-6w4Dbue280+rp3LnkgmriS1icOUZDyPuZo/9VsuMUTns7SYEiOaJ7Ca1cbhu9KVObAWfmdjUl4gwy9TIgiO5eA==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.19.0.tgz", + "integrity": "sha512-9IRWJjqpWFHM9a5Qs3r3bK834NCFuDY5ZaLrmTjqE+10B6w65UMQzeZjh794JcxpHolsAHqwsN/33crUXNCM2Q==", "optional": true, "peer": true }, "@esbuild/freebsd-arm64": { - "version": "0.18.16", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.16.tgz", - "integrity": "sha512-x35fCebhe9s979DGKbVAwXUOcTmCIE32AIqB9CB1GralMIvxdnMLAw5CnID17ipEw9/3MvDsusj/cspYt2ZLNQ==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.0.tgz", + "integrity": "sha512-s7i2WcXcK0V1PJHVBe7NsGddsL62a9Vhpz2U7zapPrwKoFuxPP9jybwX8SXnropR/AOj3ppt2ern4ItblU6UQQ==", "optional": true, "peer": true }, "@esbuild/freebsd-x64": { - "version": "0.18.16", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.18.16.tgz", - "integrity": "sha512-YM98f+PeNXF3GbxIJlUsj+McUWG1irguBHkszCIwfr3BXtXZsXo0vqybjUDFfu9a8Wr7uUD/YSmHib+EeGAFlg==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.19.0.tgz", + "integrity": "sha512-NMdBSSdgwHCqCsucU5k1xflIIRU0qi1QZnM6+vdGy5fvxm1c8rKh50VzsWsIVTFUG3l91AtRxVwoz3Lcvy3I5w==", "optional": true, "peer": true }, "@esbuild/linux-arm": { - "version": "0.18.16", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.18.16.tgz", - "integrity": "sha512-b5ABb+5Ha2C9JkeZXV+b+OruR1tJ33ePmv9ZwMeETSEKlmu/WJ45XTTG+l6a2KDsQtJJ66qo/hbSGBtk0XVLHw==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.19.0.tgz", + "integrity": "sha512-2F1+lH7ZBcCcgxiSs8EXQV0PPJJdTNiNcXxDb61vzxTRJJkXX1I/ye9mAhfHyScXzHaEibEXg1Jq9SW586zz7w==", "optional": true, "peer": true }, "@esbuild/linux-arm64": { - "version": "0.18.16", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.18.16.tgz", - "integrity": "sha512-XIqhNUxJiuy+zsR77+H5Z2f7s4YRlriSJKtvx99nJuG5ATuJPjmZ9n0ANgnGlPCpXGSReFpgcJ7O3SMtzIFeiQ==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.19.0.tgz", + "integrity": "sha512-I4zvE2srSZxRPapFnNqj+NL3sDJ1wkvEZqt903OZUlBBgigrQMvzUowvP/TTTu2OGYe1oweg5MFilfyrElIFag==", "optional": true, "peer": true }, "@esbuild/linux-ia32": { - "version": "0.18.16", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.18.16.tgz", - "integrity": "sha512-no+pfEpwnRvIyH+txbBAWtjxPU9grslmTBfsmDndj7bnBmr55rOo/PfQmRfz7Qg9isswt1FP5hBbWb23fRWnow==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.19.0.tgz", + "integrity": "sha512-dz2Q7+P92r1Evc8kEN+cQnB3qqPjmCrOZ+EdBTn8lEc1yN8WDgaDORQQiX+mxaijbH8npXBT9GxUqE52Gt6Y+g==", "optional": true, "peer": true }, "@esbuild/linux-loong64": { - "version": "0.18.16", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.18.16.tgz", - "integrity": "sha512-Zbnczs9ZXjmo0oZSS0zbNlJbcwKXa/fcNhYQjahDs4Xg18UumpXG/lwM2lcSvHS3mTrRyCYZvJbmzYc4laRI1g==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.19.0.tgz", + "integrity": "sha512-IcVJovJVflih4oFahhUw+N7YgNbuMSVFNr38awb0LNzfaiIfdqIh518nOfYaNQU3aVfiJnOIRVJDSAP4k35WxA==", "optional": true, "peer": true }, "@esbuild/linux-mips64el": { - "version": "0.18.16", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.18.16.tgz", - "integrity": "sha512-YMF7hih1HVR/hQVa/ot4UVffc5ZlrzEb3k2ip0nZr1w6fnYypll9td2qcoMLvd3o8j3y6EbJM3MyIcXIVzXvQQ==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.19.0.tgz", + "integrity": "sha512-bZGRAGySMquWsKw0gIdsClwfvgbsSq/7oq5KVu1H1r9Il+WzOcfkV1hguntIuBjRVL8agI95i4AukjdAV2YpUw==", "optional": true, "peer": true }, "@esbuild/linux-ppc64": { - "version": "0.18.16", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.18.16.tgz", - "integrity": "sha512-Wkz++LZ29lDwUyTSEnzDaaP5OveOgTU69q9IyIw9WqLRxM4BjTBjz9un4G6TOvehWpf/J3gYVFN96TjGHrbcNQ==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.19.0.tgz", + "integrity": "sha512-3LC6H5/gCDorxoRBUdpLV/m7UthYSdar0XcCu+ypycQxMS08MabZ06y1D1yZlDzL/BvOYliRNRWVG/YJJvQdbg==", "optional": true, "peer": true }, "@esbuild/linux-riscv64": { - "version": "0.18.16", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.18.16.tgz", - "integrity": "sha512-LFMKZ30tk78/mUv1ygvIP+568bwf4oN6reG/uczXnz6SvFn4e2QUFpUpZY9iSJT6Qpgstrhef/nMykIXZtZWGQ==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.19.0.tgz", + "integrity": "sha512-jfvdKjWk+Cp2sgLtEEdSHXO7qckrw2B2eFBaoRdmfhThqZs29GMMg7q/LsQpybA7BxCLLEs4di5ucsWzZC5XPA==", "optional": true, "peer": true }, "@esbuild/linux-s390x": { - "version": "0.18.16", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.18.16.tgz", - "integrity": "sha512-3ZC0BgyYHYKfZo3AV2/66TD/I9tlSBaW7eWTEIkrQQKfJIifKMMttXl9FrAg+UT0SGYsCRLI35Gwdmm96vlOjg==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.19.0.tgz", + "integrity": "sha512-ofcucfNLkoXmcnJaw9ugdEOf40AWKGt09WBFCkpor+vFJVvmk/8OPjl/qRtks2Z7BuZbG3ztJuK1zS9z5Cgx9A==", "optional": true, "peer": true }, "@esbuild/linux-x64": { - "version": "0.18.16", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.18.16.tgz", - "integrity": "sha512-xu86B3647DihHJHv/wx3NCz2Dg1gjQ8bbf9cVYZzWKY+gsvxYmn/lnVlqDRazObc3UMwoHpUhNYaZset4X8IPA==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.0.tgz", + "integrity": "sha512-Fpf7zNDBti3xrQKQKLdXT0hTyOxgFdRJIMtNy8x1az9ATR9/GJ1brYbB/GLWoXhKiHsoWs+2DLkFVNNMTCLEwA==", "optional": true, "peer": true }, "@esbuild/netbsd-x64": { - "version": "0.18.16", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.18.16.tgz", - "integrity": "sha512-uVAgpimx9Ffw3xowtg/7qQPwHFx94yCje+DoBx+LNm2ePDpQXHrzE+Sb0Si2VBObYz+LcRps15cq+95YM7gkUw==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.19.0.tgz", + "integrity": "sha512-AMQAp/5oENgDOvVhvOlbhVe1pWii7oFAMRHlmTjSEMcpjTpIHtFXhv9uAFgUERHm3eYtNvS9Vf+gT55cwuI6Aw==", "optional": true, "peer": true }, "@esbuild/openbsd-x64": { - "version": "0.18.16", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.18.16.tgz", - "integrity": "sha512-6OjCQM9wf7z8/MBi6BOWaTL2AS/SZudsZtBziXMtNI8r/U41AxS9x7jn0ATOwVy08OotwkPqGRMkpPR2wcTJXA==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.19.0.tgz", + "integrity": "sha512-fDztEve1QUs3h/Dw2AUmBlWGkNQbhDoD05ppm5jKvzQv+HVuV13so7m5RYeiSMIC2XQy7PAjZh+afkxAnCRZxA==", "optional": true, "peer": true }, "@esbuild/sunos-x64": { - "version": "0.18.16", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.18.16.tgz", - "integrity": "sha512-ZoNkruFYJp9d1LbUYCh8awgQDvB9uOMZqlQ+gGEZR7v6C+N6u7vPr86c+Chih8niBR81Q/bHOSKGBK3brJyvkQ==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.19.0.tgz", + "integrity": "sha512-bKZzJ2/rvUjDzA5Ddyva2tMk89WzNJEibZEaq+wY6SiqPlwgFbqyQLimouxLHiHh1itb5P3SNCIF1bc2bw5H9w==", "optional": true, "peer": true }, "@esbuild/win32-arm64": { - "version": "0.18.16", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.18.16.tgz", - "integrity": "sha512-+j4anzQ9hrs+iqO+/wa8UE6TVkKua1pXUb0XWFOx0FiAj6R9INJ+WE//1/Xo6FG1vB5EpH3ko+XcgwiDXTxcdw==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.19.0.tgz", + "integrity": "sha512-NQJ+4jmnA79saI+sE+QzcEls19uZkoEmdxo7r//PDOjIpX8pmoWtTnWg6XcbnO7o4fieyAwb5U2LvgWynF4diA==", "optional": true, "peer": true }, "@esbuild/win32-ia32": { - "version": "0.18.16", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.18.16.tgz", - "integrity": "sha512-5PFPmq3sSKTp9cT9dzvI67WNfRZGvEVctcZa1KGjDDu4n3H8k59Inbk0du1fz0KrAbKKNpJbdFXQMDUz7BG4rQ==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.19.0.tgz", + "integrity": "sha512-uyxiZAnsfu9diHm9/rIH2soecF/HWLXYUhJKW4q1+/LLmNQ+55lRjvSUDhUmsgJtSUscRJB/3S4RNiTb9o9mCg==", "optional": true, "peer": true }, "@esbuild/win32-x64": { - "version": "0.18.16", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.18.16.tgz", - "integrity": "sha512-sCIVrrtcWN5Ua7jYXNG1xD199IalrbfV2+0k/2Zf2OyV2FtnQnMgdzgpRAbi4AWlKJj1jkX+M+fEGPQj6BQB4w==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.19.0.tgz", + "integrity": "sha512-jl+NXUjK2StMgqnZnqgNjZuerFG8zQqWXMBZdMMv4W/aO1ZKQaYWZBxTrtWKphkCBVEMh0wMVfGgOd2BjOZqUQ==", "optional": true, "peer": true }, @@ -7385,9 +7380,9 @@ "integrity": "sha512-pPTNuaAG3QMH+buKyBIGJs3g/S5y0caxw0ygM3YyE6yJFySwiGGSzA+mM3KJ8QQvzeLh3blwgSonkFjgQdxzMw==" }, "@eslint/eslintrc": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.0.tgz", - "integrity": "sha512-Lj7DECXqIVCqnqjjHMPna4vn6GJcMgul/wuS0je9OZ9gsL0zzDpKPVtcG1HaDVc+9y+qgXneTeUMbCqXJNpH1A==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.1.tgz", + "integrity": "sha512-9t7ZA7NGGK8ckelF0PQCfcxIUzs1Md5rrO6U/c+FIQNanea5UZC0wqKXH4vHBccmu4ZJgZ2idtPeW7+Q2npOEA==", "requires": { "ajv": "^6.12.4", "debug": "^4.3.2", @@ -7401,56 +7396,56 @@ } }, "@eslint/js": { - "version": "8.44.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.44.0.tgz", - "integrity": "sha512-Ag+9YM4ocKQx9AarydN0KY2j0ErMHNIocPDrVo8zAE44xLTjEtz81OdR68/cydGtk6m6jDb5Za3r2useMzYmSw==" + "version": "8.46.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.46.0.tgz", + "integrity": "sha512-a8TLtmPi8xzPkCbp/OGFUo5yhRkHM2Ko9kOWP4znJr0WAhWyThaw3PnwX4vOTWOAMsV2uRt32PPDcEz63esSaA==" }, "@file-services/memory": { - "version": "7.4.0", - "resolved": "https://registry.npmjs.org/@file-services/memory/-/memory-7.4.0.tgz", - "integrity": "sha512-j+e0WTodbNZdGH7+9CG+iYdxMZhUoFhXi52ucpxUDH1CetTlS4kte9K1/MaBZWFaNCXpy57Mk91mZkfMrWk+HQ==", + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/@file-services/memory/-/memory-8.1.1.tgz", + "integrity": "sha512-IsFBUX2WoqyxD0Tek7+fvHkg5VPyXnNDA0q/nHOuAbKsVw9/Cj0ZfNOqqydvE0yCblk4RuFPziFFkO6EPWd4DQ==", "requires": { - "@file-services/path": "^7.4.0", - "@file-services/types": "^7.4.0", - "@file-services/utils": "^7.4.0" + "@file-services/path": "^8.1.1", + "@file-services/types": "^8.1.1", + "@file-services/utils": "^8.1.1" } }, "@file-services/node": { - "version": "7.4.0", - "resolved": "https://registry.npmjs.org/@file-services/node/-/node-7.4.0.tgz", - "integrity": "sha512-eajJJV4sg8HTD5/8tz3u599vqcJp1w9nTEsrRnT/xKG38dToG481SacOBrJpMlcoNSygh0pHfj+gxkcQzyXRTQ==", + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/@file-services/node/-/node-8.1.1.tgz", + "integrity": "sha512-cgEKNeOozmw42O+kwzSSS+wx/KGNPT103rsINcjBFdFjI9wbwm2Nv216P5YhkEhBc4NpUXxJe4yn72Eb44TluQ==", "requires": { - "@file-services/types": "^7.4.0", - "@file-services/utils": "^7.4.0" + "@file-services/types": "^8.1.1", + "@file-services/utils": "^8.1.1" } }, "@file-services/path": { - "version": "7.4.0", - "resolved": "https://registry.npmjs.org/@file-services/path/-/path-7.4.0.tgz", - "integrity": "sha512-p4GMRlaTMLS3QXGCkIvCnR/Mq1K8k7PV1KbXzDN/c0SksRiHbuC3AYUNKx/y6AayJfsJ2zsFqbRYgQ6gU1BRIg==", + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/@file-services/path/-/path-8.1.1.tgz", + "integrity": "sha512-oG0bH2Jw8tqL+D3jstr9f3SL5e2eYIVqDT5TFO6WDbhgv8xvYUM/S6c2mOvp1wokzRQ7t3Ah4Dlnp1uNqe+49w==", "requires": { - "@file-services/types": "^7.4.0" + "@file-services/types": "^8.1.1" } }, "@file-services/types": { - "version": "7.4.0", - "resolved": "https://registry.npmjs.org/@file-services/types/-/types-7.4.0.tgz", - "integrity": "sha512-KZue4o5MRAdpgjTjZU8uC4MRPBHCcxzfcT0cBVwqgEi/8OwCkjBuBm3sdJLVd/AdpZGoh/N4IrSXAgzpxrbjvQ==" + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/@file-services/types/-/types-8.1.1.tgz", + "integrity": "sha512-jlmBAT0V+1t1w1iwzl9bsAIQqxxYQ7Ob5mSPJbtLDHRP4F2f8NeGxkd5ZqZ+ITb+0dZCp+rKpJ0v/1/ZFChoNQ==" }, "@file-services/typescript": { - "version": "7.4.0", - "resolved": "https://registry.npmjs.org/@file-services/typescript/-/typescript-7.4.0.tgz", - "integrity": "sha512-b87Bi4g7PM1v2KqqaRD5K8wa0paH1sNQNyhHiU0hZ604v0OhBdv23uPenb6KA+kMKlUBPbFwGj4x1l7LWxjEBQ==", + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/@file-services/typescript/-/typescript-8.1.1.tgz", + "integrity": "sha512-xerLHwHgBy4/z4ymQX26NzEPh+bu/TIPoQ0X88wO3A9bCFkWO/TvaUu2QiaeYczYmXVryYINeaGk6XwmmwbT5A==", "requires": { - "@file-services/types": "^7.4.0" + "@file-services/types": "^8.1.1" } }, "@file-services/utils": { - "version": "7.4.0", - "resolved": "https://registry.npmjs.org/@file-services/utils/-/utils-7.4.0.tgz", - "integrity": "sha512-XzM0vOIJDlLtpzGLytAig2SmYAS69zn6NrC1dlzvuQELhrMuB2JPY9zHesV/VreczxENCtRU88LKo5x0MTZ2ZA==", + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/@file-services/utils/-/utils-8.1.1.tgz", + "integrity": "sha512-lvMQFw1pc2NLcyJurOGrJQGDhODPzgnTpz8AJO3mr9njTnE8A/mXSZFen3FXBPT5Egnj7RqOZVkW7xOcv14ERg==", "requires": { - "@file-services/types": "^7.4.0" + "@file-services/types": "^8.1.1" } }, "@humanwhocodes/config-array": { @@ -7548,9 +7543,9 @@ } }, "@jridgewell/resolve-uri": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz", - "integrity": "sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==" + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz", + "integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==" }, "@jridgewell/set-array": { "version": "1.1.2", @@ -7572,19 +7567,12 @@ "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==" }, "@jridgewell/trace-mapping": { - "version": "0.3.18", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.18.tgz", - "integrity": "sha512-w+niJYzMHdd7USdiH2U6869nqhD2nbfZXND5Yp93qIbEmnDNk7PD48o+YchRVpzMU7M6jVCbenTR7PA1FLQ9pA==", + "version": "0.3.19", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.19.tgz", + "integrity": "sha512-kf37QtfW+Hwx/buWGMPcR60iF9ziHa6r/CZJIHbmcm4+0qrXiVdxegAH0F6yddEVQ7zdkjcGCgCzUu+BcbhQxw==", "requires": { - "@jridgewell/resolve-uri": "3.1.0", - "@jridgewell/sourcemap-codec": "1.4.14" - }, - "dependencies": { - "@jridgewell/sourcemap-codec": { - "version": "1.4.14", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz", - "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==" - } + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" } }, "@nodelib/fs.scandir": { @@ -7663,8 +7651,8 @@ "@stylable/cli": { "version": "file:packages/cli", "requires": { - "@file-services/node": "^7.4.0", - "@file-services/types": "^7.4.0", + "@file-services/node": "^8.1.1", + "@file-services/types": "^8.1.1", "@stylable/build-tools": "^5.15.1", "@stylable/code-formatter": "^5.15.1", "@stylable/core": "^5.15.1", @@ -7721,7 +7709,7 @@ "@stylable/core-test-kit": { "version": "file:packages/core-test-kit", "requires": { - "@file-services/memory": "^7.4.0", + "@file-services/memory": "^8.1.1", "@stylable/core": "^5.15.1", "chai": "^4.3.7", "flat": "^5.0.2", @@ -7747,7 +7735,7 @@ "requires": { "@stylable/runtime": "^5.15.1", "node-eval": "^2.0.0", - "playwright-core": "^1.36.2", + "playwright-core": "^1.37.0", "rimraf": "^5.0.1" } }, @@ -7790,8 +7778,8 @@ "@stylable/language-service": { "version": "file:packages/language-service", "requires": { - "@file-services/types": "^7.4.0", - "@file-services/typescript": "^7.4.0", + "@file-services/types": "^8.1.1", + "@file-services/typescript": "^8.1.1", "@stylable/code-formatter": "^5.15.1", "@stylable/core": "^5.15.1", "@tokey/core": "^1.4.0", @@ -7967,9 +7955,9 @@ } }, "@types/eslint": { - "version": "8.44.1", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.44.1.tgz", - "integrity": "sha512-XpNDc4Z5Tb4x+SW1MriMVeIsMoONHCkWFMkR/aPJbzEsxqHy+4Glu/BqTdPrApfDeMaXbtNh6bseNgl5KaWrSg==", + "version": "8.44.2", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.44.2.tgz", + "integrity": "sha512-sdPRb9K6iL5XZOmBubg8yiFp5yS/JdUDQsq5e6h95km91MCYMuvp7mh1fjPEYUhvHepKpZOjnEaMBR4PxjWDzg==", "requires": { "@types/estree": "*", "@types/json-schema": "*" @@ -8014,9 +8002,9 @@ "dev": true }, "@types/js-beautify": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/@types/js-beautify/-/js-beautify-1.13.3.tgz", - "integrity": "sha512-ucIPw5gmNyvRKi6mpeojlqp+T+6ZBJeU+kqMDnIEDlijEU4QhLTon90sZ3cz9HZr+QTwXILjNsMZImzA7+zuJA==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@types/js-beautify/-/js-beautify-1.14.0.tgz", + "integrity": "sha512-OrJo4dEKd/8YKwGWuRP7qC/NoxNQCVsjAT7aHhgoIrNJaaDudLwX8husFrklktmXKIFbXevxzrLyEhB1842zjg==", "dev": true }, "@types/json-schema": { @@ -8025,9 +8013,9 @@ "integrity": "sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA==" }, "@types/lodash": { - "version": "4.14.196", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.196.tgz", - "integrity": "sha512-22y3o88f4a94mKljsZcanlNWPzO0uBsBdzLAngf2tp533LzZcQzb6+eZPJ+vCTt+bqF2XnvT9gejTLsAcJAJyQ==", + "version": "4.14.197", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.197.tgz", + "integrity": "sha512-BMVOiWs0uNxHVlHBgzTIqJYmj+PgCo4euloGF+5m4okL3rEYzM2EEv78mw8zWSMM57dM7kVIgJ2QDvwHSoCI5g==", "dev": true }, "@types/lodash.camelcase": { @@ -8117,9 +8105,9 @@ "dev": true }, "@types/react": { - "version": "18.2.16", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.16.tgz", - "integrity": "sha512-LLFWr12ZhBJ4YVw7neWLe6Pk7Ey5R9OCydfuMsz1L8bZxzaawJj2p06Q8/EFEHDeTBQNFLF62X+CG7B2zIyu0Q==", + "version": "18.2.20", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.20.tgz", + "integrity": "sha512-WKNtmsLWJM/3D5mG4U84cysVY31ivmyw85dE84fOCk5Hx78wezB/XEjVPWl2JTZ5FkEeaTJf+VgUAUn3PE7Isw==", "dev": true, "requires": { "@types/prop-types": "*", @@ -8655,13 +8643,13 @@ "dev": true }, "browserslist": { - "version": "4.21.9", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.9.tgz", - "integrity": "sha512-M0MFoZzbUrRU4KNfCrDLnvyE7gub+peetoTid3TBIqtunaDJyXlwhakT+/VkvSXcfIzFfK/nkCs4nmyTmxdNSg==", + "version": "4.21.10", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.10.tgz", + "integrity": "sha512-bipEBdZfVH5/pwrvqc+Ub0kUPVfGUhlKxbvfD+z1BDnPEO/X98ruXGA1WP5ASpAFKan7Qr6j736IacbZQuAlKQ==", "requires": { - "caniuse-lite": "^1.0.30001503", - "electron-to-chromium": "^1.4.431", - "node-releases": "^2.0.12", + "caniuse-lite": "^1.0.30001517", + "electron-to-chromium": "^1.4.477", + "node-releases": "^2.0.13", "update-browserslist-db": "^1.0.11" } }, @@ -8757,9 +8745,9 @@ "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==" }, "caniuse-lite": { - "version": "1.0.30001517", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001517.tgz", - "integrity": "sha512-Vdhm5S11DaFVLlyiKu4hiUTkpZu+y1KA/rZZqVQfOD5YdDT/eQKlkt7NaE0WGOFgX32diqt9MiP9CAiFeRklaA==" + "version": "1.0.30001519", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001519.tgz", + "integrity": "sha512-0QHgqR+Jv4bxHMp8kZ1Kn8CH55OikjKJ6JmKkZYP1F3D7w+lnFXF70nG5eNfsZS89jadi5Ywy5UCSKLAglIRkg==" }, "chai": { "version": "4.3.7", @@ -9161,9 +9149,9 @@ } }, "electron-to-chromium": { - "version": "1.4.471", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.471.tgz", - "integrity": "sha512-GpmGRC1vTl60w/k6YpQ18pSiqnmr0j3un//5TV1idPi6aheNfkT1Ye71tMEabWyNDO6sBMgAR+95Eb0eUUr1tA==" + "version": "1.4.490", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.490.tgz", + "integrity": "sha512-6s7NVJz+sATdYnIwhdshx/N/9O6rvMxmhVoDSDFdj6iA45gHR8EQje70+RYsF4GeB+k0IeNSBnP7yG9ZXJFr7A==" }, "emoji-regex": { "version": "8.0.0", @@ -9275,33 +9263,33 @@ } }, "esbuild": { - "version": "0.18.16", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.18.16.tgz", - "integrity": "sha512-1xLsOXrDqwdHxyXb/x/SOyg59jpf/SH7YMvU5RNSU7z3TInaASNJWNFJ6iRvLvLETZMasF3d1DdZLg7sgRimRQ==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.19.0.tgz", + "integrity": "sha512-i7i8TP4vuG55bKeLyqqk5sTPu1ZjPH3wkcLvAj/0X/222iWFo3AJUYRKjbOoY6BWFMH3teizxHEdV9Su5ESl0w==", "peer": true, "requires": { - "@esbuild/android-arm": "0.18.16", - "@esbuild/android-arm64": "0.18.16", - "@esbuild/android-x64": "0.18.16", - "@esbuild/darwin-arm64": "0.18.16", - "@esbuild/darwin-x64": "0.18.16", - "@esbuild/freebsd-arm64": "0.18.16", - "@esbuild/freebsd-x64": "0.18.16", - "@esbuild/linux-arm": "0.18.16", - "@esbuild/linux-arm64": "0.18.16", - "@esbuild/linux-ia32": "0.18.16", - "@esbuild/linux-loong64": "0.18.16", - "@esbuild/linux-mips64el": "0.18.16", - "@esbuild/linux-ppc64": "0.18.16", - "@esbuild/linux-riscv64": "0.18.16", - "@esbuild/linux-s390x": "0.18.16", - "@esbuild/linux-x64": "0.18.16", - "@esbuild/netbsd-x64": "0.18.16", - "@esbuild/openbsd-x64": "0.18.16", - "@esbuild/sunos-x64": "0.18.16", - "@esbuild/win32-arm64": "0.18.16", - "@esbuild/win32-ia32": "0.18.16", - "@esbuild/win32-x64": "0.18.16" + "@esbuild/android-arm": "0.19.0", + "@esbuild/android-arm64": "0.19.0", + "@esbuild/android-x64": "0.19.0", + "@esbuild/darwin-arm64": "0.19.0", + "@esbuild/darwin-x64": "0.19.0", + "@esbuild/freebsd-arm64": "0.19.0", + "@esbuild/freebsd-x64": "0.19.0", + "@esbuild/linux-arm": "0.19.0", + "@esbuild/linux-arm64": "0.19.0", + "@esbuild/linux-ia32": "0.19.0", + "@esbuild/linux-loong64": "0.19.0", + "@esbuild/linux-mips64el": "0.19.0", + "@esbuild/linux-ppc64": "0.19.0", + "@esbuild/linux-riscv64": "0.19.0", + "@esbuild/linux-s390x": "0.19.0", + "@esbuild/linux-x64": "0.19.0", + "@esbuild/netbsd-x64": "0.19.0", + "@esbuild/openbsd-x64": "0.19.0", + "@esbuild/sunos-x64": "0.19.0", + "@esbuild/win32-arm64": "0.19.0", + "@esbuild/win32-ia32": "0.19.0", + "@esbuild/win32-x64": "0.19.0" } }, "escalade": { @@ -9315,26 +9303,26 @@ "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==" }, "eslint": { - "version": "8.45.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.45.0.tgz", - "integrity": "sha512-pd8KSxiQpdYRfYa9Wufvdoct3ZPQQuVuU5O6scNgMuOMYuxvH0IGaYK0wUFjo4UYYQQCUndlXiMbnxopwvvTiw==", + "version": "8.46.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.46.0.tgz", + "integrity": "sha512-cIO74PvbW0qU8e0mIvk5IV3ToWdCq5FYG6gWPHHkx6gNdjlbAYvtfHmlCMXxjcoVaIdwy/IAt3+mDkZkfvb2Dg==", "requires": { "@eslint-community/eslint-utils": "^4.2.0", - "@eslint-community/regexpp": "^4.4.0", - "@eslint/eslintrc": "^2.1.0", - "@eslint/js": "8.44.0", + "@eslint-community/regexpp": "^4.6.1", + "@eslint/eslintrc": "^2.1.1", + "@eslint/js": "^8.46.0", "@humanwhocodes/config-array": "^0.11.10", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", - "ajv": "^6.10.0", + "ajv": "^6.12.4", "chalk": "^4.0.0", "cross-spawn": "^7.0.2", "debug": "^4.3.2", "doctrine": "^3.0.0", "escape-string-regexp": "^4.0.0", - "eslint-scope": "^7.2.0", - "eslint-visitor-keys": "^3.4.1", - "espree": "^9.6.0", + "eslint-scope": "^7.2.2", + "eslint-visitor-keys": "^3.4.2", + "espree": "^9.6.1", "esquery": "^1.4.2", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", @@ -9359,9 +9347,9 @@ }, "dependencies": { "eslint-scope": { - "version": "7.2.1", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.1.tgz", - "integrity": "sha512-CvefSOsDdaYYvxChovdrPo/ZGt8d5lrJWleAc1diXRKhHGiTYEI26cvo8Kle/wGnsizoCJjK73FMg1/IkIwiNA==", + "version": "7.2.2", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", + "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", "requires": { "esrecurse": "^4.3.0", "estraverse": "^5.2.0" @@ -9375,9 +9363,9 @@ } }, "eslint-config-prettier": { - "version": "8.8.0", - "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.8.0.tgz", - "integrity": "sha512-wLbQiFre3tdGgpDv67NQKnJuTlcUVYHas3k+DZCc2U2BadthoEY4B7hLPvAxaqdyOGCzuLfii2fqGph10va7oA==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-9.0.0.tgz", + "integrity": "sha512-IcJsTkJae2S35pRsRAwoCE+925rJJStOdkKnLVgtE+tEpqU0EVVM7OqrwxqgptKdX29NUwC82I5pXsGFIgSevw==", "dev": true, "requires": {} }, @@ -9398,9 +9386,9 @@ } }, "eslint-visitor-keys": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz", - "integrity": "sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==" + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.2.tgz", + "integrity": "sha512-8drBzUEyZ2llkpCA67iYrgEssKDUu68V8ChqqOfFupIaG/LCVPUT+CoGJpT77zJprs4T/W7p07LP7zAIMuweVw==" }, "espree": { "version": "9.6.1", @@ -9985,9 +9973,9 @@ "dev": true }, "is-core-module": { - "version": "2.12.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.12.1.tgz", - "integrity": "sha512-Q4ZuBAe2FUsKtyQJoQHlvP8OvBERxO3jEmy1I7hcRXcJBGGHFh/aJBswbXuS9sgrDH2QUO8ilkwNPHvHMd8clg==", + "version": "2.13.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.0.tgz", + "integrity": "sha512-Z7dk6Qo8pOCp3l4tsX2C5ZVas4V+UxwQodwZhLopL91TX8UyyHEXafPcyoeeWuLrwzHcr3igO78wNLwHJHsMCQ==", "dev": true, "requires": { "has": "^1.0.3" @@ -10165,9 +10153,9 @@ } }, "jackspeak": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.2.2.tgz", - "integrity": "sha512-mgNtVv4vUuaKA97yxUHoA3+FkuhtxkjdXEWOyB/N76fjy0FjezEt34oy3epBtvCvS+7DyKwqCFWx/oJLV5+kCg==", + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.2.3.tgz", + "integrity": "sha512-pF0kfjmg8DJLxDrizHoCZGUFz4P4czQ3HyfW4BU0ffebYkzAVlBywp5zaxW/TM+r0sGbmrQdi8EQQVTJFxnGsQ==", "requires": { "@isaacs/cliui": "^8.0.2", "@pkgjs/parseargs": "^0.11.0" @@ -10984,9 +10972,9 @@ }, "dependencies": { "lru-cache": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.0.0.tgz", - "integrity": "sha512-svTf/fzsKHffP42sujkO/Rjs37BCIsQVRCeNYIm9WN8rgT7ffoUnRtZCqU+6BqcSBdv8gwJeTz8knJpgACeQMw==" + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.0.1.tgz", + "integrity": "sha512-IJ4uwUTi2qCccrioU6g9g/5rvvVl13bsdczUUcqbciD9iLr095yj8DQKdObriEvuNSx325N1rV1O0sJFszx75g==" } } }, @@ -11023,18 +11011,18 @@ "dev": true }, "playwright-chromium": { - "version": "1.36.2", - "resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.36.2.tgz", - "integrity": "sha512-ONY6+ON1A+qYUBiymWn3MHnBjdPO6lYIi2SiQbUo1OA0cSZaxx9vM2mRYY3p7JLC6AhAbPEimZdXetQx48AHkA==", + "version": "1.37.0", + "resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.37.0.tgz", + "integrity": "sha512-56DOca+pGZombnX34ZwO1fI7HLgv3IgzqzNT1kmYAJ82JytqmXFz/umA7WkkONn9cN3WRPswqrqvD+3pq46rdg==", "dev": true, "requires": { - "playwright-core": "1.36.2" + "playwright-core": "1.37.0" } }, "playwright-core": { - "version": "1.36.2", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.36.2.tgz", - "integrity": "sha512-sQYZt31dwkqxOrP7xy2ggDfEzUxM1lodjhsQ3NMMv5uGTRDsLxU0e4xf4wwMkF2gplIxf17QMBCodSFgm6bFVQ==" + "version": "1.37.0", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.37.0.tgz", + "integrity": "sha512-1c46jhTH/myQw6sesrcuHVtLoSNfJv8Pfy9t3rs6subY7kARv0HRw5PpyfPYPpPtQvBOmgbE6K+qgYUpj81LAA==" }, "postcss": { "version": "8.4.27", @@ -11267,12 +11255,12 @@ "dev": true }, "resolve": { - "version": "1.22.2", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.2.tgz", - "integrity": "sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g==", + "version": "1.22.4", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.4.tgz", + "integrity": "sha512-PXNdCiPqDqeUou+w1C2eTQbNfxKSuMxqTCuvlmmMsk1NWHL5fRrhY6Pl0qEYYc6+QqGClco1Qj8XnjPego4wfg==", "dev": true, "requires": { - "is-core-module": "^2.11.0", + "is-core-module": "^2.13.0", "path-parse": "^1.0.7", "supports-preserve-symlinks-flag": "^1.0.0" } @@ -11333,16 +11321,16 @@ } }, "signal-exit": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.0.2.tgz", - "integrity": "sha512-MY2/qGx4enyjprQnFaZsHib3Yadh3IXyV2C321GY0pjGfVBu4un0uDJkwgdxqO+Rdx8JMT8IfJIRwbYVz3Ob3Q==" + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==" } } }, "rollup": { - "version": "3.26.3", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.26.3.tgz", - "integrity": "sha512-7Tin0C8l86TkpcMtXvQu6saWH93nhG3dGQ1/+l5V2TDMceTxO7kDiK6GzbfLWNNxqJXm591PcEZUozZm51ogwQ==", + "version": "3.28.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.28.0.tgz", + "integrity": "sha512-d7zhvo1OUY2SXSM6pfNjgD5+d0Nz87CUp4mt8l/GgVP3oBsPwzNvSzyu1me6BSG9JIgWNTVcafIXBIyM8yQ3yw==", "requires": { "fsevents": "~2.3.2" } diff --git a/package.json b/package.json index 334b773ef..31c5debe5 100644 --- a/package.json +++ b/package.json @@ -18,8 +18,8 @@ "prettify": "npx prettier . --write" }, "devDependencies": { - "@file-services/memory": "^7.4.0", - "@file-services/node": "^7.4.0", + "@file-services/memory": "^8.1.1", + "@file-services/node": "^8.1.1", "@rollup/plugin-html": "^1.0.2", "@rollup/plugin-node-resolve": "^15.1.0", "@types/balanced-match": "^1.0.3", @@ -30,7 +30,7 @@ "@types/csso": "^5.0.0", "@types/find-config": "^1.0.1", "@types/flat": "^5.0.2", - "@types/js-beautify": "^1.13.3", + "@types/js-beautify": "^1.14.0", "@types/json-schema": "^7.0.12", "@types/lodash.camelcase": "^4.3.7", "@types/lodash.clonedeep": "^4.5.7", @@ -42,7 +42,7 @@ "@types/mocha": "^10.0.1", "@types/node": "14", "@types/postcss-safe-parser": "^5.0.1", - "@types/react": "^18.2.16", + "@types/react": "^18.2.20", "@types/react-dom": "^18.2.7", "@types/semver": "^7.5.0", "@types/validate-npm-package-name": "^4.0.0", @@ -54,22 +54,22 @@ "chai": "^4.3.7", "chai-subset": "^1.6.0", "create-listening-server": "^2.1.0", - "eslint": "^8.45.0", - "eslint-config-prettier": "^8.8.0", + "eslint": "^8.46.0", + "eslint-config-prettier": "^9.0.0", "file-loader": "^6.2.0", "html-webpack-plugin": "^5.5.3", "mini-css-extract-plugin": "^2.7.6", "mocha": "^10.2.0", "node-eval": "^2.0.0", "npm-run-all": "^4.1.5", - "playwright-chromium": "^1.36.2", + "playwright-chromium": "^1.37.0", "postcss": "^8.4.27", "promise-assist": "^2.0.1", "raw-loader": "^4.0.2", "react": "^18.2.0", "react-dom": "^18.2.0", "rimraf": "^5.0.1", - "rollup": "^3.26.3", + "rollup": "^3.28.0", "source-map": "^0.7.4", "source-map-loader": "^4.0.1", "style-loader": "^3.3.3", diff --git a/packages/cli/package.json b/packages/cli/package.json index a2077eb36..ea7b9970b 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -12,8 +12,8 @@ "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 25000" }, "dependencies": { - "@file-services/node": "^7.4.0", - "@file-services/types": "^7.4.0", + "@file-services/node": "^8.1.1", + "@file-services/types": "^8.1.1", "@stylable/build-tools": "^5.15.1", "@stylable/code-formatter": "^5.15.1", "@stylable/core": "^5.15.1", diff --git a/packages/core-test-kit/package.json b/packages/core-test-kit/package.json index dfb9fd0fc..ac84fb866 100644 --- a/packages/core-test-kit/package.json +++ b/packages/core-test-kit/package.json @@ -7,7 +7,7 @@ "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@file-services/memory": "^7.4.0", + "@file-services/memory": "^8.1.1", "@stylable/core": "^5.15.1", "chai": "^4.3.7", "flat": "^5.0.2", diff --git a/packages/e2e-test-kit/package.json b/packages/e2e-test-kit/package.json index 70e300bdb..44257e4d5 100644 --- a/packages/e2e-test-kit/package.json +++ b/packages/e2e-test-kit/package.json @@ -9,7 +9,7 @@ "dependencies": { "@stylable/runtime": "^5.15.1", "node-eval": "^2.0.0", - "playwright-core": "^1.36.2", + "playwright-core": "^1.37.0", "rimraf": "^5.0.1" }, "files": [ diff --git a/packages/language-service/package.json b/packages/language-service/package.json index 0a42341ca..f1427cf5a 100644 --- a/packages/language-service/package.json +++ b/packages/language-service/package.json @@ -11,8 +11,8 @@ "typescript": ">=3.8" }, "dependencies": { - "@file-services/types": "^7.4.0", - "@file-services/typescript": "^7.4.0", + "@file-services/types": "^8.1.1", + "@file-services/typescript": "^8.1.1", "@stylable/code-formatter": "^5.15.1", "@stylable/core": "^5.15.1", "@tokey/core": "^1.4.0", From cd7a706915ea71a21c87f00903f145e95f707976 Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Wed, 30 Aug 2023 09:21:13 +0300 Subject: [PATCH 55/81] chore(deps): upgrade to latest stable - small adjustments to postcss offset fix and LazyResult type change --- package-lock.json | 1016 +++++++++-------- package.json | 24 +- packages/cli/package.json | 4 +- packages/code-formatter/package.json | 2 +- packages/core-test-kit/package.json | 6 +- packages/core/package.json | 2 +- packages/core/src/features/st-mixin.ts | 2 +- packages/core/src/parser.ts | 3 +- packages/e2e-test-kit/package.json | 2 +- packages/language-service/package.json | 8 +- .../src/lib-new/ast-from-position.ts | 2 +- .../test/lib-new/edit-time-parser.spec.ts | 11 +- .../test/lib/completions/st-scope.spec.ts | 2 +- packages/optimizer/package.json | 2 +- packages/schema-extract/package.json | 2 +- packages/webpack-plugin/package.json | 2 +- 16 files changed, 564 insertions(+), 526 deletions(-) diff --git a/package-lock.json b/package-lock.json index 71c205476..b5a29e15c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,10 +10,10 @@ "packages/*" ], "devDependencies": { - "@file-services/memory": "^8.1.1", - "@file-services/node": "^8.1.1", + "@file-services/memory": "^8.1.3", + "@file-services/node": "^8.1.3", "@rollup/plugin-html": "^1.0.2", - "@rollup/plugin-node-resolve": "^15.1.0", + "@rollup/plugin-node-resolve": "^15.2.1", "@types/balanced-match": "^1.0.3", "@types/chai": "^4.3.5", "@types/chai-subset": "^1.3.3", @@ -34,19 +34,19 @@ "@types/mocha": "^10.0.1", "@types/node": "14", "@types/postcss-safe-parser": "^5.0.1", - "@types/react": "^18.2.20", + "@types/react": "^18.2.21", "@types/react-dom": "^18.2.7", - "@types/semver": "^7.5.0", + "@types/semver": "^7.5.1", "@types/validate-npm-package-name": "^4.0.0", "@types/yargs": "^17.0.24", "@typescript-eslint/eslint-plugin": "^5.61.0", "@typescript-eslint/parser": "^5.61.0", - "autoprefixer": "^10.4.14", + "autoprefixer": "^10.4.15", "c8": "^8.0.1", - "chai": "^4.3.7", + "chai": "^4.3.8", "chai-subset": "^1.6.0", "create-listening-server": "^2.1.0", - "eslint": "^8.46.0", + "eslint": "^8.48.0", "eslint-config-prettier": "^9.0.0", "file-loader": "^6.2.0", "html-webpack-plugin": "^5.5.3", @@ -54,20 +54,20 @@ "mocha": "^10.2.0", "node-eval": "^2.0.0", "npm-run-all": "^4.1.5", - "playwright-chromium": "^1.37.0", - "postcss": "^8.4.27", + "playwright-chromium": "^1.37.1", + "postcss": "^8.4.29", "promise-assist": "^2.0.1", "raw-loader": "^4.0.2", "react": "^18.2.0", "react-dom": "^18.2.0", "rimraf": "^5.0.1", - "rollup": "^3.28.0", + "rollup": "^3.28.1", "source-map": "^0.7.4", "source-map-loader": "^4.0.1", "style-loader": "^3.3.3", "ts-expect": "^1.3.0", "tsconfig-paths-webpack-plugin": "^4.1.0", - "typescript": "~5.1.6", + "typescript": "~5.2.2", "url-loader": "^4.1.1", "webpack": "^5.88.2", "yargs": "^17.7.2" @@ -91,9 +91,9 @@ "dev": true }, "node_modules/@esbuild/android-arm": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.0.tgz", - "integrity": "sha512-GAkjUyHgWTYuex3evPd5V7uV/XS4LMKr1PWHRPW1xNyy/Jx08x3uTrDFRefBYLKT/KpaWM8/YMQcwbp5a3yIDA==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.2.tgz", + "integrity": "sha512-tM8yLeYVe7pRyAu9VMi/Q7aunpLwD139EY1S99xbQkT4/q2qa6eA4ige/WJQYdJ8GBL1K33pPFhPfPdJ/WzT8Q==", "cpu": [ "arm" ], @@ -107,9 +107,9 @@ } }, "node_modules/@esbuild/android-arm64": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.19.0.tgz", - "integrity": "sha512-AzsozJnB+RNaDncBCs3Ys5g3kqhPFUueItfEaCpp89JH2naFNX2mYDIvUgPYMqqjm8hiFoo+jklb3QHZyR3ubw==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.19.2.tgz", + "integrity": "sha512-lsB65vAbe90I/Qe10OjkmrdxSX4UJDjosDgb8sZUKcg3oefEuW2OT2Vozz8ef7wrJbMcmhvCC+hciF8jY/uAkw==", "cpu": [ "arm64" ], @@ -123,9 +123,9 @@ } }, "node_modules/@esbuild/android-x64": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.19.0.tgz", - "integrity": "sha512-SUG8/qiVhljBDpdkHQ9DvOWbp7hFFIP0OzxOTptbmVsgBgzY6JWowmMd6yJuOhapfxmj/DrvwKmjRLvVSIAKZg==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.19.2.tgz", + "integrity": "sha512-qK/TpmHt2M/Hg82WXHRc/W/2SGo/l1thtDHZWqFq7oi24AjZ4O/CpPSu6ZuYKFkEgmZlFoa7CooAyYmuvnaG8w==", "cpu": [ "x64" ], @@ -139,9 +139,9 @@ } }, "node_modules/@esbuild/darwin-arm64": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.19.0.tgz", - "integrity": "sha512-HkxZ8k3Jvcw0FORPNTavA8BMgQjLOB6AajT+iXmil7BwY3gU1hWvJJAyWyEogCmA4LdbGvKF8vEykdmJ4xNJJQ==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.19.2.tgz", + "integrity": "sha512-Ora8JokrvrzEPEpZO18ZYXkH4asCdc1DLdcVy8TGf5eWtPO1Ie4WroEJzwI52ZGtpODy3+m0a2yEX9l+KUn0tA==", "cpu": [ "arm64" ], @@ -155,9 +155,9 @@ } }, "node_modules/@esbuild/darwin-x64": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.19.0.tgz", - "integrity": "sha512-9IRWJjqpWFHM9a5Qs3r3bK834NCFuDY5ZaLrmTjqE+10B6w65UMQzeZjh794JcxpHolsAHqwsN/33crUXNCM2Q==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.19.2.tgz", + "integrity": "sha512-tP+B5UuIbbFMj2hQaUr6EALlHOIOmlLM2FK7jeFBobPy2ERdohI4Ka6ZFjZ1ZYsrHE/hZimGuU90jusRE0pwDw==", "cpu": [ "x64" ], @@ -171,9 +171,9 @@ } }, "node_modules/@esbuild/freebsd-arm64": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.0.tgz", - "integrity": "sha512-s7i2WcXcK0V1PJHVBe7NsGddsL62a9Vhpz2U7zapPrwKoFuxPP9jybwX8SXnropR/AOj3ppt2ern4ItblU6UQQ==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.2.tgz", + "integrity": "sha512-YbPY2kc0acfzL1VPVK6EnAlig4f+l8xmq36OZkU0jzBVHcOTyQDhnKQaLzZudNJQyymd9OqQezeaBgkTGdTGeQ==", "cpu": [ "arm64" ], @@ -187,9 +187,9 @@ } }, "node_modules/@esbuild/freebsd-x64": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.19.0.tgz", - "integrity": "sha512-NMdBSSdgwHCqCsucU5k1xflIIRU0qi1QZnM6+vdGy5fvxm1c8rKh50VzsWsIVTFUG3l91AtRxVwoz3Lcvy3I5w==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.19.2.tgz", + "integrity": "sha512-nSO5uZT2clM6hosjWHAsS15hLrwCvIWx+b2e3lZ3MwbYSaXwvfO528OF+dLjas1g3bZonciivI8qKR/Hm7IWGw==", "cpu": [ "x64" ], @@ -203,9 +203,9 @@ } }, "node_modules/@esbuild/linux-arm": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.19.0.tgz", - "integrity": "sha512-2F1+lH7ZBcCcgxiSs8EXQV0PPJJdTNiNcXxDb61vzxTRJJkXX1I/ye9mAhfHyScXzHaEibEXg1Jq9SW586zz7w==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.19.2.tgz", + "integrity": "sha512-Odalh8hICg7SOD7XCj0YLpYCEc+6mkoq63UnExDCiRA2wXEmGlK5JVrW50vZR9Qz4qkvqnHcpH+OFEggO3PgTg==", "cpu": [ "arm" ], @@ -219,9 +219,9 @@ } }, "node_modules/@esbuild/linux-arm64": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.19.0.tgz", - "integrity": "sha512-I4zvE2srSZxRPapFnNqj+NL3sDJ1wkvEZqt903OZUlBBgigrQMvzUowvP/TTTu2OGYe1oweg5MFilfyrElIFag==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.19.2.tgz", + "integrity": "sha512-ig2P7GeG//zWlU0AggA3pV1h5gdix0MA3wgB+NsnBXViwiGgY77fuN9Wr5uoCrs2YzaYfogXgsWZbm+HGr09xg==", "cpu": [ "arm64" ], @@ -235,9 +235,9 @@ } }, "node_modules/@esbuild/linux-ia32": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.19.0.tgz", - "integrity": "sha512-dz2Q7+P92r1Evc8kEN+cQnB3qqPjmCrOZ+EdBTn8lEc1yN8WDgaDORQQiX+mxaijbH8npXBT9GxUqE52Gt6Y+g==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.19.2.tgz", + "integrity": "sha512-mLfp0ziRPOLSTek0Gd9T5B8AtzKAkoZE70fneiiyPlSnUKKI4lp+mGEnQXcQEHLJAcIYDPSyBvsUbKUG2ri/XQ==", "cpu": [ "ia32" ], @@ -251,9 +251,9 @@ } }, "node_modules/@esbuild/linux-loong64": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.19.0.tgz", - "integrity": "sha512-IcVJovJVflih4oFahhUw+N7YgNbuMSVFNr38awb0LNzfaiIfdqIh518nOfYaNQU3aVfiJnOIRVJDSAP4k35WxA==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.19.2.tgz", + "integrity": "sha512-hn28+JNDTxxCpnYjdDYVMNTR3SKavyLlCHHkufHV91fkewpIyQchS1d8wSbmXhs1fiYDpNww8KTFlJ1dHsxeSw==", "cpu": [ "loong64" ], @@ -267,9 +267,9 @@ } }, "node_modules/@esbuild/linux-mips64el": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.19.0.tgz", - "integrity": "sha512-bZGRAGySMquWsKw0gIdsClwfvgbsSq/7oq5KVu1H1r9Il+WzOcfkV1hguntIuBjRVL8agI95i4AukjdAV2YpUw==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.19.2.tgz", + "integrity": "sha512-KbXaC0Sejt7vD2fEgPoIKb6nxkfYW9OmFUK9XQE4//PvGIxNIfPk1NmlHmMg6f25x57rpmEFrn1OotASYIAaTg==", "cpu": [ "mips64el" ], @@ -283,9 +283,9 @@ } }, "node_modules/@esbuild/linux-ppc64": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.19.0.tgz", - "integrity": "sha512-3LC6H5/gCDorxoRBUdpLV/m7UthYSdar0XcCu+ypycQxMS08MabZ06y1D1yZlDzL/BvOYliRNRWVG/YJJvQdbg==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.19.2.tgz", + "integrity": "sha512-dJ0kE8KTqbiHtA3Fc/zn7lCd7pqVr4JcT0JqOnbj4LLzYnp+7h8Qi4yjfq42ZlHfhOCM42rBh0EwHYLL6LEzcw==", "cpu": [ "ppc64" ], @@ -299,9 +299,9 @@ } }, "node_modules/@esbuild/linux-riscv64": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.19.0.tgz", - "integrity": "sha512-jfvdKjWk+Cp2sgLtEEdSHXO7qckrw2B2eFBaoRdmfhThqZs29GMMg7q/LsQpybA7BxCLLEs4di5ucsWzZC5XPA==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.19.2.tgz", + "integrity": "sha512-7Z/jKNFufZ/bbu4INqqCN6DDlrmOTmdw6D0gH+6Y7auok2r02Ur661qPuXidPOJ+FSgbEeQnnAGgsVynfLuOEw==", "cpu": [ "riscv64" ], @@ -315,9 +315,9 @@ } }, "node_modules/@esbuild/linux-s390x": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.19.0.tgz", - "integrity": "sha512-ofcucfNLkoXmcnJaw9ugdEOf40AWKGt09WBFCkpor+vFJVvmk/8OPjl/qRtks2Z7BuZbG3ztJuK1zS9z5Cgx9A==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.19.2.tgz", + "integrity": "sha512-U+RinR6aXXABFCcAY4gSlv4CL1oOVvSSCdseQmGO66H+XyuQGZIUdhG56SZaDJQcLmrSfRmx5XZOWyCJPRqS7g==", "cpu": [ "s390x" ], @@ -331,9 +331,9 @@ } }, "node_modules/@esbuild/linux-x64": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.0.tgz", - "integrity": "sha512-Fpf7zNDBti3xrQKQKLdXT0hTyOxgFdRJIMtNy8x1az9ATR9/GJ1brYbB/GLWoXhKiHsoWs+2DLkFVNNMTCLEwA==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.2.tgz", + "integrity": "sha512-oxzHTEv6VPm3XXNaHPyUTTte+3wGv7qVQtqaZCrgstI16gCuhNOtBXLEBkBREP57YTd68P0VgDgG73jSD8bwXQ==", "cpu": [ "x64" ], @@ -347,9 +347,9 @@ } }, "node_modules/@esbuild/netbsd-x64": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.19.0.tgz", - "integrity": "sha512-AMQAp/5oENgDOvVhvOlbhVe1pWii7oFAMRHlmTjSEMcpjTpIHtFXhv9uAFgUERHm3eYtNvS9Vf+gT55cwuI6Aw==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.19.2.tgz", + "integrity": "sha512-WNa5zZk1XpTTwMDompZmvQLHszDDDN7lYjEHCUmAGB83Bgs20EMs7ICD+oKeT6xt4phV4NDdSi/8OfjPbSbZfQ==", "cpu": [ "x64" ], @@ -363,9 +363,9 @@ } }, "node_modules/@esbuild/openbsd-x64": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.19.0.tgz", - "integrity": "sha512-fDztEve1QUs3h/Dw2AUmBlWGkNQbhDoD05ppm5jKvzQv+HVuV13so7m5RYeiSMIC2XQy7PAjZh+afkxAnCRZxA==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.19.2.tgz", + "integrity": "sha512-S6kI1aT3S++Dedb7vxIuUOb3oAxqxk2Rh5rOXOTYnzN8JzW1VzBd+IqPiSpgitu45042SYD3HCoEyhLKQcDFDw==", "cpu": [ "x64" ], @@ -379,9 +379,9 @@ } }, "node_modules/@esbuild/sunos-x64": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.19.0.tgz", - "integrity": "sha512-bKZzJ2/rvUjDzA5Ddyva2tMk89WzNJEibZEaq+wY6SiqPlwgFbqyQLimouxLHiHh1itb5P3SNCIF1bc2bw5H9w==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.19.2.tgz", + "integrity": "sha512-VXSSMsmb+Z8LbsQGcBMiM+fYObDNRm8p7tkUDMPG/g4fhFX5DEFmjxIEa3N8Zr96SjsJ1woAhF0DUnS3MF3ARw==", "cpu": [ "x64" ], @@ -395,9 +395,9 @@ } }, "node_modules/@esbuild/win32-arm64": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.19.0.tgz", - "integrity": "sha512-NQJ+4jmnA79saI+sE+QzcEls19uZkoEmdxo7r//PDOjIpX8pmoWtTnWg6XcbnO7o4fieyAwb5U2LvgWynF4diA==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.19.2.tgz", + "integrity": "sha512-5NayUlSAyb5PQYFAU9x3bHdsqB88RC3aM9lKDAz4X1mo/EchMIT1Q+pSeBXNgkfNmRecLXA0O8xP+x8V+g/LKg==", "cpu": [ "arm64" ], @@ -411,9 +411,9 @@ } }, "node_modules/@esbuild/win32-ia32": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.19.0.tgz", - "integrity": "sha512-uyxiZAnsfu9diHm9/rIH2soecF/HWLXYUhJKW4q1+/LLmNQ+55lRjvSUDhUmsgJtSUscRJB/3S4RNiTb9o9mCg==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.19.2.tgz", + "integrity": "sha512-47gL/ek1v36iN0wL9L4Q2MFdujR0poLZMJwhO2/N3gA89jgHp4MR8DKCmwYtGNksbfJb9JoTtbkoe6sDhg2QTA==", "cpu": [ "ia32" ], @@ -427,9 +427,9 @@ } }, "node_modules/@esbuild/win32-x64": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.19.0.tgz", - "integrity": "sha512-jl+NXUjK2StMgqnZnqgNjZuerFG8zQqWXMBZdMMv4W/aO1ZKQaYWZBxTrtWKphkCBVEMh0wMVfGgOd2BjOZqUQ==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.19.2.tgz", + "integrity": "sha512-tcuhV7ncXBqbt/Ybf0IyrMcwVOAPDckMK9rXNHtF17UTK18OKLpg08glminN06pt2WCoALhXdLfSPbVvK/6fxw==", "cpu": [ "x64" ], @@ -457,17 +457,17 @@ } }, "node_modules/@eslint-community/regexpp": { - "version": "4.6.2", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.6.2.tgz", - "integrity": "sha512-pPTNuaAG3QMH+buKyBIGJs3g/S5y0caxw0ygM3YyE6yJFySwiGGSzA+mM3KJ8QQvzeLh3blwgSonkFjgQdxzMw==", + "version": "4.8.0", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.8.0.tgz", + "integrity": "sha512-JylOEEzDiOryeUnFbQz+oViCXS0KsvR1mvHkoMiu5+UiBvy+RYX7tzlIIIEstF/gVa2tj9AQXk3dgnxv6KxhFg==", "engines": { "node": "^12.0.0 || ^14.0.0 || >=16.0.0" } }, "node_modules/@eslint/eslintrc": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.1.tgz", - "integrity": "sha512-9t7ZA7NGGK8ckelF0PQCfcxIUzs1Md5rrO6U/c+FIQNanea5UZC0wqKXH4vHBccmu4ZJgZ2idtPeW7+Q2npOEA==", + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.2.tgz", + "integrity": "sha512-+wvgpDsrB1YqAMdEUCcnTlpfVBH7Vqn6A/NT3D8WVXFIaKMlErPIZT3oCIAVCOtarRpMtelZLqJeU3t7WY6X6g==", "dependencies": { "ajv": "^6.12.4", "debug": "^4.3.2", @@ -487,71 +487,71 @@ } }, "node_modules/@eslint/js": { - "version": "8.46.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.46.0.tgz", - "integrity": "sha512-a8TLtmPi8xzPkCbp/OGFUo5yhRkHM2Ko9kOWP4znJr0WAhWyThaw3PnwX4vOTWOAMsV2uRt32PPDcEz63esSaA==", + "version": "8.48.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.48.0.tgz", + "integrity": "sha512-ZSjtmelB7IJfWD2Fvb7+Z+ChTIKWq6kjda95fLcQKNS5aheVHn4IkfgRQE3sIIzTcSLwLcLZUD9UBt+V7+h+Pw==", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } }, "node_modules/@file-services/memory": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/@file-services/memory/-/memory-8.1.1.tgz", - "integrity": "sha512-IsFBUX2WoqyxD0Tek7+fvHkg5VPyXnNDA0q/nHOuAbKsVw9/Cj0ZfNOqqydvE0yCblk4RuFPziFFkO6EPWd4DQ==", + "version": "8.1.3", + "resolved": "https://registry.npmjs.org/@file-services/memory/-/memory-8.1.3.tgz", + "integrity": "sha512-twzCl1D9uxo+BP7J9Al4AylaheXrDJLzkpxX1jT57wEGinvUFX7+3TL0L88+FB1p/+W7rU6J0JxWIjCBPhAUBQ==", "dependencies": { - "@file-services/path": "^8.1.1", - "@file-services/types": "^8.1.1", - "@file-services/utils": "^8.1.1" + "@file-services/path": "^8.1.3", + "@file-services/types": "^8.1.3", + "@file-services/utils": "^8.1.3" } }, "node_modules/@file-services/node": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/@file-services/node/-/node-8.1.1.tgz", - "integrity": "sha512-cgEKNeOozmw42O+kwzSSS+wx/KGNPT103rsINcjBFdFjI9wbwm2Nv216P5YhkEhBc4NpUXxJe4yn72Eb44TluQ==", + "version": "8.1.3", + "resolved": "https://registry.npmjs.org/@file-services/node/-/node-8.1.3.tgz", + "integrity": "sha512-khM0t0R5cV84nS0Qcc7n9T/fOkyGl9x83tgoVapdy75hTEUgYQW9VydCVHMZipORdVC1B4w06DOYO5PdnLtp2g==", "dependencies": { - "@file-services/types": "^8.1.1", - "@file-services/utils": "^8.1.1" + "@file-services/types": "^8.1.3", + "@file-services/utils": "^8.1.3" }, "engines": { "node": ">=14" } }, "node_modules/@file-services/path": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/@file-services/path/-/path-8.1.1.tgz", - "integrity": "sha512-oG0bH2Jw8tqL+D3jstr9f3SL5e2eYIVqDT5TFO6WDbhgv8xvYUM/S6c2mOvp1wokzRQ7t3Ah4Dlnp1uNqe+49w==", + "version": "8.1.3", + "resolved": "https://registry.npmjs.org/@file-services/path/-/path-8.1.3.tgz", + "integrity": "sha512-qIOF4NtcVUziBqTkBRqgyqCfBdg9TqnOq4z0n9zdS9Necb9kSRxFSMpz5JCUvLOHx9ukLmpvoO//3FujTDpIog==", "dependencies": { - "@file-services/types": "^8.1.1" + "@file-services/types": "^8.1.3" } }, "node_modules/@file-services/types": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/@file-services/types/-/types-8.1.1.tgz", - "integrity": "sha512-jlmBAT0V+1t1w1iwzl9bsAIQqxxYQ7Ob5mSPJbtLDHRP4F2f8NeGxkd5ZqZ+ITb+0dZCp+rKpJ0v/1/ZFChoNQ==" + "version": "8.1.3", + "resolved": "https://registry.npmjs.org/@file-services/types/-/types-8.1.3.tgz", + "integrity": "sha512-KjXzGPw72/DCKuTdfsRqj1/ePyoFY0oqUnkl/Dyr+PTBz4MB3sy0aU6GzL9UF+ogwLZMwU+UnCN0CYSiKq7fLQ==" }, "node_modules/@file-services/typescript": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/@file-services/typescript/-/typescript-8.1.1.tgz", - "integrity": "sha512-xerLHwHgBy4/z4ymQX26NzEPh+bu/TIPoQ0X88wO3A9bCFkWO/TvaUu2QiaeYczYmXVryYINeaGk6XwmmwbT5A==", + "version": "8.1.3", + "resolved": "https://registry.npmjs.org/@file-services/typescript/-/typescript-8.1.3.tgz", + "integrity": "sha512-LJq5JS100jG33x5x6tKFwBZR9bUvYGvHhkaIylui/xxwSu/b0wTRhNM+GuzBN3wkKbewqZdR1fxMTjx0eceKgw==", "dependencies": { - "@file-services/types": "^8.1.1" + "@file-services/types": "^8.1.3" }, "peerDependencies": { "typescript": ">=2.8.0" } }, "node_modules/@file-services/utils": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/@file-services/utils/-/utils-8.1.1.tgz", - "integrity": "sha512-lvMQFw1pc2NLcyJurOGrJQGDhODPzgnTpz8AJO3mr9njTnE8A/mXSZFen3FXBPT5Egnj7RqOZVkW7xOcv14ERg==", + "version": "8.1.3", + "resolved": "https://registry.npmjs.org/@file-services/utils/-/utils-8.1.3.tgz", + "integrity": "sha512-gIOKWBJrGeFU1oOELrPSo9cEPxUfw5ZhBI0E9OxJPKWkJfePqhlsK5zPdT3JHOg9azuSs3sR7n5hnv9oWvsDLQ==", "dependencies": { - "@file-services/types": "^8.1.1" + "@file-services/types": "^8.1.3" } }, "node_modules/@humanwhocodes/config-array": { - "version": "0.11.10", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.10.tgz", - "integrity": "sha512-KVVjQmNUepDVGXNuoRRdmmEjruj0KfiGSbS8LVc12LMsWDQzRXJ0qdhN8L8uUigKpfEHRhlaQFY0ib1tnUbNeQ==", + "version": "0.11.11", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.11.tgz", + "integrity": "sha512-N2brEuAadi0CcdeMXUkhbZB84eskAc8MEX1By6qEchoVywSgXPIjou4rYsl0V3Hj0ZnuGycGCjdNgockbzeWNA==", "dependencies": { "@humanwhocodes/object-schema": "^1.2.1", "debug": "^4.1.1", @@ -792,9 +792,9 @@ } }, "node_modules/@rollup/plugin-node-resolve": { - "version": "15.1.0", - "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-15.1.0.tgz", - "integrity": "sha512-xeZHCgsiZ9pzYVgAo9580eCGqwh/XCEUM9q6iQfGNocjgkufHAqC3exA+45URvhiYV8sBF9RlBai650eNs7AsA==", + "version": "15.2.1", + "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-15.2.1.tgz", + "integrity": "sha512-nsbUg588+GDSu8/NS8T4UAshO6xeaOfINNuXeVHcKV02LJtoRaM1SiOacClw4kws1SFiNhdLGxlbMY9ga/zs/w==", "dev": true, "dependencies": { "@rollup/pluginutils": "^5.0.1", @@ -817,9 +817,9 @@ } }, "node_modules/@rollup/pluginutils": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.0.2.tgz", - "integrity": "sha512-pTd9rIsP92h+B6wWwFbW8RkZv4hiR/xKsqre4SIuAOaOEQRxi0lqLke9k2/7WegC85GgUs9pjmOjCUi3In4vwA==", + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.0.4.tgz", + "integrity": "sha512-0KJnIoRI8A+a1dqOYLxH8vBf8bphDmty5QvIm2hqm7oFCFYKCAZWWd2hXgMibaPsNDhI0AtpYfQZJG47pt/k4g==", "dev": true, "dependencies": { "@types/estree": "^1.0.0", @@ -1130,9 +1130,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "14.18.54", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.54.tgz", - "integrity": "sha512-uq7O52wvo2Lggsx1x21tKZgqkJpvwCseBBPtX/nKQfpVlEsLOb11zZ1CRsWUKvJF0+lzuA9jwvA7Pr2Wt7i3xw==" + "version": "14.18.56", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.56.tgz", + "integrity": "sha512-+k+57NVS9opgrEn5l9c0gvD1r6C+PtyhVE4BTnMMRwiEA8ZO8uFcs6Yy2sXIy0eC95ZurBtRSvhZiHXBysbl6w==" }, "node_modules/@types/postcss-safe-parser": { "version": "5.0.1", @@ -1150,9 +1150,9 @@ "dev": true }, "node_modules/@types/react": { - "version": "18.2.20", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.20.tgz", - "integrity": "sha512-WKNtmsLWJM/3D5mG4U84cysVY31ivmyw85dE84fOCk5Hx78wezB/XEjVPWl2JTZ5FkEeaTJf+VgUAUn3PE7Isw==", + "version": "18.2.21", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.21.tgz", + "integrity": "sha512-neFKG/sBAwGxHgXiIxnbm3/AAVQ/cMRS93hvBpg8xYRbeQSPVABp9U2bRnPf0iI4+Ucdv3plSxKK+3CW2ENJxA==", "dev": true, "dependencies": { "@types/prop-types": "*", @@ -1182,9 +1182,9 @@ "dev": true }, "node_modules/@types/semver": { - "version": "7.5.0", - "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.0.tgz", - "integrity": "sha512-G8hZ6XJiHnuhQKR7ZmysCeJWE08o8T0AXtk5darsCaTVsYZhhgUrq53jizaR2FvsoeCwJhlmwTjkXBY5Pn/ZHw==" + "version": "7.5.1", + "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.1.tgz", + "integrity": "sha512-cJRQXpObxfNKkFAZbJl2yjWtJCqELQIdShsogr1d2MilP8dKD9TE/nEKHkJgUNHdGKCQaf9HbIynuV2csLGVLg==" }, "node_modules/@types/validate-npm-package-name": { "version": "4.0.0", @@ -1391,9 +1391,9 @@ } }, "node_modules/@vscode/l10n": { - "version": "0.0.14", - "resolved": "https://registry.npmjs.org/@vscode/l10n/-/l10n-0.0.14.tgz", - "integrity": "sha512-/yrv59IEnmh655z1oeDnGcvMYwnEzNzHLgeYcQCkhYX0xBvYWrAuefoiLcPBUkMpJsb46bqQ6Yv4pwTTQ4d3Qg==" + "version": "0.0.16", + "resolved": "https://registry.npmjs.org/@vscode/l10n/-/l10n-0.0.16.tgz", + "integrity": "sha512-JT5CvrIYYCrmB+dCana8sUqJEcGB1ZDXNLMQ2+42bW995WmNoenijWMUdZfwmuQUTQcEVVIa2OecZzTYWUW9Cg==" }, "node_modules/@webassemblyjs/ast": { "version": "1.11.6", @@ -1780,9 +1780,9 @@ } }, "node_modules/autoprefixer": { - "version": "10.4.14", - "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.14.tgz", - "integrity": "sha512-FQzyfOsTlwVzjHxKEqRIAdJx9niO6VCBCoEwax/VLSoQF29ggECcPuBqUMZ+u8jCZOPSy8b8/8KnuFbp0SaFZQ==", + "version": "10.4.15", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.15.tgz", + "integrity": "sha512-KCuPB8ZCIqFdA4HwKXsvz7j6gvSDNhDP7WnUjBleRkKjPdvCmHFuQ77ocavI8FT6NdvlBnE2UFr2H4Mycn8Vew==", "dev": true, "funding": [ { @@ -1792,11 +1792,15 @@ { "type": "tidelift", "url": "https://tidelift.com/funding/github/npm/autoprefixer" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" } ], "dependencies": { - "browserslist": "^4.21.5", - "caniuse-lite": "^1.0.30001464", + "browserslist": "^4.21.10", + "caniuse-lite": "^1.0.30001520", "fraction.js": "^4.2.0", "normalize-range": "^0.1.2", "picocolors": "^1.0.0", @@ -2036,9 +2040,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001519", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001519.tgz", - "integrity": "sha512-0QHgqR+Jv4bxHMp8kZ1Kn8CH55OikjKJ6JmKkZYP1F3D7w+lnFXF70nG5eNfsZS89jadi5Ywy5UCSKLAglIRkg==", + "version": "1.0.30001524", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001524.tgz", + "integrity": "sha512-Jj917pJtYg9HSJBF95HVX3Cdr89JUyLT4IZ8SvM5aDRni95swKgYi3TgYLH5hnGfPE/U1dg6IfZ50UsIlLkwSA==", "funding": [ { "type": "opencollective", @@ -2055,9 +2059,9 @@ ] }, "node_modules/chai": { - "version": "4.3.7", - "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.7.tgz", - "integrity": "sha512-HLnAzZ2iupm25PlN0xFreAlBA5zaBSv3og0DdeGA4Ar6h6rJ3A0rolRUKJhSF2V10GZKDgWF/VmAEsNWjCRB+A==", + "version": "4.3.8", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.8.tgz", + "integrity": "sha512-vX4YvVVtxlfSZ2VecZgFUTU5qPCYsobVI2O9FmwEXBhDigYGQA6jRXCycIs1yJnnWbZ6/+a2zNIF5DfVCcJBFQ==", "dependencies": { "assertion-error": "^1.1.0", "check-error": "^1.0.2", @@ -2602,9 +2606,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.490", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.490.tgz", - "integrity": "sha512-6s7NVJz+sATdYnIwhdshx/N/9O6rvMxmhVoDSDFdj6iA45gHR8EQje70+RYsF4GeB+k0IeNSBnP7yG9ZXJFr7A==" + "version": "1.4.505", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.505.tgz", + "integrity": "sha512-0A50eL5BCCKdxig2SsCXhpuztnB9PfUgRMojj5tMvt8O54lbwz3t6wNgnpiTRosw5QjlJB7ixhVyeg8daLQwSQ==" }, "node_modules/emoji-regex": { "version": "8.0.0", @@ -2740,9 +2744,9 @@ } }, "node_modules/esbuild": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.19.0.tgz", - "integrity": "sha512-i7i8TP4vuG55bKeLyqqk5sTPu1ZjPH3wkcLvAj/0X/222iWFo3AJUYRKjbOoY6BWFMH3teizxHEdV9Su5ESl0w==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.19.2.tgz", + "integrity": "sha512-G6hPax8UbFakEj3hWO0Vs52LQ8k3lnBhxZWomUJDxfz3rZTLqF5k/FCzuNdLx2RbpBiQQF9H9onlDDH1lZsnjg==", "hasInstallScript": true, "peer": true, "bin": { @@ -2752,28 +2756,28 @@ "node": ">=12" }, "optionalDependencies": { - "@esbuild/android-arm": "0.19.0", - "@esbuild/android-arm64": "0.19.0", - "@esbuild/android-x64": "0.19.0", - "@esbuild/darwin-arm64": "0.19.0", - "@esbuild/darwin-x64": "0.19.0", - "@esbuild/freebsd-arm64": "0.19.0", - "@esbuild/freebsd-x64": "0.19.0", - "@esbuild/linux-arm": "0.19.0", - "@esbuild/linux-arm64": "0.19.0", - "@esbuild/linux-ia32": "0.19.0", - "@esbuild/linux-loong64": "0.19.0", - "@esbuild/linux-mips64el": "0.19.0", - "@esbuild/linux-ppc64": "0.19.0", - "@esbuild/linux-riscv64": "0.19.0", - "@esbuild/linux-s390x": "0.19.0", - "@esbuild/linux-x64": "0.19.0", - "@esbuild/netbsd-x64": "0.19.0", - "@esbuild/openbsd-x64": "0.19.0", - "@esbuild/sunos-x64": "0.19.0", - "@esbuild/win32-arm64": "0.19.0", - "@esbuild/win32-ia32": "0.19.0", - "@esbuild/win32-x64": "0.19.0" + "@esbuild/android-arm": "0.19.2", + "@esbuild/android-arm64": "0.19.2", + "@esbuild/android-x64": "0.19.2", + "@esbuild/darwin-arm64": "0.19.2", + "@esbuild/darwin-x64": "0.19.2", + "@esbuild/freebsd-arm64": "0.19.2", + "@esbuild/freebsd-x64": "0.19.2", + "@esbuild/linux-arm": "0.19.2", + "@esbuild/linux-arm64": "0.19.2", + "@esbuild/linux-ia32": "0.19.2", + "@esbuild/linux-loong64": "0.19.2", + "@esbuild/linux-mips64el": "0.19.2", + "@esbuild/linux-ppc64": "0.19.2", + "@esbuild/linux-riscv64": "0.19.2", + "@esbuild/linux-s390x": "0.19.2", + "@esbuild/linux-x64": "0.19.2", + "@esbuild/netbsd-x64": "0.19.2", + "@esbuild/openbsd-x64": "0.19.2", + "@esbuild/sunos-x64": "0.19.2", + "@esbuild/win32-arm64": "0.19.2", + "@esbuild/win32-ia32": "0.19.2", + "@esbuild/win32-x64": "0.19.2" } }, "node_modules/escalade": { @@ -2796,14 +2800,14 @@ } }, "node_modules/eslint": { - "version": "8.46.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.46.0.tgz", - "integrity": "sha512-cIO74PvbW0qU8e0mIvk5IV3ToWdCq5FYG6gWPHHkx6gNdjlbAYvtfHmlCMXxjcoVaIdwy/IAt3+mDkZkfvb2Dg==", + "version": "8.48.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.48.0.tgz", + "integrity": "sha512-sb6DLeIuRXxeM1YljSe1KEx9/YYeZFQWcV8Rq9HfigmdDEugjLEVEa1ozDjL6YDjBpQHPJxJzze+alxi4T3OLg==", "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", - "@eslint/eslintrc": "^2.1.1", - "@eslint/js": "^8.46.0", + "@eslint/eslintrc": "^2.1.2", + "@eslint/js": "8.48.0", "@humanwhocodes/config-array": "^0.11.10", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", @@ -2814,7 +2818,7 @@ "doctrine": "^3.0.0", "escape-string-regexp": "^4.0.0", "eslint-scope": "^7.2.2", - "eslint-visitor-keys": "^3.4.2", + "eslint-visitor-keys": "^3.4.3", "espree": "^9.6.1", "esquery": "^1.4.2", "esutils": "^2.0.2", @@ -2877,9 +2881,9 @@ } }, "node_modules/eslint-visitor-keys": { - "version": "3.4.2", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.2.tgz", - "integrity": "sha512-8drBzUEyZ2llkpCA67iYrgEssKDUu68V8ChqqOfFupIaG/LCVPUT+CoGJpT77zJprs4T/W7p07LP7zAIMuweVw==", + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, @@ -3125,15 +3129,16 @@ } }, "node_modules/flat-cache": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", - "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.1.0.tgz", + "integrity": "sha512-OHx4Qwrrt0E4jEIcI5/Xb+f+QmJYNj2rrK8wiIdQOIrB9WrrJL8cjZvXdXuBTkkEwEqLycb5BeZDV1o2i9bTew==", "dependencies": { - "flatted": "^3.1.0", + "flatted": "^3.2.7", + "keyv": "^4.5.3", "rimraf": "^3.0.2" }, "engines": { - "node": "^10.12.0 || >=12.0.0" + "node": ">=12.0.0" } }, "node_modules/flat-cache/node_modules/rimraf": { @@ -3178,16 +3183,16 @@ } }, "node_modules/fraction.js": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.2.0.tgz", - "integrity": "sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA==", + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.3.1.tgz", + "integrity": "sha512-nx0cki48JBA6ThPeUpeKCNpdhEl/9bRS+dAEYnRUod+Z1jhFfC3K/mBLorZZntqHM+GTH3/dkkpfoT3QITYe7g==", "dev": true, "engines": { "node": "*" }, "funding": { "type": "patreon", - "url": "https://www.patreon.com/infusion" + "url": "https://github.com/sponsors/rawify" } }, "node_modules/fs.realpath": { @@ -3196,9 +3201,9 @@ "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" }, "node_modules/fsevents": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", - "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", "hasInstallScript": true, "optional": true, "os": [ @@ -3215,15 +3220,15 @@ "dev": true }, "node_modules/function.prototype.name": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.5.tgz", - "integrity": "sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA==", + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.6.tgz", + "integrity": "sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==", "dev": true, "dependencies": { "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.0", - "functions-have-names": "^1.2.2" + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "functions-have-names": "^1.2.3" }, "engines": { "node": ">= 0.4" @@ -3324,9 +3329,9 @@ "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==" }, "node_modules/globals": { - "version": "13.20.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz", - "integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==", + "version": "13.21.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.21.0.tgz", + "integrity": "sha512-ybyme3s4yy/t/3s35bewwXKOf7cvzfreG2lH0lZl0JB7I4GxRP2ghxOK/Nb9EkRXdbBXZLfq/p/0W2JUONB/Gg==", "dependencies": { "type-fest": "^0.20.2" }, @@ -3996,9 +4001,9 @@ } }, "node_modules/jackspeak": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.2.3.tgz", - "integrity": "sha512-pF0kfjmg8DJLxDrizHoCZGUFz4P4czQ3HyfW4BU0ffebYkzAVlBywp5zaxW/TM+r0sGbmrQdi8EQQVTJFxnGsQ==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.3.1.tgz", + "integrity": "sha512-4iSY3Bh1Htv+kLhiiZunUhQ+OYXIn0ze3ulq8JeWrFKmhPAJSySV2+kdtRh2pGcCeF0s6oR8Oc+pYZynJj4t8A==", "dependencies": { "@isaacs/cliui": "^8.0.2" }, @@ -4013,9 +4018,9 @@ } }, "node_modules/jest-docblock": { - "version": "29.4.3", - "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-29.4.3.tgz", - "integrity": "sha512-fzdTftThczeSD9nZ3fzA/4KkHtnmllawWrXO69vtI+L9WjEIuXWs4AmyME7lN5hU7dB0sHhuPfcKofRsUb/2Fg==", + "version": "29.6.3", + "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-29.6.3.tgz", + "integrity": "sha512-2+H+GOTQBEm2+qFSQ7Ma+BvyV+waiIFxmZF5LdpBsAEjWX8QYjSCa4FrkIYtbfXUJJJnFCYrOtt6TZ+IAiTjBQ==", "dependencies": { "detect-newline": "^3.0.0" }, @@ -4123,6 +4128,11 @@ "js-yaml": "bin/js-yaml.js" } }, + "node_modules/json-buffer": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", + "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==" + }, "node_modules/json-parse-better-errors": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", @@ -4156,6 +4166,14 @@ "node": ">=6" } }, + "node_modules/keyv": { + "version": "4.5.3", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.3.tgz", + "integrity": "sha512-QCiSav9WaX1PgETJ+SpNnx2PRRapJ/oRSXM4VO5OGYGSjrxbKPVFVhB3l2OCbLCk329N8qyAtsJjSjvVBWzEug==", + "dependencies": { + "json-buffer": "3.0.1" + } + }, "node_modules/levn": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", @@ -4472,9 +4490,9 @@ } }, "node_modules/minipass": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.2.tgz", - "integrity": "sha512-eL79dXrE1q9dBbDCLg7xfn/vl7MS4F1gvJAgjJrQli/jbQWdUttuVawphqpffoIYfRdq78LHx6GP4bU/EQ2ATA==", + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.3.tgz", + "integrity": "sha512-LhbbwCfz3vsb12j/WkWQPZfKTsgqIe1Nf/ti1pKjYESGLHIVjWU96G9/ljLH4F9mWNVhlQOm0VySdAWzf05dpg==", "engines": { "node": ">=16 || 14 >=14.17" } @@ -5139,13 +5157,13 @@ } }, "node_modules/playwright-chromium": { - "version": "1.37.0", - "resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.37.0.tgz", - "integrity": "sha512-56DOca+pGZombnX34ZwO1fI7HLgv3IgzqzNT1kmYAJ82JytqmXFz/umA7WkkONn9cN3WRPswqrqvD+3pq46rdg==", + "version": "1.37.1", + "resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.37.1.tgz", + "integrity": "sha512-UMbu6AtNe3vb36VzEoHVTnsBKaPMuHJhzZm5zpBM2DeLN8A/+gTQRQyfSZzuktSSDU22acMKGvc8WU6NIjBFmQ==", "dev": true, "hasInstallScript": true, "dependencies": { - "playwright-core": "1.37.0" + "playwright-core": "1.37.1" }, "bin": { "playwright": "cli.js" @@ -5155,9 +5173,9 @@ } }, "node_modules/playwright-core": { - "version": "1.37.0", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.37.0.tgz", - "integrity": "sha512-1c46jhTH/myQw6sesrcuHVtLoSNfJv8Pfy9t3rs6subY7kARv0HRw5PpyfPYPpPtQvBOmgbE6K+qgYUpj81LAA==", + "version": "1.37.1", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.37.1.tgz", + "integrity": "sha512-17EuQxlSIYCmEMwzMqusJ2ztDgJePjrbttaefgdsiqeLWidjYz9BxXaTaZWxH1J95SHGk6tjE+dwgWILJoUZfA==", "bin": { "playwright-core": "cli.js" }, @@ -5166,9 +5184,9 @@ } }, "node_modules/postcss": { - "version": "8.4.27", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.27.tgz", - "integrity": "sha512-gY/ACJtJPSmUFPDCHtX78+01fHa64FaU4zaaWfuh1MhGJISufJAH4cun6k/8fwsHYeK4UQmENQK+tRLCFJE8JQ==", + "version": "8.4.29", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.29.tgz", + "integrity": "sha512-cbI+jaqIeu/VGqXEarWkRCCffhjgXc0qjBtXpqJhTBohMUjUQnbBr0xqX3vEKudc4iviTewcJo5ajcec5+wdJw==", "funding": [ { "type": "opencollective", @@ -5659,9 +5677,9 @@ } }, "node_modules/rollup": { - "version": "3.28.0", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.28.0.tgz", - "integrity": "sha512-d7zhvo1OUY2SXSM6pfNjgD5+d0Nz87CUp4mt8l/GgVP3oBsPwzNvSzyu1me6BSG9JIgWNTVcafIXBIyM8yQ3yw==", + "version": "3.28.1", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.28.1.tgz", + "integrity": "sha512-R9OMQmIHJm9znrU3m3cpE8uhN0fGdXiawME7aZIpQqvpS/85+Vt1Hq1/yVIcYfOmaQiHjvXkQAoJukvLpau6Yw==", "bin": { "rollup": "dist/bin/rollup" }, @@ -6124,9 +6142,9 @@ } }, "node_modules/terser": { - "version": "5.19.2", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.19.2.tgz", - "integrity": "sha512-qC5+dmecKJA4cpYxRa5aVkKehYsQKc+AHeKl0Oe62aYjBL8ZA33tTljktDHJSaxxMnbI5ZYw+o/S2DxxLu8OfA==", + "version": "5.19.3", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.19.3.tgz", + "integrity": "sha512-pQzJ9UJzM0IgmT4FAtYI6+VqFf0lj/to58AV0Xfgg0Up37RyPG7Al+1cepC6/BVuAxR9oNb41/DL4DEoHJvTdg==", "dependencies": { "@jridgewell/source-map": "^0.3.3", "acorn": "^8.8.2", @@ -6251,9 +6269,9 @@ } }, "node_modules/tslib": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.1.tgz", - "integrity": "sha512-t0hLfiEKfMUoqhG+U1oid7Pva4bbDPHYfJNiB7BiIjRkj1pyC++4N3huJfqY6aRH6VTB0rvtzQwjM4K6qpfOig==", + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==", "dev": true }, "node_modules/tsutils": { @@ -6371,9 +6389,9 @@ } }, "node_modules/typescript": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.6.tgz", - "integrity": "sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==", + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz", + "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -6529,11 +6547,11 @@ "integrity": "sha512-aodjPa2wPQFkra1G8CzJBTHXhgk3EVSwxSWXNPr1fgdFLUb8kvLV1iEb6rFgasIsjP82HWI6dsb5Io26DDnasA==" }, "node_modules/vscode-css-languageservice": { - "version": "6.2.6", - "resolved": "https://registry.npmjs.org/vscode-css-languageservice/-/vscode-css-languageservice-6.2.6.tgz", - "integrity": "sha512-SA2WkeOecIpUiEbZnjOsP/fI5CRITZEiQGSHXKiDQDwLApfKcnLhZwMtOBbIifSzESVcQa7b/shX/nbnF4NoCg==", + "version": "6.2.7", + "resolved": "https://registry.npmjs.org/vscode-css-languageservice/-/vscode-css-languageservice-6.2.7.tgz", + "integrity": "sha512-Jd8wpIg5kJ15CfrieoEPvu3gGFc36sbM3qXCtjVq5zrnLEX5NhHxikMDtf8AgQsYklXiDqiZLKoBnzkJtRbTHQ==", "dependencies": { - "@vscode/l10n": "^0.0.14", + "@vscode/l10n": "^0.0.16", "vscode-languageserver-textdocument": "^1.0.8", "vscode-languageserver-types": "^3.17.3", "vscode-uri": "^3.0.7" @@ -6822,8 +6840,8 @@ "version": "5.15.1", "license": "MIT", "dependencies": { - "@file-services/node": "^8.1.1", - "@file-services/types": "^8.1.1", + "@file-services/node": "^8.1.3", + "@file-services/types": "^8.1.3", "@stylable/build-tools": "^5.15.1", "@stylable/code-formatter": "^5.15.1", "@stylable/core": "^5.15.1", @@ -6864,7 +6882,7 @@ "@stylable/core": "^5.15.1", "@tokey/css-value-parser": "^0.1.3", "js-beautify": "^1.14.9", - "postcss": "^8.4.27" + "postcss": "^8.4.29" }, "engines": { "node": ">=14.14.0" @@ -6885,7 +6903,7 @@ "is-vendor-prefixed": "^4.0.0", "lodash.clonedeep": "^4.5.0", "lodash.clonedeepwith": "^4.5.0", - "postcss": "^8.4.27", + "postcss": "^8.4.29", "postcss-js": "^4.0.1", "postcss-nested": "^6.0.1", "postcss-safe-parser": "^6.0.0", @@ -6900,11 +6918,11 @@ "version": "5.15.1", "license": "MIT", "dependencies": { - "@file-services/memory": "^8.1.1", + "@file-services/memory": "^8.1.3", "@stylable/core": "^5.15.1", - "chai": "^4.3.7", + "chai": "^4.3.8", "flat": "^5.0.2", - "postcss": "^8.4.27" + "postcss": "^8.4.29" }, "engines": { "node": ">=14.14.0" @@ -6959,7 +6977,7 @@ "dependencies": { "@stylable/runtime": "^5.15.1", "node-eval": "^2.0.0", - "playwright-core": "^1.37.0", + "playwright-core": "^1.37.1", "rimraf": "^5.0.1" }, "engines": { @@ -7035,17 +7053,17 @@ "version": "5.15.1", "license": "MIT", "dependencies": { - "@file-services/types": "^8.1.1", - "@file-services/typescript": "^8.1.1", + "@file-services/types": "^8.1.3", + "@file-services/typescript": "^8.1.3", "@stylable/code-formatter": "^5.15.1", "@stylable/core": "^5.15.1", "@tokey/core": "^1.4.0", "@tokey/css-selector-parser": "^0.6.1", "@tokey/css-value-parser": "^0.1.3", "css-selector-tokenizer": "^0.8.0", - "postcss": "^8.4.27", + "postcss": "^8.4.29", "postcss-value-parser": "^4.2.0", - "vscode-css-languageservice": "^6.2.6", + "vscode-css-languageservice": "^6.2.7", "vscode-languageserver": "^8.1.0", "vscode-languageserver-textdocument": "^1.0.8", "vscode-uri": "^3.0.7" @@ -7092,7 +7110,7 @@ "@stylable/core": "^5.15.1", "@tokey/css-selector-parser": "^0.6.1", "csso": "^5.0.5", - "postcss": "^8.4.27" + "postcss": "^8.4.29" }, "engines": { "node": ">=14.14.0" @@ -7143,7 +7161,7 @@ "license": "MIT", "dependencies": { "@stylable/core": "^5.15.1", - "jest-docblock": "^29.4.3" + "jest-docblock": "^29.6.3" }, "engines": { "node": ">=14.14.0" @@ -7190,7 +7208,7 @@ "@stylable/runtime": "^5.15.1", "decache": "^4.6.2", "lodash.clonedeep": "^4.5.0", - "postcss": "^8.4.27" + "postcss": "^8.4.29" }, "engines": { "node": ">=14.14.0" @@ -7213,156 +7231,156 @@ "dev": true }, "@esbuild/android-arm": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.0.tgz", - "integrity": "sha512-GAkjUyHgWTYuex3evPd5V7uV/XS4LMKr1PWHRPW1xNyy/Jx08x3uTrDFRefBYLKT/KpaWM8/YMQcwbp5a3yIDA==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.2.tgz", + "integrity": "sha512-tM8yLeYVe7pRyAu9VMi/Q7aunpLwD139EY1S99xbQkT4/q2qa6eA4ige/WJQYdJ8GBL1K33pPFhPfPdJ/WzT8Q==", "optional": true, "peer": true }, "@esbuild/android-arm64": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.19.0.tgz", - "integrity": "sha512-AzsozJnB+RNaDncBCs3Ys5g3kqhPFUueItfEaCpp89JH2naFNX2mYDIvUgPYMqqjm8hiFoo+jklb3QHZyR3ubw==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.19.2.tgz", + "integrity": "sha512-lsB65vAbe90I/Qe10OjkmrdxSX4UJDjosDgb8sZUKcg3oefEuW2OT2Vozz8ef7wrJbMcmhvCC+hciF8jY/uAkw==", "optional": true, "peer": true }, "@esbuild/android-x64": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.19.0.tgz", - "integrity": "sha512-SUG8/qiVhljBDpdkHQ9DvOWbp7hFFIP0OzxOTptbmVsgBgzY6JWowmMd6yJuOhapfxmj/DrvwKmjRLvVSIAKZg==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.19.2.tgz", + "integrity": "sha512-qK/TpmHt2M/Hg82WXHRc/W/2SGo/l1thtDHZWqFq7oi24AjZ4O/CpPSu6ZuYKFkEgmZlFoa7CooAyYmuvnaG8w==", "optional": true, "peer": true }, "@esbuild/darwin-arm64": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.19.0.tgz", - "integrity": "sha512-HkxZ8k3Jvcw0FORPNTavA8BMgQjLOB6AajT+iXmil7BwY3gU1hWvJJAyWyEogCmA4LdbGvKF8vEykdmJ4xNJJQ==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.19.2.tgz", + "integrity": "sha512-Ora8JokrvrzEPEpZO18ZYXkH4asCdc1DLdcVy8TGf5eWtPO1Ie4WroEJzwI52ZGtpODy3+m0a2yEX9l+KUn0tA==", "optional": true, "peer": true }, "@esbuild/darwin-x64": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.19.0.tgz", - "integrity": "sha512-9IRWJjqpWFHM9a5Qs3r3bK834NCFuDY5ZaLrmTjqE+10B6w65UMQzeZjh794JcxpHolsAHqwsN/33crUXNCM2Q==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.19.2.tgz", + "integrity": "sha512-tP+B5UuIbbFMj2hQaUr6EALlHOIOmlLM2FK7jeFBobPy2ERdohI4Ka6ZFjZ1ZYsrHE/hZimGuU90jusRE0pwDw==", "optional": true, "peer": true }, "@esbuild/freebsd-arm64": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.0.tgz", - "integrity": "sha512-s7i2WcXcK0V1PJHVBe7NsGddsL62a9Vhpz2U7zapPrwKoFuxPP9jybwX8SXnropR/AOj3ppt2ern4ItblU6UQQ==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.2.tgz", + "integrity": "sha512-YbPY2kc0acfzL1VPVK6EnAlig4f+l8xmq36OZkU0jzBVHcOTyQDhnKQaLzZudNJQyymd9OqQezeaBgkTGdTGeQ==", "optional": true, "peer": true }, "@esbuild/freebsd-x64": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.19.0.tgz", - "integrity": "sha512-NMdBSSdgwHCqCsucU5k1xflIIRU0qi1QZnM6+vdGy5fvxm1c8rKh50VzsWsIVTFUG3l91AtRxVwoz3Lcvy3I5w==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.19.2.tgz", + "integrity": "sha512-nSO5uZT2clM6hosjWHAsS15hLrwCvIWx+b2e3lZ3MwbYSaXwvfO528OF+dLjas1g3bZonciivI8qKR/Hm7IWGw==", "optional": true, "peer": true }, "@esbuild/linux-arm": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.19.0.tgz", - "integrity": "sha512-2F1+lH7ZBcCcgxiSs8EXQV0PPJJdTNiNcXxDb61vzxTRJJkXX1I/ye9mAhfHyScXzHaEibEXg1Jq9SW586zz7w==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.19.2.tgz", + "integrity": "sha512-Odalh8hICg7SOD7XCj0YLpYCEc+6mkoq63UnExDCiRA2wXEmGlK5JVrW50vZR9Qz4qkvqnHcpH+OFEggO3PgTg==", "optional": true, "peer": true }, "@esbuild/linux-arm64": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.19.0.tgz", - "integrity": "sha512-I4zvE2srSZxRPapFnNqj+NL3sDJ1wkvEZqt903OZUlBBgigrQMvzUowvP/TTTu2OGYe1oweg5MFilfyrElIFag==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.19.2.tgz", + "integrity": "sha512-ig2P7GeG//zWlU0AggA3pV1h5gdix0MA3wgB+NsnBXViwiGgY77fuN9Wr5uoCrs2YzaYfogXgsWZbm+HGr09xg==", "optional": true, "peer": true }, "@esbuild/linux-ia32": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.19.0.tgz", - "integrity": "sha512-dz2Q7+P92r1Evc8kEN+cQnB3qqPjmCrOZ+EdBTn8lEc1yN8WDgaDORQQiX+mxaijbH8npXBT9GxUqE52Gt6Y+g==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.19.2.tgz", + "integrity": "sha512-mLfp0ziRPOLSTek0Gd9T5B8AtzKAkoZE70fneiiyPlSnUKKI4lp+mGEnQXcQEHLJAcIYDPSyBvsUbKUG2ri/XQ==", "optional": true, "peer": true }, "@esbuild/linux-loong64": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.19.0.tgz", - "integrity": "sha512-IcVJovJVflih4oFahhUw+N7YgNbuMSVFNr38awb0LNzfaiIfdqIh518nOfYaNQU3aVfiJnOIRVJDSAP4k35WxA==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.19.2.tgz", + "integrity": "sha512-hn28+JNDTxxCpnYjdDYVMNTR3SKavyLlCHHkufHV91fkewpIyQchS1d8wSbmXhs1fiYDpNww8KTFlJ1dHsxeSw==", "optional": true, "peer": true }, "@esbuild/linux-mips64el": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.19.0.tgz", - "integrity": "sha512-bZGRAGySMquWsKw0gIdsClwfvgbsSq/7oq5KVu1H1r9Il+WzOcfkV1hguntIuBjRVL8agI95i4AukjdAV2YpUw==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.19.2.tgz", + "integrity": "sha512-KbXaC0Sejt7vD2fEgPoIKb6nxkfYW9OmFUK9XQE4//PvGIxNIfPk1NmlHmMg6f25x57rpmEFrn1OotASYIAaTg==", "optional": true, "peer": true }, "@esbuild/linux-ppc64": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.19.0.tgz", - "integrity": "sha512-3LC6H5/gCDorxoRBUdpLV/m7UthYSdar0XcCu+ypycQxMS08MabZ06y1D1yZlDzL/BvOYliRNRWVG/YJJvQdbg==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.19.2.tgz", + "integrity": "sha512-dJ0kE8KTqbiHtA3Fc/zn7lCd7pqVr4JcT0JqOnbj4LLzYnp+7h8Qi4yjfq42ZlHfhOCM42rBh0EwHYLL6LEzcw==", "optional": true, "peer": true }, "@esbuild/linux-riscv64": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.19.0.tgz", - "integrity": "sha512-jfvdKjWk+Cp2sgLtEEdSHXO7qckrw2B2eFBaoRdmfhThqZs29GMMg7q/LsQpybA7BxCLLEs4di5ucsWzZC5XPA==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.19.2.tgz", + "integrity": "sha512-7Z/jKNFufZ/bbu4INqqCN6DDlrmOTmdw6D0gH+6Y7auok2r02Ur661qPuXidPOJ+FSgbEeQnnAGgsVynfLuOEw==", "optional": true, "peer": true }, "@esbuild/linux-s390x": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.19.0.tgz", - "integrity": "sha512-ofcucfNLkoXmcnJaw9ugdEOf40AWKGt09WBFCkpor+vFJVvmk/8OPjl/qRtks2Z7BuZbG3ztJuK1zS9z5Cgx9A==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.19.2.tgz", + "integrity": "sha512-U+RinR6aXXABFCcAY4gSlv4CL1oOVvSSCdseQmGO66H+XyuQGZIUdhG56SZaDJQcLmrSfRmx5XZOWyCJPRqS7g==", "optional": true, "peer": true }, "@esbuild/linux-x64": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.0.tgz", - "integrity": "sha512-Fpf7zNDBti3xrQKQKLdXT0hTyOxgFdRJIMtNy8x1az9ATR9/GJ1brYbB/GLWoXhKiHsoWs+2DLkFVNNMTCLEwA==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.2.tgz", + "integrity": "sha512-oxzHTEv6VPm3XXNaHPyUTTte+3wGv7qVQtqaZCrgstI16gCuhNOtBXLEBkBREP57YTd68P0VgDgG73jSD8bwXQ==", "optional": true, "peer": true }, "@esbuild/netbsd-x64": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.19.0.tgz", - "integrity": "sha512-AMQAp/5oENgDOvVhvOlbhVe1pWii7oFAMRHlmTjSEMcpjTpIHtFXhv9uAFgUERHm3eYtNvS9Vf+gT55cwuI6Aw==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.19.2.tgz", + "integrity": "sha512-WNa5zZk1XpTTwMDompZmvQLHszDDDN7lYjEHCUmAGB83Bgs20EMs7ICD+oKeT6xt4phV4NDdSi/8OfjPbSbZfQ==", "optional": true, "peer": true }, "@esbuild/openbsd-x64": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.19.0.tgz", - "integrity": "sha512-fDztEve1QUs3h/Dw2AUmBlWGkNQbhDoD05ppm5jKvzQv+HVuV13so7m5RYeiSMIC2XQy7PAjZh+afkxAnCRZxA==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.19.2.tgz", + "integrity": "sha512-S6kI1aT3S++Dedb7vxIuUOb3oAxqxk2Rh5rOXOTYnzN8JzW1VzBd+IqPiSpgitu45042SYD3HCoEyhLKQcDFDw==", "optional": true, "peer": true }, "@esbuild/sunos-x64": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.19.0.tgz", - "integrity": "sha512-bKZzJ2/rvUjDzA5Ddyva2tMk89WzNJEibZEaq+wY6SiqPlwgFbqyQLimouxLHiHh1itb5P3SNCIF1bc2bw5H9w==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.19.2.tgz", + "integrity": "sha512-VXSSMsmb+Z8LbsQGcBMiM+fYObDNRm8p7tkUDMPG/g4fhFX5DEFmjxIEa3N8Zr96SjsJ1woAhF0DUnS3MF3ARw==", "optional": true, "peer": true }, "@esbuild/win32-arm64": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.19.0.tgz", - "integrity": "sha512-NQJ+4jmnA79saI+sE+QzcEls19uZkoEmdxo7r//PDOjIpX8pmoWtTnWg6XcbnO7o4fieyAwb5U2LvgWynF4diA==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.19.2.tgz", + "integrity": "sha512-5NayUlSAyb5PQYFAU9x3bHdsqB88RC3aM9lKDAz4X1mo/EchMIT1Q+pSeBXNgkfNmRecLXA0O8xP+x8V+g/LKg==", "optional": true, "peer": true }, "@esbuild/win32-ia32": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.19.0.tgz", - "integrity": "sha512-uyxiZAnsfu9diHm9/rIH2soecF/HWLXYUhJKW4q1+/LLmNQ+55lRjvSUDhUmsgJtSUscRJB/3S4RNiTb9o9mCg==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.19.2.tgz", + "integrity": "sha512-47gL/ek1v36iN0wL9L4Q2MFdujR0poLZMJwhO2/N3gA89jgHp4MR8DKCmwYtGNksbfJb9JoTtbkoe6sDhg2QTA==", "optional": true, "peer": true }, "@esbuild/win32-x64": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.19.0.tgz", - "integrity": "sha512-jl+NXUjK2StMgqnZnqgNjZuerFG8zQqWXMBZdMMv4W/aO1ZKQaYWZBxTrtWKphkCBVEMh0wMVfGgOd2BjOZqUQ==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.19.2.tgz", + "integrity": "sha512-tcuhV7ncXBqbt/Ybf0IyrMcwVOAPDckMK9rXNHtF17UTK18OKLpg08glminN06pt2WCoALhXdLfSPbVvK/6fxw==", "optional": true, "peer": true }, @@ -7375,14 +7393,14 @@ } }, "@eslint-community/regexpp": { - "version": "4.6.2", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.6.2.tgz", - "integrity": "sha512-pPTNuaAG3QMH+buKyBIGJs3g/S5y0caxw0ygM3YyE6yJFySwiGGSzA+mM3KJ8QQvzeLh3blwgSonkFjgQdxzMw==" + "version": "4.8.0", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.8.0.tgz", + "integrity": "sha512-JylOEEzDiOryeUnFbQz+oViCXS0KsvR1mvHkoMiu5+UiBvy+RYX7tzlIIIEstF/gVa2tj9AQXk3dgnxv6KxhFg==" }, "@eslint/eslintrc": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.1.tgz", - "integrity": "sha512-9t7ZA7NGGK8ckelF0PQCfcxIUzs1Md5rrO6U/c+FIQNanea5UZC0wqKXH4vHBccmu4ZJgZ2idtPeW7+Q2npOEA==", + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.2.tgz", + "integrity": "sha512-+wvgpDsrB1YqAMdEUCcnTlpfVBH7Vqn6A/NT3D8WVXFIaKMlErPIZT3oCIAVCOtarRpMtelZLqJeU3t7WY6X6g==", "requires": { "ajv": "^6.12.4", "debug": "^4.3.2", @@ -7396,62 +7414,62 @@ } }, "@eslint/js": { - "version": "8.46.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.46.0.tgz", - "integrity": "sha512-a8TLtmPi8xzPkCbp/OGFUo5yhRkHM2Ko9kOWP4znJr0WAhWyThaw3PnwX4vOTWOAMsV2uRt32PPDcEz63esSaA==" + "version": "8.48.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.48.0.tgz", + "integrity": "sha512-ZSjtmelB7IJfWD2Fvb7+Z+ChTIKWq6kjda95fLcQKNS5aheVHn4IkfgRQE3sIIzTcSLwLcLZUD9UBt+V7+h+Pw==" }, "@file-services/memory": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/@file-services/memory/-/memory-8.1.1.tgz", - "integrity": "sha512-IsFBUX2WoqyxD0Tek7+fvHkg5VPyXnNDA0q/nHOuAbKsVw9/Cj0ZfNOqqydvE0yCblk4RuFPziFFkO6EPWd4DQ==", + "version": "8.1.3", + "resolved": "https://registry.npmjs.org/@file-services/memory/-/memory-8.1.3.tgz", + "integrity": "sha512-twzCl1D9uxo+BP7J9Al4AylaheXrDJLzkpxX1jT57wEGinvUFX7+3TL0L88+FB1p/+W7rU6J0JxWIjCBPhAUBQ==", "requires": { - "@file-services/path": "^8.1.1", - "@file-services/types": "^8.1.1", - "@file-services/utils": "^8.1.1" + "@file-services/path": "^8.1.3", + "@file-services/types": "^8.1.3", + "@file-services/utils": "^8.1.3" } }, "@file-services/node": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/@file-services/node/-/node-8.1.1.tgz", - "integrity": "sha512-cgEKNeOozmw42O+kwzSSS+wx/KGNPT103rsINcjBFdFjI9wbwm2Nv216P5YhkEhBc4NpUXxJe4yn72Eb44TluQ==", + "version": "8.1.3", + "resolved": "https://registry.npmjs.org/@file-services/node/-/node-8.1.3.tgz", + "integrity": "sha512-khM0t0R5cV84nS0Qcc7n9T/fOkyGl9x83tgoVapdy75hTEUgYQW9VydCVHMZipORdVC1B4w06DOYO5PdnLtp2g==", "requires": { - "@file-services/types": "^8.1.1", - "@file-services/utils": "^8.1.1" + "@file-services/types": "^8.1.3", + "@file-services/utils": "^8.1.3" } }, "@file-services/path": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/@file-services/path/-/path-8.1.1.tgz", - "integrity": "sha512-oG0bH2Jw8tqL+D3jstr9f3SL5e2eYIVqDT5TFO6WDbhgv8xvYUM/S6c2mOvp1wokzRQ7t3Ah4Dlnp1uNqe+49w==", + "version": "8.1.3", + "resolved": "https://registry.npmjs.org/@file-services/path/-/path-8.1.3.tgz", + "integrity": "sha512-qIOF4NtcVUziBqTkBRqgyqCfBdg9TqnOq4z0n9zdS9Necb9kSRxFSMpz5JCUvLOHx9ukLmpvoO//3FujTDpIog==", "requires": { - "@file-services/types": "^8.1.1" + "@file-services/types": "^8.1.3" } }, "@file-services/types": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/@file-services/types/-/types-8.1.1.tgz", - "integrity": "sha512-jlmBAT0V+1t1w1iwzl9bsAIQqxxYQ7Ob5mSPJbtLDHRP4F2f8NeGxkd5ZqZ+ITb+0dZCp+rKpJ0v/1/ZFChoNQ==" + "version": "8.1.3", + "resolved": "https://registry.npmjs.org/@file-services/types/-/types-8.1.3.tgz", + "integrity": "sha512-KjXzGPw72/DCKuTdfsRqj1/ePyoFY0oqUnkl/Dyr+PTBz4MB3sy0aU6GzL9UF+ogwLZMwU+UnCN0CYSiKq7fLQ==" }, "@file-services/typescript": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/@file-services/typescript/-/typescript-8.1.1.tgz", - "integrity": "sha512-xerLHwHgBy4/z4ymQX26NzEPh+bu/TIPoQ0X88wO3A9bCFkWO/TvaUu2QiaeYczYmXVryYINeaGk6XwmmwbT5A==", + "version": "8.1.3", + "resolved": "https://registry.npmjs.org/@file-services/typescript/-/typescript-8.1.3.tgz", + "integrity": "sha512-LJq5JS100jG33x5x6tKFwBZR9bUvYGvHhkaIylui/xxwSu/b0wTRhNM+GuzBN3wkKbewqZdR1fxMTjx0eceKgw==", "requires": { - "@file-services/types": "^8.1.1" + "@file-services/types": "^8.1.3" } }, "@file-services/utils": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/@file-services/utils/-/utils-8.1.1.tgz", - "integrity": "sha512-lvMQFw1pc2NLcyJurOGrJQGDhODPzgnTpz8AJO3mr9njTnE8A/mXSZFen3FXBPT5Egnj7RqOZVkW7xOcv14ERg==", + "version": "8.1.3", + "resolved": "https://registry.npmjs.org/@file-services/utils/-/utils-8.1.3.tgz", + "integrity": "sha512-gIOKWBJrGeFU1oOELrPSo9cEPxUfw5ZhBI0E9OxJPKWkJfePqhlsK5zPdT3JHOg9azuSs3sR7n5hnv9oWvsDLQ==", "requires": { - "@file-services/types": "^8.1.1" + "@file-services/types": "^8.1.3" } }, "@humanwhocodes/config-array": { - "version": "0.11.10", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.10.tgz", - "integrity": "sha512-KVVjQmNUepDVGXNuoRRdmmEjruj0KfiGSbS8LVc12LMsWDQzRXJ0qdhN8L8uUigKpfEHRhlaQFY0ib1tnUbNeQ==", + "version": "0.11.11", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.11.tgz", + "integrity": "sha512-N2brEuAadi0CcdeMXUkhbZB84eskAc8MEX1By6qEchoVywSgXPIjou4rYsl0V3Hj0ZnuGycGCjdNgockbzeWNA==", "requires": { "@humanwhocodes/object-schema": "^1.2.1", "debug": "^4.1.1", @@ -7617,9 +7635,9 @@ "requires": {} }, "@rollup/plugin-node-resolve": { - "version": "15.1.0", - "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-15.1.0.tgz", - "integrity": "sha512-xeZHCgsiZ9pzYVgAo9580eCGqwh/XCEUM9q6iQfGNocjgkufHAqC3exA+45URvhiYV8sBF9RlBai650eNs7AsA==", + "version": "15.2.1", + "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-15.2.1.tgz", + "integrity": "sha512-nsbUg588+GDSu8/NS8T4UAshO6xeaOfINNuXeVHcKV02LJtoRaM1SiOacClw4kws1SFiNhdLGxlbMY9ga/zs/w==", "dev": true, "requires": { "@rollup/pluginutils": "^5.0.1", @@ -7631,9 +7649,9 @@ } }, "@rollup/pluginutils": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.0.2.tgz", - "integrity": "sha512-pTd9rIsP92h+B6wWwFbW8RkZv4hiR/xKsqre4SIuAOaOEQRxi0lqLke9k2/7WegC85GgUs9pjmOjCUi3In4vwA==", + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.0.4.tgz", + "integrity": "sha512-0KJnIoRI8A+a1dqOYLxH8vBf8bphDmty5QvIm2hqm7oFCFYKCAZWWd2hXgMibaPsNDhI0AtpYfQZJG47pt/k4g==", "dev": true, "requires": { "@types/estree": "^1.0.0", @@ -7651,8 +7669,8 @@ "@stylable/cli": { "version": "file:packages/cli", "requires": { - "@file-services/node": "^8.1.1", - "@file-services/types": "^8.1.1", + "@file-services/node": "^8.1.3", + "@file-services/types": "^8.1.3", "@stylable/build-tools": "^5.15.1", "@stylable/code-formatter": "^5.15.1", "@stylable/core": "^5.15.1", @@ -7678,7 +7696,7 @@ "@stylable/core": "^5.15.1", "@tokey/css-value-parser": "^0.1.3", "js-beautify": "^1.14.9", - "postcss": "^8.4.27" + "postcss": "^8.4.29" } }, "@stylable/core": { @@ -7694,7 +7712,7 @@ "is-vendor-prefixed": "^4.0.0", "lodash.clonedeep": "^4.5.0", "lodash.clonedeepwith": "^4.5.0", - "postcss": "^8.4.27", + "postcss": "^8.4.29", "postcss-js": "^4.0.1", "postcss-nested": "^6.0.1", "postcss-safe-parser": "^6.0.0", @@ -7709,11 +7727,11 @@ "@stylable/core-test-kit": { "version": "file:packages/core-test-kit", "requires": { - "@file-services/memory": "^8.1.1", + "@file-services/memory": "^8.1.3", "@stylable/core": "^5.15.1", - "chai": "^4.3.7", + "chai": "^4.3.8", "flat": "^5.0.2", - "postcss": "^8.4.27" + "postcss": "^8.4.29" } }, "@stylable/custom-value": { @@ -7735,7 +7753,7 @@ "requires": { "@stylable/runtime": "^5.15.1", "node-eval": "^2.0.0", - "playwright-core": "^1.37.0", + "playwright-core": "^1.37.1", "rimraf": "^5.0.1" } }, @@ -7778,17 +7796,17 @@ "@stylable/language-service": { "version": "file:packages/language-service", "requires": { - "@file-services/types": "^8.1.1", - "@file-services/typescript": "^8.1.1", + "@file-services/types": "^8.1.3", + "@file-services/typescript": "^8.1.3", "@stylable/code-formatter": "^5.15.1", "@stylable/core": "^5.15.1", "@tokey/core": "^1.4.0", "@tokey/css-selector-parser": "^0.6.1", "@tokey/css-value-parser": "^0.1.3", "css-selector-tokenizer": "^0.8.0", - "postcss": "^8.4.27", + "postcss": "^8.4.29", "postcss-value-parser": "^4.2.0", - "vscode-css-languageservice": "^6.2.6", + "vscode-css-languageservice": "^6.2.7", "vscode-languageserver": "^8.1.0", "vscode-languageserver-textdocument": "^1.0.8", "vscode-uri": "^3.0.7" @@ -7817,7 +7835,7 @@ "@stylable/core": "^5.15.1", "@tokey/css-selector-parser": "^0.6.1", "csso": "^5.0.5", - "postcss": "^8.4.27" + "postcss": "^8.4.29" } }, "@stylable/rollup-plugin": { @@ -7845,7 +7863,7 @@ "version": "file:packages/schema-extract", "requires": { "@stylable/core": "^5.15.1", - "jest-docblock": "^29.4.3" + "jest-docblock": "^29.6.3" } }, "@stylable/uni-driver": { @@ -7874,7 +7892,7 @@ "@stylable/runtime": "^5.15.1", "decache": "^4.6.2", "lodash.clonedeep": "^4.5.0", - "postcss": "^8.4.27" + "postcss": "^8.4.29" } }, "@tokey/core": { @@ -8085,9 +8103,9 @@ "dev": true }, "@types/node": { - "version": "14.18.54", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.54.tgz", - "integrity": "sha512-uq7O52wvo2Lggsx1x21tKZgqkJpvwCseBBPtX/nKQfpVlEsLOb11zZ1CRsWUKvJF0+lzuA9jwvA7Pr2Wt7i3xw==" + "version": "14.18.56", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.56.tgz", + "integrity": "sha512-+k+57NVS9opgrEn5l9c0gvD1r6C+PtyhVE4BTnMMRwiEA8ZO8uFcs6Yy2sXIy0eC95ZurBtRSvhZiHXBysbl6w==" }, "@types/postcss-safe-parser": { "version": "5.0.1", @@ -8105,9 +8123,9 @@ "dev": true }, "@types/react": { - "version": "18.2.20", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.20.tgz", - "integrity": "sha512-WKNtmsLWJM/3D5mG4U84cysVY31ivmyw85dE84fOCk5Hx78wezB/XEjVPWl2JTZ5FkEeaTJf+VgUAUn3PE7Isw==", + "version": "18.2.21", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.21.tgz", + "integrity": "sha512-neFKG/sBAwGxHgXiIxnbm3/AAVQ/cMRS93hvBpg8xYRbeQSPVABp9U2bRnPf0iI4+Ucdv3plSxKK+3CW2ENJxA==", "dev": true, "requires": { "@types/prop-types": "*", @@ -8137,9 +8155,9 @@ "dev": true }, "@types/semver": { - "version": "7.5.0", - "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.0.tgz", - "integrity": "sha512-G8hZ6XJiHnuhQKR7ZmysCeJWE08o8T0AXtk5darsCaTVsYZhhgUrq53jizaR2FvsoeCwJhlmwTjkXBY5Pn/ZHw==" + "version": "7.5.1", + "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.1.tgz", + "integrity": "sha512-cJRQXpObxfNKkFAZbJl2yjWtJCqELQIdShsogr1d2MilP8dKD9TE/nEKHkJgUNHdGKCQaf9HbIynuV2csLGVLg==" }, "@types/validate-npm-package-name": { "version": "4.0.0", @@ -8257,9 +8275,9 @@ } }, "@vscode/l10n": { - "version": "0.0.14", - "resolved": "https://registry.npmjs.org/@vscode/l10n/-/l10n-0.0.14.tgz", - "integrity": "sha512-/yrv59IEnmh655z1oeDnGcvMYwnEzNzHLgeYcQCkhYX0xBvYWrAuefoiLcPBUkMpJsb46bqQ6Yv4pwTTQ4d3Qg==" + "version": "0.0.16", + "resolved": "https://registry.npmjs.org/@vscode/l10n/-/l10n-0.0.16.tgz", + "integrity": "sha512-JT5CvrIYYCrmB+dCana8sUqJEcGB1ZDXNLMQ2+42bW995WmNoenijWMUdZfwmuQUTQcEVVIa2OecZzTYWUW9Cg==" }, "@webassemblyjs/ast": { "version": "1.11.6", @@ -8577,13 +8595,13 @@ "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==" }, "autoprefixer": { - "version": "10.4.14", - "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.14.tgz", - "integrity": "sha512-FQzyfOsTlwVzjHxKEqRIAdJx9niO6VCBCoEwax/VLSoQF29ggECcPuBqUMZ+u8jCZOPSy8b8/8KnuFbp0SaFZQ==", + "version": "10.4.15", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.15.tgz", + "integrity": "sha512-KCuPB8ZCIqFdA4HwKXsvz7j6gvSDNhDP7WnUjBleRkKjPdvCmHFuQ77ocavI8FT6NdvlBnE2UFr2H4Mycn8Vew==", "dev": true, "requires": { - "browserslist": "^4.21.5", - "caniuse-lite": "^1.0.30001464", + "browserslist": "^4.21.10", + "caniuse-lite": "^1.0.30001520", "fraction.js": "^4.2.0", "normalize-range": "^0.1.2", "picocolors": "^1.0.0", @@ -8745,14 +8763,14 @@ "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==" }, "caniuse-lite": { - "version": "1.0.30001519", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001519.tgz", - "integrity": "sha512-0QHgqR+Jv4bxHMp8kZ1Kn8CH55OikjKJ6JmKkZYP1F3D7w+lnFXF70nG5eNfsZS89jadi5Ywy5UCSKLAglIRkg==" + "version": "1.0.30001524", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001524.tgz", + "integrity": "sha512-Jj917pJtYg9HSJBF95HVX3Cdr89JUyLT4IZ8SvM5aDRni95swKgYi3TgYLH5hnGfPE/U1dg6IfZ50UsIlLkwSA==" }, "chai": { - "version": "4.3.7", - "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.7.tgz", - "integrity": "sha512-HLnAzZ2iupm25PlN0xFreAlBA5zaBSv3og0DdeGA4Ar6h6rJ3A0rolRUKJhSF2V10GZKDgWF/VmAEsNWjCRB+A==", + "version": "4.3.8", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.8.tgz", + "integrity": "sha512-vX4YvVVtxlfSZ2VecZgFUTU5qPCYsobVI2O9FmwEXBhDigYGQA6jRXCycIs1yJnnWbZ6/+a2zNIF5DfVCcJBFQ==", "requires": { "assertion-error": "^1.1.0", "check-error": "^1.0.2", @@ -9149,9 +9167,9 @@ } }, "electron-to-chromium": { - "version": "1.4.490", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.490.tgz", - "integrity": "sha512-6s7NVJz+sATdYnIwhdshx/N/9O6rvMxmhVoDSDFdj6iA45gHR8EQje70+RYsF4GeB+k0IeNSBnP7yG9ZXJFr7A==" + "version": "1.4.505", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.505.tgz", + "integrity": "sha512-0A50eL5BCCKdxig2SsCXhpuztnB9PfUgRMojj5tMvt8O54lbwz3t6wNgnpiTRosw5QjlJB7ixhVyeg8daLQwSQ==" }, "emoji-regex": { "version": "8.0.0", @@ -9263,33 +9281,33 @@ } }, "esbuild": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.19.0.tgz", - "integrity": "sha512-i7i8TP4vuG55bKeLyqqk5sTPu1ZjPH3wkcLvAj/0X/222iWFo3AJUYRKjbOoY6BWFMH3teizxHEdV9Su5ESl0w==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.19.2.tgz", + "integrity": "sha512-G6hPax8UbFakEj3hWO0Vs52LQ8k3lnBhxZWomUJDxfz3rZTLqF5k/FCzuNdLx2RbpBiQQF9H9onlDDH1lZsnjg==", "peer": true, "requires": { - "@esbuild/android-arm": "0.19.0", - "@esbuild/android-arm64": "0.19.0", - "@esbuild/android-x64": "0.19.0", - "@esbuild/darwin-arm64": "0.19.0", - "@esbuild/darwin-x64": "0.19.0", - "@esbuild/freebsd-arm64": "0.19.0", - "@esbuild/freebsd-x64": "0.19.0", - "@esbuild/linux-arm": "0.19.0", - "@esbuild/linux-arm64": "0.19.0", - "@esbuild/linux-ia32": "0.19.0", - "@esbuild/linux-loong64": "0.19.0", - "@esbuild/linux-mips64el": "0.19.0", - "@esbuild/linux-ppc64": "0.19.0", - "@esbuild/linux-riscv64": "0.19.0", - "@esbuild/linux-s390x": "0.19.0", - "@esbuild/linux-x64": "0.19.0", - "@esbuild/netbsd-x64": "0.19.0", - "@esbuild/openbsd-x64": "0.19.0", - "@esbuild/sunos-x64": "0.19.0", - "@esbuild/win32-arm64": "0.19.0", - "@esbuild/win32-ia32": "0.19.0", - "@esbuild/win32-x64": "0.19.0" + "@esbuild/android-arm": "0.19.2", + "@esbuild/android-arm64": "0.19.2", + "@esbuild/android-x64": "0.19.2", + "@esbuild/darwin-arm64": "0.19.2", + "@esbuild/darwin-x64": "0.19.2", + "@esbuild/freebsd-arm64": "0.19.2", + "@esbuild/freebsd-x64": "0.19.2", + "@esbuild/linux-arm": "0.19.2", + "@esbuild/linux-arm64": "0.19.2", + "@esbuild/linux-ia32": "0.19.2", + "@esbuild/linux-loong64": "0.19.2", + "@esbuild/linux-mips64el": "0.19.2", + "@esbuild/linux-ppc64": "0.19.2", + "@esbuild/linux-riscv64": "0.19.2", + "@esbuild/linux-s390x": "0.19.2", + "@esbuild/linux-x64": "0.19.2", + "@esbuild/netbsd-x64": "0.19.2", + "@esbuild/openbsd-x64": "0.19.2", + "@esbuild/sunos-x64": "0.19.2", + "@esbuild/win32-arm64": "0.19.2", + "@esbuild/win32-ia32": "0.19.2", + "@esbuild/win32-x64": "0.19.2" } }, "escalade": { @@ -9303,14 +9321,14 @@ "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==" }, "eslint": { - "version": "8.46.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.46.0.tgz", - "integrity": "sha512-cIO74PvbW0qU8e0mIvk5IV3ToWdCq5FYG6gWPHHkx6gNdjlbAYvtfHmlCMXxjcoVaIdwy/IAt3+mDkZkfvb2Dg==", + "version": "8.48.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.48.0.tgz", + "integrity": "sha512-sb6DLeIuRXxeM1YljSe1KEx9/YYeZFQWcV8Rq9HfigmdDEugjLEVEa1ozDjL6YDjBpQHPJxJzze+alxi4T3OLg==", "requires": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", - "@eslint/eslintrc": "^2.1.1", - "@eslint/js": "^8.46.0", + "@eslint/eslintrc": "^2.1.2", + "@eslint/js": "8.48.0", "@humanwhocodes/config-array": "^0.11.10", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", @@ -9321,7 +9339,7 @@ "doctrine": "^3.0.0", "escape-string-regexp": "^4.0.0", "eslint-scope": "^7.2.2", - "eslint-visitor-keys": "^3.4.2", + "eslint-visitor-keys": "^3.4.3", "espree": "^9.6.1", "esquery": "^1.4.2", "esutils": "^2.0.2", @@ -9386,9 +9404,9 @@ } }, "eslint-visitor-keys": { - "version": "3.4.2", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.2.tgz", - "integrity": "sha512-8drBzUEyZ2llkpCA67iYrgEssKDUu68V8ChqqOfFupIaG/LCVPUT+CoGJpT77zJprs4T/W7p07LP7zAIMuweVw==" + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==" }, "espree": { "version": "9.6.1", @@ -9550,11 +9568,12 @@ "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==" }, "flat-cache": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", - "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.1.0.tgz", + "integrity": "sha512-OHx4Qwrrt0E4jEIcI5/Xb+f+QmJYNj2rrK8wiIdQOIrB9WrrJL8cjZvXdXuBTkkEwEqLycb5BeZDV1o2i9bTew==", "requires": { - "flatted": "^3.1.0", + "flatted": "^3.2.7", + "keyv": "^4.5.3", "rimraf": "^3.0.2" }, "dependencies": { @@ -9593,9 +9612,9 @@ } }, "fraction.js": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.2.0.tgz", - "integrity": "sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA==", + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.3.1.tgz", + "integrity": "sha512-nx0cki48JBA6ThPeUpeKCNpdhEl/9bRS+dAEYnRUod+Z1jhFfC3K/mBLorZZntqHM+GTH3/dkkpfoT3QITYe7g==", "dev": true }, "fs.realpath": { @@ -9604,9 +9623,9 @@ "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" }, "fsevents": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", - "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", "optional": true }, "function-bind": { @@ -9616,15 +9635,15 @@ "dev": true }, "function.prototype.name": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.5.tgz", - "integrity": "sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA==", + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.6.tgz", + "integrity": "sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==", "dev": true, "requires": { "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.0", - "functions-have-names": "^1.2.2" + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "functions-have-names": "^1.2.3" } }, "functions-have-names": { @@ -9692,9 +9711,9 @@ "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==" }, "globals": { - "version": "13.20.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz", - "integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==", + "version": "13.21.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.21.0.tgz", + "integrity": "sha512-ybyme3s4yy/t/3s35bewwXKOf7cvzfreG2lH0lZl0JB7I4GxRP2ghxOK/Nb9EkRXdbBXZLfq/p/0W2JUONB/Gg==", "requires": { "type-fest": "^0.20.2" } @@ -10153,18 +10172,18 @@ } }, "jackspeak": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.2.3.tgz", - "integrity": "sha512-pF0kfjmg8DJLxDrizHoCZGUFz4P4czQ3HyfW4BU0ffebYkzAVlBywp5zaxW/TM+r0sGbmrQdi8EQQVTJFxnGsQ==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.3.1.tgz", + "integrity": "sha512-4iSY3Bh1Htv+kLhiiZunUhQ+OYXIn0ze3ulq8JeWrFKmhPAJSySV2+kdtRh2pGcCeF0s6oR8Oc+pYZynJj4t8A==", "requires": { "@isaacs/cliui": "^8.0.2", "@pkgjs/parseargs": "^0.11.0" } }, "jest-docblock": { - "version": "29.4.3", - "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-29.4.3.tgz", - "integrity": "sha512-fzdTftThczeSD9nZ3fzA/4KkHtnmllawWrXO69vtI+L9WjEIuXWs4AmyME7lN5hU7dB0sHhuPfcKofRsUb/2Fg==", + "version": "29.6.3", + "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-29.6.3.tgz", + "integrity": "sha512-2+H+GOTQBEm2+qFSQ7Ma+BvyV+waiIFxmZF5LdpBsAEjWX8QYjSCa4FrkIYtbfXUJJJnFCYrOtt6TZ+IAiTjBQ==", "requires": { "detect-newline": "^3.0.0" } @@ -10244,6 +10263,11 @@ "argparse": "^2.0.1" } }, + "json-buffer": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", + "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==" + }, "json-parse-better-errors": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", @@ -10271,6 +10295,14 @@ "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", "dev": true }, + "keyv": { + "version": "4.5.3", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.3.tgz", + "integrity": "sha512-QCiSav9WaX1PgETJ+SpNnx2PRRapJ/oRSXM4VO5OGYGSjrxbKPVFVhB3l2OCbLCk329N8qyAtsJjSjvVBWzEug==", + "requires": { + "json-buffer": "3.0.1" + } + }, "levn": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", @@ -10508,9 +10540,9 @@ "dev": true }, "minipass": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.2.tgz", - "integrity": "sha512-eL79dXrE1q9dBbDCLg7xfn/vl7MS4F1gvJAgjJrQli/jbQWdUttuVawphqpffoIYfRdq78LHx6GP4bU/EQ2ATA==" + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.3.tgz", + "integrity": "sha512-LhbbwCfz3vsb12j/WkWQPZfKTsgqIe1Nf/ti1pKjYESGLHIVjWU96G9/ljLH4F9mWNVhlQOm0VySdAWzf05dpg==" }, "mocha": { "version": "10.2.0", @@ -11011,23 +11043,23 @@ "dev": true }, "playwright-chromium": { - "version": "1.37.0", - "resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.37.0.tgz", - "integrity": "sha512-56DOca+pGZombnX34ZwO1fI7HLgv3IgzqzNT1kmYAJ82JytqmXFz/umA7WkkONn9cN3WRPswqrqvD+3pq46rdg==", + "version": "1.37.1", + "resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.37.1.tgz", + "integrity": "sha512-UMbu6AtNe3vb36VzEoHVTnsBKaPMuHJhzZm5zpBM2DeLN8A/+gTQRQyfSZzuktSSDU22acMKGvc8WU6NIjBFmQ==", "dev": true, "requires": { - "playwright-core": "1.37.0" + "playwright-core": "1.37.1" } }, "playwright-core": { - "version": "1.37.0", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.37.0.tgz", - "integrity": "sha512-1c46jhTH/myQw6sesrcuHVtLoSNfJv8Pfy9t3rs6subY7kARv0HRw5PpyfPYPpPtQvBOmgbE6K+qgYUpj81LAA==" + "version": "1.37.1", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.37.1.tgz", + "integrity": "sha512-17EuQxlSIYCmEMwzMqusJ2ztDgJePjrbttaefgdsiqeLWidjYz9BxXaTaZWxH1J95SHGk6tjE+dwgWILJoUZfA==" }, "postcss": { - "version": "8.4.27", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.27.tgz", - "integrity": "sha512-gY/ACJtJPSmUFPDCHtX78+01fHa64FaU4zaaWfuh1MhGJISufJAH4cun6k/8fwsHYeK4UQmENQK+tRLCFJE8JQ==", + "version": "8.4.29", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.29.tgz", + "integrity": "sha512-cbI+jaqIeu/VGqXEarWkRCCffhjgXc0qjBtXpqJhTBohMUjUQnbBr0xqX3vEKudc4iviTewcJo5ajcec5+wdJw==", "requires": { "nanoid": "^3.3.6", "picocolors": "^1.0.0", @@ -11328,9 +11360,9 @@ } }, "rollup": { - "version": "3.28.0", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.28.0.tgz", - "integrity": "sha512-d7zhvo1OUY2SXSM6pfNjgD5+d0Nz87CUp4mt8l/GgVP3oBsPwzNvSzyu1me6BSG9JIgWNTVcafIXBIyM8yQ3yw==", + "version": "3.28.1", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.28.1.tgz", + "integrity": "sha512-R9OMQmIHJm9znrU3m3cpE8uhN0fGdXiawME7aZIpQqvpS/85+Vt1Hq1/yVIcYfOmaQiHjvXkQAoJukvLpau6Yw==", "requires": { "fsevents": "~2.3.2" } @@ -11642,9 +11674,9 @@ "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==" }, "terser": { - "version": "5.19.2", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.19.2.tgz", - "integrity": "sha512-qC5+dmecKJA4cpYxRa5aVkKehYsQKc+AHeKl0Oe62aYjBL8ZA33tTljktDHJSaxxMnbI5ZYw+o/S2DxxLu8OfA==", + "version": "5.19.3", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.19.3.tgz", + "integrity": "sha512-pQzJ9UJzM0IgmT4FAtYI6+VqFf0lj/to58AV0Xfgg0Up37RyPG7Al+1cepC6/BVuAxR9oNb41/DL4DEoHJvTdg==", "requires": { "@jridgewell/source-map": "^0.3.3", "acorn": "^8.8.2", @@ -11734,9 +11766,9 @@ } }, "tslib": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.1.tgz", - "integrity": "sha512-t0hLfiEKfMUoqhG+U1oid7Pva4bbDPHYfJNiB7BiIjRkj1pyC++4N3huJfqY6aRH6VTB0rvtzQwjM4K6qpfOig==", + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==", "dev": true }, "tsutils": { @@ -11820,9 +11852,9 @@ } }, "typescript": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.6.tgz", - "integrity": "sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==" + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz", + "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==" }, "unbox-primitive": { "version": "1.0.2", @@ -11923,11 +11955,11 @@ "integrity": "sha512-aodjPa2wPQFkra1G8CzJBTHXhgk3EVSwxSWXNPr1fgdFLUb8kvLV1iEb6rFgasIsjP82HWI6dsb5Io26DDnasA==" }, "vscode-css-languageservice": { - "version": "6.2.6", - "resolved": "https://registry.npmjs.org/vscode-css-languageservice/-/vscode-css-languageservice-6.2.6.tgz", - "integrity": "sha512-SA2WkeOecIpUiEbZnjOsP/fI5CRITZEiQGSHXKiDQDwLApfKcnLhZwMtOBbIifSzESVcQa7b/shX/nbnF4NoCg==", + "version": "6.2.7", + "resolved": "https://registry.npmjs.org/vscode-css-languageservice/-/vscode-css-languageservice-6.2.7.tgz", + "integrity": "sha512-Jd8wpIg5kJ15CfrieoEPvu3gGFc36sbM3qXCtjVq5zrnLEX5NhHxikMDtf8AgQsYklXiDqiZLKoBnzkJtRbTHQ==", "requires": { - "@vscode/l10n": "^0.0.14", + "@vscode/l10n": "^0.0.16", "vscode-languageserver-textdocument": "^1.0.8", "vscode-languageserver-types": "^3.17.3", "vscode-uri": "^3.0.7" diff --git a/package.json b/package.json index 31c5debe5..9cefc64da 100644 --- a/package.json +++ b/package.json @@ -18,10 +18,10 @@ "prettify": "npx prettier . --write" }, "devDependencies": { - "@file-services/memory": "^8.1.1", - "@file-services/node": "^8.1.1", + "@file-services/memory": "^8.1.3", + "@file-services/node": "^8.1.3", "@rollup/plugin-html": "^1.0.2", - "@rollup/plugin-node-resolve": "^15.1.0", + "@rollup/plugin-node-resolve": "^15.2.1", "@types/balanced-match": "^1.0.3", "@types/chai": "^4.3.5", "@types/chai-subset": "^1.3.3", @@ -42,19 +42,19 @@ "@types/mocha": "^10.0.1", "@types/node": "14", "@types/postcss-safe-parser": "^5.0.1", - "@types/react": "^18.2.20", + "@types/react": "^18.2.21", "@types/react-dom": "^18.2.7", - "@types/semver": "^7.5.0", + "@types/semver": "^7.5.1", "@types/validate-npm-package-name": "^4.0.0", "@types/yargs": "^17.0.24", "@typescript-eslint/eslint-plugin": "^5.61.0", "@typescript-eslint/parser": "^5.61.0", - "autoprefixer": "^10.4.14", + "autoprefixer": "^10.4.15", "c8": "^8.0.1", - "chai": "^4.3.7", + "chai": "^4.3.8", "chai-subset": "^1.6.0", "create-listening-server": "^2.1.0", - "eslint": "^8.46.0", + "eslint": "^8.48.0", "eslint-config-prettier": "^9.0.0", "file-loader": "^6.2.0", "html-webpack-plugin": "^5.5.3", @@ -62,20 +62,20 @@ "mocha": "^10.2.0", "node-eval": "^2.0.0", "npm-run-all": "^4.1.5", - "playwright-chromium": "^1.37.0", - "postcss": "^8.4.27", + "playwright-chromium": "^1.37.1", + "postcss": "^8.4.29", "promise-assist": "^2.0.1", "raw-loader": "^4.0.2", "react": "^18.2.0", "react-dom": "^18.2.0", "rimraf": "^5.0.1", - "rollup": "^3.28.0", + "rollup": "^3.28.1", "source-map": "^0.7.4", "source-map-loader": "^4.0.1", "style-loader": "^3.3.3", "ts-expect": "^1.3.0", "tsconfig-paths-webpack-plugin": "^4.1.0", - "typescript": "~5.1.6", + "typescript": "~5.2.2", "url-loader": "^4.1.1", "webpack": "^5.88.2", "yargs": "^17.7.2" diff --git a/packages/cli/package.json b/packages/cli/package.json index ea7b9970b..b71316aff 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -12,8 +12,8 @@ "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 25000" }, "dependencies": { - "@file-services/node": "^8.1.1", - "@file-services/types": "^8.1.1", + "@file-services/node": "^8.1.3", + "@file-services/types": "^8.1.3", "@stylable/build-tools": "^5.15.1", "@stylable/code-formatter": "^5.15.1", "@stylable/core": "^5.15.1", diff --git a/packages/code-formatter/package.json b/packages/code-formatter/package.json index bcdb9b8de..bc41f4d0e 100644 --- a/packages/code-formatter/package.json +++ b/packages/code-formatter/package.json @@ -10,7 +10,7 @@ "@stylable/core": "^5.15.1", "@tokey/css-value-parser": "^0.1.3", "js-beautify": "^1.14.9", - "postcss": "^8.4.27" + "postcss": "^8.4.29" }, "files": [ "dist", diff --git a/packages/core-test-kit/package.json b/packages/core-test-kit/package.json index ac84fb866..811524196 100644 --- a/packages/core-test-kit/package.json +++ b/packages/core-test-kit/package.json @@ -7,11 +7,11 @@ "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@file-services/memory": "^8.1.1", + "@file-services/memory": "^8.1.3", "@stylable/core": "^5.15.1", - "chai": "^4.3.7", + "chai": "^4.3.8", "flat": "^5.0.2", - "postcss": "^8.4.27" + "postcss": "^8.4.29" }, "files": [ "dist", diff --git a/packages/core/package.json b/packages/core/package.json index 9898872ca..f98896300 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -20,7 +20,7 @@ "is-vendor-prefixed": "^4.0.0", "lodash.clonedeep": "^4.5.0", "lodash.clonedeepwith": "^4.5.0", - "postcss": "^8.4.27", + "postcss": "^8.4.29", "postcss-js": "^4.0.1", "postcss-nested": "^6.0.1", "postcss-safe-parser": "^6.0.0", diff --git a/packages/core/src/features/st-mixin.ts b/packages/core/src/features/st-mixin.ts index afac24e4c..dc0e68d10 100644 --- a/packages/core/src/features/st-mixin.ts +++ b/packages/core/src/features/st-mixin.ts @@ -420,7 +420,7 @@ function handleJSMixin( const meta = context.meta; const mixDef = config.mixDef; const res = mixinFunction((mixDef.data.options as any[]).map((v) => v.value)); - const mixinRoot = cssObjectToAst(res).root; + const mixinRoot = cssObjectToAst(res); mixinRoot.walkDecls((decl) => { if (!isValidDeclaration(decl)) { diff --git a/packages/core/src/parser.ts b/packages/core/src/parser.ts index 379b7ef52..ca0ddf763 100644 --- a/packages/core/src/parser.ts +++ b/packages/core/src/parser.ts @@ -8,7 +8,8 @@ export type CSSObject = any & object; const processor = postcss([postcssNested()]); export function cssObjectToAst(cssObject: CSSObject, sourceFile = '') { - return processor.process(cssObject, { from: sourceFile, parser: postcssJS }); + const r = processor.process(cssObject, { from: sourceFile, parser: postcssJS }); + return r.root.type === 'document' ? r.root.nodes[0] : r.root; } export type CssParser = typeof safeParse; diff --git a/packages/e2e-test-kit/package.json b/packages/e2e-test-kit/package.json index 44257e4d5..219eb188b 100644 --- a/packages/e2e-test-kit/package.json +++ b/packages/e2e-test-kit/package.json @@ -9,7 +9,7 @@ "dependencies": { "@stylable/runtime": "^5.15.1", "node-eval": "^2.0.0", - "playwright-core": "^1.37.0", + "playwright-core": "^1.37.1", "rimraf": "^5.0.1" }, "files": [ diff --git a/packages/language-service/package.json b/packages/language-service/package.json index f1427cf5a..155c0ac7a 100644 --- a/packages/language-service/package.json +++ b/packages/language-service/package.json @@ -11,17 +11,17 @@ "typescript": ">=3.8" }, "dependencies": { - "@file-services/types": "^8.1.1", - "@file-services/typescript": "^8.1.1", + "@file-services/types": "^8.1.3", + "@file-services/typescript": "^8.1.3", "@stylable/code-formatter": "^5.15.1", "@stylable/core": "^5.15.1", "@tokey/core": "^1.4.0", "@tokey/css-selector-parser": "^0.6.1", "@tokey/css-value-parser": "^0.1.3", "css-selector-tokenizer": "^0.8.0", - "postcss": "^8.4.27", + "postcss": "^8.4.29", "postcss-value-parser": "^4.2.0", - "vscode-css-languageservice": "^6.2.6", + "vscode-css-languageservice": "^6.2.7", "vscode-languageserver": "^8.1.0", "vscode-languageserver-textdocument": "^1.0.8", "vscode-uri": "^3.0.7" diff --git a/packages/language-service/src/lib-new/ast-from-position.ts b/packages/language-service/src/lib-new/ast-from-position.ts index cd6827d05..34cf3ddec 100644 --- a/packages/language-service/src/lib-new/ast-from-position.ts +++ b/packages/language-service/src/lib-new/ast-from-position.ts @@ -378,7 +378,7 @@ function isPostcssNodeInRange(node: postcss.AnyNode | postcss.Container, target: if (node.source?.start && node.source?.end) { const beforeSize = node.type === 'rule' ? node.raws.before.length : 0; result.nodeStartBeforeCaret = node.source.start.offset - beforeSize <= target; - result.nodeEndsAfterCaret = node.source.end.offset + 1 >= target; + result.nodeEndsAfterCaret = node.source.end.offset >= target; result.isInRange = result.nodeStartBeforeCaret && result.nodeEndsAfterCaret; } return result; diff --git a/packages/language-service/test/lib-new/edit-time-parser.spec.ts b/packages/language-service/test/lib-new/edit-time-parser.spec.ts index 011e3f072..c9c3e9ac5 100644 --- a/packages/language-service/test/lib-new/edit-time-parser.spec.ts +++ b/packages/language-service/test/lib-new/edit-time-parser.spec.ts @@ -43,7 +43,7 @@ describe('edit-time-parser', () => { const invalid = assertInvalid(ast.nodes[0]); expect(invalid.assume, 'assume').to.eql(new Set(['rule'])); expect(errorNodes.get(invalid), 'errors').to.eql([ERRORS.RULE_MISSING_OPEN]); - expect(ast.source!.end!.offset, 'top end').to.eql(2); + expect(ast.source!.end!.offset, 'top end').to.eql(3); }); it('should assume last-no-semicolon declaration as potential unopened rule', () => { /** @@ -315,9 +315,9 @@ describe('edit-time-parser', () => { name: 'xxx', params: 'abc', }); - expect(ast.source!.end!.offset, 'close parent with extra space').to.eql(11); + expect(ast.source!.end!.offset, 'close parent with extra space').to.eql(12); }); - it('should keep track of end of source for unclosed nested nodes', () => { + it.skip('should keep track of end of source for unclosed nested nodes', () => { const { ast } = safeParse(` @xxx abc { .yyy { @@ -328,6 +328,11 @@ describe('edit-time-parser', () => { const atrule = assertAtRule(ast.nodes[0]); const rule = assertRule(atrule.nodes[0]); const invalid = assertInvalid(rule.nodes[0]); + /** + * ToDo: fix + * nodes.end.offset should be 33 (not 32) + * ast.end.column should be 11 (not 12) + */ expect(atrule.source!.end!, 'atrule').to.eql(ast.source!.end); expect(rule.source!.end!, 'rule').to.eql(ast.source!.end); expect(invalid.source!.end!, 'decl').to.eql(ast.source!.end); diff --git a/packages/language-service/test/lib/completions/st-scope.spec.ts b/packages/language-service/test/lib/completions/st-scope.spec.ts index 13b734844..9ef066b29 100644 --- a/packages/language-service/test/lib/completions/st-scope.spec.ts +++ b/packages/language-service/test/lib/completions/st-scope.spec.ts @@ -130,7 +130,7 @@ describe('completion inside @st-scope', () => { title: 'Suggest', command: 'editor.action.triggerSuggest', }, - sortText: 'd_a0', + sortText: 'd_a1', }); }); diff --git a/packages/optimizer/package.json b/packages/optimizer/package.json index 336c74cbf..4d860d37c 100644 --- a/packages/optimizer/package.json +++ b/packages/optimizer/package.json @@ -10,7 +10,7 @@ "@stylable/core": "^5.15.1", "@tokey/css-selector-parser": "^0.6.1", "csso": "^5.0.5", - "postcss": "^8.4.27" + "postcss": "^8.4.29" }, "files": [ "dist", diff --git a/packages/schema-extract/package.json b/packages/schema-extract/package.json index 0a9b8d2b5..eeb4c96ee 100644 --- a/packages/schema-extract/package.json +++ b/packages/schema-extract/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "@stylable/core": "^5.15.1", - "jest-docblock": "^29.4.3" + "jest-docblock": "^29.6.3" }, "files": [ "dist", diff --git a/packages/webpack-plugin/package.json b/packages/webpack-plugin/package.json index 07eb5b43d..1d2bfb0be 100644 --- a/packages/webpack-plugin/package.json +++ b/packages/webpack-plugin/package.json @@ -19,7 +19,7 @@ "@stylable/runtime": "^5.15.1", "decache": "^4.6.2", "lodash.clonedeep": "^4.5.0", - "postcss": "^8.4.27" + "postcss": "^8.4.29" }, "files": [ "dist", From 68af9fa3c82d50070aeae105e79c567a9d1a42c4 Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Wed, 6 Sep 2023 09:32:22 +0300 Subject: [PATCH 56/81] chore(deps): upgrade to latest stable --- package-lock.json | 234 +++++++++++++++++++++++----------------------- package.json | 8 +- 2 files changed, 122 insertions(+), 120 deletions(-) diff --git a/package-lock.json b/package-lock.json index b5a29e15c..e85e14a09 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,11 +15,11 @@ "@rollup/plugin-html": "^1.0.2", "@rollup/plugin-node-resolve": "^15.2.1", "@types/balanced-match": "^1.0.3", - "@types/chai": "^4.3.5", + "@types/chai": "^4.3.6", "@types/chai-subset": "^1.3.3", - "@types/css-selector-tokenizer": "^0.7.1", + "@types/css-selector-tokenizer": "^0.7.2", "@types/cssesc": "^3.0.0", - "@types/csso": "^5.0.0", + "@types/csso": "^5.0.1", "@types/find-config": "^1.0.1", "@types/flat": "^5.0.2", "@types/js-beautify": "^1.14.0", @@ -61,7 +61,7 @@ "react": "^18.2.0", "react-dom": "^18.2.0", "rimraf": "^5.0.1", - "rollup": "^3.28.1", + "rollup": "^3.29.0", "source-map": "^0.7.4", "source-map-loader": "^4.0.1", "style-loader": "^3.3.3", @@ -958,9 +958,9 @@ "dev": true }, "node_modules/@types/chai": { - "version": "4.3.5", - "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.5.tgz", - "integrity": "sha512-mEo1sAde+UCE6b2hxn332f1g1E8WfYRu6p5SvTKr2ZKC1f7gFJXk4h5PyGP9Dt6gCaG8y8XhwnXWC6Iy2cmBng==", + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.6.tgz", + "integrity": "sha512-VOVRLM1mBxIRxydiViqPcKn6MIxZytrbMpd6RJLIWKxUNr3zux8no0Oc7kJx0WAPIitgZ0gkrDS+btlqQpubpw==", "dev": true }, "node_modules/@types/chai-subset": { @@ -973,15 +973,15 @@ } }, "node_modules/@types/css-selector-tokenizer": { - "version": "0.7.1", - "resolved": "https://registry.npmjs.org/@types/css-selector-tokenizer/-/css-selector-tokenizer-0.7.1.tgz", - "integrity": "sha512-DdGXO+tC5ZWFDIytbNOa55lUoEXXnRJqnEUJ3P5DE+TCEEoAcpKYq48klKRLGS9Uo22Dk1s0aTt9nAUDK7W8tg==", + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/@types/css-selector-tokenizer/-/css-selector-tokenizer-0.7.2.tgz", + "integrity": "sha512-A4qDojfgYrQOsoqgrt657/MskGgBOtDyuXVqqitafDgkdAeJk0XJsOlXI1IfuOLrvNvP7XDIRfNTmY7KZ0WRcw==", "dev": true }, "node_modules/@types/css-tree": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/@types/css-tree/-/css-tree-2.3.1.tgz", - "integrity": "sha512-3m636Jz4d9d+lHVMp6FNLsUWQrfOx1xpm1SBxPbQYSNNgXMe+XswcsDeo1ldyULiuzYyWKk1kmvkLTgNq+215Q==", + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/@types/css-tree/-/css-tree-2.3.2.tgz", + "integrity": "sha512-B5nF6h7xxpMLvZ1pzugAYUGj1aw4KgTpXZzOijkDMRzey4SlFi0jVWb3o0SS1CVSxyBciltVgjt67CwrgjmlWA==", "dev": true }, "node_modules/@types/cssesc": { @@ -991,9 +991,9 @@ "dev": true }, "node_modules/@types/csso": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@types/csso/-/csso-5.0.0.tgz", - "integrity": "sha512-EMrCTGpXRUsbFfZBzn2jcW6Sqg8kxWXkJcpvAGYSEzFqAJ2THDJSwiMeS2fPUw+0p6RQNT/n8F/skEc9hUBc0g==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@types/csso/-/csso-5.0.1.tgz", + "integrity": "sha512-J8J8XeIjw9QD0D0rxuaiaSepaXn7Hu9h1AaSSrZiG4HssKnRg3+PyI90r0BpW10OIZsx8tW4ZXfYiAVJKGwsrQ==", "dev": true, "dependencies": { "@types/css-tree": "*" @@ -1058,9 +1058,9 @@ "integrity": "sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA==" }, "node_modules/@types/lodash": { - "version": "4.14.197", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.197.tgz", - "integrity": "sha512-BMVOiWs0uNxHVlHBgzTIqJYmj+PgCo4euloGF+5m4okL3rEYzM2EEv78mw8zWSMM57dM7kVIgJ2QDvwHSoCI5g==", + "version": "4.14.198", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.198.tgz", + "integrity": "sha512-trNJ/vtMZYMLhfN45uLq4ShQSw0/S7xCTLLVM+WM1rmFpba/VS42jVUgaO3w/NOLiWR/09lnYk0yMaA/atdIsg==", "dev": true }, "node_modules/@types/lodash.camelcase": { @@ -1130,9 +1130,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "14.18.56", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.56.tgz", - "integrity": "sha512-+k+57NVS9opgrEn5l9c0gvD1r6C+PtyhVE4BTnMMRwiEA8ZO8uFcs6Yy2sXIy0eC95ZurBtRSvhZiHXBysbl6w==" + "version": "14.18.58", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.58.tgz", + "integrity": "sha512-Y8ETZc8afYf6lQ/mVp096phIVsgD/GmDxtm3YaPcc+71jmi/J6zdwbwaUU4JvS56mq6aSfbpkcKhQ5WugrWFPw==" }, "node_modules/@types/postcss-safe-parser": { "version": "5.0.1", @@ -1752,14 +1752,15 @@ } }, "node_modules/arraybuffer.prototype.slice": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.1.tgz", - "integrity": "sha512-09x0ZWFEjj4WD8PDbykUwo3t9arLn8NIzmmYEJFpYekOAQjpkGSyrQhNoRTcwwcFRu+ycWF78QZ63oWTqSjBcw==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.2.tgz", + "integrity": "sha512-yMBKppFur/fbHu9/6USUe03bZ4knMYiwFBcyiaXB8Go0qNehwX6inYPzK9U0NeQvGxKthcmHcaR8P5MStSRBAw==", "dev": true, "dependencies": { "array-buffer-byte-length": "^1.0.0", "call-bind": "^1.0.2", "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", "get-intrinsic": "^1.2.1", "is-array-buffer": "^3.0.2", "is-shared-array-buffer": "^1.0.2" @@ -2040,9 +2041,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001524", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001524.tgz", - "integrity": "sha512-Jj917pJtYg9HSJBF95HVX3Cdr89JUyLT4IZ8SvM5aDRni95swKgYi3TgYLH5hnGfPE/U1dg6IfZ50UsIlLkwSA==", + "version": "1.0.30001527", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001527.tgz", + "integrity": "sha512-YkJi7RwPgWtXVSgK4lG9AHH57nSzvvOp9MesgXmw4Q7n0C3H04L0foHqfxcmSAm5AcWb8dW9AYj2tR7/5GnddQ==", "funding": [ { "type": "opencollective", @@ -2606,9 +2607,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.505", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.505.tgz", - "integrity": "sha512-0A50eL5BCCKdxig2SsCXhpuztnB9PfUgRMojj5tMvt8O54lbwz3t6wNgnpiTRosw5QjlJB7ixhVyeg8daLQwSQ==" + "version": "1.4.508", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.508.tgz", + "integrity": "sha512-FFa8QKjQK/A5QuFr2167myhMesGrhlOBD+3cYNxO9/S4XzHEXesyTD/1/xF644gC8buFPz3ca6G1LOQD0tZrrg==" }, "node_modules/emoji-regex": { "version": "8.0.0", @@ -3183,9 +3184,9 @@ } }, "node_modules/fraction.js": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.3.1.tgz", - "integrity": "sha512-nx0cki48JBA6ThPeUpeKCNpdhEl/9bRS+dAEYnRUod+Z1jhFfC3K/mBLorZZntqHM+GTH3/dkkpfoT3QITYe7g==", + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.3.6.tgz", + "integrity": "sha512-n2aZ9tNfYDwaHhvFTkhFErqOMIb8uyzSQ+vGJBjZyanAKZVbGUQ1sngfk9FdkBw7G26O7AgNjLcecLffD1c7eg==", "dev": true, "engines": { "node": "*" @@ -4001,9 +4002,9 @@ } }, "node_modules/jackspeak": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.3.1.tgz", - "integrity": "sha512-4iSY3Bh1Htv+kLhiiZunUhQ+OYXIn0ze3ulq8JeWrFKmhPAJSySV2+kdtRh2pGcCeF0s6oR8Oc+pYZynJj4t8A==", + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.3.3.tgz", + "integrity": "sha512-R2bUw+kVZFS/h1AZqBKrSgDmdmjApzgY0AlCPumopFiAlbUxE2gf+SCuBzQ0cP5hHmUmFYF5yw55T97Th5Kstg==", "dependencies": { "@isaacs/cliui": "^8.0.2" }, @@ -5631,9 +5632,9 @@ } }, "node_modules/rimraf/node_modules/glob": { - "version": "10.3.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.3.tgz", - "integrity": "sha512-92vPiMb/iqpmEgsOoIDvTjc50wf9CCCvMzsi6W0JLPeUKE8TWP1a73PgqSrqy7iAZxaSD1YdzU7QZR5LF51MJw==", + "version": "10.3.4", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.4.tgz", + "integrity": "sha512-6LFElP3A+i/Q8XQKEvZjkEWEOTgAIALR9AO2rwT8bgPhDd1anmqDJDZ6lLddI4ehxxxR1S5RIqKe1uapMQfYaQ==", "dependencies": { "foreground-child": "^3.1.0", "jackspeak": "^2.0.3", @@ -5677,9 +5678,9 @@ } }, "node_modules/rollup": { - "version": "3.28.1", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.28.1.tgz", - "integrity": "sha512-R9OMQmIHJm9znrU3m3cpE8uhN0fGdXiawME7aZIpQqvpS/85+Vt1Hq1/yVIcYfOmaQiHjvXkQAoJukvLpau6Yw==", + "version": "3.29.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.29.0.tgz", + "integrity": "sha512-nszM8DINnx1vSS+TpbWKMkxem0CDWk3cSit/WWCBVs9/JZ1I/XLwOsiUglYuYReaeWWSsW9kge5zE5NZtf/a4w==", "bin": { "rollup": "dist/bin/rollup" }, @@ -5714,13 +5715,13 @@ } }, "node_modules/safe-array-concat": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.0.0.tgz", - "integrity": "sha512-9dVEFruWIsnie89yym+xWTAYASdpw3CJV7Li/6zBewGf9z2i1j31rP6jnY0pHEO4QZh6N0K11bFjWmdR8UGdPQ==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.0.1.tgz", + "integrity": "sha512-6XbUAseYE2KtOuGueyeobCySj9L4+66Tn6KQMOPQJrAJEowYKW/YR/MGJZl7FdydUdaFu4LYyDZjxf4/Nmo23Q==", "dev": true, "dependencies": { "call-bind": "^1.0.2", - "get-intrinsic": "^1.2.0", + "get-intrinsic": "^1.2.1", "has-symbols": "^1.0.3", "isarray": "^2.0.5" }, @@ -5990,14 +5991,14 @@ } }, "node_modules/string.prototype.padend": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/string.prototype.padend/-/string.prototype.padend-3.1.4.tgz", - "integrity": "sha512-67otBXoksdjsnXXRUq+KMVTdlVRZ2af422Y0aTyTjVaoQkGr3mxl2Bc5emi7dOQ3OGVVQQskmLEWwFXwommpNw==", + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/string.prototype.padend/-/string.prototype.padend-3.1.5.tgz", + "integrity": "sha512-DOB27b/2UTTD+4myKUFh+/fXWcu/UDyASIXfg+7VzoCNNGOfWvoyU/x5pvVHr++ztyt/oSYI1BcWBBG/hmlNjA==", "dev": true, "dependencies": { "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1" }, "engines": { "node": ">= 0.4" @@ -6038,14 +6039,14 @@ } }, "node_modules/string.prototype.trimstart": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.6.tgz", - "integrity": "sha512-omqjMDaY92pbn5HOX7f9IccLA+U1tA9GvtU4JrodiXFfYB7jPzzHpRzpglLAjtUV6bB557zwClJezTqnAiYnQA==", + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.7.tgz", + "integrity": "sha512-NGhtDFu3jCEm7B4Fy0DpLewdJQOZcQ0rGbwQ/+stjnrp2i+rlKeCvos9hOIeCmqwratM47OBxY7uFZzjxHXmrg==", "dev": true, "dependencies": { "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -6142,9 +6143,9 @@ } }, "node_modules/terser": { - "version": "5.19.3", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.19.3.tgz", - "integrity": "sha512-pQzJ9UJzM0IgmT4FAtYI6+VqFf0lj/to58AV0Xfgg0Up37RyPG7Al+1cepC6/BVuAxR9oNb41/DL4DEoHJvTdg==", + "version": "5.19.4", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.19.4.tgz", + "integrity": "sha512-6p1DjHeuluwxDXcuT9VR8p64klWJKo1ILiy19s6C9+0Bh2+NWTX6nD9EPppiER4ICkHDVB1RkVpin/YW2nQn/g==", "dependencies": { "@jridgewell/source-map": "^0.3.3", "acorn": "^8.8.2", @@ -7931,9 +7932,9 @@ "dev": true }, "@types/chai": { - "version": "4.3.5", - "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.5.tgz", - "integrity": "sha512-mEo1sAde+UCE6b2hxn332f1g1E8WfYRu6p5SvTKr2ZKC1f7gFJXk4h5PyGP9Dt6gCaG8y8XhwnXWC6Iy2cmBng==", + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.6.tgz", + "integrity": "sha512-VOVRLM1mBxIRxydiViqPcKn6MIxZytrbMpd6RJLIWKxUNr3zux8no0Oc7kJx0WAPIitgZ0gkrDS+btlqQpubpw==", "dev": true }, "@types/chai-subset": { @@ -7946,15 +7947,15 @@ } }, "@types/css-selector-tokenizer": { - "version": "0.7.1", - "resolved": "https://registry.npmjs.org/@types/css-selector-tokenizer/-/css-selector-tokenizer-0.7.1.tgz", - "integrity": "sha512-DdGXO+tC5ZWFDIytbNOa55lUoEXXnRJqnEUJ3P5DE+TCEEoAcpKYq48klKRLGS9Uo22Dk1s0aTt9nAUDK7W8tg==", + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/@types/css-selector-tokenizer/-/css-selector-tokenizer-0.7.2.tgz", + "integrity": "sha512-A4qDojfgYrQOsoqgrt657/MskGgBOtDyuXVqqitafDgkdAeJk0XJsOlXI1IfuOLrvNvP7XDIRfNTmY7KZ0WRcw==", "dev": true }, "@types/css-tree": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/@types/css-tree/-/css-tree-2.3.1.tgz", - "integrity": "sha512-3m636Jz4d9d+lHVMp6FNLsUWQrfOx1xpm1SBxPbQYSNNgXMe+XswcsDeo1ldyULiuzYyWKk1kmvkLTgNq+215Q==", + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/@types/css-tree/-/css-tree-2.3.2.tgz", + "integrity": "sha512-B5nF6h7xxpMLvZ1pzugAYUGj1aw4KgTpXZzOijkDMRzey4SlFi0jVWb3o0SS1CVSxyBciltVgjt67CwrgjmlWA==", "dev": true }, "@types/cssesc": { @@ -7964,9 +7965,9 @@ "dev": true }, "@types/csso": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@types/csso/-/csso-5.0.0.tgz", - "integrity": "sha512-EMrCTGpXRUsbFfZBzn2jcW6Sqg8kxWXkJcpvAGYSEzFqAJ2THDJSwiMeS2fPUw+0p6RQNT/n8F/skEc9hUBc0g==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@types/csso/-/csso-5.0.1.tgz", + "integrity": "sha512-J8J8XeIjw9QD0D0rxuaiaSepaXn7Hu9h1AaSSrZiG4HssKnRg3+PyI90r0BpW10OIZsx8tW4ZXfYiAVJKGwsrQ==", "dev": true, "requires": { "@types/css-tree": "*" @@ -8031,9 +8032,9 @@ "integrity": "sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA==" }, "@types/lodash": { - "version": "4.14.197", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.197.tgz", - "integrity": "sha512-BMVOiWs0uNxHVlHBgzTIqJYmj+PgCo4euloGF+5m4okL3rEYzM2EEv78mw8zWSMM57dM7kVIgJ2QDvwHSoCI5g==", + "version": "4.14.198", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.198.tgz", + "integrity": "sha512-trNJ/vtMZYMLhfN45uLq4ShQSw0/S7xCTLLVM+WM1rmFpba/VS42jVUgaO3w/NOLiWR/09lnYk0yMaA/atdIsg==", "dev": true }, "@types/lodash.camelcase": { @@ -8103,9 +8104,9 @@ "dev": true }, "@types/node": { - "version": "14.18.56", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.56.tgz", - "integrity": "sha512-+k+57NVS9opgrEn5l9c0gvD1r6C+PtyhVE4BTnMMRwiEA8ZO8uFcs6Yy2sXIy0eC95ZurBtRSvhZiHXBysbl6w==" + "version": "14.18.58", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.58.tgz", + "integrity": "sha512-Y8ETZc8afYf6lQ/mVp096phIVsgD/GmDxtm3YaPcc+71jmi/J6zdwbwaUU4JvS56mq6aSfbpkcKhQ5WugrWFPw==" }, "@types/postcss-safe-parser": { "version": "5.0.1", @@ -8576,14 +8577,15 @@ "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==" }, "arraybuffer.prototype.slice": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.1.tgz", - "integrity": "sha512-09x0ZWFEjj4WD8PDbykUwo3t9arLn8NIzmmYEJFpYekOAQjpkGSyrQhNoRTcwwcFRu+ycWF78QZ63oWTqSjBcw==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.2.tgz", + "integrity": "sha512-yMBKppFur/fbHu9/6USUe03bZ4knMYiwFBcyiaXB8Go0qNehwX6inYPzK9U0NeQvGxKthcmHcaR8P5MStSRBAw==", "dev": true, "requires": { "array-buffer-byte-length": "^1.0.0", "call-bind": "^1.0.2", "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", "get-intrinsic": "^1.2.1", "is-array-buffer": "^3.0.2", "is-shared-array-buffer": "^1.0.2" @@ -8763,9 +8765,9 @@ "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==" }, "caniuse-lite": { - "version": "1.0.30001524", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001524.tgz", - "integrity": "sha512-Jj917pJtYg9HSJBF95HVX3Cdr89JUyLT4IZ8SvM5aDRni95swKgYi3TgYLH5hnGfPE/U1dg6IfZ50UsIlLkwSA==" + "version": "1.0.30001527", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001527.tgz", + "integrity": "sha512-YkJi7RwPgWtXVSgK4lG9AHH57nSzvvOp9MesgXmw4Q7n0C3H04L0foHqfxcmSAm5AcWb8dW9AYj2tR7/5GnddQ==" }, "chai": { "version": "4.3.8", @@ -9167,9 +9169,9 @@ } }, "electron-to-chromium": { - "version": "1.4.505", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.505.tgz", - "integrity": "sha512-0A50eL5BCCKdxig2SsCXhpuztnB9PfUgRMojj5tMvt8O54lbwz3t6wNgnpiTRosw5QjlJB7ixhVyeg8daLQwSQ==" + "version": "1.4.508", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.508.tgz", + "integrity": "sha512-FFa8QKjQK/A5QuFr2167myhMesGrhlOBD+3cYNxO9/S4XzHEXesyTD/1/xF644gC8buFPz3ca6G1LOQD0tZrrg==" }, "emoji-regex": { "version": "8.0.0", @@ -9612,9 +9614,9 @@ } }, "fraction.js": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.3.1.tgz", - "integrity": "sha512-nx0cki48JBA6ThPeUpeKCNpdhEl/9bRS+dAEYnRUod+Z1jhFfC3K/mBLorZZntqHM+GTH3/dkkpfoT3QITYe7g==", + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.3.6.tgz", + "integrity": "sha512-n2aZ9tNfYDwaHhvFTkhFErqOMIb8uyzSQ+vGJBjZyanAKZVbGUQ1sngfk9FdkBw7G26O7AgNjLcecLffD1c7eg==", "dev": true }, "fs.realpath": { @@ -10172,9 +10174,9 @@ } }, "jackspeak": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.3.1.tgz", - "integrity": "sha512-4iSY3Bh1Htv+kLhiiZunUhQ+OYXIn0ze3ulq8JeWrFKmhPAJSySV2+kdtRh2pGcCeF0s6oR8Oc+pYZynJj4t8A==", + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.3.3.tgz", + "integrity": "sha512-R2bUw+kVZFS/h1AZqBKrSgDmdmjApzgY0AlCPumopFiAlbUxE2gf+SCuBzQ0cP5hHmUmFYF5yw55T97Th5Kstg==", "requires": { "@isaacs/cliui": "^8.0.2", "@pkgjs/parseargs": "^0.11.0" @@ -11333,9 +11335,9 @@ } }, "glob": { - "version": "10.3.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.3.tgz", - "integrity": "sha512-92vPiMb/iqpmEgsOoIDvTjc50wf9CCCvMzsi6W0JLPeUKE8TWP1a73PgqSrqy7iAZxaSD1YdzU7QZR5LF51MJw==", + "version": "10.3.4", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.4.tgz", + "integrity": "sha512-6LFElP3A+i/Q8XQKEvZjkEWEOTgAIALR9AO2rwT8bgPhDd1anmqDJDZ6lLddI4ehxxxR1S5RIqKe1uapMQfYaQ==", "requires": { "foreground-child": "^3.1.0", "jackspeak": "^2.0.3", @@ -11360,9 +11362,9 @@ } }, "rollup": { - "version": "3.28.1", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.28.1.tgz", - "integrity": "sha512-R9OMQmIHJm9znrU3m3cpE8uhN0fGdXiawME7aZIpQqvpS/85+Vt1Hq1/yVIcYfOmaQiHjvXkQAoJukvLpau6Yw==", + "version": "3.29.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.29.0.tgz", + "integrity": "sha512-nszM8DINnx1vSS+TpbWKMkxem0CDWk3cSit/WWCBVs9/JZ1I/XLwOsiUglYuYReaeWWSsW9kge5zE5NZtf/a4w==", "requires": { "fsevents": "~2.3.2" } @@ -11376,13 +11378,13 @@ } }, "safe-array-concat": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.0.0.tgz", - "integrity": "sha512-9dVEFruWIsnie89yym+xWTAYASdpw3CJV7Li/6zBewGf9z2i1j31rP6jnY0pHEO4QZh6N0K11bFjWmdR8UGdPQ==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.0.1.tgz", + "integrity": "sha512-6XbUAseYE2KtOuGueyeobCySj9L4+66Tn6KQMOPQJrAJEowYKW/YR/MGJZl7FdydUdaFu4LYyDZjxf4/Nmo23Q==", "dev": true, "requires": { "call-bind": "^1.0.2", - "get-intrinsic": "^1.2.0", + "get-intrinsic": "^1.2.1", "has-symbols": "^1.0.3", "isarray": "^2.0.5" } @@ -11577,14 +11579,14 @@ } }, "string.prototype.padend": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/string.prototype.padend/-/string.prototype.padend-3.1.4.tgz", - "integrity": "sha512-67otBXoksdjsnXXRUq+KMVTdlVRZ2af422Y0aTyTjVaoQkGr3mxl2Bc5emi7dOQ3OGVVQQskmLEWwFXwommpNw==", + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/string.prototype.padend/-/string.prototype.padend-3.1.5.tgz", + "integrity": "sha512-DOB27b/2UTTD+4myKUFh+/fXWcu/UDyASIXfg+7VzoCNNGOfWvoyU/x5pvVHr++ztyt/oSYI1BcWBBG/hmlNjA==", "dev": true, "requires": { "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1" } }, "string.prototype.trim": { @@ -11610,14 +11612,14 @@ } }, "string.prototype.trimstart": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.6.tgz", - "integrity": "sha512-omqjMDaY92pbn5HOX7f9IccLA+U1tA9GvtU4JrodiXFfYB7jPzzHpRzpglLAjtUV6bB557zwClJezTqnAiYnQA==", + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.7.tgz", + "integrity": "sha512-NGhtDFu3jCEm7B4Fy0DpLewdJQOZcQ0rGbwQ/+stjnrp2i+rlKeCvos9hOIeCmqwratM47OBxY7uFZzjxHXmrg==", "dev": true, "requires": { "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1" } }, "strip-ansi": { @@ -11674,9 +11676,9 @@ "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==" }, "terser": { - "version": "5.19.3", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.19.3.tgz", - "integrity": "sha512-pQzJ9UJzM0IgmT4FAtYI6+VqFf0lj/to58AV0Xfgg0Up37RyPG7Al+1cepC6/BVuAxR9oNb41/DL4DEoHJvTdg==", + "version": "5.19.4", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.19.4.tgz", + "integrity": "sha512-6p1DjHeuluwxDXcuT9VR8p64klWJKo1ILiy19s6C9+0Bh2+NWTX6nD9EPppiER4ICkHDVB1RkVpin/YW2nQn/g==", "requires": { "@jridgewell/source-map": "^0.3.3", "acorn": "^8.8.2", diff --git a/package.json b/package.json index 9cefc64da..d0860252b 100644 --- a/package.json +++ b/package.json @@ -23,11 +23,11 @@ "@rollup/plugin-html": "^1.0.2", "@rollup/plugin-node-resolve": "^15.2.1", "@types/balanced-match": "^1.0.3", - "@types/chai": "^4.3.5", + "@types/chai": "^4.3.6", "@types/chai-subset": "^1.3.3", - "@types/css-selector-tokenizer": "^0.7.1", + "@types/css-selector-tokenizer": "^0.7.2", "@types/cssesc": "^3.0.0", - "@types/csso": "^5.0.0", + "@types/csso": "^5.0.1", "@types/find-config": "^1.0.1", "@types/flat": "^5.0.2", "@types/js-beautify": "^1.14.0", @@ -69,7 +69,7 @@ "react": "^18.2.0", "react-dom": "^18.2.0", "rimraf": "^5.0.1", - "rollup": "^3.28.1", + "rollup": "^3.29.0", "source-map": "^0.7.4", "source-map-loader": "^4.0.1", "style-loader": "^3.3.3", From 8e915dd6a68ec7df06f92d80f970e5e6a7eb3253 Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Sun, 10 Sep 2023 11:31:34 +0300 Subject: [PATCH 57/81] fix(lsp): invalid node location offset (#2897) --- .../src/lib-new/edit-time-parser.ts | 1 + .../test/lib-new/edit-time-parser.spec.ts | 14 +++++++------- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/packages/language-service/src/lib-new/edit-time-parser.ts b/packages/language-service/src/lib-new/edit-time-parser.ts index ed3dc22c2..2fade1ae5 100644 --- a/packages/language-service/src/lib-new/edit-time-parser.ts +++ b/packages/language-service/src/lib-new/edit-time-parser.ts @@ -95,6 +95,7 @@ class EditTimeParser extends Parser { this.init(node, tokens[0][2]); this.raw(node, 'value', tokens, /* keep spaces*/ true); node.source!.end = this.getPosition(this.getLastOffset(tokens)); + node.source!.end.offset++; this.extendParentEnd(node); return node; } diff --git a/packages/language-service/test/lib-new/edit-time-parser.spec.ts b/packages/language-service/test/lib-new/edit-time-parser.spec.ts index c9c3e9ac5..b314a03aa 100644 --- a/packages/language-service/test/lib-new/edit-time-parser.spec.ts +++ b/packages/language-service/test/lib-new/edit-time-parser.spec.ts @@ -317,7 +317,7 @@ describe('edit-time-parser', () => { }); expect(ast.source!.end!.offset, 'close parent with extra space').to.eql(12); }); - it.skip('should keep track of end of source for unclosed nested nodes', () => { + it('should keep track of end of source for unclosed nested nodes', () => { const { ast } = safeParse(` @xxx abc { .yyy { @@ -329,13 +329,13 @@ describe('edit-time-parser', () => { const rule = assertRule(atrule.nodes[0]); const invalid = assertInvalid(rule.nodes[0]); /** - * ToDo: fix - * nodes.end.offset should be 33 (not 32) - * ast.end.column should be 11 (not 12) + * ToDo(fix): ast.end.column should be 11 (not 12) + * this is a postcss bug that is caused by calculating the root + * end with the next non existing position */ - expect(atrule.source!.end!, 'atrule').to.eql(ast.source!.end); - expect(rule.source!.end!, 'rule').to.eql(ast.source!.end); - expect(invalid.source!.end!, 'decl').to.eql(ast.source!.end); + expect(atrule.source!.end!.offset, 'atrule').to.eql(ast.source!.end!.offset); + expect(rule.source!.end!.offset, 'rule').to.eql(ast.source!.end!.offset); + expect(invalid.source!.end!.offset, 'decl').to.eql(ast.source!.end!.offset); }); it('should handle unclosed comment', () => { const { ast, errorNodes, ambiguousNodes } = safeParse(` From d7ead4f4dfeca4927eaafcf214838db831ee6c63 Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Mon, 11 Sep 2023 14:51:19 +0300 Subject: [PATCH 58/81] fix(webpack): unhandled native css external entry (#2901) --- packages/webpack-plugin/src/plugin-utils.ts | 2 +- .../test/e2e/projects/native-css/src/external.css | 3 +++ .../test/e2e/projects/native-css/webpack.config.js | 11 +++++++++++ 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 packages/webpack-plugin/test/e2e/projects/native-css/src/external.css diff --git a/packages/webpack-plugin/src/plugin-utils.ts b/packages/webpack-plugin/src/plugin-utils.ts index 76ef07374..48d10d4ca 100644 --- a/packages/webpack-plugin/src/plugin-utils.ts +++ b/packages/webpack-plugin/src/plugin-utils.ts @@ -49,7 +49,7 @@ export function isSameResourceModule(moduleA: any, moduleB: any) { } export function isStylableModule(module: any): module is NormalModule { - return module.resource?.endsWith('.st.css'); + return module?.resource?.endsWith('.st.css'); } export function isLoadedNativeCSSModule( module: any, diff --git a/packages/webpack-plugin/test/e2e/projects/native-css/src/external.css b/packages/webpack-plugin/test/e2e/projects/native-css/src/external.css new file mode 100644 index 000000000..2c552e269 --- /dev/null +++ b/packages/webpack-plugin/test/e2e/projects/native-css/src/external.css @@ -0,0 +1,3 @@ +.added-to-webpack-entry { + color: purple; +} diff --git a/packages/webpack-plugin/test/e2e/projects/native-css/webpack.config.js b/packages/webpack-plugin/test/e2e/projects/native-css/webpack.config.js index fecdc4cff..22d2a1b54 100644 --- a/packages/webpack-plugin/test/e2e/projects/native-css/webpack.config.js +++ b/packages/webpack-plugin/test/e2e/projects/native-css/webpack.config.js @@ -4,6 +4,7 @@ const HtmlWebpackPlugin = require('html-webpack-plugin'); /** @type {import('webpack').Configuration} */ module.exports = { + entry: ['./src/external.css', './src/index.js'], mode: 'development', context: __dirname, devtool: 'source-map', @@ -23,4 +24,14 @@ module.exports = { }), new HtmlWebpackPlugin(), ], + /*JUST TO TEST THAT AN EXTERNAL ENTRY CSS IS SAFE TO USE */ + module: { + rules: [ + { + test: /\.css$/i, + exclude: /\.st\.css?/, + use: ['css-loader'], + }, + ], + }, }; From ee35633f6324c4c88d27b8a4443d3265fe5a4d20 Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Mon, 11 Sep 2023 15:50:07 +0300 Subject: [PATCH 59/81] v5.15.2 --- package-lock.json | 246 +++++++++---------- packages/build-tools/package.json | 4 +- packages/cli/package.json | 14 +- packages/code-formatter/package.json | 4 +- packages/core-test-kit/package.json | 4 +- packages/core/package.json | 2 +- packages/create-stylable-app/package.json | 2 +- packages/custom-value/package.json | 4 +- packages/dom-test-kit/package.json | 6 +- packages/e2e-test-kit/package.json | 4 +- packages/esbuild/package.json | 14 +- packages/eslint-plugin-stylable/package.json | 4 +- packages/experimental-loader/package.json | 6 +- packages/jest/package.json | 10 +- packages/language-service/package.json | 6 +- packages/module-utils/package.json | 4 +- packages/node/package.json | 8 +- packages/optimizer/package.json | 4 +- packages/rollup-plugin/package.json | 14 +- packages/runtime/package.json | 2 +- packages/schema-extract/package.json | 4 +- packages/uni-driver/package.json | 2 +- packages/webpack-extensions/package.json | 8 +- packages/webpack-plugin/package.json | 16 +- 24 files changed, 196 insertions(+), 196 deletions(-) diff --git a/package-lock.json b/package-lock.json index e85e14a09..9ddd069f7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6826,10 +6826,10 @@ }, "packages/build-tools": { "name": "@stylable/build-tools", - "version": "5.15.1", + "version": "5.15.2", "license": "MIT", "dependencies": { - "@stylable/core": "^5.15.1", + "@stylable/core": "^5.15.2", "find-config": "^1.0.0" }, "engines": { @@ -6838,17 +6838,17 @@ }, "packages/cli": { "name": "@stylable/cli", - "version": "5.15.1", + "version": "5.15.2", "license": "MIT", "dependencies": { "@file-services/node": "^8.1.3", "@file-services/types": "^8.1.3", - "@stylable/build-tools": "^5.15.1", - "@stylable/code-formatter": "^5.15.1", - "@stylable/core": "^5.15.1", - "@stylable/module-utils": "^5.15.1", - "@stylable/node": "^5.15.1", - "@stylable/optimizer": "^5.15.1", + "@stylable/build-tools": "^5.15.2", + "@stylable/code-formatter": "^5.15.2", + "@stylable/core": "^5.15.2", + "@stylable/module-utils": "^5.15.2", + "@stylable/node": "^5.15.2", + "@stylable/optimizer": "^5.15.2", "@wixc3/resolve-directory-context": "^3.0.5", "decache": "^4.6.2", "lodash.camelcase": "^4.3.0", @@ -6877,10 +6877,10 @@ }, "packages/code-formatter": { "name": "@stylable/code-formatter", - "version": "5.15.1", + "version": "5.15.2", "license": "MIT", "dependencies": { - "@stylable/core": "^5.15.1", + "@stylable/core": "^5.15.2", "@tokey/css-value-parser": "^0.1.3", "js-beautify": "^1.14.9", "postcss": "^8.4.29" @@ -6891,7 +6891,7 @@ }, "packages/core": { "name": "@stylable/core", - "version": "5.15.1", + "version": "5.15.2", "license": "MIT", "dependencies": { "@tokey/css-selector-parser": "^0.6.1", @@ -6916,11 +6916,11 @@ }, "packages/core-test-kit": { "name": "@stylable/core-test-kit", - "version": "5.15.1", + "version": "5.15.2", "license": "MIT", "dependencies": { "@file-services/memory": "^8.1.3", - "@stylable/core": "^5.15.1", + "@stylable/core": "^5.15.2", "chai": "^4.3.8", "flat": "^5.0.2", "postcss": "^8.4.29" @@ -6934,7 +6934,7 @@ "license": "MIT" }, "packages/create-stylable-app": { - "version": "5.15.1", + "version": "5.15.2", "license": "MIT", "dependencies": { "validate-npm-package-name": "^5.0.0", @@ -6949,10 +6949,10 @@ }, "packages/custom-value": { "name": "@stylable/custom-value", - "version": "5.15.1", + "version": "5.15.2", "license": "MIT", "dependencies": { - "@stylable/core": "^5.15.1" + "@stylable/core": "^5.15.2" }, "engines": { "node": ">=14.14.0" @@ -6960,11 +6960,11 @@ }, "packages/dom-test-kit": { "name": "@stylable/dom-test-kit", - "version": "5.15.1", + "version": "5.15.2", "license": "MIT", "dependencies": { - "@stylable/core": "^5.15.1", - "@stylable/runtime": "^5.15.1", + "@stylable/core": "^5.15.2", + "@stylable/runtime": "^5.15.2", "@tokey/css-selector-parser": "^0.6.1" }, "engines": { @@ -6973,10 +6973,10 @@ }, "packages/e2e-test-kit": { "name": "@stylable/e2e-test-kit", - "version": "5.15.1", + "version": "5.15.2", "license": "MIT", "dependencies": { - "@stylable/runtime": "^5.15.1", + "@stylable/runtime": "^5.15.2", "node-eval": "^2.0.0", "playwright-core": "^1.37.1", "rimraf": "^5.0.1" @@ -6990,15 +6990,15 @@ }, "packages/esbuild": { "name": "@stylable/esbuild", - "version": "5.15.1", + "version": "5.15.2", "license": "MIT", "dependencies": { - "@stylable/build-tools": "^5.15.1", - "@stylable/cli": "^5.15.1", - "@stylable/core": "^5.15.1", - "@stylable/node": "^5.15.1", - "@stylable/optimizer": "^5.15.1", - "@stylable/runtime": "^5.15.1", + "@stylable/build-tools": "^5.15.2", + "@stylable/cli": "^5.15.2", + "@stylable/core": "^5.15.2", + "@stylable/node": "^5.15.2", + "@stylable/optimizer": "^5.15.2", + "@stylable/runtime": "^5.15.2", "decache": "^4.6.2" }, "engines": { @@ -7009,20 +7009,20 @@ } }, "packages/eslint-plugin-stylable": { - "version": "5.15.1", + "version": "5.15.2", "license": "MIT", "dependencies": { - "@stylable/core": "^5.15.1", + "@stylable/core": "^5.15.2", "@typescript-eslint/utils": "^5.61.0" } }, "packages/experimental-loader": { "name": "@stylable/experimental-loader", - "version": "5.15.1", + "version": "5.15.2", "license": "MIT", "dependencies": { - "@stylable/core": "^5.15.1", - "@stylable/runtime": "^5.15.1", + "@stylable/core": "^5.15.2", + "@stylable/runtime": "^5.15.2", "css-loader": "^6.8.1", "decache": "^4.6.2", "loader-utils": "^3.2.1" @@ -7037,13 +7037,13 @@ }, "packages/jest": { "name": "@stylable/jest", - "version": "5.15.1", + "version": "5.15.2", "license": "MIT", "dependencies": { - "@stylable/core": "^5.15.1", - "@stylable/module-utils": "^5.15.1", - "@stylable/node": "^5.15.1", - "@stylable/runtime": "^5.15.1" + "@stylable/core": "^5.15.2", + "@stylable/module-utils": "^5.15.2", + "@stylable/node": "^5.15.2", + "@stylable/runtime": "^5.15.2" }, "engines": { "node": ">=14.14.0" @@ -7051,13 +7051,13 @@ }, "packages/language-service": { "name": "@stylable/language-service", - "version": "5.15.1", + "version": "5.15.2", "license": "MIT", "dependencies": { "@file-services/types": "^8.1.3", "@file-services/typescript": "^8.1.3", - "@stylable/code-formatter": "^5.15.1", - "@stylable/core": "^5.15.1", + "@stylable/code-formatter": "^5.15.2", + "@stylable/core": "^5.15.2", "@tokey/core": "^1.4.0", "@tokey/css-selector-parser": "^0.6.1", "@tokey/css-value-parser": "^0.1.3", @@ -7078,10 +7078,10 @@ }, "packages/module-utils": { "name": "@stylable/module-utils", - "version": "5.15.1", + "version": "5.15.2", "license": "MIT", "dependencies": { - "@stylable/core": "^5.15.1", + "@stylable/core": "^5.15.2", "@tokey/core": "^1.4.0", "vlq": "^2.0.4" }, @@ -7091,12 +7091,12 @@ }, "packages/node": { "name": "@stylable/node", - "version": "5.15.1", + "version": "5.15.2", "license": "MIT", "dependencies": { - "@stylable/build-tools": "^5.15.1", - "@stylable/core": "^5.15.1", - "@stylable/module-utils": "^5.15.1", + "@stylable/build-tools": "^5.15.2", + "@stylable/core": "^5.15.2", + "@stylable/module-utils": "^5.15.2", "find-config": "^1.0.0" }, "engines": { @@ -7105,10 +7105,10 @@ }, "packages/optimizer": { "name": "@stylable/optimizer", - "version": "5.15.1", + "version": "5.15.2", "license": "MIT", "dependencies": { - "@stylable/core": "^5.15.1", + "@stylable/core": "^5.15.2", "@tokey/css-selector-parser": "^0.6.1", "csso": "^5.0.5", "postcss": "^8.4.29" @@ -7119,15 +7119,15 @@ }, "packages/rollup-plugin": { "name": "@stylable/rollup-plugin", - "version": "5.15.1", + "version": "5.15.2", "license": "MIT", "dependencies": { - "@stylable/build-tools": "^5.15.1", - "@stylable/cli": "^5.15.1", - "@stylable/core": "^5.15.1", - "@stylable/node": "^5.15.1", - "@stylable/optimizer": "^5.15.1", - "@stylable/runtime": "^5.15.1", + "@stylable/build-tools": "^5.15.2", + "@stylable/cli": "^5.15.2", + "@stylable/core": "^5.15.2", + "@stylable/node": "^5.15.2", + "@stylable/optimizer": "^5.15.2", + "@stylable/runtime": "^5.15.2", "decache": "^4.6.2", "mime": "^3.0.0" }, @@ -7150,7 +7150,7 @@ }, "packages/runtime": { "name": "@stylable/runtime", - "version": "5.15.1", + "version": "5.15.2", "license": "MIT", "engines": { "node": ">=14.14.0" @@ -7158,10 +7158,10 @@ }, "packages/schema-extract": { "name": "@stylable/schema-extract", - "version": "5.15.1", + "version": "5.15.2", "license": "MIT", "dependencies": { - "@stylable/core": "^5.15.1", + "@stylable/core": "^5.15.2", "jest-docblock": "^29.6.3" }, "engines": { @@ -7170,7 +7170,7 @@ }, "packages/uni-driver": { "name": "@stylable/uni-driver", - "version": "5.15.1", + "version": "5.15.2", "license": "MIT", "engines": { "node": ">=14.14.0" @@ -7178,12 +7178,12 @@ }, "packages/webpack-extensions": { "name": "@stylable/webpack-extensions", - "version": "5.15.1", + "version": "5.15.2", "license": "MIT", "dependencies": { - "@stylable/core": "^5.15.1", - "@stylable/node": "^5.15.1", - "@stylable/webpack-plugin": "^5.15.1", + "@stylable/core": "^5.15.2", + "@stylable/node": "^5.15.2", + "@stylable/webpack-plugin": "^5.15.2", "@tokey/css-selector-parser": "^0.6.1", "find-config": "^1.0.0", "lodash.clonedeep": "^4.5.0" @@ -7197,16 +7197,16 @@ }, "packages/webpack-plugin": { "name": "@stylable/webpack-plugin", - "version": "5.15.1", + "version": "5.15.2", "license": "MIT", "dependencies": { - "@stylable/build-tools": "^5.15.1", - "@stylable/cli": "^5.15.1", - "@stylable/core": "^5.15.1", - "@stylable/module-utils": "^5.15.1", - "@stylable/node": "^5.15.1", - "@stylable/optimizer": "^5.15.1", - "@stylable/runtime": "^5.15.1", + "@stylable/build-tools": "^5.15.2", + "@stylable/cli": "^5.15.2", + "@stylable/core": "^5.15.2", + "@stylable/module-utils": "^5.15.2", + "@stylable/node": "^5.15.2", + "@stylable/optimizer": "^5.15.2", + "@stylable/runtime": "^5.15.2", "decache": "^4.6.2", "lodash.clonedeep": "^4.5.0", "postcss": "^8.4.29" @@ -7663,7 +7663,7 @@ "@stylable/build-tools": { "version": "file:packages/build-tools", "requires": { - "@stylable/core": "^5.15.1", + "@stylable/core": "^5.15.2", "find-config": "^1.0.0" } }, @@ -7672,12 +7672,12 @@ "requires": { "@file-services/node": "^8.1.3", "@file-services/types": "^8.1.3", - "@stylable/build-tools": "^5.15.1", - "@stylable/code-formatter": "^5.15.1", - "@stylable/core": "^5.15.1", - "@stylable/module-utils": "^5.15.1", - "@stylable/node": "^5.15.1", - "@stylable/optimizer": "^5.15.1", + "@stylable/build-tools": "^5.15.2", + "@stylable/code-formatter": "^5.15.2", + "@stylable/core": "^5.15.2", + "@stylable/module-utils": "^5.15.2", + "@stylable/node": "^5.15.2", + "@stylable/optimizer": "^5.15.2", "@wixc3/resolve-directory-context": "^3.0.5", "decache": "^4.6.2", "lodash.camelcase": "^4.3.0", @@ -7694,7 +7694,7 @@ "@stylable/code-formatter": { "version": "file:packages/code-formatter", "requires": { - "@stylable/core": "^5.15.1", + "@stylable/core": "^5.15.2", "@tokey/css-value-parser": "^0.1.3", "js-beautify": "^1.14.9", "postcss": "^8.4.29" @@ -7729,7 +7729,7 @@ "version": "file:packages/core-test-kit", "requires": { "@file-services/memory": "^8.1.3", - "@stylable/core": "^5.15.1", + "@stylable/core": "^5.15.2", "chai": "^4.3.8", "flat": "^5.0.2", "postcss": "^8.4.29" @@ -7738,21 +7738,21 @@ "@stylable/custom-value": { "version": "file:packages/custom-value", "requires": { - "@stylable/core": "^5.15.1" + "@stylable/core": "^5.15.2" } }, "@stylable/dom-test-kit": { "version": "file:packages/dom-test-kit", "requires": { - "@stylable/core": "^5.15.1", - "@stylable/runtime": "^5.15.1", + "@stylable/core": "^5.15.2", + "@stylable/runtime": "^5.15.2", "@tokey/css-selector-parser": "^0.6.1" } }, "@stylable/e2e-test-kit": { "version": "file:packages/e2e-test-kit", "requires": { - "@stylable/runtime": "^5.15.1", + "@stylable/runtime": "^5.15.2", "node-eval": "^2.0.0", "playwright-core": "^1.37.1", "rimraf": "^5.0.1" @@ -7761,20 +7761,20 @@ "@stylable/esbuild": { "version": "file:packages/esbuild", "requires": { - "@stylable/build-tools": "^5.15.1", - "@stylable/cli": "^5.15.1", - "@stylable/core": "^5.15.1", - "@stylable/node": "^5.15.1", - "@stylable/optimizer": "^5.15.1", - "@stylable/runtime": "^5.15.1", + "@stylable/build-tools": "^5.15.2", + "@stylable/cli": "^5.15.2", + "@stylable/core": "^5.15.2", + "@stylable/node": "^5.15.2", + "@stylable/optimizer": "^5.15.2", + "@stylable/runtime": "^5.15.2", "decache": "^4.6.2" } }, "@stylable/experimental-loader": { "version": "file:packages/experimental-loader", "requires": { - "@stylable/core": "^5.15.1", - "@stylable/runtime": "^5.15.1", + "@stylable/core": "^5.15.2", + "@stylable/runtime": "^5.15.2", "css-loader": "^6.8.1", "decache": "^4.6.2", "loader-utils": "^3.2.1" @@ -7788,10 +7788,10 @@ "@stylable/jest": { "version": "file:packages/jest", "requires": { - "@stylable/core": "^5.15.1", - "@stylable/module-utils": "^5.15.1", - "@stylable/node": "^5.15.1", - "@stylable/runtime": "^5.15.1" + "@stylable/core": "^5.15.2", + "@stylable/module-utils": "^5.15.2", + "@stylable/node": "^5.15.2", + "@stylable/runtime": "^5.15.2" } }, "@stylable/language-service": { @@ -7799,8 +7799,8 @@ "requires": { "@file-services/types": "^8.1.3", "@file-services/typescript": "^8.1.3", - "@stylable/code-formatter": "^5.15.1", - "@stylable/core": "^5.15.1", + "@stylable/code-formatter": "^5.15.2", + "@stylable/core": "^5.15.2", "@tokey/core": "^1.4.0", "@tokey/css-selector-parser": "^0.6.1", "@tokey/css-value-parser": "^0.1.3", @@ -7816,7 +7816,7 @@ "@stylable/module-utils": { "version": "file:packages/module-utils", "requires": { - "@stylable/core": "^5.15.1", + "@stylable/core": "^5.15.2", "@tokey/core": "^1.4.0", "vlq": "^2.0.4" } @@ -7824,16 +7824,16 @@ "@stylable/node": { "version": "file:packages/node", "requires": { - "@stylable/build-tools": "^5.15.1", - "@stylable/core": "^5.15.1", - "@stylable/module-utils": "^5.15.1", + "@stylable/build-tools": "^5.15.2", + "@stylable/core": "^5.15.2", + "@stylable/module-utils": "^5.15.2", "find-config": "^1.0.0" } }, "@stylable/optimizer": { "version": "file:packages/optimizer", "requires": { - "@stylable/core": "^5.15.1", + "@stylable/core": "^5.15.2", "@tokey/css-selector-parser": "^0.6.1", "csso": "^5.0.5", "postcss": "^8.4.29" @@ -7842,12 +7842,12 @@ "@stylable/rollup-plugin": { "version": "file:packages/rollup-plugin", "requires": { - "@stylable/build-tools": "^5.15.1", - "@stylable/cli": "^5.15.1", - "@stylable/core": "^5.15.1", - "@stylable/node": "^5.15.1", - "@stylable/optimizer": "^5.15.1", - "@stylable/runtime": "^5.15.1", + "@stylable/build-tools": "^5.15.2", + "@stylable/cli": "^5.15.2", + "@stylable/core": "^5.15.2", + "@stylable/node": "^5.15.2", + "@stylable/optimizer": "^5.15.2", + "@stylable/runtime": "^5.15.2", "decache": "^4.6.2", "mime": "^3.0.0" }, @@ -7863,7 +7863,7 @@ "@stylable/schema-extract": { "version": "file:packages/schema-extract", "requires": { - "@stylable/core": "^5.15.1", + "@stylable/core": "^5.15.2", "jest-docblock": "^29.6.3" } }, @@ -7873,9 +7873,9 @@ "@stylable/webpack-extensions": { "version": "file:packages/webpack-extensions", "requires": { - "@stylable/core": "^5.15.1", - "@stylable/node": "^5.15.1", - "@stylable/webpack-plugin": "^5.15.1", + "@stylable/core": "^5.15.2", + "@stylable/node": "^5.15.2", + "@stylable/webpack-plugin": "^5.15.2", "@tokey/css-selector-parser": "^0.6.1", "find-config": "^1.0.0", "lodash.clonedeep": "^4.5.0" @@ -7884,13 +7884,13 @@ "@stylable/webpack-plugin": { "version": "file:packages/webpack-plugin", "requires": { - "@stylable/build-tools": "^5.15.1", - "@stylable/cli": "^5.15.1", - "@stylable/core": "^5.15.1", - "@stylable/module-utils": "^5.15.1", - "@stylable/node": "^5.15.1", - "@stylable/optimizer": "^5.15.1", - "@stylable/runtime": "^5.15.1", + "@stylable/build-tools": "^5.15.2", + "@stylable/cli": "^5.15.2", + "@stylable/core": "^5.15.2", + "@stylable/module-utils": "^5.15.2", + "@stylable/node": "^5.15.2", + "@stylable/optimizer": "^5.15.2", + "@stylable/runtime": "^5.15.2", "decache": "^4.6.2", "lodash.clonedeep": "^4.5.0", "postcss": "^8.4.29" @@ -9392,7 +9392,7 @@ "eslint-plugin-stylable": { "version": "file:packages/eslint-plugin-stylable", "requires": { - "@stylable/core": "^5.15.1", + "@stylable/core": "^5.15.2", "@typescript-eslint/utils": "^5.61.0" } }, diff --git a/packages/build-tools/package.json b/packages/build-tools/package.json index 71bbd7146..73a527653 100644 --- a/packages/build-tools/package.json +++ b/packages/build-tools/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/build-tools", - "version": "5.15.1", + "version": "5.15.2", "description": "Collection of helper functions for Stylable based tooling.", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 20000" }, "dependencies": { - "@stylable/core": "^5.15.1", + "@stylable/core": "^5.15.2", "find-config": "^1.0.0" }, "files": [ diff --git a/packages/cli/package.json b/packages/cli/package.json index b71316aff..27caa8ee2 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/cli", - "version": "5.15.1", + "version": "5.15.2", "description": "A low-level utility used for working with Stylable projects", "main": "dist/index.js", "bin": { @@ -14,12 +14,12 @@ "dependencies": { "@file-services/node": "^8.1.3", "@file-services/types": "^8.1.3", - "@stylable/build-tools": "^5.15.1", - "@stylable/code-formatter": "^5.15.1", - "@stylable/core": "^5.15.1", - "@stylable/module-utils": "^5.15.1", - "@stylable/node": "^5.15.1", - "@stylable/optimizer": "^5.15.1", + "@stylable/build-tools": "^5.15.2", + "@stylable/code-formatter": "^5.15.2", + "@stylable/core": "^5.15.2", + "@stylable/module-utils": "^5.15.2", + "@stylable/node": "^5.15.2", + "@stylable/optimizer": "^5.15.2", "@wixc3/resolve-directory-context": "^3.0.5", "decache": "^4.6.2", "lodash.camelcase": "^4.3.0", diff --git a/packages/code-formatter/package.json b/packages/code-formatter/package.json index bc41f4d0e..89595bbfc 100644 --- a/packages/code-formatter/package.json +++ b/packages/code-formatter/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/code-formatter", - "version": "5.15.1", + "version": "5.15.2", "description": "A code formatting utility for Stylable stylesheets", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.15.1", + "@stylable/core": "^5.15.2", "@tokey/css-value-parser": "^0.1.3", "js-beautify": "^1.14.9", "postcss": "^8.4.29" diff --git a/packages/core-test-kit/package.json b/packages/core-test-kit/package.json index 811524196..0c874b314 100644 --- a/packages/core-test-kit/package.json +++ b/packages/core-test-kit/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/core-test-kit", - "version": "5.15.1", + "version": "5.15.2", "description": "Stylable core test-kit", "main": "dist/index.js", "scripts": { @@ -8,7 +8,7 @@ }, "dependencies": { "@file-services/memory": "^8.1.3", - "@stylable/core": "^5.15.1", + "@stylable/core": "^5.15.2", "chai": "^4.3.8", "flat": "^5.0.2", "postcss": "^8.4.29" diff --git a/packages/core/package.json b/packages/core/package.json index f98896300..190a9c0fb 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/core", - "version": "5.15.1", + "version": "5.15.2", "description": "CSS for Components", "main": "dist/index.js", "scripts": { diff --git a/packages/create-stylable-app/package.json b/packages/create-stylable-app/package.json index fc100efe5..25c244239 100644 --- a/packages/create-stylable-app/package.json +++ b/packages/create-stylable-app/package.json @@ -1,6 +1,6 @@ { "name": "create-stylable-app", - "version": "5.15.1", + "version": "5.15.2", "description": "Quickly create a Stylable application", "main": "dist/index.js", "bin": { diff --git a/packages/custom-value/package.json b/packages/custom-value/package.json index 0799977ac..8fde58805 100644 --- a/packages/custom-value/package.json +++ b/packages/custom-value/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/custom-value", - "version": "5.15.1", + "version": "5.15.2", "description": "Custom values (variables) for Stylable", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 20000" }, "dependencies": { - "@stylable/core": "^5.15.1" + "@stylable/core": "^5.15.2" }, "files": [ "dist", diff --git a/packages/dom-test-kit/package.json b/packages/dom-test-kit/package.json index a80838079..1ee27cbe5 100644 --- a/packages/dom-test-kit/package.json +++ b/packages/dom-test-kit/package.json @@ -1,14 +1,14 @@ { "name": "@stylable/dom-test-kit", - "version": "5.15.1", + "version": "5.15.2", "description": "Stylable DOM testing utilities", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.15.1", - "@stylable/runtime": "^5.15.1", + "@stylable/core": "^5.15.2", + "@stylable/runtime": "^5.15.2", "@tokey/css-selector-parser": "^0.6.1" }, "files": [ diff --git a/packages/e2e-test-kit/package.json b/packages/e2e-test-kit/package.json index 219eb188b..22e59ed05 100644 --- a/packages/e2e-test-kit/package.json +++ b/packages/e2e-test-kit/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/e2e-test-kit", - "version": "5.15.1", + "version": "5.15.2", "description": "A collection of tools to help test Stylable components and applications from end-to-end", "main": "dist/index.js", "peerDependencies": { "webpack": "^5.30.0" }, "dependencies": { - "@stylable/runtime": "^5.15.1", + "@stylable/runtime": "^5.15.2", "node-eval": "^2.0.0", "playwright-core": "^1.37.1", "rimraf": "^5.0.1" diff --git a/packages/esbuild/package.json b/packages/esbuild/package.json index 33b7e36e1..962b2001a 100644 --- a/packages/esbuild/package.json +++ b/packages/esbuild/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/esbuild", - "version": "5.15.1", + "version": "5.15.2", "description": "Stylable plugin for esbuild", "main": "dist/index.js", "scripts": { @@ -10,12 +10,12 @@ "esbuild": ">=0.17.18" }, "dependencies": { - "@stylable/build-tools": "^5.15.1", - "@stylable/cli": "^5.15.1", - "@stylable/core": "^5.15.1", - "@stylable/node": "^5.15.1", - "@stylable/optimizer": "^5.15.1", - "@stylable/runtime": "^5.15.1", + "@stylable/build-tools": "^5.15.2", + "@stylable/cli": "^5.15.2", + "@stylable/core": "^5.15.2", + "@stylable/node": "^5.15.2", + "@stylable/optimizer": "^5.15.2", + "@stylable/runtime": "^5.15.2", "decache": "^4.6.2" }, "files": [ diff --git a/packages/eslint-plugin-stylable/package.json b/packages/eslint-plugin-stylable/package.json index ba80ebdef..9610f8aa5 100644 --- a/packages/eslint-plugin-stylable/package.json +++ b/packages/eslint-plugin-stylable/package.json @@ -1,13 +1,13 @@ { "name": "eslint-plugin-stylable", - "version": "5.15.1", + "version": "5.15.2", "description": "eslint plugin for Stylable usages", "main": "dist/index.js", "scripts": { "test": "mocha \"dist/test/**/*.spec.js\" --timeout 5000" }, "dependencies": { - "@stylable/core": "^5.15.1", + "@stylable/core": "^5.15.2", "@typescript-eslint/utils": "^5.61.0" }, "keywords": [ diff --git a/packages/experimental-loader/package.json b/packages/experimental-loader/package.json index 3f0e8f29f..ae37264ec 100644 --- a/packages/experimental-loader/package.json +++ b/packages/experimental-loader/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/experimental-loader", - "version": "5.15.1", + "version": "5.15.2", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 20000" }, "dependencies": { - "@stylable/core": "^5.15.1", - "@stylable/runtime": "^5.15.1", + "@stylable/core": "^5.15.2", + "@stylable/runtime": "^5.15.2", "css-loader": "^6.8.1", "decache": "^4.6.2", "loader-utils": "^3.2.1" diff --git a/packages/jest/package.json b/packages/jest/package.json index 3f1bae71f..f3cde5b84 100644 --- a/packages/jest/package.json +++ b/packages/jest/package.json @@ -1,16 +1,16 @@ { "name": "@stylable/jest", - "version": "5.15.1", + "version": "5.15.2", "description": "Test your Stylable React components using Jest", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.15.1", - "@stylable/module-utils": "^5.15.1", - "@stylable/node": "^5.15.1", - "@stylable/runtime": "^5.15.1" + "@stylable/core": "^5.15.2", + "@stylable/module-utils": "^5.15.2", + "@stylable/node": "^5.15.2", + "@stylable/runtime": "^5.15.2" }, "files": [ "dist", diff --git a/packages/language-service/package.json b/packages/language-service/package.json index 155c0ac7a..261250c29 100644 --- a/packages/language-service/package.json +++ b/packages/language-service/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/language-service", - "version": "5.15.1", + "version": "5.15.2", "description": "Stylable Language Services - syntax highlighting, completions, hinting and more for the Stylable CSS preprocessor.", "main": "dist/index.js", "scripts": { @@ -13,8 +13,8 @@ "dependencies": { "@file-services/types": "^8.1.3", "@file-services/typescript": "^8.1.3", - "@stylable/code-formatter": "^5.15.1", - "@stylable/core": "^5.15.1", + "@stylable/code-formatter": "^5.15.2", + "@stylable/core": "^5.15.2", "@tokey/core": "^1.4.0", "@tokey/css-selector-parser": "^0.6.1", "@tokey/css-value-parser": "^0.1.3", diff --git a/packages/module-utils/package.json b/packages/module-utils/package.json index 5fc2d6b62..9d8b0cf6c 100644 --- a/packages/module-utils/package.json +++ b/packages/module-utils/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/module-utils", - "version": "5.15.1", + "version": "5.15.2", "description": "Stylable module creation utilities", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.15.1", + "@stylable/core": "^5.15.2", "@tokey/core": "^1.4.0", "vlq": "^2.0.4" }, diff --git a/packages/node/package.json b/packages/node/package.json index 84517dbed..d7e25b95f 100644 --- a/packages/node/package.json +++ b/packages/node/package.json @@ -1,15 +1,15 @@ { "name": "@stylable/node", - "version": "5.15.1", + "version": "5.15.2", "description": "Integrate Stylable into your node application", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 10000" }, "dependencies": { - "@stylable/build-tools": "^5.15.1", - "@stylable/core": "^5.15.1", - "@stylable/module-utils": "^5.15.1", + "@stylable/build-tools": "^5.15.2", + "@stylable/core": "^5.15.2", + "@stylable/module-utils": "^5.15.2", "find-config": "^1.0.0" }, "files": [ diff --git a/packages/optimizer/package.json b/packages/optimizer/package.json index 4d860d37c..193bcb06b 100644 --- a/packages/optimizer/package.json +++ b/packages/optimizer/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/optimizer", - "version": "5.15.1", + "version": "5.15.2", "description": "Stylable core optimizer", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.15.1", + "@stylable/core": "^5.15.2", "@tokey/css-selector-parser": "^0.6.1", "csso": "^5.0.5", "postcss": "^8.4.29" diff --git a/packages/rollup-plugin/package.json b/packages/rollup-plugin/package.json index 1e5aaf040..a778ac4a9 100644 --- a/packages/rollup-plugin/package.json +++ b/packages/rollup-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/rollup-plugin", - "version": "5.15.1", + "version": "5.15.2", "description": "Stylable plugin for Rollup", "main": "dist/index.js", "scripts": { @@ -10,12 +10,12 @@ "rollup": "^2.70.0 || ^3.0.0" }, "dependencies": { - "@stylable/build-tools": "^5.15.1", - "@stylable/cli": "^5.15.1", - "@stylable/core": "^5.15.1", - "@stylable/node": "^5.15.1", - "@stylable/optimizer": "^5.15.1", - "@stylable/runtime": "^5.15.1", + "@stylable/build-tools": "^5.15.2", + "@stylable/cli": "^5.15.2", + "@stylable/core": "^5.15.2", + "@stylable/node": "^5.15.2", + "@stylable/optimizer": "^5.15.2", + "@stylable/runtime": "^5.15.2", "decache": "^4.6.2", "mime": "^3.0.0" }, diff --git a/packages/runtime/package.json b/packages/runtime/package.json index 7cebd65bf..6a29daadb 100644 --- a/packages/runtime/package.json +++ b/packages/runtime/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/runtime", - "version": "5.15.1", + "version": "5.15.2", "description": "Stylable runtime DOM integration", "main": "dist/index.js", "scripts": { diff --git a/packages/schema-extract/package.json b/packages/schema-extract/package.json index eeb4c96ee..c90c916cb 100644 --- a/packages/schema-extract/package.json +++ b/packages/schema-extract/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/schema-extract", - "version": "5.15.1", + "version": "5.15.2", "description": "A utility for extracting JSON schema objects from a Stylable stylesheet", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.15.1", + "@stylable/core": "^5.15.2", "jest-docblock": "^29.6.3" }, "files": [ diff --git a/packages/uni-driver/package.json b/packages/uni-driver/package.json index 21233cd95..9f3765710 100644 --- a/packages/uni-driver/package.json +++ b/packages/uni-driver/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/uni-driver", - "version": "5.15.1", + "version": "5.15.2", "description": "Stylable UniDriver testing utilities", "main": "dist/index.js", "scripts": { diff --git a/packages/webpack-extensions/package.json b/packages/webpack-extensions/package.json index aae6972da..26617c383 100644 --- a/packages/webpack-extensions/package.json +++ b/packages/webpack-extensions/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/webpack-extensions", - "version": "5.15.1", + "version": "5.15.2", "description": "Experimental Stylable webpack plugins", "main": "dist/index.js", "scripts": { @@ -10,9 +10,9 @@ "webpack": "^5.30.0" }, "dependencies": { - "@stylable/core": "^5.15.1", - "@stylable/node": "^5.15.1", - "@stylable/webpack-plugin": "^5.15.1", + "@stylable/core": "^5.15.2", + "@stylable/node": "^5.15.2", + "@stylable/webpack-plugin": "^5.15.2", "@tokey/css-selector-parser": "^0.6.1", "find-config": "^1.0.0", "lodash.clonedeep": "^4.5.0" diff --git a/packages/webpack-plugin/package.json b/packages/webpack-plugin/package.json index 1d2bfb0be..fcb574a7c 100644 --- a/packages/webpack-plugin/package.json +++ b/packages/webpack-plugin/package.json @@ -1,7 +1,7 @@ { "name": "@stylable/webpack-plugin", "description": "Webpack (5.x) plugin for Stylable modules", - "version": "5.15.1", + "version": "5.15.2", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 20000" @@ -10,13 +10,13 @@ "webpack": "^5.30.0" }, "dependencies": { - "@stylable/build-tools": "^5.15.1", - "@stylable/cli": "^5.15.1", - "@stylable/core": "^5.15.1", - "@stylable/module-utils": "^5.15.1", - "@stylable/node": "^5.15.1", - "@stylable/optimizer": "^5.15.1", - "@stylable/runtime": "^5.15.1", + "@stylable/build-tools": "^5.15.2", + "@stylable/cli": "^5.15.2", + "@stylable/core": "^5.15.2", + "@stylable/module-utils": "^5.15.2", + "@stylable/node": "^5.15.2", + "@stylable/optimizer": "^5.15.2", + "@stylable/runtime": "^5.15.2", "decache": "^4.6.2", "lodash.clonedeep": "^4.5.0", "postcss": "^8.4.29" From 285c6494ad4b7bfeeef89afd35dffb525768d4cd Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Tue, 12 Sep 2023 10:39:06 +0300 Subject: [PATCH 60/81] chore: deprecate native namespace override (#2895) * chore: add deprecation info * chore: remove internal use --- packages/core/src/features/st-namespace.ts | 17 +++++++++++++++++ packages/core/src/stylable-processor.ts | 1 + .../core/test/features/st-namespace.spec.ts | 9 ++++++--- .../test/e2e/duplicate-namespace/a.st.css | 4 ++-- .../test/e2e/duplicate-namespace/b.st.css | 4 ++-- .../test-components-deep/button.st.css | 5 +++-- .../test-components-deep/index.st.css | 4 ++-- .../node_modules/test-components/index.st.css | 5 +++-- .../test-components-deep/button.st.css | 5 +++-- .../test-components-deep/index.st.css | 4 ++-- .../test-components/cjs/button.st.css | 2 +- .../test-components/esm/button.st.css | 2 +- .../node_modules/comp-lib/index.cjs.st.css | 2 +- .../node_modules/comp-lib/index.es.st.css | 2 +- 14 files changed, 45 insertions(+), 21 deletions(-) diff --git a/packages/core/src/features/st-namespace.ts b/packages/core/src/features/st-namespace.ts index 6703e7a60..d2d7a9a41 100644 --- a/packages/core/src/features/st-namespace.ts +++ b/packages/core/src/features/st-namespace.ts @@ -34,11 +34,17 @@ export const diagnostics = { 'error', () => 'st-namespace-reference dose not have any value' ), + NATIVE_OVERRIDE_DEPRECATION: createDiagnosticReporter( + '11014', + 'info', + () => '@namespace will stop working in version 6, use @st-namespace instead' + ), }; const dataKey = plugableRecord.key<{ namespaces: string[]; usedNativeNamespace: string[]; + usedNativeNamespaceNodes: AtRule[]; foundStNamespace: boolean; }>('namespace'); @@ -49,6 +55,7 @@ export const hooks = createFeature({ plugableRecord.set(meta.data, dataKey, { namespaces: [], usedNativeNamespace: [], + usedNativeNamespaceNodes: [], foundStNamespace: false, }); }, @@ -69,14 +76,24 @@ export const hooks = createFeature({ data.namespaces.push(match); if (isNamespace) { data.usedNativeNamespace.push(atRule.params); + data.usedNativeNamespaceNodes.push(atRule); } else { // clear @namespace matches once @st-namespace if found data.usedNativeNamespace.length = 0; + data.usedNativeNamespaceNodes.length = 0; // mark to prevent any further @namespace collection data.foundStNamespace = true; } } }, + analyzeDone(context) { + const { usedNativeNamespaceNodes } = plugableRecord.getUnsafe(context.meta.data, dataKey); + for (const node of usedNativeNamespaceNodes) { + context.diagnostics.report(diagnostics.NATIVE_OVERRIDE_DEPRECATION(), { + node, + }); + } + }, prepareAST({ context, node, toRemove }) { // remove @st-namespace or @namespace that was used as @st-namespace const { usedNativeNamespace } = plugableRecord.getUnsafe(context.meta.data, dataKey); diff --git a/packages/core/src/stylable-processor.ts b/packages/core/src/stylable-processor.ts index a5f2f8b30..bc66164ff 100644 --- a/packages/core/src/stylable-processor.ts +++ b/packages/core/src/stylable-processor.ts @@ -66,6 +66,7 @@ export class StylableProcessor implements FeatureContext { this.collectUrls(decl); }); + STNamespace.hooks.analyzeDone(this); STCustomSelector.hooks.analyzeDone(this); STStructure.hooks.analyzeDone(this); diff --git a/packages/core/test/features/st-namespace.spec.ts b/packages/core/test/features/st-namespace.spec.ts index 17a6939f4..df0d804ba 100644 --- a/packages/core/test/features/st-namespace.spec.ts +++ b/packages/core/test/features/st-namespace.spec.ts @@ -245,11 +245,16 @@ describe('features/st-namespace', () => { @namespace was previously used instead of @st-namespace. In order to preserve backwards compatibility, @namespace will continue to define the stylable namespace under specific conditions. + + ToDo(major): remove special handling of native @namespace */ it('should override default namespace with @namespace', () => { const { sheets } = testStylableCore({ '/other.st.css': ` - /* @transform-remove */ + /* + @transform-remove + @analyze-info ${diagnostics.NATIVE_OVERRIDE_DEPRECATION()} + */ @namespace "button"; /* @rule .button__x */ @@ -259,8 +264,6 @@ describe('features/st-namespace', () => { const { meta, exports } = sheets['/other.st.css']; - shouldReportNoDiagnostics(meta); - expect(meta.namespace, 'meta.namespace').to.eql('button'); // JS exports diff --git a/packages/esbuild/test/e2e/duplicate-namespace/a.st.css b/packages/esbuild/test/e2e/duplicate-namespace/a.st.css index 3acc0c697..e66882a45 100644 --- a/packages/esbuild/test/e2e/duplicate-namespace/a.st.css +++ b/packages/esbuild/test/e2e/duplicate-namespace/a.st.css @@ -1,3 +1,3 @@ -@namespace "X"; +@st-namespace "X"; -/* st-namespace-reference="x" */ \ No newline at end of file +/* st-namespace-reference="x" */ diff --git a/packages/esbuild/test/e2e/duplicate-namespace/b.st.css b/packages/esbuild/test/e2e/duplicate-namespace/b.st.css index 3acc0c697..e66882a45 100644 --- a/packages/esbuild/test/e2e/duplicate-namespace/b.st.css +++ b/packages/esbuild/test/e2e/duplicate-namespace/b.st.css @@ -1,3 +1,3 @@ -@namespace "X"; +@st-namespace "X"; -/* st-namespace-reference="x" */ \ No newline at end of file +/* st-namespace-reference="x" */ diff --git a/packages/webpack-plugin/test/e2e/projects/4th-party-project/node_modules/test-components-deep/button.st.css b/packages/webpack-plugin/test/e2e/projects/4th-party-project/node_modules/test-components-deep/button.st.css index cdf6db283..683396a15 100644 --- a/packages/webpack-plugin/test/e2e/projects/4th-party-project/node_modules/test-components-deep/button.st.css +++ b/packages/webpack-plugin/test/e2e/projects/4th-party-project/node_modules/test-components-deep/button.st.css @@ -1,8 +1,9 @@ -@namespace "topBtn"; +@st-namespace "topBtn"; .root { background: red; } + .text { color: aliceblue; -} \ No newline at end of file +} diff --git a/packages/webpack-plugin/test/e2e/projects/4th-party-project/node_modules/test-components-deep/index.st.css b/packages/webpack-plugin/test/e2e/projects/4th-party-project/node_modules/test-components-deep/index.st.css index 69db58ba4..f083fe3a4 100644 --- a/packages/webpack-plugin/test/e2e/projects/4th-party-project/node_modules/test-components-deep/index.st.css +++ b/packages/webpack-plugin/test/e2e/projects/4th-party-project/node_modules/test-components-deep/index.st.css @@ -1,8 +1,8 @@ -@namespace "topIndex"; +@st-namespace "topIndex"; :import { -st-from: "./button.st.css"; -st-default: Button; } -Button {} \ No newline at end of file +Button {} diff --git a/packages/webpack-plugin/test/e2e/projects/4th-party-project/node_modules/test-components/index.st.css b/packages/webpack-plugin/test/e2e/projects/4th-party-project/node_modules/test-components/index.st.css index c4b838973..3800a2c6c 100644 --- a/packages/webpack-plugin/test/e2e/projects/4th-party-project/node_modules/test-components/index.st.css +++ b/packages/webpack-plugin/test/e2e/projects/4th-party-project/node_modules/test-components/index.st.css @@ -1,4 +1,5 @@ -@namespace "compsIndex"; +@st-namespace "compsIndex"; + :import { -st-from: "test-components-deep/button.st.css"; -st-default: Button; @@ -8,4 +9,4 @@ Button {} .root { -st-mixin: Button; -} \ No newline at end of file +} diff --git a/packages/webpack-plugin/test/e2e/projects/4th-party-project/node_modules/test-components/node_modules/test-components-deep/button.st.css b/packages/webpack-plugin/test/e2e/projects/4th-party-project/node_modules/test-components/node_modules/test-components-deep/button.st.css index 8f6f03e31..26aed7c25 100644 --- a/packages/webpack-plugin/test/e2e/projects/4th-party-project/node_modules/test-components/node_modules/test-components-deep/button.st.css +++ b/packages/webpack-plugin/test/e2e/projects/4th-party-project/node_modules/test-components/node_modules/test-components-deep/button.st.css @@ -1,8 +1,9 @@ -@namespace "deepBtn"; +@st-namespace "deepBtn"; .root { background: green; } + .text { color: blue; -} \ No newline at end of file +} diff --git a/packages/webpack-plugin/test/e2e/projects/4th-party-project/node_modules/test-components/node_modules/test-components-deep/index.st.css b/packages/webpack-plugin/test/e2e/projects/4th-party-project/node_modules/test-components/node_modules/test-components-deep/index.st.css index 0fd5038a4..8c689a5e1 100644 --- a/packages/webpack-plugin/test/e2e/projects/4th-party-project/node_modules/test-components/node_modules/test-components-deep/index.st.css +++ b/packages/webpack-plugin/test/e2e/projects/4th-party-project/node_modules/test-components/node_modules/test-components-deep/index.st.css @@ -1,8 +1,8 @@ -@namespace "deepIndex"; +@st-namespace "deepIndex"; :import { -st-from: "./button.st.css"; -st-default: Button; } -Button {} \ No newline at end of file +Button {} diff --git a/packages/webpack-plugin/test/e2e/projects/browser-field/node_modules/test-components/cjs/button.st.css b/packages/webpack-plugin/test/e2e/projects/browser-field/node_modules/test-components/cjs/button.st.css index d518f58ec..b7cc949e0 100644 --- a/packages/webpack-plugin/test/e2e/projects/browser-field/node_modules/test-components/cjs/button.st.css +++ b/packages/webpack-plugin/test/e2e/projects/browser-field/node_modules/test-components/cjs/button.st.css @@ -1,4 +1,4 @@ -@namespace "cjs"; +@st-namespace "cjs"; .root { background: red; diff --git a/packages/webpack-plugin/test/e2e/projects/browser-field/node_modules/test-components/esm/button.st.css b/packages/webpack-plugin/test/e2e/projects/browser-field/node_modules/test-components/esm/button.st.css index 2d2949da6..6cbee8c0d 100644 --- a/packages/webpack-plugin/test/e2e/projects/browser-field/node_modules/test-components/esm/button.st.css +++ b/packages/webpack-plugin/test/e2e/projects/browser-field/node_modules/test-components/esm/button.st.css @@ -1,4 +1,4 @@ -@namespace "esm"; +@st-namespace "esm"; .root { background: green; diff --git a/packages/webpack-plugin/test/e2e/projects/simplest-project-target-node/node_modules/comp-lib/index.cjs.st.css b/packages/webpack-plugin/test/e2e/projects/simplest-project-target-node/node_modules/comp-lib/index.cjs.st.css index 79625d7c6..6a9ed7054 100644 --- a/packages/webpack-plugin/test/e2e/projects/simplest-project-target-node/node_modules/comp-lib/index.cjs.st.css +++ b/packages/webpack-plugin/test/e2e/projects/simplest-project-target-node/node_modules/comp-lib/index.cjs.st.css @@ -1,4 +1,4 @@ -@namespace "Index"; +@st-namespace "Index"; :vars { kind: cjs; diff --git a/packages/webpack-plugin/test/e2e/projects/simplest-project-target-node/node_modules/comp-lib/index.es.st.css b/packages/webpack-plugin/test/e2e/projects/simplest-project-target-node/node_modules/comp-lib/index.es.st.css index 1bb5feae0..f21af64d9 100644 --- a/packages/webpack-plugin/test/e2e/projects/simplest-project-target-node/node_modules/comp-lib/index.es.st.css +++ b/packages/webpack-plugin/test/e2e/projects/simplest-project-target-node/node_modules/comp-lib/index.es.st.css @@ -1,4 +1,4 @@ -@namespace "Index"; +@st-namespace "Index"; :vars { kind: esm; From f7289bfbd158c18b48326b6612877abb96f54fea Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Tue, 12 Sep 2023 11:55:50 +0300 Subject: [PATCH 61/81] fix(esbuild): minify bug (#2899) * fix css stylesheet sort with minify config --- packages/esbuild/src/plugin-utils.ts | 28 ++++++++++--- .../esbuild/src/stylable-esbuild-plugin.ts | 14 ++++++- packages/esbuild/test/e2e/esbuild-testkit.ts | 3 ++ .../esbuild/test/e2e/simple-case/a.st.css | 3 +- .../esbuild/test/e2e/simple-case/b.st.css | 3 +- .../internal-dir/internal-dir.st.css | 2 + .../esbuild/test/e2e/simple-case/reset.css | 4 +- .../test/e2e/simple-case/side-effects.st.css | 3 +- .../test/e2e/simple-case/simple-case.spec.ts | 42 +++++++++++++++---- 9 files changed, 84 insertions(+), 18 deletions(-) diff --git a/packages/esbuild/src/plugin-utils.ts b/packages/esbuild/src/plugin-utils.ts index a7a44aee8..491b2c77d 100644 --- a/packages/esbuild/src/plugin-utils.ts +++ b/packages/esbuild/src/plugin-utils.ts @@ -193,8 +193,8 @@ export function createDecacheRequire(build: PluginBuild) { return require(id); }; } -export function wrapWithDepthMarkers(css: string, depth: number | string) { - return `[stylable-depth]{--depth:${depth}}${css}[stylable-depth]{--end:${depth}}`; +export function wrapWithDepthMarkers(css: string, depth: number | string, pathId: number) { + return `[stylable-start]{--depth:${depth}; --path: ${pathId};}${css}[stylable-end]{--path:${pathId}}`; } export interface OptimizationMapping { usageMapping?: Record; @@ -210,17 +210,18 @@ export interface OptimizationMapping { export function sortMarkersByDepth( css: string, stylable: Stylable, + idForMap: IdForPath, { usageMapping, globalMappings }: OptimizationMapping ) { const extracted: { depth: number; css: string; path: string }[] = []; const leftOverCss = css.replace( - /(\/\* stylable-?\w*?-css:[\s\S]*?\*\/[\s\S]*?)?\[stylable-depth\][\s\S]*?\{[\s\S]*?--depth:[\s\S]*?(\d+)[\s\S]*?\}([\s\S]*?)\[stylable-depth\][\s\S]*?\{[\s\S]*?--end:[\s\S]*?\d+[\s\S]*?\}/g, + /(\/\* stylable-?\w*?-css:[\s\S]*?\*\/[\s\S]*?)?\[stylable-start\][\s\S]*?\{[\s\S]*?--depth:[\s\S]*?(\d+)[\s]*;[\s\S]*?--path:[\s\S]*?(\d+)[\s\S]*?;?\}([\s\S]*?)\[stylable-end\][\s\S]*?\{[\s\S]*?--path:[\s\S]*?\d+[\s\S]*?\}/g, (...args) => { - const { 1: esbuildComment, 2: depth, 3: css } = args; + const { 1: esbuildComment, 2: depth, 3: pathId, 4: css } = args; extracted.push({ depth: parseInt(depth, 10), css: (esbuildComment || '') + css, - path: esbuildComment.match(/\/\* stylable-?\w*?-css:([\s\S]*?)\s*\*\//)?.[1] || '', + path: idForMap.getPath(parseInt(pathId, 10)) || '', }); return ''; } @@ -244,6 +245,23 @@ export function sortMarkersByDepth( .join('') ); } + +export class IdForPath { + private idToPath = new Map(); + private pathToId = new Map(); + getId(path: string) { + if (!this.pathToId.has(path)) { + const id = this.pathToId.size; + this.pathToId.set(path, id); + this.idToPath.set(id, path); + } + return this.pathToId.get(path)!; + } + getPath(id: number) { + return this.idToPath.get(id); + } +} + const stubExports = { classes: {}, containers: {}, diff --git a/packages/esbuild/src/stylable-esbuild-plugin.ts b/packages/esbuild/src/stylable-esbuild-plugin.ts index 303731f79..f50378674 100644 --- a/packages/esbuild/src/stylable-esbuild-plugin.ts +++ b/packages/esbuild/src/stylable-esbuild-plugin.ts @@ -30,6 +30,7 @@ import { OptimizationMapping, buildUsageMapping, sortMarkersByDepth, + IdForPath, } from './plugin-utils'; export interface ESBuildOptions { @@ -129,6 +130,8 @@ export const stylablePlugin = (initialPluginOptions: ESBuildOptions = {}): Plugi let onLoadCalled = false; const stylable = new Stylable(stConfig); + const idForPath = new IdForPath(); + /** * make all unused imports resolve to a special empty js module */ @@ -278,10 +281,15 @@ export const stylablePlugin = (initialPluginOptions: ESBuildOptions = {}): Plugi onLoadCalled = true; const res = stylable.transform(args.path); const { cssDepth, deepDependencies } = res.meta.transformCssDepth!; + const pathId = idForPath.getId(args.path); return addToCache(key, { watchFiles: [args.path, ...deepDependencies], resolveDir: dirname(args.path), - contents: wrapWithDepthMarkers(res.meta.targetAst!.toString(), cssDepth), + contents: wrapWithDepthMarkers( + res.meta.targetAst!.toString(), + cssDepth, + pathId + ), loader: 'css', }); }) @@ -295,9 +303,10 @@ export const stylablePlugin = (initialPluginOptions: ESBuildOptions = {}): Plugi wrapDebug('onLoad css output', (args) => { const { meta } = args.pluginData.stylableResults as StylableResults; const { cssDepth = 0 } = meta.transformCssDepth!; + const pathId = idForPath.getId(args.path); return { resolveDir: dirname(args.path), - contents: wrapWithDepthMarkers(meta.targetAst!.toString(), cssDepth), + contents: wrapWithDepthMarkers(meta.targetAst!.toString(), cssDepth, pathId), loader: 'css', }; }) @@ -361,6 +370,7 @@ export const stylablePlugin = (initialPluginOptions: ESBuildOptions = {}): Plugi sortMarkersByDepth( readFileSync(distFilePath, 'utf8'), stylable, + idForPath, optimize.removeUnusedComponents ? mapping : {} ) ); diff --git a/packages/esbuild/test/e2e/esbuild-testkit.ts b/packages/esbuild/test/e2e/esbuild-testkit.ts index ee34a4af4..bd1b2fc7a 100644 --- a/packages/esbuild/test/e2e/esbuild-testkit.ts +++ b/packages/esbuild/test/e2e/esbuild-testkit.ts @@ -20,10 +20,12 @@ export class ESBuildTestKit { project, buildExport, tmp = true, + overrideOptions = {}, }: { project: string; buildExport?: string; tmp?: boolean; + overrideOptions?: BuildOptions; }) { let openServerUrl: string | undefined; let buildFile = require.resolve(`@stylable/esbuild/test/e2e/${project}/build.js`); @@ -62,6 +64,7 @@ export class ESBuildTestKit { format: 'esm', target: ['es2020'], bundle: true, + ...overrideOptions, })); this.disposables.push(() => buildContext.dispose()); diff --git a/packages/esbuild/test/e2e/simple-case/a.st.css b/packages/esbuild/test/e2e/simple-case/a.st.css index 2e4338278..84803ddea 100644 --- a/packages/esbuild/test/e2e/simple-case/a.st.css +++ b/packages/esbuild/test/e2e/simple-case/a.st.css @@ -1,6 +1,7 @@ +@test-marker a.st.css|a; @st-import Imported from './imported-only-from-css.st.css'; .root { -st-extends: Imported; color: red; -} \ No newline at end of file +} diff --git a/packages/esbuild/test/e2e/simple-case/b.st.css b/packages/esbuild/test/e2e/simple-case/b.st.css index d910f3843..e4d8a609e 100644 --- a/packages/esbuild/test/e2e/simple-case/b.st.css +++ b/packages/esbuild/test/e2e/simple-case/b.st.css @@ -1,3 +1,4 @@ +@test-marker b.st.css|b; @st-import Deep from "./deep.st.css"; @st-import "./side-effects.st.css"; @st-import themeColor from "./theme-color.js"; @@ -11,4 +12,4 @@ .root Deep { --unused-deep: override-active; -} \ No newline at end of file +} diff --git a/packages/esbuild/test/e2e/simple-case/internal-dir/internal-dir.st.css b/packages/esbuild/test/e2e/simple-case/internal-dir/internal-dir.st.css index 38117532d..b3e7bdd0d 100644 --- a/packages/esbuild/test/e2e/simple-case/internal-dir/internal-dir.st.css +++ b/packages/esbuild/test/e2e/simple-case/internal-dir/internal-dir.st.css @@ -1,3 +1,5 @@ +@test-marker internal-dir.st.css|internaldir; + .root { background: url('./internal-dir.png'); } diff --git a/packages/esbuild/test/e2e/simple-case/reset.css b/packages/esbuild/test/e2e/simple-case/reset.css index 59fd9cceb..3e212e2be 100644 --- a/packages/esbuild/test/e2e/simple-case/reset.css +++ b/packages/esbuild/test/e2e/simple-case/reset.css @@ -1,5 +1,7 @@ +@test-marker reset.css|reset; + body { --reset: true; margin: 0; padding: 0; -} \ No newline at end of file +} diff --git a/packages/esbuild/test/e2e/simple-case/side-effects.st.css b/packages/esbuild/test/e2e/simple-case/side-effects.st.css index 3a20c202a..bd20988bf 100644 --- a/packages/esbuild/test/e2e/simple-case/side-effects.st.css +++ b/packages/esbuild/test/e2e/simple-case/side-effects.st.css @@ -1,7 +1,8 @@ +@test-marker side-effects.st.css|sideeffects; @property st-global(--side-effects); :global(body) { font-size: 100px; --side-effects: true; background: url(./asset.png); -} \ No newline at end of file +} diff --git a/packages/esbuild/test/e2e/simple-case/simple-case.spec.ts b/packages/esbuild/test/e2e/simple-case/simple-case.spec.ts index 118d50ab9..00498cefc 100644 --- a/packages/esbuild/test/e2e/simple-case/simple-case.spec.ts +++ b/packages/esbuild/test/e2e/simple-case/simple-case.spec.ts @@ -9,19 +9,29 @@ import { sep } from 'node:path'; */ const stylesInOrder = [ { - st_id: 'reset.css|reset', + path: 'reset.css', + fileName: 'reset.css', + namespace: 'reset', }, { - st_id: 'side-effects.st.css|sideeffects', + path: 'side-effects.st.css', + fileName: 'side-effects.st.css', + namespace: 'sideeffects', }, { - st_id: `internal-dir${sep}internal-dir.st.css|internaldir`, + path: `internal-dir${sep}internal-dir.st.css`, + fileName: 'internal-dir.st.css', + namespace: 'internaldir', }, { - st_id: 'a.st.css|a', + path: 'a.st.css', + fileName: 'a.st.css', + namespace: 'a', }, { - st_id: 'b.st.css|b', + path: 'b.st.css', + fileName: 'b.st.css', + namespace: 'b', }, ]; @@ -38,7 +48,7 @@ describe('Stylable ESBuild plugin', () => { const { open } = await tk.build({ project: 'simple-case', buildExport: 'cssInJsDev' }); await contract( await open({}, 'index.html', true), - stylesInOrder, + stylesInOrder.map(({ path, namespace }) => ({ st_id: `${path}|${namespace}` })), `"class extending component '.root => .b__root' in stylesheet 'b.st.css' was set on a node that does not extend '.root => .deep__root' from stylesheet 'deep.st.css'"`, 'override-active' ); @@ -53,11 +63,29 @@ describe('Stylable ESBuild plugin', () => { const css = read('dist-bundle/index.css'); const matchOrder = new RegExp( - stylesInOrder.map(({ st_id }) => escapeRegExp(st_id.split('|')[0])).join('[\\s\\S]*?') + stylesInOrder.map(({ fileName }) => escapeRegExp(fileName)).join('[\\s\\S]*?') ); expect(css).to.match(matchOrder); }); + + it('should build a project with a bundle (minify)', async () => { + const { open, read } = await tk.build({ + project: 'simple-case', + buildExport: 'cssBundleProd', + overrideOptions: { + minify: true, + }, + }); + await contract(await open({}, 'index.bundle.html', true), [], 'none', 'override-removed'); + + const css = read('dist-bundle/index.css'); + + const matchOrder = new RegExp( + stylesInOrder.map(({ fileName }) => escapeRegExp(fileName)).join('[\\s\\S]*?') + ); + expect(css).to.match(matchOrder); + }); }); function escapeRegExp(string: string) { From dbc92997269bfcba85061ff9127f43bee6fb69eb Mon Sep 17 00:00:00 2001 From: Avi Vahl Date: Wed, 13 Sep 2023 11:16:06 +0300 Subject: [PATCH 62/81] ci: use actions/checkout@v4 (#2900) https://github.com/actions/checkout/releases/tag/v4.0.0 --- .github/workflows/next.yml | 2 +- .github/workflows/npm.yml | 2 +- .github/workflows/publish-tag.yml | 2 +- .github/workflows/release3.yml | 2 +- .github/workflows/tests.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/next.yml b/.github/workflows/next.yml index 0f0b0308b..b267c02da 100644 --- a/.github/workflows/next.yml +++ b/.github/workflows/next.yml @@ -6,7 +6,7 @@ jobs: npm: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js 16 uses: actions/setup-node@v3 with: diff --git a/.github/workflows/npm.yml b/.github/workflows/npm.yml index 38d2e1085..0eb688738 100644 --- a/.github/workflows/npm.yml +++ b/.github/workflows/npm.yml @@ -6,7 +6,7 @@ jobs: npm: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js 16 uses: actions/setup-node@v3 with: diff --git a/.github/workflows/publish-tag.yml b/.github/workflows/publish-tag.yml index eb2265147..69a8f5059 100644 --- a/.github/workflows/publish-tag.yml +++ b/.github/workflows/publish-tag.yml @@ -9,7 +9,7 @@ jobs: npm: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js 16 uses: actions/setup-node@v3 with: diff --git a/.github/workflows/release3.yml b/.github/workflows/release3.yml index 0e5ed3ec4..9f7822552 100644 --- a/.github/workflows/release3.yml +++ b/.github/workflows/release3.yml @@ -6,7 +6,7 @@ jobs: npm: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js 14 uses: actions/setup-node@v3 with: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c58c28833..a56092330 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,7 +11,7 @@ jobs: node-version: [18, 16, 14] os: [ubuntu-latest, windows-latest, macOS-latest] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 with: From ee3e3aea96b3909a8c7c3c920036b6d452553181 Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Wed, 13 Sep 2023 17:21:26 +0300 Subject: [PATCH 63/81] chore(deps): upgrade to latest stable --- package-lock.json | 436 +++++++++++++---------- package.json | 8 +- packages/cli/package.json | 4 +- packages/code-formatter/package.json | 2 +- packages/core-test-kit/package.json | 2 +- packages/core/package.json | 4 +- packages/dom-test-kit/package.json | 2 +- packages/language-service/package.json | 8 +- packages/optimizer/package.json | 2 +- packages/schema-extract/package.json | 2 +- packages/webpack-extensions/package.json | 2 +- 11 files changed, 262 insertions(+), 210 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9ddd069f7..262fb4ff5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,8 +10,8 @@ "packages/*" ], "devDependencies": { - "@file-services/memory": "^8.1.3", - "@file-services/node": "^8.1.3", + "@file-services/memory": "^8.2.0", + "@file-services/node": "^8.2.0", "@rollup/plugin-html": "^1.0.2", "@rollup/plugin-node-resolve": "^15.2.1", "@types/balanced-match": "^1.0.3", @@ -46,7 +46,7 @@ "chai": "^4.3.8", "chai-subset": "^1.6.0", "create-listening-server": "^2.1.0", - "eslint": "^8.48.0", + "eslint": "^8.49.0", "eslint-config-prettier": "^9.0.0", "file-loader": "^6.2.0", "html-webpack-plugin": "^5.5.3", @@ -61,7 +61,7 @@ "react": "^18.2.0", "react-dom": "^18.2.0", "rimraf": "^5.0.1", - "rollup": "^3.29.0", + "rollup": "^3.29.1", "source-map": "^0.7.4", "source-map-loader": "^4.0.1", "style-loader": "^3.3.3", @@ -457,9 +457,9 @@ } }, "node_modules/@eslint-community/regexpp": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.8.0.tgz", - "integrity": "sha512-JylOEEzDiOryeUnFbQz+oViCXS0KsvR1mvHkoMiu5+UiBvy+RYX7tzlIIIEstF/gVa2tj9AQXk3dgnxv6KxhFg==", + "version": "4.8.1", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.8.1.tgz", + "integrity": "sha512-PWiOzLIUAjN/w5K17PoF4n6sKBw0gqLHPhywmYHP4t1VFQQVYeb1yWsJwnMVEMl3tUHME7X/SJPZLmtG7XBDxQ==", "engines": { "node": "^12.0.0 || ^14.0.0 || >=16.0.0" } @@ -487,65 +487,65 @@ } }, "node_modules/@eslint/js": { - "version": "8.48.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.48.0.tgz", - "integrity": "sha512-ZSjtmelB7IJfWD2Fvb7+Z+ChTIKWq6kjda95fLcQKNS5aheVHn4IkfgRQE3sIIzTcSLwLcLZUD9UBt+V7+h+Pw==", + "version": "8.49.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.49.0.tgz", + "integrity": "sha512-1S8uAY/MTJqVx0SC4epBq+N2yhuwtNwLbJYNZyhL2pO1ZVKn5HFXav5T41Ryzy9K9V7ZId2JB2oy/W4aCd9/2w==", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } }, "node_modules/@file-services/memory": { - "version": "8.1.3", - "resolved": "https://registry.npmjs.org/@file-services/memory/-/memory-8.1.3.tgz", - "integrity": "sha512-twzCl1D9uxo+BP7J9Al4AylaheXrDJLzkpxX1jT57wEGinvUFX7+3TL0L88+FB1p/+W7rU6J0JxWIjCBPhAUBQ==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@file-services/memory/-/memory-8.2.0.tgz", + "integrity": "sha512-83BNy2WOn7hPK6tIF6MjvAz0Jk35RA1mB4GrhQiqaUsdzhRBDk4ksC8wzeEZ186a8tV4FSF0pRSGATU6KgzfoQ==", "dependencies": { - "@file-services/path": "^8.1.3", - "@file-services/types": "^8.1.3", - "@file-services/utils": "^8.1.3" + "@file-services/path": "^8.2.0", + "@file-services/types": "^8.2.0", + "@file-services/utils": "^8.2.0" } }, "node_modules/@file-services/node": { - "version": "8.1.3", - "resolved": "https://registry.npmjs.org/@file-services/node/-/node-8.1.3.tgz", - "integrity": "sha512-khM0t0R5cV84nS0Qcc7n9T/fOkyGl9x83tgoVapdy75hTEUgYQW9VydCVHMZipORdVC1B4w06DOYO5PdnLtp2g==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@file-services/node/-/node-8.2.0.tgz", + "integrity": "sha512-6AR7V6zQNYUvfhe6ibQTGg/Z39SEIl0Z0LEJfEYz8s9BQqcYLoY+oVi0P5deH27J53pZv0izeIpavf+qn0lL4Q==", "dependencies": { - "@file-services/types": "^8.1.3", - "@file-services/utils": "^8.1.3" + "@file-services/types": "^8.2.0", + "@file-services/utils": "^8.2.0" }, "engines": { "node": ">=14" } }, "node_modules/@file-services/path": { - "version": "8.1.3", - "resolved": "https://registry.npmjs.org/@file-services/path/-/path-8.1.3.tgz", - "integrity": "sha512-qIOF4NtcVUziBqTkBRqgyqCfBdg9TqnOq4z0n9zdS9Necb9kSRxFSMpz5JCUvLOHx9ukLmpvoO//3FujTDpIog==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@file-services/path/-/path-8.2.0.tgz", + "integrity": "sha512-D2qBt4jXSHjLOmxYJCtdTMVg5GJlQcQwOvPqLT7vJCpHOzm7pWECPP+6n/rJsr0aMbgNemIcS/uUbBAw39pyYw==", "dependencies": { - "@file-services/types": "^8.1.3" + "@file-services/types": "^8.2.0" } }, "node_modules/@file-services/types": { - "version": "8.1.3", - "resolved": "https://registry.npmjs.org/@file-services/types/-/types-8.1.3.tgz", - "integrity": "sha512-KjXzGPw72/DCKuTdfsRqj1/ePyoFY0oqUnkl/Dyr+PTBz4MB3sy0aU6GzL9UF+ogwLZMwU+UnCN0CYSiKq7fLQ==" + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@file-services/types/-/types-8.2.0.tgz", + "integrity": "sha512-ckjiFoX6PoaYOemqaUTEcNBl13NTJjvADbxiVneHScSpSK3RNqBNMwT+gZ8f++E+nITK5spJysPdxN2krouAZA==" }, "node_modules/@file-services/typescript": { - "version": "8.1.3", - "resolved": "https://registry.npmjs.org/@file-services/typescript/-/typescript-8.1.3.tgz", - "integrity": "sha512-LJq5JS100jG33x5x6tKFwBZR9bUvYGvHhkaIylui/xxwSu/b0wTRhNM+GuzBN3wkKbewqZdR1fxMTjx0eceKgw==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@file-services/typescript/-/typescript-8.2.0.tgz", + "integrity": "sha512-9h5+IEiaQufrASYAoO7cJQAf2/Ug4qFQIRdLZxZEplRp37h93Hq88jO1v1pkrLIPipbcQWUB7xDkJrgZCOCEAQ==", "dependencies": { - "@file-services/types": "^8.1.3" + "@file-services/types": "^8.2.0" }, "peerDependencies": { "typescript": ">=2.8.0" } }, "node_modules/@file-services/utils": { - "version": "8.1.3", - "resolved": "https://registry.npmjs.org/@file-services/utils/-/utils-8.1.3.tgz", - "integrity": "sha512-gIOKWBJrGeFU1oOELrPSo9cEPxUfw5ZhBI0E9OxJPKWkJfePqhlsK5zPdT3JHOg9azuSs3sR7n5hnv9oWvsDLQ==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@file-services/utils/-/utils-8.2.0.tgz", + "integrity": "sha512-wn/K0Rp3rTFQIST2Rh8qa3O1pDeLfIOY31anV7mQf3QnNzDmln7OlhRJsrQMJHV5yRzfC2lTfDc4WoDpi7OeYQ==", "dependencies": { - "@file-services/types": "^8.1.3" + "@file-services/types": "^8.2.0" } }, "node_modules/@humanwhocodes/config-array": { @@ -928,19 +928,19 @@ "integrity": "sha512-U+xr5ue/iKQJsOP+rWNS0U6M9kUQn9L7bgsa7jnYQwSlHjyeZO4e4ngRmbcf/bfB0IpxWGAlhdpwgwI7vTFftg==" }, "node_modules/@tokey/css-selector-parser": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/@tokey/css-selector-parser/-/css-selector-parser-0.6.1.tgz", - "integrity": "sha512-nyAtoXUvlNqzdArJQLJ1B0zPH4bqCtmKzF4PNtrMNFn6SljPyKn2cWS/A2sHjJuR197opBgA5NjmnZslsRqdmw==", + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/@tokey/css-selector-parser/-/css-selector-parser-0.6.2.tgz", + "integrity": "sha512-4nD20RbiLitUP7MmDCJ5+PMKe4bSaNs7glEGKK7I9gmd2iYETbjh7OS8PWZ5vBXfr9LzaI++ssQFlxwPdh3MXQ==", "dependencies": { - "@tokey/core": "^1.3.0" + "@tokey/core": "^1.4.0" } }, "node_modules/@tokey/css-value-parser": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/@tokey/css-value-parser/-/css-value-parser-0.1.3.tgz", - "integrity": "sha512-tHdXSq6Frp/zYW5hXD2HMXKb5UFV96XTOstPXjn1AriB/KbBrbBrc95CXtm/7iHtclgBGG8DebwM1d9f1BVKGA==", + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/@tokey/css-value-parser/-/css-value-parser-0.1.4.tgz", + "integrity": "sha512-zHkHmNGnzVI31D3rkpXAh9KioMJd8Fwpe0Y6rwh87kTjUPzhpYSzy6ZziAQv2Ol1GqExrLj5ips9zlrCxeeJWw==", "dependencies": { - "@tokey/core": "^1.3.0" + "@tokey/core": "^1.4.0" } }, "node_modules/@tokey/imports-parser": { @@ -1130,9 +1130,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "14.18.58", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.58.tgz", - "integrity": "sha512-Y8ETZc8afYf6lQ/mVp096phIVsgD/GmDxtm3YaPcc+71jmi/J6zdwbwaUU4JvS56mq6aSfbpkcKhQ5WugrWFPw==" + "version": "14.18.59", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.59.tgz", + "integrity": "sha512-NWJMpBL2Xs3MY93yrD6YrrTKep8eIA6iMnfG4oIc6LrTRlBZgiSCGiY3V/Owlp6umIBLyKb4F8Q7hxWatjYH5A==" }, "node_modules/@types/postcss-safe-parser": { "version": "5.0.1", @@ -2041,9 +2041,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001527", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001527.tgz", - "integrity": "sha512-YkJi7RwPgWtXVSgK4lG9AHH57nSzvvOp9MesgXmw4Q7n0C3H04L0foHqfxcmSAm5AcWb8dW9AYj2tR7/5GnddQ==", + "version": "1.0.30001534", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001534.tgz", + "integrity": "sha512-vlPVrhsCS7XaSh2VvWluIQEzVhefrUQcEsQWSS5A5V+dM07uv1qHeQzAOTGIMy9i3e9bH15+muvI/UHojVgS/Q==", "funding": [ { "type": "opencollective", @@ -2425,12 +2425,27 @@ "node": ">=0.10.0" } }, + "node_modules/define-data-property": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.0.tgz", + "integrity": "sha512-UzGwzcjyv3OtAvolTj1GoyNYzfFR+iqbGjcnBEENZVCpM4/Ng1yhGNvS3lR/xDS74Tb2wGG9WzNSNIOS9UVb2g==", + "dev": true, + "dependencies": { + "get-intrinsic": "^1.2.1", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/define-properties": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.0.tgz", - "integrity": "sha512-xvqAVKGfT1+UAvPwKTVw/njhdQ8ZhXK4lI0bCIuCMrp2up9nPnaDftrLtmpTazqd1o+UY4zgzU+avtMbDP+ldA==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz", + "integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==", "dev": true, "dependencies": { + "define-data-property": "^1.0.1", "has-property-descriptors": "^1.0.0", "object-keys": "^1.1.1" }, @@ -2607,9 +2622,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.508", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.508.tgz", - "integrity": "sha512-FFa8QKjQK/A5QuFr2167myhMesGrhlOBD+3cYNxO9/S4XzHEXesyTD/1/xF644gC8buFPz3ca6G1LOQD0tZrrg==" + "version": "1.4.519", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.519.tgz", + "integrity": "sha512-kqs9oGYL4UFVkLKhqCTgBCYZv+wZ374yABDMqlDda9HvlkQxvSr7kgf4hfWVjMieDbX+1MwPHFBsOGCMIBaFKg==" }, "node_modules/emoji-regex": { "version": "8.0.0", @@ -2709,9 +2724,9 @@ } }, "node_modules/es-module-lexer": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.3.0.tgz", - "integrity": "sha512-vZK7T0N2CBmBOixhmjdqx2gWVbFZ4DXZ/NyRMZVlJXPa7CyFS+/a4QQsDGDQy9ZfEzxFuNEsMLeQJnKP2p5/JA==" + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.3.1.tgz", + "integrity": "sha512-JUFAyicQV9mXc3YRxPnDlrfBKpqt6hUYzz9/boprUJHs4e4KVr3XwOF70doO6gwXUor6EWZJAyWAfKki84t20Q==" }, "node_modules/es-set-tostringtag": { "version": "2.0.1", @@ -2801,15 +2816,15 @@ } }, "node_modules/eslint": { - "version": "8.48.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.48.0.tgz", - "integrity": "sha512-sb6DLeIuRXxeM1YljSe1KEx9/YYeZFQWcV8Rq9HfigmdDEugjLEVEa1ozDjL6YDjBpQHPJxJzze+alxi4T3OLg==", + "version": "8.49.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.49.0.tgz", + "integrity": "sha512-jw03ENfm6VJI0jA9U+8H5zfl5b+FvuU3YYvZRdZHOlU2ggJkxrlkJH4HcDrZpj6YwD8kuYqvQM8LyesoazrSOQ==", "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", "@eslint/eslintrc": "^2.1.2", - "@eslint/js": "8.48.0", - "@humanwhocodes/config-array": "^0.11.10", + "@eslint/js": "8.49.0", + "@humanwhocodes/config-array": "^0.11.11", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", "ajv": "^6.12.4", @@ -4019,9 +4034,9 @@ } }, "node_modules/jest-docblock": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-29.6.3.tgz", - "integrity": "sha512-2+H+GOTQBEm2+qFSQ7Ma+BvyV+waiIFxmZF5LdpBsAEjWX8QYjSCa4FrkIYtbfXUJJJnFCYrOtt6TZ+IAiTjBQ==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-29.7.0.tgz", + "integrity": "sha512-q617Auw3A612guyaFgsbFeYpNP5t2aoUNLwBUbc/0kD1R4t9ixDbyFTHd1nok4epoVFpr7PmeWHrhvuV3XaJ4g==", "dependencies": { "detect-newline": "^3.0.0" }, @@ -5502,14 +5517,14 @@ } }, "node_modules/regexp.prototype.flags": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.0.tgz", - "integrity": "sha512-0SutC3pNudRKgquxGoRGIz946MZVHqbNfPjBdxeOhBrdgDKlRoXmYLQN9xRbrR09ZXWeGAdPuif7egofn6v5LA==", + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.1.tgz", + "integrity": "sha512-sy6TXMN+hnP/wMy+ISxg3krXx7BAtWVO4UouuCN/ziM9UEne0euamVNafDfvC83bRNr95y0V5iijeDQFUNpvrg==", "dev": true, "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.2.0", - "functions-have-names": "^1.2.3" + "set-function-name": "^2.0.0" }, "engines": { "node": ">= 0.4" @@ -5678,9 +5693,9 @@ } }, "node_modules/rollup": { - "version": "3.29.0", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.29.0.tgz", - "integrity": "sha512-nszM8DINnx1vSS+TpbWKMkxem0CDWk3cSit/WWCBVs9/JZ1I/XLwOsiUglYuYReaeWWSsW9kge5zE5NZtf/a4w==", + "version": "3.29.1", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.29.1.tgz", + "integrity": "sha512-c+ebvQz0VIH4KhhCpDsI+Bik0eT8ZFEVZEYw0cGMVqIP8zc+gnwl7iXCamTw7vzv2MeuZFZfdx5JJIq+ehzDlg==", "bin": { "rollup": "dist/bin/rollup" }, @@ -5820,6 +5835,20 @@ "randombytes": "^2.1.0" } }, + "node_modules/set-function-name": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.1.tgz", + "integrity": "sha512-tMNCiqYVkXIZgc2Hnoy2IvC/f8ezc5koaRFkCjrpWzGpCd3qbZXPzVy9MAZzK1ch/X0jvSkojys3oqJN0qCmdA==", + "dev": true, + "dependencies": { + "define-data-property": "^1.0.1", + "functions-have-names": "^1.2.3", + "has-property-descriptors": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/shebang-command": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", @@ -6008,14 +6037,14 @@ } }, "node_modules/string.prototype.trim": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.7.tgz", - "integrity": "sha512-p6TmeT1T3411M8Cgg9wBTMRtY2q9+PNy9EV1i2lIXUN/btt763oIfxwN3RR8VU6wHX8j/1CFy0L+YuThm6bgOg==", + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.8.tgz", + "integrity": "sha512-lfjY4HcixfQXOfaqCvcBuOIapyaroTXhbkfJN3gcB1OtyupngWK4sEET9Knd0cXd28kTUqu/kHoV4HKSJdnjiQ==", "dev": true, "dependencies": { "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1" }, "engines": { "node": ">= 0.4" @@ -6025,14 +6054,14 @@ } }, "node_modules/string.prototype.trimend": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.6.tgz", - "integrity": "sha512-JySq+4mrPf9EsDBEDYMOb/lM7XQLulwg5R/m1r0PXEFqrV0qHvl58sdTilSXtKOflCsK2E8jxf+GKC0T07RWwQ==", + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.7.tgz", + "integrity": "sha512-Ni79DqeB72ZFq1uH/L6zJ+DKZTkOtPIHovb3YZHQViE+HDouuU4mBrLOLDn5Dde3RF8qw5qVETEjhu9locMLvA==", "dev": true, "dependencies": { "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -6841,8 +6870,8 @@ "version": "5.15.2", "license": "MIT", "dependencies": { - "@file-services/node": "^8.1.3", - "@file-services/types": "^8.1.3", + "@file-services/node": "^8.2.0", + "@file-services/types": "^8.2.0", "@stylable/build-tools": "^5.15.2", "@stylable/code-formatter": "^5.15.2", "@stylable/core": "^5.15.2", @@ -6881,7 +6910,7 @@ "license": "MIT", "dependencies": { "@stylable/core": "^5.15.2", - "@tokey/css-value-parser": "^0.1.3", + "@tokey/css-value-parser": "^0.1.4", "js-beautify": "^1.14.9", "postcss": "^8.4.29" }, @@ -6894,8 +6923,8 @@ "version": "5.15.2", "license": "MIT", "dependencies": { - "@tokey/css-selector-parser": "^0.6.1", - "@tokey/css-value-parser": "^0.1.3", + "@tokey/css-selector-parser": "^0.6.2", + "@tokey/css-value-parser": "^0.1.4", "@tokey/imports-parser": "^1.0.0", "balanced-match": "^2.0.0", "css-selector-tokenizer": "^0.8.0", @@ -6919,7 +6948,7 @@ "version": "5.15.2", "license": "MIT", "dependencies": { - "@file-services/memory": "^8.1.3", + "@file-services/memory": "^8.2.0", "@stylable/core": "^5.15.2", "chai": "^4.3.8", "flat": "^5.0.2", @@ -6965,7 +6994,7 @@ "dependencies": { "@stylable/core": "^5.15.2", "@stylable/runtime": "^5.15.2", - "@tokey/css-selector-parser": "^0.6.1" + "@tokey/css-selector-parser": "^0.6.2" }, "engines": { "node": ">=14.14.0" @@ -7054,13 +7083,13 @@ "version": "5.15.2", "license": "MIT", "dependencies": { - "@file-services/types": "^8.1.3", - "@file-services/typescript": "^8.1.3", + "@file-services/types": "^8.2.0", + "@file-services/typescript": "^8.2.0", "@stylable/code-formatter": "^5.15.2", "@stylable/core": "^5.15.2", "@tokey/core": "^1.4.0", - "@tokey/css-selector-parser": "^0.6.1", - "@tokey/css-value-parser": "^0.1.3", + "@tokey/css-selector-parser": "^0.6.2", + "@tokey/css-value-parser": "^0.1.4", "css-selector-tokenizer": "^0.8.0", "postcss": "^8.4.29", "postcss-value-parser": "^4.2.0", @@ -7109,7 +7138,7 @@ "license": "MIT", "dependencies": { "@stylable/core": "^5.15.2", - "@tokey/css-selector-parser": "^0.6.1", + "@tokey/css-selector-parser": "^0.6.2", "csso": "^5.0.5", "postcss": "^8.4.29" }, @@ -7162,7 +7191,7 @@ "license": "MIT", "dependencies": { "@stylable/core": "^5.15.2", - "jest-docblock": "^29.6.3" + "jest-docblock": "^29.7.0" }, "engines": { "node": ">=14.14.0" @@ -7184,7 +7213,7 @@ "@stylable/core": "^5.15.2", "@stylable/node": "^5.15.2", "@stylable/webpack-plugin": "^5.15.2", - "@tokey/css-selector-parser": "^0.6.1", + "@tokey/css-selector-parser": "^0.6.2", "find-config": "^1.0.0", "lodash.clonedeep": "^4.5.0" }, @@ -7394,9 +7423,9 @@ } }, "@eslint-community/regexpp": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.8.0.tgz", - "integrity": "sha512-JylOEEzDiOryeUnFbQz+oViCXS0KsvR1mvHkoMiu5+UiBvy+RYX7tzlIIIEstF/gVa2tj9AQXk3dgnxv6KxhFg==" + "version": "4.8.1", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.8.1.tgz", + "integrity": "sha512-PWiOzLIUAjN/w5K17PoF4n6sKBw0gqLHPhywmYHP4t1VFQQVYeb1yWsJwnMVEMl3tUHME7X/SJPZLmtG7XBDxQ==" }, "@eslint/eslintrc": { "version": "2.1.2", @@ -7415,56 +7444,56 @@ } }, "@eslint/js": { - "version": "8.48.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.48.0.tgz", - "integrity": "sha512-ZSjtmelB7IJfWD2Fvb7+Z+ChTIKWq6kjda95fLcQKNS5aheVHn4IkfgRQE3sIIzTcSLwLcLZUD9UBt+V7+h+Pw==" + "version": "8.49.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.49.0.tgz", + "integrity": "sha512-1S8uAY/MTJqVx0SC4epBq+N2yhuwtNwLbJYNZyhL2pO1ZVKn5HFXav5T41Ryzy9K9V7ZId2JB2oy/W4aCd9/2w==" }, "@file-services/memory": { - "version": "8.1.3", - "resolved": "https://registry.npmjs.org/@file-services/memory/-/memory-8.1.3.tgz", - "integrity": "sha512-twzCl1D9uxo+BP7J9Al4AylaheXrDJLzkpxX1jT57wEGinvUFX7+3TL0L88+FB1p/+W7rU6J0JxWIjCBPhAUBQ==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@file-services/memory/-/memory-8.2.0.tgz", + "integrity": "sha512-83BNy2WOn7hPK6tIF6MjvAz0Jk35RA1mB4GrhQiqaUsdzhRBDk4ksC8wzeEZ186a8tV4FSF0pRSGATU6KgzfoQ==", "requires": { - "@file-services/path": "^8.1.3", - "@file-services/types": "^8.1.3", - "@file-services/utils": "^8.1.3" + "@file-services/path": "^8.2.0", + "@file-services/types": "^8.2.0", + "@file-services/utils": "^8.2.0" } }, "@file-services/node": { - "version": "8.1.3", - "resolved": "https://registry.npmjs.org/@file-services/node/-/node-8.1.3.tgz", - "integrity": "sha512-khM0t0R5cV84nS0Qcc7n9T/fOkyGl9x83tgoVapdy75hTEUgYQW9VydCVHMZipORdVC1B4w06DOYO5PdnLtp2g==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@file-services/node/-/node-8.2.0.tgz", + "integrity": "sha512-6AR7V6zQNYUvfhe6ibQTGg/Z39SEIl0Z0LEJfEYz8s9BQqcYLoY+oVi0P5deH27J53pZv0izeIpavf+qn0lL4Q==", "requires": { - "@file-services/types": "^8.1.3", - "@file-services/utils": "^8.1.3" + "@file-services/types": "^8.2.0", + "@file-services/utils": "^8.2.0" } }, "@file-services/path": { - "version": "8.1.3", - "resolved": "https://registry.npmjs.org/@file-services/path/-/path-8.1.3.tgz", - "integrity": "sha512-qIOF4NtcVUziBqTkBRqgyqCfBdg9TqnOq4z0n9zdS9Necb9kSRxFSMpz5JCUvLOHx9ukLmpvoO//3FujTDpIog==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@file-services/path/-/path-8.2.0.tgz", + "integrity": "sha512-D2qBt4jXSHjLOmxYJCtdTMVg5GJlQcQwOvPqLT7vJCpHOzm7pWECPP+6n/rJsr0aMbgNemIcS/uUbBAw39pyYw==", "requires": { - "@file-services/types": "^8.1.3" + "@file-services/types": "^8.2.0" } }, "@file-services/types": { - "version": "8.1.3", - "resolved": "https://registry.npmjs.org/@file-services/types/-/types-8.1.3.tgz", - "integrity": "sha512-KjXzGPw72/DCKuTdfsRqj1/ePyoFY0oqUnkl/Dyr+PTBz4MB3sy0aU6GzL9UF+ogwLZMwU+UnCN0CYSiKq7fLQ==" + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@file-services/types/-/types-8.2.0.tgz", + "integrity": "sha512-ckjiFoX6PoaYOemqaUTEcNBl13NTJjvADbxiVneHScSpSK3RNqBNMwT+gZ8f++E+nITK5spJysPdxN2krouAZA==" }, "@file-services/typescript": { - "version": "8.1.3", - "resolved": "https://registry.npmjs.org/@file-services/typescript/-/typescript-8.1.3.tgz", - "integrity": "sha512-LJq5JS100jG33x5x6tKFwBZR9bUvYGvHhkaIylui/xxwSu/b0wTRhNM+GuzBN3wkKbewqZdR1fxMTjx0eceKgw==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@file-services/typescript/-/typescript-8.2.0.tgz", + "integrity": "sha512-9h5+IEiaQufrASYAoO7cJQAf2/Ug4qFQIRdLZxZEplRp37h93Hq88jO1v1pkrLIPipbcQWUB7xDkJrgZCOCEAQ==", "requires": { - "@file-services/types": "^8.1.3" + "@file-services/types": "^8.2.0" } }, "@file-services/utils": { - "version": "8.1.3", - "resolved": "https://registry.npmjs.org/@file-services/utils/-/utils-8.1.3.tgz", - "integrity": "sha512-gIOKWBJrGeFU1oOELrPSo9cEPxUfw5ZhBI0E9OxJPKWkJfePqhlsK5zPdT3JHOg9azuSs3sR7n5hnv9oWvsDLQ==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@file-services/utils/-/utils-8.2.0.tgz", + "integrity": "sha512-wn/K0Rp3rTFQIST2Rh8qa3O1pDeLfIOY31anV7mQf3QnNzDmln7OlhRJsrQMJHV5yRzfC2lTfDc4WoDpi7OeYQ==", "requires": { - "@file-services/types": "^8.1.3" + "@file-services/types": "^8.2.0" } }, "@humanwhocodes/config-array": { @@ -7670,8 +7699,8 @@ "@stylable/cli": { "version": "file:packages/cli", "requires": { - "@file-services/node": "^8.1.3", - "@file-services/types": "^8.1.3", + "@file-services/node": "^8.2.0", + "@file-services/types": "^8.2.0", "@stylable/build-tools": "^5.15.2", "@stylable/code-formatter": "^5.15.2", "@stylable/core": "^5.15.2", @@ -7695,7 +7724,7 @@ "version": "file:packages/code-formatter", "requires": { "@stylable/core": "^5.15.2", - "@tokey/css-value-parser": "^0.1.3", + "@tokey/css-value-parser": "^0.1.4", "js-beautify": "^1.14.9", "postcss": "^8.4.29" } @@ -7703,8 +7732,8 @@ "@stylable/core": { "version": "file:packages/core", "requires": { - "@tokey/css-selector-parser": "^0.6.1", - "@tokey/css-value-parser": "^0.1.3", + "@tokey/css-selector-parser": "^0.6.2", + "@tokey/css-value-parser": "^0.1.4", "@tokey/imports-parser": "^1.0.0", "balanced-match": "^2.0.0", "css-selector-tokenizer": "^0.8.0", @@ -7728,7 +7757,7 @@ "@stylable/core-test-kit": { "version": "file:packages/core-test-kit", "requires": { - "@file-services/memory": "^8.1.3", + "@file-services/memory": "^8.2.0", "@stylable/core": "^5.15.2", "chai": "^4.3.8", "flat": "^5.0.2", @@ -7746,7 +7775,7 @@ "requires": { "@stylable/core": "^5.15.2", "@stylable/runtime": "^5.15.2", - "@tokey/css-selector-parser": "^0.6.1" + "@tokey/css-selector-parser": "^0.6.2" } }, "@stylable/e2e-test-kit": { @@ -7797,13 +7826,13 @@ "@stylable/language-service": { "version": "file:packages/language-service", "requires": { - "@file-services/types": "^8.1.3", - "@file-services/typescript": "^8.1.3", + "@file-services/types": "^8.2.0", + "@file-services/typescript": "^8.2.0", "@stylable/code-formatter": "^5.15.2", "@stylable/core": "^5.15.2", "@tokey/core": "^1.4.0", - "@tokey/css-selector-parser": "^0.6.1", - "@tokey/css-value-parser": "^0.1.3", + "@tokey/css-selector-parser": "^0.6.2", + "@tokey/css-value-parser": "^0.1.4", "css-selector-tokenizer": "^0.8.0", "postcss": "^8.4.29", "postcss-value-parser": "^4.2.0", @@ -7834,7 +7863,7 @@ "version": "file:packages/optimizer", "requires": { "@stylable/core": "^5.15.2", - "@tokey/css-selector-parser": "^0.6.1", + "@tokey/css-selector-parser": "^0.6.2", "csso": "^5.0.5", "postcss": "^8.4.29" } @@ -7864,7 +7893,7 @@ "version": "file:packages/schema-extract", "requires": { "@stylable/core": "^5.15.2", - "jest-docblock": "^29.6.3" + "jest-docblock": "^29.7.0" } }, "@stylable/uni-driver": { @@ -7876,7 +7905,7 @@ "@stylable/core": "^5.15.2", "@stylable/node": "^5.15.2", "@stylable/webpack-plugin": "^5.15.2", - "@tokey/css-selector-parser": "^0.6.1", + "@tokey/css-selector-parser": "^0.6.2", "find-config": "^1.0.0", "lodash.clonedeep": "^4.5.0" } @@ -7902,19 +7931,19 @@ "integrity": "sha512-U+xr5ue/iKQJsOP+rWNS0U6M9kUQn9L7bgsa7jnYQwSlHjyeZO4e4ngRmbcf/bfB0IpxWGAlhdpwgwI7vTFftg==" }, "@tokey/css-selector-parser": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/@tokey/css-selector-parser/-/css-selector-parser-0.6.1.tgz", - "integrity": "sha512-nyAtoXUvlNqzdArJQLJ1B0zPH4bqCtmKzF4PNtrMNFn6SljPyKn2cWS/A2sHjJuR197opBgA5NjmnZslsRqdmw==", + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/@tokey/css-selector-parser/-/css-selector-parser-0.6.2.tgz", + "integrity": "sha512-4nD20RbiLitUP7MmDCJ5+PMKe4bSaNs7glEGKK7I9gmd2iYETbjh7OS8PWZ5vBXfr9LzaI++ssQFlxwPdh3MXQ==", "requires": { - "@tokey/core": "^1.3.0" + "@tokey/core": "^1.4.0" } }, "@tokey/css-value-parser": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/@tokey/css-value-parser/-/css-value-parser-0.1.3.tgz", - "integrity": "sha512-tHdXSq6Frp/zYW5hXD2HMXKb5UFV96XTOstPXjn1AriB/KbBrbBrc95CXtm/7iHtclgBGG8DebwM1d9f1BVKGA==", + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/@tokey/css-value-parser/-/css-value-parser-0.1.4.tgz", + "integrity": "sha512-zHkHmNGnzVI31D3rkpXAh9KioMJd8Fwpe0Y6rwh87kTjUPzhpYSzy6ZziAQv2Ol1GqExrLj5ips9zlrCxeeJWw==", "requires": { - "@tokey/core": "^1.3.0" + "@tokey/core": "^1.4.0" } }, "@tokey/imports-parser": { @@ -8104,9 +8133,9 @@ "dev": true }, "@types/node": { - "version": "14.18.58", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.58.tgz", - "integrity": "sha512-Y8ETZc8afYf6lQ/mVp096phIVsgD/GmDxtm3YaPcc+71jmi/J6zdwbwaUU4JvS56mq6aSfbpkcKhQ5WugrWFPw==" + "version": "14.18.59", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.59.tgz", + "integrity": "sha512-NWJMpBL2Xs3MY93yrD6YrrTKep8eIA6iMnfG4oIc6LrTRlBZgiSCGiY3V/Owlp6umIBLyKb4F8Q7hxWatjYH5A==" }, "@types/postcss-safe-parser": { "version": "5.0.1", @@ -8765,9 +8794,9 @@ "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==" }, "caniuse-lite": { - "version": "1.0.30001527", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001527.tgz", - "integrity": "sha512-YkJi7RwPgWtXVSgK4lG9AHH57nSzvvOp9MesgXmw4Q7n0C3H04L0foHqfxcmSAm5AcWb8dW9AYj2tR7/5GnddQ==" + "version": "1.0.30001534", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001534.tgz", + "integrity": "sha512-vlPVrhsCS7XaSh2VvWluIQEzVhefrUQcEsQWSS5A5V+dM07uv1qHeQzAOTGIMy9i3e9bH15+muvI/UHojVgS/Q==" }, "chai": { "version": "4.3.8", @@ -9036,12 +9065,24 @@ "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==", "dev": true }, + "define-data-property": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.0.tgz", + "integrity": "sha512-UzGwzcjyv3OtAvolTj1GoyNYzfFR+iqbGjcnBEENZVCpM4/Ng1yhGNvS3lR/xDS74Tb2wGG9WzNSNIOS9UVb2g==", + "dev": true, + "requires": { + "get-intrinsic": "^1.2.1", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.0" + } + }, "define-properties": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.0.tgz", - "integrity": "sha512-xvqAVKGfT1+UAvPwKTVw/njhdQ8ZhXK4lI0bCIuCMrp2up9nPnaDftrLtmpTazqd1o+UY4zgzU+avtMbDP+ldA==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz", + "integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==", "dev": true, "requires": { + "define-data-property": "^1.0.1", "has-property-descriptors": "^1.0.0", "object-keys": "^1.1.1" } @@ -9169,9 +9210,9 @@ } }, "electron-to-chromium": { - "version": "1.4.508", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.508.tgz", - "integrity": "sha512-FFa8QKjQK/A5QuFr2167myhMesGrhlOBD+3cYNxO9/S4XzHEXesyTD/1/xF644gC8buFPz3ca6G1LOQD0tZrrg==" + "version": "1.4.519", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.519.tgz", + "integrity": "sha512-kqs9oGYL4UFVkLKhqCTgBCYZv+wZ374yABDMqlDda9HvlkQxvSr7kgf4hfWVjMieDbX+1MwPHFBsOGCMIBaFKg==" }, "emoji-regex": { "version": "8.0.0", @@ -9256,9 +9297,9 @@ } }, "es-module-lexer": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.3.0.tgz", - "integrity": "sha512-vZK7T0N2CBmBOixhmjdqx2gWVbFZ4DXZ/NyRMZVlJXPa7CyFS+/a4QQsDGDQy9ZfEzxFuNEsMLeQJnKP2p5/JA==" + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.3.1.tgz", + "integrity": "sha512-JUFAyicQV9mXc3YRxPnDlrfBKpqt6hUYzz9/boprUJHs4e4KVr3XwOF70doO6gwXUor6EWZJAyWAfKki84t20Q==" }, "es-set-tostringtag": { "version": "2.0.1", @@ -9323,15 +9364,15 @@ "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==" }, "eslint": { - "version": "8.48.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.48.0.tgz", - "integrity": "sha512-sb6DLeIuRXxeM1YljSe1KEx9/YYeZFQWcV8Rq9HfigmdDEugjLEVEa1ozDjL6YDjBpQHPJxJzze+alxi4T3OLg==", + "version": "8.49.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.49.0.tgz", + "integrity": "sha512-jw03ENfm6VJI0jA9U+8H5zfl5b+FvuU3YYvZRdZHOlU2ggJkxrlkJH4HcDrZpj6YwD8kuYqvQM8LyesoazrSOQ==", "requires": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", "@eslint/eslintrc": "^2.1.2", - "@eslint/js": "8.48.0", - "@humanwhocodes/config-array": "^0.11.10", + "@eslint/js": "8.49.0", + "@humanwhocodes/config-array": "^0.11.11", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", "ajv": "^6.12.4", @@ -10183,9 +10224,9 @@ } }, "jest-docblock": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-29.6.3.tgz", - "integrity": "sha512-2+H+GOTQBEm2+qFSQ7Ma+BvyV+waiIFxmZF5LdpBsAEjWX8QYjSCa4FrkIYtbfXUJJJnFCYrOtt6TZ+IAiTjBQ==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-29.7.0.tgz", + "integrity": "sha512-q617Auw3A612guyaFgsbFeYpNP5t2aoUNLwBUbc/0kD1R4t9ixDbyFTHd1nok4epoVFpr7PmeWHrhvuV3XaJ4g==", "requires": { "detect-newline": "^3.0.0" } @@ -11248,14 +11289,14 @@ } }, "regexp.prototype.flags": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.0.tgz", - "integrity": "sha512-0SutC3pNudRKgquxGoRGIz946MZVHqbNfPjBdxeOhBrdgDKlRoXmYLQN9xRbrR09ZXWeGAdPuif7egofn6v5LA==", + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.1.tgz", + "integrity": "sha512-sy6TXMN+hnP/wMy+ISxg3krXx7BAtWVO4UouuCN/ziM9UEne0euamVNafDfvC83bRNr95y0V5iijeDQFUNpvrg==", "dev": true, "requires": { "call-bind": "^1.0.2", "define-properties": "^1.2.0", - "functions-have-names": "^1.2.3" + "set-function-name": "^2.0.0" } }, "relateurl": { @@ -11362,9 +11403,9 @@ } }, "rollup": { - "version": "3.29.0", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.29.0.tgz", - "integrity": "sha512-nszM8DINnx1vSS+TpbWKMkxem0CDWk3cSit/WWCBVs9/JZ1I/XLwOsiUglYuYReaeWWSsW9kge5zE5NZtf/a4w==", + "version": "3.29.1", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.29.1.tgz", + "integrity": "sha512-c+ebvQz0VIH4KhhCpDsI+Bik0eT8ZFEVZEYw0cGMVqIP8zc+gnwl7iXCamTw7vzv2MeuZFZfdx5JJIq+ehzDlg==", "requires": { "fsevents": "~2.3.2" } @@ -11447,6 +11488,17 @@ "randombytes": "^2.1.0" } }, + "set-function-name": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.1.tgz", + "integrity": "sha512-tMNCiqYVkXIZgc2Hnoy2IvC/f8ezc5koaRFkCjrpWzGpCd3qbZXPzVy9MAZzK1ch/X0jvSkojys3oqJN0qCmdA==", + "dev": true, + "requires": { + "define-data-property": "^1.0.1", + "functions-have-names": "^1.2.3", + "has-property-descriptors": "^1.0.0" + } + }, "shebang-command": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", @@ -11590,25 +11642,25 @@ } }, "string.prototype.trim": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.7.tgz", - "integrity": "sha512-p6TmeT1T3411M8Cgg9wBTMRtY2q9+PNy9EV1i2lIXUN/btt763oIfxwN3RR8VU6wHX8j/1CFy0L+YuThm6bgOg==", + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.8.tgz", + "integrity": "sha512-lfjY4HcixfQXOfaqCvcBuOIapyaroTXhbkfJN3gcB1OtyupngWK4sEET9Knd0cXd28kTUqu/kHoV4HKSJdnjiQ==", "dev": true, "requires": { "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1" } }, "string.prototype.trimend": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.6.tgz", - "integrity": "sha512-JySq+4mrPf9EsDBEDYMOb/lM7XQLulwg5R/m1r0PXEFqrV0qHvl58sdTilSXtKOflCsK2E8jxf+GKC0T07RWwQ==", + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.7.tgz", + "integrity": "sha512-Ni79DqeB72ZFq1uH/L6zJ+DKZTkOtPIHovb3YZHQViE+HDouuU4mBrLOLDn5Dde3RF8qw5qVETEjhu9locMLvA==", "dev": true, "requires": { "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1" } }, "string.prototype.trimstart": { diff --git a/package.json b/package.json index d0860252b..b67925923 100644 --- a/package.json +++ b/package.json @@ -18,8 +18,8 @@ "prettify": "npx prettier . --write" }, "devDependencies": { - "@file-services/memory": "^8.1.3", - "@file-services/node": "^8.1.3", + "@file-services/memory": "^8.2.0", + "@file-services/node": "^8.2.0", "@rollup/plugin-html": "^1.0.2", "@rollup/plugin-node-resolve": "^15.2.1", "@types/balanced-match": "^1.0.3", @@ -54,7 +54,7 @@ "chai": "^4.3.8", "chai-subset": "^1.6.0", "create-listening-server": "^2.1.0", - "eslint": "^8.48.0", + "eslint": "^8.49.0", "eslint-config-prettier": "^9.0.0", "file-loader": "^6.2.0", "html-webpack-plugin": "^5.5.3", @@ -69,7 +69,7 @@ "react": "^18.2.0", "react-dom": "^18.2.0", "rimraf": "^5.0.1", - "rollup": "^3.29.0", + "rollup": "^3.29.1", "source-map": "^0.7.4", "source-map-loader": "^4.0.1", "style-loader": "^3.3.3", diff --git a/packages/cli/package.json b/packages/cli/package.json index 27caa8ee2..d3ef2b8c5 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -12,8 +12,8 @@ "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 25000" }, "dependencies": { - "@file-services/node": "^8.1.3", - "@file-services/types": "^8.1.3", + "@file-services/node": "^8.2.0", + "@file-services/types": "^8.2.0", "@stylable/build-tools": "^5.15.2", "@stylable/code-formatter": "^5.15.2", "@stylable/core": "^5.15.2", diff --git a/packages/code-formatter/package.json b/packages/code-formatter/package.json index 89595bbfc..dbb679335 100644 --- a/packages/code-formatter/package.json +++ b/packages/code-formatter/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "@stylable/core": "^5.15.2", - "@tokey/css-value-parser": "^0.1.3", + "@tokey/css-value-parser": "^0.1.4", "js-beautify": "^1.14.9", "postcss": "^8.4.29" }, diff --git a/packages/core-test-kit/package.json b/packages/core-test-kit/package.json index 0c874b314..76ff1029f 100644 --- a/packages/core-test-kit/package.json +++ b/packages/core-test-kit/package.json @@ -7,7 +7,7 @@ "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@file-services/memory": "^8.1.3", + "@file-services/memory": "^8.2.0", "@stylable/core": "^5.15.2", "chai": "^4.3.8", "flat": "^5.0.2", diff --git a/packages/core/package.json b/packages/core/package.json index 190a9c0fb..6d36c3012 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -10,8 +10,8 @@ "module": "./dist/module-with-extensions.js" }, "dependencies": { - "@tokey/css-selector-parser": "^0.6.1", - "@tokey/css-value-parser": "^0.1.3", + "@tokey/css-selector-parser": "^0.6.2", + "@tokey/css-value-parser": "^0.1.4", "@tokey/imports-parser": "^1.0.0", "balanced-match": "^2.0.0", "css-selector-tokenizer": "^0.8.0", diff --git a/packages/dom-test-kit/package.json b/packages/dom-test-kit/package.json index 1ee27cbe5..4396effc9 100644 --- a/packages/dom-test-kit/package.json +++ b/packages/dom-test-kit/package.json @@ -9,7 +9,7 @@ "dependencies": { "@stylable/core": "^5.15.2", "@stylable/runtime": "^5.15.2", - "@tokey/css-selector-parser": "^0.6.1" + "@tokey/css-selector-parser": "^0.6.2" }, "files": [ "dist", diff --git a/packages/language-service/package.json b/packages/language-service/package.json index 261250c29..3dbfc11e7 100644 --- a/packages/language-service/package.json +++ b/packages/language-service/package.json @@ -11,13 +11,13 @@ "typescript": ">=3.8" }, "dependencies": { - "@file-services/types": "^8.1.3", - "@file-services/typescript": "^8.1.3", + "@file-services/types": "^8.2.0", + "@file-services/typescript": "^8.2.0", "@stylable/code-formatter": "^5.15.2", "@stylable/core": "^5.15.2", "@tokey/core": "^1.4.0", - "@tokey/css-selector-parser": "^0.6.1", - "@tokey/css-value-parser": "^0.1.3", + "@tokey/css-selector-parser": "^0.6.2", + "@tokey/css-value-parser": "^0.1.4", "css-selector-tokenizer": "^0.8.0", "postcss": "^8.4.29", "postcss-value-parser": "^4.2.0", diff --git a/packages/optimizer/package.json b/packages/optimizer/package.json index 193bcb06b..415cd5af6 100644 --- a/packages/optimizer/package.json +++ b/packages/optimizer/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "@stylable/core": "^5.15.2", - "@tokey/css-selector-parser": "^0.6.1", + "@tokey/css-selector-parser": "^0.6.2", "csso": "^5.0.5", "postcss": "^8.4.29" }, diff --git a/packages/schema-extract/package.json b/packages/schema-extract/package.json index c90c916cb..c8e04dbc9 100644 --- a/packages/schema-extract/package.json +++ b/packages/schema-extract/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "@stylable/core": "^5.15.2", - "jest-docblock": "^29.6.3" + "jest-docblock": "^29.7.0" }, "files": [ "dist", diff --git a/packages/webpack-extensions/package.json b/packages/webpack-extensions/package.json index 26617c383..725bd3caf 100644 --- a/packages/webpack-extensions/package.json +++ b/packages/webpack-extensions/package.json @@ -13,7 +13,7 @@ "@stylable/core": "^5.15.2", "@stylable/node": "^5.15.2", "@stylable/webpack-plugin": "^5.15.2", - "@tokey/css-selector-parser": "^0.6.1", + "@tokey/css-selector-parser": "^0.6.2", "find-config": "^1.0.0", "lodash.clonedeep": "^4.5.0" }, From 3ef74c8f2885a65001b524bf6a0ccbc02928eb84 Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Thu, 14 Sep 2023 07:40:37 +0300 Subject: [PATCH 64/81] fix: mixin with native CSS nesting (#2898) --- packages/core/src/features/st-mixin.ts | 1 + packages/core/src/helpers/rule.ts | 1 - packages/core/src/stylable-utils.ts | 84 +++++- packages/core/test/features/st-mixin.spec.ts | 275 +++++++++++++++++-- packages/core/test/helpers/rule.spec.ts | 13 + 5 files changed, 339 insertions(+), 35 deletions(-) diff --git a/packages/core/src/features/st-mixin.ts b/packages/core/src/features/st-mixin.ts index dc0e68d10..00dbc8208 100644 --- a/packages/core/src/features/st-mixin.ts +++ b/packages/core/src/features/st-mixin.ts @@ -63,6 +63,7 @@ export const diagnostics = { VALUE_CANNOT_BE_STRING: mixinHelperDiagnostics.VALUE_CANNOT_BE_STRING, INVALID_NAMED_PARAMS: mixinHelperDiagnostics.INVALID_NAMED_PARAMS, INVALID_MERGE_OF: utilDiagnostics.INVALID_MERGE_OF, + INVALID_RECURSIVE_MIXIN: utilDiagnostics.INVALID_RECURSIVE_MIXIN, PARTIAL_MIXIN_MISSING_ARGUMENTS: createDiagnosticReporter( '10001', 'error', diff --git a/packages/core/src/helpers/rule.ts b/packages/core/src/helpers/rule.ts index a36e8536d..409162eba 100644 --- a/packages/core/src/helpers/rule.ts +++ b/packages/core/src/helpers/rule.ts @@ -106,7 +106,6 @@ export function createSubsetAst `invalid merge of: \n"${mergeValue}"` ), + INVALID_RECURSIVE_MIXIN: createDiagnosticReporter( + '10010', + 'error', + () => `invalid recursive mixin` + ), }; // ToDo: move to helpers/mixin @@ -46,7 +51,8 @@ export function mergeRules( mixinRoot = 'NoRoot'; mixinRule.selector = selector; } - } else { + } else if (!isChildOfMixinRoot(mixinRule, mixinRoot)) { + // scope to mixin target if not already scoped by parent const { selector } = scopeNestedSelector( parseSelectorWithCache(rule.selector), parseSelectorWithCache(mixinRule.selector), @@ -54,19 +60,43 @@ export function mergeRules( anchorNodeCheck ); mixinRule.selector = selector; + } else if (mixinRule.selector.includes(anchorSelector)) { + // report invalid nested mixin + mixinRule.selector = mixinRule.selector.split(anchorSelector).join('&'); + report?.report(utilDiagnostics.INVALID_RECURSIVE_MIXIN(), { + node: rule, + }); } }); if (mixinAst.nodes) { let nextRule: postcss.Rule | postcss.AtRule = rule; // TODO: handle rules before and after decl on entry + const inlineMixin = !hasNonDeclsBeforeDecl(mixinDecl); + const mixInto = inlineMixin ? rule : postcss.rule({ selector: '&' }); + const mixIntoRule = (node: postcss.AnyNode) => { + // mix node into rule + if (inlineMixin) { + mixInto.insertBefore(mixinDecl, node); + } else { + // indent first level - doesn't change deep nested + node.raws.before = (node.raws.before || '') + ' '; + mixInto.append(node); + } + // mark following decls for nesting + if (!nestFollowingDecls && node.type !== 'decl' && hasAnyDeclsAfter(mixinDecl)) { + nestFollowingDecls = true; + } + }; + let nestFollowingDecls = false; mixinAst.nodes.slice().forEach((node) => { if (node === mixinRoot) { for (const nested of [...node.nodes]) { - rule.insertBefore(mixinDecl, nested); + mixIntoRule(nested); } } else if (node.type === 'decl') { - rule.insertBefore(mixinDecl, node); + // stand alone decl - most likely from js mixin + mixIntoRule(node); } else if (node.type === 'rule' || node.type === 'atrule') { const valid = !nestedInKeyframes; if (valid) { @@ -83,11 +113,57 @@ export function mergeRules( } } }); + // add nested mixin to rule body + if (mixInto !== rule && mixInto.nodes.length) { + mixinDecl.before(mixInto); + } + // nest following decls if needed + if (nestFollowingDecls) { + const nestFollowingDecls = postcss.rule({ selector: '&' }); + while (mixinDecl.next()) { + const nextNode = mixinDecl.next()!; + nextNode.raws.before = (nextNode.raws.before || '') + ' '; + nestFollowingDecls.append(nextNode); + } + mixinDecl.after(nestFollowingDecls); + } } return rule; } +function hasNonDeclsBeforeDecl(decl: postcss.Declaration) { + let current: postcss.AnyNode | undefined = decl.prev(); + while (current) { + if (current.type !== 'decl' && current.type !== 'comment') { + return true; + } + current = current.prev(); + } + return false; +} +function hasAnyDeclsAfter(decl: postcss.Declaration) { + let current: postcss.AnyNode | undefined = decl.next(); + while (current) { + if (current.type === 'decl') { + return true; + } + current = current.prev(); + } + return false; +} + +const isChildOfMixinRoot = (rule: postcss.Rule, mixinRoot: postcss.Rule | null | 'NoRoot') => { + let current: postcss.Container | postcss.Document | undefined = rule.parent; + while (current) { + if (current === mixinRoot) { + return true; + } + current = current.parent; + } + return false; +}; + export const sourcePathDiagnostics = { MISSING_SOURCE_FILENAME: createDiagnosticReporter( '17001', diff --git a/packages/core/test/features/st-mixin.spec.ts b/packages/core/test/features/st-mixin.spec.ts index 1caac3b1a..a547ffdde 100644 --- a/packages/core/test/features/st-mixin.spec.ts +++ b/packages/core/test/features/st-mixin.spec.ts @@ -6,9 +6,6 @@ import { shouldReportNoDiagnostics, matchRuleAndDeclaration, diagnosticBankReportToStrings, - assertRule, - assertDecl, - assertAtRule, deindent, } from '@stylable/core-test-kit'; import chai, { expect } from 'chai'; @@ -81,7 +78,7 @@ describe(`features/st-mixin`, () => { } .insert { - /* @rule .entry__child {before:1; propA:blue; propB:green; after: 2} */ + /* @rule .entry__child {.entry__grandchild-1 { z-index: 1; }; before: 1; .entry__grandchild-2 { z-index: 2; }; propA: blue; propB: green; .entry__grandchild-3 { z-index: 3; }; after: 2; .entry__grandchild-4 { z-index: 4; }} */ .child { .grandchild-1 { z-index: 1; } before: 1; @@ -409,37 +406,255 @@ describe(`features/st-mixin`, () => { } ); }); - it('should support CSS nesting as part of a mixin', () => { - const { sheets } = testStylableCore(` - .mix { - id: mix; - &:hover.mix { - id: hover; + describe('css nesting', () => { + it('should support CSS nesting as part of a mixin', () => { + const { sheets } = testStylableCore(` + .mix { + .inner { + color: green; + } } - @media { - id: atrule; + + .into { + -st-mixin: mix; } - } + `); - .root { - -st-mixin: mix; - } - `); + const { meta } = sheets['/entry.st.css']; - const { meta } = sheets['/entry.st.css']; + expect(deindent(meta.targetAst!.toString())).to.eql( + deindent(` + .entry__mix { + .entry__inner { + color: green; + } + } - shouldReportNoDiagnostics(meta); - const mixedIntoRule = assertRule(meta.targetAst!.nodes[1], 'mixed into'); - expect(mixedIntoRule.selector).to.eql('.entry__root'); - const firstMixedDecl = assertDecl(mixedIntoRule.nodes[0], 'id: mix'); - expect(firstMixedDecl.prop).to.eql('id'); - expect(firstMixedDecl.value).to.eql('mix'); - const nestHoverRule = assertRule(mixedIntoRule.nodes[1], '&:hover.mix'); - expect(nestHoverRule.selector).to.eql('.entry__root&:hover'); - const nestAtRule = assertAtRule(mixedIntoRule.nodes[2], '@media'); - const nestInAtRule = assertDecl(nestAtRule.nodes[0], 'id: atrule'); - expect(nestInAtRule.prop).to.eql('id'); - expect(nestInAtRule.value).to.eql('atrule'); + .entry__into { + .entry__inner { + color: green; + } + } + `) + ); + }); + it('should preserve nesting selector', () => { + const { sheets } = testStylableCore(` + .mix { + &.inner { + color: green; + } + } + + .into { + -st-mixin: mix; + } + `); + + const { meta } = sheets['/entry.st.css']; + + expect(deindent(meta.targetAst!.toString())).to.eql( + deindent(` + .entry__mix { + &.entry__inner { + color: green; + } + } + + .entry__into { + &.entry__inner { + color: green; + } + } + `) + ); + }); + it('should mix into nesting context', () => { + const { sheets } = testStylableCore(` + .mix { + &.inner { + color: green; + } + } + + .intoTop { + &.intoNested { + -st-mixin: mix; + } + } + `); + + const { meta } = sheets['/entry.st.css']; + + expect(deindent(meta.targetAst!.toString())).to.eql( + deindent(` + .entry__mix { + &.entry__inner { + color: green; + } + } + + .entry__intoTop { + &.entry__intoNested { + &.entry__inner { + color: green; + } + } + } + `) + ); + }); + it('should report recursive mixin ', () => { + const { sheets } = testStylableCore(` + .mix { + &.inner.mix { + color: green; + } + } + + /* @transform-error ${mixinDiagnostics.INVALID_RECURSIVE_MIXIN()}*/ + .into { + -st-mixin: mix; + } + `); + + const { meta } = sheets['/entry.st.css']; + + expect(deindent(meta.targetAst!.toString())).to.eql( + deindent(` + .entry__mix { + &.entry__inner.entry__mix { + color: green; + } + } + + /* @transform-error ${mixinDiagnostics.INVALID_RECURSIVE_MIXIN()}*/ + .entry__into { + &&.entry__inner { + color: green; + } + } + `) + ); + }); + it('should mix nested at-rules with content', () => { + const { sheets } = testStylableCore(` + .mix { + @media (x>y) { + .inner { + color: green; + } + } + } + + .into { + -st-mixin: mix; + } + `); + + const { meta } = sheets['/entry.st.css']; + + expect(deindent(meta.targetAst!.toString())).to.eql( + deindent(` + .entry__mix { + @media (x>y) { + .entry__inner { + color: green; + } + } + } + + .entry__into { + @media (x>y) { + .entry__inner { + color: green; + } + } + } + `) + ); + }); + it('should nest any declaration following nested mixed-in rules', () => { + const { sheets } = testStylableCore(` + .mix { + .inner { + color: green; + } + } + + .into { + declA: 1; + declB: 2; + -st-mixin: mix; + declC: 3; + declD: 4; + } + `); + + const { meta } = sheets['/entry.st.css']; + + expect(deindent(meta.targetAst!.toString())).to.eql( + deindent(` + .entry__mix { + .entry__inner { + color: green; + } + } + + .entry__into { + declA: 1; + declB: 2; + .entry__inner { + color: green; + } + & { + declC: 3; + declD: 4; + } + } + `) + ); + }); + it('should nest mixin decls that follow another mixin with nested nodes', () => { + const { sheets } = testStylableCore(` + .mixNested { + .inner { + color: green; + } + } + .mixDecl { + color: blue; + } + + .into { + -st-mixin: mixNested, mixDecl; + } + `); + + const { meta } = sheets['/entry.st.css']; + + expect(deindent(meta.targetAst!.toString())).to.eql( + deindent(` + .entry__mixNested { + .entry__inner { + color: green; + } + } + .entry__mixDecl { + color: blue; + } + + .entry__into { + .entry__inner { + color: green; + } + & { + color: blue; + } + } + `) + ); + }); }); describe(`st-import`, () => { it(`should mix imported class`, () => { diff --git a/packages/core/test/helpers/rule.spec.ts b/packages/core/test/helpers/rule.spec.ts index 06bc9a404..3482a0e85 100644 --- a/packages/core/test/helpers/rule.spec.ts +++ b/packages/core/test/helpers/rule.spec.ts @@ -52,6 +52,9 @@ describe(`helpers/rule`, () => { /*nesting*/ .i[out] { .i[in] {} } + + /*nesting at-rule*/ + .i[out] { @media (x) { [in] {} } } `), '.i' ); @@ -81,6 +84,16 @@ describe(`helpers/rule`, () => { selector: '[st-mixin-marker][out]', nodes: [{ selector: '[st-mixin-marker][in]' }], }, + { + selector: '[st-mixin-marker][out]', + nodes: [ + { + name: 'media', + params: '(x)', + nodes: [{ selector: '[in]' }], + }, + ], + }, ]; testMatcher(expected, res.nodes); From 6203172f53fe42c8056c23c3faaab62cd774bcd3 Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Thu, 14 Sep 2023 08:13:28 +0300 Subject: [PATCH 65/81] chore(deps): upgrade to latest stable --- package-lock.json | 424 ++++++++++++++--------------- package.json | 4 +- packages/e2e-test-kit/package.json | 2 +- 3 files changed, 215 insertions(+), 215 deletions(-) diff --git a/package-lock.json b/package-lock.json index 262fb4ff5..ec41e800a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -36,7 +36,7 @@ "@types/postcss-safe-parser": "^5.0.1", "@types/react": "^18.2.21", "@types/react-dom": "^18.2.7", - "@types/semver": "^7.5.1", + "@types/semver": "^7.5.2", "@types/validate-npm-package-name": "^4.0.0", "@types/yargs": "^17.0.24", "@typescript-eslint/eslint-plugin": "^5.61.0", @@ -54,7 +54,7 @@ "mocha": "^10.2.0", "node-eval": "^2.0.0", "npm-run-all": "^4.1.5", - "playwright-chromium": "^1.37.1", + "playwright-chromium": "^1.38.0", "postcss": "^8.4.29", "promise-assist": "^2.0.1", "raw-loader": "^4.0.2", @@ -91,9 +91,9 @@ "dev": true }, "node_modules/@esbuild/android-arm": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.2.tgz", - "integrity": "sha512-tM8yLeYVe7pRyAu9VMi/Q7aunpLwD139EY1S99xbQkT4/q2qa6eA4ige/WJQYdJ8GBL1K33pPFhPfPdJ/WzT8Q==", + "version": "0.19.3", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.3.tgz", + "integrity": "sha512-Lemgw4io4VZl9GHJmjiBGzQ7ONXRfRPHcUEerndjwiSkbxzrpq0Uggku5MxxrXdwJ+pTj1qyw4jwTu7hkPsgIA==", "cpu": [ "arm" ], @@ -107,9 +107,9 @@ } }, "node_modules/@esbuild/android-arm64": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.19.2.tgz", - "integrity": "sha512-lsB65vAbe90I/Qe10OjkmrdxSX4UJDjosDgb8sZUKcg3oefEuW2OT2Vozz8ef7wrJbMcmhvCC+hciF8jY/uAkw==", + "version": "0.19.3", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.19.3.tgz", + "integrity": "sha512-w+Akc0vv5leog550kjJV9Ru+MXMR2VuMrui3C61mnysim0gkFCPOUTAfzTP0qX+HpN9Syu3YA3p1hf3EPqObRw==", "cpu": [ "arm64" ], @@ -123,9 +123,9 @@ } }, "node_modules/@esbuild/android-x64": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.19.2.tgz", - "integrity": "sha512-qK/TpmHt2M/Hg82WXHRc/W/2SGo/l1thtDHZWqFq7oi24AjZ4O/CpPSu6ZuYKFkEgmZlFoa7CooAyYmuvnaG8w==", + "version": "0.19.3", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.19.3.tgz", + "integrity": "sha512-FKQJKkK5MXcBHoNZMDNUAg1+WcZlV/cuXrWCoGF/TvdRiYS4znA0m5Il5idUwfxrE20bG/vU1Cr5e1AD6IEIjQ==", "cpu": [ "x64" ], @@ -139,9 +139,9 @@ } }, "node_modules/@esbuild/darwin-arm64": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.19.2.tgz", - "integrity": "sha512-Ora8JokrvrzEPEpZO18ZYXkH4asCdc1DLdcVy8TGf5eWtPO1Ie4WroEJzwI52ZGtpODy3+m0a2yEX9l+KUn0tA==", + "version": "0.19.3", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.19.3.tgz", + "integrity": "sha512-kw7e3FXU+VsJSSSl2nMKvACYlwtvZB8RUIeVShIEY6PVnuZ3c9+L9lWB2nWeeKWNNYDdtL19foCQ0ZyUL7nqGw==", "cpu": [ "arm64" ], @@ -155,9 +155,9 @@ } }, "node_modules/@esbuild/darwin-x64": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.19.2.tgz", - "integrity": "sha512-tP+B5UuIbbFMj2hQaUr6EALlHOIOmlLM2FK7jeFBobPy2ERdohI4Ka6ZFjZ1ZYsrHE/hZimGuU90jusRE0pwDw==", + "version": "0.19.3", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.19.3.tgz", + "integrity": "sha512-tPfZiwF9rO0jW6Jh9ipi58N5ZLoSjdxXeSrAYypy4psA2Yl1dAMhM71KxVfmjZhJmxRjSnb29YlRXXhh3GqzYw==", "cpu": [ "x64" ], @@ -171,9 +171,9 @@ } }, "node_modules/@esbuild/freebsd-arm64": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.2.tgz", - "integrity": "sha512-YbPY2kc0acfzL1VPVK6EnAlig4f+l8xmq36OZkU0jzBVHcOTyQDhnKQaLzZudNJQyymd9OqQezeaBgkTGdTGeQ==", + "version": "0.19.3", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.3.tgz", + "integrity": "sha512-ERDyjOgYeKe0Vrlr1iLrqTByB026YLPzTytDTz1DRCYM+JI92Dw2dbpRHYmdqn6VBnQ9Bor6J8ZlNwdZdxjlSg==", "cpu": [ "arm64" ], @@ -187,9 +187,9 @@ } }, "node_modules/@esbuild/freebsd-x64": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.19.2.tgz", - "integrity": "sha512-nSO5uZT2clM6hosjWHAsS15hLrwCvIWx+b2e3lZ3MwbYSaXwvfO528OF+dLjas1g3bZonciivI8qKR/Hm7IWGw==", + "version": "0.19.3", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.19.3.tgz", + "integrity": "sha512-nXesBZ2Ad1qL+Rm3crN7NmEVJ5uvfLFPLJev3x1j3feCQXfAhoYrojC681RhpdOph8NsvKBBwpYZHR7W0ifTTA==", "cpu": [ "x64" ], @@ -203,9 +203,9 @@ } }, "node_modules/@esbuild/linux-arm": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.19.2.tgz", - "integrity": "sha512-Odalh8hICg7SOD7XCj0YLpYCEc+6mkoq63UnExDCiRA2wXEmGlK5JVrW50vZR9Qz4qkvqnHcpH+OFEggO3PgTg==", + "version": "0.19.3", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.19.3.tgz", + "integrity": "sha512-zr48Cg/8zkzZCzDHNxXO/89bf9e+r4HtzNUPoz4GmgAkF1gFAFmfgOdCbR8zMbzFDGb1FqBBhdXUpcTQRYS1cQ==", "cpu": [ "arm" ], @@ -219,9 +219,9 @@ } }, "node_modules/@esbuild/linux-arm64": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.19.2.tgz", - "integrity": "sha512-ig2P7GeG//zWlU0AggA3pV1h5gdix0MA3wgB+NsnBXViwiGgY77fuN9Wr5uoCrs2YzaYfogXgsWZbm+HGr09xg==", + "version": "0.19.3", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.19.3.tgz", + "integrity": "sha512-qXvYKmXj8GcJgWq3aGvxL/JG1ZM3UR272SdPU4QSTzD0eymrM7leiZH77pvY3UetCy0k1xuXZ+VPvoJNdtrsWQ==", "cpu": [ "arm64" ], @@ -235,9 +235,9 @@ } }, "node_modules/@esbuild/linux-ia32": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.19.2.tgz", - "integrity": "sha512-mLfp0ziRPOLSTek0Gd9T5B8AtzKAkoZE70fneiiyPlSnUKKI4lp+mGEnQXcQEHLJAcIYDPSyBvsUbKUG2ri/XQ==", + "version": "0.19.3", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.19.3.tgz", + "integrity": "sha512-7XlCKCA0nWcbvYpusARWkFjRQNWNGlt45S+Q18UeS///K6Aw8bB2FKYe9mhVWy/XLShvCweOLZPrnMswIaDXQA==", "cpu": [ "ia32" ], @@ -251,9 +251,9 @@ } }, "node_modules/@esbuild/linux-loong64": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.19.2.tgz", - "integrity": "sha512-hn28+JNDTxxCpnYjdDYVMNTR3SKavyLlCHHkufHV91fkewpIyQchS1d8wSbmXhs1fiYDpNww8KTFlJ1dHsxeSw==", + "version": "0.19.3", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.19.3.tgz", + "integrity": "sha512-qGTgjweER5xqweiWtUIDl9OKz338EQqCwbS9c2Bh5jgEH19xQ1yhgGPNesugmDFq+UUSDtWgZ264st26b3de8A==", "cpu": [ "loong64" ], @@ -267,9 +267,9 @@ } }, "node_modules/@esbuild/linux-mips64el": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.19.2.tgz", - "integrity": "sha512-KbXaC0Sejt7vD2fEgPoIKb6nxkfYW9OmFUK9XQE4//PvGIxNIfPk1NmlHmMg6f25x57rpmEFrn1OotASYIAaTg==", + "version": "0.19.3", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.19.3.tgz", + "integrity": "sha512-gy1bFskwEyxVMFRNYSvBauDIWNggD6pyxUksc0MV9UOBD138dKTzr8XnM2R4mBsHwVzeuIH8X5JhmNs2Pzrx+A==", "cpu": [ "mips64el" ], @@ -283,9 +283,9 @@ } }, "node_modules/@esbuild/linux-ppc64": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.19.2.tgz", - "integrity": "sha512-dJ0kE8KTqbiHtA3Fc/zn7lCd7pqVr4JcT0JqOnbj4LLzYnp+7h8Qi4yjfq42ZlHfhOCM42rBh0EwHYLL6LEzcw==", + "version": "0.19.3", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.19.3.tgz", + "integrity": "sha512-UrYLFu62x1MmmIe85rpR3qou92wB9lEXluwMB/STDzPF9k8mi/9UvNsG07Tt9AqwPQXluMQ6bZbTzYt01+Ue5g==", "cpu": [ "ppc64" ], @@ -299,9 +299,9 @@ } }, "node_modules/@esbuild/linux-riscv64": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.19.2.tgz", - "integrity": "sha512-7Z/jKNFufZ/bbu4INqqCN6DDlrmOTmdw6D0gH+6Y7auok2r02Ur661qPuXidPOJ+FSgbEeQnnAGgsVynfLuOEw==", + "version": "0.19.3", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.19.3.tgz", + "integrity": "sha512-9E73TfyMCbE+1AwFOg3glnzZ5fBAFK4aawssvuMgCRqCYzE0ylVxxzjEfut8xjmKkR320BEoMui4o/t9KA96gA==", "cpu": [ "riscv64" ], @@ -315,9 +315,9 @@ } }, "node_modules/@esbuild/linux-s390x": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.19.2.tgz", - "integrity": "sha512-U+RinR6aXXABFCcAY4gSlv4CL1oOVvSSCdseQmGO66H+XyuQGZIUdhG56SZaDJQcLmrSfRmx5XZOWyCJPRqS7g==", + "version": "0.19.3", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.19.3.tgz", + "integrity": "sha512-LlmsbuBdm1/D66TJ3HW6URY8wO6IlYHf+ChOUz8SUAjVTuaisfuwCOAgcxo3Zsu3BZGxmI7yt//yGOxV+lHcEA==", "cpu": [ "s390x" ], @@ -331,9 +331,9 @@ } }, "node_modules/@esbuild/linux-x64": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.2.tgz", - "integrity": "sha512-oxzHTEv6VPm3XXNaHPyUTTte+3wGv7qVQtqaZCrgstI16gCuhNOtBXLEBkBREP57YTd68P0VgDgG73jSD8bwXQ==", + "version": "0.19.3", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.3.tgz", + "integrity": "sha512-ogV0+GwEmvwg/8ZbsyfkYGaLACBQWDvO0Kkh8LKBGKj9Ru8VM39zssrnu9Sxn1wbapA2qNS6BiLdwJZGouyCwQ==", "cpu": [ "x64" ], @@ -347,9 +347,9 @@ } }, "node_modules/@esbuild/netbsd-x64": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.19.2.tgz", - "integrity": "sha512-WNa5zZk1XpTTwMDompZmvQLHszDDDN7lYjEHCUmAGB83Bgs20EMs7ICD+oKeT6xt4phV4NDdSi/8OfjPbSbZfQ==", + "version": "0.19.3", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.19.3.tgz", + "integrity": "sha512-o1jLNe4uzQv2DKXMlmEzf66Wd8MoIhLNO2nlQBHLtWyh2MitDG7sMpfCO3NTcoTMuqHjfufgUQDFRI5C+xsXQw==", "cpu": [ "x64" ], @@ -363,9 +363,9 @@ } }, "node_modules/@esbuild/openbsd-x64": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.19.2.tgz", - "integrity": "sha512-S6kI1aT3S++Dedb7vxIuUOb3oAxqxk2Rh5rOXOTYnzN8JzW1VzBd+IqPiSpgitu45042SYD3HCoEyhLKQcDFDw==", + "version": "0.19.3", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.19.3.tgz", + "integrity": "sha512-AZJCnr5CZgZOdhouLcfRdnk9Zv6HbaBxjcyhq0StNcvAdVZJSKIdOiPB9az2zc06ywl0ePYJz60CjdKsQacp5Q==", "cpu": [ "x64" ], @@ -379,9 +379,9 @@ } }, "node_modules/@esbuild/sunos-x64": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.19.2.tgz", - "integrity": "sha512-VXSSMsmb+Z8LbsQGcBMiM+fYObDNRm8p7tkUDMPG/g4fhFX5DEFmjxIEa3N8Zr96SjsJ1woAhF0DUnS3MF3ARw==", + "version": "0.19.3", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.19.3.tgz", + "integrity": "sha512-Acsujgeqg9InR4glTRvLKGZ+1HMtDm94ehTIHKhJjFpgVzZG9/pIcWW/HA/DoMfEyXmANLDuDZ2sNrWcjq1lxw==", "cpu": [ "x64" ], @@ -395,9 +395,9 @@ } }, "node_modules/@esbuild/win32-arm64": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.19.2.tgz", - "integrity": "sha512-5NayUlSAyb5PQYFAU9x3bHdsqB88RC3aM9lKDAz4X1mo/EchMIT1Q+pSeBXNgkfNmRecLXA0O8xP+x8V+g/LKg==", + "version": "0.19.3", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.19.3.tgz", + "integrity": "sha512-FSrAfjVVy7TifFgYgliiJOyYynhQmqgPj15pzLyJk8BUsnlWNwP/IAy6GAiB1LqtoivowRgidZsfpoYLZH586A==", "cpu": [ "arm64" ], @@ -411,9 +411,9 @@ } }, "node_modules/@esbuild/win32-ia32": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.19.2.tgz", - "integrity": "sha512-47gL/ek1v36iN0wL9L4Q2MFdujR0poLZMJwhO2/N3gA89jgHp4MR8DKCmwYtGNksbfJb9JoTtbkoe6sDhg2QTA==", + "version": "0.19.3", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.19.3.tgz", + "integrity": "sha512-xTScXYi12xLOWZ/sc5RBmMN99BcXp/eEf7scUC0oeiRoiT5Vvo9AycuqCp+xdpDyAU+LkrCqEpUS9fCSZF8J3Q==", "cpu": [ "ia32" ], @@ -427,9 +427,9 @@ } }, "node_modules/@esbuild/win32-x64": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.19.2.tgz", - "integrity": "sha512-tcuhV7ncXBqbt/Ybf0IyrMcwVOAPDckMK9rXNHtF17UTK18OKLpg08glminN06pt2WCoALhXdLfSPbVvK/6fxw==", + "version": "0.19.3", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.19.3.tgz", + "integrity": "sha512-FbUN+0ZRXsypPyWE2IwIkVjDkDnJoMJARWOcFZn4KPPli+QnKqF0z1anvfaYe3ev5HFCpRDLLBDHyOALLppWHw==", "cpu": [ "x64" ], @@ -1182,9 +1182,9 @@ "dev": true }, "node_modules/@types/semver": { - "version": "7.5.1", - "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.1.tgz", - "integrity": "sha512-cJRQXpObxfNKkFAZbJl2yjWtJCqELQIdShsogr1d2MilP8dKD9TE/nEKHkJgUNHdGKCQaf9HbIynuV2csLGVLg==" + "version": "7.5.2", + "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.2.tgz", + "integrity": "sha512-7aqorHYgdNO4DM36stTiGO3DvKoex9TQRwsJU6vMaFGyqpBA1MNZkz+PG3gaNUPpTAOYhT1WR7M1JyA3fbS9Cw==" }, "node_modules/@types/validate-npm-package-name": { "version": "4.0.0", @@ -2622,9 +2622,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.519", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.519.tgz", - "integrity": "sha512-kqs9oGYL4UFVkLKhqCTgBCYZv+wZ374yABDMqlDda9HvlkQxvSr7kgf4hfWVjMieDbX+1MwPHFBsOGCMIBaFKg==" + "version": "1.4.520", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.520.tgz", + "integrity": "sha512-Frfus2VpYADsrh1lB3v/ft/WVFlVzOIm+Q0p7U7VqHI6qr7NWHYKe+Wif3W50n7JAFoBsWVsoU0+qDks6WQ60g==" }, "node_modules/emoji-regex": { "version": "8.0.0", @@ -2760,9 +2760,9 @@ } }, "node_modules/esbuild": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.19.2.tgz", - "integrity": "sha512-G6hPax8UbFakEj3hWO0Vs52LQ8k3lnBhxZWomUJDxfz3rZTLqF5k/FCzuNdLx2RbpBiQQF9H9onlDDH1lZsnjg==", + "version": "0.19.3", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.19.3.tgz", + "integrity": "sha512-UlJ1qUUA2jL2nNib1JTSkifQTcYTroFqRjwCFW4QYEKEsixXD5Tik9xML7zh2gTxkYTBKGHNH9y7txMwVyPbjw==", "hasInstallScript": true, "peer": true, "bin": { @@ -2772,28 +2772,28 @@ "node": ">=12" }, "optionalDependencies": { - "@esbuild/android-arm": "0.19.2", - "@esbuild/android-arm64": "0.19.2", - "@esbuild/android-x64": "0.19.2", - "@esbuild/darwin-arm64": "0.19.2", - "@esbuild/darwin-x64": "0.19.2", - "@esbuild/freebsd-arm64": "0.19.2", - "@esbuild/freebsd-x64": "0.19.2", - "@esbuild/linux-arm": "0.19.2", - "@esbuild/linux-arm64": "0.19.2", - "@esbuild/linux-ia32": "0.19.2", - "@esbuild/linux-loong64": "0.19.2", - "@esbuild/linux-mips64el": "0.19.2", - "@esbuild/linux-ppc64": "0.19.2", - "@esbuild/linux-riscv64": "0.19.2", - "@esbuild/linux-s390x": "0.19.2", - "@esbuild/linux-x64": "0.19.2", - "@esbuild/netbsd-x64": "0.19.2", - "@esbuild/openbsd-x64": "0.19.2", - "@esbuild/sunos-x64": "0.19.2", - "@esbuild/win32-arm64": "0.19.2", - "@esbuild/win32-ia32": "0.19.2", - "@esbuild/win32-x64": "0.19.2" + "@esbuild/android-arm": "0.19.3", + "@esbuild/android-arm64": "0.19.3", + "@esbuild/android-x64": "0.19.3", + "@esbuild/darwin-arm64": "0.19.3", + "@esbuild/darwin-x64": "0.19.3", + "@esbuild/freebsd-arm64": "0.19.3", + "@esbuild/freebsd-x64": "0.19.3", + "@esbuild/linux-arm": "0.19.3", + "@esbuild/linux-arm64": "0.19.3", + "@esbuild/linux-ia32": "0.19.3", + "@esbuild/linux-loong64": "0.19.3", + "@esbuild/linux-mips64el": "0.19.3", + "@esbuild/linux-ppc64": "0.19.3", + "@esbuild/linux-riscv64": "0.19.3", + "@esbuild/linux-s390x": "0.19.3", + "@esbuild/linux-x64": "0.19.3", + "@esbuild/netbsd-x64": "0.19.3", + "@esbuild/openbsd-x64": "0.19.3", + "@esbuild/sunos-x64": "0.19.3", + "@esbuild/win32-arm64": "0.19.3", + "@esbuild/win32-ia32": "0.19.3", + "@esbuild/win32-x64": "0.19.3" } }, "node_modules/escalade": { @@ -5173,13 +5173,13 @@ } }, "node_modules/playwright-chromium": { - "version": "1.37.1", - "resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.37.1.tgz", - "integrity": "sha512-UMbu6AtNe3vb36VzEoHVTnsBKaPMuHJhzZm5zpBM2DeLN8A/+gTQRQyfSZzuktSSDU22acMKGvc8WU6NIjBFmQ==", + "version": "1.38.0", + "resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.38.0.tgz", + "integrity": "sha512-RoqqEMsBwOh7yfnb8hL/QEjd7O767GTqDLL6ZOg8tJtMoHc/66GS6Dl3ODWhLxrkAk6gVkprB0H1RYHnT9F7dg==", "dev": true, "hasInstallScript": true, "dependencies": { - "playwright-core": "1.37.1" + "playwright-core": "1.38.0" }, "bin": { "playwright": "cli.js" @@ -5189,9 +5189,9 @@ } }, "node_modules/playwright-core": { - "version": "1.37.1", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.37.1.tgz", - "integrity": "sha512-17EuQxlSIYCmEMwzMqusJ2ztDgJePjrbttaefgdsiqeLWidjYz9BxXaTaZWxH1J95SHGk6tjE+dwgWILJoUZfA==", + "version": "1.38.0", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.38.0.tgz", + "integrity": "sha512-f8z1y8J9zvmHoEhKgspmCvOExF2XdcxMW8jNRuX4vkQFrzV4MlZ55iwb5QeyiFQgOFCUolXiRHgpjSEnqvO48g==", "bin": { "playwright-core": "cli.js" }, @@ -7007,7 +7007,7 @@ "dependencies": { "@stylable/runtime": "^5.15.2", "node-eval": "^2.0.0", - "playwright-core": "^1.37.1", + "playwright-core": "^1.38.0", "rimraf": "^5.0.1" }, "engines": { @@ -7261,156 +7261,156 @@ "dev": true }, "@esbuild/android-arm": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.2.tgz", - "integrity": "sha512-tM8yLeYVe7pRyAu9VMi/Q7aunpLwD139EY1S99xbQkT4/q2qa6eA4ige/WJQYdJ8GBL1K33pPFhPfPdJ/WzT8Q==", + "version": "0.19.3", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.3.tgz", + "integrity": "sha512-Lemgw4io4VZl9GHJmjiBGzQ7ONXRfRPHcUEerndjwiSkbxzrpq0Uggku5MxxrXdwJ+pTj1qyw4jwTu7hkPsgIA==", "optional": true, "peer": true }, "@esbuild/android-arm64": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.19.2.tgz", - "integrity": "sha512-lsB65vAbe90I/Qe10OjkmrdxSX4UJDjosDgb8sZUKcg3oefEuW2OT2Vozz8ef7wrJbMcmhvCC+hciF8jY/uAkw==", + "version": "0.19.3", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.19.3.tgz", + "integrity": "sha512-w+Akc0vv5leog550kjJV9Ru+MXMR2VuMrui3C61mnysim0gkFCPOUTAfzTP0qX+HpN9Syu3YA3p1hf3EPqObRw==", "optional": true, "peer": true }, "@esbuild/android-x64": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.19.2.tgz", - "integrity": "sha512-qK/TpmHt2M/Hg82WXHRc/W/2SGo/l1thtDHZWqFq7oi24AjZ4O/CpPSu6ZuYKFkEgmZlFoa7CooAyYmuvnaG8w==", + "version": "0.19.3", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.19.3.tgz", + "integrity": "sha512-FKQJKkK5MXcBHoNZMDNUAg1+WcZlV/cuXrWCoGF/TvdRiYS4znA0m5Il5idUwfxrE20bG/vU1Cr5e1AD6IEIjQ==", "optional": true, "peer": true }, "@esbuild/darwin-arm64": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.19.2.tgz", - "integrity": "sha512-Ora8JokrvrzEPEpZO18ZYXkH4asCdc1DLdcVy8TGf5eWtPO1Ie4WroEJzwI52ZGtpODy3+m0a2yEX9l+KUn0tA==", + "version": "0.19.3", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.19.3.tgz", + "integrity": "sha512-kw7e3FXU+VsJSSSl2nMKvACYlwtvZB8RUIeVShIEY6PVnuZ3c9+L9lWB2nWeeKWNNYDdtL19foCQ0ZyUL7nqGw==", "optional": true, "peer": true }, "@esbuild/darwin-x64": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.19.2.tgz", - "integrity": "sha512-tP+B5UuIbbFMj2hQaUr6EALlHOIOmlLM2FK7jeFBobPy2ERdohI4Ka6ZFjZ1ZYsrHE/hZimGuU90jusRE0pwDw==", + "version": "0.19.3", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.19.3.tgz", + "integrity": "sha512-tPfZiwF9rO0jW6Jh9ipi58N5ZLoSjdxXeSrAYypy4psA2Yl1dAMhM71KxVfmjZhJmxRjSnb29YlRXXhh3GqzYw==", "optional": true, "peer": true }, "@esbuild/freebsd-arm64": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.2.tgz", - "integrity": "sha512-YbPY2kc0acfzL1VPVK6EnAlig4f+l8xmq36OZkU0jzBVHcOTyQDhnKQaLzZudNJQyymd9OqQezeaBgkTGdTGeQ==", + "version": "0.19.3", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.3.tgz", + "integrity": "sha512-ERDyjOgYeKe0Vrlr1iLrqTByB026YLPzTytDTz1DRCYM+JI92Dw2dbpRHYmdqn6VBnQ9Bor6J8ZlNwdZdxjlSg==", "optional": true, "peer": true }, "@esbuild/freebsd-x64": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.19.2.tgz", - "integrity": "sha512-nSO5uZT2clM6hosjWHAsS15hLrwCvIWx+b2e3lZ3MwbYSaXwvfO528OF+dLjas1g3bZonciivI8qKR/Hm7IWGw==", + "version": "0.19.3", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.19.3.tgz", + "integrity": "sha512-nXesBZ2Ad1qL+Rm3crN7NmEVJ5uvfLFPLJev3x1j3feCQXfAhoYrojC681RhpdOph8NsvKBBwpYZHR7W0ifTTA==", "optional": true, "peer": true }, "@esbuild/linux-arm": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.19.2.tgz", - "integrity": "sha512-Odalh8hICg7SOD7XCj0YLpYCEc+6mkoq63UnExDCiRA2wXEmGlK5JVrW50vZR9Qz4qkvqnHcpH+OFEggO3PgTg==", + "version": "0.19.3", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.19.3.tgz", + "integrity": "sha512-zr48Cg/8zkzZCzDHNxXO/89bf9e+r4HtzNUPoz4GmgAkF1gFAFmfgOdCbR8zMbzFDGb1FqBBhdXUpcTQRYS1cQ==", "optional": true, "peer": true }, "@esbuild/linux-arm64": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.19.2.tgz", - "integrity": "sha512-ig2P7GeG//zWlU0AggA3pV1h5gdix0MA3wgB+NsnBXViwiGgY77fuN9Wr5uoCrs2YzaYfogXgsWZbm+HGr09xg==", + "version": "0.19.3", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.19.3.tgz", + "integrity": "sha512-qXvYKmXj8GcJgWq3aGvxL/JG1ZM3UR272SdPU4QSTzD0eymrM7leiZH77pvY3UetCy0k1xuXZ+VPvoJNdtrsWQ==", "optional": true, "peer": true }, "@esbuild/linux-ia32": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.19.2.tgz", - "integrity": "sha512-mLfp0ziRPOLSTek0Gd9T5B8AtzKAkoZE70fneiiyPlSnUKKI4lp+mGEnQXcQEHLJAcIYDPSyBvsUbKUG2ri/XQ==", + "version": "0.19.3", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.19.3.tgz", + "integrity": "sha512-7XlCKCA0nWcbvYpusARWkFjRQNWNGlt45S+Q18UeS///K6Aw8bB2FKYe9mhVWy/XLShvCweOLZPrnMswIaDXQA==", "optional": true, "peer": true }, "@esbuild/linux-loong64": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.19.2.tgz", - "integrity": "sha512-hn28+JNDTxxCpnYjdDYVMNTR3SKavyLlCHHkufHV91fkewpIyQchS1d8wSbmXhs1fiYDpNww8KTFlJ1dHsxeSw==", + "version": "0.19.3", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.19.3.tgz", + "integrity": "sha512-qGTgjweER5xqweiWtUIDl9OKz338EQqCwbS9c2Bh5jgEH19xQ1yhgGPNesugmDFq+UUSDtWgZ264st26b3de8A==", "optional": true, "peer": true }, "@esbuild/linux-mips64el": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.19.2.tgz", - "integrity": "sha512-KbXaC0Sejt7vD2fEgPoIKb6nxkfYW9OmFUK9XQE4//PvGIxNIfPk1NmlHmMg6f25x57rpmEFrn1OotASYIAaTg==", + "version": "0.19.3", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.19.3.tgz", + "integrity": "sha512-gy1bFskwEyxVMFRNYSvBauDIWNggD6pyxUksc0MV9UOBD138dKTzr8XnM2R4mBsHwVzeuIH8X5JhmNs2Pzrx+A==", "optional": true, "peer": true }, "@esbuild/linux-ppc64": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.19.2.tgz", - "integrity": "sha512-dJ0kE8KTqbiHtA3Fc/zn7lCd7pqVr4JcT0JqOnbj4LLzYnp+7h8Qi4yjfq42ZlHfhOCM42rBh0EwHYLL6LEzcw==", + "version": "0.19.3", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.19.3.tgz", + "integrity": "sha512-UrYLFu62x1MmmIe85rpR3qou92wB9lEXluwMB/STDzPF9k8mi/9UvNsG07Tt9AqwPQXluMQ6bZbTzYt01+Ue5g==", "optional": true, "peer": true }, "@esbuild/linux-riscv64": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.19.2.tgz", - "integrity": "sha512-7Z/jKNFufZ/bbu4INqqCN6DDlrmOTmdw6D0gH+6Y7auok2r02Ur661qPuXidPOJ+FSgbEeQnnAGgsVynfLuOEw==", + "version": "0.19.3", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.19.3.tgz", + "integrity": "sha512-9E73TfyMCbE+1AwFOg3glnzZ5fBAFK4aawssvuMgCRqCYzE0ylVxxzjEfut8xjmKkR320BEoMui4o/t9KA96gA==", "optional": true, "peer": true }, "@esbuild/linux-s390x": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.19.2.tgz", - "integrity": "sha512-U+RinR6aXXABFCcAY4gSlv4CL1oOVvSSCdseQmGO66H+XyuQGZIUdhG56SZaDJQcLmrSfRmx5XZOWyCJPRqS7g==", + "version": "0.19.3", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.19.3.tgz", + "integrity": "sha512-LlmsbuBdm1/D66TJ3HW6URY8wO6IlYHf+ChOUz8SUAjVTuaisfuwCOAgcxo3Zsu3BZGxmI7yt//yGOxV+lHcEA==", "optional": true, "peer": true }, "@esbuild/linux-x64": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.2.tgz", - "integrity": "sha512-oxzHTEv6VPm3XXNaHPyUTTte+3wGv7qVQtqaZCrgstI16gCuhNOtBXLEBkBREP57YTd68P0VgDgG73jSD8bwXQ==", + "version": "0.19.3", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.3.tgz", + "integrity": "sha512-ogV0+GwEmvwg/8ZbsyfkYGaLACBQWDvO0Kkh8LKBGKj9Ru8VM39zssrnu9Sxn1wbapA2qNS6BiLdwJZGouyCwQ==", "optional": true, "peer": true }, "@esbuild/netbsd-x64": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.19.2.tgz", - "integrity": "sha512-WNa5zZk1XpTTwMDompZmvQLHszDDDN7lYjEHCUmAGB83Bgs20EMs7ICD+oKeT6xt4phV4NDdSi/8OfjPbSbZfQ==", + "version": "0.19.3", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.19.3.tgz", + "integrity": "sha512-o1jLNe4uzQv2DKXMlmEzf66Wd8MoIhLNO2nlQBHLtWyh2MitDG7sMpfCO3NTcoTMuqHjfufgUQDFRI5C+xsXQw==", "optional": true, "peer": true }, "@esbuild/openbsd-x64": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.19.2.tgz", - "integrity": "sha512-S6kI1aT3S++Dedb7vxIuUOb3oAxqxk2Rh5rOXOTYnzN8JzW1VzBd+IqPiSpgitu45042SYD3HCoEyhLKQcDFDw==", + "version": "0.19.3", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.19.3.tgz", + "integrity": "sha512-AZJCnr5CZgZOdhouLcfRdnk9Zv6HbaBxjcyhq0StNcvAdVZJSKIdOiPB9az2zc06ywl0ePYJz60CjdKsQacp5Q==", "optional": true, "peer": true }, "@esbuild/sunos-x64": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.19.2.tgz", - "integrity": "sha512-VXSSMsmb+Z8LbsQGcBMiM+fYObDNRm8p7tkUDMPG/g4fhFX5DEFmjxIEa3N8Zr96SjsJ1woAhF0DUnS3MF3ARw==", + "version": "0.19.3", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.19.3.tgz", + "integrity": "sha512-Acsujgeqg9InR4glTRvLKGZ+1HMtDm94ehTIHKhJjFpgVzZG9/pIcWW/HA/DoMfEyXmANLDuDZ2sNrWcjq1lxw==", "optional": true, "peer": true }, "@esbuild/win32-arm64": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.19.2.tgz", - "integrity": "sha512-5NayUlSAyb5PQYFAU9x3bHdsqB88RC3aM9lKDAz4X1mo/EchMIT1Q+pSeBXNgkfNmRecLXA0O8xP+x8V+g/LKg==", + "version": "0.19.3", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.19.3.tgz", + "integrity": "sha512-FSrAfjVVy7TifFgYgliiJOyYynhQmqgPj15pzLyJk8BUsnlWNwP/IAy6GAiB1LqtoivowRgidZsfpoYLZH586A==", "optional": true, "peer": true }, "@esbuild/win32-ia32": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.19.2.tgz", - "integrity": "sha512-47gL/ek1v36iN0wL9L4Q2MFdujR0poLZMJwhO2/N3gA89jgHp4MR8DKCmwYtGNksbfJb9JoTtbkoe6sDhg2QTA==", + "version": "0.19.3", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.19.3.tgz", + "integrity": "sha512-xTScXYi12xLOWZ/sc5RBmMN99BcXp/eEf7scUC0oeiRoiT5Vvo9AycuqCp+xdpDyAU+LkrCqEpUS9fCSZF8J3Q==", "optional": true, "peer": true }, "@esbuild/win32-x64": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.19.2.tgz", - "integrity": "sha512-tcuhV7ncXBqbt/Ybf0IyrMcwVOAPDckMK9rXNHtF17UTK18OKLpg08glminN06pt2WCoALhXdLfSPbVvK/6fxw==", + "version": "0.19.3", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.19.3.tgz", + "integrity": "sha512-FbUN+0ZRXsypPyWE2IwIkVjDkDnJoMJARWOcFZn4KPPli+QnKqF0z1anvfaYe3ev5HFCpRDLLBDHyOALLppWHw==", "optional": true, "peer": true }, @@ -7783,7 +7783,7 @@ "requires": { "@stylable/runtime": "^5.15.2", "node-eval": "^2.0.0", - "playwright-core": "^1.37.1", + "playwright-core": "^1.38.0", "rimraf": "^5.0.1" } }, @@ -8185,9 +8185,9 @@ "dev": true }, "@types/semver": { - "version": "7.5.1", - "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.1.tgz", - "integrity": "sha512-cJRQXpObxfNKkFAZbJl2yjWtJCqELQIdShsogr1d2MilP8dKD9TE/nEKHkJgUNHdGKCQaf9HbIynuV2csLGVLg==" + "version": "7.5.2", + "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.2.tgz", + "integrity": "sha512-7aqorHYgdNO4DM36stTiGO3DvKoex9TQRwsJU6vMaFGyqpBA1MNZkz+PG3gaNUPpTAOYhT1WR7M1JyA3fbS9Cw==" }, "@types/validate-npm-package-name": { "version": "4.0.0", @@ -9210,9 +9210,9 @@ } }, "electron-to-chromium": { - "version": "1.4.519", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.519.tgz", - "integrity": "sha512-kqs9oGYL4UFVkLKhqCTgBCYZv+wZ374yABDMqlDda9HvlkQxvSr7kgf4hfWVjMieDbX+1MwPHFBsOGCMIBaFKg==" + "version": "1.4.520", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.520.tgz", + "integrity": "sha512-Frfus2VpYADsrh1lB3v/ft/WVFlVzOIm+Q0p7U7VqHI6qr7NWHYKe+Wif3W50n7JAFoBsWVsoU0+qDks6WQ60g==" }, "emoji-regex": { "version": "8.0.0", @@ -9324,33 +9324,33 @@ } }, "esbuild": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.19.2.tgz", - "integrity": "sha512-G6hPax8UbFakEj3hWO0Vs52LQ8k3lnBhxZWomUJDxfz3rZTLqF5k/FCzuNdLx2RbpBiQQF9H9onlDDH1lZsnjg==", + "version": "0.19.3", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.19.3.tgz", + "integrity": "sha512-UlJ1qUUA2jL2nNib1JTSkifQTcYTroFqRjwCFW4QYEKEsixXD5Tik9xML7zh2gTxkYTBKGHNH9y7txMwVyPbjw==", "peer": true, "requires": { - "@esbuild/android-arm": "0.19.2", - "@esbuild/android-arm64": "0.19.2", - "@esbuild/android-x64": "0.19.2", - "@esbuild/darwin-arm64": "0.19.2", - "@esbuild/darwin-x64": "0.19.2", - "@esbuild/freebsd-arm64": "0.19.2", - "@esbuild/freebsd-x64": "0.19.2", - "@esbuild/linux-arm": "0.19.2", - "@esbuild/linux-arm64": "0.19.2", - "@esbuild/linux-ia32": "0.19.2", - "@esbuild/linux-loong64": "0.19.2", - "@esbuild/linux-mips64el": "0.19.2", - "@esbuild/linux-ppc64": "0.19.2", - "@esbuild/linux-riscv64": "0.19.2", - "@esbuild/linux-s390x": "0.19.2", - "@esbuild/linux-x64": "0.19.2", - "@esbuild/netbsd-x64": "0.19.2", - "@esbuild/openbsd-x64": "0.19.2", - "@esbuild/sunos-x64": "0.19.2", - "@esbuild/win32-arm64": "0.19.2", - "@esbuild/win32-ia32": "0.19.2", - "@esbuild/win32-x64": "0.19.2" + "@esbuild/android-arm": "0.19.3", + "@esbuild/android-arm64": "0.19.3", + "@esbuild/android-x64": "0.19.3", + "@esbuild/darwin-arm64": "0.19.3", + "@esbuild/darwin-x64": "0.19.3", + "@esbuild/freebsd-arm64": "0.19.3", + "@esbuild/freebsd-x64": "0.19.3", + "@esbuild/linux-arm": "0.19.3", + "@esbuild/linux-arm64": "0.19.3", + "@esbuild/linux-ia32": "0.19.3", + "@esbuild/linux-loong64": "0.19.3", + "@esbuild/linux-mips64el": "0.19.3", + "@esbuild/linux-ppc64": "0.19.3", + "@esbuild/linux-riscv64": "0.19.3", + "@esbuild/linux-s390x": "0.19.3", + "@esbuild/linux-x64": "0.19.3", + "@esbuild/netbsd-x64": "0.19.3", + "@esbuild/openbsd-x64": "0.19.3", + "@esbuild/sunos-x64": "0.19.3", + "@esbuild/win32-arm64": "0.19.3", + "@esbuild/win32-ia32": "0.19.3", + "@esbuild/win32-x64": "0.19.3" } }, "escalade": { @@ -11086,18 +11086,18 @@ "dev": true }, "playwright-chromium": { - "version": "1.37.1", - "resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.37.1.tgz", - "integrity": "sha512-UMbu6AtNe3vb36VzEoHVTnsBKaPMuHJhzZm5zpBM2DeLN8A/+gTQRQyfSZzuktSSDU22acMKGvc8WU6NIjBFmQ==", + "version": "1.38.0", + "resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.38.0.tgz", + "integrity": "sha512-RoqqEMsBwOh7yfnb8hL/QEjd7O767GTqDLL6ZOg8tJtMoHc/66GS6Dl3ODWhLxrkAk6gVkprB0H1RYHnT9F7dg==", "dev": true, "requires": { - "playwright-core": "1.37.1" + "playwright-core": "1.38.0" } }, "playwright-core": { - "version": "1.37.1", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.37.1.tgz", - "integrity": "sha512-17EuQxlSIYCmEMwzMqusJ2ztDgJePjrbttaefgdsiqeLWidjYz9BxXaTaZWxH1J95SHGk6tjE+dwgWILJoUZfA==" + "version": "1.38.0", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.38.0.tgz", + "integrity": "sha512-f8z1y8J9zvmHoEhKgspmCvOExF2XdcxMW8jNRuX4vkQFrzV4MlZ55iwb5QeyiFQgOFCUolXiRHgpjSEnqvO48g==" }, "postcss": { "version": "8.4.29", diff --git a/package.json b/package.json index b67925923..d6611a67c 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "@types/postcss-safe-parser": "^5.0.1", "@types/react": "^18.2.21", "@types/react-dom": "^18.2.7", - "@types/semver": "^7.5.1", + "@types/semver": "^7.5.2", "@types/validate-npm-package-name": "^4.0.0", "@types/yargs": "^17.0.24", "@typescript-eslint/eslint-plugin": "^5.61.0", @@ -62,7 +62,7 @@ "mocha": "^10.2.0", "node-eval": "^2.0.0", "npm-run-all": "^4.1.5", - "playwright-chromium": "^1.37.1", + "playwright-chromium": "^1.38.0", "postcss": "^8.4.29", "promise-assist": "^2.0.1", "raw-loader": "^4.0.2", diff --git a/packages/e2e-test-kit/package.json b/packages/e2e-test-kit/package.json index 22e59ed05..1a2e42791 100644 --- a/packages/e2e-test-kit/package.json +++ b/packages/e2e-test-kit/package.json @@ -9,7 +9,7 @@ "dependencies": { "@stylable/runtime": "^5.15.2", "node-eval": "^2.0.0", - "playwright-core": "^1.37.1", + "playwright-core": "^1.38.0", "rimraf": "^5.0.1" }, "files": [ From 0bf80e7007991ee085d50a329abd8abca848758a Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Thu, 14 Sep 2023 08:29:13 +0300 Subject: [PATCH 66/81] v5.16.0 --- package-lock.json | 246 +++++++++---------- packages/build-tools/package.json | 4 +- packages/cli/package.json | 14 +- packages/code-formatter/package.json | 4 +- packages/core-test-kit/package.json | 4 +- packages/core/package.json | 2 +- packages/create-stylable-app/package.json | 2 +- packages/custom-value/package.json | 4 +- packages/dom-test-kit/package.json | 6 +- packages/e2e-test-kit/package.json | 4 +- packages/esbuild/package.json | 14 +- packages/eslint-plugin-stylable/package.json | 4 +- packages/experimental-loader/package.json | 6 +- packages/jest/package.json | 10 +- packages/language-service/package.json | 6 +- packages/module-utils/package.json | 4 +- packages/node/package.json | 8 +- packages/optimizer/package.json | 4 +- packages/rollup-plugin/package.json | 14 +- packages/runtime/package.json | 2 +- packages/schema-extract/package.json | 4 +- packages/uni-driver/package.json | 2 +- packages/webpack-extensions/package.json | 8 +- packages/webpack-plugin/package.json | 16 +- 24 files changed, 196 insertions(+), 196 deletions(-) diff --git a/package-lock.json b/package-lock.json index ec41e800a..500fc4cfc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6855,10 +6855,10 @@ }, "packages/build-tools": { "name": "@stylable/build-tools", - "version": "5.15.2", + "version": "5.16.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.15.2", + "@stylable/core": "^5.16.0", "find-config": "^1.0.0" }, "engines": { @@ -6867,17 +6867,17 @@ }, "packages/cli": { "name": "@stylable/cli", - "version": "5.15.2", + "version": "5.16.0", "license": "MIT", "dependencies": { "@file-services/node": "^8.2.0", "@file-services/types": "^8.2.0", - "@stylable/build-tools": "^5.15.2", - "@stylable/code-formatter": "^5.15.2", - "@stylable/core": "^5.15.2", - "@stylable/module-utils": "^5.15.2", - "@stylable/node": "^5.15.2", - "@stylable/optimizer": "^5.15.2", + "@stylable/build-tools": "^5.16.0", + "@stylable/code-formatter": "^5.16.0", + "@stylable/core": "^5.16.0", + "@stylable/module-utils": "^5.16.0", + "@stylable/node": "^5.16.0", + "@stylable/optimizer": "^5.16.0", "@wixc3/resolve-directory-context": "^3.0.5", "decache": "^4.6.2", "lodash.camelcase": "^4.3.0", @@ -6906,10 +6906,10 @@ }, "packages/code-formatter": { "name": "@stylable/code-formatter", - "version": "5.15.2", + "version": "5.16.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.15.2", + "@stylable/core": "^5.16.0", "@tokey/css-value-parser": "^0.1.4", "js-beautify": "^1.14.9", "postcss": "^8.4.29" @@ -6920,7 +6920,7 @@ }, "packages/core": { "name": "@stylable/core", - "version": "5.15.2", + "version": "5.16.0", "license": "MIT", "dependencies": { "@tokey/css-selector-parser": "^0.6.2", @@ -6945,11 +6945,11 @@ }, "packages/core-test-kit": { "name": "@stylable/core-test-kit", - "version": "5.15.2", + "version": "5.16.0", "license": "MIT", "dependencies": { "@file-services/memory": "^8.2.0", - "@stylable/core": "^5.15.2", + "@stylable/core": "^5.16.0", "chai": "^4.3.8", "flat": "^5.0.2", "postcss": "^8.4.29" @@ -6963,7 +6963,7 @@ "license": "MIT" }, "packages/create-stylable-app": { - "version": "5.15.2", + "version": "5.16.0", "license": "MIT", "dependencies": { "validate-npm-package-name": "^5.0.0", @@ -6978,10 +6978,10 @@ }, "packages/custom-value": { "name": "@stylable/custom-value", - "version": "5.15.2", + "version": "5.16.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.15.2" + "@stylable/core": "^5.16.0" }, "engines": { "node": ">=14.14.0" @@ -6989,11 +6989,11 @@ }, "packages/dom-test-kit": { "name": "@stylable/dom-test-kit", - "version": "5.15.2", + "version": "5.16.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.15.2", - "@stylable/runtime": "^5.15.2", + "@stylable/core": "^5.16.0", + "@stylable/runtime": "^5.16.0", "@tokey/css-selector-parser": "^0.6.2" }, "engines": { @@ -7002,10 +7002,10 @@ }, "packages/e2e-test-kit": { "name": "@stylable/e2e-test-kit", - "version": "5.15.2", + "version": "5.16.0", "license": "MIT", "dependencies": { - "@stylable/runtime": "^5.15.2", + "@stylable/runtime": "^5.16.0", "node-eval": "^2.0.0", "playwright-core": "^1.38.0", "rimraf": "^5.0.1" @@ -7019,15 +7019,15 @@ }, "packages/esbuild": { "name": "@stylable/esbuild", - "version": "5.15.2", + "version": "5.16.0", "license": "MIT", "dependencies": { - "@stylable/build-tools": "^5.15.2", - "@stylable/cli": "^5.15.2", - "@stylable/core": "^5.15.2", - "@stylable/node": "^5.15.2", - "@stylable/optimizer": "^5.15.2", - "@stylable/runtime": "^5.15.2", + "@stylable/build-tools": "^5.16.0", + "@stylable/cli": "^5.16.0", + "@stylable/core": "^5.16.0", + "@stylable/node": "^5.16.0", + "@stylable/optimizer": "^5.16.0", + "@stylable/runtime": "^5.16.0", "decache": "^4.6.2" }, "engines": { @@ -7038,20 +7038,20 @@ } }, "packages/eslint-plugin-stylable": { - "version": "5.15.2", + "version": "5.16.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.15.2", + "@stylable/core": "^5.16.0", "@typescript-eslint/utils": "^5.61.0" } }, "packages/experimental-loader": { "name": "@stylable/experimental-loader", - "version": "5.15.2", + "version": "5.16.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.15.2", - "@stylable/runtime": "^5.15.2", + "@stylable/core": "^5.16.0", + "@stylable/runtime": "^5.16.0", "css-loader": "^6.8.1", "decache": "^4.6.2", "loader-utils": "^3.2.1" @@ -7066,13 +7066,13 @@ }, "packages/jest": { "name": "@stylable/jest", - "version": "5.15.2", + "version": "5.16.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.15.2", - "@stylable/module-utils": "^5.15.2", - "@stylable/node": "^5.15.2", - "@stylable/runtime": "^5.15.2" + "@stylable/core": "^5.16.0", + "@stylable/module-utils": "^5.16.0", + "@stylable/node": "^5.16.0", + "@stylable/runtime": "^5.16.0" }, "engines": { "node": ">=14.14.0" @@ -7080,13 +7080,13 @@ }, "packages/language-service": { "name": "@stylable/language-service", - "version": "5.15.2", + "version": "5.16.0", "license": "MIT", "dependencies": { "@file-services/types": "^8.2.0", "@file-services/typescript": "^8.2.0", - "@stylable/code-formatter": "^5.15.2", - "@stylable/core": "^5.15.2", + "@stylable/code-formatter": "^5.16.0", + "@stylable/core": "^5.16.0", "@tokey/core": "^1.4.0", "@tokey/css-selector-parser": "^0.6.2", "@tokey/css-value-parser": "^0.1.4", @@ -7107,10 +7107,10 @@ }, "packages/module-utils": { "name": "@stylable/module-utils", - "version": "5.15.2", + "version": "5.16.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.15.2", + "@stylable/core": "^5.16.0", "@tokey/core": "^1.4.0", "vlq": "^2.0.4" }, @@ -7120,12 +7120,12 @@ }, "packages/node": { "name": "@stylable/node", - "version": "5.15.2", + "version": "5.16.0", "license": "MIT", "dependencies": { - "@stylable/build-tools": "^5.15.2", - "@stylable/core": "^5.15.2", - "@stylable/module-utils": "^5.15.2", + "@stylable/build-tools": "^5.16.0", + "@stylable/core": "^5.16.0", + "@stylable/module-utils": "^5.16.0", "find-config": "^1.0.0" }, "engines": { @@ -7134,10 +7134,10 @@ }, "packages/optimizer": { "name": "@stylable/optimizer", - "version": "5.15.2", + "version": "5.16.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.15.2", + "@stylable/core": "^5.16.0", "@tokey/css-selector-parser": "^0.6.2", "csso": "^5.0.5", "postcss": "^8.4.29" @@ -7148,15 +7148,15 @@ }, "packages/rollup-plugin": { "name": "@stylable/rollup-plugin", - "version": "5.15.2", + "version": "5.16.0", "license": "MIT", "dependencies": { - "@stylable/build-tools": "^5.15.2", - "@stylable/cli": "^5.15.2", - "@stylable/core": "^5.15.2", - "@stylable/node": "^5.15.2", - "@stylable/optimizer": "^5.15.2", - "@stylable/runtime": "^5.15.2", + "@stylable/build-tools": "^5.16.0", + "@stylable/cli": "^5.16.0", + "@stylable/core": "^5.16.0", + "@stylable/node": "^5.16.0", + "@stylable/optimizer": "^5.16.0", + "@stylable/runtime": "^5.16.0", "decache": "^4.6.2", "mime": "^3.0.0" }, @@ -7179,7 +7179,7 @@ }, "packages/runtime": { "name": "@stylable/runtime", - "version": "5.15.2", + "version": "5.16.0", "license": "MIT", "engines": { "node": ">=14.14.0" @@ -7187,10 +7187,10 @@ }, "packages/schema-extract": { "name": "@stylable/schema-extract", - "version": "5.15.2", + "version": "5.16.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.15.2", + "@stylable/core": "^5.16.0", "jest-docblock": "^29.7.0" }, "engines": { @@ -7199,7 +7199,7 @@ }, "packages/uni-driver": { "name": "@stylable/uni-driver", - "version": "5.15.2", + "version": "5.16.0", "license": "MIT", "engines": { "node": ">=14.14.0" @@ -7207,12 +7207,12 @@ }, "packages/webpack-extensions": { "name": "@stylable/webpack-extensions", - "version": "5.15.2", + "version": "5.16.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.15.2", - "@stylable/node": "^5.15.2", - "@stylable/webpack-plugin": "^5.15.2", + "@stylable/core": "^5.16.0", + "@stylable/node": "^5.16.0", + "@stylable/webpack-plugin": "^5.16.0", "@tokey/css-selector-parser": "^0.6.2", "find-config": "^1.0.0", "lodash.clonedeep": "^4.5.0" @@ -7226,16 +7226,16 @@ }, "packages/webpack-plugin": { "name": "@stylable/webpack-plugin", - "version": "5.15.2", + "version": "5.16.0", "license": "MIT", "dependencies": { - "@stylable/build-tools": "^5.15.2", - "@stylable/cli": "^5.15.2", - "@stylable/core": "^5.15.2", - "@stylable/module-utils": "^5.15.2", - "@stylable/node": "^5.15.2", - "@stylable/optimizer": "^5.15.2", - "@stylable/runtime": "^5.15.2", + "@stylable/build-tools": "^5.16.0", + "@stylable/cli": "^5.16.0", + "@stylable/core": "^5.16.0", + "@stylable/module-utils": "^5.16.0", + "@stylable/node": "^5.16.0", + "@stylable/optimizer": "^5.16.0", + "@stylable/runtime": "^5.16.0", "decache": "^4.6.2", "lodash.clonedeep": "^4.5.0", "postcss": "^8.4.29" @@ -7692,7 +7692,7 @@ "@stylable/build-tools": { "version": "file:packages/build-tools", "requires": { - "@stylable/core": "^5.15.2", + "@stylable/core": "^5.16.0", "find-config": "^1.0.0" } }, @@ -7701,12 +7701,12 @@ "requires": { "@file-services/node": "^8.2.0", "@file-services/types": "^8.2.0", - "@stylable/build-tools": "^5.15.2", - "@stylable/code-formatter": "^5.15.2", - "@stylable/core": "^5.15.2", - "@stylable/module-utils": "^5.15.2", - "@stylable/node": "^5.15.2", - "@stylable/optimizer": "^5.15.2", + "@stylable/build-tools": "^5.16.0", + "@stylable/code-formatter": "^5.16.0", + "@stylable/core": "^5.16.0", + "@stylable/module-utils": "^5.16.0", + "@stylable/node": "^5.16.0", + "@stylable/optimizer": "^5.16.0", "@wixc3/resolve-directory-context": "^3.0.5", "decache": "^4.6.2", "lodash.camelcase": "^4.3.0", @@ -7723,7 +7723,7 @@ "@stylable/code-formatter": { "version": "file:packages/code-formatter", "requires": { - "@stylable/core": "^5.15.2", + "@stylable/core": "^5.16.0", "@tokey/css-value-parser": "^0.1.4", "js-beautify": "^1.14.9", "postcss": "^8.4.29" @@ -7758,7 +7758,7 @@ "version": "file:packages/core-test-kit", "requires": { "@file-services/memory": "^8.2.0", - "@stylable/core": "^5.15.2", + "@stylable/core": "^5.16.0", "chai": "^4.3.8", "flat": "^5.0.2", "postcss": "^8.4.29" @@ -7767,21 +7767,21 @@ "@stylable/custom-value": { "version": "file:packages/custom-value", "requires": { - "@stylable/core": "^5.15.2" + "@stylable/core": "^5.16.0" } }, "@stylable/dom-test-kit": { "version": "file:packages/dom-test-kit", "requires": { - "@stylable/core": "^5.15.2", - "@stylable/runtime": "^5.15.2", + "@stylable/core": "^5.16.0", + "@stylable/runtime": "^5.16.0", "@tokey/css-selector-parser": "^0.6.2" } }, "@stylable/e2e-test-kit": { "version": "file:packages/e2e-test-kit", "requires": { - "@stylable/runtime": "^5.15.2", + "@stylable/runtime": "^5.16.0", "node-eval": "^2.0.0", "playwright-core": "^1.38.0", "rimraf": "^5.0.1" @@ -7790,20 +7790,20 @@ "@stylable/esbuild": { "version": "file:packages/esbuild", "requires": { - "@stylable/build-tools": "^5.15.2", - "@stylable/cli": "^5.15.2", - "@stylable/core": "^5.15.2", - "@stylable/node": "^5.15.2", - "@stylable/optimizer": "^5.15.2", - "@stylable/runtime": "^5.15.2", + "@stylable/build-tools": "^5.16.0", + "@stylable/cli": "^5.16.0", + "@stylable/core": "^5.16.0", + "@stylable/node": "^5.16.0", + "@stylable/optimizer": "^5.16.0", + "@stylable/runtime": "^5.16.0", "decache": "^4.6.2" } }, "@stylable/experimental-loader": { "version": "file:packages/experimental-loader", "requires": { - "@stylable/core": "^5.15.2", - "@stylable/runtime": "^5.15.2", + "@stylable/core": "^5.16.0", + "@stylable/runtime": "^5.16.0", "css-loader": "^6.8.1", "decache": "^4.6.2", "loader-utils": "^3.2.1" @@ -7817,10 +7817,10 @@ "@stylable/jest": { "version": "file:packages/jest", "requires": { - "@stylable/core": "^5.15.2", - "@stylable/module-utils": "^5.15.2", - "@stylable/node": "^5.15.2", - "@stylable/runtime": "^5.15.2" + "@stylable/core": "^5.16.0", + "@stylable/module-utils": "^5.16.0", + "@stylable/node": "^5.16.0", + "@stylable/runtime": "^5.16.0" } }, "@stylable/language-service": { @@ -7828,8 +7828,8 @@ "requires": { "@file-services/types": "^8.2.0", "@file-services/typescript": "^8.2.0", - "@stylable/code-formatter": "^5.15.2", - "@stylable/core": "^5.15.2", + "@stylable/code-formatter": "^5.16.0", + "@stylable/core": "^5.16.0", "@tokey/core": "^1.4.0", "@tokey/css-selector-parser": "^0.6.2", "@tokey/css-value-parser": "^0.1.4", @@ -7845,7 +7845,7 @@ "@stylable/module-utils": { "version": "file:packages/module-utils", "requires": { - "@stylable/core": "^5.15.2", + "@stylable/core": "^5.16.0", "@tokey/core": "^1.4.0", "vlq": "^2.0.4" } @@ -7853,16 +7853,16 @@ "@stylable/node": { "version": "file:packages/node", "requires": { - "@stylable/build-tools": "^5.15.2", - "@stylable/core": "^5.15.2", - "@stylable/module-utils": "^5.15.2", + "@stylable/build-tools": "^5.16.0", + "@stylable/core": "^5.16.0", + "@stylable/module-utils": "^5.16.0", "find-config": "^1.0.0" } }, "@stylable/optimizer": { "version": "file:packages/optimizer", "requires": { - "@stylable/core": "^5.15.2", + "@stylable/core": "^5.16.0", "@tokey/css-selector-parser": "^0.6.2", "csso": "^5.0.5", "postcss": "^8.4.29" @@ -7871,12 +7871,12 @@ "@stylable/rollup-plugin": { "version": "file:packages/rollup-plugin", "requires": { - "@stylable/build-tools": "^5.15.2", - "@stylable/cli": "^5.15.2", - "@stylable/core": "^5.15.2", - "@stylable/node": "^5.15.2", - "@stylable/optimizer": "^5.15.2", - "@stylable/runtime": "^5.15.2", + "@stylable/build-tools": "^5.16.0", + "@stylable/cli": "^5.16.0", + "@stylable/core": "^5.16.0", + "@stylable/node": "^5.16.0", + "@stylable/optimizer": "^5.16.0", + "@stylable/runtime": "^5.16.0", "decache": "^4.6.2", "mime": "^3.0.0" }, @@ -7892,7 +7892,7 @@ "@stylable/schema-extract": { "version": "file:packages/schema-extract", "requires": { - "@stylable/core": "^5.15.2", + "@stylable/core": "^5.16.0", "jest-docblock": "^29.7.0" } }, @@ -7902,9 +7902,9 @@ "@stylable/webpack-extensions": { "version": "file:packages/webpack-extensions", "requires": { - "@stylable/core": "^5.15.2", - "@stylable/node": "^5.15.2", - "@stylable/webpack-plugin": "^5.15.2", + "@stylable/core": "^5.16.0", + "@stylable/node": "^5.16.0", + "@stylable/webpack-plugin": "^5.16.0", "@tokey/css-selector-parser": "^0.6.2", "find-config": "^1.0.0", "lodash.clonedeep": "^4.5.0" @@ -7913,13 +7913,13 @@ "@stylable/webpack-plugin": { "version": "file:packages/webpack-plugin", "requires": { - "@stylable/build-tools": "^5.15.2", - "@stylable/cli": "^5.15.2", - "@stylable/core": "^5.15.2", - "@stylable/module-utils": "^5.15.2", - "@stylable/node": "^5.15.2", - "@stylable/optimizer": "^5.15.2", - "@stylable/runtime": "^5.15.2", + "@stylable/build-tools": "^5.16.0", + "@stylable/cli": "^5.16.0", + "@stylable/core": "^5.16.0", + "@stylable/module-utils": "^5.16.0", + "@stylable/node": "^5.16.0", + "@stylable/optimizer": "^5.16.0", + "@stylable/runtime": "^5.16.0", "decache": "^4.6.2", "lodash.clonedeep": "^4.5.0", "postcss": "^8.4.29" @@ -9433,7 +9433,7 @@ "eslint-plugin-stylable": { "version": "file:packages/eslint-plugin-stylable", "requires": { - "@stylable/core": "^5.15.2", + "@stylable/core": "^5.16.0", "@typescript-eslint/utils": "^5.61.0" } }, diff --git a/packages/build-tools/package.json b/packages/build-tools/package.json index 73a527653..198e7cbde 100644 --- a/packages/build-tools/package.json +++ b/packages/build-tools/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/build-tools", - "version": "5.15.2", + "version": "5.16.0", "description": "Collection of helper functions for Stylable based tooling.", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 20000" }, "dependencies": { - "@stylable/core": "^5.15.2", + "@stylable/core": "^5.16.0", "find-config": "^1.0.0" }, "files": [ diff --git a/packages/cli/package.json b/packages/cli/package.json index d3ef2b8c5..a2c8e04fc 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/cli", - "version": "5.15.2", + "version": "5.16.0", "description": "A low-level utility used for working with Stylable projects", "main": "dist/index.js", "bin": { @@ -14,12 +14,12 @@ "dependencies": { "@file-services/node": "^8.2.0", "@file-services/types": "^8.2.0", - "@stylable/build-tools": "^5.15.2", - "@stylable/code-formatter": "^5.15.2", - "@stylable/core": "^5.15.2", - "@stylable/module-utils": "^5.15.2", - "@stylable/node": "^5.15.2", - "@stylable/optimizer": "^5.15.2", + "@stylable/build-tools": "^5.16.0", + "@stylable/code-formatter": "^5.16.0", + "@stylable/core": "^5.16.0", + "@stylable/module-utils": "^5.16.0", + "@stylable/node": "^5.16.0", + "@stylable/optimizer": "^5.16.0", "@wixc3/resolve-directory-context": "^3.0.5", "decache": "^4.6.2", "lodash.camelcase": "^4.3.0", diff --git a/packages/code-formatter/package.json b/packages/code-formatter/package.json index dbb679335..7edcd1816 100644 --- a/packages/code-formatter/package.json +++ b/packages/code-formatter/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/code-formatter", - "version": "5.15.2", + "version": "5.16.0", "description": "A code formatting utility for Stylable stylesheets", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.15.2", + "@stylable/core": "^5.16.0", "@tokey/css-value-parser": "^0.1.4", "js-beautify": "^1.14.9", "postcss": "^8.4.29" diff --git a/packages/core-test-kit/package.json b/packages/core-test-kit/package.json index 76ff1029f..151ce22b0 100644 --- a/packages/core-test-kit/package.json +++ b/packages/core-test-kit/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/core-test-kit", - "version": "5.15.2", + "version": "5.16.0", "description": "Stylable core test-kit", "main": "dist/index.js", "scripts": { @@ -8,7 +8,7 @@ }, "dependencies": { "@file-services/memory": "^8.2.0", - "@stylable/core": "^5.15.2", + "@stylable/core": "^5.16.0", "chai": "^4.3.8", "flat": "^5.0.2", "postcss": "^8.4.29" diff --git a/packages/core/package.json b/packages/core/package.json index 6d36c3012..54237cdbe 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/core", - "version": "5.15.2", + "version": "5.16.0", "description": "CSS for Components", "main": "dist/index.js", "scripts": { diff --git a/packages/create-stylable-app/package.json b/packages/create-stylable-app/package.json index 25c244239..62c4df923 100644 --- a/packages/create-stylable-app/package.json +++ b/packages/create-stylable-app/package.json @@ -1,6 +1,6 @@ { "name": "create-stylable-app", - "version": "5.15.2", + "version": "5.16.0", "description": "Quickly create a Stylable application", "main": "dist/index.js", "bin": { diff --git a/packages/custom-value/package.json b/packages/custom-value/package.json index 8fde58805..b3555239a 100644 --- a/packages/custom-value/package.json +++ b/packages/custom-value/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/custom-value", - "version": "5.15.2", + "version": "5.16.0", "description": "Custom values (variables) for Stylable", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 20000" }, "dependencies": { - "@stylable/core": "^5.15.2" + "@stylable/core": "^5.16.0" }, "files": [ "dist", diff --git a/packages/dom-test-kit/package.json b/packages/dom-test-kit/package.json index 4396effc9..f51b86036 100644 --- a/packages/dom-test-kit/package.json +++ b/packages/dom-test-kit/package.json @@ -1,14 +1,14 @@ { "name": "@stylable/dom-test-kit", - "version": "5.15.2", + "version": "5.16.0", "description": "Stylable DOM testing utilities", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.15.2", - "@stylable/runtime": "^5.15.2", + "@stylable/core": "^5.16.0", + "@stylable/runtime": "^5.16.0", "@tokey/css-selector-parser": "^0.6.2" }, "files": [ diff --git a/packages/e2e-test-kit/package.json b/packages/e2e-test-kit/package.json index 1a2e42791..5ed0a9eb1 100644 --- a/packages/e2e-test-kit/package.json +++ b/packages/e2e-test-kit/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/e2e-test-kit", - "version": "5.15.2", + "version": "5.16.0", "description": "A collection of tools to help test Stylable components and applications from end-to-end", "main": "dist/index.js", "peerDependencies": { "webpack": "^5.30.0" }, "dependencies": { - "@stylable/runtime": "^5.15.2", + "@stylable/runtime": "^5.16.0", "node-eval": "^2.0.0", "playwright-core": "^1.38.0", "rimraf": "^5.0.1" diff --git a/packages/esbuild/package.json b/packages/esbuild/package.json index 962b2001a..6f3afd05c 100644 --- a/packages/esbuild/package.json +++ b/packages/esbuild/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/esbuild", - "version": "5.15.2", + "version": "5.16.0", "description": "Stylable plugin for esbuild", "main": "dist/index.js", "scripts": { @@ -10,12 +10,12 @@ "esbuild": ">=0.17.18" }, "dependencies": { - "@stylable/build-tools": "^5.15.2", - "@stylable/cli": "^5.15.2", - "@stylable/core": "^5.15.2", - "@stylable/node": "^5.15.2", - "@stylable/optimizer": "^5.15.2", - "@stylable/runtime": "^5.15.2", + "@stylable/build-tools": "^5.16.0", + "@stylable/cli": "^5.16.0", + "@stylable/core": "^5.16.0", + "@stylable/node": "^5.16.0", + "@stylable/optimizer": "^5.16.0", + "@stylable/runtime": "^5.16.0", "decache": "^4.6.2" }, "files": [ diff --git a/packages/eslint-plugin-stylable/package.json b/packages/eslint-plugin-stylable/package.json index 9610f8aa5..b0003b122 100644 --- a/packages/eslint-plugin-stylable/package.json +++ b/packages/eslint-plugin-stylable/package.json @@ -1,13 +1,13 @@ { "name": "eslint-plugin-stylable", - "version": "5.15.2", + "version": "5.16.0", "description": "eslint plugin for Stylable usages", "main": "dist/index.js", "scripts": { "test": "mocha \"dist/test/**/*.spec.js\" --timeout 5000" }, "dependencies": { - "@stylable/core": "^5.15.2", + "@stylable/core": "^5.16.0", "@typescript-eslint/utils": "^5.61.0" }, "keywords": [ diff --git a/packages/experimental-loader/package.json b/packages/experimental-loader/package.json index ae37264ec..c5aa35e21 100644 --- a/packages/experimental-loader/package.json +++ b/packages/experimental-loader/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/experimental-loader", - "version": "5.15.2", + "version": "5.16.0", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 20000" }, "dependencies": { - "@stylable/core": "^5.15.2", - "@stylable/runtime": "^5.15.2", + "@stylable/core": "^5.16.0", + "@stylable/runtime": "^5.16.0", "css-loader": "^6.8.1", "decache": "^4.6.2", "loader-utils": "^3.2.1" diff --git a/packages/jest/package.json b/packages/jest/package.json index f3cde5b84..1c20559e4 100644 --- a/packages/jest/package.json +++ b/packages/jest/package.json @@ -1,16 +1,16 @@ { "name": "@stylable/jest", - "version": "5.15.2", + "version": "5.16.0", "description": "Test your Stylable React components using Jest", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.15.2", - "@stylable/module-utils": "^5.15.2", - "@stylable/node": "^5.15.2", - "@stylable/runtime": "^5.15.2" + "@stylable/core": "^5.16.0", + "@stylable/module-utils": "^5.16.0", + "@stylable/node": "^5.16.0", + "@stylable/runtime": "^5.16.0" }, "files": [ "dist", diff --git a/packages/language-service/package.json b/packages/language-service/package.json index 3dbfc11e7..0e4acedd6 100644 --- a/packages/language-service/package.json +++ b/packages/language-service/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/language-service", - "version": "5.15.2", + "version": "5.16.0", "description": "Stylable Language Services - syntax highlighting, completions, hinting and more for the Stylable CSS preprocessor.", "main": "dist/index.js", "scripts": { @@ -13,8 +13,8 @@ "dependencies": { "@file-services/types": "^8.2.0", "@file-services/typescript": "^8.2.0", - "@stylable/code-formatter": "^5.15.2", - "@stylable/core": "^5.15.2", + "@stylable/code-formatter": "^5.16.0", + "@stylable/core": "^5.16.0", "@tokey/core": "^1.4.0", "@tokey/css-selector-parser": "^0.6.2", "@tokey/css-value-parser": "^0.1.4", diff --git a/packages/module-utils/package.json b/packages/module-utils/package.json index 9d8b0cf6c..0b8d7f929 100644 --- a/packages/module-utils/package.json +++ b/packages/module-utils/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/module-utils", - "version": "5.15.2", + "version": "5.16.0", "description": "Stylable module creation utilities", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.15.2", + "@stylable/core": "^5.16.0", "@tokey/core": "^1.4.0", "vlq": "^2.0.4" }, diff --git a/packages/node/package.json b/packages/node/package.json index d7e25b95f..8c688d62d 100644 --- a/packages/node/package.json +++ b/packages/node/package.json @@ -1,15 +1,15 @@ { "name": "@stylable/node", - "version": "5.15.2", + "version": "5.16.0", "description": "Integrate Stylable into your node application", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 10000" }, "dependencies": { - "@stylable/build-tools": "^5.15.2", - "@stylable/core": "^5.15.2", - "@stylable/module-utils": "^5.15.2", + "@stylable/build-tools": "^5.16.0", + "@stylable/core": "^5.16.0", + "@stylable/module-utils": "^5.16.0", "find-config": "^1.0.0" }, "files": [ diff --git a/packages/optimizer/package.json b/packages/optimizer/package.json index 415cd5af6..d92e2c246 100644 --- a/packages/optimizer/package.json +++ b/packages/optimizer/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/optimizer", - "version": "5.15.2", + "version": "5.16.0", "description": "Stylable core optimizer", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.15.2", + "@stylable/core": "^5.16.0", "@tokey/css-selector-parser": "^0.6.2", "csso": "^5.0.5", "postcss": "^8.4.29" diff --git a/packages/rollup-plugin/package.json b/packages/rollup-plugin/package.json index a778ac4a9..f41aac01b 100644 --- a/packages/rollup-plugin/package.json +++ b/packages/rollup-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/rollup-plugin", - "version": "5.15.2", + "version": "5.16.0", "description": "Stylable plugin for Rollup", "main": "dist/index.js", "scripts": { @@ -10,12 +10,12 @@ "rollup": "^2.70.0 || ^3.0.0" }, "dependencies": { - "@stylable/build-tools": "^5.15.2", - "@stylable/cli": "^5.15.2", - "@stylable/core": "^5.15.2", - "@stylable/node": "^5.15.2", - "@stylable/optimizer": "^5.15.2", - "@stylable/runtime": "^5.15.2", + "@stylable/build-tools": "^5.16.0", + "@stylable/cli": "^5.16.0", + "@stylable/core": "^5.16.0", + "@stylable/node": "^5.16.0", + "@stylable/optimizer": "^5.16.0", + "@stylable/runtime": "^5.16.0", "decache": "^4.6.2", "mime": "^3.0.0" }, diff --git a/packages/runtime/package.json b/packages/runtime/package.json index 6a29daadb..07d244e9c 100644 --- a/packages/runtime/package.json +++ b/packages/runtime/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/runtime", - "version": "5.15.2", + "version": "5.16.0", "description": "Stylable runtime DOM integration", "main": "dist/index.js", "scripts": { diff --git a/packages/schema-extract/package.json b/packages/schema-extract/package.json index c8e04dbc9..f7d376e94 100644 --- a/packages/schema-extract/package.json +++ b/packages/schema-extract/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/schema-extract", - "version": "5.15.2", + "version": "5.16.0", "description": "A utility for extracting JSON schema objects from a Stylable stylesheet", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.15.2", + "@stylable/core": "^5.16.0", "jest-docblock": "^29.7.0" }, "files": [ diff --git a/packages/uni-driver/package.json b/packages/uni-driver/package.json index 9f3765710..2d23f5d04 100644 --- a/packages/uni-driver/package.json +++ b/packages/uni-driver/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/uni-driver", - "version": "5.15.2", + "version": "5.16.0", "description": "Stylable UniDriver testing utilities", "main": "dist/index.js", "scripts": { diff --git a/packages/webpack-extensions/package.json b/packages/webpack-extensions/package.json index 725bd3caf..86b0aee3a 100644 --- a/packages/webpack-extensions/package.json +++ b/packages/webpack-extensions/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/webpack-extensions", - "version": "5.15.2", + "version": "5.16.0", "description": "Experimental Stylable webpack plugins", "main": "dist/index.js", "scripts": { @@ -10,9 +10,9 @@ "webpack": "^5.30.0" }, "dependencies": { - "@stylable/core": "^5.15.2", - "@stylable/node": "^5.15.2", - "@stylable/webpack-plugin": "^5.15.2", + "@stylable/core": "^5.16.0", + "@stylable/node": "^5.16.0", + "@stylable/webpack-plugin": "^5.16.0", "@tokey/css-selector-parser": "^0.6.2", "find-config": "^1.0.0", "lodash.clonedeep": "^4.5.0" diff --git a/packages/webpack-plugin/package.json b/packages/webpack-plugin/package.json index fcb574a7c..e5114d607 100644 --- a/packages/webpack-plugin/package.json +++ b/packages/webpack-plugin/package.json @@ -1,7 +1,7 @@ { "name": "@stylable/webpack-plugin", "description": "Webpack (5.x) plugin for Stylable modules", - "version": "5.15.2", + "version": "5.16.0", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 20000" @@ -10,13 +10,13 @@ "webpack": "^5.30.0" }, "dependencies": { - "@stylable/build-tools": "^5.15.2", - "@stylable/cli": "^5.15.2", - "@stylable/core": "^5.15.2", - "@stylable/module-utils": "^5.15.2", - "@stylable/node": "^5.15.2", - "@stylable/optimizer": "^5.15.2", - "@stylable/runtime": "^5.15.2", + "@stylable/build-tools": "^5.16.0", + "@stylable/cli": "^5.16.0", + "@stylable/core": "^5.16.0", + "@stylable/module-utils": "^5.16.0", + "@stylable/node": "^5.16.0", + "@stylable/optimizer": "^5.16.0", + "@stylable/runtime": "^5.16.0", "decache": "^4.6.2", "lodash.clonedeep": "^4.5.0", "postcss": "^8.4.29" From c9fd6a830fd8efc29ffafaadf2dc7dd260501817 Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Wed, 20 Sep 2023 17:32:06 +0300 Subject: [PATCH 67/81] ci: set v5 release flow --- .github/workflows/release3.yml | 22 ---------------------- .github/workflows/release5.yml | 20 ++++++++++++++++++++ 2 files changed, 20 insertions(+), 22 deletions(-) delete mode 100644 .github/workflows/release3.yml create mode 100644 .github/workflows/release5.yml diff --git a/.github/workflows/release3.yml b/.github/workflows/release3.yml deleted file mode 100644 index 9f7822552..000000000 --- a/.github/workflows/release3.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: release3 -on: - push: - branches: ['3.x'] -jobs: - npm: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Use Node.js 14 - uses: actions/setup-node@v3 - with: - node-version: 14 - registry-url: 'https://registry.npmjs.org/' - cache: yarn - - run: npm i -g yarn@1 - - run: yarn config set network-timeout 300000 - - run: yarn --frozen-lockfile - - run: yarn build - - run: npx pleb@5 publish --tag release-3.x - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/release5.yml b/.github/workflows/release5.yml new file mode 100644 index 000000000..5df351882 --- /dev/null +++ b/.github/workflows/release5.yml @@ -0,0 +1,20 @@ +name: release5 +on: + push: + branches: ['5.x'] +jobs: + npm: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Use Node.js 16 + uses: actions/setup-node@v3 + with: + node-version: 16 + registry-url: 'https://registry.npmjs.org/' + cache: npm + - run: npm ci + - run: npm run build + - run: npx pleb@5 publish --tag release-5.x + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} From af2e58769809850ac8333f1fcaf331110cd65343 Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Thu, 5 Oct 2023 14:25:41 +0300 Subject: [PATCH 68/81] fix: at-rule mixin collecting extra rules regression (#2915) --- packages/core/src/helpers/rule.ts | 5 ++-- packages/core/test/features/st-mixin.spec.ts | 27 ++++++++++++++++++++ 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/packages/core/src/helpers/rule.ts b/packages/core/src/helpers/rule.ts index 409162eba..f04c36d2b 100644 --- a/packages/core/src/helpers/rule.ts +++ b/packages/core/src/helpers/rule.ts @@ -106,13 +106,14 @@ export function createSubsetAst containsPrefix(node)); if (matchesSelectors.length) { - isNestedInMixin = true; + atruleHasMixin = true; scopeSelector = stringifySelector( matchesSelectors.map((selectorNode) => { if (!isRoot) { @@ -133,7 +134,7 @@ export function createSubsetAst { shouldReportNoDiagnostics(meta); }); + it('should collect only st-scope nested rules', () => { + const { sheets } = testStylableCore({ + '/mix.st.css': ` + .before { color: RED; } + @st-scope .mix { + .inside { color: green; } + } + .after { color: RED; } + `, + '/entry.st.css': ` + @st-import [mix] from './mix.st.css'; + + .into {-st-mixin: mix;} + `, + }); + + const { meta } = sheets['/entry.st.css']; + + shouldReportNoDiagnostics(meta); + + expect(deindent(meta.targetAst!.toString())).to.eql( + deindent(` + .entry__into {} + .entry__into .mix__inside { color: green; } + `) + ); + }); }); describe(`higher-level feature integrations`, () => { // ToDo: move to their higher level feature spec when created From cf9706db6c52c52865648a652c125c31357d8999 Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Sun, 1 Oct 2023 12:50:14 +0300 Subject: [PATCH 69/81] fix: initial mapped-selector infer with experimentalSelectorInference (#2908) --- packages/core/src/stylable-transformer.ts | 21 +++++++++++++-- .../test/features/css-pseudo-element.spec.ts | 26 +++++++++++++++++++ 2 files changed, 45 insertions(+), 2 deletions(-) diff --git a/packages/core/src/stylable-transformer.ts b/packages/core/src/stylable-transformer.ts index b7c21a824..c893d7851 100644 --- a/packages/core/src/stylable-transformer.ts +++ b/packages/core/src/stylable-transformer.ts @@ -505,7 +505,7 @@ export class StylableTransformer { // reset current anchor for all except last selector context.inferredSelector = new InferredSelector( this, - context.inferredSelectorContext + context.inferredSelectorStart ); } } @@ -680,7 +680,10 @@ export class InferredSelector { constructor( private api: Pick< StylableTransformer, - 'getResolvedSymbols' | 'createSelectorContext' | 'scopeSelectorAst' + | 'getResolvedSymbols' + | 'createSelectorContext' + | 'scopeSelectorAst' + | 'createInferredSelector' >, resolve?: InferredResolve[] | InferredSelector ) { @@ -886,6 +889,17 @@ export class InferredSelector { selectorStr ); internalContext.isStandaloneSelector = isFirstInSelector; + if (!structureMode && experimentalSelectorInference) { + internalContext.inferredSelectorStart.set( + this.api.createInferredSelector(meta, { + name: 'root', + type: 'class', + }) + ); + internalContext.inferredSelector.set( + internalContext.inferredSelectorStart + ); + } const customAstSelectors = this.api.scopeSelectorAst(internalContext); const inferred = customAstSelectors.length === 1 || experimentalSelectorInference @@ -1020,6 +1034,8 @@ export class ScopeContext { public lastInferredSelectorNode: SelectorNode | undefined; // selector is not a continuation of another selector public isStandaloneSelector = true; + // used as initial selector + public inferredSelectorStart: InferredSelector; // used as initial selector or after combinators public inferredSelectorContext: InferredSelector; // used for nesting selector @@ -1072,6 +1088,7 @@ export class ScopeContext { // set selector data this.selectorStr = selectorStr || stringifySelector(selectorAst); this.inferredSelectorContext = new InferredSelector(this.transformer, inferredContext); + this.inferredSelectorStart = new InferredSelector(this.transformer, inferredContext); this.inferredSelectorNest = inferredSelectorNest || this.inferredSelectorContext.clone(); this.inferredSelector = new InferredSelector( this.transformer, diff --git a/packages/core/test/features/css-pseudo-element.spec.ts b/packages/core/test/features/css-pseudo-element.spec.ts index 9dedaed3b..85a499440 100644 --- a/packages/core/test/features/css-pseudo-element.spec.ts +++ b/packages/core/test/features/css-pseudo-element.spec.ts @@ -324,6 +324,32 @@ describe('features/css-pseudo-element', () => { } ); }); + it('should transform custom element with multiple selector inside nested pseudo-classes', () => { + // ToDo: with experimentalSelectorInference=true, the nested selector will be transformed inlined + testStylableCore( + ` + @custom-selector :--part .partA, .partB; + @custom-selector :--nestedPart ::part, .partC; + + /* @rule(1 level) .entry__root:not(.entry__partA,.entry__partB) */ + .root:not(::part) {} + + /* + notice: partB is pushed at the end because of how custom selectors are + processed atm. + + @rule(2 levels) .entry__root:not(.entry__partA,.entry__partC,.entry__partB) + */ + .root:not(::nestedPart) {} + + /* @rule(custom-selector syntax) + .entry__root:not(.entry__partA, .entry__partB) + */ + .root:not(:--part) {} + `, + { stylableConfig: { experimentalSelectorInference: true } } + ); + }); }); }); describe('st-import', () => { From b094f8a01d666e0de38b063d37e24171976085ac Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Sun, 1 Oct 2023 13:31:22 +0300 Subject: [PATCH 70/81] fix: mixin bug with experimentalSelectorInference (#2909) --- packages/core/src/features/feature.ts | 8 +++- packages/core/src/features/st-scope.ts | 6 ++- packages/core/src/stylable-transformer.ts | 1 + packages/core/test/features/st-mixin.spec.ts | 45 ++++++++++++++++++++ 4 files changed, 57 insertions(+), 3 deletions(-) diff --git a/packages/core/src/features/feature.ts b/packages/core/src/features/feature.ts index 9f5d5793b..2e54fbf8f 100644 --- a/packages/core/src/features/feature.ts +++ b/packages/core/src/features/feature.ts @@ -1,5 +1,10 @@ import type { StylableMeta } from '../stylable-meta'; -import type { ScopeContext, StylableExports, StylableTransformer } from '../stylable-transformer'; +import type { + InferredSelector, + ScopeContext, + StylableExports, + StylableTransformer, +} from '../stylable-transformer'; import type { StylableResolver, MetaResolvedSymbols } from '../stylable-resolver'; import type { StylableEvaluator, EvalValueData } from '../functions'; import type * as postcss from 'postcss'; @@ -22,6 +27,7 @@ export interface FeatureTransformContext extends FeatureContext { evaluator: StylableEvaluator; getResolvedSymbols: (meta: StylableMeta) => MetaResolvedSymbols; passedThrough?: string[]; + inferredSelectorMixin?: InferredSelector; } export interface NodeTypes { diff --git a/packages/core/src/features/st-scope.ts b/packages/core/src/features/st-scope.ts index ceabf4494..2bea117f9 100644 --- a/packages/core/src/features/st-scope.ts +++ b/packages/core/src/features/st-scope.ts @@ -42,12 +42,14 @@ export const hooks = createFeature<{ IMMUTABLE_SELECTOR: ImmutablePseudoClass }> toRemove.push(() => node.replaceWith(node.nodes || [])); } }, - transformAtRuleNode({ context: { meta }, atRule, transformer }) { + transformAtRuleNode({ context: { meta, inferredSelectorMixin }, atRule, transformer }) { if (isStScopeStatement(atRule)) { const { selector, inferredSelector } = transformer.scopeSelector( meta, atRule.params, - atRule + atRule, + undefined, + inferredSelectorMixin ); // transform selector in params atRule.params = selector; diff --git a/packages/core/src/stylable-transformer.ts b/packages/core/src/stylable-transformer.ts index c893d7851..96ff4583d 100644 --- a/packages/core/src/stylable-transformer.ts +++ b/packages/core/src/stylable-transformer.ts @@ -208,6 +208,7 @@ export class StylableTransformer { evaluator, getResolvedSymbols: this.getResolvedSymbols, passedThrough: path.slice(), + inferredSelectorMixin, }; const transformResolveOptions = { context: transformContext, diff --git a/packages/core/test/features/st-mixin.spec.ts b/packages/core/test/features/st-mixin.spec.ts index ea32bb750..2d5dc2786 100644 --- a/packages/core/test/features/st-mixin.spec.ts +++ b/packages/core/test/features/st-mixin.spec.ts @@ -2021,6 +2021,51 @@ describe(`features/st-mixin`, () => { shouldReportNoDiagnostics(meta); }); + it('should collect mixin from st-sope selector (experimentalSelectorInference)', () => { + const { sheets } = testStylableCore( + { + '/mix.st.css': ` + @st-scope .mix { + .part { color: green; } + .part2 { color: purple; } + &:state { color: gold; } + } + @st-scope .mix.compoundAfter { + .part { color: blue; } + } + @st-scope .compoundBefore.mix { + .part { color: pink; } + } + @st-scope .mix, .notMix, .mix[extra] { + .part { color: white; } + } + .mix { + -st-states: state; + } + `, + '/entry.st.css': ` + @st-import [mix] from './mix.st.css'; + + /* + @rule(descendant)[1] .entry__into .mix__part {color: green;} + @rule(descendant2)[2] .entry__into .mix__part2 {color: purple;} + @rule(state)[3] .entry__into.mix--state {color: gold;} + @rule(+after)[4] .entry__into.mix__compoundAfter .mix__part {color: blue;} + @rule(+before)[5] .entry__into.mix__compoundBefore .mix__part {color: pink;} + @rule(multi selector)[6] .entry__into .mix__part, .entry__into[extra] .mix__part {color: white;} + */ + .into { + -st-mixin: mix; + } + `, + }, + { stylableConfig: { experimentalSelectorInference: true } } + ); + + const { meta } = sheets['/entry.st.css']; + + shouldReportNoDiagnostics(meta); + }); it('should collect only st-scope nested rules', () => { const { sheets } = testStylableCore({ '/mix.st.css': ` From 231cd34098380ddac6f0f91692a33b4148295917 Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Thu, 5 Oct 2023 14:49:07 +0300 Subject: [PATCH 71/81] chore: updated pleb.config with deps to ignore --- pleb.config.mjs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pleb.config.mjs b/pleb.config.mjs index 8f024aaad..3241b4c9d 100644 --- a/pleb.config.mjs +++ b/pleb.config.mjs @@ -16,5 +16,13 @@ export default { name: '@wixc3/resolve-directory-context', reason: 'drop node 14', }, + { + name: 'balanced-match', + reason: 'esm only', + }, + { + name: 'flat', + reason: 'esm only', + }, ], }; From 605e63771699902fa6161c9920f7b0ace46ca452 Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Thu, 5 Oct 2023 14:53:02 +0300 Subject: [PATCH 72/81] chore(deps): upgrade to latest stable --- package-lock.json | 710 +++++++++++++------------ package.json | 44 +- packages/cli/package.json | 4 +- packages/code-formatter/package.json | 2 +- packages/core-test-kit/package.json | 6 +- packages/core/package.json | 2 +- packages/e2e-test-kit/package.json | 4 +- packages/language-service/package.json | 14 +- packages/optimizer/package.json | 2 +- packages/webpack-plugin/package.json | 2 +- 10 files changed, 404 insertions(+), 386 deletions(-) diff --git a/package-lock.json b/package-lock.json index 500fc4cfc..91593772f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,43 +10,43 @@ "packages/*" ], "devDependencies": { - "@file-services/memory": "^8.2.0", - "@file-services/node": "^8.2.0", + "@file-services/memory": "^8.3.1", + "@file-services/node": "^8.3.1", "@rollup/plugin-html": "^1.0.2", "@rollup/plugin-node-resolve": "^15.2.1", - "@types/balanced-match": "^1.0.3", + "@types/balanced-match": "^1.0.4", "@types/chai": "^4.3.6", "@types/chai-subset": "^1.3.3", "@types/css-selector-tokenizer": "^0.7.2", "@types/cssesc": "^3.0.0", "@types/csso": "^5.0.1", - "@types/find-config": "^1.0.1", - "@types/flat": "^5.0.2", - "@types/js-beautify": "^1.14.0", - "@types/json-schema": "^7.0.12", + "@types/find-config": "^1.0.2", + "@types/flat": "^5.0.3", + "@types/js-beautify": "^1.14.1", + "@types/json-schema": "^7.0.13", "@types/lodash.camelcase": "^4.3.7", "@types/lodash.clonedeep": "^4.5.7", "@types/lodash.clonedeepwith": "^4.5.7", "@types/lodash.findlast": "^4.6.7", "@types/lodash.upperfirst": "^4.3.7", - "@types/memory-fs": "^0.3.3", - "@types/mime": "^3.0.1", - "@types/mocha": "^10.0.1", + "@types/memory-fs": "^0.3.4", + "@types/mime": "^3.0.2", + "@types/mocha": "^10.0.2", "@types/node": "14", - "@types/postcss-safe-parser": "^5.0.1", - "@types/react": "^18.2.21", - "@types/react-dom": "^18.2.7", - "@types/semver": "^7.5.2", + "@types/postcss-safe-parser": "^5.0.2", + "@types/react": "^18.2.25", + "@types/react-dom": "^18.2.10", + "@types/semver": "^7.5.3", "@types/validate-npm-package-name": "^4.0.0", - "@types/yargs": "^17.0.24", + "@types/yargs": "^17.0.26", "@typescript-eslint/eslint-plugin": "^5.61.0", "@typescript-eslint/parser": "^5.61.0", - "autoprefixer": "^10.4.15", + "autoprefixer": "^10.4.16", "c8": "^8.0.1", - "chai": "^4.3.8", + "chai": "^4.3.10", "chai-subset": "^1.6.0", "create-listening-server": "^2.1.0", - "eslint": "^8.49.0", + "eslint": "^8.50.0", "eslint-config-prettier": "^9.0.0", "file-loader": "^6.2.0", "html-webpack-plugin": "^5.5.3", @@ -54,14 +54,14 @@ "mocha": "^10.2.0", "node-eval": "^2.0.0", "npm-run-all": "^4.1.5", - "playwright-chromium": "^1.38.0", - "postcss": "^8.4.29", + "playwright-chromium": "^1.38.1", + "postcss": "^8.4.31", "promise-assist": "^2.0.1", "raw-loader": "^4.0.2", "react": "^18.2.0", "react-dom": "^18.2.0", - "rimraf": "^5.0.1", - "rollup": "^3.29.1", + "rimraf": "^5.0.5", + "rollup": "^3.29.4", "source-map": "^0.7.4", "source-map-loader": "^4.0.1", "style-loader": "^3.3.3", @@ -487,65 +487,65 @@ } }, "node_modules/@eslint/js": { - "version": "8.49.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.49.0.tgz", - "integrity": "sha512-1S8uAY/MTJqVx0SC4epBq+N2yhuwtNwLbJYNZyhL2pO1ZVKn5HFXav5T41Ryzy9K9V7ZId2JB2oy/W4aCd9/2w==", + "version": "8.50.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.50.0.tgz", + "integrity": "sha512-NCC3zz2+nvYd+Ckfh87rA47zfu2QsQpvc6k1yzTk+b9KzRj0wkGa8LSoGOXN6Zv4lRf/EIoZ80biDh9HOI+RNQ==", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } }, "node_modules/@file-services/memory": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/@file-services/memory/-/memory-8.2.0.tgz", - "integrity": "sha512-83BNy2WOn7hPK6tIF6MjvAz0Jk35RA1mB4GrhQiqaUsdzhRBDk4ksC8wzeEZ186a8tV4FSF0pRSGATU6KgzfoQ==", + "version": "8.3.1", + "resolved": "https://registry.npmjs.org/@file-services/memory/-/memory-8.3.1.tgz", + "integrity": "sha512-yAF6R3iccXIJUoKR2xV8ong1BTedczdZwWoZCYBQbtX5P1KDZGkO+3+aRCPFyCKXjpSE21MLRP+xwSSNwdifTA==", "dependencies": { - "@file-services/path": "^8.2.0", - "@file-services/types": "^8.2.0", - "@file-services/utils": "^8.2.0" + "@file-services/path": "^8.3.1", + "@file-services/types": "^8.3.1", + "@file-services/utils": "^8.3.1" } }, "node_modules/@file-services/node": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/@file-services/node/-/node-8.2.0.tgz", - "integrity": "sha512-6AR7V6zQNYUvfhe6ibQTGg/Z39SEIl0Z0LEJfEYz8s9BQqcYLoY+oVi0P5deH27J53pZv0izeIpavf+qn0lL4Q==", + "version": "8.3.1", + "resolved": "https://registry.npmjs.org/@file-services/node/-/node-8.3.1.tgz", + "integrity": "sha512-vE3CXrWAdWj9AQlN8/q7U6XS2d4yGS7B8VUtkFAVcYoeG6DGHh5HnnABKefml9Ow+fp+48UsERcoNKPlSoUVEQ==", "dependencies": { - "@file-services/types": "^8.2.0", - "@file-services/utils": "^8.2.0" + "@file-services/types": "^8.3.1", + "@file-services/utils": "^8.3.1" }, "engines": { "node": ">=14" } }, "node_modules/@file-services/path": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/@file-services/path/-/path-8.2.0.tgz", - "integrity": "sha512-D2qBt4jXSHjLOmxYJCtdTMVg5GJlQcQwOvPqLT7vJCpHOzm7pWECPP+6n/rJsr0aMbgNemIcS/uUbBAw39pyYw==", + "version": "8.3.1", + "resolved": "https://registry.npmjs.org/@file-services/path/-/path-8.3.1.tgz", + "integrity": "sha512-pzcBDtlFrl/2yFOCuS/FxMyD85jQYGVa+S7FNr3pFsIyYX7ohSMgbUsXB/A2Hzo7Xe8+e6HgOMUqhNwDFKEJew==", "dependencies": { - "@file-services/types": "^8.2.0" + "@file-services/types": "^8.3.1" } }, "node_modules/@file-services/types": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/@file-services/types/-/types-8.2.0.tgz", - "integrity": "sha512-ckjiFoX6PoaYOemqaUTEcNBl13NTJjvADbxiVneHScSpSK3RNqBNMwT+gZ8f++E+nITK5spJysPdxN2krouAZA==" + "version": "8.3.1", + "resolved": "https://registry.npmjs.org/@file-services/types/-/types-8.3.1.tgz", + "integrity": "sha512-I2oRF38cF6yGMF02d8oLTd07+62pRI0D23LcHaVMXib5A2gB4QOhaQYr9OjIBR9RIaG2P6Byo4y4qvkmgUzYgg==" }, "node_modules/@file-services/typescript": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/@file-services/typescript/-/typescript-8.2.0.tgz", - "integrity": "sha512-9h5+IEiaQufrASYAoO7cJQAf2/Ug4qFQIRdLZxZEplRp37h93Hq88jO1v1pkrLIPipbcQWUB7xDkJrgZCOCEAQ==", + "version": "8.3.1", + "resolved": "https://registry.npmjs.org/@file-services/typescript/-/typescript-8.3.1.tgz", + "integrity": "sha512-FjXHchxXkpG/1E3P0SCSX9BJYJxvxbah0iJQz+vG74XABSEFASPFQu7ruRRmusVRCUuz4WjxX/vpqeHqhlhB1g==", "dependencies": { - "@file-services/types": "^8.2.0" + "@file-services/types": "^8.3.1" }, "peerDependencies": { "typescript": ">=2.8.0" } }, "node_modules/@file-services/utils": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/@file-services/utils/-/utils-8.2.0.tgz", - "integrity": "sha512-wn/K0Rp3rTFQIST2Rh8qa3O1pDeLfIOY31anV7mQf3QnNzDmln7OlhRJsrQMJHV5yRzfC2lTfDc4WoDpi7OeYQ==", + "version": "8.3.1", + "resolved": "https://registry.npmjs.org/@file-services/utils/-/utils-8.3.1.tgz", + "integrity": "sha512-BxIto/E1tRfXswYE1fVicATeDpYAYH2PUHq/jM5z394/jirwJLXSNUmYr8knceMbHBVfCG0ZHL83EgqMt5sgVw==", "dependencies": { - "@file-services/types": "^8.2.0" + "@file-services/types": "^8.3.1" } }, "node_modules/@humanwhocodes/config-array": { @@ -952,9 +952,9 @@ } }, "node_modules/@types/balanced-match": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@types/balanced-match/-/balanced-match-1.0.3.tgz", - "integrity": "sha512-nBZFt2r4snsIMicyNwgdga4wcoJtGRF39xX4Le3GjA2oSJcQlGAD8XrmlRddYcINFK8dypxJEUS6bVgKBQ7FyA==", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@types/balanced-match/-/balanced-match-1.0.4.tgz", + "integrity": "sha512-sLf9sSU59HlbUuaHGkWRp7T9fEoVQALBeu5gtXTU6NhSAIazEsPTJmnYuqo+0ZsgWw7e63r478wo8ba5r5dL5A==", "dev": true }, "node_modules/@types/chai": { @@ -1023,15 +1023,15 @@ "integrity": "sha512-LG4opVs2ANWZ1TJoKc937iMmNstM/d0ae1vNbnBvBhqCSezgVUOzcLCqbI5elV8Vy6WKwKjaqR+zO9VKirBBCA==" }, "node_modules/@types/find-config": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@types/find-config/-/find-config-1.0.1.tgz", - "integrity": "sha512-H4DFIQMwxCKRgVWMSqALg6aowTOgZi5D4pSPBBuOQFJLRwfNZaByhC9+s870CZgTRJoyVg5J+iesdF5uvnJ0mA==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@types/find-config/-/find-config-1.0.2.tgz", + "integrity": "sha512-ipWGLU8pu1+pL6IDRi4q/JpNvxaONv+9Bjmy+IkqS1hzuixdRf4Qv1bRJ3hLf0k7fmQBXUfSlmyBqzNG0oHIBQ==", "dev": true }, "node_modules/@types/flat": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/@types/flat/-/flat-5.0.2.tgz", - "integrity": "sha512-3zsplnP2djeps5P9OyarTxwRpMLoe5Ash8aL9iprw0JxB+FAHjY+ifn4yZUuW4/9hqtnmor6uvjSRzJhiVbrEQ==", + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@types/flat/-/flat-5.0.3.tgz", + "integrity": "sha512-uG/4x6EXYbq4VDsBJLNDHQAQmtRPg3x4tAXcBspxlnEknz8NiJxnHoxSiJKGNExiS00q4mJNvuEBgVA3jsDIdQ==", "dev": true }, "node_modules/@types/html-minifier-terser": { @@ -1047,15 +1047,15 @@ "dev": true }, "node_modules/@types/js-beautify": { - "version": "1.14.0", - "resolved": "https://registry.npmjs.org/@types/js-beautify/-/js-beautify-1.14.0.tgz", - "integrity": "sha512-OrJo4dEKd/8YKwGWuRP7qC/NoxNQCVsjAT7aHhgoIrNJaaDudLwX8husFrklktmXKIFbXevxzrLyEhB1842zjg==", + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@types/js-beautify/-/js-beautify-1.14.1.tgz", + "integrity": "sha512-pjbakQH0LywQL0wUFIWbxr5GZTnnqMD5wavqOpf61xz83V3V1uyhyPSWWNSoXZ153TF3XBgRTa07W1XDgFNYfw==", "dev": true }, "node_modules/@types/json-schema": { - "version": "7.0.12", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.12.tgz", - "integrity": "sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA==" + "version": "7.0.13", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.13.tgz", + "integrity": "sha512-RbSSoHliUbnXj3ny0CNFOoxrIDV6SUGyStHsvDqosw6CkdPV8TtWGlfecuK4ToyMEAql6pzNxgCFKanovUzlgQ==" }, "node_modules/@types/lodash": { "version": "4.14.198", @@ -1109,24 +1109,24 @@ } }, "node_modules/@types/memory-fs": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/@types/memory-fs/-/memory-fs-0.3.3.tgz", - "integrity": "sha512-rLEYzl1xODshz+Lm+YX8NYws8Xw7/qcYbQInMkotl96VpLZmUvoCfYYGxfajMSiugANV02QO5Fc+R98KKeE4gQ==", + "version": "0.3.4", + "resolved": "https://registry.npmjs.org/@types/memory-fs/-/memory-fs-0.3.4.tgz", + "integrity": "sha512-0478LWAQArPMJt1gRglVEZcHyqBdIG+pbTWG+tOrt0XwlfCh+2cpfCe93UnJ8G0q8ZXXA8LI37o5sz91unQcZQ==", "dev": true, "dependencies": { "@types/node": "*" } }, "node_modules/@types/mime": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@types/mime/-/mime-3.0.1.tgz", - "integrity": "sha512-Y4XFY5VJAuw0FgAqPNd6NNoV44jbq9Bz2L7Rh/J6jLTiHBSBJa9fxqQIvkIld4GsoDOcCbvzOUAbLPsSKKg+uA==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@types/mime/-/mime-3.0.2.tgz", + "integrity": "sha512-Wj+fqpTLtTbG7c0tH47dkahefpLKEbB+xAZuLq7b4/IDHPl/n6VoXcyUQ2bypFlbSwvCr0y+bD4euTTqTJsPxQ==", "dev": true }, "node_modules/@types/mocha": { - "version": "10.0.1", - "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.1.tgz", - "integrity": "sha512-/fvYntiO1GeICvqbQ3doGDIP97vWmvFt83GKguJ6prmQM2iXZfFcq6YE8KteFyRtX2/h5Hf91BYvPodJKFYv5Q==", + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.2.tgz", + "integrity": "sha512-NaHL0+0lLNhX6d9rs+NSt97WH/gIlRHmszXbQ/8/MV/eVcFNdeJ/GYhrFuUc8K7WuPhRhTSdMkCp8VMzhUq85w==", "dev": true }, "node_modules/@types/node": { @@ -1135,9 +1135,9 @@ "integrity": "sha512-NWJMpBL2Xs3MY93yrD6YrrTKep8eIA6iMnfG4oIc6LrTRlBZgiSCGiY3V/Owlp6umIBLyKb4F8Q7hxWatjYH5A==" }, "node_modules/@types/postcss-safe-parser": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/@types/postcss-safe-parser/-/postcss-safe-parser-5.0.1.tgz", - "integrity": "sha512-/yt27wx9N+HmpCAUS/Wyk1d17qFCmi8cYAnIDar0U0jO4QMG1UFqsvVhg7Cy4xjmEAfAzeyBJmXH5Sti4/fDOQ==", + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/@types/postcss-safe-parser/-/postcss-safe-parser-5.0.2.tgz", + "integrity": "sha512-NgpL+Hqcrr+kdQFJCPi2X4nOAAnaNghJyXLR0kgM2soUPg3rwO9uZ4eXP/TRSpfN9U+rT7+hOwaSP/ESL7mR0A==", "dev": true, "dependencies": { "postcss": "^8.4.4" @@ -1150,9 +1150,9 @@ "dev": true }, "node_modules/@types/react": { - "version": "18.2.21", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.21.tgz", - "integrity": "sha512-neFKG/sBAwGxHgXiIxnbm3/AAVQ/cMRS93hvBpg8xYRbeQSPVABp9U2bRnPf0iI4+Ucdv3plSxKK+3CW2ENJxA==", + "version": "18.2.25", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.25.tgz", + "integrity": "sha512-24xqse6+VByVLIr+xWaQ9muX1B4bXJKXBbjszbld/UEDslGLY53+ZucF44HCmLbMPejTzGG9XgR+3m2/Wqu1kw==", "dev": true, "dependencies": { "@types/prop-types": "*", @@ -1161,9 +1161,9 @@ } }, "node_modules/@types/react-dom": { - "version": "18.2.7", - "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.7.tgz", - "integrity": "sha512-GRaAEriuT4zp9N4p1i8BDBYmEyfo+xQ3yHjJU4eiK5NDa1RmUZG+unZABUTK4/Ox/M+GaHwb6Ow8rUITrtjszA==", + "version": "18.2.10", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.10.tgz", + "integrity": "sha512-5VEC5RgXIk1HHdyN1pHlg0cOqnxHzvPGpMMyGAP5qSaDRmyZNDaQ0kkVAkK6NYlDhP6YBID3llaXlmAS/mdgCA==", "dev": true, "dependencies": { "@types/react": "*" @@ -1182,9 +1182,9 @@ "dev": true }, "node_modules/@types/semver": { - "version": "7.5.2", - "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.2.tgz", - "integrity": "sha512-7aqorHYgdNO4DM36stTiGO3DvKoex9TQRwsJU6vMaFGyqpBA1MNZkz+PG3gaNUPpTAOYhT1WR7M1JyA3fbS9Cw==" + "version": "7.5.3", + "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.3.tgz", + "integrity": "sha512-OxepLK9EuNEIPxWNME+C6WwbRAOOI2o2BaQEGzz5Lu2e4Z5eDnEo+/aVEDMIXywoJitJ7xWd641wrGLZdtwRyw==" }, "node_modules/@types/validate-npm-package-name": { "version": "4.0.0", @@ -1193,9 +1193,9 @@ "dev": true }, "node_modules/@types/yargs": { - "version": "17.0.24", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.24.tgz", - "integrity": "sha512-6i0aC7jV6QzQB8ne1joVZ0eSFIstHsCrobmOtghM11yGlH0j43FKL2UhWdELkyps0zuf7qVTUVCCR+tgSlyLLw==", + "version": "17.0.26", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.26.tgz", + "integrity": "sha512-Y3vDy2X6zw/ZCumcwLpdhM5L7jmyGpmBCTYMHDLqT2IKVMYRRLdv6ZakA+wxhra6Z/3bwhNbNl9bDGXaFU+6rw==", "dev": true, "dependencies": { "@types/yargs-parser": "*" @@ -1781,9 +1781,9 @@ } }, "node_modules/autoprefixer": { - "version": "10.4.15", - "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.15.tgz", - "integrity": "sha512-KCuPB8ZCIqFdA4HwKXsvz7j6gvSDNhDP7WnUjBleRkKjPdvCmHFuQ77ocavI8FT6NdvlBnE2UFr2H4Mycn8Vew==", + "version": "10.4.16", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.16.tgz", + "integrity": "sha512-7vd3UC6xKp0HLfua5IjZlcXvGAGy7cBAXTg2lyQ/8WpNhd6SiZ8Be+xm3FyBSYJx5GKcpRCzBh7RH4/0dnY+uQ==", "dev": true, "funding": [ { @@ -1801,8 +1801,8 @@ ], "dependencies": { "browserslist": "^4.21.10", - "caniuse-lite": "^1.0.30001520", - "fraction.js": "^4.2.0", + "caniuse-lite": "^1.0.30001538", + "fraction.js": "^4.3.6", "normalize-range": "^0.1.2", "picocolors": "^1.0.0", "postcss-value-parser": "^4.2.0" @@ -2041,9 +2041,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001534", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001534.tgz", - "integrity": "sha512-vlPVrhsCS7XaSh2VvWluIQEzVhefrUQcEsQWSS5A5V+dM07uv1qHeQzAOTGIMy9i3e9bH15+muvI/UHojVgS/Q==", + "version": "1.0.30001546", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001546.tgz", + "integrity": "sha512-zvtSJwuQFpewSyRrI3AsftF6rM0X80mZkChIt1spBGEvRglCrjTniXvinc8JKRoqTwXAgvqTImaN9igfSMtUBw==", "funding": [ { "type": "opencollective", @@ -2060,17 +2060,17 @@ ] }, "node_modules/chai": { - "version": "4.3.8", - "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.8.tgz", - "integrity": "sha512-vX4YvVVtxlfSZ2VecZgFUTU5qPCYsobVI2O9FmwEXBhDigYGQA6jRXCycIs1yJnnWbZ6/+a2zNIF5DfVCcJBFQ==", + "version": "4.3.10", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.10.tgz", + "integrity": "sha512-0UXG04VuVbruMUYbJ6JctvH0YnC/4q3/AkT18q4NaITo91CUm0liMS9VqzT9vZhVQ/1eqPanMWjBM+Juhfb/9g==", "dependencies": { "assertion-error": "^1.1.0", - "check-error": "^1.0.2", - "deep-eql": "^4.1.2", - "get-func-name": "^2.0.0", - "loupe": "^2.3.1", + "check-error": "^1.0.3", + "deep-eql": "^4.1.3", + "get-func-name": "^2.0.2", + "loupe": "^2.3.6", "pathval": "^1.1.1", - "type-detect": "^4.0.5" + "type-detect": "^4.0.8" }, "engines": { "node": ">=4" @@ -2101,9 +2101,12 @@ } }, "node_modules/check-error": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", - "integrity": "sha512-BrgHpW9NURQgzoNyjfq0Wu6VFO6D7IZEmJNdtgNqpzGG8RuNFHt2jQxWlAs4HMe119chBnv+34syEZtc6IhLtA==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.3.tgz", + "integrity": "sha512-iKEoDYaRmd1mxM90a2OEfWhjsjPpYPuQ+lMYsoxB126+t8fw7ySEO48nmDg5COTjxDI65/Y2OWpeEHk3ZOe8zg==", + "dependencies": { + "get-func-name": "^2.0.2" + }, "engines": { "node": "*" } @@ -2816,14 +2819,14 @@ } }, "node_modules/eslint": { - "version": "8.49.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.49.0.tgz", - "integrity": "sha512-jw03ENfm6VJI0jA9U+8H5zfl5b+FvuU3YYvZRdZHOlU2ggJkxrlkJH4HcDrZpj6YwD8kuYqvQM8LyesoazrSOQ==", + "version": "8.50.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.50.0.tgz", + "integrity": "sha512-FOnOGSuFuFLv/Sa+FDVRZl4GGVAAFFi8LecRsI5a1tMO5HIE8nCm4ivAlzt4dT3ol/PaaGC0rJEEXQmHJBGoOg==", "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", "@eslint/eslintrc": "^2.1.2", - "@eslint/js": "8.49.0", + "@eslint/js": "8.50.0", "@humanwhocodes/config-array": "^0.11.11", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", @@ -3271,9 +3274,9 @@ } }, "node_modules/get-func-name": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", - "integrity": "sha512-Hm0ixYtaSZ/V7C8FJrtZIuBBI+iSgL+1Aq82zSu8VQNB4S3Gk8e7Qs3VwBDJAhmRZcFqkl3tQu36g/Foh5I5ig==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.2.tgz", + "integrity": "sha512-8vXOvuE167CtIc3OyItco7N/dpRtBbYOsPsXCz7X/PMnlGjYjSGuZJgM1Y7mmew7BKf9BqvLX2tnOVy1BBUsxQ==", "engines": { "node": "*" } @@ -4017,9 +4020,9 @@ } }, "node_modules/jackspeak": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.3.3.tgz", - "integrity": "sha512-R2bUw+kVZFS/h1AZqBKrSgDmdmjApzgY0AlCPumopFiAlbUxE2gf+SCuBzQ0cP5hHmUmFYF5yw55T97Th5Kstg==", + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.3.6.tgz", + "integrity": "sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==", "dependencies": { "@isaacs/cliui": "^8.0.2" }, @@ -4506,9 +4509,9 @@ } }, "node_modules/minipass": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.3.tgz", - "integrity": "sha512-LhbbwCfz3vsb12j/WkWQPZfKTsgqIe1Nf/ti1pKjYESGLHIVjWU96G9/ljLH4F9mWNVhlQOm0VySdAWzf05dpg==", + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==", "engines": { "node": ">=16 || 14 >=14.17" } @@ -5173,13 +5176,13 @@ } }, "node_modules/playwright-chromium": { - "version": "1.38.0", - "resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.38.0.tgz", - "integrity": "sha512-RoqqEMsBwOh7yfnb8hL/QEjd7O767GTqDLL6ZOg8tJtMoHc/66GS6Dl3ODWhLxrkAk6gVkprB0H1RYHnT9F7dg==", + "version": "1.38.1", + "resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.38.1.tgz", + "integrity": "sha512-97Y6+lN3yOETy/yPQK+LqSCBdldLu5Rkm+Tnj2oGQfcbC5P8R3eWund7GxWqiYFnq0GLwZZ8EnhiBShKnCiVjg==", "dev": true, "hasInstallScript": true, "dependencies": { - "playwright-core": "1.38.0" + "playwright-core": "1.38.1" }, "bin": { "playwright": "cli.js" @@ -5189,9 +5192,9 @@ } }, "node_modules/playwright-core": { - "version": "1.38.0", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.38.0.tgz", - "integrity": "sha512-f8z1y8J9zvmHoEhKgspmCvOExF2XdcxMW8jNRuX4vkQFrzV4MlZ55iwb5QeyiFQgOFCUolXiRHgpjSEnqvO48g==", + "version": "1.38.1", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.38.1.tgz", + "integrity": "sha512-tQqNFUKa3OfMf4b2jQ7aGLB8o9bS3bOY0yMEtldtC2+spf8QXG9zvXLTXUeRsoNuxEYMgLYR+NXfAa1rjKRcrg==", "bin": { "playwright-core": "cli.js" }, @@ -5200,9 +5203,9 @@ } }, "node_modules/postcss": { - "version": "8.4.29", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.29.tgz", - "integrity": "sha512-cbI+jaqIeu/VGqXEarWkRCCffhjgXc0qjBtXpqJhTBohMUjUQnbBr0xqX3vEKudc4iviTewcJo5ajcec5+wdJw==", + "version": "8.4.31", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz", + "integrity": "sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==", "funding": [ { "type": "opencollective", @@ -5607,14 +5610,14 @@ } }, "node_modules/rimraf": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.1.tgz", - "integrity": "sha512-OfFZdwtd3lZ+XZzYP/6gTACubwFcHdLRqS9UX3UwpU2dnGQYkPFISRwvM3w9IiB2w7bW5qGo/uAwE4SmXXSKvg==", + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.5.tgz", + "integrity": "sha512-CqDakW+hMe/Bz202FPEymy68P+G50RfMQK+Qo5YUqc9SPipvbGjCGKd0RSKEelbsfQuw3g5NZDSrlZZAJurH1A==", "dependencies": { - "glob": "^10.2.5" + "glob": "^10.3.7" }, "bin": { - "rimraf": "dist/cjs/src/bin.js" + "rimraf": "dist/esm/bin.mjs" }, "engines": { "node": ">=14" @@ -5647,18 +5650,18 @@ } }, "node_modules/rimraf/node_modules/glob": { - "version": "10.3.4", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.4.tgz", - "integrity": "sha512-6LFElP3A+i/Q8XQKEvZjkEWEOTgAIALR9AO2rwT8bgPhDd1anmqDJDZ6lLddI4ehxxxR1S5RIqKe1uapMQfYaQ==", + "version": "10.3.10", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz", + "integrity": "sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==", "dependencies": { "foreground-child": "^3.1.0", - "jackspeak": "^2.0.3", + "jackspeak": "^2.3.5", "minimatch": "^9.0.1", "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", "path-scurry": "^1.10.1" }, "bin": { - "glob": "dist/cjs/src/bin.js" + "glob": "dist/esm/bin.mjs" }, "engines": { "node": ">=16 || 14 >=14.17" @@ -5693,9 +5696,9 @@ } }, "node_modules/rollup": { - "version": "3.29.1", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.29.1.tgz", - "integrity": "sha512-c+ebvQz0VIH4KhhCpDsI+Bik0eT8ZFEVZEYw0cGMVqIP8zc+gnwl7iXCamTw7vzv2MeuZFZfdx5JJIq+ehzDlg==", + "version": "3.29.4", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.29.4.tgz", + "integrity": "sha512-oWzmBZwvYrU0iJHtDmhsm662rC15FRXmcjCk1xD771dFDx5jJ02ufAQQTn0etB2emNk4J9EZg/yWKpsn9BWGRw==", "bin": { "rollup": "dist/bin/rollup" }, @@ -6577,48 +6580,53 @@ "integrity": "sha512-aodjPa2wPQFkra1G8CzJBTHXhgk3EVSwxSWXNPr1fgdFLUb8kvLV1iEb6rFgasIsjP82HWI6dsb5Io26DDnasA==" }, "node_modules/vscode-css-languageservice": { - "version": "6.2.7", - "resolved": "https://registry.npmjs.org/vscode-css-languageservice/-/vscode-css-languageservice-6.2.7.tgz", - "integrity": "sha512-Jd8wpIg5kJ15CfrieoEPvu3gGFc36sbM3qXCtjVq5zrnLEX5NhHxikMDtf8AgQsYklXiDqiZLKoBnzkJtRbTHQ==", + "version": "6.2.9", + "resolved": "https://registry.npmjs.org/vscode-css-languageservice/-/vscode-css-languageservice-6.2.9.tgz", + "integrity": "sha512-9MsOvAi+VycKomQ7KEq4o/hLtjHHrtRLLl8lM9nMcH8cxfNI7/6jVXmsV/7pdbDWu9L3DZhsspN1eMXZwiOymw==", "dependencies": { "@vscode/l10n": "^0.0.16", "vscode-languageserver-textdocument": "^1.0.8", - "vscode-languageserver-types": "^3.17.3", + "vscode-languageserver-types": "3.17.3", "vscode-uri": "^3.0.7" } }, "node_modules/vscode-jsonrpc": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/vscode-jsonrpc/-/vscode-jsonrpc-8.1.0.tgz", - "integrity": "sha512-6TDy/abTQk+zDGYazgbIPc+4JoXdwC8NHU9Pbn4UJP1fehUyZmM4RHp5IthX7A6L5KS30PRui+j+tbbMMMafdw==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/vscode-jsonrpc/-/vscode-jsonrpc-8.2.0.tgz", + "integrity": "sha512-C+r0eKJUIfiDIfwJhria30+TYWPtuHJXHtI7J0YlOmKAo7ogxP20T0zxB7HZQIFhIyvoBPwWskjxrvAtfjyZfA==", "engines": { "node": ">=14.0.0" } }, "node_modules/vscode-languageserver": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/vscode-languageserver/-/vscode-languageserver-8.1.0.tgz", - "integrity": "sha512-eUt8f1z2N2IEUDBsKaNapkz7jl5QpskN2Y0G01T/ItMxBxw1fJwvtySGB9QMecatne8jFIWJGWI61dWjyTLQsw==", + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/vscode-languageserver/-/vscode-languageserver-9.0.1.tgz", + "integrity": "sha512-woByF3PDpkHFUreUa7Hos7+pUWdeWMXRd26+ZX2A8cFx6v/JPTtd4/uN0/jB6XQHYaOlHbio03NTHCqrgG5n7g==", "dependencies": { - "vscode-languageserver-protocol": "3.17.3" + "vscode-languageserver-protocol": "3.17.5" }, "bin": { "installServerIntoExtension": "bin/installServerIntoExtension" } }, "node_modules/vscode-languageserver-protocol": { - "version": "3.17.3", - "resolved": "https://registry.npmjs.org/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.17.3.tgz", - "integrity": "sha512-924/h0AqsMtA5yK22GgMtCYiMdCOtWTSGgUOkgEDX+wk2b0x4sAfLiO4NxBxqbiVtz7K7/1/RgVrVI0NClZwqA==", + "version": "3.17.5", + "resolved": "https://registry.npmjs.org/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.17.5.tgz", + "integrity": "sha512-mb1bvRJN8SVznADSGWM9u/b07H7Ecg0I3OgXDuLdn307rl/J3A9YD6/eYOssqhecL27hK1IPZAsaqh00i/Jljg==", "dependencies": { - "vscode-jsonrpc": "8.1.0", - "vscode-languageserver-types": "3.17.3" + "vscode-jsonrpc": "8.2.0", + "vscode-languageserver-types": "3.17.5" } }, + "node_modules/vscode-languageserver-protocol/node_modules/vscode-languageserver-types": { + "version": "3.17.5", + "resolved": "https://registry.npmjs.org/vscode-languageserver-types/-/vscode-languageserver-types-3.17.5.tgz", + "integrity": "sha512-Ld1VelNuX9pdF39h2Hgaeb5hEZM2Z3jUrrMgWQAu82jMtZp7p3vJT3BzToKtZI7NgQssZje5o0zryOrhQvzQAg==" + }, "node_modules/vscode-languageserver-textdocument": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/vscode-languageserver-textdocument/-/vscode-languageserver-textdocument-1.0.8.tgz", - "integrity": "sha512-1bonkGqQs5/fxGT5UchTgjGVnfysL0O8v1AYMBjqTbWQTFn721zaPGDYFkOKtfDgFiSgXM3KwaG3FMGfW4Ed9Q==" + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/vscode-languageserver-textdocument/-/vscode-languageserver-textdocument-1.0.11.tgz", + "integrity": "sha512-X+8T3GoiwTVlJbicx/sIAF+yuJAqz8VvwJyoMVhwEMoEKE/fkDmrqUgDMyBECcM2A2frVZIUj5HI/ErRXCfOeA==" }, "node_modules/vscode-languageserver-types": { "version": "3.17.3", @@ -6626,9 +6634,9 @@ "integrity": "sha512-SYU4z1dL0PyIMd4Vj8YOqFvHu7Hz/enbWtpfnVbJHU4Nd1YNYx8u0ennumc6h48GQNeOLxmwySmnADouT/AuZA==" }, "node_modules/vscode-uri": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/vscode-uri/-/vscode-uri-3.0.7.tgz", - "integrity": "sha512-eOpPHogvorZRobNqJGhapa0JdwaxpjVvyBp0QIUMRMSf8ZAlqOdEquKuRmw9Qwu0qXtJIWqFtMkmvJjUZmMjVA==" + "version": "3.0.8", + "resolved": "https://registry.npmjs.org/vscode-uri/-/vscode-uri-3.0.8.tgz", + "integrity": "sha512-AyFQ0EVmsOZOlAnxoFOGOq1SQDWAB7C6aqMGS23svWAllfOaxbuFvcT8D1i8z3Gyn8fraVeZNNmN6e9bxxXkKw==" }, "node_modules/watchpack": { "version": "2.4.0", @@ -6870,8 +6878,8 @@ "version": "5.16.0", "license": "MIT", "dependencies": { - "@file-services/node": "^8.2.0", - "@file-services/types": "^8.2.0", + "@file-services/node": "^8.3.1", + "@file-services/types": "^8.3.1", "@stylable/build-tools": "^5.16.0", "@stylable/code-formatter": "^5.16.0", "@stylable/core": "^5.16.0", @@ -6912,7 +6920,7 @@ "@stylable/core": "^5.16.0", "@tokey/css-value-parser": "^0.1.4", "js-beautify": "^1.14.9", - "postcss": "^8.4.29" + "postcss": "^8.4.31" }, "engines": { "node": ">=14.14.0" @@ -6933,7 +6941,7 @@ "is-vendor-prefixed": "^4.0.0", "lodash.clonedeep": "^4.5.0", "lodash.clonedeepwith": "^4.5.0", - "postcss": "^8.4.29", + "postcss": "^8.4.31", "postcss-js": "^4.0.1", "postcss-nested": "^6.0.1", "postcss-safe-parser": "^6.0.0", @@ -6948,11 +6956,11 @@ "version": "5.16.0", "license": "MIT", "dependencies": { - "@file-services/memory": "^8.2.0", + "@file-services/memory": "^8.3.1", "@stylable/core": "^5.16.0", - "chai": "^4.3.8", + "chai": "^4.3.10", "flat": "^5.0.2", - "postcss": "^8.4.29" + "postcss": "^8.4.31" }, "engines": { "node": ">=14.14.0" @@ -7007,8 +7015,8 @@ "dependencies": { "@stylable/runtime": "^5.16.0", "node-eval": "^2.0.0", - "playwright-core": "^1.38.0", - "rimraf": "^5.0.1" + "playwright-core": "^1.38.1", + "rimraf": "^5.0.5" }, "engines": { "node": ">=14.14.0" @@ -7083,20 +7091,20 @@ "version": "5.16.0", "license": "MIT", "dependencies": { - "@file-services/types": "^8.2.0", - "@file-services/typescript": "^8.2.0", + "@file-services/types": "^8.3.1", + "@file-services/typescript": "^8.3.1", "@stylable/code-formatter": "^5.16.0", "@stylable/core": "^5.16.0", "@tokey/core": "^1.4.0", "@tokey/css-selector-parser": "^0.6.2", "@tokey/css-value-parser": "^0.1.4", "css-selector-tokenizer": "^0.8.0", - "postcss": "^8.4.29", + "postcss": "^8.4.31", "postcss-value-parser": "^4.2.0", - "vscode-css-languageservice": "^6.2.7", - "vscode-languageserver": "^8.1.0", - "vscode-languageserver-textdocument": "^1.0.8", - "vscode-uri": "^3.0.7" + "vscode-css-languageservice": "^6.2.9", + "vscode-languageserver": "^9.0.1", + "vscode-languageserver-textdocument": "^1.0.11", + "vscode-uri": "^3.0.8" }, "engines": { "node": ">=14.14.0" @@ -7140,7 +7148,7 @@ "@stylable/core": "^5.16.0", "@tokey/css-selector-parser": "^0.6.2", "csso": "^5.0.5", - "postcss": "^8.4.29" + "postcss": "^8.4.31" }, "engines": { "node": ">=14.14.0" @@ -7238,7 +7246,7 @@ "@stylable/runtime": "^5.16.0", "decache": "^4.6.2", "lodash.clonedeep": "^4.5.0", - "postcss": "^8.4.29" + "postcss": "^8.4.31" }, "engines": { "node": ">=14.14.0" @@ -7444,56 +7452,56 @@ } }, "@eslint/js": { - "version": "8.49.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.49.0.tgz", - "integrity": "sha512-1S8uAY/MTJqVx0SC4epBq+N2yhuwtNwLbJYNZyhL2pO1ZVKn5HFXav5T41Ryzy9K9V7ZId2JB2oy/W4aCd9/2w==" + "version": "8.50.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.50.0.tgz", + "integrity": "sha512-NCC3zz2+nvYd+Ckfh87rA47zfu2QsQpvc6k1yzTk+b9KzRj0wkGa8LSoGOXN6Zv4lRf/EIoZ80biDh9HOI+RNQ==" }, "@file-services/memory": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/@file-services/memory/-/memory-8.2.0.tgz", - "integrity": "sha512-83BNy2WOn7hPK6tIF6MjvAz0Jk35RA1mB4GrhQiqaUsdzhRBDk4ksC8wzeEZ186a8tV4FSF0pRSGATU6KgzfoQ==", + "version": "8.3.1", + "resolved": "https://registry.npmjs.org/@file-services/memory/-/memory-8.3.1.tgz", + "integrity": "sha512-yAF6R3iccXIJUoKR2xV8ong1BTedczdZwWoZCYBQbtX5P1KDZGkO+3+aRCPFyCKXjpSE21MLRP+xwSSNwdifTA==", "requires": { - "@file-services/path": "^8.2.0", - "@file-services/types": "^8.2.0", - "@file-services/utils": "^8.2.0" + "@file-services/path": "^8.3.1", + "@file-services/types": "^8.3.1", + "@file-services/utils": "^8.3.1" } }, "@file-services/node": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/@file-services/node/-/node-8.2.0.tgz", - "integrity": "sha512-6AR7V6zQNYUvfhe6ibQTGg/Z39SEIl0Z0LEJfEYz8s9BQqcYLoY+oVi0P5deH27J53pZv0izeIpavf+qn0lL4Q==", + "version": "8.3.1", + "resolved": "https://registry.npmjs.org/@file-services/node/-/node-8.3.1.tgz", + "integrity": "sha512-vE3CXrWAdWj9AQlN8/q7U6XS2d4yGS7B8VUtkFAVcYoeG6DGHh5HnnABKefml9Ow+fp+48UsERcoNKPlSoUVEQ==", "requires": { - "@file-services/types": "^8.2.0", - "@file-services/utils": "^8.2.0" + "@file-services/types": "^8.3.1", + "@file-services/utils": "^8.3.1" } }, "@file-services/path": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/@file-services/path/-/path-8.2.0.tgz", - "integrity": "sha512-D2qBt4jXSHjLOmxYJCtdTMVg5GJlQcQwOvPqLT7vJCpHOzm7pWECPP+6n/rJsr0aMbgNemIcS/uUbBAw39pyYw==", + "version": "8.3.1", + "resolved": "https://registry.npmjs.org/@file-services/path/-/path-8.3.1.tgz", + "integrity": "sha512-pzcBDtlFrl/2yFOCuS/FxMyD85jQYGVa+S7FNr3pFsIyYX7ohSMgbUsXB/A2Hzo7Xe8+e6HgOMUqhNwDFKEJew==", "requires": { - "@file-services/types": "^8.2.0" + "@file-services/types": "^8.3.1" } }, "@file-services/types": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/@file-services/types/-/types-8.2.0.tgz", - "integrity": "sha512-ckjiFoX6PoaYOemqaUTEcNBl13NTJjvADbxiVneHScSpSK3RNqBNMwT+gZ8f++E+nITK5spJysPdxN2krouAZA==" + "version": "8.3.1", + "resolved": "https://registry.npmjs.org/@file-services/types/-/types-8.3.1.tgz", + "integrity": "sha512-I2oRF38cF6yGMF02d8oLTd07+62pRI0D23LcHaVMXib5A2gB4QOhaQYr9OjIBR9RIaG2P6Byo4y4qvkmgUzYgg==" }, "@file-services/typescript": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/@file-services/typescript/-/typescript-8.2.0.tgz", - "integrity": "sha512-9h5+IEiaQufrASYAoO7cJQAf2/Ug4qFQIRdLZxZEplRp37h93Hq88jO1v1pkrLIPipbcQWUB7xDkJrgZCOCEAQ==", + "version": "8.3.1", + "resolved": "https://registry.npmjs.org/@file-services/typescript/-/typescript-8.3.1.tgz", + "integrity": "sha512-FjXHchxXkpG/1E3P0SCSX9BJYJxvxbah0iJQz+vG74XABSEFASPFQu7ruRRmusVRCUuz4WjxX/vpqeHqhlhB1g==", "requires": { - "@file-services/types": "^8.2.0" + "@file-services/types": "^8.3.1" } }, "@file-services/utils": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/@file-services/utils/-/utils-8.2.0.tgz", - "integrity": "sha512-wn/K0Rp3rTFQIST2Rh8qa3O1pDeLfIOY31anV7mQf3QnNzDmln7OlhRJsrQMJHV5yRzfC2lTfDc4WoDpi7OeYQ==", + "version": "8.3.1", + "resolved": "https://registry.npmjs.org/@file-services/utils/-/utils-8.3.1.tgz", + "integrity": "sha512-BxIto/E1tRfXswYE1fVicATeDpYAYH2PUHq/jM5z394/jirwJLXSNUmYr8knceMbHBVfCG0ZHL83EgqMt5sgVw==", "requires": { - "@file-services/types": "^8.2.0" + "@file-services/types": "^8.3.1" } }, "@humanwhocodes/config-array": { @@ -7699,8 +7707,8 @@ "@stylable/cli": { "version": "file:packages/cli", "requires": { - "@file-services/node": "^8.2.0", - "@file-services/types": "^8.2.0", + "@file-services/node": "^8.3.1", + "@file-services/types": "^8.3.1", "@stylable/build-tools": "^5.16.0", "@stylable/code-formatter": "^5.16.0", "@stylable/core": "^5.16.0", @@ -7726,7 +7734,7 @@ "@stylable/core": "^5.16.0", "@tokey/css-value-parser": "^0.1.4", "js-beautify": "^1.14.9", - "postcss": "^8.4.29" + "postcss": "^8.4.31" } }, "@stylable/core": { @@ -7742,7 +7750,7 @@ "is-vendor-prefixed": "^4.0.0", "lodash.clonedeep": "^4.5.0", "lodash.clonedeepwith": "^4.5.0", - "postcss": "^8.4.29", + "postcss": "^8.4.31", "postcss-js": "^4.0.1", "postcss-nested": "^6.0.1", "postcss-safe-parser": "^6.0.0", @@ -7757,11 +7765,11 @@ "@stylable/core-test-kit": { "version": "file:packages/core-test-kit", "requires": { - "@file-services/memory": "^8.2.0", + "@file-services/memory": "^8.3.1", "@stylable/core": "^5.16.0", - "chai": "^4.3.8", + "chai": "^4.3.10", "flat": "^5.0.2", - "postcss": "^8.4.29" + "postcss": "^8.4.31" } }, "@stylable/custom-value": { @@ -7783,8 +7791,8 @@ "requires": { "@stylable/runtime": "^5.16.0", "node-eval": "^2.0.0", - "playwright-core": "^1.38.0", - "rimraf": "^5.0.1" + "playwright-core": "^1.38.1", + "rimraf": "^5.0.5" } }, "@stylable/esbuild": { @@ -7826,20 +7834,20 @@ "@stylable/language-service": { "version": "file:packages/language-service", "requires": { - "@file-services/types": "^8.2.0", - "@file-services/typescript": "^8.2.0", + "@file-services/types": "^8.3.1", + "@file-services/typescript": "^8.3.1", "@stylable/code-formatter": "^5.16.0", "@stylable/core": "^5.16.0", "@tokey/core": "^1.4.0", "@tokey/css-selector-parser": "^0.6.2", "@tokey/css-value-parser": "^0.1.4", "css-selector-tokenizer": "^0.8.0", - "postcss": "^8.4.29", + "postcss": "^8.4.31", "postcss-value-parser": "^4.2.0", - "vscode-css-languageservice": "^6.2.7", - "vscode-languageserver": "^8.1.0", - "vscode-languageserver-textdocument": "^1.0.8", - "vscode-uri": "^3.0.7" + "vscode-css-languageservice": "^6.2.9", + "vscode-languageserver": "^9.0.1", + "vscode-languageserver-textdocument": "^1.0.11", + "vscode-uri": "^3.0.8" } }, "@stylable/module-utils": { @@ -7865,7 +7873,7 @@ "@stylable/core": "^5.16.0", "@tokey/css-selector-parser": "^0.6.2", "csso": "^5.0.5", - "postcss": "^8.4.29" + "postcss": "^8.4.31" } }, "@stylable/rollup-plugin": { @@ -7922,7 +7930,7 @@ "@stylable/runtime": "^5.16.0", "decache": "^4.6.2", "lodash.clonedeep": "^4.5.0", - "postcss": "^8.4.29" + "postcss": "^8.4.31" } }, "@tokey/core": { @@ -7955,9 +7963,9 @@ } }, "@types/balanced-match": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@types/balanced-match/-/balanced-match-1.0.3.tgz", - "integrity": "sha512-nBZFt2r4snsIMicyNwgdga4wcoJtGRF39xX4Le3GjA2oSJcQlGAD8XrmlRddYcINFK8dypxJEUS6bVgKBQ7FyA==", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@types/balanced-match/-/balanced-match-1.0.4.tgz", + "integrity": "sha512-sLf9sSU59HlbUuaHGkWRp7T9fEoVQALBeu5gtXTU6NhSAIazEsPTJmnYuqo+0ZsgWw7e63r478wo8ba5r5dL5A==", "dev": true }, "@types/chai": { @@ -8026,15 +8034,15 @@ "integrity": "sha512-LG4opVs2ANWZ1TJoKc937iMmNstM/d0ae1vNbnBvBhqCSezgVUOzcLCqbI5elV8Vy6WKwKjaqR+zO9VKirBBCA==" }, "@types/find-config": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@types/find-config/-/find-config-1.0.1.tgz", - "integrity": "sha512-H4DFIQMwxCKRgVWMSqALg6aowTOgZi5D4pSPBBuOQFJLRwfNZaByhC9+s870CZgTRJoyVg5J+iesdF5uvnJ0mA==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@types/find-config/-/find-config-1.0.2.tgz", + "integrity": "sha512-ipWGLU8pu1+pL6IDRi4q/JpNvxaONv+9Bjmy+IkqS1hzuixdRf4Qv1bRJ3hLf0k7fmQBXUfSlmyBqzNG0oHIBQ==", "dev": true }, "@types/flat": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/@types/flat/-/flat-5.0.2.tgz", - "integrity": "sha512-3zsplnP2djeps5P9OyarTxwRpMLoe5Ash8aL9iprw0JxB+FAHjY+ifn4yZUuW4/9hqtnmor6uvjSRzJhiVbrEQ==", + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@types/flat/-/flat-5.0.3.tgz", + "integrity": "sha512-uG/4x6EXYbq4VDsBJLNDHQAQmtRPg3x4tAXcBspxlnEknz8NiJxnHoxSiJKGNExiS00q4mJNvuEBgVA3jsDIdQ==", "dev": true }, "@types/html-minifier-terser": { @@ -8050,15 +8058,15 @@ "dev": true }, "@types/js-beautify": { - "version": "1.14.0", - "resolved": "https://registry.npmjs.org/@types/js-beautify/-/js-beautify-1.14.0.tgz", - "integrity": "sha512-OrJo4dEKd/8YKwGWuRP7qC/NoxNQCVsjAT7aHhgoIrNJaaDudLwX8husFrklktmXKIFbXevxzrLyEhB1842zjg==", + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@types/js-beautify/-/js-beautify-1.14.1.tgz", + "integrity": "sha512-pjbakQH0LywQL0wUFIWbxr5GZTnnqMD5wavqOpf61xz83V3V1uyhyPSWWNSoXZ153TF3XBgRTa07W1XDgFNYfw==", "dev": true }, "@types/json-schema": { - "version": "7.0.12", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.12.tgz", - "integrity": "sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA==" + "version": "7.0.13", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.13.tgz", + "integrity": "sha512-RbSSoHliUbnXj3ny0CNFOoxrIDV6SUGyStHsvDqosw6CkdPV8TtWGlfecuK4ToyMEAql6pzNxgCFKanovUzlgQ==" }, "@types/lodash": { "version": "4.14.198", @@ -8112,24 +8120,24 @@ } }, "@types/memory-fs": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/@types/memory-fs/-/memory-fs-0.3.3.tgz", - "integrity": "sha512-rLEYzl1xODshz+Lm+YX8NYws8Xw7/qcYbQInMkotl96VpLZmUvoCfYYGxfajMSiugANV02QO5Fc+R98KKeE4gQ==", + "version": "0.3.4", + "resolved": "https://registry.npmjs.org/@types/memory-fs/-/memory-fs-0.3.4.tgz", + "integrity": "sha512-0478LWAQArPMJt1gRglVEZcHyqBdIG+pbTWG+tOrt0XwlfCh+2cpfCe93UnJ8G0q8ZXXA8LI37o5sz91unQcZQ==", "dev": true, "requires": { "@types/node": "*" } }, "@types/mime": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@types/mime/-/mime-3.0.1.tgz", - "integrity": "sha512-Y4XFY5VJAuw0FgAqPNd6NNoV44jbq9Bz2L7Rh/J6jLTiHBSBJa9fxqQIvkIld4GsoDOcCbvzOUAbLPsSKKg+uA==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@types/mime/-/mime-3.0.2.tgz", + "integrity": "sha512-Wj+fqpTLtTbG7c0tH47dkahefpLKEbB+xAZuLq7b4/IDHPl/n6VoXcyUQ2bypFlbSwvCr0y+bD4euTTqTJsPxQ==", "dev": true }, "@types/mocha": { - "version": "10.0.1", - "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.1.tgz", - "integrity": "sha512-/fvYntiO1GeICvqbQ3doGDIP97vWmvFt83GKguJ6prmQM2iXZfFcq6YE8KteFyRtX2/h5Hf91BYvPodJKFYv5Q==", + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.2.tgz", + "integrity": "sha512-NaHL0+0lLNhX6d9rs+NSt97WH/gIlRHmszXbQ/8/MV/eVcFNdeJ/GYhrFuUc8K7WuPhRhTSdMkCp8VMzhUq85w==", "dev": true }, "@types/node": { @@ -8138,9 +8146,9 @@ "integrity": "sha512-NWJMpBL2Xs3MY93yrD6YrrTKep8eIA6iMnfG4oIc6LrTRlBZgiSCGiY3V/Owlp6umIBLyKb4F8Q7hxWatjYH5A==" }, "@types/postcss-safe-parser": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/@types/postcss-safe-parser/-/postcss-safe-parser-5.0.1.tgz", - "integrity": "sha512-/yt27wx9N+HmpCAUS/Wyk1d17qFCmi8cYAnIDar0U0jO4QMG1UFqsvVhg7Cy4xjmEAfAzeyBJmXH5Sti4/fDOQ==", + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/@types/postcss-safe-parser/-/postcss-safe-parser-5.0.2.tgz", + "integrity": "sha512-NgpL+Hqcrr+kdQFJCPi2X4nOAAnaNghJyXLR0kgM2soUPg3rwO9uZ4eXP/TRSpfN9U+rT7+hOwaSP/ESL7mR0A==", "dev": true, "requires": { "postcss": "^8.4.4" @@ -8153,9 +8161,9 @@ "dev": true }, "@types/react": { - "version": "18.2.21", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.21.tgz", - "integrity": "sha512-neFKG/sBAwGxHgXiIxnbm3/AAVQ/cMRS93hvBpg8xYRbeQSPVABp9U2bRnPf0iI4+Ucdv3plSxKK+3CW2ENJxA==", + "version": "18.2.25", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.25.tgz", + "integrity": "sha512-24xqse6+VByVLIr+xWaQ9muX1B4bXJKXBbjszbld/UEDslGLY53+ZucF44HCmLbMPejTzGG9XgR+3m2/Wqu1kw==", "dev": true, "requires": { "@types/prop-types": "*", @@ -8164,9 +8172,9 @@ } }, "@types/react-dom": { - "version": "18.2.7", - "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.7.tgz", - "integrity": "sha512-GRaAEriuT4zp9N4p1i8BDBYmEyfo+xQ3yHjJU4eiK5NDa1RmUZG+unZABUTK4/Ox/M+GaHwb6Ow8rUITrtjszA==", + "version": "18.2.10", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.10.tgz", + "integrity": "sha512-5VEC5RgXIk1HHdyN1pHlg0cOqnxHzvPGpMMyGAP5qSaDRmyZNDaQ0kkVAkK6NYlDhP6YBID3llaXlmAS/mdgCA==", "dev": true, "requires": { "@types/react": "*" @@ -8185,9 +8193,9 @@ "dev": true }, "@types/semver": { - "version": "7.5.2", - "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.2.tgz", - "integrity": "sha512-7aqorHYgdNO4DM36stTiGO3DvKoex9TQRwsJU6vMaFGyqpBA1MNZkz+PG3gaNUPpTAOYhT1WR7M1JyA3fbS9Cw==" + "version": "7.5.3", + "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.3.tgz", + "integrity": "sha512-OxepLK9EuNEIPxWNME+C6WwbRAOOI2o2BaQEGzz5Lu2e4Z5eDnEo+/aVEDMIXywoJitJ7xWd641wrGLZdtwRyw==" }, "@types/validate-npm-package-name": { "version": "4.0.0", @@ -8196,9 +8204,9 @@ "dev": true }, "@types/yargs": { - "version": "17.0.24", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.24.tgz", - "integrity": "sha512-6i0aC7jV6QzQB8ne1joVZ0eSFIstHsCrobmOtghM11yGlH0j43FKL2UhWdELkyps0zuf7qVTUVCCR+tgSlyLLw==", + "version": "17.0.26", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.26.tgz", + "integrity": "sha512-Y3vDy2X6zw/ZCumcwLpdhM5L7jmyGpmBCTYMHDLqT2IKVMYRRLdv6ZakA+wxhra6Z/3bwhNbNl9bDGXaFU+6rw==", "dev": true, "requires": { "@types/yargs-parser": "*" @@ -8626,14 +8634,14 @@ "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==" }, "autoprefixer": { - "version": "10.4.15", - "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.15.tgz", - "integrity": "sha512-KCuPB8ZCIqFdA4HwKXsvz7j6gvSDNhDP7WnUjBleRkKjPdvCmHFuQ77ocavI8FT6NdvlBnE2UFr2H4Mycn8Vew==", + "version": "10.4.16", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.16.tgz", + "integrity": "sha512-7vd3UC6xKp0HLfua5IjZlcXvGAGy7cBAXTg2lyQ/8WpNhd6SiZ8Be+xm3FyBSYJx5GKcpRCzBh7RH4/0dnY+uQ==", "dev": true, "requires": { "browserslist": "^4.21.10", - "caniuse-lite": "^1.0.30001520", - "fraction.js": "^4.2.0", + "caniuse-lite": "^1.0.30001538", + "fraction.js": "^4.3.6", "normalize-range": "^0.1.2", "picocolors": "^1.0.0", "postcss-value-parser": "^4.2.0" @@ -8794,22 +8802,22 @@ "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==" }, "caniuse-lite": { - "version": "1.0.30001534", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001534.tgz", - "integrity": "sha512-vlPVrhsCS7XaSh2VvWluIQEzVhefrUQcEsQWSS5A5V+dM07uv1qHeQzAOTGIMy9i3e9bH15+muvI/UHojVgS/Q==" + "version": "1.0.30001546", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001546.tgz", + "integrity": "sha512-zvtSJwuQFpewSyRrI3AsftF6rM0X80mZkChIt1spBGEvRglCrjTniXvinc8JKRoqTwXAgvqTImaN9igfSMtUBw==" }, "chai": { - "version": "4.3.8", - "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.8.tgz", - "integrity": "sha512-vX4YvVVtxlfSZ2VecZgFUTU5qPCYsobVI2O9FmwEXBhDigYGQA6jRXCycIs1yJnnWbZ6/+a2zNIF5DfVCcJBFQ==", + "version": "4.3.10", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.10.tgz", + "integrity": "sha512-0UXG04VuVbruMUYbJ6JctvH0YnC/4q3/AkT18q4NaITo91CUm0liMS9VqzT9vZhVQ/1eqPanMWjBM+Juhfb/9g==", "requires": { "assertion-error": "^1.1.0", - "check-error": "^1.0.2", - "deep-eql": "^4.1.2", - "get-func-name": "^2.0.0", - "loupe": "^2.3.1", + "check-error": "^1.0.3", + "deep-eql": "^4.1.3", + "get-func-name": "^2.0.2", + "loupe": "^2.3.6", "pathval": "^1.1.1", - "type-detect": "^4.0.5" + "type-detect": "^4.0.8" } }, "chai-subset": { @@ -8828,9 +8836,12 @@ } }, "check-error": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", - "integrity": "sha512-BrgHpW9NURQgzoNyjfq0Wu6VFO6D7IZEmJNdtgNqpzGG8RuNFHt2jQxWlAs4HMe119chBnv+34syEZtc6IhLtA==" + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.3.tgz", + "integrity": "sha512-iKEoDYaRmd1mxM90a2OEfWhjsjPpYPuQ+lMYsoxB126+t8fw7ySEO48nmDg5COTjxDI65/Y2OWpeEHk3ZOe8zg==", + "requires": { + "get-func-name": "^2.0.2" + } }, "chokidar": { "version": "3.5.3", @@ -9364,14 +9375,14 @@ "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==" }, "eslint": { - "version": "8.49.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.49.0.tgz", - "integrity": "sha512-jw03ENfm6VJI0jA9U+8H5zfl5b+FvuU3YYvZRdZHOlU2ggJkxrlkJH4HcDrZpj6YwD8kuYqvQM8LyesoazrSOQ==", + "version": "8.50.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.50.0.tgz", + "integrity": "sha512-FOnOGSuFuFLv/Sa+FDVRZl4GGVAAFFi8LecRsI5a1tMO5HIE8nCm4ivAlzt4dT3ol/PaaGC0rJEEXQmHJBGoOg==", "requires": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", "@eslint/eslintrc": "^2.1.2", - "@eslint/js": "8.49.0", + "@eslint/js": "8.50.0", "@humanwhocodes/config-array": "^0.11.11", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", @@ -9701,9 +9712,9 @@ "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==" }, "get-func-name": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", - "integrity": "sha512-Hm0ixYtaSZ/V7C8FJrtZIuBBI+iSgL+1Aq82zSu8VQNB4S3Gk8e7Qs3VwBDJAhmRZcFqkl3tQu36g/Foh5I5ig==" + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.2.tgz", + "integrity": "sha512-8vXOvuE167CtIc3OyItco7N/dpRtBbYOsPsXCz7X/PMnlGjYjSGuZJgM1Y7mmew7BKf9BqvLX2tnOVy1BBUsxQ==" }, "get-intrinsic": { "version": "1.2.1", @@ -10215,9 +10226,9 @@ } }, "jackspeak": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.3.3.tgz", - "integrity": "sha512-R2bUw+kVZFS/h1AZqBKrSgDmdmjApzgY0AlCPumopFiAlbUxE2gf+SCuBzQ0cP5hHmUmFYF5yw55T97Th5Kstg==", + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.3.6.tgz", + "integrity": "sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==", "requires": { "@isaacs/cliui": "^8.0.2", "@pkgjs/parseargs": "^0.11.0" @@ -10583,9 +10594,9 @@ "dev": true }, "minipass": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.3.tgz", - "integrity": "sha512-LhbbwCfz3vsb12j/WkWQPZfKTsgqIe1Nf/ti1pKjYESGLHIVjWU96G9/ljLH4F9mWNVhlQOm0VySdAWzf05dpg==" + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==" }, "mocha": { "version": "10.2.0", @@ -11086,23 +11097,23 @@ "dev": true }, "playwright-chromium": { - "version": "1.38.0", - "resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.38.0.tgz", - "integrity": "sha512-RoqqEMsBwOh7yfnb8hL/QEjd7O767GTqDLL6ZOg8tJtMoHc/66GS6Dl3ODWhLxrkAk6gVkprB0H1RYHnT9F7dg==", + "version": "1.38.1", + "resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.38.1.tgz", + "integrity": "sha512-97Y6+lN3yOETy/yPQK+LqSCBdldLu5Rkm+Tnj2oGQfcbC5P8R3eWund7GxWqiYFnq0GLwZZ8EnhiBShKnCiVjg==", "dev": true, "requires": { - "playwright-core": "1.38.0" + "playwright-core": "1.38.1" } }, "playwright-core": { - "version": "1.38.0", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.38.0.tgz", - "integrity": "sha512-f8z1y8J9zvmHoEhKgspmCvOExF2XdcxMW8jNRuX4vkQFrzV4MlZ55iwb5QeyiFQgOFCUolXiRHgpjSEnqvO48g==" + "version": "1.38.1", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.38.1.tgz", + "integrity": "sha512-tQqNFUKa3OfMf4b2jQ7aGLB8o9bS3bOY0yMEtldtC2+spf8QXG9zvXLTXUeRsoNuxEYMgLYR+NXfAa1rjKRcrg==" }, "postcss": { - "version": "8.4.29", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.29.tgz", - "integrity": "sha512-cbI+jaqIeu/VGqXEarWkRCCffhjgXc0qjBtXpqJhTBohMUjUQnbBr0xqX3vEKudc4iviTewcJo5ajcec5+wdJw==", + "version": "8.4.31", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz", + "integrity": "sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==", "requires": { "nanoid": "^3.3.6", "picocolors": "^1.0.0", @@ -11351,11 +11362,11 @@ "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==" }, "rimraf": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.1.tgz", - "integrity": "sha512-OfFZdwtd3lZ+XZzYP/6gTACubwFcHdLRqS9UX3UwpU2dnGQYkPFISRwvM3w9IiB2w7bW5qGo/uAwE4SmXXSKvg==", + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.5.tgz", + "integrity": "sha512-CqDakW+hMe/Bz202FPEymy68P+G50RfMQK+Qo5YUqc9SPipvbGjCGKd0RSKEelbsfQuw3g5NZDSrlZZAJurH1A==", "requires": { - "glob": "^10.2.5" + "glob": "^10.3.7" }, "dependencies": { "brace-expansion": { @@ -11376,12 +11387,12 @@ } }, "glob": { - "version": "10.3.4", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.4.tgz", - "integrity": "sha512-6LFElP3A+i/Q8XQKEvZjkEWEOTgAIALR9AO2rwT8bgPhDd1anmqDJDZ6lLddI4ehxxxR1S5RIqKe1uapMQfYaQ==", + "version": "10.3.10", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz", + "integrity": "sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==", "requires": { "foreground-child": "^3.1.0", - "jackspeak": "^2.0.3", + "jackspeak": "^2.3.5", "minimatch": "^9.0.1", "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", "path-scurry": "^1.10.1" @@ -11403,9 +11414,9 @@ } }, "rollup": { - "version": "3.29.1", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.29.1.tgz", - "integrity": "sha512-c+ebvQz0VIH4KhhCpDsI+Bik0eT8ZFEVZEYw0cGMVqIP8zc+gnwl7iXCamTw7vzv2MeuZFZfdx5JJIq+ehzDlg==", + "version": "3.29.4", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.29.4.tgz", + "integrity": "sha512-oWzmBZwvYrU0iJHtDmhsm662rC15FRXmcjCk1xD771dFDx5jJ02ufAQQTn0etB2emNk4J9EZg/yWKpsn9BWGRw==", "requires": { "fsevents": "~2.3.2" } @@ -12009,42 +12020,49 @@ "integrity": "sha512-aodjPa2wPQFkra1G8CzJBTHXhgk3EVSwxSWXNPr1fgdFLUb8kvLV1iEb6rFgasIsjP82HWI6dsb5Io26DDnasA==" }, "vscode-css-languageservice": { - "version": "6.2.7", - "resolved": "https://registry.npmjs.org/vscode-css-languageservice/-/vscode-css-languageservice-6.2.7.tgz", - "integrity": "sha512-Jd8wpIg5kJ15CfrieoEPvu3gGFc36sbM3qXCtjVq5zrnLEX5NhHxikMDtf8AgQsYklXiDqiZLKoBnzkJtRbTHQ==", + "version": "6.2.9", + "resolved": "https://registry.npmjs.org/vscode-css-languageservice/-/vscode-css-languageservice-6.2.9.tgz", + "integrity": "sha512-9MsOvAi+VycKomQ7KEq4o/hLtjHHrtRLLl8lM9nMcH8cxfNI7/6jVXmsV/7pdbDWu9L3DZhsspN1eMXZwiOymw==", "requires": { "@vscode/l10n": "^0.0.16", "vscode-languageserver-textdocument": "^1.0.8", - "vscode-languageserver-types": "^3.17.3", + "vscode-languageserver-types": "3.17.3", "vscode-uri": "^3.0.7" } }, "vscode-jsonrpc": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/vscode-jsonrpc/-/vscode-jsonrpc-8.1.0.tgz", - "integrity": "sha512-6TDy/abTQk+zDGYazgbIPc+4JoXdwC8NHU9Pbn4UJP1fehUyZmM4RHp5IthX7A6L5KS30PRui+j+tbbMMMafdw==" + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/vscode-jsonrpc/-/vscode-jsonrpc-8.2.0.tgz", + "integrity": "sha512-C+r0eKJUIfiDIfwJhria30+TYWPtuHJXHtI7J0YlOmKAo7ogxP20T0zxB7HZQIFhIyvoBPwWskjxrvAtfjyZfA==" }, "vscode-languageserver": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/vscode-languageserver/-/vscode-languageserver-8.1.0.tgz", - "integrity": "sha512-eUt8f1z2N2IEUDBsKaNapkz7jl5QpskN2Y0G01T/ItMxBxw1fJwvtySGB9QMecatne8jFIWJGWI61dWjyTLQsw==", + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/vscode-languageserver/-/vscode-languageserver-9.0.1.tgz", + "integrity": "sha512-woByF3PDpkHFUreUa7Hos7+pUWdeWMXRd26+ZX2A8cFx6v/JPTtd4/uN0/jB6XQHYaOlHbio03NTHCqrgG5n7g==", "requires": { - "vscode-languageserver-protocol": "3.17.3" + "vscode-languageserver-protocol": "3.17.5" } }, "vscode-languageserver-protocol": { - "version": "3.17.3", - "resolved": "https://registry.npmjs.org/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.17.3.tgz", - "integrity": "sha512-924/h0AqsMtA5yK22GgMtCYiMdCOtWTSGgUOkgEDX+wk2b0x4sAfLiO4NxBxqbiVtz7K7/1/RgVrVI0NClZwqA==", + "version": "3.17.5", + "resolved": "https://registry.npmjs.org/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.17.5.tgz", + "integrity": "sha512-mb1bvRJN8SVznADSGWM9u/b07H7Ecg0I3OgXDuLdn307rl/J3A9YD6/eYOssqhecL27hK1IPZAsaqh00i/Jljg==", "requires": { - "vscode-jsonrpc": "8.1.0", - "vscode-languageserver-types": "3.17.3" + "vscode-jsonrpc": "8.2.0", + "vscode-languageserver-types": "3.17.5" + }, + "dependencies": { + "vscode-languageserver-types": { + "version": "3.17.5", + "resolved": "https://registry.npmjs.org/vscode-languageserver-types/-/vscode-languageserver-types-3.17.5.tgz", + "integrity": "sha512-Ld1VelNuX9pdF39h2Hgaeb5hEZM2Z3jUrrMgWQAu82jMtZp7p3vJT3BzToKtZI7NgQssZje5o0zryOrhQvzQAg==" + } } }, "vscode-languageserver-textdocument": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/vscode-languageserver-textdocument/-/vscode-languageserver-textdocument-1.0.8.tgz", - "integrity": "sha512-1bonkGqQs5/fxGT5UchTgjGVnfysL0O8v1AYMBjqTbWQTFn721zaPGDYFkOKtfDgFiSgXM3KwaG3FMGfW4Ed9Q==" + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/vscode-languageserver-textdocument/-/vscode-languageserver-textdocument-1.0.11.tgz", + "integrity": "sha512-X+8T3GoiwTVlJbicx/sIAF+yuJAqz8VvwJyoMVhwEMoEKE/fkDmrqUgDMyBECcM2A2frVZIUj5HI/ErRXCfOeA==" }, "vscode-languageserver-types": { "version": "3.17.3", @@ -12052,9 +12070,9 @@ "integrity": "sha512-SYU4z1dL0PyIMd4Vj8YOqFvHu7Hz/enbWtpfnVbJHU4Nd1YNYx8u0ennumc6h48GQNeOLxmwySmnADouT/AuZA==" }, "vscode-uri": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/vscode-uri/-/vscode-uri-3.0.7.tgz", - "integrity": "sha512-eOpPHogvorZRobNqJGhapa0JdwaxpjVvyBp0QIUMRMSf8ZAlqOdEquKuRmw9Qwu0qXtJIWqFtMkmvJjUZmMjVA==" + "version": "3.0.8", + "resolved": "https://registry.npmjs.org/vscode-uri/-/vscode-uri-3.0.8.tgz", + "integrity": "sha512-AyFQ0EVmsOZOlAnxoFOGOq1SQDWAB7C6aqMGS23svWAllfOaxbuFvcT8D1i8z3Gyn8fraVeZNNmN6e9bxxXkKw==" }, "watchpack": { "version": "2.4.0", diff --git a/package.json b/package.json index d6611a67c..4d1da8538 100644 --- a/package.json +++ b/package.json @@ -18,43 +18,43 @@ "prettify": "npx prettier . --write" }, "devDependencies": { - "@file-services/memory": "^8.2.0", - "@file-services/node": "^8.2.0", + "@file-services/memory": "^8.3.1", + "@file-services/node": "^8.3.1", "@rollup/plugin-html": "^1.0.2", "@rollup/plugin-node-resolve": "^15.2.1", - "@types/balanced-match": "^1.0.3", + "@types/balanced-match": "^1.0.4", "@types/chai": "^4.3.6", "@types/chai-subset": "^1.3.3", "@types/css-selector-tokenizer": "^0.7.2", "@types/cssesc": "^3.0.0", "@types/csso": "^5.0.1", - "@types/find-config": "^1.0.1", - "@types/flat": "^5.0.2", - "@types/js-beautify": "^1.14.0", - "@types/json-schema": "^7.0.12", + "@types/find-config": "^1.0.2", + "@types/flat": "^5.0.3", + "@types/js-beautify": "^1.14.1", + "@types/json-schema": "^7.0.13", "@types/lodash.camelcase": "^4.3.7", "@types/lodash.clonedeep": "^4.5.7", "@types/lodash.clonedeepwith": "^4.5.7", "@types/lodash.findlast": "^4.6.7", "@types/lodash.upperfirst": "^4.3.7", - "@types/memory-fs": "^0.3.3", - "@types/mime": "^3.0.1", - "@types/mocha": "^10.0.1", + "@types/memory-fs": "^0.3.4", + "@types/mime": "^3.0.2", + "@types/mocha": "^10.0.2", "@types/node": "14", - "@types/postcss-safe-parser": "^5.0.1", - "@types/react": "^18.2.21", - "@types/react-dom": "^18.2.7", - "@types/semver": "^7.5.2", + "@types/postcss-safe-parser": "^5.0.2", + "@types/react": "^18.2.25", + "@types/react-dom": "^18.2.10", + "@types/semver": "^7.5.3", "@types/validate-npm-package-name": "^4.0.0", - "@types/yargs": "^17.0.24", + "@types/yargs": "^17.0.26", "@typescript-eslint/eslint-plugin": "^5.61.0", "@typescript-eslint/parser": "^5.61.0", - "autoprefixer": "^10.4.15", + "autoprefixer": "^10.4.16", "c8": "^8.0.1", - "chai": "^4.3.8", + "chai": "^4.3.10", "chai-subset": "^1.6.0", "create-listening-server": "^2.1.0", - "eslint": "^8.49.0", + "eslint": "^8.50.0", "eslint-config-prettier": "^9.0.0", "file-loader": "^6.2.0", "html-webpack-plugin": "^5.5.3", @@ -62,14 +62,14 @@ "mocha": "^10.2.0", "node-eval": "^2.0.0", "npm-run-all": "^4.1.5", - "playwright-chromium": "^1.38.0", - "postcss": "^8.4.29", + "playwright-chromium": "^1.38.1", + "postcss": "^8.4.31", "promise-assist": "^2.0.1", "raw-loader": "^4.0.2", "react": "^18.2.0", "react-dom": "^18.2.0", - "rimraf": "^5.0.1", - "rollup": "^3.29.1", + "rimraf": "^5.0.5", + "rollup": "^3.29.4", "source-map": "^0.7.4", "source-map-loader": "^4.0.1", "style-loader": "^3.3.3", diff --git a/packages/cli/package.json b/packages/cli/package.json index a2c8e04fc..649b1d764 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -12,8 +12,8 @@ "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 25000" }, "dependencies": { - "@file-services/node": "^8.2.0", - "@file-services/types": "^8.2.0", + "@file-services/node": "^8.3.1", + "@file-services/types": "^8.3.1", "@stylable/build-tools": "^5.16.0", "@stylable/code-formatter": "^5.16.0", "@stylable/core": "^5.16.0", diff --git a/packages/code-formatter/package.json b/packages/code-formatter/package.json index 7edcd1816..0752e48a1 100644 --- a/packages/code-formatter/package.json +++ b/packages/code-formatter/package.json @@ -10,7 +10,7 @@ "@stylable/core": "^5.16.0", "@tokey/css-value-parser": "^0.1.4", "js-beautify": "^1.14.9", - "postcss": "^8.4.29" + "postcss": "^8.4.31" }, "files": [ "dist", diff --git a/packages/core-test-kit/package.json b/packages/core-test-kit/package.json index 151ce22b0..c01aa2cb6 100644 --- a/packages/core-test-kit/package.json +++ b/packages/core-test-kit/package.json @@ -7,11 +7,11 @@ "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@file-services/memory": "^8.2.0", + "@file-services/memory": "^8.3.1", "@stylable/core": "^5.16.0", - "chai": "^4.3.8", + "chai": "^4.3.10", "flat": "^5.0.2", - "postcss": "^8.4.29" + "postcss": "^8.4.31" }, "files": [ "dist", diff --git a/packages/core/package.json b/packages/core/package.json index 54237cdbe..c26648e0c 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -20,7 +20,7 @@ "is-vendor-prefixed": "^4.0.0", "lodash.clonedeep": "^4.5.0", "lodash.clonedeepwith": "^4.5.0", - "postcss": "^8.4.29", + "postcss": "^8.4.31", "postcss-js": "^4.0.1", "postcss-nested": "^6.0.1", "postcss-safe-parser": "^6.0.0", diff --git a/packages/e2e-test-kit/package.json b/packages/e2e-test-kit/package.json index 5ed0a9eb1..cb83245c6 100644 --- a/packages/e2e-test-kit/package.json +++ b/packages/e2e-test-kit/package.json @@ -9,8 +9,8 @@ "dependencies": { "@stylable/runtime": "^5.16.0", "node-eval": "^2.0.0", - "playwright-core": "^1.38.0", - "rimraf": "^5.0.1" + "playwright-core": "^1.38.1", + "rimraf": "^5.0.5" }, "files": [ "dist", diff --git a/packages/language-service/package.json b/packages/language-service/package.json index 0e4acedd6..91a192516 100644 --- a/packages/language-service/package.json +++ b/packages/language-service/package.json @@ -11,20 +11,20 @@ "typescript": ">=3.8" }, "dependencies": { - "@file-services/types": "^8.2.0", - "@file-services/typescript": "^8.2.0", + "@file-services/types": "^8.3.1", + "@file-services/typescript": "^8.3.1", "@stylable/code-formatter": "^5.16.0", "@stylable/core": "^5.16.0", "@tokey/core": "^1.4.0", "@tokey/css-selector-parser": "^0.6.2", "@tokey/css-value-parser": "^0.1.4", "css-selector-tokenizer": "^0.8.0", - "postcss": "^8.4.29", + "postcss": "^8.4.31", "postcss-value-parser": "^4.2.0", - "vscode-css-languageservice": "^6.2.7", - "vscode-languageserver": "^8.1.0", - "vscode-languageserver-textdocument": "^1.0.8", - "vscode-uri": "^3.0.7" + "vscode-css-languageservice": "^6.2.9", + "vscode-languageserver": "^9.0.1", + "vscode-languageserver-textdocument": "^1.0.11", + "vscode-uri": "^3.0.8" }, "author": "Wix.com", "files": [ diff --git a/packages/optimizer/package.json b/packages/optimizer/package.json index d92e2c246..a47f2efc6 100644 --- a/packages/optimizer/package.json +++ b/packages/optimizer/package.json @@ -10,7 +10,7 @@ "@stylable/core": "^5.16.0", "@tokey/css-selector-parser": "^0.6.2", "csso": "^5.0.5", - "postcss": "^8.4.29" + "postcss": "^8.4.31" }, "files": [ "dist", diff --git a/packages/webpack-plugin/package.json b/packages/webpack-plugin/package.json index e5114d607..b17badb85 100644 --- a/packages/webpack-plugin/package.json +++ b/packages/webpack-plugin/package.json @@ -19,7 +19,7 @@ "@stylable/runtime": "^5.16.0", "decache": "^4.6.2", "lodash.clonedeep": "^4.5.0", - "postcss": "^8.4.29" + "postcss": "^8.4.31" }, "files": [ "dist", From 0c99c067110a141654bab00257eeab0804ad0a4a Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Thu, 5 Oct 2023 15:07:10 +0300 Subject: [PATCH 73/81] v5.16.1 --- package-lock.json | 246 +++++++++---------- packages/build-tools/package.json | 4 +- packages/cli/package.json | 14 +- packages/code-formatter/package.json | 4 +- packages/core-test-kit/package.json | 4 +- packages/core/package.json | 2 +- packages/create-stylable-app/package.json | 2 +- packages/custom-value/package.json | 4 +- packages/dom-test-kit/package.json | 6 +- packages/e2e-test-kit/package.json | 4 +- packages/esbuild/package.json | 14 +- packages/eslint-plugin-stylable/package.json | 4 +- packages/experimental-loader/package.json | 6 +- packages/jest/package.json | 10 +- packages/language-service/package.json | 6 +- packages/module-utils/package.json | 4 +- packages/node/package.json | 8 +- packages/optimizer/package.json | 4 +- packages/rollup-plugin/package.json | 14 +- packages/runtime/package.json | 2 +- packages/schema-extract/package.json | 4 +- packages/uni-driver/package.json | 2 +- packages/webpack-extensions/package.json | 8 +- packages/webpack-plugin/package.json | 16 +- 24 files changed, 196 insertions(+), 196 deletions(-) diff --git a/package-lock.json b/package-lock.json index 91593772f..05cc795d7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6863,10 +6863,10 @@ }, "packages/build-tools": { "name": "@stylable/build-tools", - "version": "5.16.0", + "version": "5.16.1", "license": "MIT", "dependencies": { - "@stylable/core": "^5.16.0", + "@stylable/core": "^5.16.1", "find-config": "^1.0.0" }, "engines": { @@ -6875,17 +6875,17 @@ }, "packages/cli": { "name": "@stylable/cli", - "version": "5.16.0", + "version": "5.16.1", "license": "MIT", "dependencies": { "@file-services/node": "^8.3.1", "@file-services/types": "^8.3.1", - "@stylable/build-tools": "^5.16.0", - "@stylable/code-formatter": "^5.16.0", - "@stylable/core": "^5.16.0", - "@stylable/module-utils": "^5.16.0", - "@stylable/node": "^5.16.0", - "@stylable/optimizer": "^5.16.0", + "@stylable/build-tools": "^5.16.1", + "@stylable/code-formatter": "^5.16.1", + "@stylable/core": "^5.16.1", + "@stylable/module-utils": "^5.16.1", + "@stylable/node": "^5.16.1", + "@stylable/optimizer": "^5.16.1", "@wixc3/resolve-directory-context": "^3.0.5", "decache": "^4.6.2", "lodash.camelcase": "^4.3.0", @@ -6914,10 +6914,10 @@ }, "packages/code-formatter": { "name": "@stylable/code-formatter", - "version": "5.16.0", + "version": "5.16.1", "license": "MIT", "dependencies": { - "@stylable/core": "^5.16.0", + "@stylable/core": "^5.16.1", "@tokey/css-value-parser": "^0.1.4", "js-beautify": "^1.14.9", "postcss": "^8.4.31" @@ -6928,7 +6928,7 @@ }, "packages/core": { "name": "@stylable/core", - "version": "5.16.0", + "version": "5.16.1", "license": "MIT", "dependencies": { "@tokey/css-selector-parser": "^0.6.2", @@ -6953,11 +6953,11 @@ }, "packages/core-test-kit": { "name": "@stylable/core-test-kit", - "version": "5.16.0", + "version": "5.16.1", "license": "MIT", "dependencies": { "@file-services/memory": "^8.3.1", - "@stylable/core": "^5.16.0", + "@stylable/core": "^5.16.1", "chai": "^4.3.10", "flat": "^5.0.2", "postcss": "^8.4.31" @@ -6971,7 +6971,7 @@ "license": "MIT" }, "packages/create-stylable-app": { - "version": "5.16.0", + "version": "5.16.1", "license": "MIT", "dependencies": { "validate-npm-package-name": "^5.0.0", @@ -6986,10 +6986,10 @@ }, "packages/custom-value": { "name": "@stylable/custom-value", - "version": "5.16.0", + "version": "5.16.1", "license": "MIT", "dependencies": { - "@stylable/core": "^5.16.0" + "@stylable/core": "^5.16.1" }, "engines": { "node": ">=14.14.0" @@ -6997,11 +6997,11 @@ }, "packages/dom-test-kit": { "name": "@stylable/dom-test-kit", - "version": "5.16.0", + "version": "5.16.1", "license": "MIT", "dependencies": { - "@stylable/core": "^5.16.0", - "@stylable/runtime": "^5.16.0", + "@stylable/core": "^5.16.1", + "@stylable/runtime": "^5.16.1", "@tokey/css-selector-parser": "^0.6.2" }, "engines": { @@ -7010,10 +7010,10 @@ }, "packages/e2e-test-kit": { "name": "@stylable/e2e-test-kit", - "version": "5.16.0", + "version": "5.16.1", "license": "MIT", "dependencies": { - "@stylable/runtime": "^5.16.0", + "@stylable/runtime": "^5.16.1", "node-eval": "^2.0.0", "playwright-core": "^1.38.1", "rimraf": "^5.0.5" @@ -7027,15 +7027,15 @@ }, "packages/esbuild": { "name": "@stylable/esbuild", - "version": "5.16.0", + "version": "5.16.1", "license": "MIT", "dependencies": { - "@stylable/build-tools": "^5.16.0", - "@stylable/cli": "^5.16.0", - "@stylable/core": "^5.16.0", - "@stylable/node": "^5.16.0", - "@stylable/optimizer": "^5.16.0", - "@stylable/runtime": "^5.16.0", + "@stylable/build-tools": "^5.16.1", + "@stylable/cli": "^5.16.1", + "@stylable/core": "^5.16.1", + "@stylable/node": "^5.16.1", + "@stylable/optimizer": "^5.16.1", + "@stylable/runtime": "^5.16.1", "decache": "^4.6.2" }, "engines": { @@ -7046,20 +7046,20 @@ } }, "packages/eslint-plugin-stylable": { - "version": "5.16.0", + "version": "5.16.1", "license": "MIT", "dependencies": { - "@stylable/core": "^5.16.0", + "@stylable/core": "^5.16.1", "@typescript-eslint/utils": "^5.61.0" } }, "packages/experimental-loader": { "name": "@stylable/experimental-loader", - "version": "5.16.0", + "version": "5.16.1", "license": "MIT", "dependencies": { - "@stylable/core": "^5.16.0", - "@stylable/runtime": "^5.16.0", + "@stylable/core": "^5.16.1", + "@stylable/runtime": "^5.16.1", "css-loader": "^6.8.1", "decache": "^4.6.2", "loader-utils": "^3.2.1" @@ -7074,13 +7074,13 @@ }, "packages/jest": { "name": "@stylable/jest", - "version": "5.16.0", + "version": "5.16.1", "license": "MIT", "dependencies": { - "@stylable/core": "^5.16.0", - "@stylable/module-utils": "^5.16.0", - "@stylable/node": "^5.16.0", - "@stylable/runtime": "^5.16.0" + "@stylable/core": "^5.16.1", + "@stylable/module-utils": "^5.16.1", + "@stylable/node": "^5.16.1", + "@stylable/runtime": "^5.16.1" }, "engines": { "node": ">=14.14.0" @@ -7088,13 +7088,13 @@ }, "packages/language-service": { "name": "@stylable/language-service", - "version": "5.16.0", + "version": "5.16.1", "license": "MIT", "dependencies": { "@file-services/types": "^8.3.1", "@file-services/typescript": "^8.3.1", - "@stylable/code-formatter": "^5.16.0", - "@stylable/core": "^5.16.0", + "@stylable/code-formatter": "^5.16.1", + "@stylable/core": "^5.16.1", "@tokey/core": "^1.4.0", "@tokey/css-selector-parser": "^0.6.2", "@tokey/css-value-parser": "^0.1.4", @@ -7115,10 +7115,10 @@ }, "packages/module-utils": { "name": "@stylable/module-utils", - "version": "5.16.0", + "version": "5.16.1", "license": "MIT", "dependencies": { - "@stylable/core": "^5.16.0", + "@stylable/core": "^5.16.1", "@tokey/core": "^1.4.0", "vlq": "^2.0.4" }, @@ -7128,12 +7128,12 @@ }, "packages/node": { "name": "@stylable/node", - "version": "5.16.0", + "version": "5.16.1", "license": "MIT", "dependencies": { - "@stylable/build-tools": "^5.16.0", - "@stylable/core": "^5.16.0", - "@stylable/module-utils": "^5.16.0", + "@stylable/build-tools": "^5.16.1", + "@stylable/core": "^5.16.1", + "@stylable/module-utils": "^5.16.1", "find-config": "^1.0.0" }, "engines": { @@ -7142,10 +7142,10 @@ }, "packages/optimizer": { "name": "@stylable/optimizer", - "version": "5.16.0", + "version": "5.16.1", "license": "MIT", "dependencies": { - "@stylable/core": "^5.16.0", + "@stylable/core": "^5.16.1", "@tokey/css-selector-parser": "^0.6.2", "csso": "^5.0.5", "postcss": "^8.4.31" @@ -7156,15 +7156,15 @@ }, "packages/rollup-plugin": { "name": "@stylable/rollup-plugin", - "version": "5.16.0", + "version": "5.16.1", "license": "MIT", "dependencies": { - "@stylable/build-tools": "^5.16.0", - "@stylable/cli": "^5.16.0", - "@stylable/core": "^5.16.0", - "@stylable/node": "^5.16.0", - "@stylable/optimizer": "^5.16.0", - "@stylable/runtime": "^5.16.0", + "@stylable/build-tools": "^5.16.1", + "@stylable/cli": "^5.16.1", + "@stylable/core": "^5.16.1", + "@stylable/node": "^5.16.1", + "@stylable/optimizer": "^5.16.1", + "@stylable/runtime": "^5.16.1", "decache": "^4.6.2", "mime": "^3.0.0" }, @@ -7187,7 +7187,7 @@ }, "packages/runtime": { "name": "@stylable/runtime", - "version": "5.16.0", + "version": "5.16.1", "license": "MIT", "engines": { "node": ">=14.14.0" @@ -7195,10 +7195,10 @@ }, "packages/schema-extract": { "name": "@stylable/schema-extract", - "version": "5.16.0", + "version": "5.16.1", "license": "MIT", "dependencies": { - "@stylable/core": "^5.16.0", + "@stylable/core": "^5.16.1", "jest-docblock": "^29.7.0" }, "engines": { @@ -7207,7 +7207,7 @@ }, "packages/uni-driver": { "name": "@stylable/uni-driver", - "version": "5.16.0", + "version": "5.16.1", "license": "MIT", "engines": { "node": ">=14.14.0" @@ -7215,12 +7215,12 @@ }, "packages/webpack-extensions": { "name": "@stylable/webpack-extensions", - "version": "5.16.0", + "version": "5.16.1", "license": "MIT", "dependencies": { - "@stylable/core": "^5.16.0", - "@stylable/node": "^5.16.0", - "@stylable/webpack-plugin": "^5.16.0", + "@stylable/core": "^5.16.1", + "@stylable/node": "^5.16.1", + "@stylable/webpack-plugin": "^5.16.1", "@tokey/css-selector-parser": "^0.6.2", "find-config": "^1.0.0", "lodash.clonedeep": "^4.5.0" @@ -7234,16 +7234,16 @@ }, "packages/webpack-plugin": { "name": "@stylable/webpack-plugin", - "version": "5.16.0", + "version": "5.16.1", "license": "MIT", "dependencies": { - "@stylable/build-tools": "^5.16.0", - "@stylable/cli": "^5.16.0", - "@stylable/core": "^5.16.0", - "@stylable/module-utils": "^5.16.0", - "@stylable/node": "^5.16.0", - "@stylable/optimizer": "^5.16.0", - "@stylable/runtime": "^5.16.0", + "@stylable/build-tools": "^5.16.1", + "@stylable/cli": "^5.16.1", + "@stylable/core": "^5.16.1", + "@stylable/module-utils": "^5.16.1", + "@stylable/node": "^5.16.1", + "@stylable/optimizer": "^5.16.1", + "@stylable/runtime": "^5.16.1", "decache": "^4.6.2", "lodash.clonedeep": "^4.5.0", "postcss": "^8.4.31" @@ -7700,7 +7700,7 @@ "@stylable/build-tools": { "version": "file:packages/build-tools", "requires": { - "@stylable/core": "^5.16.0", + "@stylable/core": "^5.16.1", "find-config": "^1.0.0" } }, @@ -7709,12 +7709,12 @@ "requires": { "@file-services/node": "^8.3.1", "@file-services/types": "^8.3.1", - "@stylable/build-tools": "^5.16.0", - "@stylable/code-formatter": "^5.16.0", - "@stylable/core": "^5.16.0", - "@stylable/module-utils": "^5.16.0", - "@stylable/node": "^5.16.0", - "@stylable/optimizer": "^5.16.0", + "@stylable/build-tools": "^5.16.1", + "@stylable/code-formatter": "^5.16.1", + "@stylable/core": "^5.16.1", + "@stylable/module-utils": "^5.16.1", + "@stylable/node": "^5.16.1", + "@stylable/optimizer": "^5.16.1", "@wixc3/resolve-directory-context": "^3.0.5", "decache": "^4.6.2", "lodash.camelcase": "^4.3.0", @@ -7731,7 +7731,7 @@ "@stylable/code-formatter": { "version": "file:packages/code-formatter", "requires": { - "@stylable/core": "^5.16.0", + "@stylable/core": "^5.16.1", "@tokey/css-value-parser": "^0.1.4", "js-beautify": "^1.14.9", "postcss": "^8.4.31" @@ -7766,7 +7766,7 @@ "version": "file:packages/core-test-kit", "requires": { "@file-services/memory": "^8.3.1", - "@stylable/core": "^5.16.0", + "@stylable/core": "^5.16.1", "chai": "^4.3.10", "flat": "^5.0.2", "postcss": "^8.4.31" @@ -7775,21 +7775,21 @@ "@stylable/custom-value": { "version": "file:packages/custom-value", "requires": { - "@stylable/core": "^5.16.0" + "@stylable/core": "^5.16.1" } }, "@stylable/dom-test-kit": { "version": "file:packages/dom-test-kit", "requires": { - "@stylable/core": "^5.16.0", - "@stylable/runtime": "^5.16.0", + "@stylable/core": "^5.16.1", + "@stylable/runtime": "^5.16.1", "@tokey/css-selector-parser": "^0.6.2" } }, "@stylable/e2e-test-kit": { "version": "file:packages/e2e-test-kit", "requires": { - "@stylable/runtime": "^5.16.0", + "@stylable/runtime": "^5.16.1", "node-eval": "^2.0.0", "playwright-core": "^1.38.1", "rimraf": "^5.0.5" @@ -7798,20 +7798,20 @@ "@stylable/esbuild": { "version": "file:packages/esbuild", "requires": { - "@stylable/build-tools": "^5.16.0", - "@stylable/cli": "^5.16.0", - "@stylable/core": "^5.16.0", - "@stylable/node": "^5.16.0", - "@stylable/optimizer": "^5.16.0", - "@stylable/runtime": "^5.16.0", + "@stylable/build-tools": "^5.16.1", + "@stylable/cli": "^5.16.1", + "@stylable/core": "^5.16.1", + "@stylable/node": "^5.16.1", + "@stylable/optimizer": "^5.16.1", + "@stylable/runtime": "^5.16.1", "decache": "^4.6.2" } }, "@stylable/experimental-loader": { "version": "file:packages/experimental-loader", "requires": { - "@stylable/core": "^5.16.0", - "@stylable/runtime": "^5.16.0", + "@stylable/core": "^5.16.1", + "@stylable/runtime": "^5.16.1", "css-loader": "^6.8.1", "decache": "^4.6.2", "loader-utils": "^3.2.1" @@ -7825,10 +7825,10 @@ "@stylable/jest": { "version": "file:packages/jest", "requires": { - "@stylable/core": "^5.16.0", - "@stylable/module-utils": "^5.16.0", - "@stylable/node": "^5.16.0", - "@stylable/runtime": "^5.16.0" + "@stylable/core": "^5.16.1", + "@stylable/module-utils": "^5.16.1", + "@stylable/node": "^5.16.1", + "@stylable/runtime": "^5.16.1" } }, "@stylable/language-service": { @@ -7836,8 +7836,8 @@ "requires": { "@file-services/types": "^8.3.1", "@file-services/typescript": "^8.3.1", - "@stylable/code-formatter": "^5.16.0", - "@stylable/core": "^5.16.0", + "@stylable/code-formatter": "^5.16.1", + "@stylable/core": "^5.16.1", "@tokey/core": "^1.4.0", "@tokey/css-selector-parser": "^0.6.2", "@tokey/css-value-parser": "^0.1.4", @@ -7853,7 +7853,7 @@ "@stylable/module-utils": { "version": "file:packages/module-utils", "requires": { - "@stylable/core": "^5.16.0", + "@stylable/core": "^5.16.1", "@tokey/core": "^1.4.0", "vlq": "^2.0.4" } @@ -7861,16 +7861,16 @@ "@stylable/node": { "version": "file:packages/node", "requires": { - "@stylable/build-tools": "^5.16.0", - "@stylable/core": "^5.16.0", - "@stylable/module-utils": "^5.16.0", + "@stylable/build-tools": "^5.16.1", + "@stylable/core": "^5.16.1", + "@stylable/module-utils": "^5.16.1", "find-config": "^1.0.0" } }, "@stylable/optimizer": { "version": "file:packages/optimizer", "requires": { - "@stylable/core": "^5.16.0", + "@stylable/core": "^5.16.1", "@tokey/css-selector-parser": "^0.6.2", "csso": "^5.0.5", "postcss": "^8.4.31" @@ -7879,12 +7879,12 @@ "@stylable/rollup-plugin": { "version": "file:packages/rollup-plugin", "requires": { - "@stylable/build-tools": "^5.16.0", - "@stylable/cli": "^5.16.0", - "@stylable/core": "^5.16.0", - "@stylable/node": "^5.16.0", - "@stylable/optimizer": "^5.16.0", - "@stylable/runtime": "^5.16.0", + "@stylable/build-tools": "^5.16.1", + "@stylable/cli": "^5.16.1", + "@stylable/core": "^5.16.1", + "@stylable/node": "^5.16.1", + "@stylable/optimizer": "^5.16.1", + "@stylable/runtime": "^5.16.1", "decache": "^4.6.2", "mime": "^3.0.0" }, @@ -7900,7 +7900,7 @@ "@stylable/schema-extract": { "version": "file:packages/schema-extract", "requires": { - "@stylable/core": "^5.16.0", + "@stylable/core": "^5.16.1", "jest-docblock": "^29.7.0" } }, @@ -7910,9 +7910,9 @@ "@stylable/webpack-extensions": { "version": "file:packages/webpack-extensions", "requires": { - "@stylable/core": "^5.16.0", - "@stylable/node": "^5.16.0", - "@stylable/webpack-plugin": "^5.16.0", + "@stylable/core": "^5.16.1", + "@stylable/node": "^5.16.1", + "@stylable/webpack-plugin": "^5.16.1", "@tokey/css-selector-parser": "^0.6.2", "find-config": "^1.0.0", "lodash.clonedeep": "^4.5.0" @@ -7921,13 +7921,13 @@ "@stylable/webpack-plugin": { "version": "file:packages/webpack-plugin", "requires": { - "@stylable/build-tools": "^5.16.0", - "@stylable/cli": "^5.16.0", - "@stylable/core": "^5.16.0", - "@stylable/module-utils": "^5.16.0", - "@stylable/node": "^5.16.0", - "@stylable/optimizer": "^5.16.0", - "@stylable/runtime": "^5.16.0", + "@stylable/build-tools": "^5.16.1", + "@stylable/cli": "^5.16.1", + "@stylable/core": "^5.16.1", + "@stylable/module-utils": "^5.16.1", + "@stylable/node": "^5.16.1", + "@stylable/optimizer": "^5.16.1", + "@stylable/runtime": "^5.16.1", "decache": "^4.6.2", "lodash.clonedeep": "^4.5.0", "postcss": "^8.4.31" @@ -9444,7 +9444,7 @@ "eslint-plugin-stylable": { "version": "file:packages/eslint-plugin-stylable", "requires": { - "@stylable/core": "^5.16.0", + "@stylable/core": "^5.16.1", "@typescript-eslint/utils": "^5.61.0" } }, diff --git a/packages/build-tools/package.json b/packages/build-tools/package.json index 198e7cbde..8603e2445 100644 --- a/packages/build-tools/package.json +++ b/packages/build-tools/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/build-tools", - "version": "5.16.0", + "version": "5.16.1", "description": "Collection of helper functions for Stylable based tooling.", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 20000" }, "dependencies": { - "@stylable/core": "^5.16.0", + "@stylable/core": "^5.16.1", "find-config": "^1.0.0" }, "files": [ diff --git a/packages/cli/package.json b/packages/cli/package.json index 649b1d764..da13de8de 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/cli", - "version": "5.16.0", + "version": "5.16.1", "description": "A low-level utility used for working with Stylable projects", "main": "dist/index.js", "bin": { @@ -14,12 +14,12 @@ "dependencies": { "@file-services/node": "^8.3.1", "@file-services/types": "^8.3.1", - "@stylable/build-tools": "^5.16.0", - "@stylable/code-formatter": "^5.16.0", - "@stylable/core": "^5.16.0", - "@stylable/module-utils": "^5.16.0", - "@stylable/node": "^5.16.0", - "@stylable/optimizer": "^5.16.0", + "@stylable/build-tools": "^5.16.1", + "@stylable/code-formatter": "^5.16.1", + "@stylable/core": "^5.16.1", + "@stylable/module-utils": "^5.16.1", + "@stylable/node": "^5.16.1", + "@stylable/optimizer": "^5.16.1", "@wixc3/resolve-directory-context": "^3.0.5", "decache": "^4.6.2", "lodash.camelcase": "^4.3.0", diff --git a/packages/code-formatter/package.json b/packages/code-formatter/package.json index 0752e48a1..92cd5565d 100644 --- a/packages/code-formatter/package.json +++ b/packages/code-formatter/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/code-formatter", - "version": "5.16.0", + "version": "5.16.1", "description": "A code formatting utility for Stylable stylesheets", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.16.0", + "@stylable/core": "^5.16.1", "@tokey/css-value-parser": "^0.1.4", "js-beautify": "^1.14.9", "postcss": "^8.4.31" diff --git a/packages/core-test-kit/package.json b/packages/core-test-kit/package.json index c01aa2cb6..b6f050571 100644 --- a/packages/core-test-kit/package.json +++ b/packages/core-test-kit/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/core-test-kit", - "version": "5.16.0", + "version": "5.16.1", "description": "Stylable core test-kit", "main": "dist/index.js", "scripts": { @@ -8,7 +8,7 @@ }, "dependencies": { "@file-services/memory": "^8.3.1", - "@stylable/core": "^5.16.0", + "@stylable/core": "^5.16.1", "chai": "^4.3.10", "flat": "^5.0.2", "postcss": "^8.4.31" diff --git a/packages/core/package.json b/packages/core/package.json index c26648e0c..774b962eb 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/core", - "version": "5.16.0", + "version": "5.16.1", "description": "CSS for Components", "main": "dist/index.js", "scripts": { diff --git a/packages/create-stylable-app/package.json b/packages/create-stylable-app/package.json index 62c4df923..74498d331 100644 --- a/packages/create-stylable-app/package.json +++ b/packages/create-stylable-app/package.json @@ -1,6 +1,6 @@ { "name": "create-stylable-app", - "version": "5.16.0", + "version": "5.16.1", "description": "Quickly create a Stylable application", "main": "dist/index.js", "bin": { diff --git a/packages/custom-value/package.json b/packages/custom-value/package.json index b3555239a..51775bea1 100644 --- a/packages/custom-value/package.json +++ b/packages/custom-value/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/custom-value", - "version": "5.16.0", + "version": "5.16.1", "description": "Custom values (variables) for Stylable", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 20000" }, "dependencies": { - "@stylable/core": "^5.16.0" + "@stylable/core": "^5.16.1" }, "files": [ "dist", diff --git a/packages/dom-test-kit/package.json b/packages/dom-test-kit/package.json index f51b86036..a47e746a9 100644 --- a/packages/dom-test-kit/package.json +++ b/packages/dom-test-kit/package.json @@ -1,14 +1,14 @@ { "name": "@stylable/dom-test-kit", - "version": "5.16.0", + "version": "5.16.1", "description": "Stylable DOM testing utilities", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.16.0", - "@stylable/runtime": "^5.16.0", + "@stylable/core": "^5.16.1", + "@stylable/runtime": "^5.16.1", "@tokey/css-selector-parser": "^0.6.2" }, "files": [ diff --git a/packages/e2e-test-kit/package.json b/packages/e2e-test-kit/package.json index cb83245c6..6f89213f7 100644 --- a/packages/e2e-test-kit/package.json +++ b/packages/e2e-test-kit/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/e2e-test-kit", - "version": "5.16.0", + "version": "5.16.1", "description": "A collection of tools to help test Stylable components and applications from end-to-end", "main": "dist/index.js", "peerDependencies": { "webpack": "^5.30.0" }, "dependencies": { - "@stylable/runtime": "^5.16.0", + "@stylable/runtime": "^5.16.1", "node-eval": "^2.0.0", "playwright-core": "^1.38.1", "rimraf": "^5.0.5" diff --git a/packages/esbuild/package.json b/packages/esbuild/package.json index 6f3afd05c..95e2cc88c 100644 --- a/packages/esbuild/package.json +++ b/packages/esbuild/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/esbuild", - "version": "5.16.0", + "version": "5.16.1", "description": "Stylable plugin for esbuild", "main": "dist/index.js", "scripts": { @@ -10,12 +10,12 @@ "esbuild": ">=0.17.18" }, "dependencies": { - "@stylable/build-tools": "^5.16.0", - "@stylable/cli": "^5.16.0", - "@stylable/core": "^5.16.0", - "@stylable/node": "^5.16.0", - "@stylable/optimizer": "^5.16.0", - "@stylable/runtime": "^5.16.0", + "@stylable/build-tools": "^5.16.1", + "@stylable/cli": "^5.16.1", + "@stylable/core": "^5.16.1", + "@stylable/node": "^5.16.1", + "@stylable/optimizer": "^5.16.1", + "@stylable/runtime": "^5.16.1", "decache": "^4.6.2" }, "files": [ diff --git a/packages/eslint-plugin-stylable/package.json b/packages/eslint-plugin-stylable/package.json index b0003b122..0434dcd7d 100644 --- a/packages/eslint-plugin-stylable/package.json +++ b/packages/eslint-plugin-stylable/package.json @@ -1,13 +1,13 @@ { "name": "eslint-plugin-stylable", - "version": "5.16.0", + "version": "5.16.1", "description": "eslint plugin for Stylable usages", "main": "dist/index.js", "scripts": { "test": "mocha \"dist/test/**/*.spec.js\" --timeout 5000" }, "dependencies": { - "@stylable/core": "^5.16.0", + "@stylable/core": "^5.16.1", "@typescript-eslint/utils": "^5.61.0" }, "keywords": [ diff --git a/packages/experimental-loader/package.json b/packages/experimental-loader/package.json index c5aa35e21..2497a6ca3 100644 --- a/packages/experimental-loader/package.json +++ b/packages/experimental-loader/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/experimental-loader", - "version": "5.16.0", + "version": "5.16.1", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 20000" }, "dependencies": { - "@stylable/core": "^5.16.0", - "@stylable/runtime": "^5.16.0", + "@stylable/core": "^5.16.1", + "@stylable/runtime": "^5.16.1", "css-loader": "^6.8.1", "decache": "^4.6.2", "loader-utils": "^3.2.1" diff --git a/packages/jest/package.json b/packages/jest/package.json index 1c20559e4..5000f26ce 100644 --- a/packages/jest/package.json +++ b/packages/jest/package.json @@ -1,16 +1,16 @@ { "name": "@stylable/jest", - "version": "5.16.0", + "version": "5.16.1", "description": "Test your Stylable React components using Jest", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.16.0", - "@stylable/module-utils": "^5.16.0", - "@stylable/node": "^5.16.0", - "@stylable/runtime": "^5.16.0" + "@stylable/core": "^5.16.1", + "@stylable/module-utils": "^5.16.1", + "@stylable/node": "^5.16.1", + "@stylable/runtime": "^5.16.1" }, "files": [ "dist", diff --git a/packages/language-service/package.json b/packages/language-service/package.json index 91a192516..daebd15ab 100644 --- a/packages/language-service/package.json +++ b/packages/language-service/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/language-service", - "version": "5.16.0", + "version": "5.16.1", "description": "Stylable Language Services - syntax highlighting, completions, hinting and more for the Stylable CSS preprocessor.", "main": "dist/index.js", "scripts": { @@ -13,8 +13,8 @@ "dependencies": { "@file-services/types": "^8.3.1", "@file-services/typescript": "^8.3.1", - "@stylable/code-formatter": "^5.16.0", - "@stylable/core": "^5.16.0", + "@stylable/code-formatter": "^5.16.1", + "@stylable/core": "^5.16.1", "@tokey/core": "^1.4.0", "@tokey/css-selector-parser": "^0.6.2", "@tokey/css-value-parser": "^0.1.4", diff --git a/packages/module-utils/package.json b/packages/module-utils/package.json index 0b8d7f929..41c905a71 100644 --- a/packages/module-utils/package.json +++ b/packages/module-utils/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/module-utils", - "version": "5.16.0", + "version": "5.16.1", "description": "Stylable module creation utilities", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.16.0", + "@stylable/core": "^5.16.1", "@tokey/core": "^1.4.0", "vlq": "^2.0.4" }, diff --git a/packages/node/package.json b/packages/node/package.json index 8c688d62d..bdb2bcbed 100644 --- a/packages/node/package.json +++ b/packages/node/package.json @@ -1,15 +1,15 @@ { "name": "@stylable/node", - "version": "5.16.0", + "version": "5.16.1", "description": "Integrate Stylable into your node application", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 10000" }, "dependencies": { - "@stylable/build-tools": "^5.16.0", - "@stylable/core": "^5.16.0", - "@stylable/module-utils": "^5.16.0", + "@stylable/build-tools": "^5.16.1", + "@stylable/core": "^5.16.1", + "@stylable/module-utils": "^5.16.1", "find-config": "^1.0.0" }, "files": [ diff --git a/packages/optimizer/package.json b/packages/optimizer/package.json index a47f2efc6..084387cc0 100644 --- a/packages/optimizer/package.json +++ b/packages/optimizer/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/optimizer", - "version": "5.16.0", + "version": "5.16.1", "description": "Stylable core optimizer", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.16.0", + "@stylable/core": "^5.16.1", "@tokey/css-selector-parser": "^0.6.2", "csso": "^5.0.5", "postcss": "^8.4.31" diff --git a/packages/rollup-plugin/package.json b/packages/rollup-plugin/package.json index f41aac01b..ea8896040 100644 --- a/packages/rollup-plugin/package.json +++ b/packages/rollup-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/rollup-plugin", - "version": "5.16.0", + "version": "5.16.1", "description": "Stylable plugin for Rollup", "main": "dist/index.js", "scripts": { @@ -10,12 +10,12 @@ "rollup": "^2.70.0 || ^3.0.0" }, "dependencies": { - "@stylable/build-tools": "^5.16.0", - "@stylable/cli": "^5.16.0", - "@stylable/core": "^5.16.0", - "@stylable/node": "^5.16.0", - "@stylable/optimizer": "^5.16.0", - "@stylable/runtime": "^5.16.0", + "@stylable/build-tools": "^5.16.1", + "@stylable/cli": "^5.16.1", + "@stylable/core": "^5.16.1", + "@stylable/node": "^5.16.1", + "@stylable/optimizer": "^5.16.1", + "@stylable/runtime": "^5.16.1", "decache": "^4.6.2", "mime": "^3.0.0" }, diff --git a/packages/runtime/package.json b/packages/runtime/package.json index 07d244e9c..c6143dd30 100644 --- a/packages/runtime/package.json +++ b/packages/runtime/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/runtime", - "version": "5.16.0", + "version": "5.16.1", "description": "Stylable runtime DOM integration", "main": "dist/index.js", "scripts": { diff --git a/packages/schema-extract/package.json b/packages/schema-extract/package.json index f7d376e94..aed2cca33 100644 --- a/packages/schema-extract/package.json +++ b/packages/schema-extract/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/schema-extract", - "version": "5.16.0", + "version": "5.16.1", "description": "A utility for extracting JSON schema objects from a Stylable stylesheet", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.16.0", + "@stylable/core": "^5.16.1", "jest-docblock": "^29.7.0" }, "files": [ diff --git a/packages/uni-driver/package.json b/packages/uni-driver/package.json index 2d23f5d04..60ee33f43 100644 --- a/packages/uni-driver/package.json +++ b/packages/uni-driver/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/uni-driver", - "version": "5.16.0", + "version": "5.16.1", "description": "Stylable UniDriver testing utilities", "main": "dist/index.js", "scripts": { diff --git a/packages/webpack-extensions/package.json b/packages/webpack-extensions/package.json index 86b0aee3a..077115728 100644 --- a/packages/webpack-extensions/package.json +++ b/packages/webpack-extensions/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/webpack-extensions", - "version": "5.16.0", + "version": "5.16.1", "description": "Experimental Stylable webpack plugins", "main": "dist/index.js", "scripts": { @@ -10,9 +10,9 @@ "webpack": "^5.30.0" }, "dependencies": { - "@stylable/core": "^5.16.0", - "@stylable/node": "^5.16.0", - "@stylable/webpack-plugin": "^5.16.0", + "@stylable/core": "^5.16.1", + "@stylable/node": "^5.16.1", + "@stylable/webpack-plugin": "^5.16.1", "@tokey/css-selector-parser": "^0.6.2", "find-config": "^1.0.0", "lodash.clonedeep": "^4.5.0" diff --git a/packages/webpack-plugin/package.json b/packages/webpack-plugin/package.json index b17badb85..ad7dcb057 100644 --- a/packages/webpack-plugin/package.json +++ b/packages/webpack-plugin/package.json @@ -1,7 +1,7 @@ { "name": "@stylable/webpack-plugin", "description": "Webpack (5.x) plugin for Stylable modules", - "version": "5.16.0", + "version": "5.16.1", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 20000" @@ -10,13 +10,13 @@ "webpack": "^5.30.0" }, "dependencies": { - "@stylable/build-tools": "^5.16.0", - "@stylable/cli": "^5.16.0", - "@stylable/core": "^5.16.0", - "@stylable/module-utils": "^5.16.0", - "@stylable/node": "^5.16.0", - "@stylable/optimizer": "^5.16.0", - "@stylable/runtime": "^5.16.0", + "@stylable/build-tools": "^5.16.1", + "@stylable/cli": "^5.16.1", + "@stylable/core": "^5.16.1", + "@stylable/module-utils": "^5.16.1", + "@stylable/node": "^5.16.1", + "@stylable/optimizer": "^5.16.1", + "@stylable/runtime": "^5.16.1", "decache": "^4.6.2", "lodash.clonedeep": "^4.5.0", "postcss": "^8.4.31" From 384188846bd17aaec5f4f629f20ce962a56713a8 Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Thu, 26 Oct 2023 12:58:57 +0300 Subject: [PATCH 74/81] chore: deprecation info for unknown custom-properties in build-var (#2922) --- packages/core/src/features/st-var.ts | 34 +++++++++++++ packages/core/src/stylable-transformer.ts | 1 + .../test/features/css-custom-property.spec.ts | 49 +++++++++++++++++-- 3 files changed, 81 insertions(+), 3 deletions(-) diff --git a/packages/core/src/features/st-var.ts b/packages/core/src/features/st-var.ts index dc75f5d7f..aa52d4d74 100644 --- a/packages/core/src/features/st-var.ts +++ b/packages/core/src/features/st-var.ts @@ -96,6 +96,13 @@ export const diagnostics = { 'error', (name: string) => `unknown var "${name}"` ), + UNKNOWN_CUSTOM_PROP: createDiagnosticReporter('07011', 'info', (names: string[]) => { + const msgStart = + names.length > 1 + ? `Unknown custom-properties "${names.join(', ')}" are` + : `Unknown custom-property "${names[0]}" is`; + return `${msgStart} currently not namespaced. However, in Stylable 6, it will be namespaced to the stylesheet. To maintain the current behavior, either wrap the value in quotes or establish a global custom property. If you intend for the custom property to be namespaced based on a different stylesheet context where the variable may be utilized, please reconsider your approach, as this will not be supported in future versions.`; + }), }; // HOOKS @@ -125,6 +132,33 @@ export const hooks = createFeature<{ } return; }, + transformInit({ context }) { + const { cssVar } = context.getResolvedSymbols(context.meta); + for (const [_localName, localSymbol] of Object.entries( + STSymbol.getAllByType(context.meta, 'var') + )) { + const value = postcssValueParser(stripQuotation(localSymbol.text)); + const unknownUsedProps: string[] = []; + value.walk((node) => { + if (node.type === 'function' && node.value.toLowerCase() === 'var') { + for (const argNode of node.nodes) { + if ( + argNode.type === 'word' && + argNode.value.startsWith('--') && + !cssVar[argNode.value] + ) { + unknownUsedProps.push(argNode.value); + } + } + } + }); + if (unknownUsedProps.length) { + context.diagnostics.report(diagnostics.UNKNOWN_CUSTOM_PROP(unknownUsedProps), { + node: localSymbol.node, + }); + } + } + }, prepareAST({ node, toRemove }) { if (node.type === 'rule' && node.selector === ':vars') { toRemove.push(node); diff --git a/packages/core/src/stylable-transformer.ts b/packages/core/src/stylable-transformer.ts index 96ff4583d..4716a17be 100644 --- a/packages/core/src/stylable-transformer.ts +++ b/packages/core/src/stylable-transformer.ts @@ -175,6 +175,7 @@ export class StylableTransformer { }; STImport.hooks.transformInit({ context }); STGlobal.hooks.transformInit({ context }); + STVar.hooks.transformInit({ context }); if (!this.experimentalSelectorInference) { meta.transformedScopes = validateScopes(this, meta); } diff --git a/packages/core/test/features/css-custom-property.spec.ts b/packages/core/test/features/css-custom-property.spec.ts index 4af7db716..815def738 100644 --- a/packages/core/test/features/css-custom-property.spec.ts +++ b/packages/core/test/features/css-custom-property.spec.ts @@ -1,4 +1,4 @@ -import { STImport, CSSCustomProperty, STSymbol } from '@stylable/core/dist/features'; +import { STImport, STVar, CSSCustomProperty, STSymbol } from '@stylable/core/dist/features'; import { generateScopedCSSVar } from '@stylable/core/dist/helpers/css-custom-property'; import { testStylableCore, @@ -10,6 +10,7 @@ import { expect } from 'chai'; const stImportDiagnostics = diagnosticBankReportToStrings(STImport.diagnostics); const stSymbolDiagnostics = diagnosticBankReportToStrings(STSymbol.diagnostics); +const stVarDiagnostics = diagnosticBankReportToStrings(STVar.diagnostics); const customPropertyDiagnostics = diagnosticBankReportToStrings(CSSCustomProperty.diagnostics); describe(`features/css-custom-property`, () => { @@ -748,7 +749,7 @@ describe(`features/css-custom-property`, () => { }); it(`should NOT define property as var value (change in v5)`, () => { // ToDo: in the future property should be able to be defined in var value - const { sheets } = testStylableCore(` + testStylableCore(` :vars { myVar: var(--color); } @@ -758,8 +759,50 @@ describe(`features/css-custom-property`, () => { prop: value(myVar); } `); + }); + it(`should report deprecation info on unknown custom properties`, () => { + const { sheets } = testStylableCore({ + './other.st.css': ` + @property --knownA; + `, + './invalid.st.css': ` + :vars { + /* @transform-info(single) ${stVarDiagnostics.UNKNOWN_CUSTOM_PROP([ + '--unknown1', + ])} */ + single: var(--unknown1); + + /* @transform-info(between) ${stVarDiagnostics.UNKNOWN_CUSTOM_PROP([ + '--unknown2', + ])} */ + betweenValue: before var(--unknown2) after; + + /* @transform-info(multiple) ${stVarDiagnostics.UNKNOWN_CUSTOM_PROP([ + '--unknownY', + '--unknownX', + '--unknownZ', + ])} */ + multiple: var(--unknownY) var(--unknownX, var(--unknownZ)); + } + `, + './valid.st.css': ` + @st-import [--knownA] from './other.st.css'; + @property --knownB; + .root { + --knownC: green; + } - const { meta } = sheets['/entry.st.css']; + :vars { + single: var(--knownA); + + betweenValue: before var(--knownB) after; + + multiple: var(--knownC) var(--knownB, var(--knownA)); + } + `, + }); + + const { meta } = sheets['/valid.st.css']; shouldReportNoDiagnostics(meta); }); From 048fee24d2f1ffc279ecada5c3fc36f03e80b4ca Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Sun, 3 Dec 2023 16:54:39 +0200 Subject: [PATCH 75/81] feat: strict custom property (#2929) --- packages/cli/src/config/projects-config.ts | 16 +++-- .../core-test-kit/src/generate-test-util.ts | 7 +- .../core/src/create-stylable-processor.ts | 11 +++- .../core/src/features/css-custom-property.ts | 21 +++++- packages/core/src/features/feature.ts | 7 ++ packages/core/src/index-internal.ts | 1 + packages/core/src/stylable-meta.ts | 7 +- packages/core/src/stylable-processor.ts | 6 +- packages/core/src/stylable.ts | 12 +++- .../test/features/css-custom-property.spec.ts | 66 +++++++++++++++++-- 10 files changed, 132 insertions(+), 22 deletions(-) diff --git a/packages/cli/src/config/projects-config.ts b/packages/cli/src/config/projects-config.ts index 859322909..e71a5e47f 100644 --- a/packages/cli/src/config/projects-config.ts +++ b/packages/cli/src/config/projects-config.ts @@ -13,15 +13,19 @@ import type { import { processProjects } from './process-projects'; import { createDefaultOptions, mergeBuildOptions, validateOptions } from './resolve-options'; import { resolveNpmRequests } from './resolve-requests'; -import type { ModuleResolver } from '@stylable/core/dist/index-internal'; -import type { MinimalFS, processNamespace } from '@stylable/core'; +import type { MinimalFS } from '@stylable/core'; +import type { StylableConfig } from '@stylable/core'; interface StylableRuntimeConfigs { stcConfig?: Configuration | undefined; - defaultConfig?: { - resolveModule?: ModuleResolver; - resolveNamespace?: typeof processNamespace; - }; + defaultConfig?: Pick< + StylableConfig, + | 'resolveNamespace' + | 'requireModule' + | 'resolveModule' + | 'flags' + | 'experimentalSelectorInference' + >; } export async function projectsConfig( diff --git a/packages/core-test-kit/src/generate-test-util.ts b/packages/core-test-kit/src/generate-test-util.ts index a94af7f17..72f013066 100644 --- a/packages/core-test-kit/src/generate-test-util.ts +++ b/packages/core-test-kit/src/generate-test-util.ts @@ -15,6 +15,7 @@ import { createStylableFileProcessor, postProcessor, replaceValueHook, + defaultFeatureFlags, } from '@stylable/core/dist/index-internal'; import { isAbsolute } from 'path'; import * as postcss from 'postcss'; @@ -107,9 +108,9 @@ export function processSource( options: { from?: string } = {}, resolveNamespace?: typeof processNamespace ) { - return new StylableProcessor(new Diagnostics(), resolveNamespace).process( - postcss.parse(source, options) - ); + return new StylableProcessor(new Diagnostics(), resolveNamespace, { + ...defaultFeatureFlags, + }).process(postcss.parse(source, options)); } export function createProcess( diff --git a/packages/core/src/create-stylable-processor.ts b/packages/core/src/create-stylable-processor.ts index c64284dda..23e8d0d03 100644 --- a/packages/core/src/create-stylable-processor.ts +++ b/packages/core/src/create-stylable-processor.ts @@ -3,6 +3,7 @@ import { cssParse, CssParser } from './parser'; import { processNamespace, StylableProcessor } from './stylable-processor'; import type { StylableMeta } from './stylable-meta'; import type { Diagnostics } from './diagnostics'; +import { defaultFeatureFlags, type FeatureFlags } from './features/feature'; export function createStylableFileProcessor({ fileSystem, @@ -11,8 +12,10 @@ export function createStylableFileProcessor({ cssParser = cssParse, cache, createDiagnostics, + flags = { ...defaultFeatureFlags }, }: { fileSystem: MinimalFS; + flags?: FeatureFlags; onProcess?: (meta: StylableMeta, path: string) => StylableMeta; resolveNamespace?: typeof processNamespace; cssParser?: CssParser; @@ -21,9 +24,11 @@ export function createStylableFileProcessor({ }) { return cachedProcessFile( (from, content) => { - return new StylableProcessor(createDiagnostics?.(from), resolveNamespace).process( - cssParser(content, { from }) - ); + return new StylableProcessor( + createDiagnostics?.(from), + resolveNamespace, + flags + ).process(cssParser(content, { from })); }, (resolvedPath: string) => { return fileSystem.readFileSync(resolvedPath, 'utf8'); diff --git a/packages/core/src/features/css-custom-property.ts b/packages/core/src/features/css-custom-property.ts index a32175e69..20dad9bb5 100644 --- a/packages/core/src/features/css-custom-property.ts +++ b/packages/core/src/features/css-custom-property.ts @@ -60,6 +60,12 @@ export const diagnostics = { 'error', () => `missing custom property name for "var(--[PROP NAME])"` ), + UNDEFINED_CSS_CUSTOM_PROP: createDiagnosticReporter( + '01011', + 'error', + (name) => + `Undefined "${name}" custom property. Please define the property using '@property' or import it with '@st-import' when 'strictCustomProperty' is enabled.` + ), }; const dataKey = plugableRecord.key<{ @@ -248,8 +254,19 @@ function addCSSProperty({ return; } // usages bailout: addition of weak definition reference `--x: var(--x)` - if (!final && !!STSymbol.get(context.meta, name, `cssVar`)) { - return; + if (!final) { + const existing = STSymbol.get(context.meta, name, `cssVar`); + if (existing) { + // already defined + return; + // eslint-disable-next-line no-constant-condition + } else if (context.meta.type === 'stylable' && context.meta.flags.strictCustomProperty) { + // strict mode + context.diagnostics.report(diagnostics.UNDEFINED_CSS_CUSTOM_PROP(name), { + node, + word: name, + }); + } } // define symbol diff --git a/packages/core/src/features/feature.ts b/packages/core/src/features/feature.ts index 2e54fbf8f..b9947ad2c 100644 --- a/packages/core/src/features/feature.ts +++ b/packages/core/src/features/feature.ts @@ -12,6 +12,13 @@ import type { ImmutableSelectorNode } from '@tokey/css-selector-parser'; import type { Diagnostics } from '../diagnostics'; import type { ParsedValue } from '../types'; +export interface FeatureFlags { + strictCustomProperty: boolean; +} +export const defaultFeatureFlags: FeatureFlags = { + strictCustomProperty: false, +}; + export type SelectorNodeContext = [ index: number, nodes: ImmutableSelectorNode[], diff --git a/packages/core/src/index-internal.ts b/packages/core/src/index-internal.ts index b8361725e..2597b1341 100644 --- a/packages/core/src/index-internal.ts +++ b/packages/core/src/index-internal.ts @@ -25,6 +25,7 @@ export { CSSCustomProperty, STStructure, } from './features'; +export { defaultFeatureFlags } from './features/feature'; export type { MappedStates, StateParsedValue, diff --git a/packages/core/src/stylable-meta.ts b/packages/core/src/stylable-meta.ts index b96538995..b96c39d2d 100644 --- a/packages/core/src/stylable-meta.ts +++ b/packages/core/src/stylable-meta.ts @@ -24,6 +24,7 @@ import { CSSContains, STStructure, } from './features'; +import type { FeatureFlags } from './features/feature'; const features = [ STSymbol, @@ -61,7 +62,11 @@ export class StylableMeta { // Generated during transform public targetAst?: postcss.Root; public globals: Record = {}; - constructor(public sourceAst: postcss.Root, public diagnostics: Diagnostics) { + constructor( + public sourceAst: postcss.Root, + public diagnostics: Diagnostics, + public flags: FeatureFlags + ) { // initiate features const context: FeatureContext = { meta: this, diagnostics }; for (const { hooks } of features) { diff --git a/packages/core/src/stylable-processor.ts b/packages/core/src/stylable-processor.ts index bc66164ff..8e7c9b44e 100644 --- a/packages/core/src/stylable-processor.ts +++ b/packages/core/src/stylable-processor.ts @@ -26,15 +26,17 @@ import { stringifySelector, } from './helpers/selector'; import { isChildOfAtRule } from './helpers/rule'; +import { defaultFeatureFlags, type FeatureFlags } from './features/feature'; export class StylableProcessor implements FeatureContext { public meta!: StylableMeta; constructor( public diagnostics = new Diagnostics(), - private resolveNamespace = STNamespace.defaultProcessNamespace + private resolveNamespace = STNamespace.defaultProcessNamespace, + public flags: FeatureFlags = { ...defaultFeatureFlags } ) {} public process(root: postcss.Root): StylableMeta { - this.meta = new StylableMeta(root, this.diagnostics); + this.meta = new StylableMeta(root, this.diagnostics, this.flags); STStructure.hooks.analyzeInit(this); STImport.hooks.analyzeInit(this); diff --git a/packages/core/src/stylable.ts b/packages/core/src/stylable.ts index a02327ca4..10ac30379 100644 --- a/packages/core/src/stylable.ts +++ b/packages/core/src/stylable.ts @@ -17,6 +17,7 @@ import { createDefaultResolver } from './module-resolver'; import { STImport, STScope, STVar, STMixin, CSSClass, CSSCustomProperty } from './features'; import { Dependency, visitMetaCSSDependencies } from './visit-meta-css-dependencies'; import * as postcss from 'postcss'; +import { defaultFeatureFlags, type FeatureFlags } from './features/feature'; export interface StylableConfig { projectRoot: string; @@ -37,12 +38,15 @@ export interface StylableConfig { resolverCache?: StylableResolverCache; fileProcessorCache?: Record>; experimentalSelectorInference?: boolean; + flags?: Partial; } // This defines and validates known configs for the defaultConfig in 'stylable.config.js const globalDefaultSupportedConfigs = new Set([ 'resolveModule', 'resolveNamespace', + 'requireModule', + 'flags', 'experimentalSelectorInference', ]); export function validateDefaultConfig(defaultConfigObj: any) { @@ -89,6 +93,7 @@ export class Stylable { // This cache is fragile and should be fresh if onProcess/resolveNamespace/cssParser is different protected fileProcessorCache?: Record>; private experimentalSelectorInference: boolean; + public flags: FeatureFlags; constructor(config: StylableConfig) { this.experimentalSelectorInference = !!config.experimentalSelectorInference; this.projectRoot = config.projectRoot; @@ -109,12 +114,17 @@ export class Stylable { this.cssParser = config.cssParser || cssParse; this.resolverCache = config.resolverCache; // ToDo: v5 default to `new Map()` this.fileProcessorCache = config.fileProcessorCache; + this.flags = { + ...defaultFeatureFlags, + ...config.flags, + }; this.fileProcessor = createStylableFileProcessor({ fileSystem: this.fileSystem, onProcess: this.onProcess, resolveNamespace: this.resolveNamespace, cssParser: this.cssParser, cache: this.fileProcessorCache, + flags: this.flags, }); this.resolver = this.createResolver(); @@ -154,7 +164,7 @@ export class Stylable { public createProcessor({ resolveNamespace = this.resolveNamespace, }: CreateProcessorOptions = {}) { - return new StylableProcessor(new Diagnostics(), resolveNamespace); + return new StylableProcessor(new Diagnostics(), resolveNamespace, this.flags); } private createTransformer(options: Partial = {}) { return new StylableTransformer({ diff --git a/packages/core/test/features/css-custom-property.spec.ts b/packages/core/test/features/css-custom-property.spec.ts index 815def738..1f4827da5 100644 --- a/packages/core/test/features/css-custom-property.spec.ts +++ b/packages/core/test/features/css-custom-property.spec.ts @@ -291,6 +291,44 @@ describe(`features/css-custom-property`, () => { expect(CSSCustomProperty.getRuntimeTypedDefinitionNames(meta)).to.eql(['--c', '--d']); }); + it('should warn on undefined property in strict mode', () => { + testStylableCore( + { + '/invalid.st.css': ` + .root { + /* + @analyze-error word(--prop) ${customPropertyDiagnostics.UNDEFINED_CSS_CUSTOM_PROP( + '--prop' + )} + @decl --invalid-prop: green + */ + --prop: green; + + /* + @analyze-error word(--prop2) ${customPropertyDiagnostics.UNDEFINED_CSS_CUSTOM_PROP( + '--prop2' + )} + @decl color: var(--invalid-prop2) + */ + color: var(--prop2); + } + `, + '/valid.st.css': ` + @st-import [--prop] from './invalid.st.css'; + @property --prop2; + + .root { + /* @decl --invalid-prop: green */ + --prop: green; + + /* @decl color: var(--valid-prop2) */ + color: var(--prop2); + } + `, + }, + { stylableConfig: { flags: { strictCustomProperty: true } } } + ); + }); it.skip(`should escape`, () => { const { sheets } = testStylableCore(` .root { @@ -966,8 +1004,9 @@ describe(`features/css-custom-property`, () => { }); describe('native css', () => { it('should not namespace', () => { - const { stylable } = testStylableCore({ - '/native.css': deindent(` + const { stylable } = testStylableCore( + { + '/native.css': deindent(` @property --a { syntax: ''; initial-value: green; @@ -977,7 +1016,7 @@ describe(`features/css-custom-property`, () => { --b: var(--c); } `), - '/entry.st.css': ` + '/entry.st.css': ` @st-import [--a, --b, --c] from './native.css'; .root { @@ -991,7 +1030,9 @@ describe(`features/css-custom-property`, () => { --c: var(--c); } `, - }); + }, + { stylableConfig: { flags: { strictCustomProperty: true } } } + ); const { meta: nativeMeta } = stylable.transform('/native.css'); const { meta, exports } = stylable.transform('/entry.st.css'); @@ -1019,6 +1060,23 @@ describe(`features/css-custom-property`, () => { c: '--c', }); }); + it('should ignore strictCustomProperty', () => { + const { stylable } = testStylableCore( + { + '/entry.css': ` + .root { + /* @decl --a: var(--z) */ + --a: var(--z); + } + `, + }, + { stylableConfig: { flags: { strictCustomProperty: true } } } + ); + + const { meta } = stylable.transform('/entry.css'); + + shouldReportNoDiagnostics(meta); + }); it('should ignore stylable specific transformations', () => { const { stylable } = testStylableCore({ '/native.css': deindent(` From 1c5fa314c3499492e12efedef977945a6fd6df36 Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Sun, 3 Dec 2023 17:06:04 +0200 Subject: [PATCH 76/81] v5.17.0 --- package-lock.json | 246 +++++++++---------- packages/build-tools/package.json | 4 +- packages/cli/package.json | 14 +- packages/code-formatter/package.json | 4 +- packages/core-test-kit/package.json | 4 +- packages/core/package.json | 2 +- packages/create-stylable-app/package.json | 2 +- packages/custom-value/package.json | 4 +- packages/dom-test-kit/package.json | 6 +- packages/e2e-test-kit/package.json | 4 +- packages/esbuild/package.json | 14 +- packages/eslint-plugin-stylable/package.json | 4 +- packages/experimental-loader/package.json | 6 +- packages/jest/package.json | 10 +- packages/language-service/package.json | 6 +- packages/module-utils/package.json | 4 +- packages/node/package.json | 8 +- packages/optimizer/package.json | 4 +- packages/rollup-plugin/package.json | 14 +- packages/runtime/package.json | 2 +- packages/schema-extract/package.json | 4 +- packages/uni-driver/package.json | 2 +- packages/webpack-extensions/package.json | 8 +- packages/webpack-plugin/package.json | 16 +- 24 files changed, 196 insertions(+), 196 deletions(-) diff --git a/package-lock.json b/package-lock.json index 05cc795d7..f67d550c8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6863,10 +6863,10 @@ }, "packages/build-tools": { "name": "@stylable/build-tools", - "version": "5.16.1", + "version": "5.17.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.16.1", + "@stylable/core": "^5.17.0", "find-config": "^1.0.0" }, "engines": { @@ -6875,17 +6875,17 @@ }, "packages/cli": { "name": "@stylable/cli", - "version": "5.16.1", + "version": "5.17.0", "license": "MIT", "dependencies": { "@file-services/node": "^8.3.1", "@file-services/types": "^8.3.1", - "@stylable/build-tools": "^5.16.1", - "@stylable/code-formatter": "^5.16.1", - "@stylable/core": "^5.16.1", - "@stylable/module-utils": "^5.16.1", - "@stylable/node": "^5.16.1", - "@stylable/optimizer": "^5.16.1", + "@stylable/build-tools": "^5.17.0", + "@stylable/code-formatter": "^5.17.0", + "@stylable/core": "^5.17.0", + "@stylable/module-utils": "^5.17.0", + "@stylable/node": "^5.17.0", + "@stylable/optimizer": "^5.17.0", "@wixc3/resolve-directory-context": "^3.0.5", "decache": "^4.6.2", "lodash.camelcase": "^4.3.0", @@ -6914,10 +6914,10 @@ }, "packages/code-formatter": { "name": "@stylable/code-formatter", - "version": "5.16.1", + "version": "5.17.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.16.1", + "@stylable/core": "^5.17.0", "@tokey/css-value-parser": "^0.1.4", "js-beautify": "^1.14.9", "postcss": "^8.4.31" @@ -6928,7 +6928,7 @@ }, "packages/core": { "name": "@stylable/core", - "version": "5.16.1", + "version": "5.17.0", "license": "MIT", "dependencies": { "@tokey/css-selector-parser": "^0.6.2", @@ -6953,11 +6953,11 @@ }, "packages/core-test-kit": { "name": "@stylable/core-test-kit", - "version": "5.16.1", + "version": "5.17.0", "license": "MIT", "dependencies": { "@file-services/memory": "^8.3.1", - "@stylable/core": "^5.16.1", + "@stylable/core": "^5.17.0", "chai": "^4.3.10", "flat": "^5.0.2", "postcss": "^8.4.31" @@ -6971,7 +6971,7 @@ "license": "MIT" }, "packages/create-stylable-app": { - "version": "5.16.1", + "version": "5.17.0", "license": "MIT", "dependencies": { "validate-npm-package-name": "^5.0.0", @@ -6986,10 +6986,10 @@ }, "packages/custom-value": { "name": "@stylable/custom-value", - "version": "5.16.1", + "version": "5.17.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.16.1" + "@stylable/core": "^5.17.0" }, "engines": { "node": ">=14.14.0" @@ -6997,11 +6997,11 @@ }, "packages/dom-test-kit": { "name": "@stylable/dom-test-kit", - "version": "5.16.1", + "version": "5.17.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.16.1", - "@stylable/runtime": "^5.16.1", + "@stylable/core": "^5.17.0", + "@stylable/runtime": "^5.17.0", "@tokey/css-selector-parser": "^0.6.2" }, "engines": { @@ -7010,10 +7010,10 @@ }, "packages/e2e-test-kit": { "name": "@stylable/e2e-test-kit", - "version": "5.16.1", + "version": "5.17.0", "license": "MIT", "dependencies": { - "@stylable/runtime": "^5.16.1", + "@stylable/runtime": "^5.17.0", "node-eval": "^2.0.0", "playwright-core": "^1.38.1", "rimraf": "^5.0.5" @@ -7027,15 +7027,15 @@ }, "packages/esbuild": { "name": "@stylable/esbuild", - "version": "5.16.1", + "version": "5.17.0", "license": "MIT", "dependencies": { - "@stylable/build-tools": "^5.16.1", - "@stylable/cli": "^5.16.1", - "@stylable/core": "^5.16.1", - "@stylable/node": "^5.16.1", - "@stylable/optimizer": "^5.16.1", - "@stylable/runtime": "^5.16.1", + "@stylable/build-tools": "^5.17.0", + "@stylable/cli": "^5.17.0", + "@stylable/core": "^5.17.0", + "@stylable/node": "^5.17.0", + "@stylable/optimizer": "^5.17.0", + "@stylable/runtime": "^5.17.0", "decache": "^4.6.2" }, "engines": { @@ -7046,20 +7046,20 @@ } }, "packages/eslint-plugin-stylable": { - "version": "5.16.1", + "version": "5.17.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.16.1", + "@stylable/core": "^5.17.0", "@typescript-eslint/utils": "^5.61.0" } }, "packages/experimental-loader": { "name": "@stylable/experimental-loader", - "version": "5.16.1", + "version": "5.17.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.16.1", - "@stylable/runtime": "^5.16.1", + "@stylable/core": "^5.17.0", + "@stylable/runtime": "^5.17.0", "css-loader": "^6.8.1", "decache": "^4.6.2", "loader-utils": "^3.2.1" @@ -7074,13 +7074,13 @@ }, "packages/jest": { "name": "@stylable/jest", - "version": "5.16.1", + "version": "5.17.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.16.1", - "@stylable/module-utils": "^5.16.1", - "@stylable/node": "^5.16.1", - "@stylable/runtime": "^5.16.1" + "@stylable/core": "^5.17.0", + "@stylable/module-utils": "^5.17.0", + "@stylable/node": "^5.17.0", + "@stylable/runtime": "^5.17.0" }, "engines": { "node": ">=14.14.0" @@ -7088,13 +7088,13 @@ }, "packages/language-service": { "name": "@stylable/language-service", - "version": "5.16.1", + "version": "5.17.0", "license": "MIT", "dependencies": { "@file-services/types": "^8.3.1", "@file-services/typescript": "^8.3.1", - "@stylable/code-formatter": "^5.16.1", - "@stylable/core": "^5.16.1", + "@stylable/code-formatter": "^5.17.0", + "@stylable/core": "^5.17.0", "@tokey/core": "^1.4.0", "@tokey/css-selector-parser": "^0.6.2", "@tokey/css-value-parser": "^0.1.4", @@ -7115,10 +7115,10 @@ }, "packages/module-utils": { "name": "@stylable/module-utils", - "version": "5.16.1", + "version": "5.17.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.16.1", + "@stylable/core": "^5.17.0", "@tokey/core": "^1.4.0", "vlq": "^2.0.4" }, @@ -7128,12 +7128,12 @@ }, "packages/node": { "name": "@stylable/node", - "version": "5.16.1", + "version": "5.17.0", "license": "MIT", "dependencies": { - "@stylable/build-tools": "^5.16.1", - "@stylable/core": "^5.16.1", - "@stylable/module-utils": "^5.16.1", + "@stylable/build-tools": "^5.17.0", + "@stylable/core": "^5.17.0", + "@stylable/module-utils": "^5.17.0", "find-config": "^1.0.0" }, "engines": { @@ -7142,10 +7142,10 @@ }, "packages/optimizer": { "name": "@stylable/optimizer", - "version": "5.16.1", + "version": "5.17.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.16.1", + "@stylable/core": "^5.17.0", "@tokey/css-selector-parser": "^0.6.2", "csso": "^5.0.5", "postcss": "^8.4.31" @@ -7156,15 +7156,15 @@ }, "packages/rollup-plugin": { "name": "@stylable/rollup-plugin", - "version": "5.16.1", + "version": "5.17.0", "license": "MIT", "dependencies": { - "@stylable/build-tools": "^5.16.1", - "@stylable/cli": "^5.16.1", - "@stylable/core": "^5.16.1", - "@stylable/node": "^5.16.1", - "@stylable/optimizer": "^5.16.1", - "@stylable/runtime": "^5.16.1", + "@stylable/build-tools": "^5.17.0", + "@stylable/cli": "^5.17.0", + "@stylable/core": "^5.17.0", + "@stylable/node": "^5.17.0", + "@stylable/optimizer": "^5.17.0", + "@stylable/runtime": "^5.17.0", "decache": "^4.6.2", "mime": "^3.0.0" }, @@ -7187,7 +7187,7 @@ }, "packages/runtime": { "name": "@stylable/runtime", - "version": "5.16.1", + "version": "5.17.0", "license": "MIT", "engines": { "node": ">=14.14.0" @@ -7195,10 +7195,10 @@ }, "packages/schema-extract": { "name": "@stylable/schema-extract", - "version": "5.16.1", + "version": "5.17.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.16.1", + "@stylable/core": "^5.17.0", "jest-docblock": "^29.7.0" }, "engines": { @@ -7207,7 +7207,7 @@ }, "packages/uni-driver": { "name": "@stylable/uni-driver", - "version": "5.16.1", + "version": "5.17.0", "license": "MIT", "engines": { "node": ">=14.14.0" @@ -7215,12 +7215,12 @@ }, "packages/webpack-extensions": { "name": "@stylable/webpack-extensions", - "version": "5.16.1", + "version": "5.17.0", "license": "MIT", "dependencies": { - "@stylable/core": "^5.16.1", - "@stylable/node": "^5.16.1", - "@stylable/webpack-plugin": "^5.16.1", + "@stylable/core": "^5.17.0", + "@stylable/node": "^5.17.0", + "@stylable/webpack-plugin": "^5.17.0", "@tokey/css-selector-parser": "^0.6.2", "find-config": "^1.0.0", "lodash.clonedeep": "^4.5.0" @@ -7234,16 +7234,16 @@ }, "packages/webpack-plugin": { "name": "@stylable/webpack-plugin", - "version": "5.16.1", + "version": "5.17.0", "license": "MIT", "dependencies": { - "@stylable/build-tools": "^5.16.1", - "@stylable/cli": "^5.16.1", - "@stylable/core": "^5.16.1", - "@stylable/module-utils": "^5.16.1", - "@stylable/node": "^5.16.1", - "@stylable/optimizer": "^5.16.1", - "@stylable/runtime": "^5.16.1", + "@stylable/build-tools": "^5.17.0", + "@stylable/cli": "^5.17.0", + "@stylable/core": "^5.17.0", + "@stylable/module-utils": "^5.17.0", + "@stylable/node": "^5.17.0", + "@stylable/optimizer": "^5.17.0", + "@stylable/runtime": "^5.17.0", "decache": "^4.6.2", "lodash.clonedeep": "^4.5.0", "postcss": "^8.4.31" @@ -7700,7 +7700,7 @@ "@stylable/build-tools": { "version": "file:packages/build-tools", "requires": { - "@stylable/core": "^5.16.1", + "@stylable/core": "^5.17.0", "find-config": "^1.0.0" } }, @@ -7709,12 +7709,12 @@ "requires": { "@file-services/node": "^8.3.1", "@file-services/types": "^8.3.1", - "@stylable/build-tools": "^5.16.1", - "@stylable/code-formatter": "^5.16.1", - "@stylable/core": "^5.16.1", - "@stylable/module-utils": "^5.16.1", - "@stylable/node": "^5.16.1", - "@stylable/optimizer": "^5.16.1", + "@stylable/build-tools": "^5.17.0", + "@stylable/code-formatter": "^5.17.0", + "@stylable/core": "^5.17.0", + "@stylable/module-utils": "^5.17.0", + "@stylable/node": "^5.17.0", + "@stylable/optimizer": "^5.17.0", "@wixc3/resolve-directory-context": "^3.0.5", "decache": "^4.6.2", "lodash.camelcase": "^4.3.0", @@ -7731,7 +7731,7 @@ "@stylable/code-formatter": { "version": "file:packages/code-formatter", "requires": { - "@stylable/core": "^5.16.1", + "@stylable/core": "^5.17.0", "@tokey/css-value-parser": "^0.1.4", "js-beautify": "^1.14.9", "postcss": "^8.4.31" @@ -7766,7 +7766,7 @@ "version": "file:packages/core-test-kit", "requires": { "@file-services/memory": "^8.3.1", - "@stylable/core": "^5.16.1", + "@stylable/core": "^5.17.0", "chai": "^4.3.10", "flat": "^5.0.2", "postcss": "^8.4.31" @@ -7775,21 +7775,21 @@ "@stylable/custom-value": { "version": "file:packages/custom-value", "requires": { - "@stylable/core": "^5.16.1" + "@stylable/core": "^5.17.0" } }, "@stylable/dom-test-kit": { "version": "file:packages/dom-test-kit", "requires": { - "@stylable/core": "^5.16.1", - "@stylable/runtime": "^5.16.1", + "@stylable/core": "^5.17.0", + "@stylable/runtime": "^5.17.0", "@tokey/css-selector-parser": "^0.6.2" } }, "@stylable/e2e-test-kit": { "version": "file:packages/e2e-test-kit", "requires": { - "@stylable/runtime": "^5.16.1", + "@stylable/runtime": "^5.17.0", "node-eval": "^2.0.0", "playwright-core": "^1.38.1", "rimraf": "^5.0.5" @@ -7798,20 +7798,20 @@ "@stylable/esbuild": { "version": "file:packages/esbuild", "requires": { - "@stylable/build-tools": "^5.16.1", - "@stylable/cli": "^5.16.1", - "@stylable/core": "^5.16.1", - "@stylable/node": "^5.16.1", - "@stylable/optimizer": "^5.16.1", - "@stylable/runtime": "^5.16.1", + "@stylable/build-tools": "^5.17.0", + "@stylable/cli": "^5.17.0", + "@stylable/core": "^5.17.0", + "@stylable/node": "^5.17.0", + "@stylable/optimizer": "^5.17.0", + "@stylable/runtime": "^5.17.0", "decache": "^4.6.2" } }, "@stylable/experimental-loader": { "version": "file:packages/experimental-loader", "requires": { - "@stylable/core": "^5.16.1", - "@stylable/runtime": "^5.16.1", + "@stylable/core": "^5.17.0", + "@stylable/runtime": "^5.17.0", "css-loader": "^6.8.1", "decache": "^4.6.2", "loader-utils": "^3.2.1" @@ -7825,10 +7825,10 @@ "@stylable/jest": { "version": "file:packages/jest", "requires": { - "@stylable/core": "^5.16.1", - "@stylable/module-utils": "^5.16.1", - "@stylable/node": "^5.16.1", - "@stylable/runtime": "^5.16.1" + "@stylable/core": "^5.17.0", + "@stylable/module-utils": "^5.17.0", + "@stylable/node": "^5.17.0", + "@stylable/runtime": "^5.17.0" } }, "@stylable/language-service": { @@ -7836,8 +7836,8 @@ "requires": { "@file-services/types": "^8.3.1", "@file-services/typescript": "^8.3.1", - "@stylable/code-formatter": "^5.16.1", - "@stylable/core": "^5.16.1", + "@stylable/code-formatter": "^5.17.0", + "@stylable/core": "^5.17.0", "@tokey/core": "^1.4.0", "@tokey/css-selector-parser": "^0.6.2", "@tokey/css-value-parser": "^0.1.4", @@ -7853,7 +7853,7 @@ "@stylable/module-utils": { "version": "file:packages/module-utils", "requires": { - "@stylable/core": "^5.16.1", + "@stylable/core": "^5.17.0", "@tokey/core": "^1.4.0", "vlq": "^2.0.4" } @@ -7861,16 +7861,16 @@ "@stylable/node": { "version": "file:packages/node", "requires": { - "@stylable/build-tools": "^5.16.1", - "@stylable/core": "^5.16.1", - "@stylable/module-utils": "^5.16.1", + "@stylable/build-tools": "^5.17.0", + "@stylable/core": "^5.17.0", + "@stylable/module-utils": "^5.17.0", "find-config": "^1.0.0" } }, "@stylable/optimizer": { "version": "file:packages/optimizer", "requires": { - "@stylable/core": "^5.16.1", + "@stylable/core": "^5.17.0", "@tokey/css-selector-parser": "^0.6.2", "csso": "^5.0.5", "postcss": "^8.4.31" @@ -7879,12 +7879,12 @@ "@stylable/rollup-plugin": { "version": "file:packages/rollup-plugin", "requires": { - "@stylable/build-tools": "^5.16.1", - "@stylable/cli": "^5.16.1", - "@stylable/core": "^5.16.1", - "@stylable/node": "^5.16.1", - "@stylable/optimizer": "^5.16.1", - "@stylable/runtime": "^5.16.1", + "@stylable/build-tools": "^5.17.0", + "@stylable/cli": "^5.17.0", + "@stylable/core": "^5.17.0", + "@stylable/node": "^5.17.0", + "@stylable/optimizer": "^5.17.0", + "@stylable/runtime": "^5.17.0", "decache": "^4.6.2", "mime": "^3.0.0" }, @@ -7900,7 +7900,7 @@ "@stylable/schema-extract": { "version": "file:packages/schema-extract", "requires": { - "@stylable/core": "^5.16.1", + "@stylable/core": "^5.17.0", "jest-docblock": "^29.7.0" } }, @@ -7910,9 +7910,9 @@ "@stylable/webpack-extensions": { "version": "file:packages/webpack-extensions", "requires": { - "@stylable/core": "^5.16.1", - "@stylable/node": "^5.16.1", - "@stylable/webpack-plugin": "^5.16.1", + "@stylable/core": "^5.17.0", + "@stylable/node": "^5.17.0", + "@stylable/webpack-plugin": "^5.17.0", "@tokey/css-selector-parser": "^0.6.2", "find-config": "^1.0.0", "lodash.clonedeep": "^4.5.0" @@ -7921,13 +7921,13 @@ "@stylable/webpack-plugin": { "version": "file:packages/webpack-plugin", "requires": { - "@stylable/build-tools": "^5.16.1", - "@stylable/cli": "^5.16.1", - "@stylable/core": "^5.16.1", - "@stylable/module-utils": "^5.16.1", - "@stylable/node": "^5.16.1", - "@stylable/optimizer": "^5.16.1", - "@stylable/runtime": "^5.16.1", + "@stylable/build-tools": "^5.17.0", + "@stylable/cli": "^5.17.0", + "@stylable/core": "^5.17.0", + "@stylable/module-utils": "^5.17.0", + "@stylable/node": "^5.17.0", + "@stylable/optimizer": "^5.17.0", + "@stylable/runtime": "^5.17.0", "decache": "^4.6.2", "lodash.clonedeep": "^4.5.0", "postcss": "^8.4.31" @@ -9444,7 +9444,7 @@ "eslint-plugin-stylable": { "version": "file:packages/eslint-plugin-stylable", "requires": { - "@stylable/core": "^5.16.1", + "@stylable/core": "^5.17.0", "@typescript-eslint/utils": "^5.61.0" } }, diff --git a/packages/build-tools/package.json b/packages/build-tools/package.json index 8603e2445..4302a653b 100644 --- a/packages/build-tools/package.json +++ b/packages/build-tools/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/build-tools", - "version": "5.16.1", + "version": "5.17.0", "description": "Collection of helper functions for Stylable based tooling.", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 20000" }, "dependencies": { - "@stylable/core": "^5.16.1", + "@stylable/core": "^5.17.0", "find-config": "^1.0.0" }, "files": [ diff --git a/packages/cli/package.json b/packages/cli/package.json index da13de8de..c56607218 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/cli", - "version": "5.16.1", + "version": "5.17.0", "description": "A low-level utility used for working with Stylable projects", "main": "dist/index.js", "bin": { @@ -14,12 +14,12 @@ "dependencies": { "@file-services/node": "^8.3.1", "@file-services/types": "^8.3.1", - "@stylable/build-tools": "^5.16.1", - "@stylable/code-formatter": "^5.16.1", - "@stylable/core": "^5.16.1", - "@stylable/module-utils": "^5.16.1", - "@stylable/node": "^5.16.1", - "@stylable/optimizer": "^5.16.1", + "@stylable/build-tools": "^5.17.0", + "@stylable/code-formatter": "^5.17.0", + "@stylable/core": "^5.17.0", + "@stylable/module-utils": "^5.17.0", + "@stylable/node": "^5.17.0", + "@stylable/optimizer": "^5.17.0", "@wixc3/resolve-directory-context": "^3.0.5", "decache": "^4.6.2", "lodash.camelcase": "^4.3.0", diff --git a/packages/code-formatter/package.json b/packages/code-formatter/package.json index 92cd5565d..d612e817f 100644 --- a/packages/code-formatter/package.json +++ b/packages/code-formatter/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/code-formatter", - "version": "5.16.1", + "version": "5.17.0", "description": "A code formatting utility for Stylable stylesheets", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.16.1", + "@stylable/core": "^5.17.0", "@tokey/css-value-parser": "^0.1.4", "js-beautify": "^1.14.9", "postcss": "^8.4.31" diff --git a/packages/core-test-kit/package.json b/packages/core-test-kit/package.json index b6f050571..04085be20 100644 --- a/packages/core-test-kit/package.json +++ b/packages/core-test-kit/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/core-test-kit", - "version": "5.16.1", + "version": "5.17.0", "description": "Stylable core test-kit", "main": "dist/index.js", "scripts": { @@ -8,7 +8,7 @@ }, "dependencies": { "@file-services/memory": "^8.3.1", - "@stylable/core": "^5.16.1", + "@stylable/core": "^5.17.0", "chai": "^4.3.10", "flat": "^5.0.2", "postcss": "^8.4.31" diff --git a/packages/core/package.json b/packages/core/package.json index 774b962eb..e57bbd5af 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/core", - "version": "5.16.1", + "version": "5.17.0", "description": "CSS for Components", "main": "dist/index.js", "scripts": { diff --git a/packages/create-stylable-app/package.json b/packages/create-stylable-app/package.json index 74498d331..9006768af 100644 --- a/packages/create-stylable-app/package.json +++ b/packages/create-stylable-app/package.json @@ -1,6 +1,6 @@ { "name": "create-stylable-app", - "version": "5.16.1", + "version": "5.17.0", "description": "Quickly create a Stylable application", "main": "dist/index.js", "bin": { diff --git a/packages/custom-value/package.json b/packages/custom-value/package.json index 51775bea1..40a0335c9 100644 --- a/packages/custom-value/package.json +++ b/packages/custom-value/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/custom-value", - "version": "5.16.1", + "version": "5.17.0", "description": "Custom values (variables) for Stylable", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 20000" }, "dependencies": { - "@stylable/core": "^5.16.1" + "@stylable/core": "^5.17.0" }, "files": [ "dist", diff --git a/packages/dom-test-kit/package.json b/packages/dom-test-kit/package.json index a47e746a9..4ef1f2e14 100644 --- a/packages/dom-test-kit/package.json +++ b/packages/dom-test-kit/package.json @@ -1,14 +1,14 @@ { "name": "@stylable/dom-test-kit", - "version": "5.16.1", + "version": "5.17.0", "description": "Stylable DOM testing utilities", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.16.1", - "@stylable/runtime": "^5.16.1", + "@stylable/core": "^5.17.0", + "@stylable/runtime": "^5.17.0", "@tokey/css-selector-parser": "^0.6.2" }, "files": [ diff --git a/packages/e2e-test-kit/package.json b/packages/e2e-test-kit/package.json index 6f89213f7..824cf4ce5 100644 --- a/packages/e2e-test-kit/package.json +++ b/packages/e2e-test-kit/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/e2e-test-kit", - "version": "5.16.1", + "version": "5.17.0", "description": "A collection of tools to help test Stylable components and applications from end-to-end", "main": "dist/index.js", "peerDependencies": { "webpack": "^5.30.0" }, "dependencies": { - "@stylable/runtime": "^5.16.1", + "@stylable/runtime": "^5.17.0", "node-eval": "^2.0.0", "playwright-core": "^1.38.1", "rimraf": "^5.0.5" diff --git a/packages/esbuild/package.json b/packages/esbuild/package.json index 95e2cc88c..d1d850ba7 100644 --- a/packages/esbuild/package.json +++ b/packages/esbuild/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/esbuild", - "version": "5.16.1", + "version": "5.17.0", "description": "Stylable plugin for esbuild", "main": "dist/index.js", "scripts": { @@ -10,12 +10,12 @@ "esbuild": ">=0.17.18" }, "dependencies": { - "@stylable/build-tools": "^5.16.1", - "@stylable/cli": "^5.16.1", - "@stylable/core": "^5.16.1", - "@stylable/node": "^5.16.1", - "@stylable/optimizer": "^5.16.1", - "@stylable/runtime": "^5.16.1", + "@stylable/build-tools": "^5.17.0", + "@stylable/cli": "^5.17.0", + "@stylable/core": "^5.17.0", + "@stylable/node": "^5.17.0", + "@stylable/optimizer": "^5.17.0", + "@stylable/runtime": "^5.17.0", "decache": "^4.6.2" }, "files": [ diff --git a/packages/eslint-plugin-stylable/package.json b/packages/eslint-plugin-stylable/package.json index 0434dcd7d..3f6b85568 100644 --- a/packages/eslint-plugin-stylable/package.json +++ b/packages/eslint-plugin-stylable/package.json @@ -1,13 +1,13 @@ { "name": "eslint-plugin-stylable", - "version": "5.16.1", + "version": "5.17.0", "description": "eslint plugin for Stylable usages", "main": "dist/index.js", "scripts": { "test": "mocha \"dist/test/**/*.spec.js\" --timeout 5000" }, "dependencies": { - "@stylable/core": "^5.16.1", + "@stylable/core": "^5.17.0", "@typescript-eslint/utils": "^5.61.0" }, "keywords": [ diff --git a/packages/experimental-loader/package.json b/packages/experimental-loader/package.json index 2497a6ca3..c9e762268 100644 --- a/packages/experimental-loader/package.json +++ b/packages/experimental-loader/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/experimental-loader", - "version": "5.16.1", + "version": "5.17.0", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 20000" }, "dependencies": { - "@stylable/core": "^5.16.1", - "@stylable/runtime": "^5.16.1", + "@stylable/core": "^5.17.0", + "@stylable/runtime": "^5.17.0", "css-loader": "^6.8.1", "decache": "^4.6.2", "loader-utils": "^3.2.1" diff --git a/packages/jest/package.json b/packages/jest/package.json index 5000f26ce..7def5bd52 100644 --- a/packages/jest/package.json +++ b/packages/jest/package.json @@ -1,16 +1,16 @@ { "name": "@stylable/jest", - "version": "5.16.1", + "version": "5.17.0", "description": "Test your Stylable React components using Jest", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.16.1", - "@stylable/module-utils": "^5.16.1", - "@stylable/node": "^5.16.1", - "@stylable/runtime": "^5.16.1" + "@stylable/core": "^5.17.0", + "@stylable/module-utils": "^5.17.0", + "@stylable/node": "^5.17.0", + "@stylable/runtime": "^5.17.0" }, "files": [ "dist", diff --git a/packages/language-service/package.json b/packages/language-service/package.json index daebd15ab..79ee58516 100644 --- a/packages/language-service/package.json +++ b/packages/language-service/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/language-service", - "version": "5.16.1", + "version": "5.17.0", "description": "Stylable Language Services - syntax highlighting, completions, hinting and more for the Stylable CSS preprocessor.", "main": "dist/index.js", "scripts": { @@ -13,8 +13,8 @@ "dependencies": { "@file-services/types": "^8.3.1", "@file-services/typescript": "^8.3.1", - "@stylable/code-formatter": "^5.16.1", - "@stylable/core": "^5.16.1", + "@stylable/code-formatter": "^5.17.0", + "@stylable/core": "^5.17.0", "@tokey/core": "^1.4.0", "@tokey/css-selector-parser": "^0.6.2", "@tokey/css-value-parser": "^0.1.4", diff --git a/packages/module-utils/package.json b/packages/module-utils/package.json index 41c905a71..815c30f28 100644 --- a/packages/module-utils/package.json +++ b/packages/module-utils/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/module-utils", - "version": "5.16.1", + "version": "5.17.0", "description": "Stylable module creation utilities", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.16.1", + "@stylable/core": "^5.17.0", "@tokey/core": "^1.4.0", "vlq": "^2.0.4" }, diff --git a/packages/node/package.json b/packages/node/package.json index bdb2bcbed..ffaddf22b 100644 --- a/packages/node/package.json +++ b/packages/node/package.json @@ -1,15 +1,15 @@ { "name": "@stylable/node", - "version": "5.16.1", + "version": "5.17.0", "description": "Integrate Stylable into your node application", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 10000" }, "dependencies": { - "@stylable/build-tools": "^5.16.1", - "@stylable/core": "^5.16.1", - "@stylable/module-utils": "^5.16.1", + "@stylable/build-tools": "^5.17.0", + "@stylable/core": "^5.17.0", + "@stylable/module-utils": "^5.17.0", "find-config": "^1.0.0" }, "files": [ diff --git a/packages/optimizer/package.json b/packages/optimizer/package.json index 084387cc0..831fb0c77 100644 --- a/packages/optimizer/package.json +++ b/packages/optimizer/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/optimizer", - "version": "5.16.1", + "version": "5.17.0", "description": "Stylable core optimizer", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.16.1", + "@stylable/core": "^5.17.0", "@tokey/css-selector-parser": "^0.6.2", "csso": "^5.0.5", "postcss": "^8.4.31" diff --git a/packages/rollup-plugin/package.json b/packages/rollup-plugin/package.json index ea8896040..8c2c847ff 100644 --- a/packages/rollup-plugin/package.json +++ b/packages/rollup-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/rollup-plugin", - "version": "5.16.1", + "version": "5.17.0", "description": "Stylable plugin for Rollup", "main": "dist/index.js", "scripts": { @@ -10,12 +10,12 @@ "rollup": "^2.70.0 || ^3.0.0" }, "dependencies": { - "@stylable/build-tools": "^5.16.1", - "@stylable/cli": "^5.16.1", - "@stylable/core": "^5.16.1", - "@stylable/node": "^5.16.1", - "@stylable/optimizer": "^5.16.1", - "@stylable/runtime": "^5.16.1", + "@stylable/build-tools": "^5.17.0", + "@stylable/cli": "^5.17.0", + "@stylable/core": "^5.17.0", + "@stylable/node": "^5.17.0", + "@stylable/optimizer": "^5.17.0", + "@stylable/runtime": "^5.17.0", "decache": "^4.6.2", "mime": "^3.0.0" }, diff --git a/packages/runtime/package.json b/packages/runtime/package.json index c6143dd30..d52d11b41 100644 --- a/packages/runtime/package.json +++ b/packages/runtime/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/runtime", - "version": "5.16.1", + "version": "5.17.0", "description": "Stylable runtime DOM integration", "main": "dist/index.js", "scripts": { diff --git a/packages/schema-extract/package.json b/packages/schema-extract/package.json index aed2cca33..72b6d8e74 100644 --- a/packages/schema-extract/package.json +++ b/packages/schema-extract/package.json @@ -1,13 +1,13 @@ { "name": "@stylable/schema-extract", - "version": "5.16.1", + "version": "5.17.0", "description": "A utility for extracting JSON schema objects from a Stylable stylesheet", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@stylable/core": "^5.16.1", + "@stylable/core": "^5.17.0", "jest-docblock": "^29.7.0" }, "files": [ diff --git a/packages/uni-driver/package.json b/packages/uni-driver/package.json index 60ee33f43..0d3419d32 100644 --- a/packages/uni-driver/package.json +++ b/packages/uni-driver/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/uni-driver", - "version": "5.16.1", + "version": "5.17.0", "description": "Stylable UniDriver testing utilities", "main": "dist/index.js", "scripts": { diff --git a/packages/webpack-extensions/package.json b/packages/webpack-extensions/package.json index 077115728..443150ce8 100644 --- a/packages/webpack-extensions/package.json +++ b/packages/webpack-extensions/package.json @@ -1,6 +1,6 @@ { "name": "@stylable/webpack-extensions", - "version": "5.16.1", + "version": "5.17.0", "description": "Experimental Stylable webpack plugins", "main": "dist/index.js", "scripts": { @@ -10,9 +10,9 @@ "webpack": "^5.30.0" }, "dependencies": { - "@stylable/core": "^5.16.1", - "@stylable/node": "^5.16.1", - "@stylable/webpack-plugin": "^5.16.1", + "@stylable/core": "^5.17.0", + "@stylable/node": "^5.17.0", + "@stylable/webpack-plugin": "^5.17.0", "@tokey/css-selector-parser": "^0.6.2", "find-config": "^1.0.0", "lodash.clonedeep": "^4.5.0" diff --git a/packages/webpack-plugin/package.json b/packages/webpack-plugin/package.json index ad7dcb057..b70913f8c 100644 --- a/packages/webpack-plugin/package.json +++ b/packages/webpack-plugin/package.json @@ -1,7 +1,7 @@ { "name": "@stylable/webpack-plugin", "description": "Webpack (5.x) plugin for Stylable modules", - "version": "5.16.1", + "version": "5.17.0", "main": "dist/index.js", "scripts": { "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 20000" @@ -10,13 +10,13 @@ "webpack": "^5.30.0" }, "dependencies": { - "@stylable/build-tools": "^5.16.1", - "@stylable/cli": "^5.16.1", - "@stylable/core": "^5.16.1", - "@stylable/module-utils": "^5.16.1", - "@stylable/node": "^5.16.1", - "@stylable/optimizer": "^5.16.1", - "@stylable/runtime": "^5.16.1", + "@stylable/build-tools": "^5.17.0", + "@stylable/cli": "^5.17.0", + "@stylable/core": "^5.17.0", + "@stylable/module-utils": "^5.17.0", + "@stylable/node": "^5.17.0", + "@stylable/optimizer": "^5.17.0", + "@stylable/runtime": "^5.17.0", "decache": "^4.6.2", "lodash.clonedeep": "^4.5.0", "postcss": "^8.4.31" From c0d7d59117a5e04602c184369ced4788b61fff43 Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Sun, 31 Dec 2023 20:49:54 +0200 Subject: [PATCH 77/81] feat(core): add missing native definitions (#2933) --- packages/core/src/native-reserved-lists.ts | 20 +++++++++++++++++++ .../core/test/features/st-structure.spec.ts | 10 ++++++---- 2 files changed, 26 insertions(+), 4 deletions(-) diff --git a/packages/core/src/native-reserved-lists.ts b/packages/core/src/native-reserved-lists.ts index b2997379d..2f0f47bc8 100644 --- a/packages/core/src/native-reserved-lists.ts +++ b/packages/core/src/native-reserved-lists.ts @@ -4,6 +4,7 @@ export const nativePseudoClasses = [ 'any', 'any-link', 'checked', + 'indeterminate', 'default', 'defined', 'dir', @@ -48,6 +49,14 @@ export const nativePseudoClasses = [ 'valid', 'visited', 'where', + 'user-valid', + 'user-invalid', + 'autofill', + 'modal', + 'popover-open', + 'future', + 'past', + 'picture-in-picture', ]; export const CSSWideKeywords = ['initial', 'inherit', 'unset']; @@ -100,6 +109,15 @@ export const nativePseudoElements = [ 'selection', 'slotted', 'spelling-error', + 'file-selector-button', + 'highlight', + 'part', + 'target-text', + 'view-transition', + 'view-transition-group', + 'view-transition-image-pair', + 'view-transition-new', + 'view-transition-old', ]; export const nativeFunctionsDic: Record = { @@ -164,6 +182,7 @@ export const nativeFunctionsDic: Record = { scaleY: { preserveQuotes: false }, scaleZ: { preserveQuotes: false }, scroll: { preserveQuotes: false }, + view: { preserveQuotes: true }, sepia: { preserveQuotes: false }, skew: { preserveQuotes: false }, skewX: { preserveQuotes: false }, @@ -188,6 +207,7 @@ export const nativeFunctionsDic: Record = { oklch: { preserveQuotes: true }, supports: { preserveQuotes: true }, anchor: { preserveQuotes: true }, + 'anchor-size': { preserveQuotes: true }, selector: { preserveQuotes: true /* TODO:transform the nested selector */ }, style: { preserveQuotes: true /* TODO: transform the dashed ident property */ }, 'image-set': { preserveQuotes: true }, diff --git a/packages/core/test/features/st-structure.spec.ts b/packages/core/test/features/st-structure.spec.ts index b2a077ff6..654a15450 100644 --- a/packages/core/test/features/st-structure.spec.ts +++ b/packages/core/test/features/st-structure.spec.ts @@ -58,13 +58,15 @@ describe('@st structure', () => { it('should prevent automatic .class=>::part definition', () => { testStylableCore(` @st .root; - .part {} + .customPart {} /* - @transform-error ${transformerStringDiagnostics.UNKNOWN_PSEUDO_ELEMENT(`part`)} - @rule .entry__root::part + @transform-error ${transformerStringDiagnostics.UNKNOWN_PSEUDO_ELEMENT( + `customPart` + )} + @rule .entry__root::customPart */ - .root::part {} + .root::customPart {} `); }); it('should register css class', () => { From ec522ff8a8f826d19a144e717672545c2609fe15 Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Mon, 1 Jan 2024 12:40:28 +0200 Subject: [PATCH 78/81] chore(rollup-template): add required tslib dev dependency (#2934) --- .../create-stylable-app/template/ts-react-rollup/template.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/create-stylable-app/template/ts-react-rollup/template.js b/packages/create-stylable-app/template/ts-react-rollup/template.js index 1c656ef31..a3e2eedfa 100644 --- a/packages/create-stylable-app/template/ts-react-rollup/template.js +++ b/packages/create-stylable-app/template/ts-react-rollup/template.js @@ -26,6 +26,7 @@ module.exports = { 'rollup-plugin-copy', 'rollup-plugin-serve', 'serve', + 'tslib', 'typescript', ], packageJson: { From 43063d6293355d0988af980b88849382057f969e Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Wed, 25 Oct 2023 14:17:29 +0300 Subject: [PATCH 79/81] chore: upgrade to support for `rollup@4` (#2919) --- package-lock.json | 168 +++++++++++++++++++++++++++- package.json | 2 +- packages/rollup-plugin/package.json | 2 +- packages/rollup-plugin/src/index.ts | 1 + 4 files changed, 165 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index f67d550c8..7c10e1734 100644 --- a/package-lock.json +++ b/package-lock.json @@ -61,7 +61,7 @@ "react": "^18.2.0", "react-dom": "^18.2.0", "rimraf": "^5.0.5", - "rollup": "^3.29.4", + "rollup": "^4.1.4", "source-map": "^0.7.4", "source-map-loader": "^4.0.1", "style-loader": "^3.3.3", @@ -838,6 +838,150 @@ } } }, + "node_modules/@rollup/rollup-android-arm-eabi": { + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.1.4.tgz", + "integrity": "sha512-WlzkuFvpKl6CLFdc3V6ESPt7gq5Vrimd2Yv9IzKXdOpgbH4cdDSS1JLiACX8toygihtH5OlxyQzhXOph7Ovlpw==", + "cpu": [ + "arm" + ], + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-android-arm64": { + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.1.4.tgz", + "integrity": "sha512-D1e+ABe56T9Pq2fD+R3ybe1ylCDzu3tY4Qm2Mj24R9wXNCq35+JbFbOpc2yrroO2/tGhTobmEl2Bm5xfE/n8RA==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-darwin-arm64": { + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.1.4.tgz", + "integrity": "sha512-7vTYrgEiOrjxnjsgdPB+4i7EMxbVp7XXtS+50GJYj695xYTTEMn3HZVEvgtwjOUkAP/Q4HDejm4fIAjLeAfhtg==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-darwin-x64": { + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.1.4.tgz", + "integrity": "sha512-eGJVZScKSLZkYjhTAESCtbyTBq9SXeW9+TX36ki5gVhDqJtnQ5k0f9F44jNK5RhAMgIj0Ht9+n6HAgH0gUUyWQ==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-linux-arm-gnueabihf": { + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.1.4.tgz", + "integrity": "sha512-HnigYSEg2hOdX1meROecbk++z1nVJDpEofw9V2oWKqOWzTJlJf1UXVbDE6Hg30CapJxZu5ga4fdAQc/gODDkKg==", + "cpu": [ + "arm" + ], + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-gnu": { + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.1.4.tgz", + "integrity": "sha512-TzJ+N2EoTLWkaClV2CUhBlj6ljXofaYzF/R9HXqQ3JCMnCHQZmQnbnZllw7yTDp0OG5whP4gIPozR4QiX+00MQ==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-musl": { + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.1.4.tgz", + "integrity": "sha512-aVPmNMdp6Dlo2tWkAduAD/5TL/NT5uor290YvjvFvCv0Q3L7tVdlD8MOGDL+oRSw5XKXKAsDzHhUOPUNPRHVTQ==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-gnu": { + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.1.4.tgz", + "integrity": "sha512-77Fb79ayiDad0grvVsz4/OB55wJRyw9Ao+GdOBA9XywtHpuq5iRbVyHToGxWquYWlEf6WHFQQnFEttsAzboyKg==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-musl": { + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.1.4.tgz", + "integrity": "sha512-/t6C6niEQTqmQTVTD9TDwUzxG91Mlk69/v0qodIPUnjjB3wR4UA3klg+orR2SU3Ux2Cgf2pWPL9utK80/1ek8g==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-win32-arm64-msvc": { + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.1.4.tgz", + "integrity": "sha512-ZY5BHHrOPkMbCuGWFNpJH0t18D2LU6GMYKGaqaWTQ3CQOL57Fem4zE941/Ek5pIsVt70HyDXssVEFQXlITI5Gg==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-ia32-msvc": { + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.1.4.tgz", + "integrity": "sha512-XG2mcRfFrJvYyYaQmvCIvgfkaGinfXrpkBuIbJrTl9SaIQ8HumheWTIwkNz2mktCKwZfXHQNpO7RgXLIGQ7HXA==", + "cpu": [ + "ia32" + ], + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-x64-msvc": { + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.1.4.tgz", + "integrity": "sha512-ANFqWYPwkhIqPmXw8vm0GpBEHiPpqcm99jiiAp71DbCSqLDhrtr019C5vhD0Bw4My+LmMvciZq6IsWHqQpl2ZQ==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "win32" + ] + }, "node_modules/@stylable/build-tools": { "resolved": "packages/build-tools", "link": true @@ -5696,17 +5840,29 @@ } }, "node_modules/rollup": { - "version": "3.29.4", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.29.4.tgz", - "integrity": "sha512-oWzmBZwvYrU0iJHtDmhsm662rC15FRXmcjCk1xD771dFDx5jJ02ufAQQTn0etB2emNk4J9EZg/yWKpsn9BWGRw==", + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.1.4.tgz", + "integrity": "sha512-U8Yk1lQRKqCkDBip/pMYT+IKaN7b7UesK3fLSTuHBoBJacCE+oBqo/dfG/gkUdQNNB2OBmRP98cn2C2bkYZkyw==", "bin": { "rollup": "dist/bin/rollup" }, "engines": { - "node": ">=14.18.0", + "node": ">=18.0.0", "npm": ">=8.0.0" }, "optionalDependencies": { + "@rollup/rollup-android-arm-eabi": "4.1.4", + "@rollup/rollup-android-arm64": "4.1.4", + "@rollup/rollup-darwin-arm64": "4.1.4", + "@rollup/rollup-darwin-x64": "4.1.4", + "@rollup/rollup-linux-arm-gnueabihf": "4.1.4", + "@rollup/rollup-linux-arm64-gnu": "4.1.4", + "@rollup/rollup-linux-arm64-musl": "4.1.4", + "@rollup/rollup-linux-x64-gnu": "4.1.4", + "@rollup/rollup-linux-x64-musl": "4.1.4", + "@rollup/rollup-win32-arm64-msvc": "4.1.4", + "@rollup/rollup-win32-ia32-msvc": "4.1.4", + "@rollup/rollup-win32-x64-msvc": "4.1.4", "fsevents": "~2.3.2" } }, @@ -7172,7 +7328,7 @@ "node": ">=14.14.0" }, "peerDependencies": { - "rollup": "^2.70.0 || ^3.0.0" + "rollup": "^2.70.0 || ^3.0.0 || ^4.0.0" } }, "packages/rollup-plugin/node_modules/mime": { diff --git a/package.json b/package.json index 4d1da8538..091a7c42d 100644 --- a/package.json +++ b/package.json @@ -69,7 +69,7 @@ "react": "^18.2.0", "react-dom": "^18.2.0", "rimraf": "^5.0.5", - "rollup": "^3.29.4", + "rollup": "^4.1.4", "source-map": "^0.7.4", "source-map-loader": "^4.0.1", "style-loader": "^3.3.3", diff --git a/packages/rollup-plugin/package.json b/packages/rollup-plugin/package.json index 8c2c847ff..558ddcb42 100644 --- a/packages/rollup-plugin/package.json +++ b/packages/rollup-plugin/package.json @@ -7,7 +7,7 @@ "test": "mocha \"dist/test/**/*.spec.js\"" }, "peerDependencies": { - "rollup": "^2.70.0 || ^3.0.0" + "rollup": "^2.70.0 || ^3.0.0 || ^4.0.0" }, "dependencies": { "@stylable/build-tools": "^5.17.0", diff --git a/packages/rollup-plugin/src/index.ts b/packages/rollup-plugin/src/index.ts index 5c786f0b6..c249d972e 100644 --- a/packages/rollup-plugin/src/index.ts +++ b/packages/rollup-plugin/src/index.ts @@ -178,6 +178,7 @@ export function stylableRollupPlugin({ const { isStFile, isLoadableCssFile, path } = getLoadableModuleData(id); if (isLoadableCssFile || isStFile) { const code = fs.readFileSync(path, 'utf8'); + this.addWatchFile(path); return { code, moduleSideEffects: isLoadableCssFile }; } return null; From 11a53037138c6f4aff909483bd120bfe5c9c015c Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Mon, 1 Jan 2024 13:10:12 +0200 Subject: [PATCH 80/81] chore(deps): upgrade to latest stable - set tsconfig skipLibCheck to prevent playwirght types issues - add chai/mime/postcss-safe-parser to pleb ignore list --- package-lock.json | 2439 +++++++++++++----------- package.json | 72 +- packages/cli/package.json | 4 +- packages/code-formatter/package.json | 4 +- packages/core-test-kit/package.json | 4 +- packages/core/package.json | 2 +- packages/e2e-test-kit/package.json | 2 +- packages/language-service/package.json | 8 +- packages/optimizer/package.json | 2 +- packages/webpack-plugin/package.json | 2 +- pleb.config.mjs | 12 + tsconfig.base.json | 2 +- 12 files changed, 1385 insertions(+), 1168 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7c10e1734..a24bb31cf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,35 +10,35 @@ "packages/*" ], "devDependencies": { - "@file-services/memory": "^8.3.1", - "@file-services/node": "^8.3.1", - "@rollup/plugin-html": "^1.0.2", - "@rollup/plugin-node-resolve": "^15.2.1", - "@types/balanced-match": "^1.0.4", - "@types/chai": "^4.3.6", - "@types/chai-subset": "^1.3.3", - "@types/css-selector-tokenizer": "^0.7.2", - "@types/cssesc": "^3.0.0", - "@types/csso": "^5.0.1", - "@types/find-config": "^1.0.2", - "@types/flat": "^5.0.3", - "@types/js-beautify": "^1.14.1", - "@types/json-schema": "^7.0.13", - "@types/lodash.camelcase": "^4.3.7", - "@types/lodash.clonedeep": "^4.5.7", - "@types/lodash.clonedeepwith": "^4.5.7", - "@types/lodash.findlast": "^4.6.7", - "@types/lodash.upperfirst": "^4.3.7", - "@types/memory-fs": "^0.3.4", - "@types/mime": "^3.0.2", - "@types/mocha": "^10.0.2", + "@file-services/memory": "^8.3.3", + "@file-services/node": "^8.3.3", + "@rollup/plugin-html": "^1.0.3", + "@rollup/plugin-node-resolve": "^15.2.3", + "@types/balanced-match": "^3.0.2", + "@types/chai": "^4.3.11", + "@types/chai-subset": "^1.3.5", + "@types/css-selector-tokenizer": "^0.7.4", + "@types/cssesc": "^3.0.2", + "@types/csso": "^5.0.4", + "@types/find-config": "^1.0.4", + "@types/flat": "^5.0.5", + "@types/js-beautify": "^1.14.3", + "@types/json-schema": "^7.0.15", + "@types/lodash.camelcase": "^4.3.9", + "@types/lodash.clonedeep": "^4.5.9", + "@types/lodash.clonedeepwith": "^4.5.9", + "@types/lodash.findlast": "^4.6.9", + "@types/lodash.upperfirst": "^4.3.9", + "@types/memory-fs": "^0.3.7", + "@types/mime": "^3.0.4", + "@types/mocha": "^10.0.6", "@types/node": "14", - "@types/postcss-safe-parser": "^5.0.2", - "@types/react": "^18.2.25", - "@types/react-dom": "^18.2.10", - "@types/semver": "^7.5.3", - "@types/validate-npm-package-name": "^4.0.0", - "@types/yargs": "^17.0.26", + "@types/postcss-safe-parser": "^5.0.4", + "@types/react": "^18.2.46", + "@types/react-dom": "^18.2.18", + "@types/semver": "^7.5.6", + "@types/validate-npm-package-name": "^4.0.2", + "@types/yargs": "^17.0.32", "@typescript-eslint/eslint-plugin": "^5.61.0", "@typescript-eslint/parser": "^5.61.0", "autoprefixer": "^10.4.16", @@ -46,30 +46,30 @@ "chai": "^4.3.10", "chai-subset": "^1.6.0", "create-listening-server": "^2.1.0", - "eslint": "^8.50.0", - "eslint-config-prettier": "^9.0.0", + "eslint": "^8.56.0", + "eslint-config-prettier": "^9.1.0", "file-loader": "^6.2.0", - "html-webpack-plugin": "^5.5.3", + "html-webpack-plugin": "^5.6.0", "mini-css-extract-plugin": "^2.7.6", "mocha": "^10.2.0", "node-eval": "^2.0.0", "npm-run-all": "^4.1.5", - "playwright-chromium": "^1.38.1", - "postcss": "^8.4.31", + "playwright-chromium": "^1.40.1", + "postcss": "^8.4.32", "promise-assist": "^2.0.1", "raw-loader": "^4.0.2", "react": "^18.2.0", "react-dom": "^18.2.0", "rimraf": "^5.0.5", - "rollup": "^4.1.4", + "rollup": "^4.9.2", "source-map": "^0.7.4", - "source-map-loader": "^4.0.1", + "source-map-loader": "^4.0.2", "style-loader": "^3.3.3", "ts-expect": "^1.3.0", "tsconfig-paths-webpack-plugin": "^4.1.0", "typescript": "~5.2.2", "url-loader": "^4.1.1", - "webpack": "^5.88.2", + "webpack": "^5.89.0", "yargs": "^17.7.2" }, "engines": { @@ -90,10 +90,26 @@ "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", "dev": true }, + "node_modules/@esbuild/aix-ppc64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.19.11.tgz", + "integrity": "sha512-FnzU0LyE3ySQk7UntJO4+qIiQgI7KoODnZg5xzXIrFJlKd2P2gwHsHY4927xj9y5PJmJSzULiUCWmv7iWnNa7g==", + "cpu": [ + "ppc64" + ], + "optional": true, + "os": [ + "aix" + ], + "peer": true, + "engines": { + "node": ">=12" + } + }, "node_modules/@esbuild/android-arm": { - "version": "0.19.3", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.3.tgz", - "integrity": "sha512-Lemgw4io4VZl9GHJmjiBGzQ7ONXRfRPHcUEerndjwiSkbxzrpq0Uggku5MxxrXdwJ+pTj1qyw4jwTu7hkPsgIA==", + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.11.tgz", + "integrity": "sha512-5OVapq0ClabvKvQ58Bws8+wkLCV+Rxg7tUVbo9xu034Nm536QTII4YzhaFriQ7rMrorfnFKUsArD2lqKbFY4vw==", "cpu": [ "arm" ], @@ -107,9 +123,9 @@ } }, "node_modules/@esbuild/android-arm64": { - "version": "0.19.3", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.19.3.tgz", - "integrity": "sha512-w+Akc0vv5leog550kjJV9Ru+MXMR2VuMrui3C61mnysim0gkFCPOUTAfzTP0qX+HpN9Syu3YA3p1hf3EPqObRw==", + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.19.11.tgz", + "integrity": "sha512-aiu7K/5JnLj//KOnOfEZ0D90obUkRzDMyqd/wNAUQ34m4YUPVhRZpnqKV9uqDGxT7cToSDnIHsGooyIczu9T+Q==", "cpu": [ "arm64" ], @@ -123,9 +139,9 @@ } }, "node_modules/@esbuild/android-x64": { - "version": "0.19.3", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.19.3.tgz", - "integrity": "sha512-FKQJKkK5MXcBHoNZMDNUAg1+WcZlV/cuXrWCoGF/TvdRiYS4znA0m5Il5idUwfxrE20bG/vU1Cr5e1AD6IEIjQ==", + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.19.11.tgz", + "integrity": "sha512-eccxjlfGw43WYoY9QgB82SgGgDbibcqyDTlk3l3C0jOVHKxrjdc9CTwDUQd0vkvYg5um0OH+GpxYvp39r+IPOg==", "cpu": [ "x64" ], @@ -139,9 +155,9 @@ } }, "node_modules/@esbuild/darwin-arm64": { - "version": "0.19.3", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.19.3.tgz", - "integrity": "sha512-kw7e3FXU+VsJSSSl2nMKvACYlwtvZB8RUIeVShIEY6PVnuZ3c9+L9lWB2nWeeKWNNYDdtL19foCQ0ZyUL7nqGw==", + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.19.11.tgz", + "integrity": "sha512-ETp87DRWuSt9KdDVkqSoKoLFHYTrkyz2+65fj9nfXsaV3bMhTCjtQfw3y+um88vGRKRiF7erPrh/ZuIdLUIVxQ==", "cpu": [ "arm64" ], @@ -155,9 +171,9 @@ } }, "node_modules/@esbuild/darwin-x64": { - "version": "0.19.3", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.19.3.tgz", - "integrity": "sha512-tPfZiwF9rO0jW6Jh9ipi58N5ZLoSjdxXeSrAYypy4psA2Yl1dAMhM71KxVfmjZhJmxRjSnb29YlRXXhh3GqzYw==", + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.19.11.tgz", + "integrity": "sha512-fkFUiS6IUK9WYUO/+22omwetaSNl5/A8giXvQlcinLIjVkxwTLSktbF5f/kJMftM2MJp9+fXqZ5ezS7+SALp4g==", "cpu": [ "x64" ], @@ -171,9 +187,9 @@ } }, "node_modules/@esbuild/freebsd-arm64": { - "version": "0.19.3", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.3.tgz", - "integrity": "sha512-ERDyjOgYeKe0Vrlr1iLrqTByB026YLPzTytDTz1DRCYM+JI92Dw2dbpRHYmdqn6VBnQ9Bor6J8ZlNwdZdxjlSg==", + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.11.tgz", + "integrity": "sha512-lhoSp5K6bxKRNdXUtHoNc5HhbXVCS8V0iZmDvyWvYq9S5WSfTIHU2UGjcGt7UeS6iEYp9eeymIl5mJBn0yiuxA==", "cpu": [ "arm64" ], @@ -187,9 +203,9 @@ } }, "node_modules/@esbuild/freebsd-x64": { - "version": "0.19.3", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.19.3.tgz", - "integrity": "sha512-nXesBZ2Ad1qL+Rm3crN7NmEVJ5uvfLFPLJev3x1j3feCQXfAhoYrojC681RhpdOph8NsvKBBwpYZHR7W0ifTTA==", + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.19.11.tgz", + "integrity": "sha512-JkUqn44AffGXitVI6/AbQdoYAq0TEullFdqcMY/PCUZ36xJ9ZJRtQabzMA+Vi7r78+25ZIBosLTOKnUXBSi1Kw==", "cpu": [ "x64" ], @@ -203,9 +219,9 @@ } }, "node_modules/@esbuild/linux-arm": { - "version": "0.19.3", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.19.3.tgz", - "integrity": "sha512-zr48Cg/8zkzZCzDHNxXO/89bf9e+r4HtzNUPoz4GmgAkF1gFAFmfgOdCbR8zMbzFDGb1FqBBhdXUpcTQRYS1cQ==", + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.19.11.tgz", + "integrity": "sha512-3CRkr9+vCV2XJbjwgzjPtO8T0SZUmRZla+UL1jw+XqHZPkPgZiyWvbDvl9rqAN8Zl7qJF0O/9ycMtjU67HN9/Q==", "cpu": [ "arm" ], @@ -219,9 +235,9 @@ } }, "node_modules/@esbuild/linux-arm64": { - "version": "0.19.3", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.19.3.tgz", - "integrity": "sha512-qXvYKmXj8GcJgWq3aGvxL/JG1ZM3UR272SdPU4QSTzD0eymrM7leiZH77pvY3UetCy0k1xuXZ+VPvoJNdtrsWQ==", + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.19.11.tgz", + "integrity": "sha512-LneLg3ypEeveBSMuoa0kwMpCGmpu8XQUh+mL8XXwoYZ6Be2qBnVtcDI5azSvh7vioMDhoJFZzp9GWp9IWpYoUg==", "cpu": [ "arm64" ], @@ -235,9 +251,9 @@ } }, "node_modules/@esbuild/linux-ia32": { - "version": "0.19.3", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.19.3.tgz", - "integrity": "sha512-7XlCKCA0nWcbvYpusARWkFjRQNWNGlt45S+Q18UeS///K6Aw8bB2FKYe9mhVWy/XLShvCweOLZPrnMswIaDXQA==", + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.19.11.tgz", + "integrity": "sha512-caHy++CsD8Bgq2V5CodbJjFPEiDPq8JJmBdeyZ8GWVQMjRD0sU548nNdwPNvKjVpamYYVL40AORekgfIubwHoA==", "cpu": [ "ia32" ], @@ -251,9 +267,9 @@ } }, "node_modules/@esbuild/linux-loong64": { - "version": "0.19.3", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.19.3.tgz", - "integrity": "sha512-qGTgjweER5xqweiWtUIDl9OKz338EQqCwbS9c2Bh5jgEH19xQ1yhgGPNesugmDFq+UUSDtWgZ264st26b3de8A==", + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.19.11.tgz", + "integrity": "sha512-ppZSSLVpPrwHccvC6nQVZaSHlFsvCQyjnvirnVjbKSHuE5N24Yl8F3UwYUUR1UEPaFObGD2tSvVKbvR+uT1Nrg==", "cpu": [ "loong64" ], @@ -267,9 +283,9 @@ } }, "node_modules/@esbuild/linux-mips64el": { - "version": "0.19.3", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.19.3.tgz", - "integrity": "sha512-gy1bFskwEyxVMFRNYSvBauDIWNggD6pyxUksc0MV9UOBD138dKTzr8XnM2R4mBsHwVzeuIH8X5JhmNs2Pzrx+A==", + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.19.11.tgz", + "integrity": "sha512-B5x9j0OgjG+v1dF2DkH34lr+7Gmv0kzX6/V0afF41FkPMMqaQ77pH7CrhWeR22aEeHKaeZVtZ6yFwlxOKPVFyg==", "cpu": [ "mips64el" ], @@ -283,9 +299,9 @@ } }, "node_modules/@esbuild/linux-ppc64": { - "version": "0.19.3", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.19.3.tgz", - "integrity": "sha512-UrYLFu62x1MmmIe85rpR3qou92wB9lEXluwMB/STDzPF9k8mi/9UvNsG07Tt9AqwPQXluMQ6bZbTzYt01+Ue5g==", + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.19.11.tgz", + "integrity": "sha512-MHrZYLeCG8vXblMetWyttkdVRjQlQUb/oMgBNurVEnhj4YWOr4G5lmBfZjHYQHHN0g6yDmCAQRR8MUHldvvRDA==", "cpu": [ "ppc64" ], @@ -299,9 +315,9 @@ } }, "node_modules/@esbuild/linux-riscv64": { - "version": "0.19.3", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.19.3.tgz", - "integrity": "sha512-9E73TfyMCbE+1AwFOg3glnzZ5fBAFK4aawssvuMgCRqCYzE0ylVxxzjEfut8xjmKkR320BEoMui4o/t9KA96gA==", + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.19.11.tgz", + "integrity": "sha512-f3DY++t94uVg141dozDu4CCUkYW+09rWtaWfnb3bqe4w5NqmZd6nPVBm+qbz7WaHZCoqXqHz5p6CM6qv3qnSSQ==", "cpu": [ "riscv64" ], @@ -315,9 +331,9 @@ } }, "node_modules/@esbuild/linux-s390x": { - "version": "0.19.3", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.19.3.tgz", - "integrity": "sha512-LlmsbuBdm1/D66TJ3HW6URY8wO6IlYHf+ChOUz8SUAjVTuaisfuwCOAgcxo3Zsu3BZGxmI7yt//yGOxV+lHcEA==", + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.19.11.tgz", + "integrity": "sha512-A5xdUoyWJHMMlcSMcPGVLzYzpcY8QP1RtYzX5/bS4dvjBGVxdhuiYyFwp7z74ocV7WDc0n1harxmpq2ePOjI0Q==", "cpu": [ "s390x" ], @@ -331,9 +347,9 @@ } }, "node_modules/@esbuild/linux-x64": { - "version": "0.19.3", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.3.tgz", - "integrity": "sha512-ogV0+GwEmvwg/8ZbsyfkYGaLACBQWDvO0Kkh8LKBGKj9Ru8VM39zssrnu9Sxn1wbapA2qNS6BiLdwJZGouyCwQ==", + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.11.tgz", + "integrity": "sha512-grbyMlVCvJSfxFQUndw5mCtWs5LO1gUlwP4CDi4iJBbVpZcqLVT29FxgGuBJGSzyOxotFG4LoO5X+M1350zmPA==", "cpu": [ "x64" ], @@ -347,9 +363,9 @@ } }, "node_modules/@esbuild/netbsd-x64": { - "version": "0.19.3", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.19.3.tgz", - "integrity": "sha512-o1jLNe4uzQv2DKXMlmEzf66Wd8MoIhLNO2nlQBHLtWyh2MitDG7sMpfCO3NTcoTMuqHjfufgUQDFRI5C+xsXQw==", + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.19.11.tgz", + "integrity": "sha512-13jvrQZJc3P230OhU8xgwUnDeuC/9egsjTkXN49b3GcS5BKvJqZn86aGM8W9pd14Kd+u7HuFBMVtrNGhh6fHEQ==", "cpu": [ "x64" ], @@ -363,9 +379,9 @@ } }, "node_modules/@esbuild/openbsd-x64": { - "version": "0.19.3", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.19.3.tgz", - "integrity": "sha512-AZJCnr5CZgZOdhouLcfRdnk9Zv6HbaBxjcyhq0StNcvAdVZJSKIdOiPB9az2zc06ywl0ePYJz60CjdKsQacp5Q==", + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.19.11.tgz", + "integrity": "sha512-ysyOGZuTp6SNKPE11INDUeFVVQFrhcNDVUgSQVDzqsqX38DjhPEPATpid04LCoUr2WXhQTEZ8ct/EgJCUDpyNw==", "cpu": [ "x64" ], @@ -379,9 +395,9 @@ } }, "node_modules/@esbuild/sunos-x64": { - "version": "0.19.3", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.19.3.tgz", - "integrity": "sha512-Acsujgeqg9InR4glTRvLKGZ+1HMtDm94ehTIHKhJjFpgVzZG9/pIcWW/HA/DoMfEyXmANLDuDZ2sNrWcjq1lxw==", + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.19.11.tgz", + "integrity": "sha512-Hf+Sad9nVwvtxy4DXCZQqLpgmRTQqyFyhT3bZ4F2XlJCjxGmRFF0Shwn9rzhOYRB61w9VMXUkxlBy56dk9JJiQ==", "cpu": [ "x64" ], @@ -395,9 +411,9 @@ } }, "node_modules/@esbuild/win32-arm64": { - "version": "0.19.3", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.19.3.tgz", - "integrity": "sha512-FSrAfjVVy7TifFgYgliiJOyYynhQmqgPj15pzLyJk8BUsnlWNwP/IAy6GAiB1LqtoivowRgidZsfpoYLZH586A==", + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.19.11.tgz", + "integrity": "sha512-0P58Sbi0LctOMOQbpEOvOL44Ne0sqbS0XWHMvvrg6NE5jQ1xguCSSw9jQeUk2lfrXYsKDdOe6K+oZiwKPilYPQ==", "cpu": [ "arm64" ], @@ -411,9 +427,9 @@ } }, "node_modules/@esbuild/win32-ia32": { - "version": "0.19.3", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.19.3.tgz", - "integrity": "sha512-xTScXYi12xLOWZ/sc5RBmMN99BcXp/eEf7scUC0oeiRoiT5Vvo9AycuqCp+xdpDyAU+LkrCqEpUS9fCSZF8J3Q==", + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.19.11.tgz", + "integrity": "sha512-6YOrWS+sDJDmshdBIQU+Uoyh7pQKrdykdefC1avn76ss5c+RN6gut3LZA4E2cH5xUEp5/cA0+YxRaVtRAb0xBg==", "cpu": [ "ia32" ], @@ -427,9 +443,9 @@ } }, "node_modules/@esbuild/win32-x64": { - "version": "0.19.3", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.19.3.tgz", - "integrity": "sha512-FbUN+0ZRXsypPyWE2IwIkVjDkDnJoMJARWOcFZn4KPPli+QnKqF0z1anvfaYe3ev5HFCpRDLLBDHyOALLppWHw==", + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.19.11.tgz", + "integrity": "sha512-vfkhltrjCAb603XaFhqhAF4LGDi2M4OrCRrFusyQ+iTLQ/o60QQXxc9cZC/FFpihBI9N1Grn6SMKVJ4KP7Fuiw==", "cpu": [ "x64" ], @@ -457,17 +473,17 @@ } }, "node_modules/@eslint-community/regexpp": { - "version": "4.8.1", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.8.1.tgz", - "integrity": "sha512-PWiOzLIUAjN/w5K17PoF4n6sKBw0gqLHPhywmYHP4t1VFQQVYeb1yWsJwnMVEMl3tUHME7X/SJPZLmtG7XBDxQ==", + "version": "4.10.0", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.10.0.tgz", + "integrity": "sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA==", "engines": { "node": "^12.0.0 || ^14.0.0 || >=16.0.0" } }, "node_modules/@eslint/eslintrc": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.2.tgz", - "integrity": "sha512-+wvgpDsrB1YqAMdEUCcnTlpfVBH7Vqn6A/NT3D8WVXFIaKMlErPIZT3oCIAVCOtarRpMtelZLqJeU3t7WY6X6g==", + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz", + "integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==", "dependencies": { "ajv": "^6.12.4", "debug": "^4.3.2", @@ -487,73 +503,73 @@ } }, "node_modules/@eslint/js": { - "version": "8.50.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.50.0.tgz", - "integrity": "sha512-NCC3zz2+nvYd+Ckfh87rA47zfu2QsQpvc6k1yzTk+b9KzRj0wkGa8LSoGOXN6Zv4lRf/EIoZ80biDh9HOI+RNQ==", + "version": "8.56.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.56.0.tgz", + "integrity": "sha512-gMsVel9D7f2HLkBma9VbtzZRehRogVRfbr++f06nL2vnCGCNlzOD+/MUov/F4p8myyAHspEhVobgjpX64q5m6A==", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } }, "node_modules/@file-services/memory": { - "version": "8.3.1", - "resolved": "https://registry.npmjs.org/@file-services/memory/-/memory-8.3.1.tgz", - "integrity": "sha512-yAF6R3iccXIJUoKR2xV8ong1BTedczdZwWoZCYBQbtX5P1KDZGkO+3+aRCPFyCKXjpSE21MLRP+xwSSNwdifTA==", + "version": "8.3.3", + "resolved": "https://registry.npmjs.org/@file-services/memory/-/memory-8.3.3.tgz", + "integrity": "sha512-WBgpmTvO2Bkl9zD0Vdyt4hjScZ5p5ytqcpG9y7pMAZITSw9Slv/pjK0jKkJMg4reb2nHjzEEgYzggfd2FibDsA==", "dependencies": { - "@file-services/path": "^8.3.1", - "@file-services/types": "^8.3.1", - "@file-services/utils": "^8.3.1" + "@file-services/path": "^8.3.3", + "@file-services/types": "^8.3.3", + "@file-services/utils": "^8.3.3" } }, "node_modules/@file-services/node": { - "version": "8.3.1", - "resolved": "https://registry.npmjs.org/@file-services/node/-/node-8.3.1.tgz", - "integrity": "sha512-vE3CXrWAdWj9AQlN8/q7U6XS2d4yGS7B8VUtkFAVcYoeG6DGHh5HnnABKefml9Ow+fp+48UsERcoNKPlSoUVEQ==", + "version": "8.3.3", + "resolved": "https://registry.npmjs.org/@file-services/node/-/node-8.3.3.tgz", + "integrity": "sha512-gZH5C4QRs4DurIxu/xa44zfqELHYtxjyQAx9NwDD7eNjst1jVbSOKtWD6beDXw88OI/6KzpxnbOnhwksQphJ6g==", "dependencies": { - "@file-services/types": "^8.3.1", - "@file-services/utils": "^8.3.1" + "@file-services/types": "^8.3.3", + "@file-services/utils": "^8.3.3" }, "engines": { "node": ">=14" } }, "node_modules/@file-services/path": { - "version": "8.3.1", - "resolved": "https://registry.npmjs.org/@file-services/path/-/path-8.3.1.tgz", - "integrity": "sha512-pzcBDtlFrl/2yFOCuS/FxMyD85jQYGVa+S7FNr3pFsIyYX7ohSMgbUsXB/A2Hzo7Xe8+e6HgOMUqhNwDFKEJew==", + "version": "8.3.3", + "resolved": "https://registry.npmjs.org/@file-services/path/-/path-8.3.3.tgz", + "integrity": "sha512-zM2/I4uIA+Hq8fC0XhBfo7ZC3t/shX3gjwl3z+lmtHxtNfxProf6hsmR1VI0qLDEFcIog7tB89HOR7H5DWj+qQ==", "dependencies": { - "@file-services/types": "^8.3.1" + "@file-services/types": "^8.3.3" } }, "node_modules/@file-services/types": { - "version": "8.3.1", - "resolved": "https://registry.npmjs.org/@file-services/types/-/types-8.3.1.tgz", - "integrity": "sha512-I2oRF38cF6yGMF02d8oLTd07+62pRI0D23LcHaVMXib5A2gB4QOhaQYr9OjIBR9RIaG2P6Byo4y4qvkmgUzYgg==" + "version": "8.3.3", + "resolved": "https://registry.npmjs.org/@file-services/types/-/types-8.3.3.tgz", + "integrity": "sha512-b6IM6MNZ6HKm5GicSKI61Rj1UZy87UtBCUvBiqT+w16biEYxeV7fBCj6gCeu8fWdPdfXgUK2QFKAB0RST+D4GQ==" }, "node_modules/@file-services/typescript": { - "version": "8.3.1", - "resolved": "https://registry.npmjs.org/@file-services/typescript/-/typescript-8.3.1.tgz", - "integrity": "sha512-FjXHchxXkpG/1E3P0SCSX9BJYJxvxbah0iJQz+vG74XABSEFASPFQu7ruRRmusVRCUuz4WjxX/vpqeHqhlhB1g==", + "version": "8.3.3", + "resolved": "https://registry.npmjs.org/@file-services/typescript/-/typescript-8.3.3.tgz", + "integrity": "sha512-NHT1AG0sC7sf695ZYg3iCjSlD4lVKL81og2/W+ilreAqRWWEJ5R4BxuFtrB3H2D7S6PChxooPQkrYhrnB5hbZg==", "dependencies": { - "@file-services/types": "^8.3.1" + "@file-services/types": "^8.3.3" }, "peerDependencies": { "typescript": ">=2.8.0" } }, "node_modules/@file-services/utils": { - "version": "8.3.1", - "resolved": "https://registry.npmjs.org/@file-services/utils/-/utils-8.3.1.tgz", - "integrity": "sha512-BxIto/E1tRfXswYE1fVicATeDpYAYH2PUHq/jM5z394/jirwJLXSNUmYr8knceMbHBVfCG0ZHL83EgqMt5sgVw==", + "version": "8.3.3", + "resolved": "https://registry.npmjs.org/@file-services/utils/-/utils-8.3.3.tgz", + "integrity": "sha512-mCVe/x8cqvMxR/JE1SdPxxcReXvinYhrGgS3Ub33pHKmYMvRLPqt7tmxJV6zV8hjptx/CuxG6+yh9iSQo5sRvA==", "dependencies": { - "@file-services/types": "^8.3.1" + "@file-services/types": "^8.3.3" } }, "node_modules/@humanwhocodes/config-array": { - "version": "0.11.11", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.11.tgz", - "integrity": "sha512-N2brEuAadi0CcdeMXUkhbZB84eskAc8MEX1By6qEchoVywSgXPIjou4rYsl0V3Hj0ZnuGycGCjdNgockbzeWNA==", + "version": "0.11.13", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.13.tgz", + "integrity": "sha512-JSBDMiDKSzQVngfRjOdFXgFfklaXI4K9nLF49Auh21lmBWRLIK3+xTErTWD4KU54pb6coM6ESE7Awz/FNU3zgQ==", "dependencies": { - "@humanwhocodes/object-schema": "^1.2.1", + "@humanwhocodes/object-schema": "^2.0.1", "debug": "^4.1.1", "minimatch": "^3.0.5" }, @@ -574,9 +590,9 @@ } }, "node_modules/@humanwhocodes/object-schema": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", - "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==" + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.1.tgz", + "integrity": "sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw==" }, "node_modules/@isaacs/cliui": { "version": "8.0.2", @@ -720,9 +736,9 @@ "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==" }, "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.19", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.19.tgz", - "integrity": "sha512-kf37QtfW+Hwx/buWGMPcR60iF9ziHa6r/CZJIHbmcm4+0qrXiVdxegAH0F6yddEVQ7zdkjcGCgCzUu+BcbhQxw==", + "version": "0.3.20", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.20.tgz", + "integrity": "sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==", "dependencies": { "@jridgewell/resolve-uri": "^3.1.0", "@jridgewell/sourcemap-codec": "^1.4.14" @@ -775,15 +791,15 @@ } }, "node_modules/@rollup/plugin-html": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@rollup/plugin-html/-/plugin-html-1.0.2.tgz", - "integrity": "sha512-jGqb45BPj5kwvb/bq1jIzUDLebsm1xmfnY1rwgTIZyjpsMyMKLuQO27n4z5qv6kZmxqxh+CBRD7d1rjAu85Uzg==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@rollup/plugin-html/-/plugin-html-1.0.3.tgz", + "integrity": "sha512-bbjQciNXitHX+Bgk0xsW3/0wFWih/356/r7/kvmdz4wzWhAU/a0zYBWTczihrlzz/6Qpw/kZ0yXqOJwsETgg7A==", "dev": true, "engines": { "node": ">=14.0.0" }, "peerDependencies": { - "rollup": "^1.20.0||^2.0.0||^3.0.0" + "rollup": "^1.20.0||^2.0.0||^3.0.0||^4.0.0" }, "peerDependenciesMeta": { "rollup": { @@ -792,9 +808,9 @@ } }, "node_modules/@rollup/plugin-node-resolve": { - "version": "15.2.1", - "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-15.2.1.tgz", - "integrity": "sha512-nsbUg588+GDSu8/NS8T4UAshO6xeaOfINNuXeVHcKV02LJtoRaM1SiOacClw4kws1SFiNhdLGxlbMY9ga/zs/w==", + "version": "15.2.3", + "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-15.2.3.tgz", + "integrity": "sha512-j/lym8nf5E21LwBT4Df1VD6hRO2L2iwUeUmP7litikRsVp1H6NWx20NEp0Y7su+7XGc476GnXXc4kFeZNGmaSQ==", "dev": true, "dependencies": { "@rollup/pluginutils": "^5.0.1", @@ -808,7 +824,7 @@ "node": ">=14.0.0" }, "peerDependencies": { - "rollup": "^2.78.0||^3.0.0" + "rollup": "^2.78.0||^3.0.0||^4.0.0" }, "peerDependenciesMeta": { "rollup": { @@ -817,9 +833,9 @@ } }, "node_modules/@rollup/pluginutils": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.0.4.tgz", - "integrity": "sha512-0KJnIoRI8A+a1dqOYLxH8vBf8bphDmty5QvIm2hqm7oFCFYKCAZWWd2hXgMibaPsNDhI0AtpYfQZJG47pt/k4g==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.1.0.tgz", + "integrity": "sha512-XTIWOPPcpvyKI6L1NHo0lFlCyznUEyPmPY1mc3KpPVDYulHSTvyeLNVW00QTLIAFNhR3kYnJTQHeGqU4M3n09g==", "dev": true, "dependencies": { "@types/estree": "^1.0.0", @@ -830,7 +846,7 @@ "node": ">=14.0.0" }, "peerDependencies": { - "rollup": "^1.20.0||^2.0.0||^3.0.0" + "rollup": "^1.20.0||^2.0.0||^3.0.0||^4.0.0" }, "peerDependenciesMeta": { "rollup": { @@ -839,9 +855,9 @@ } }, "node_modules/@rollup/rollup-android-arm-eabi": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.1.4.tgz", - "integrity": "sha512-WlzkuFvpKl6CLFdc3V6ESPt7gq5Vrimd2Yv9IzKXdOpgbH4cdDSS1JLiACX8toygihtH5OlxyQzhXOph7Ovlpw==", + "version": "4.9.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.9.2.tgz", + "integrity": "sha512-RKzxFxBHq9ysZ83fn8Iduv3A283K7zPPYuhL/z9CQuyFrjwpErJx0h4aeb/bnJ+q29GRLgJpY66ceQ/Wcsn3wA==", "cpu": [ "arm" ], @@ -851,9 +867,9 @@ ] }, "node_modules/@rollup/rollup-android-arm64": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.1.4.tgz", - "integrity": "sha512-D1e+ABe56T9Pq2fD+R3ybe1ylCDzu3tY4Qm2Mj24R9wXNCq35+JbFbOpc2yrroO2/tGhTobmEl2Bm5xfE/n8RA==", + "version": "4.9.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.9.2.tgz", + "integrity": "sha512-yZ+MUbnwf3SHNWQKJyWh88ii2HbuHCFQnAYTeeO1Nb8SyEiWASEi5dQUygt3ClHWtA9My9RQAYkjvrsZ0WK8Xg==", "cpu": [ "arm64" ], @@ -863,9 +879,9 @@ ] }, "node_modules/@rollup/rollup-darwin-arm64": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.1.4.tgz", - "integrity": "sha512-7vTYrgEiOrjxnjsgdPB+4i7EMxbVp7XXtS+50GJYj695xYTTEMn3HZVEvgtwjOUkAP/Q4HDejm4fIAjLeAfhtg==", + "version": "4.9.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.9.2.tgz", + "integrity": "sha512-vqJ/pAUh95FLc/G/3+xPqlSBgilPnauVf2EXOQCZzhZJCXDXt/5A8mH/OzU6iWhb3CNk5hPJrh8pqJUPldN5zw==", "cpu": [ "arm64" ], @@ -875,9 +891,9 @@ ] }, "node_modules/@rollup/rollup-darwin-x64": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.1.4.tgz", - "integrity": "sha512-eGJVZScKSLZkYjhTAESCtbyTBq9SXeW9+TX36ki5gVhDqJtnQ5k0f9F44jNK5RhAMgIj0Ht9+n6HAgH0gUUyWQ==", + "version": "4.9.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.9.2.tgz", + "integrity": "sha512-otPHsN5LlvedOprd3SdfrRNhOahhVBwJpepVKUN58L0RnC29vOAej1vMEaVU6DadnpjivVsNTM5eNt0CcwTahw==", "cpu": [ "x64" ], @@ -887,9 +903,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-gnueabihf": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.1.4.tgz", - "integrity": "sha512-HnigYSEg2hOdX1meROecbk++z1nVJDpEofw9V2oWKqOWzTJlJf1UXVbDE6Hg30CapJxZu5ga4fdAQc/gODDkKg==", + "version": "4.9.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.9.2.tgz", + "integrity": "sha512-ewG5yJSp+zYKBYQLbd1CUA7b1lSfIdo9zJShNTyc2ZP1rcPrqyZcNlsHgs7v1zhgfdS+kW0p5frc0aVqhZCiYQ==", "cpu": [ "arm" ], @@ -899,9 +915,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-gnu": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.1.4.tgz", - "integrity": "sha512-TzJ+N2EoTLWkaClV2CUhBlj6ljXofaYzF/R9HXqQ3JCMnCHQZmQnbnZllw7yTDp0OG5whP4gIPozR4QiX+00MQ==", + "version": "4.9.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.9.2.tgz", + "integrity": "sha512-pL6QtV26W52aCWTG1IuFV3FMPL1m4wbsRG+qijIvgFO/VBsiXJjDPE/uiMdHBAO6YcpV4KvpKtd0v3WFbaxBtg==", "cpu": [ "arm64" ], @@ -911,9 +927,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-musl": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.1.4.tgz", - "integrity": "sha512-aVPmNMdp6Dlo2tWkAduAD/5TL/NT5uor290YvjvFvCv0Q3L7tVdlD8MOGDL+oRSw5XKXKAsDzHhUOPUNPRHVTQ==", + "version": "4.9.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.9.2.tgz", + "integrity": "sha512-On+cc5EpOaTwPSNetHXBuqylDW+765G/oqB9xGmWU3npEhCh8xu0xqHGUA+4xwZLqBbIZNcBlKSIYfkBm6ko7g==", "cpu": [ "arm64" ], @@ -922,10 +938,22 @@ "linux" ] }, + "node_modules/@rollup/rollup-linux-riscv64-gnu": { + "version": "4.9.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.9.2.tgz", + "integrity": "sha512-Wnx/IVMSZ31D/cO9HSsU46FjrPWHqtdF8+0eyZ1zIB5a6hXaZXghUKpRrC4D5DcRTZOjml2oBhXoqfGYyXKipw==", + "cpu": [ + "riscv64" + ], + "optional": true, + "os": [ + "linux" + ] + }, "node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.1.4.tgz", - "integrity": "sha512-77Fb79ayiDad0grvVsz4/OB55wJRyw9Ao+GdOBA9XywtHpuq5iRbVyHToGxWquYWlEf6WHFQQnFEttsAzboyKg==", + "version": "4.9.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.9.2.tgz", + "integrity": "sha512-ym5x1cj4mUAMBummxxRkI4pG5Vht1QMsJexwGP8547TZ0sox9fCLDHw9KCH9c1FO5d9GopvkaJsBIOkTKxksdw==", "cpu": [ "x64" ], @@ -935,9 +963,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-musl": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.1.4.tgz", - "integrity": "sha512-/t6C6niEQTqmQTVTD9TDwUzxG91Mlk69/v0qodIPUnjjB3wR4UA3klg+orR2SU3Ux2Cgf2pWPL9utK80/1ek8g==", + "version": "4.9.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.9.2.tgz", + "integrity": "sha512-m0hYELHGXdYx64D6IDDg/1vOJEaiV8f1G/iO+tejvRCJNSwK4jJ15e38JQy5Q6dGkn1M/9KcyEOwqmlZ2kqaZg==", "cpu": [ "x64" ], @@ -947,9 +975,9 @@ ] }, "node_modules/@rollup/rollup-win32-arm64-msvc": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.1.4.tgz", - "integrity": "sha512-ZY5BHHrOPkMbCuGWFNpJH0t18D2LU6GMYKGaqaWTQ3CQOL57Fem4zE941/Ek5pIsVt70HyDXssVEFQXlITI5Gg==", + "version": "4.9.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.9.2.tgz", + "integrity": "sha512-x1CWburlbN5JjG+juenuNa4KdedBdXLjZMp56nHFSHTOsb/MI2DYiGzLtRGHNMyydPGffGId+VgjOMrcltOksA==", "cpu": [ "arm64" ], @@ -959,9 +987,9 @@ ] }, "node_modules/@rollup/rollup-win32-ia32-msvc": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.1.4.tgz", - "integrity": "sha512-XG2mcRfFrJvYyYaQmvCIvgfkaGinfXrpkBuIbJrTl9SaIQ8HumheWTIwkNz2mktCKwZfXHQNpO7RgXLIGQ7HXA==", + "version": "4.9.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.9.2.tgz", + "integrity": "sha512-VVzCB5yXR1QlfsH1Xw1zdzQ4Pxuzv+CPr5qpElpKhVxlxD3CRdfubAG9mJROl6/dmj5gVYDDWk8sC+j9BI9/kQ==", "cpu": [ "ia32" ], @@ -971,9 +999,9 @@ ] }, "node_modules/@rollup/rollup-win32-x64-msvc": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.1.4.tgz", - "integrity": "sha512-ANFqWYPwkhIqPmXw8vm0GpBEHiPpqcm99jiiAp71DbCSqLDhrtr019C5vhD0Bw4My+LmMvciZq6IsWHqQpl2ZQ==", + "version": "4.9.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.9.2.tgz", + "integrity": "sha512-SYRedJi+mweatroB+6TTnJYLts0L0bosg531xnQWtklOI6dezEagx4Q0qDyvRdK+qgdA3YZpjjGuPFtxBmddBA==", "cpu": [ "x64" ], @@ -1096,86 +1124,86 @@ } }, "node_modules/@types/balanced-match": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@types/balanced-match/-/balanced-match-1.0.4.tgz", - "integrity": "sha512-sLf9sSU59HlbUuaHGkWRp7T9fEoVQALBeu5gtXTU6NhSAIazEsPTJmnYuqo+0ZsgWw7e63r478wo8ba5r5dL5A==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@types/balanced-match/-/balanced-match-3.0.2.tgz", + "integrity": "sha512-It1j6doJHkoGoxfOj3c7sHVHQXYMHo3c0kpcnPhEO4KfitNE5SqiSGKV0Hx5/cwyYKJfEhin0tZYBmqpjEcavw==", "dev": true }, "node_modules/@types/chai": { - "version": "4.3.6", - "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.6.tgz", - "integrity": "sha512-VOVRLM1mBxIRxydiViqPcKn6MIxZytrbMpd6RJLIWKxUNr3zux8no0Oc7kJx0WAPIitgZ0gkrDS+btlqQpubpw==", + "version": "4.3.11", + "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.11.tgz", + "integrity": "sha512-qQR1dr2rGIHYlJulmr8Ioq3De0Le9E4MJ5AiaeAETJJpndT1uUNHsGFK3L/UIu+rbkQSdj8J/w2bCsBZc/Y5fQ==", "dev": true }, "node_modules/@types/chai-subset": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/@types/chai-subset/-/chai-subset-1.3.3.tgz", - "integrity": "sha512-frBecisrNGz+F4T6bcc+NLeolfiojh5FxW2klu669+8BARtyQv2C/GkNW6FUodVe4BroGMP/wER/YDGc7rEllw==", + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/@types/chai-subset/-/chai-subset-1.3.5.tgz", + "integrity": "sha512-c2mPnw+xHtXDoHmdtcCXGwyLMiauiAyxWMzhGpqHC4nqI/Y5G2XhTampslK2rb59kpcuHon03UH8W6iYUzw88A==", "dev": true, "dependencies": { "@types/chai": "*" } }, "node_modules/@types/css-selector-tokenizer": { - "version": "0.7.2", - "resolved": "https://registry.npmjs.org/@types/css-selector-tokenizer/-/css-selector-tokenizer-0.7.2.tgz", - "integrity": "sha512-A4qDojfgYrQOsoqgrt657/MskGgBOtDyuXVqqitafDgkdAeJk0XJsOlXI1IfuOLrvNvP7XDIRfNTmY7KZ0WRcw==", + "version": "0.7.4", + "resolved": "https://registry.npmjs.org/@types/css-selector-tokenizer/-/css-selector-tokenizer-0.7.4.tgz", + "integrity": "sha512-X/on8gnLmrSHASIouMtbsctR1Bwgf+ceqbwALnsLjK1WbQUpCWLVgoNCMM39D1T9IdmAGL5teQWx6W4gaIHrKQ==", "dev": true }, "node_modules/@types/css-tree": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/@types/css-tree/-/css-tree-2.3.2.tgz", - "integrity": "sha512-B5nF6h7xxpMLvZ1pzugAYUGj1aw4KgTpXZzOijkDMRzey4SlFi0jVWb3o0SS1CVSxyBciltVgjt67CwrgjmlWA==", + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/@types/css-tree/-/css-tree-2.3.4.tgz", + "integrity": "sha512-wdxxe7zEpOXfy5C3FmwinAIc/6p6du/wOKMGZf07JHuHHRIvLtLq8h66zi3Yn7PCyswxbp3Ujx9h+vSuMvfN/w==", "dev": true }, "node_modules/@types/cssesc": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@types/cssesc/-/cssesc-3.0.0.tgz", - "integrity": "sha512-4mBnOrTpVKn+tYzlnMO7cwDkDa6wlQ2bBXW+79/6ahMd36GF216kxWYxgz+S4d5Ev1ByFbnQbPGxV4P5BSL8MA==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@types/cssesc/-/cssesc-3.0.2.tgz", + "integrity": "sha512-Qii6nTRktvtI380EloxH/V7MwgrYxkPgBI+NklUjQuhzgAd1AqT3QDJd+eD+0doRADgfwvtagLRo7JFa7aMHXg==", "dev": true }, "node_modules/@types/csso": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/@types/csso/-/csso-5.0.1.tgz", - "integrity": "sha512-J8J8XeIjw9QD0D0rxuaiaSepaXn7Hu9h1AaSSrZiG4HssKnRg3+PyI90r0BpW10OIZsx8tW4ZXfYiAVJKGwsrQ==", + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/@types/csso/-/csso-5.0.4.tgz", + "integrity": "sha512-W/FsRkm/9c04x9ON+bj+HQ0cSgNkG1LvcfuBCpkP7cpikM7+RkrNFLGtiofb++xBG6KGMUycLoDbi9/K621ZCw==", "dev": true, "dependencies": { "@types/css-tree": "*" } }, "node_modules/@types/eslint": { - "version": "8.44.2", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.44.2.tgz", - "integrity": "sha512-sdPRb9K6iL5XZOmBubg8yiFp5yS/JdUDQsq5e6h95km91MCYMuvp7mh1fjPEYUhvHepKpZOjnEaMBR4PxjWDzg==", + "version": "8.56.0", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.56.0.tgz", + "integrity": "sha512-FlsN0p4FhuYRjIxpbdXovvHQhtlG05O1GG/RNWvdAxTboR438IOTwmrY/vLA+Xfgg06BTkP045M3vpFwTMv1dg==", "dependencies": { "@types/estree": "*", "@types/json-schema": "*" } }, "node_modules/@types/eslint-scope": { - "version": "3.7.4", - "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.4.tgz", - "integrity": "sha512-9K4zoImiZc3HlIp6AVUDE4CWYx22a+lhSZMYNpbjW04+YF0KWj4pJXnEMjdnFTiQibFFmElcsasJXDbdI/EPhA==", + "version": "3.7.7", + "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.7.tgz", + "integrity": "sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==", "dependencies": { "@types/eslint": "*", "@types/estree": "*" } }, "node_modules/@types/estree": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.1.tgz", - "integrity": "sha512-LG4opVs2ANWZ1TJoKc937iMmNstM/d0ae1vNbnBvBhqCSezgVUOzcLCqbI5elV8Vy6WKwKjaqR+zO9VKirBBCA==" + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz", + "integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==" }, "node_modules/@types/find-config": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@types/find-config/-/find-config-1.0.2.tgz", - "integrity": "sha512-ipWGLU8pu1+pL6IDRi4q/JpNvxaONv+9Bjmy+IkqS1hzuixdRf4Qv1bRJ3hLf0k7fmQBXUfSlmyBqzNG0oHIBQ==", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@types/find-config/-/find-config-1.0.4.tgz", + "integrity": "sha512-BCXaKgzHK7KnfCQBRQBWGTA+QajOE9uFolXPt+9EktiiMS56D8oXF2ZCh9eCxuEyfqDmX/mYIcmWg9j9f659eg==", "dev": true }, "node_modules/@types/flat": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/@types/flat/-/flat-5.0.3.tgz", - "integrity": "sha512-uG/4x6EXYbq4VDsBJLNDHQAQmtRPg3x4tAXcBspxlnEknz8NiJxnHoxSiJKGNExiS00q4mJNvuEBgVA3jsDIdQ==", + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/@types/flat/-/flat-5.0.5.tgz", + "integrity": "sha512-nPLljZQKSnac53KDUDzuzdRfGI0TDb5qPrb+SrQyN3MtdQrOnGsKniHN1iYZsJEBIVQve94Y6gNz22sgISZq+Q==", "dev": true }, "node_modules/@types/html-minifier-terser": { @@ -1185,118 +1213,118 @@ "dev": true }, "node_modules/@types/istanbul-lib-coverage": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz", - "integrity": "sha512-z/QT1XN4K4KYuslS23k62yDIDLwLFkzxOuMplDtObz0+y7VqJCaO2o+SPwHCvLFZh7xazvvoor2tA/hPz9ee7g==", + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.6.tgz", + "integrity": "sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==", "dev": true }, "node_modules/@types/js-beautify": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/@types/js-beautify/-/js-beautify-1.14.1.tgz", - "integrity": "sha512-pjbakQH0LywQL0wUFIWbxr5GZTnnqMD5wavqOpf61xz83V3V1uyhyPSWWNSoXZ153TF3XBgRTa07W1XDgFNYfw==", + "version": "1.14.3", + "resolved": "https://registry.npmjs.org/@types/js-beautify/-/js-beautify-1.14.3.tgz", + "integrity": "sha512-FMbQHz+qd9DoGvgLHxeqqVPaNRffpIu5ZjozwV8hf9JAGpIOzuAf4wGbRSo8LNITHqGjmmVjaMggTT5P4v4IHg==", "dev": true }, "node_modules/@types/json-schema": { - "version": "7.0.13", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.13.tgz", - "integrity": "sha512-RbSSoHliUbnXj3ny0CNFOoxrIDV6SUGyStHsvDqosw6CkdPV8TtWGlfecuK4ToyMEAql6pzNxgCFKanovUzlgQ==" + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==" }, "node_modules/@types/lodash": { - "version": "4.14.198", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.198.tgz", - "integrity": "sha512-trNJ/vtMZYMLhfN45uLq4ShQSw0/S7xCTLLVM+WM1rmFpba/VS42jVUgaO3w/NOLiWR/09lnYk0yMaA/atdIsg==", + "version": "4.14.202", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.202.tgz", + "integrity": "sha512-OvlIYQK9tNneDlS0VN54LLd5uiPCBOp7gS5Z0f1mjoJYBrtStzgmJBxONW3U6OZqdtNzZPmn9BS/7WI7BFFcFQ==", "dev": true }, "node_modules/@types/lodash.camelcase": { - "version": "4.3.7", - "resolved": "https://registry.npmjs.org/@types/lodash.camelcase/-/lodash.camelcase-4.3.7.tgz", - "integrity": "sha512-Nfi6jpo9vuEOSIJP+mpbTezKyEt75DQlbwjiDvs/JctWkbnHDoyQo5lWqdvgNiJmVUjcmkfvlrvSEgJYvurOKg==", + "version": "4.3.9", + "resolved": "https://registry.npmjs.org/@types/lodash.camelcase/-/lodash.camelcase-4.3.9.tgz", + "integrity": "sha512-ys9/hGBfsKxzmFI8hckII40V0ASQ83UM2pxfQRghHAwekhH4/jWtjz/3/9YDy7ZpUd/H0k2STSqmPR28dnj7Zg==", "dev": true, "dependencies": { "@types/lodash": "*" } }, "node_modules/@types/lodash.clonedeep": { - "version": "4.5.7", - "resolved": "https://registry.npmjs.org/@types/lodash.clonedeep/-/lodash.clonedeep-4.5.7.tgz", - "integrity": "sha512-ccNqkPptFIXrpVqUECi60/DFxjNKsfoQxSQsgcBJCX/fuX1wgyQieojkcWH/KpE3xzLoWN/2k+ZeGqIN3paSvw==", + "version": "4.5.9", + "resolved": "https://registry.npmjs.org/@types/lodash.clonedeep/-/lodash.clonedeep-4.5.9.tgz", + "integrity": "sha512-19429mWC+FyaAhOLzsS8kZUsI+/GmBAQ0HFiCPsKGU+7pBXOQWhyrY6xNNDwUSX8SMZMJvuFVMF9O5dQOlQK9Q==", "dev": true, "dependencies": { "@types/lodash": "*" } }, "node_modules/@types/lodash.clonedeepwith": { - "version": "4.5.7", - "resolved": "https://registry.npmjs.org/@types/lodash.clonedeepwith/-/lodash.clonedeepwith-4.5.7.tgz", - "integrity": "sha512-QPCMby+Glpme6mv/ds4YUSP06bD0FdRVzYF9NjfAP/cKFyjj3BV8bDodx1Npqf/M979WNds1r6K1I7cFwBTmWA==", + "version": "4.5.9", + "resolved": "https://registry.npmjs.org/@types/lodash.clonedeepwith/-/lodash.clonedeepwith-4.5.9.tgz", + "integrity": "sha512-bruhfxIJlj36oWYmYQ7KFbylCGgzyIi+TLypub+wcAd29mV4llKdvru8Pp9qwILX//I5vK3FIcJ0VzszElhLuA==", "dev": true, "dependencies": { "@types/lodash": "*" } }, "node_modules/@types/lodash.findlast": { - "version": "4.6.7", - "resolved": "https://registry.npmjs.org/@types/lodash.findlast/-/lodash.findlast-4.6.7.tgz", - "integrity": "sha512-QP9cSvp2creZZlRHdfz/S1v70ctGShDiK/NdJGQZwhD+IOWmjBO8ldIVEi8La6GTgfyC2ZtIMX3USOvBFYorNg==", + "version": "4.6.9", + "resolved": "https://registry.npmjs.org/@types/lodash.findlast/-/lodash.findlast-4.6.9.tgz", + "integrity": "sha512-mP9/ZOWgVpYTreiKROJKYJxyqA/OBxDPuHEs4xxVBPSJtKZqZgjBwFmPXygQJceGyW0DGxp7zkc5LgCQFDrgjw==", "dev": true, "dependencies": { "@types/lodash": "*" } }, "node_modules/@types/lodash.upperfirst": { - "version": "4.3.7", - "resolved": "https://registry.npmjs.org/@types/lodash.upperfirst/-/lodash.upperfirst-4.3.7.tgz", - "integrity": "sha512-CrBjoB4lO6h7tXNMBUl1eh/w0KdMosiEOXOoD5DMECsA/kDWo/WQfOt1KyGKVvgwK3I6cKAY6z8LymKiMazLFg==", + "version": "4.3.9", + "resolved": "https://registry.npmjs.org/@types/lodash.upperfirst/-/lodash.upperfirst-4.3.9.tgz", + "integrity": "sha512-bYhT1QEsk9/ggrFjK86Pb5bnKJgTBbpVA77Ygbb1aW1oiWJNGRbVjSlQ9We/ihB9vVpX5WqDJvbISXlukGR+dQ==", "dev": true, "dependencies": { "@types/lodash": "*" } }, "node_modules/@types/memory-fs": { - "version": "0.3.4", - "resolved": "https://registry.npmjs.org/@types/memory-fs/-/memory-fs-0.3.4.tgz", - "integrity": "sha512-0478LWAQArPMJt1gRglVEZcHyqBdIG+pbTWG+tOrt0XwlfCh+2cpfCe93UnJ8G0q8ZXXA8LI37o5sz91unQcZQ==", + "version": "0.3.7", + "resolved": "https://registry.npmjs.org/@types/memory-fs/-/memory-fs-0.3.7.tgz", + "integrity": "sha512-wCRjyqBTpCsnPWDjYkG8x1Ym0ylHUXu2loom+CIXoP9syXvLAROnfghoNKAMSxvetmRXThMd1XSK2AffVT1WMQ==", "dev": true, "dependencies": { "@types/node": "*" } }, "node_modules/@types/mime": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@types/mime/-/mime-3.0.2.tgz", - "integrity": "sha512-Wj+fqpTLtTbG7c0tH47dkahefpLKEbB+xAZuLq7b4/IDHPl/n6VoXcyUQ2bypFlbSwvCr0y+bD4euTTqTJsPxQ==", + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@types/mime/-/mime-3.0.4.tgz", + "integrity": "sha512-iJt33IQnVRkqeqC7PzBHPTC6fDlRNRW8vjrgqtScAhrmMwe8c4Eo7+fUGTa+XdWrpEgpyKWMYmi2dIwMAYRzPw==", "dev": true }, "node_modules/@types/mocha": { - "version": "10.0.2", - "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.2.tgz", - "integrity": "sha512-NaHL0+0lLNhX6d9rs+NSt97WH/gIlRHmszXbQ/8/MV/eVcFNdeJ/GYhrFuUc8K7WuPhRhTSdMkCp8VMzhUq85w==", + "version": "10.0.6", + "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.6.tgz", + "integrity": "sha512-dJvrYWxP/UcXm36Qn36fxhUKu8A/xMRXVT2cliFF1Z7UA9liG5Psj3ezNSZw+5puH2czDXRLcXQxf8JbJt0ejg==", "dev": true }, "node_modules/@types/node": { - "version": "14.18.59", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.59.tgz", - "integrity": "sha512-NWJMpBL2Xs3MY93yrD6YrrTKep8eIA6iMnfG4oIc6LrTRlBZgiSCGiY3V/Owlp6umIBLyKb4F8Q7hxWatjYH5A==" + "version": "14.18.63", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.63.tgz", + "integrity": "sha512-fAtCfv4jJg+ExtXhvCkCqUKZ+4ok/JQk01qDKhL5BDDoS3AxKXhV5/MAVUZyQnSEd2GT92fkgZl0pz0Q0AzcIQ==" }, "node_modules/@types/postcss-safe-parser": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/@types/postcss-safe-parser/-/postcss-safe-parser-5.0.2.tgz", - "integrity": "sha512-NgpL+Hqcrr+kdQFJCPi2X4nOAAnaNghJyXLR0kgM2soUPg3rwO9uZ4eXP/TRSpfN9U+rT7+hOwaSP/ESL7mR0A==", + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/@types/postcss-safe-parser/-/postcss-safe-parser-5.0.4.tgz", + "integrity": "sha512-5zGTm1jsW3j4+omgND1SIDbrZOcigTuxa4ihppvKbLkg2INUGBHV/fWNRSRFibK084tU3fxqZ/kVoSIGqRHnrQ==", "dev": true, "dependencies": { "postcss": "^8.4.4" } }, "node_modules/@types/prop-types": { - "version": "15.7.5", - "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.5.tgz", - "integrity": "sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w==", + "version": "15.7.11", + "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.11.tgz", + "integrity": "sha512-ga8y9v9uyeiLdpKddhxYQkxNDrfvuPrlFb0N1qnZZByvcElJaXthF1UhvCh9TLWJBEHeNtdnbysW7Y6Uq8CVng==", "dev": true }, "node_modules/@types/react": { - "version": "18.2.25", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.25.tgz", - "integrity": "sha512-24xqse6+VByVLIr+xWaQ9muX1B4bXJKXBbjszbld/UEDslGLY53+ZucF44HCmLbMPejTzGG9XgR+3m2/Wqu1kw==", + "version": "18.2.46", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.46.tgz", + "integrity": "sha512-nNCvVBcZlvX4NU1nRRNV/mFl1nNRuTuslAJglQsq+8ldXe5Xv0Wd2f7WTE3jOxhLH2BFfiZGC6GCp+kHQbgG+w==", "dev": true, "dependencies": { "@types/prop-types": "*", @@ -1305,9 +1333,9 @@ } }, "node_modules/@types/react-dom": { - "version": "18.2.10", - "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.10.tgz", - "integrity": "sha512-5VEC5RgXIk1HHdyN1pHlg0cOqnxHzvPGpMMyGAP5qSaDRmyZNDaQ0kkVAkK6NYlDhP6YBID3llaXlmAS/mdgCA==", + "version": "18.2.18", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.18.tgz", + "integrity": "sha512-TJxDm6OfAX2KJWJdMEVTwWke5Sc/E/RlnPGvGfS0W7+6ocy2xhDVQVh/KvC2Uf7kACs+gDytdusDSdWfWkaNzw==", "dev": true, "dependencies": { "@types/react": "*" @@ -1320,35 +1348,35 @@ "dev": true }, "node_modules/@types/scheduler": { - "version": "0.16.3", - "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.3.tgz", - "integrity": "sha512-5cJ8CB4yAx7BH1oMvdU0Jh9lrEXyPkar6F9G/ERswkCuvP4KQZfZkSjcMbAICCpQTN4OuZn8tz0HiKv9TGZgrQ==", + "version": "0.16.8", + "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.8.tgz", + "integrity": "sha512-WZLiwShhwLRmeV6zH+GkbOFT6Z6VklCItrDioxUnv+u4Ll+8vKeFySoFyK/0ctcRpOmwAicELfmys1sDc/Rw+A==", "dev": true }, "node_modules/@types/semver": { - "version": "7.5.3", - "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.3.tgz", - "integrity": "sha512-OxepLK9EuNEIPxWNME+C6WwbRAOOI2o2BaQEGzz5Lu2e4Z5eDnEo+/aVEDMIXywoJitJ7xWd641wrGLZdtwRyw==" + "version": "7.5.6", + "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.6.tgz", + "integrity": "sha512-dn1l8LaMea/IjDoHNd9J52uBbInB796CDffS6VdIxvqYCPSG0V0DzHp76GpaWnlhg88uYyPbXCDIowa86ybd5A==" }, "node_modules/@types/validate-npm-package-name": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@types/validate-npm-package-name/-/validate-npm-package-name-4.0.0.tgz", - "integrity": "sha512-RpO62vB2lkjEkyLbwTheA2+uwYmtVMWTr/kWRI++UAgVdZqNqdAuIQl/SxBCGeMKfdjWaXPbyhZbiCc4PAj+KA==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@types/validate-npm-package-name/-/validate-npm-package-name-4.0.2.tgz", + "integrity": "sha512-lrpDziQipxCEeK5kWxvljWYhUvOiB2A9izZd9B2AFarYAkqZshb4lPbRs7zKEic6eGtH8V/2qJW+dPp9OtF6bw==", "dev": true }, "node_modules/@types/yargs": { - "version": "17.0.26", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.26.tgz", - "integrity": "sha512-Y3vDy2X6zw/ZCumcwLpdhM5L7jmyGpmBCTYMHDLqT2IKVMYRRLdv6ZakA+wxhra6Z/3bwhNbNl9bDGXaFU+6rw==", + "version": "17.0.32", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.32.tgz", + "integrity": "sha512-xQ67Yc/laOG5uMfX/093MRlGGCIBzZMarVa+gfNKJxWAIgykYpVGkBdbqEzGDDfCrVUj6Hiff4mTZ5BA6TmAog==", "dev": true, "dependencies": { "@types/yargs-parser": "*" } }, "node_modules/@types/yargs-parser": { - "version": "21.0.0", - "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.0.tgz", - "integrity": "sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA==", + "version": "21.0.3", + "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.3.tgz", + "integrity": "sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==", "dev": true }, "node_modules/@typescript-eslint/eslint-plugin": { @@ -1534,6 +1562,11 @@ "url": "https://opencollective.com/typescript-eslint" } }, + "node_modules/@ungap/structured-clone": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz", + "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==" + }, "node_modules/@vscode/l10n": { "version": "0.0.16", "resolved": "https://registry.npmjs.org/@vscode/l10n/-/l10n-0.0.16.tgz", @@ -1725,21 +1758,18 @@ "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz", "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==" }, - "node_modules/abab": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.6.tgz", - "integrity": "sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==", - "dev": true - }, "node_modules/abbrev": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", - "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==" + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-2.0.0.tgz", + "integrity": "sha512-6/mh1E2u2YgEsCHdY0Yx5oW+61gZU+1vXaoiHHrpKeuRNNgFvS+/jrwHiQhB5apAf5oB7UB7E19ol2R2LKH8hQ==", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } }, "node_modules/acorn": { - "version": "8.10.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.10.0.tgz", - "integrity": "sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==", + "version": "8.11.3", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz", + "integrity": "sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==", "bin": { "acorn": "bin/acorn" }, @@ -2029,9 +2059,9 @@ "dev": true }, "node_modules/browserslist": { - "version": "4.21.10", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.10.tgz", - "integrity": "sha512-bipEBdZfVH5/pwrvqc+Ub0kUPVfGUhlKxbvfD+z1BDnPEO/X98ruXGA1WP5ASpAFKan7Qr6j736IacbZQuAlKQ==", + "version": "4.22.2", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.22.2.tgz", + "integrity": "sha512-0UgcrvQmBDvZHFGdYUehrCNIazki7/lUP3kkoi/r3YB2amZbFM9J43ZRkJTXBUZK4gmx56+Sqk9+Vs9mwZx9+A==", "funding": [ { "type": "opencollective", @@ -2047,10 +2077,10 @@ } ], "dependencies": { - "caniuse-lite": "^1.0.30001517", - "electron-to-chromium": "^1.4.477", - "node-releases": "^2.0.13", - "update-browserslist-db": "^1.0.11" + "caniuse-lite": "^1.0.30001565", + "electron-to-chromium": "^1.4.601", + "node-releases": "^2.0.14", + "update-browserslist-db": "^1.0.13" }, "bin": { "browserslist": "cli.js" @@ -2126,13 +2156,14 @@ } }, "node_modules/call-bind": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", - "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.5.tgz", + "integrity": "sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ==", "dev": true, "dependencies": { - "function-bind": "^1.1.1", - "get-intrinsic": "^1.0.2" + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.1", + "set-function-length": "^1.1.1" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -2185,9 +2216,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001546", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001546.tgz", - "integrity": "sha512-zvtSJwuQFpewSyRrI3AsftF6rM0X80mZkChIt1spBGEvRglCrjTniXvinc8JKRoqTwXAgvqTImaN9igfSMtUBw==", + "version": "1.0.30001572", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001572.tgz", + "integrity": "sha512-1Pbh5FLmn5y4+QhNyJE9j3/7dK44dGB83/ZMjv/qJk86TvDbjk0LosiZo0i0WB0Vx607qMX9jYrn1VLHCkN4rw==", "funding": [ { "type": "opencollective", @@ -2303,9 +2334,9 @@ } }, "node_modules/clean-css": { - "version": "5.3.2", - "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.3.2.tgz", - "integrity": "sha512-JVJbM+f3d3Q704rF4bqQ5UUyTtuJ0JRKNbTKVEeujCCBoMdkEi+V+e8oktO9qGQNSvHrFTM6JZRXrUvGR1czww==", + "version": "5.3.3", + "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.3.3.tgz", + "integrity": "sha512-D5J+kHaVb/wKSFcyyV75uCn8fiY4sV38XJoe4CUyGQ+mOU/fMVYUdH1hJC+CJQ5uY3EnW27SbJYS4X8BiLrAFg==", "dev": true, "dependencies": { "source-map": "~0.6.0" @@ -2376,9 +2407,9 @@ } }, "node_modules/convert-source-map": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz", - "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", "dev": true }, "node_modules/create-listening-server": { @@ -2506,9 +2537,9 @@ } }, "node_modules/csstype": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.2.tgz", - "integrity": "sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==", + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz", + "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==", "dev": true }, "node_modules/debug": { @@ -2573,9 +2604,9 @@ } }, "node_modules/define-data-property": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.0.tgz", - "integrity": "sha512-UzGwzcjyv3OtAvolTj1GoyNYzfFR+iqbGjcnBEENZVCpM4/Ng1yhGNvS3lR/xDS74Tb2wGG9WzNSNIOS9UVb2g==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.1.tgz", + "integrity": "sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ==", "dev": true, "dependencies": { "get-intrinsic": "^1.2.1", @@ -2769,9 +2800,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.520", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.520.tgz", - "integrity": "sha512-Frfus2VpYADsrh1lB3v/ft/WVFlVzOIm+Q0p7U7VqHI6qr7NWHYKe+Wif3W50n7JAFoBsWVsoU0+qDks6WQ60g==" + "version": "1.4.616", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.616.tgz", + "integrity": "sha512-1n7zWYh8eS0L9Uy+GskE0lkBUNK83cXTVJI0pU3mGprFsbfSdAc15VTFbo+A+Bq4pwstmL30AVcEU3Fo463lNg==" }, "node_modules/emoji-regex": { "version": "8.0.0", @@ -2818,26 +2849,26 @@ } }, "node_modules/es-abstract": { - "version": "1.22.1", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.22.1.tgz", - "integrity": "sha512-ioRRcXMO6OFyRpyzV3kE1IIBd4WG5/kltnzdxSCqoP8CMGs/Li+M1uF5o7lOkZVFjDs+NLesthnF66Pg/0q0Lw==", + "version": "1.22.3", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.22.3.tgz", + "integrity": "sha512-eiiY8HQeYfYH2Con2berK+To6GrK2RxbPawDkGq4UiCQQfZHb6wX9qQqkbpPqaxQFcl8d9QzZqo0tGE0VcrdwA==", "dev": true, "dependencies": { "array-buffer-byte-length": "^1.0.0", - "arraybuffer.prototype.slice": "^1.0.1", + "arraybuffer.prototype.slice": "^1.0.2", "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.2", + "call-bind": "^1.0.5", "es-set-tostringtag": "^2.0.1", "es-to-primitive": "^1.2.1", - "function.prototype.name": "^1.1.5", - "get-intrinsic": "^1.2.1", + "function.prototype.name": "^1.1.6", + "get-intrinsic": "^1.2.2", "get-symbol-description": "^1.0.0", "globalthis": "^1.0.3", "gopd": "^1.0.1", - "has": "^1.0.3", "has-property-descriptors": "^1.0.0", "has-proto": "^1.0.1", "has-symbols": "^1.0.3", + "hasown": "^2.0.0", "internal-slot": "^1.0.5", "is-array-buffer": "^3.0.2", "is-callable": "^1.2.7", @@ -2845,23 +2876,23 @@ "is-regex": "^1.1.4", "is-shared-array-buffer": "^1.0.2", "is-string": "^1.0.7", - "is-typed-array": "^1.1.10", + "is-typed-array": "^1.1.12", "is-weakref": "^1.0.2", - "object-inspect": "^1.12.3", + "object-inspect": "^1.13.1", "object-keys": "^1.1.1", "object.assign": "^4.1.4", - "regexp.prototype.flags": "^1.5.0", - "safe-array-concat": "^1.0.0", + "regexp.prototype.flags": "^1.5.1", + "safe-array-concat": "^1.0.1", "safe-regex-test": "^1.0.0", - "string.prototype.trim": "^1.2.7", - "string.prototype.trimend": "^1.0.6", - "string.prototype.trimstart": "^1.0.6", + "string.prototype.trim": "^1.2.8", + "string.prototype.trimend": "^1.0.7", + "string.prototype.trimstart": "^1.0.7", "typed-array-buffer": "^1.0.0", "typed-array-byte-length": "^1.0.0", "typed-array-byte-offset": "^1.0.0", "typed-array-length": "^1.0.4", "unbox-primitive": "^1.0.2", - "which-typed-array": "^1.1.10" + "which-typed-array": "^1.1.13" }, "engines": { "node": ">= 0.4" @@ -2871,19 +2902,19 @@ } }, "node_modules/es-module-lexer": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.3.1.tgz", - "integrity": "sha512-JUFAyicQV9mXc3YRxPnDlrfBKpqt6hUYzz9/boprUJHs4e4KVr3XwOF70doO6gwXUor6EWZJAyWAfKki84t20Q==" + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.4.1.tgz", + "integrity": "sha512-cXLGjP0c4T3flZJKQSuziYoq7MlT+rnvfZjfp7h+I7K9BNX54kP9nyWvdbwjQ4u1iWbOL4u96fgeZLToQlZC7w==" }, "node_modules/es-set-tostringtag": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.1.tgz", - "integrity": "sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.2.tgz", + "integrity": "sha512-BuDyupZt65P9D2D2vA/zqcI3G5xRsklm5N3xCwuiy+/vKy8i0ifdsQP1sLgO4tZDSCaQUSnmC48khknGMV3D2Q==", "dev": true, "dependencies": { - "get-intrinsic": "^1.1.3", - "has": "^1.0.3", - "has-tostringtag": "^1.0.0" + "get-intrinsic": "^1.2.2", + "has-tostringtag": "^1.0.0", + "hasown": "^2.0.0" }, "engines": { "node": ">= 0.4" @@ -2907,9 +2938,9 @@ } }, "node_modules/esbuild": { - "version": "0.19.3", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.19.3.tgz", - "integrity": "sha512-UlJ1qUUA2jL2nNib1JTSkifQTcYTroFqRjwCFW4QYEKEsixXD5Tik9xML7zh2gTxkYTBKGHNH9y7txMwVyPbjw==", + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.19.11.tgz", + "integrity": "sha512-HJ96Hev2hX/6i5cDVwcqiJBBtuo9+FeIJOtZ9W1kA5M6AMJRHUZlpYZ1/SbEwtO0ioNAW8rUooVpC/WehY2SfA==", "hasInstallScript": true, "peer": true, "bin": { @@ -2919,28 +2950,29 @@ "node": ">=12" }, "optionalDependencies": { - "@esbuild/android-arm": "0.19.3", - "@esbuild/android-arm64": "0.19.3", - "@esbuild/android-x64": "0.19.3", - "@esbuild/darwin-arm64": "0.19.3", - "@esbuild/darwin-x64": "0.19.3", - "@esbuild/freebsd-arm64": "0.19.3", - "@esbuild/freebsd-x64": "0.19.3", - "@esbuild/linux-arm": "0.19.3", - "@esbuild/linux-arm64": "0.19.3", - "@esbuild/linux-ia32": "0.19.3", - "@esbuild/linux-loong64": "0.19.3", - "@esbuild/linux-mips64el": "0.19.3", - "@esbuild/linux-ppc64": "0.19.3", - "@esbuild/linux-riscv64": "0.19.3", - "@esbuild/linux-s390x": "0.19.3", - "@esbuild/linux-x64": "0.19.3", - "@esbuild/netbsd-x64": "0.19.3", - "@esbuild/openbsd-x64": "0.19.3", - "@esbuild/sunos-x64": "0.19.3", - "@esbuild/win32-arm64": "0.19.3", - "@esbuild/win32-ia32": "0.19.3", - "@esbuild/win32-x64": "0.19.3" + "@esbuild/aix-ppc64": "0.19.11", + "@esbuild/android-arm": "0.19.11", + "@esbuild/android-arm64": "0.19.11", + "@esbuild/android-x64": "0.19.11", + "@esbuild/darwin-arm64": "0.19.11", + "@esbuild/darwin-x64": "0.19.11", + "@esbuild/freebsd-arm64": "0.19.11", + "@esbuild/freebsd-x64": "0.19.11", + "@esbuild/linux-arm": "0.19.11", + "@esbuild/linux-arm64": "0.19.11", + "@esbuild/linux-ia32": "0.19.11", + "@esbuild/linux-loong64": "0.19.11", + "@esbuild/linux-mips64el": "0.19.11", + "@esbuild/linux-ppc64": "0.19.11", + "@esbuild/linux-riscv64": "0.19.11", + "@esbuild/linux-s390x": "0.19.11", + "@esbuild/linux-x64": "0.19.11", + "@esbuild/netbsd-x64": "0.19.11", + "@esbuild/openbsd-x64": "0.19.11", + "@esbuild/sunos-x64": "0.19.11", + "@esbuild/win32-arm64": "0.19.11", + "@esbuild/win32-ia32": "0.19.11", + "@esbuild/win32-x64": "0.19.11" } }, "node_modules/escalade": { @@ -2963,17 +2995,18 @@ } }, "node_modules/eslint": { - "version": "8.50.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.50.0.tgz", - "integrity": "sha512-FOnOGSuFuFLv/Sa+FDVRZl4GGVAAFFi8LecRsI5a1tMO5HIE8nCm4ivAlzt4dT3ol/PaaGC0rJEEXQmHJBGoOg==", + "version": "8.56.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.56.0.tgz", + "integrity": "sha512-Go19xM6T9puCOWntie1/P997aXxFsOi37JIHRWI514Hc6ZnaHGKY9xFhrU65RT6CcBEzZoGG1e6Nq+DT04ZtZQ==", "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", - "@eslint/eslintrc": "^2.1.2", - "@eslint/js": "8.50.0", - "@humanwhocodes/config-array": "^0.11.11", + "@eslint/eslintrc": "^2.1.4", + "@eslint/js": "8.56.0", + "@humanwhocodes/config-array": "^0.11.13", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", + "@ungap/structured-clone": "^1.2.0", "ajv": "^6.12.4", "chalk": "^4.0.0", "cross-spawn": "^7.0.2", @@ -3016,9 +3049,9 @@ } }, "node_modules/eslint-config-prettier": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-9.0.0.tgz", - "integrity": "sha512-IcJsTkJae2S35pRsRAwoCE+925rJJStOdkKnLVgtE+tEpqU0EVVM7OqrwxqgptKdX29NUwC82I5pXsGFIgSevw==", + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-9.1.0.tgz", + "integrity": "sha512-NSWl5BFQWEPi1j4TjVNItzYV7dZXZ+wP6I6ZhrBGpChQhZRUaElihE9uRRkcbRnNb76UMKDF3r+WTmNcGPKsqw==", "dev": true, "bin": { "eslint-config-prettier": "bin/cli.js" @@ -3167,9 +3200,9 @@ "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" }, "node_modules/fast-glob": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.1.tgz", - "integrity": "sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==", + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", + "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", "dependencies": { "@nodelib/fs.stat": "^2.0.2", "@nodelib/fs.walk": "^1.2.3", @@ -3208,9 +3241,9 @@ "integrity": "sha512-483XLLxTVIwWK3QTrMGRqUfUpoOs/0hbQrl2oz4J0pAcm3A3bu84wxTFqGqkJzewCLdME38xJLJAxBABfQT8sQ==" }, "node_modules/fastq": { - "version": "1.15.0", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz", - "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==", + "version": "1.16.0", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.16.0.tgz", + "integrity": "sha512-ifCoaXsDrsdkWTtiNJX5uzHDsrck5TzfKKDcuFFTIrrc/BS076qgEIfoIy1VeZqViznfKiysPYTh/QeHtnIsYA==", "dependencies": { "reusify": "^1.0.4" } @@ -3292,16 +3325,16 @@ } }, "node_modules/flat-cache": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.1.0.tgz", - "integrity": "sha512-OHx4Qwrrt0E4jEIcI5/Xb+f+QmJYNj2rrK8wiIdQOIrB9WrrJL8cjZvXdXuBTkkEwEqLycb5BeZDV1o2i9bTew==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz", + "integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==", "dependencies": { - "flatted": "^3.2.7", + "flatted": "^3.2.9", "keyv": "^4.5.3", "rimraf": "^3.0.2" }, "engines": { - "node": ">=12.0.0" + "node": "^10.12.0 || >=12.0.0" } }, "node_modules/flat-cache/node_modules/rimraf": { @@ -3319,9 +3352,9 @@ } }, "node_modules/flatted": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.7.tgz", - "integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==" + "version": "3.2.9", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.9.tgz", + "integrity": "sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ==" }, "node_modules/for-each": { "version": "0.3.3", @@ -3346,9 +3379,9 @@ } }, "node_modules/fraction.js": { - "version": "4.3.6", - "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.3.6.tgz", - "integrity": "sha512-n2aZ9tNfYDwaHhvFTkhFErqOMIb8uyzSQ+vGJBjZyanAKZVbGUQ1sngfk9FdkBw7G26O7AgNjLcecLffD1c7eg==", + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.3.7.tgz", + "integrity": "sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==", "dev": true, "engines": { "node": "*" @@ -3377,10 +3410,13 @@ } }, "node_modules/function-bind": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", - "dev": true + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } }, "node_modules/function.prototype.name": { "version": "1.1.6", @@ -3426,15 +3462,15 @@ } }, "node_modules/get-intrinsic": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.1.tgz", - "integrity": "sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw==", + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.2.tgz", + "integrity": "sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA==", "dev": true, "dependencies": { - "function-bind": "^1.1.1", - "has": "^1.0.3", + "function-bind": "^1.1.2", "has-proto": "^1.0.1", - "has-symbols": "^1.0.3" + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -3492,9 +3528,9 @@ "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==" }, "node_modules/globals": { - "version": "13.21.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.21.0.tgz", - "integrity": "sha512-ybyme3s4yy/t/3s35bewwXKOf7cvzfreG2lH0lZl0JB7I4GxRP2ghxOK/Nb9EkRXdbBXZLfq/p/0W2JUONB/Gg==", + "version": "13.24.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", + "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", "dependencies": { "type-fest": "^0.20.2" }, @@ -3561,18 +3597,6 @@ "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==" }, - "node_modules/has": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "dev": true, - "dependencies": { - "function-bind": "^1.1.1" - }, - "engines": { - "node": ">= 0.4.0" - } - }, "node_modules/has-bigints": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz", @@ -3591,12 +3615,12 @@ } }, "node_modules/has-property-descriptors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz", - "integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.1.tgz", + "integrity": "sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg==", "dev": true, "dependencies": { - "get-intrinsic": "^1.1.1" + "get-intrinsic": "^1.2.2" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -3641,6 +3665,18 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/hasown": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.0.tgz", + "integrity": "sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==", + "dev": true, + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/he": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", @@ -3684,9 +3720,9 @@ } }, "node_modules/html-webpack-plugin": { - "version": "5.5.3", - "resolved": "https://registry.npmjs.org/html-webpack-plugin/-/html-webpack-plugin-5.5.3.tgz", - "integrity": "sha512-6YrDKTuqaP/TquFH7h4srYWsZx+x6k6+FbsTm0ziCwGHDP78Unr1r9F/H4+sGmMbX08GQcJ+K64x55b+7VM/jg==", + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/html-webpack-plugin/-/html-webpack-plugin-5.6.0.tgz", + "integrity": "sha512-iwaY4wzbe48AfKLZ/Cc8k0L+FKG6oSNRaZ8x5A/T/IVDGyXcbHncM9TdDa93wn0FsSm82FhTKW7f3vS61thXAw==", "dev": true, "dependencies": { "@types/html-minifier-terser": "^6.0.0", @@ -3703,7 +3739,16 @@ "url": "https://opencollective.com/html-webpack-plugin" }, "peerDependencies": { + "@rspack/core": "0.x || 1.x", "webpack": "^5.20.0" + }, + "peerDependenciesMeta": { + "@rspack/core": { + "optional": true + }, + "webpack": { + "optional": true + } } }, "node_modules/htmlparser2": { @@ -3749,9 +3794,9 @@ } }, "node_modules/ignore": { - "version": "5.2.4", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", - "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.0.tgz", + "integrity": "sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg==", "engines": { "node": ">= 4" } @@ -3799,13 +3844,13 @@ "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==" }, "node_modules/internal-slot": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.5.tgz", - "integrity": "sha512-Y+R5hJrzs52QCG2laLn4udYVnxsfny9CpOhNhUvk/SSSVyF6T27FzRbF0sroPidSu3X8oEAkOn2K804mjpt6UQ==", + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.6.tgz", + "integrity": "sha512-Xj6dv+PsbtwyPpEflsejS+oIZxmMlV44zAhG479uYu89MsjcYOhCFnNyKrkJrihbsiasQyY0afoCl/9BLR65bg==", "dev": true, "dependencies": { - "get-intrinsic": "^1.2.0", - "has": "^1.0.3", + "get-intrinsic": "^1.2.2", + "hasown": "^2.0.0", "side-channel": "^1.0.4" }, "engines": { @@ -3900,12 +3945,12 @@ } }, "node_modules/is-core-module": { - "version": "2.13.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.0.tgz", - "integrity": "sha512-Z7dk6Qo8pOCp3l4tsX2C5ZVas4V+UxwQodwZhLopL91TX8UyyHEXafPcyoeeWuLrwzHcr3igO78wNLwHJHsMCQ==", + "version": "2.13.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz", + "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==", "dev": true, "dependencies": { - "has": "^1.0.3" + "hasown": "^2.0.0" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -4128,9 +4173,9 @@ "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==" }, "node_modules/istanbul-lib-coverage": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz", - "integrity": "sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw==", + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz", + "integrity": "sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==", "dev": true, "engines": { "node": ">=8" @@ -4219,14 +4264,14 @@ } }, "node_modules/js-beautify": { - "version": "1.14.9", - "resolved": "https://registry.npmjs.org/js-beautify/-/js-beautify-1.14.9.tgz", - "integrity": "sha512-coM7xq1syLcMyuVGyToxcj2AlzhkDjmfklL8r0JgJ7A76wyGMpJ1oA35mr4APdYNO/o/4YY8H54NQIJzhMbhBg==", + "version": "1.14.11", + "resolved": "https://registry.npmjs.org/js-beautify/-/js-beautify-1.14.11.tgz", + "integrity": "sha512-rPogWqAfoYh1Ryqqh2agUpVfbxAhbjuN1SmU86dskQUKouRiggUTCO4+2ym9UPXllc2WAp0J+T5qxn7Um3lCdw==", "dependencies": { "config-chain": "^1.1.13", "editorconfig": "^1.0.3", - "glob": "^8.1.0", - "nopt": "^6.0.0" + "glob": "^10.3.3", + "nopt": "^7.2.0" }, "bin": { "css-beautify": "js/bin/css-beautify.js", @@ -4234,7 +4279,7 @@ "js-beautify": "js/bin/js-beautify.js" }, "engines": { - "node": ">=12" + "node": ">=14" } }, "node_modules/js-beautify/node_modules/brace-expansion": { @@ -4245,33 +4290,65 @@ "balanced-match": "^1.0.0" } }, + "node_modules/js-beautify/node_modules/foreground-child": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz", + "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==", + "dependencies": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/js-beautify/node_modules/glob": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", - "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", + "version": "10.3.10", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz", + "integrity": "sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==", "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^5.0.1", - "once": "^1.3.0" + "foreground-child": "^3.1.0", + "jackspeak": "^2.3.5", + "minimatch": "^9.0.1", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", + "path-scurry": "^1.10.1" + }, + "bin": { + "glob": "dist/esm/bin.mjs" }, "engines": { - "node": ">=12" + "node": ">=16 || 14 >=14.17" }, "funding": { "url": "https://github.com/sponsors/isaacs" } }, "node_modules/js-beautify/node_modules/minimatch": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", - "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", "dependencies": { "brace-expansion": "^2.0.1" }, "engines": { - "node": ">=10" + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/js-beautify/node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, "node_modules/js-tokens": { @@ -4330,9 +4407,9 @@ } }, "node_modules/keyv": { - "version": "4.5.3", - "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.3.tgz", - "integrity": "sha512-QCiSav9WaX1PgETJ+SpNnx2PRRapJ/oRSXM4VO5OGYGSjrxbKPVFVhB3l2OCbLCk329N8qyAtsJjSjvVBWzEug==", + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", + "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", "dependencies": { "json-buffer": "3.0.1" } @@ -4460,11 +4537,11 @@ } }, "node_modules/loupe": { - "version": "2.3.6", - "resolved": "https://registry.npmjs.org/loupe/-/loupe-2.3.6.tgz", - "integrity": "sha512-RaPMZKiMy8/JruncMU5Bt6na1eftNoo++R4Y+N2FrxkDVTrGvcyzFTsaGif4QTeKESheMGegbhw6iUAq+5A8zA==", + "version": "2.3.7", + "resolved": "https://registry.npmjs.org/loupe/-/loupe-2.3.7.tgz", + "integrity": "sha512-zSMINGVYkdpYSOBmLi0D1Uo7JU9nVdQKrHxC8eYlV+9YKK9WePqAlL7lSlorG/U2Fw1w0hTBmaa/jrQ3UbPHtA==", "dependencies": { - "get-func-name": "^2.0.0" + "get-func-name": "^2.0.1" } }, "node_modules/lower-case": { @@ -4841,22 +4918,22 @@ } }, "node_modules/node-releases": { - "version": "2.0.13", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.13.tgz", - "integrity": "sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ==" + "version": "2.0.14", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.14.tgz", + "integrity": "sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==" }, "node_modules/nopt": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-6.0.0.tgz", - "integrity": "sha512-ZwLpbTgdhuZUnZzjd7nb1ZV+4DoiC6/sfiVKok72ym/4Tlf+DFdlHYmT2JPmcNNWV6Pi3SDf1kT+A4r9RTuT9g==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-7.2.0.tgz", + "integrity": "sha512-CVDtwCdhYIvnAzFoJ6NJ6dX3oga9/HyciQDnG1vQDjSLMeKLJ4A93ZqYKDrgYSr1FBY5/hMYC+2VCi24pgpkGA==", "dependencies": { - "abbrev": "^1.0.0" + "abbrev": "^2.0.0" }, "bin": { "nopt": "bin/nopt.js" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/normalize-package-data": { @@ -5074,9 +5151,9 @@ } }, "node_modules/object-inspect": { - "version": "1.12.3", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz", - "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==", + "version": "1.13.1", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.1.tgz", + "integrity": "sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==", "dev": true, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -5092,13 +5169,13 @@ } }, "node_modules/object.assign": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.4.tgz", - "integrity": "sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==", + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.5.tgz", + "integrity": "sha512-byy+U7gp+FVwmyzKPYhW2h5l3crpmGsxl7X2s8y43IgxvG4g3QZ6CffDtsNQy1WsmZpQbO+ybo0AlW7TY6DcBQ==", "dev": true, "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", + "call-bind": "^1.0.5", + "define-properties": "^1.2.1", "has-symbols": "^1.0.3", "object-keys": "^1.1.1" }, @@ -5259,9 +5336,9 @@ } }, "node_modules/path-scurry/node_modules/lru-cache": { - "version": "10.0.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.0.1.tgz", - "integrity": "sha512-IJ4uwUTi2qCccrioU6g9g/5rvvVl13bsdczUUcqbciD9iLr095yj8DQKdObriEvuNSx325N1rV1O0sJFszx75g==", + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.1.0.tgz", + "integrity": "sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag==", "engines": { "node": "14 || >=16.14" } @@ -5320,13 +5397,13 @@ } }, "node_modules/playwright-chromium": { - "version": "1.38.1", - "resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.38.1.tgz", - "integrity": "sha512-97Y6+lN3yOETy/yPQK+LqSCBdldLu5Rkm+Tnj2oGQfcbC5P8R3eWund7GxWqiYFnq0GLwZZ8EnhiBShKnCiVjg==", + "version": "1.40.1", + "resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.40.1.tgz", + "integrity": "sha512-3atylP47OCTBW0siGI7LOEG/XKL/vnrFH8xdr4uaTnqMsc0Xq4gOLk2gGwniPJ76LSc++9ASc0w/nfqtLAmm3A==", "dev": true, "hasInstallScript": true, "dependencies": { - "playwright-core": "1.38.1" + "playwright-core": "1.40.1" }, "bin": { "playwright": "cli.js" @@ -5336,9 +5413,9 @@ } }, "node_modules/playwright-core": { - "version": "1.38.1", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.38.1.tgz", - "integrity": "sha512-tQqNFUKa3OfMf4b2jQ7aGLB8o9bS3bOY0yMEtldtC2+spf8QXG9zvXLTXUeRsoNuxEYMgLYR+NXfAa1rjKRcrg==", + "version": "1.40.1", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.40.1.tgz", + "integrity": "sha512-+hkOycxPiV534c4HhpfX6yrlawqVUzITRKwHAmYfmsVreltEl6fAZJ3DPfLMOODw0H3s1Itd6MDCWmP1fl/QvQ==", "bin": { "playwright-core": "cli.js" }, @@ -5347,9 +5424,9 @@ } }, "node_modules/postcss": { - "version": "8.4.31", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz", - "integrity": "sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==", + "version": "8.4.32", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.32.tgz", + "integrity": "sha512-D/kj5JNu6oo2EIy+XL/26JEDTlIbB8hw85G8StOE6L74RQAVVP5rej6wxCNqyMbR4RkPfqvezVbPw81Ngd6Kcw==", "funding": [ { "type": "opencollective", @@ -5365,7 +5442,7 @@ } ], "dependencies": { - "nanoid": "^3.3.6", + "nanoid": "^3.3.7", "picocolors": "^1.0.0", "source-map-js": "^1.0.2" }, @@ -5419,9 +5496,9 @@ } }, "node_modules/postcss-modules-scope": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/postcss-modules-scope/-/postcss-modules-scope-3.0.0.tgz", - "integrity": "sha512-hncihwFA2yPath8oZ15PZqvWGkWf+XUfQgUGamS4LqoP1anQLOsOJw0vr7J7IwLpoY9fatA2qiGUGmuZL0Iqlg==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/postcss-modules-scope/-/postcss-modules-scope-3.1.0.tgz", + "integrity": "sha512-SaIbK8XW+MZbd0xHPf7kdfA/3eOt7vxJ72IRecn3EzuZVLr1r0orzf0MX/pN8m+NMDoo6X/SQd8oeKqGZd8PXg==", "dependencies": { "postcss-selector-parser": "^6.0.4" }, @@ -5480,9 +5557,9 @@ } }, "node_modules/postcss-selector-parser": { - "version": "6.0.13", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.13.tgz", - "integrity": "sha512-EaV1Gl4mUEV4ddhDnv/xtj7sxwrwxdetHdWUGnT4VJQf+4d05v6lHYZr8N573k5Z0BViss7BDhfWtKS3+sfAqQ==", + "version": "6.0.15", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.15.tgz", + "integrity": "sha512-rEYkQOMUCEMhsKbK66tbEU9QVIxbhN18YiniAwA7XQYTVBqrBy+P2p5JcdqsHgKM2zWylp8d7J6eszocfds5Sw==", "dependencies": { "cssesc": "^3.0.0", "util-deprecate": "^1.0.2" @@ -5497,9 +5574,9 @@ "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==" }, "node_modules/postcss/node_modules/nanoid": { - "version": "3.3.6", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz", - "integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==", + "version": "3.3.7", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", + "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", "funding": [ { "type": "github", @@ -5546,9 +5623,9 @@ "integrity": "sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA==" }, "node_modules/punycode": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", - "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", "engines": { "node": ">=6" } @@ -5720,9 +5797,9 @@ } }, "node_modules/resolve": { - "version": "1.22.4", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.4.tgz", - "integrity": "sha512-PXNdCiPqDqeUou+w1C2eTQbNfxKSuMxqTCuvlmmMsk1NWHL5fRrhY6Pl0qEYYc6+QqGClco1Qj8XnjPego4wfg==", + "version": "1.22.8", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", + "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", "dev": true, "dependencies": { "is-core-module": "^2.13.0", @@ -5840,9 +5917,9 @@ } }, "node_modules/rollup": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.1.4.tgz", - "integrity": "sha512-U8Yk1lQRKqCkDBip/pMYT+IKaN7b7UesK3fLSTuHBoBJacCE+oBqo/dfG/gkUdQNNB2OBmRP98cn2C2bkYZkyw==", + "version": "4.9.2", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.9.2.tgz", + "integrity": "sha512-66RB8OtFKUTozmVEh3qyNfH+b+z2RXBVloqO2KCC/pjFaGaHtxP9fVfOQKPSGXg2mElmjmxjW/fZ7iKrEpMH5Q==", "bin": { "rollup": "dist/bin/rollup" }, @@ -5851,18 +5928,19 @@ "npm": ">=8.0.0" }, "optionalDependencies": { - "@rollup/rollup-android-arm-eabi": "4.1.4", - "@rollup/rollup-android-arm64": "4.1.4", - "@rollup/rollup-darwin-arm64": "4.1.4", - "@rollup/rollup-darwin-x64": "4.1.4", - "@rollup/rollup-linux-arm-gnueabihf": "4.1.4", - "@rollup/rollup-linux-arm64-gnu": "4.1.4", - "@rollup/rollup-linux-arm64-musl": "4.1.4", - "@rollup/rollup-linux-x64-gnu": "4.1.4", - "@rollup/rollup-linux-x64-musl": "4.1.4", - "@rollup/rollup-win32-arm64-msvc": "4.1.4", - "@rollup/rollup-win32-ia32-msvc": "4.1.4", - "@rollup/rollup-win32-x64-msvc": "4.1.4", + "@rollup/rollup-android-arm-eabi": "4.9.2", + "@rollup/rollup-android-arm64": "4.9.2", + "@rollup/rollup-darwin-arm64": "4.9.2", + "@rollup/rollup-darwin-x64": "4.9.2", + "@rollup/rollup-linux-arm-gnueabihf": "4.9.2", + "@rollup/rollup-linux-arm64-gnu": "4.9.2", + "@rollup/rollup-linux-arm64-musl": "4.9.2", + "@rollup/rollup-linux-riscv64-gnu": "4.9.2", + "@rollup/rollup-linux-x64-gnu": "4.9.2", + "@rollup/rollup-linux-x64-musl": "4.9.2", + "@rollup/rollup-win32-arm64-msvc": "4.9.2", + "@rollup/rollup-win32-ia32-msvc": "4.9.2", + "@rollup/rollup-win32-x64-msvc": "4.9.2", "fsevents": "~2.3.2" } }, @@ -5994,6 +6072,21 @@ "randombytes": "^2.1.0" } }, + "node_modules/set-function-length": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.1.1.tgz", + "integrity": "sha512-VoaqjbBJKiWtg4yRcKBQ7g7wnGnLV3M8oLvVWwOk2PdYY6PEFegR1vezXR0tw6fZGF9csVakIRjrJiy2veSBFQ==", + "dev": true, + "dependencies": { + "define-data-property": "^1.1.1", + "get-intrinsic": "^1.2.1", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/set-function-name": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.1.tgz", @@ -6082,12 +6175,11 @@ } }, "node_modules/source-map-loader": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/source-map-loader/-/source-map-loader-4.0.1.tgz", - "integrity": "sha512-oqXpzDIByKONVY8g1NUPOTQhe0UTU5bWUl32GSkqK2LjJj0HmwTMVKxcUip0RgAYhY1mqgOxjbQM48a0mmeNfA==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/source-map-loader/-/source-map-loader-4.0.2.tgz", + "integrity": "sha512-oYwAqCuL0OZhBoSgmdrLa7mv9MjommVMiQIWgcztf+eS4+8BfcUee6nenFnDhKOhzAVnk5gpZdfnz1iiBv+5sg==", "dev": true, "dependencies": { - "abab": "^2.0.6", "iconv-lite": "^0.6.3", "source-map-js": "^1.0.2" }, @@ -6146,9 +6238,9 @@ } }, "node_modules/spdx-license-ids": { - "version": "3.0.13", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.13.tgz", - "integrity": "sha512-XkD+zwiqXHikFZm4AX/7JSCXA98U5Db4AFd5XUg/+9UNtnH75+Z9KxtpYiJZx36mUDVOwH83pl7yvCer6ewM3w==", + "version": "3.0.16", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.16.tgz", + "integrity": "sha512-eWN+LnM3GR6gPu35WxNgbGl8rmY1AEmoMDvL/QD6zYmPWgywxWqJWNdLGT+ke8dKNWrcYgYjPpG5gbTfghP8rw==", "dev": true }, "node_modules/string-width": { @@ -6331,9 +6423,9 @@ } }, "node_modules/terser": { - "version": "5.19.4", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.19.4.tgz", - "integrity": "sha512-6p1DjHeuluwxDXcuT9VR8p64klWJKo1ILiy19s6C9+0Bh2+NWTX6nD9EPppiER4ICkHDVB1RkVpin/YW2nQn/g==", + "version": "5.26.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.26.0.tgz", + "integrity": "sha512-dytTGoE2oHgbNV9nTzgBEPaqAWvcJNl66VZ0BkJqlvp71IjO8CxdBx/ykCNb47cLnCmCvRZ6ZR0tLkqvZCdVBQ==", "dependencies": { "@jridgewell/source-map": "^0.3.3", "acorn": "^8.8.2", @@ -6348,15 +6440,15 @@ } }, "node_modules/terser-webpack-plugin": { - "version": "5.3.9", - "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.9.tgz", - "integrity": "sha512-ZuXsqE07EcggTWQjXUj+Aot/OMcD0bMKGgF63f7UxYcu5/AJF53aIpK1YoP5xR9l6s/Hy2b+t1AM0bLNPRuhwA==", + "version": "5.3.10", + "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.10.tgz", + "integrity": "sha512-BKFPWlPDndPs+NGGCr1U59t0XScL5317Y0UReNrHaw9/FwhPENlq6bfgs+4yPfyP51vqC1bQ4rp1EfXW5ZSH9w==", "dependencies": { - "@jridgewell/trace-mapping": "^0.3.17", + "@jridgewell/trace-mapping": "^0.3.20", "jest-worker": "^27.4.5", "schema-utils": "^3.1.1", "serialize-javascript": "^6.0.1", - "terser": "^5.16.8" + "terser": "^5.26.0" }, "engines": { "node": ">= 10.13.0" @@ -6605,9 +6697,9 @@ } }, "node_modules/update-browserslist-db": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.11.tgz", - "integrity": "sha512-dCwEFf0/oT85M1fHBg4F0jtLwJrutGoHSQXCh7u4o2t1drG+c0a9Flnqww6XUKSfQMPpJBRjU8d4RXB09qtvaA==", + "version": "1.0.13", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz", + "integrity": "sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==", "funding": [ { "type": "opencollective", @@ -6691,14 +6783,14 @@ "dev": true }, "node_modules/v8-to-istanbul": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.1.0.tgz", - "integrity": "sha512-6z3GW9x8G1gd+JIIgQQQxXuiJtCXeAjp6RaPEPLv62mH3iPHPxV6W3robxtCzNErRo6ZwTmzWhsbNvjyEBKzKA==", + "version": "9.2.0", + "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.2.0.tgz", + "integrity": "sha512-/EH/sDgxU2eGxajKdwLCDmQ4FWq+kpi3uCmBGpw1xJtnAxEjlD8j8PEiGWpCIMIs3ciNAgH0d3TTJiUkYzyZjA==", "dev": true, "dependencies": { "@jridgewell/trace-mapping": "^0.3.12", "@types/istanbul-lib-coverage": "^2.0.1", - "convert-source-map": "^1.6.0" + "convert-source-map": "^2.0.0" }, "engines": { "node": ">=10.12.0" @@ -6736,14 +6828,14 @@ "integrity": "sha512-aodjPa2wPQFkra1G8CzJBTHXhgk3EVSwxSWXNPr1fgdFLUb8kvLV1iEb6rFgasIsjP82HWI6dsb5Io26DDnasA==" }, "node_modules/vscode-css-languageservice": { - "version": "6.2.9", - "resolved": "https://registry.npmjs.org/vscode-css-languageservice/-/vscode-css-languageservice-6.2.9.tgz", - "integrity": "sha512-9MsOvAi+VycKomQ7KEq4o/hLtjHHrtRLLl8lM9nMcH8cxfNI7/6jVXmsV/7pdbDWu9L3DZhsspN1eMXZwiOymw==", + "version": "6.2.11", + "resolved": "https://registry.npmjs.org/vscode-css-languageservice/-/vscode-css-languageservice-6.2.11.tgz", + "integrity": "sha512-qn49Wa6K94LnizpVxmlYrcPf1Cb36gq1nNueW0COhi4shylXBzET5wuDbH8ZWQlJD0HM5Mmnn7WE9vQVVs+ULA==", "dependencies": { "@vscode/l10n": "^0.0.16", - "vscode-languageserver-textdocument": "^1.0.8", - "vscode-languageserver-types": "3.17.3", - "vscode-uri": "^3.0.7" + "vscode-languageserver-textdocument": "^1.0.11", + "vscode-languageserver-types": "3.17.5", + "vscode-uri": "^3.0.8" } }, "node_modules/vscode-jsonrpc": { @@ -6774,20 +6866,15 @@ "vscode-languageserver-types": "3.17.5" } }, - "node_modules/vscode-languageserver-protocol/node_modules/vscode-languageserver-types": { - "version": "3.17.5", - "resolved": "https://registry.npmjs.org/vscode-languageserver-types/-/vscode-languageserver-types-3.17.5.tgz", - "integrity": "sha512-Ld1VelNuX9pdF39h2Hgaeb5hEZM2Z3jUrrMgWQAu82jMtZp7p3vJT3BzToKtZI7NgQssZje5o0zryOrhQvzQAg==" - }, "node_modules/vscode-languageserver-textdocument": { "version": "1.0.11", "resolved": "https://registry.npmjs.org/vscode-languageserver-textdocument/-/vscode-languageserver-textdocument-1.0.11.tgz", "integrity": "sha512-X+8T3GoiwTVlJbicx/sIAF+yuJAqz8VvwJyoMVhwEMoEKE/fkDmrqUgDMyBECcM2A2frVZIUj5HI/ErRXCfOeA==" }, "node_modules/vscode-languageserver-types": { - "version": "3.17.3", - "resolved": "https://registry.npmjs.org/vscode-languageserver-types/-/vscode-languageserver-types-3.17.3.tgz", - "integrity": "sha512-SYU4z1dL0PyIMd4Vj8YOqFvHu7Hz/enbWtpfnVbJHU4Nd1YNYx8u0ennumc6h48GQNeOLxmwySmnADouT/AuZA==" + "version": "3.17.5", + "resolved": "https://registry.npmjs.org/vscode-languageserver-types/-/vscode-languageserver-types-3.17.5.tgz", + "integrity": "sha512-Ld1VelNuX9pdF39h2Hgaeb5hEZM2Z3jUrrMgWQAu82jMtZp7p3vJT3BzToKtZI7NgQssZje5o0zryOrhQvzQAg==" }, "node_modules/vscode-uri": { "version": "3.0.8", @@ -6807,9 +6894,9 @@ } }, "node_modules/webpack": { - "version": "5.88.2", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.88.2.tgz", - "integrity": "sha512-JmcgNZ1iKj+aiR0OvTYtWQqJwq37Pf683dY9bVORwVbUrDhLhdn/PlO2sHsFHPkj7sHNQF3JwaAkp49V+Sq1tQ==", + "version": "5.89.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.89.0.tgz", + "integrity": "sha512-qyfIC10pOr70V+jkmud8tMfajraGCZMBWJtrmuBymQKCrLTRejBI8STDp1MCyZu/QTdZSeacCQYpYNQVOzX5kw==", "dependencies": { "@types/eslint-scope": "^3.7.3", "@types/estree": "^1.0.0", @@ -6891,13 +6978,13 @@ } }, "node_modules/which-typed-array": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.11.tgz", - "integrity": "sha512-qe9UWWpkeG5yzZ0tNYxDmd7vo58HDBc39mZ0xWWpolAGADdFOzkfamWLDxkOWcvHQKVmdTyQdLD4NOfjLWTKew==", + "version": "1.1.13", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.13.tgz", + "integrity": "sha512-P5Nra0qjSncduVPEAr7xhoF5guty49ArDTwzJ/yNuPIbZppyRxFQsRCWrocxIY+CnMVG+qfbU2FmDKyvSGClow==", "dev": true, "dependencies": { "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.2", + "call-bind": "^1.0.4", "for-each": "^0.3.3", "gopd": "^1.0.1", "has-tostringtag": "^1.0.0" @@ -7034,8 +7121,8 @@ "version": "5.17.0", "license": "MIT", "dependencies": { - "@file-services/node": "^8.3.1", - "@file-services/types": "^8.3.1", + "@file-services/node": "^8.3.3", + "@file-services/types": "^8.3.3", "@stylable/build-tools": "^5.17.0", "@stylable/code-formatter": "^5.17.0", "@stylable/core": "^5.17.0", @@ -7075,8 +7162,8 @@ "dependencies": { "@stylable/core": "^5.17.0", "@tokey/css-value-parser": "^0.1.4", - "js-beautify": "^1.14.9", - "postcss": "^8.4.31" + "js-beautify": "^1.14.11", + "postcss": "^8.4.32" }, "engines": { "node": ">=14.14.0" @@ -7097,7 +7184,7 @@ "is-vendor-prefixed": "^4.0.0", "lodash.clonedeep": "^4.5.0", "lodash.clonedeepwith": "^4.5.0", - "postcss": "^8.4.31", + "postcss": "^8.4.32", "postcss-js": "^4.0.1", "postcss-nested": "^6.0.1", "postcss-safe-parser": "^6.0.0", @@ -7112,11 +7199,11 @@ "version": "5.17.0", "license": "MIT", "dependencies": { - "@file-services/memory": "^8.3.1", + "@file-services/memory": "^8.3.3", "@stylable/core": "^5.17.0", "chai": "^4.3.10", "flat": "^5.0.2", - "postcss": "^8.4.31" + "postcss": "^8.4.32" }, "engines": { "node": ">=14.14.0" @@ -7171,7 +7258,7 @@ "dependencies": { "@stylable/runtime": "^5.17.0", "node-eval": "^2.0.0", - "playwright-core": "^1.38.1", + "playwright-core": "^1.40.1", "rimraf": "^5.0.5" }, "engines": { @@ -7247,17 +7334,17 @@ "version": "5.17.0", "license": "MIT", "dependencies": { - "@file-services/types": "^8.3.1", - "@file-services/typescript": "^8.3.1", + "@file-services/types": "^8.3.3", + "@file-services/typescript": "^8.3.3", "@stylable/code-formatter": "^5.17.0", "@stylable/core": "^5.17.0", "@tokey/core": "^1.4.0", "@tokey/css-selector-parser": "^0.6.2", "@tokey/css-value-parser": "^0.1.4", "css-selector-tokenizer": "^0.8.0", - "postcss": "^8.4.31", + "postcss": "^8.4.32", "postcss-value-parser": "^4.2.0", - "vscode-css-languageservice": "^6.2.9", + "vscode-css-languageservice": "^6.2.11", "vscode-languageserver": "^9.0.1", "vscode-languageserver-textdocument": "^1.0.11", "vscode-uri": "^3.0.8" @@ -7304,7 +7391,7 @@ "@stylable/core": "^5.17.0", "@tokey/css-selector-parser": "^0.6.2", "csso": "^5.0.5", - "postcss": "^8.4.31" + "postcss": "^8.4.32" }, "engines": { "node": ">=14.14.0" @@ -7402,7 +7489,7 @@ "@stylable/runtime": "^5.17.0", "decache": "^4.6.2", "lodash.clonedeep": "^4.5.0", - "postcss": "^8.4.31" + "postcss": "^8.4.32" }, "engines": { "node": ">=14.14.0" @@ -7424,157 +7511,164 @@ "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", "dev": true }, + "@esbuild/aix-ppc64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.19.11.tgz", + "integrity": "sha512-FnzU0LyE3ySQk7UntJO4+qIiQgI7KoODnZg5xzXIrFJlKd2P2gwHsHY4927xj9y5PJmJSzULiUCWmv7iWnNa7g==", + "optional": true, + "peer": true + }, "@esbuild/android-arm": { - "version": "0.19.3", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.3.tgz", - "integrity": "sha512-Lemgw4io4VZl9GHJmjiBGzQ7ONXRfRPHcUEerndjwiSkbxzrpq0Uggku5MxxrXdwJ+pTj1qyw4jwTu7hkPsgIA==", + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.11.tgz", + "integrity": "sha512-5OVapq0ClabvKvQ58Bws8+wkLCV+Rxg7tUVbo9xu034Nm536QTII4YzhaFriQ7rMrorfnFKUsArD2lqKbFY4vw==", "optional": true, "peer": true }, "@esbuild/android-arm64": { - "version": "0.19.3", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.19.3.tgz", - "integrity": "sha512-w+Akc0vv5leog550kjJV9Ru+MXMR2VuMrui3C61mnysim0gkFCPOUTAfzTP0qX+HpN9Syu3YA3p1hf3EPqObRw==", + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.19.11.tgz", + "integrity": "sha512-aiu7K/5JnLj//KOnOfEZ0D90obUkRzDMyqd/wNAUQ34m4YUPVhRZpnqKV9uqDGxT7cToSDnIHsGooyIczu9T+Q==", "optional": true, "peer": true }, "@esbuild/android-x64": { - "version": "0.19.3", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.19.3.tgz", - "integrity": "sha512-FKQJKkK5MXcBHoNZMDNUAg1+WcZlV/cuXrWCoGF/TvdRiYS4znA0m5Il5idUwfxrE20bG/vU1Cr5e1AD6IEIjQ==", + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.19.11.tgz", + "integrity": "sha512-eccxjlfGw43WYoY9QgB82SgGgDbibcqyDTlk3l3C0jOVHKxrjdc9CTwDUQd0vkvYg5um0OH+GpxYvp39r+IPOg==", "optional": true, "peer": true }, "@esbuild/darwin-arm64": { - "version": "0.19.3", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.19.3.tgz", - "integrity": "sha512-kw7e3FXU+VsJSSSl2nMKvACYlwtvZB8RUIeVShIEY6PVnuZ3c9+L9lWB2nWeeKWNNYDdtL19foCQ0ZyUL7nqGw==", + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.19.11.tgz", + "integrity": "sha512-ETp87DRWuSt9KdDVkqSoKoLFHYTrkyz2+65fj9nfXsaV3bMhTCjtQfw3y+um88vGRKRiF7erPrh/ZuIdLUIVxQ==", "optional": true, "peer": true }, "@esbuild/darwin-x64": { - "version": "0.19.3", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.19.3.tgz", - "integrity": "sha512-tPfZiwF9rO0jW6Jh9ipi58N5ZLoSjdxXeSrAYypy4psA2Yl1dAMhM71KxVfmjZhJmxRjSnb29YlRXXhh3GqzYw==", + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.19.11.tgz", + "integrity": "sha512-fkFUiS6IUK9WYUO/+22omwetaSNl5/A8giXvQlcinLIjVkxwTLSktbF5f/kJMftM2MJp9+fXqZ5ezS7+SALp4g==", "optional": true, "peer": true }, "@esbuild/freebsd-arm64": { - "version": "0.19.3", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.3.tgz", - "integrity": "sha512-ERDyjOgYeKe0Vrlr1iLrqTByB026YLPzTytDTz1DRCYM+JI92Dw2dbpRHYmdqn6VBnQ9Bor6J8ZlNwdZdxjlSg==", + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.11.tgz", + "integrity": "sha512-lhoSp5K6bxKRNdXUtHoNc5HhbXVCS8V0iZmDvyWvYq9S5WSfTIHU2UGjcGt7UeS6iEYp9eeymIl5mJBn0yiuxA==", "optional": true, "peer": true }, "@esbuild/freebsd-x64": { - "version": "0.19.3", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.19.3.tgz", - "integrity": "sha512-nXesBZ2Ad1qL+Rm3crN7NmEVJ5uvfLFPLJev3x1j3feCQXfAhoYrojC681RhpdOph8NsvKBBwpYZHR7W0ifTTA==", + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.19.11.tgz", + "integrity": "sha512-JkUqn44AffGXitVI6/AbQdoYAq0TEullFdqcMY/PCUZ36xJ9ZJRtQabzMA+Vi7r78+25ZIBosLTOKnUXBSi1Kw==", "optional": true, "peer": true }, "@esbuild/linux-arm": { - "version": "0.19.3", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.19.3.tgz", - "integrity": "sha512-zr48Cg/8zkzZCzDHNxXO/89bf9e+r4HtzNUPoz4GmgAkF1gFAFmfgOdCbR8zMbzFDGb1FqBBhdXUpcTQRYS1cQ==", + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.19.11.tgz", + "integrity": "sha512-3CRkr9+vCV2XJbjwgzjPtO8T0SZUmRZla+UL1jw+XqHZPkPgZiyWvbDvl9rqAN8Zl7qJF0O/9ycMtjU67HN9/Q==", "optional": true, "peer": true }, "@esbuild/linux-arm64": { - "version": "0.19.3", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.19.3.tgz", - "integrity": "sha512-qXvYKmXj8GcJgWq3aGvxL/JG1ZM3UR272SdPU4QSTzD0eymrM7leiZH77pvY3UetCy0k1xuXZ+VPvoJNdtrsWQ==", + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.19.11.tgz", + "integrity": "sha512-LneLg3ypEeveBSMuoa0kwMpCGmpu8XQUh+mL8XXwoYZ6Be2qBnVtcDI5azSvh7vioMDhoJFZzp9GWp9IWpYoUg==", "optional": true, "peer": true }, "@esbuild/linux-ia32": { - "version": "0.19.3", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.19.3.tgz", - "integrity": "sha512-7XlCKCA0nWcbvYpusARWkFjRQNWNGlt45S+Q18UeS///K6Aw8bB2FKYe9mhVWy/XLShvCweOLZPrnMswIaDXQA==", + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.19.11.tgz", + "integrity": "sha512-caHy++CsD8Bgq2V5CodbJjFPEiDPq8JJmBdeyZ8GWVQMjRD0sU548nNdwPNvKjVpamYYVL40AORekgfIubwHoA==", "optional": true, "peer": true }, "@esbuild/linux-loong64": { - "version": "0.19.3", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.19.3.tgz", - "integrity": "sha512-qGTgjweER5xqweiWtUIDl9OKz338EQqCwbS9c2Bh5jgEH19xQ1yhgGPNesugmDFq+UUSDtWgZ264st26b3de8A==", + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.19.11.tgz", + "integrity": "sha512-ppZSSLVpPrwHccvC6nQVZaSHlFsvCQyjnvirnVjbKSHuE5N24Yl8F3UwYUUR1UEPaFObGD2tSvVKbvR+uT1Nrg==", "optional": true, "peer": true }, "@esbuild/linux-mips64el": { - "version": "0.19.3", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.19.3.tgz", - "integrity": "sha512-gy1bFskwEyxVMFRNYSvBauDIWNggD6pyxUksc0MV9UOBD138dKTzr8XnM2R4mBsHwVzeuIH8X5JhmNs2Pzrx+A==", + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.19.11.tgz", + "integrity": "sha512-B5x9j0OgjG+v1dF2DkH34lr+7Gmv0kzX6/V0afF41FkPMMqaQ77pH7CrhWeR22aEeHKaeZVtZ6yFwlxOKPVFyg==", "optional": true, "peer": true }, "@esbuild/linux-ppc64": { - "version": "0.19.3", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.19.3.tgz", - "integrity": "sha512-UrYLFu62x1MmmIe85rpR3qou92wB9lEXluwMB/STDzPF9k8mi/9UvNsG07Tt9AqwPQXluMQ6bZbTzYt01+Ue5g==", + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.19.11.tgz", + "integrity": "sha512-MHrZYLeCG8vXblMetWyttkdVRjQlQUb/oMgBNurVEnhj4YWOr4G5lmBfZjHYQHHN0g6yDmCAQRR8MUHldvvRDA==", "optional": true, "peer": true }, "@esbuild/linux-riscv64": { - "version": "0.19.3", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.19.3.tgz", - "integrity": "sha512-9E73TfyMCbE+1AwFOg3glnzZ5fBAFK4aawssvuMgCRqCYzE0ylVxxzjEfut8xjmKkR320BEoMui4o/t9KA96gA==", + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.19.11.tgz", + "integrity": "sha512-f3DY++t94uVg141dozDu4CCUkYW+09rWtaWfnb3bqe4w5NqmZd6nPVBm+qbz7WaHZCoqXqHz5p6CM6qv3qnSSQ==", "optional": true, "peer": true }, "@esbuild/linux-s390x": { - "version": "0.19.3", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.19.3.tgz", - "integrity": "sha512-LlmsbuBdm1/D66TJ3HW6URY8wO6IlYHf+ChOUz8SUAjVTuaisfuwCOAgcxo3Zsu3BZGxmI7yt//yGOxV+lHcEA==", + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.19.11.tgz", + "integrity": "sha512-A5xdUoyWJHMMlcSMcPGVLzYzpcY8QP1RtYzX5/bS4dvjBGVxdhuiYyFwp7z74ocV7WDc0n1harxmpq2ePOjI0Q==", "optional": true, "peer": true }, "@esbuild/linux-x64": { - "version": "0.19.3", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.3.tgz", - "integrity": "sha512-ogV0+GwEmvwg/8ZbsyfkYGaLACBQWDvO0Kkh8LKBGKj9Ru8VM39zssrnu9Sxn1wbapA2qNS6BiLdwJZGouyCwQ==", + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.11.tgz", + "integrity": "sha512-grbyMlVCvJSfxFQUndw5mCtWs5LO1gUlwP4CDi4iJBbVpZcqLVT29FxgGuBJGSzyOxotFG4LoO5X+M1350zmPA==", "optional": true, "peer": true }, "@esbuild/netbsd-x64": { - "version": "0.19.3", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.19.3.tgz", - "integrity": "sha512-o1jLNe4uzQv2DKXMlmEzf66Wd8MoIhLNO2nlQBHLtWyh2MitDG7sMpfCO3NTcoTMuqHjfufgUQDFRI5C+xsXQw==", + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.19.11.tgz", + "integrity": "sha512-13jvrQZJc3P230OhU8xgwUnDeuC/9egsjTkXN49b3GcS5BKvJqZn86aGM8W9pd14Kd+u7HuFBMVtrNGhh6fHEQ==", "optional": true, "peer": true }, "@esbuild/openbsd-x64": { - "version": "0.19.3", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.19.3.tgz", - "integrity": "sha512-AZJCnr5CZgZOdhouLcfRdnk9Zv6HbaBxjcyhq0StNcvAdVZJSKIdOiPB9az2zc06ywl0ePYJz60CjdKsQacp5Q==", + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.19.11.tgz", + "integrity": "sha512-ysyOGZuTp6SNKPE11INDUeFVVQFrhcNDVUgSQVDzqsqX38DjhPEPATpid04LCoUr2WXhQTEZ8ct/EgJCUDpyNw==", "optional": true, "peer": true }, "@esbuild/sunos-x64": { - "version": "0.19.3", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.19.3.tgz", - "integrity": "sha512-Acsujgeqg9InR4glTRvLKGZ+1HMtDm94ehTIHKhJjFpgVzZG9/pIcWW/HA/DoMfEyXmANLDuDZ2sNrWcjq1lxw==", + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.19.11.tgz", + "integrity": "sha512-Hf+Sad9nVwvtxy4DXCZQqLpgmRTQqyFyhT3bZ4F2XlJCjxGmRFF0Shwn9rzhOYRB61w9VMXUkxlBy56dk9JJiQ==", "optional": true, "peer": true }, "@esbuild/win32-arm64": { - "version": "0.19.3", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.19.3.tgz", - "integrity": "sha512-FSrAfjVVy7TifFgYgliiJOyYynhQmqgPj15pzLyJk8BUsnlWNwP/IAy6GAiB1LqtoivowRgidZsfpoYLZH586A==", + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.19.11.tgz", + "integrity": "sha512-0P58Sbi0LctOMOQbpEOvOL44Ne0sqbS0XWHMvvrg6NE5jQ1xguCSSw9jQeUk2lfrXYsKDdOe6K+oZiwKPilYPQ==", "optional": true, "peer": true }, "@esbuild/win32-ia32": { - "version": "0.19.3", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.19.3.tgz", - "integrity": "sha512-xTScXYi12xLOWZ/sc5RBmMN99BcXp/eEf7scUC0oeiRoiT5Vvo9AycuqCp+xdpDyAU+LkrCqEpUS9fCSZF8J3Q==", + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.19.11.tgz", + "integrity": "sha512-6YOrWS+sDJDmshdBIQU+Uoyh7pQKrdykdefC1avn76ss5c+RN6gut3LZA4E2cH5xUEp5/cA0+YxRaVtRAb0xBg==", "optional": true, "peer": true }, "@esbuild/win32-x64": { - "version": "0.19.3", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.19.3.tgz", - "integrity": "sha512-FbUN+0ZRXsypPyWE2IwIkVjDkDnJoMJARWOcFZn4KPPli+QnKqF0z1anvfaYe3ev5HFCpRDLLBDHyOALLppWHw==", + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.19.11.tgz", + "integrity": "sha512-vfkhltrjCAb603XaFhqhAF4LGDi2M4OrCRrFusyQ+iTLQ/o60QQXxc9cZC/FFpihBI9N1Grn6SMKVJ4KP7Fuiw==", "optional": true, "peer": true }, @@ -7587,14 +7681,14 @@ } }, "@eslint-community/regexpp": { - "version": "4.8.1", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.8.1.tgz", - "integrity": "sha512-PWiOzLIUAjN/w5K17PoF4n6sKBw0gqLHPhywmYHP4t1VFQQVYeb1yWsJwnMVEMl3tUHME7X/SJPZLmtG7XBDxQ==" + "version": "4.10.0", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.10.0.tgz", + "integrity": "sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA==" }, "@eslint/eslintrc": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.2.tgz", - "integrity": "sha512-+wvgpDsrB1YqAMdEUCcnTlpfVBH7Vqn6A/NT3D8WVXFIaKMlErPIZT3oCIAVCOtarRpMtelZLqJeU3t7WY6X6g==", + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz", + "integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==", "requires": { "ajv": "^6.12.4", "debug": "^4.3.2", @@ -7608,64 +7702,64 @@ } }, "@eslint/js": { - "version": "8.50.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.50.0.tgz", - "integrity": "sha512-NCC3zz2+nvYd+Ckfh87rA47zfu2QsQpvc6k1yzTk+b9KzRj0wkGa8LSoGOXN6Zv4lRf/EIoZ80biDh9HOI+RNQ==" + "version": "8.56.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.56.0.tgz", + "integrity": "sha512-gMsVel9D7f2HLkBma9VbtzZRehRogVRfbr++f06nL2vnCGCNlzOD+/MUov/F4p8myyAHspEhVobgjpX64q5m6A==" }, "@file-services/memory": { - "version": "8.3.1", - "resolved": "https://registry.npmjs.org/@file-services/memory/-/memory-8.3.1.tgz", - "integrity": "sha512-yAF6R3iccXIJUoKR2xV8ong1BTedczdZwWoZCYBQbtX5P1KDZGkO+3+aRCPFyCKXjpSE21MLRP+xwSSNwdifTA==", + "version": "8.3.3", + "resolved": "https://registry.npmjs.org/@file-services/memory/-/memory-8.3.3.tgz", + "integrity": "sha512-WBgpmTvO2Bkl9zD0Vdyt4hjScZ5p5ytqcpG9y7pMAZITSw9Slv/pjK0jKkJMg4reb2nHjzEEgYzggfd2FibDsA==", "requires": { - "@file-services/path": "^8.3.1", - "@file-services/types": "^8.3.1", - "@file-services/utils": "^8.3.1" + "@file-services/path": "^8.3.3", + "@file-services/types": "^8.3.3", + "@file-services/utils": "^8.3.3" } }, "@file-services/node": { - "version": "8.3.1", - "resolved": "https://registry.npmjs.org/@file-services/node/-/node-8.3.1.tgz", - "integrity": "sha512-vE3CXrWAdWj9AQlN8/q7U6XS2d4yGS7B8VUtkFAVcYoeG6DGHh5HnnABKefml9Ow+fp+48UsERcoNKPlSoUVEQ==", + "version": "8.3.3", + "resolved": "https://registry.npmjs.org/@file-services/node/-/node-8.3.3.tgz", + "integrity": "sha512-gZH5C4QRs4DurIxu/xa44zfqELHYtxjyQAx9NwDD7eNjst1jVbSOKtWD6beDXw88OI/6KzpxnbOnhwksQphJ6g==", "requires": { - "@file-services/types": "^8.3.1", - "@file-services/utils": "^8.3.1" + "@file-services/types": "^8.3.3", + "@file-services/utils": "^8.3.3" } }, "@file-services/path": { - "version": "8.3.1", - "resolved": "https://registry.npmjs.org/@file-services/path/-/path-8.3.1.tgz", - "integrity": "sha512-pzcBDtlFrl/2yFOCuS/FxMyD85jQYGVa+S7FNr3pFsIyYX7ohSMgbUsXB/A2Hzo7Xe8+e6HgOMUqhNwDFKEJew==", + "version": "8.3.3", + "resolved": "https://registry.npmjs.org/@file-services/path/-/path-8.3.3.tgz", + "integrity": "sha512-zM2/I4uIA+Hq8fC0XhBfo7ZC3t/shX3gjwl3z+lmtHxtNfxProf6hsmR1VI0qLDEFcIog7tB89HOR7H5DWj+qQ==", "requires": { - "@file-services/types": "^8.3.1" + "@file-services/types": "^8.3.3" } }, "@file-services/types": { - "version": "8.3.1", - "resolved": "https://registry.npmjs.org/@file-services/types/-/types-8.3.1.tgz", - "integrity": "sha512-I2oRF38cF6yGMF02d8oLTd07+62pRI0D23LcHaVMXib5A2gB4QOhaQYr9OjIBR9RIaG2P6Byo4y4qvkmgUzYgg==" + "version": "8.3.3", + "resolved": "https://registry.npmjs.org/@file-services/types/-/types-8.3.3.tgz", + "integrity": "sha512-b6IM6MNZ6HKm5GicSKI61Rj1UZy87UtBCUvBiqT+w16biEYxeV7fBCj6gCeu8fWdPdfXgUK2QFKAB0RST+D4GQ==" }, "@file-services/typescript": { - "version": "8.3.1", - "resolved": "https://registry.npmjs.org/@file-services/typescript/-/typescript-8.3.1.tgz", - "integrity": "sha512-FjXHchxXkpG/1E3P0SCSX9BJYJxvxbah0iJQz+vG74XABSEFASPFQu7ruRRmusVRCUuz4WjxX/vpqeHqhlhB1g==", + "version": "8.3.3", + "resolved": "https://registry.npmjs.org/@file-services/typescript/-/typescript-8.3.3.tgz", + "integrity": "sha512-NHT1AG0sC7sf695ZYg3iCjSlD4lVKL81og2/W+ilreAqRWWEJ5R4BxuFtrB3H2D7S6PChxooPQkrYhrnB5hbZg==", "requires": { - "@file-services/types": "^8.3.1" + "@file-services/types": "^8.3.3" } }, "@file-services/utils": { - "version": "8.3.1", - "resolved": "https://registry.npmjs.org/@file-services/utils/-/utils-8.3.1.tgz", - "integrity": "sha512-BxIto/E1tRfXswYE1fVicATeDpYAYH2PUHq/jM5z394/jirwJLXSNUmYr8knceMbHBVfCG0ZHL83EgqMt5sgVw==", + "version": "8.3.3", + "resolved": "https://registry.npmjs.org/@file-services/utils/-/utils-8.3.3.tgz", + "integrity": "sha512-mCVe/x8cqvMxR/JE1SdPxxcReXvinYhrGgS3Ub33pHKmYMvRLPqt7tmxJV6zV8hjptx/CuxG6+yh9iSQo5sRvA==", "requires": { - "@file-services/types": "^8.3.1" + "@file-services/types": "^8.3.3" } }, "@humanwhocodes/config-array": { - "version": "0.11.11", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.11.tgz", - "integrity": "sha512-N2brEuAadi0CcdeMXUkhbZB84eskAc8MEX1By6qEchoVywSgXPIjou4rYsl0V3Hj0ZnuGycGCjdNgockbzeWNA==", + "version": "0.11.13", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.13.tgz", + "integrity": "sha512-JSBDMiDKSzQVngfRjOdFXgFfklaXI4K9nLF49Auh21lmBWRLIK3+xTErTWD4KU54pb6coM6ESE7Awz/FNU3zgQ==", "requires": { - "@humanwhocodes/object-schema": "^1.2.1", + "@humanwhocodes/object-schema": "^2.0.1", "debug": "^4.1.1", "minimatch": "^3.0.5" } @@ -7676,9 +7770,9 @@ "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==" }, "@humanwhocodes/object-schema": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", - "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==" + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.1.tgz", + "integrity": "sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw==" }, "@isaacs/cliui": { "version": "8.0.2", @@ -7779,9 +7873,9 @@ "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==" }, "@jridgewell/trace-mapping": { - "version": "0.3.19", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.19.tgz", - "integrity": "sha512-kf37QtfW+Hwx/buWGMPcR60iF9ziHa6r/CZJIHbmcm4+0qrXiVdxegAH0F6yddEVQ7zdkjcGCgCzUu+BcbhQxw==", + "version": "0.3.20", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.20.tgz", + "integrity": "sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==", "requires": { "@jridgewell/resolve-uri": "^3.1.0", "@jridgewell/sourcemap-codec": "^1.4.14" @@ -7822,16 +7916,16 @@ "optional": true }, "@rollup/plugin-html": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@rollup/plugin-html/-/plugin-html-1.0.2.tgz", - "integrity": "sha512-jGqb45BPj5kwvb/bq1jIzUDLebsm1xmfnY1rwgTIZyjpsMyMKLuQO27n4z5qv6kZmxqxh+CBRD7d1rjAu85Uzg==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@rollup/plugin-html/-/plugin-html-1.0.3.tgz", + "integrity": "sha512-bbjQciNXitHX+Bgk0xsW3/0wFWih/356/r7/kvmdz4wzWhAU/a0zYBWTczihrlzz/6Qpw/kZ0yXqOJwsETgg7A==", "dev": true, "requires": {} }, "@rollup/plugin-node-resolve": { - "version": "15.2.1", - "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-15.2.1.tgz", - "integrity": "sha512-nsbUg588+GDSu8/NS8T4UAshO6xeaOfINNuXeVHcKV02LJtoRaM1SiOacClw4kws1SFiNhdLGxlbMY9ga/zs/w==", + "version": "15.2.3", + "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-15.2.3.tgz", + "integrity": "sha512-j/lym8nf5E21LwBT4Df1VD6hRO2L2iwUeUmP7litikRsVp1H6NWx20NEp0Y7su+7XGc476GnXXc4kFeZNGmaSQ==", "dev": true, "requires": { "@rollup/pluginutils": "^5.0.1", @@ -7843,9 +7937,9 @@ } }, "@rollup/pluginutils": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.0.4.tgz", - "integrity": "sha512-0KJnIoRI8A+a1dqOYLxH8vBf8bphDmty5QvIm2hqm7oFCFYKCAZWWd2hXgMibaPsNDhI0AtpYfQZJG47pt/k4g==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.1.0.tgz", + "integrity": "sha512-XTIWOPPcpvyKI6L1NHo0lFlCyznUEyPmPY1mc3KpPVDYulHSTvyeLNVW00QTLIAFNhR3kYnJTQHeGqU4M3n09g==", "dev": true, "requires": { "@types/estree": "^1.0.0", @@ -7853,6 +7947,84 @@ "picomatch": "^2.3.1" } }, + "@rollup/rollup-android-arm-eabi": { + "version": "4.9.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.9.2.tgz", + "integrity": "sha512-RKzxFxBHq9ysZ83fn8Iduv3A283K7zPPYuhL/z9CQuyFrjwpErJx0h4aeb/bnJ+q29GRLgJpY66ceQ/Wcsn3wA==", + "optional": true + }, + "@rollup/rollup-android-arm64": { + "version": "4.9.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.9.2.tgz", + "integrity": "sha512-yZ+MUbnwf3SHNWQKJyWh88ii2HbuHCFQnAYTeeO1Nb8SyEiWASEi5dQUygt3ClHWtA9My9RQAYkjvrsZ0WK8Xg==", + "optional": true + }, + "@rollup/rollup-darwin-arm64": { + "version": "4.9.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.9.2.tgz", + "integrity": "sha512-vqJ/pAUh95FLc/G/3+xPqlSBgilPnauVf2EXOQCZzhZJCXDXt/5A8mH/OzU6iWhb3CNk5hPJrh8pqJUPldN5zw==", + "optional": true + }, + "@rollup/rollup-darwin-x64": { + "version": "4.9.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.9.2.tgz", + "integrity": "sha512-otPHsN5LlvedOprd3SdfrRNhOahhVBwJpepVKUN58L0RnC29vOAej1vMEaVU6DadnpjivVsNTM5eNt0CcwTahw==", + "optional": true + }, + "@rollup/rollup-linux-arm-gnueabihf": { + "version": "4.9.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.9.2.tgz", + "integrity": "sha512-ewG5yJSp+zYKBYQLbd1CUA7b1lSfIdo9zJShNTyc2ZP1rcPrqyZcNlsHgs7v1zhgfdS+kW0p5frc0aVqhZCiYQ==", + "optional": true + }, + "@rollup/rollup-linux-arm64-gnu": { + "version": "4.9.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.9.2.tgz", + "integrity": "sha512-pL6QtV26W52aCWTG1IuFV3FMPL1m4wbsRG+qijIvgFO/VBsiXJjDPE/uiMdHBAO6YcpV4KvpKtd0v3WFbaxBtg==", + "optional": true + }, + "@rollup/rollup-linux-arm64-musl": { + "version": "4.9.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.9.2.tgz", + "integrity": "sha512-On+cc5EpOaTwPSNetHXBuqylDW+765G/oqB9xGmWU3npEhCh8xu0xqHGUA+4xwZLqBbIZNcBlKSIYfkBm6ko7g==", + "optional": true + }, + "@rollup/rollup-linux-riscv64-gnu": { + "version": "4.9.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.9.2.tgz", + "integrity": "sha512-Wnx/IVMSZ31D/cO9HSsU46FjrPWHqtdF8+0eyZ1zIB5a6hXaZXghUKpRrC4D5DcRTZOjml2oBhXoqfGYyXKipw==", + "optional": true + }, + "@rollup/rollup-linux-x64-gnu": { + "version": "4.9.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.9.2.tgz", + "integrity": "sha512-ym5x1cj4mUAMBummxxRkI4pG5Vht1QMsJexwGP8547TZ0sox9fCLDHw9KCH9c1FO5d9GopvkaJsBIOkTKxksdw==", + "optional": true + }, + "@rollup/rollup-linux-x64-musl": { + "version": "4.9.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.9.2.tgz", + "integrity": "sha512-m0hYELHGXdYx64D6IDDg/1vOJEaiV8f1G/iO+tejvRCJNSwK4jJ15e38JQy5Q6dGkn1M/9KcyEOwqmlZ2kqaZg==", + "optional": true + }, + "@rollup/rollup-win32-arm64-msvc": { + "version": "4.9.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.9.2.tgz", + "integrity": "sha512-x1CWburlbN5JjG+juenuNa4KdedBdXLjZMp56nHFSHTOsb/MI2DYiGzLtRGHNMyydPGffGId+VgjOMrcltOksA==", + "optional": true + }, + "@rollup/rollup-win32-ia32-msvc": { + "version": "4.9.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.9.2.tgz", + "integrity": "sha512-VVzCB5yXR1QlfsH1Xw1zdzQ4Pxuzv+CPr5qpElpKhVxlxD3CRdfubAG9mJROl6/dmj5gVYDDWk8sC+j9BI9/kQ==", + "optional": true + }, + "@rollup/rollup-win32-x64-msvc": { + "version": "4.9.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.9.2.tgz", + "integrity": "sha512-SYRedJi+mweatroB+6TTnJYLts0L0bosg531xnQWtklOI6dezEagx4Q0qDyvRdK+qgdA3YZpjjGuPFtxBmddBA==", + "optional": true + }, "@stylable/build-tools": { "version": "file:packages/build-tools", "requires": { @@ -7863,8 +8035,8 @@ "@stylable/cli": { "version": "file:packages/cli", "requires": { - "@file-services/node": "^8.3.1", - "@file-services/types": "^8.3.1", + "@file-services/node": "^8.3.3", + "@file-services/types": "^8.3.3", "@stylable/build-tools": "^5.17.0", "@stylable/code-formatter": "^5.17.0", "@stylable/core": "^5.17.0", @@ -7889,8 +8061,8 @@ "requires": { "@stylable/core": "^5.17.0", "@tokey/css-value-parser": "^0.1.4", - "js-beautify": "^1.14.9", - "postcss": "^8.4.31" + "js-beautify": "^1.14.11", + "postcss": "^8.4.32" } }, "@stylable/core": { @@ -7906,7 +8078,7 @@ "is-vendor-prefixed": "^4.0.0", "lodash.clonedeep": "^4.5.0", "lodash.clonedeepwith": "^4.5.0", - "postcss": "^8.4.31", + "postcss": "^8.4.32", "postcss-js": "^4.0.1", "postcss-nested": "^6.0.1", "postcss-safe-parser": "^6.0.0", @@ -7921,11 +8093,11 @@ "@stylable/core-test-kit": { "version": "file:packages/core-test-kit", "requires": { - "@file-services/memory": "^8.3.1", + "@file-services/memory": "^8.3.3", "@stylable/core": "^5.17.0", "chai": "^4.3.10", "flat": "^5.0.2", - "postcss": "^8.4.31" + "postcss": "^8.4.32" } }, "@stylable/custom-value": { @@ -7947,7 +8119,7 @@ "requires": { "@stylable/runtime": "^5.17.0", "node-eval": "^2.0.0", - "playwright-core": "^1.38.1", + "playwright-core": "^1.40.1", "rimraf": "^5.0.5" } }, @@ -7990,17 +8162,17 @@ "@stylable/language-service": { "version": "file:packages/language-service", "requires": { - "@file-services/types": "^8.3.1", - "@file-services/typescript": "^8.3.1", + "@file-services/types": "^8.3.3", + "@file-services/typescript": "^8.3.3", "@stylable/code-formatter": "^5.17.0", "@stylable/core": "^5.17.0", "@tokey/core": "^1.4.0", "@tokey/css-selector-parser": "^0.6.2", "@tokey/css-value-parser": "^0.1.4", "css-selector-tokenizer": "^0.8.0", - "postcss": "^8.4.31", + "postcss": "^8.4.32", "postcss-value-parser": "^4.2.0", - "vscode-css-languageservice": "^6.2.9", + "vscode-css-languageservice": "^6.2.11", "vscode-languageserver": "^9.0.1", "vscode-languageserver-textdocument": "^1.0.11", "vscode-uri": "^3.0.8" @@ -8029,7 +8201,7 @@ "@stylable/core": "^5.17.0", "@tokey/css-selector-parser": "^0.6.2", "csso": "^5.0.5", - "postcss": "^8.4.31" + "postcss": "^8.4.32" } }, "@stylable/rollup-plugin": { @@ -8086,7 +8258,7 @@ "@stylable/runtime": "^5.17.0", "decache": "^4.6.2", "lodash.clonedeep": "^4.5.0", - "postcss": "^8.4.31" + "postcss": "^8.4.32" } }, "@tokey/core": { @@ -8119,86 +8291,86 @@ } }, "@types/balanced-match": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@types/balanced-match/-/balanced-match-1.0.4.tgz", - "integrity": "sha512-sLf9sSU59HlbUuaHGkWRp7T9fEoVQALBeu5gtXTU6NhSAIazEsPTJmnYuqo+0ZsgWw7e63r478wo8ba5r5dL5A==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@types/balanced-match/-/balanced-match-3.0.2.tgz", + "integrity": "sha512-It1j6doJHkoGoxfOj3c7sHVHQXYMHo3c0kpcnPhEO4KfitNE5SqiSGKV0Hx5/cwyYKJfEhin0tZYBmqpjEcavw==", "dev": true }, "@types/chai": { - "version": "4.3.6", - "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.6.tgz", - "integrity": "sha512-VOVRLM1mBxIRxydiViqPcKn6MIxZytrbMpd6RJLIWKxUNr3zux8no0Oc7kJx0WAPIitgZ0gkrDS+btlqQpubpw==", + "version": "4.3.11", + "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.11.tgz", + "integrity": "sha512-qQR1dr2rGIHYlJulmr8Ioq3De0Le9E4MJ5AiaeAETJJpndT1uUNHsGFK3L/UIu+rbkQSdj8J/w2bCsBZc/Y5fQ==", "dev": true }, "@types/chai-subset": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/@types/chai-subset/-/chai-subset-1.3.3.tgz", - "integrity": "sha512-frBecisrNGz+F4T6bcc+NLeolfiojh5FxW2klu669+8BARtyQv2C/GkNW6FUodVe4BroGMP/wER/YDGc7rEllw==", + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/@types/chai-subset/-/chai-subset-1.3.5.tgz", + "integrity": "sha512-c2mPnw+xHtXDoHmdtcCXGwyLMiauiAyxWMzhGpqHC4nqI/Y5G2XhTampslK2rb59kpcuHon03UH8W6iYUzw88A==", "dev": true, "requires": { "@types/chai": "*" } }, "@types/css-selector-tokenizer": { - "version": "0.7.2", - "resolved": "https://registry.npmjs.org/@types/css-selector-tokenizer/-/css-selector-tokenizer-0.7.2.tgz", - "integrity": "sha512-A4qDojfgYrQOsoqgrt657/MskGgBOtDyuXVqqitafDgkdAeJk0XJsOlXI1IfuOLrvNvP7XDIRfNTmY7KZ0WRcw==", + "version": "0.7.4", + "resolved": "https://registry.npmjs.org/@types/css-selector-tokenizer/-/css-selector-tokenizer-0.7.4.tgz", + "integrity": "sha512-X/on8gnLmrSHASIouMtbsctR1Bwgf+ceqbwALnsLjK1WbQUpCWLVgoNCMM39D1T9IdmAGL5teQWx6W4gaIHrKQ==", "dev": true }, "@types/css-tree": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/@types/css-tree/-/css-tree-2.3.2.tgz", - "integrity": "sha512-B5nF6h7xxpMLvZ1pzugAYUGj1aw4KgTpXZzOijkDMRzey4SlFi0jVWb3o0SS1CVSxyBciltVgjt67CwrgjmlWA==", + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/@types/css-tree/-/css-tree-2.3.4.tgz", + "integrity": "sha512-wdxxe7zEpOXfy5C3FmwinAIc/6p6du/wOKMGZf07JHuHHRIvLtLq8h66zi3Yn7PCyswxbp3Ujx9h+vSuMvfN/w==", "dev": true }, "@types/cssesc": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@types/cssesc/-/cssesc-3.0.0.tgz", - "integrity": "sha512-4mBnOrTpVKn+tYzlnMO7cwDkDa6wlQ2bBXW+79/6ahMd36GF216kxWYxgz+S4d5Ev1ByFbnQbPGxV4P5BSL8MA==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@types/cssesc/-/cssesc-3.0.2.tgz", + "integrity": "sha512-Qii6nTRktvtI380EloxH/V7MwgrYxkPgBI+NklUjQuhzgAd1AqT3QDJd+eD+0doRADgfwvtagLRo7JFa7aMHXg==", "dev": true }, "@types/csso": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/@types/csso/-/csso-5.0.1.tgz", - "integrity": "sha512-J8J8XeIjw9QD0D0rxuaiaSepaXn7Hu9h1AaSSrZiG4HssKnRg3+PyI90r0BpW10OIZsx8tW4ZXfYiAVJKGwsrQ==", + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/@types/csso/-/csso-5.0.4.tgz", + "integrity": "sha512-W/FsRkm/9c04x9ON+bj+HQ0cSgNkG1LvcfuBCpkP7cpikM7+RkrNFLGtiofb++xBG6KGMUycLoDbi9/K621ZCw==", "dev": true, "requires": { "@types/css-tree": "*" } }, "@types/eslint": { - "version": "8.44.2", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.44.2.tgz", - "integrity": "sha512-sdPRb9K6iL5XZOmBubg8yiFp5yS/JdUDQsq5e6h95km91MCYMuvp7mh1fjPEYUhvHepKpZOjnEaMBR4PxjWDzg==", + "version": "8.56.0", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.56.0.tgz", + "integrity": "sha512-FlsN0p4FhuYRjIxpbdXovvHQhtlG05O1GG/RNWvdAxTboR438IOTwmrY/vLA+Xfgg06BTkP045M3vpFwTMv1dg==", "requires": { "@types/estree": "*", "@types/json-schema": "*" } }, "@types/eslint-scope": { - "version": "3.7.4", - "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.4.tgz", - "integrity": "sha512-9K4zoImiZc3HlIp6AVUDE4CWYx22a+lhSZMYNpbjW04+YF0KWj4pJXnEMjdnFTiQibFFmElcsasJXDbdI/EPhA==", + "version": "3.7.7", + "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.7.tgz", + "integrity": "sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==", "requires": { "@types/eslint": "*", "@types/estree": "*" } }, "@types/estree": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.1.tgz", - "integrity": "sha512-LG4opVs2ANWZ1TJoKc937iMmNstM/d0ae1vNbnBvBhqCSezgVUOzcLCqbI5elV8Vy6WKwKjaqR+zO9VKirBBCA==" + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz", + "integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==" }, "@types/find-config": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@types/find-config/-/find-config-1.0.2.tgz", - "integrity": "sha512-ipWGLU8pu1+pL6IDRi4q/JpNvxaONv+9Bjmy+IkqS1hzuixdRf4Qv1bRJ3hLf0k7fmQBXUfSlmyBqzNG0oHIBQ==", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@types/find-config/-/find-config-1.0.4.tgz", + "integrity": "sha512-BCXaKgzHK7KnfCQBRQBWGTA+QajOE9uFolXPt+9EktiiMS56D8oXF2ZCh9eCxuEyfqDmX/mYIcmWg9j9f659eg==", "dev": true }, "@types/flat": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/@types/flat/-/flat-5.0.3.tgz", - "integrity": "sha512-uG/4x6EXYbq4VDsBJLNDHQAQmtRPg3x4tAXcBspxlnEknz8NiJxnHoxSiJKGNExiS00q4mJNvuEBgVA3jsDIdQ==", + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/@types/flat/-/flat-5.0.5.tgz", + "integrity": "sha512-nPLljZQKSnac53KDUDzuzdRfGI0TDb5qPrb+SrQyN3MtdQrOnGsKniHN1iYZsJEBIVQve94Y6gNz22sgISZq+Q==", "dev": true }, "@types/html-minifier-terser": { @@ -8208,118 +8380,118 @@ "dev": true }, "@types/istanbul-lib-coverage": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz", - "integrity": "sha512-z/QT1XN4K4KYuslS23k62yDIDLwLFkzxOuMplDtObz0+y7VqJCaO2o+SPwHCvLFZh7xazvvoor2tA/hPz9ee7g==", + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.6.tgz", + "integrity": "sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==", "dev": true }, "@types/js-beautify": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/@types/js-beautify/-/js-beautify-1.14.1.tgz", - "integrity": "sha512-pjbakQH0LywQL0wUFIWbxr5GZTnnqMD5wavqOpf61xz83V3V1uyhyPSWWNSoXZ153TF3XBgRTa07W1XDgFNYfw==", + "version": "1.14.3", + "resolved": "https://registry.npmjs.org/@types/js-beautify/-/js-beautify-1.14.3.tgz", + "integrity": "sha512-FMbQHz+qd9DoGvgLHxeqqVPaNRffpIu5ZjozwV8hf9JAGpIOzuAf4wGbRSo8LNITHqGjmmVjaMggTT5P4v4IHg==", "dev": true }, "@types/json-schema": { - "version": "7.0.13", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.13.tgz", - "integrity": "sha512-RbSSoHliUbnXj3ny0CNFOoxrIDV6SUGyStHsvDqosw6CkdPV8TtWGlfecuK4ToyMEAql6pzNxgCFKanovUzlgQ==" + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==" }, "@types/lodash": { - "version": "4.14.198", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.198.tgz", - "integrity": "sha512-trNJ/vtMZYMLhfN45uLq4ShQSw0/S7xCTLLVM+WM1rmFpba/VS42jVUgaO3w/NOLiWR/09lnYk0yMaA/atdIsg==", + "version": "4.14.202", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.202.tgz", + "integrity": "sha512-OvlIYQK9tNneDlS0VN54LLd5uiPCBOp7gS5Z0f1mjoJYBrtStzgmJBxONW3U6OZqdtNzZPmn9BS/7WI7BFFcFQ==", "dev": true }, "@types/lodash.camelcase": { - "version": "4.3.7", - "resolved": "https://registry.npmjs.org/@types/lodash.camelcase/-/lodash.camelcase-4.3.7.tgz", - "integrity": "sha512-Nfi6jpo9vuEOSIJP+mpbTezKyEt75DQlbwjiDvs/JctWkbnHDoyQo5lWqdvgNiJmVUjcmkfvlrvSEgJYvurOKg==", + "version": "4.3.9", + "resolved": "https://registry.npmjs.org/@types/lodash.camelcase/-/lodash.camelcase-4.3.9.tgz", + "integrity": "sha512-ys9/hGBfsKxzmFI8hckII40V0ASQ83UM2pxfQRghHAwekhH4/jWtjz/3/9YDy7ZpUd/H0k2STSqmPR28dnj7Zg==", "dev": true, "requires": { "@types/lodash": "*" } }, "@types/lodash.clonedeep": { - "version": "4.5.7", - "resolved": "https://registry.npmjs.org/@types/lodash.clonedeep/-/lodash.clonedeep-4.5.7.tgz", - "integrity": "sha512-ccNqkPptFIXrpVqUECi60/DFxjNKsfoQxSQsgcBJCX/fuX1wgyQieojkcWH/KpE3xzLoWN/2k+ZeGqIN3paSvw==", + "version": "4.5.9", + "resolved": "https://registry.npmjs.org/@types/lodash.clonedeep/-/lodash.clonedeep-4.5.9.tgz", + "integrity": "sha512-19429mWC+FyaAhOLzsS8kZUsI+/GmBAQ0HFiCPsKGU+7pBXOQWhyrY6xNNDwUSX8SMZMJvuFVMF9O5dQOlQK9Q==", "dev": true, "requires": { "@types/lodash": "*" } }, "@types/lodash.clonedeepwith": { - "version": "4.5.7", - "resolved": "https://registry.npmjs.org/@types/lodash.clonedeepwith/-/lodash.clonedeepwith-4.5.7.tgz", - "integrity": "sha512-QPCMby+Glpme6mv/ds4YUSP06bD0FdRVzYF9NjfAP/cKFyjj3BV8bDodx1Npqf/M979WNds1r6K1I7cFwBTmWA==", + "version": "4.5.9", + "resolved": "https://registry.npmjs.org/@types/lodash.clonedeepwith/-/lodash.clonedeepwith-4.5.9.tgz", + "integrity": "sha512-bruhfxIJlj36oWYmYQ7KFbylCGgzyIi+TLypub+wcAd29mV4llKdvru8Pp9qwILX//I5vK3FIcJ0VzszElhLuA==", "dev": true, "requires": { "@types/lodash": "*" } }, "@types/lodash.findlast": { - "version": "4.6.7", - "resolved": "https://registry.npmjs.org/@types/lodash.findlast/-/lodash.findlast-4.6.7.tgz", - "integrity": "sha512-QP9cSvp2creZZlRHdfz/S1v70ctGShDiK/NdJGQZwhD+IOWmjBO8ldIVEi8La6GTgfyC2ZtIMX3USOvBFYorNg==", + "version": "4.6.9", + "resolved": "https://registry.npmjs.org/@types/lodash.findlast/-/lodash.findlast-4.6.9.tgz", + "integrity": "sha512-mP9/ZOWgVpYTreiKROJKYJxyqA/OBxDPuHEs4xxVBPSJtKZqZgjBwFmPXygQJceGyW0DGxp7zkc5LgCQFDrgjw==", "dev": true, "requires": { "@types/lodash": "*" } }, "@types/lodash.upperfirst": { - "version": "4.3.7", - "resolved": "https://registry.npmjs.org/@types/lodash.upperfirst/-/lodash.upperfirst-4.3.7.tgz", - "integrity": "sha512-CrBjoB4lO6h7tXNMBUl1eh/w0KdMosiEOXOoD5DMECsA/kDWo/WQfOt1KyGKVvgwK3I6cKAY6z8LymKiMazLFg==", + "version": "4.3.9", + "resolved": "https://registry.npmjs.org/@types/lodash.upperfirst/-/lodash.upperfirst-4.3.9.tgz", + "integrity": "sha512-bYhT1QEsk9/ggrFjK86Pb5bnKJgTBbpVA77Ygbb1aW1oiWJNGRbVjSlQ9We/ihB9vVpX5WqDJvbISXlukGR+dQ==", "dev": true, "requires": { "@types/lodash": "*" } }, "@types/memory-fs": { - "version": "0.3.4", - "resolved": "https://registry.npmjs.org/@types/memory-fs/-/memory-fs-0.3.4.tgz", - "integrity": "sha512-0478LWAQArPMJt1gRglVEZcHyqBdIG+pbTWG+tOrt0XwlfCh+2cpfCe93UnJ8G0q8ZXXA8LI37o5sz91unQcZQ==", + "version": "0.3.7", + "resolved": "https://registry.npmjs.org/@types/memory-fs/-/memory-fs-0.3.7.tgz", + "integrity": "sha512-wCRjyqBTpCsnPWDjYkG8x1Ym0ylHUXu2loom+CIXoP9syXvLAROnfghoNKAMSxvetmRXThMd1XSK2AffVT1WMQ==", "dev": true, "requires": { "@types/node": "*" } }, "@types/mime": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@types/mime/-/mime-3.0.2.tgz", - "integrity": "sha512-Wj+fqpTLtTbG7c0tH47dkahefpLKEbB+xAZuLq7b4/IDHPl/n6VoXcyUQ2bypFlbSwvCr0y+bD4euTTqTJsPxQ==", + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@types/mime/-/mime-3.0.4.tgz", + "integrity": "sha512-iJt33IQnVRkqeqC7PzBHPTC6fDlRNRW8vjrgqtScAhrmMwe8c4Eo7+fUGTa+XdWrpEgpyKWMYmi2dIwMAYRzPw==", "dev": true }, "@types/mocha": { - "version": "10.0.2", - "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.2.tgz", - "integrity": "sha512-NaHL0+0lLNhX6d9rs+NSt97WH/gIlRHmszXbQ/8/MV/eVcFNdeJ/GYhrFuUc8K7WuPhRhTSdMkCp8VMzhUq85w==", + "version": "10.0.6", + "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.6.tgz", + "integrity": "sha512-dJvrYWxP/UcXm36Qn36fxhUKu8A/xMRXVT2cliFF1Z7UA9liG5Psj3ezNSZw+5puH2czDXRLcXQxf8JbJt0ejg==", "dev": true }, "@types/node": { - "version": "14.18.59", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.59.tgz", - "integrity": "sha512-NWJMpBL2Xs3MY93yrD6YrrTKep8eIA6iMnfG4oIc6LrTRlBZgiSCGiY3V/Owlp6umIBLyKb4F8Q7hxWatjYH5A==" + "version": "14.18.63", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.63.tgz", + "integrity": "sha512-fAtCfv4jJg+ExtXhvCkCqUKZ+4ok/JQk01qDKhL5BDDoS3AxKXhV5/MAVUZyQnSEd2GT92fkgZl0pz0Q0AzcIQ==" }, "@types/postcss-safe-parser": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/@types/postcss-safe-parser/-/postcss-safe-parser-5.0.2.tgz", - "integrity": "sha512-NgpL+Hqcrr+kdQFJCPi2X4nOAAnaNghJyXLR0kgM2soUPg3rwO9uZ4eXP/TRSpfN9U+rT7+hOwaSP/ESL7mR0A==", + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/@types/postcss-safe-parser/-/postcss-safe-parser-5.0.4.tgz", + "integrity": "sha512-5zGTm1jsW3j4+omgND1SIDbrZOcigTuxa4ihppvKbLkg2INUGBHV/fWNRSRFibK084tU3fxqZ/kVoSIGqRHnrQ==", "dev": true, "requires": { "postcss": "^8.4.4" } }, "@types/prop-types": { - "version": "15.7.5", - "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.5.tgz", - "integrity": "sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w==", + "version": "15.7.11", + "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.11.tgz", + "integrity": "sha512-ga8y9v9uyeiLdpKddhxYQkxNDrfvuPrlFb0N1qnZZByvcElJaXthF1UhvCh9TLWJBEHeNtdnbysW7Y6Uq8CVng==", "dev": true }, "@types/react": { - "version": "18.2.25", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.25.tgz", - "integrity": "sha512-24xqse6+VByVLIr+xWaQ9muX1B4bXJKXBbjszbld/UEDslGLY53+ZucF44HCmLbMPejTzGG9XgR+3m2/Wqu1kw==", + "version": "18.2.46", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.46.tgz", + "integrity": "sha512-nNCvVBcZlvX4NU1nRRNV/mFl1nNRuTuslAJglQsq+8ldXe5Xv0Wd2f7WTE3jOxhLH2BFfiZGC6GCp+kHQbgG+w==", "dev": true, "requires": { "@types/prop-types": "*", @@ -8328,9 +8500,9 @@ } }, "@types/react-dom": { - "version": "18.2.10", - "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.10.tgz", - "integrity": "sha512-5VEC5RgXIk1HHdyN1pHlg0cOqnxHzvPGpMMyGAP5qSaDRmyZNDaQ0kkVAkK6NYlDhP6YBID3llaXlmAS/mdgCA==", + "version": "18.2.18", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.18.tgz", + "integrity": "sha512-TJxDm6OfAX2KJWJdMEVTwWke5Sc/E/RlnPGvGfS0W7+6ocy2xhDVQVh/KvC2Uf7kACs+gDytdusDSdWfWkaNzw==", "dev": true, "requires": { "@types/react": "*" @@ -8343,35 +8515,35 @@ "dev": true }, "@types/scheduler": { - "version": "0.16.3", - "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.3.tgz", - "integrity": "sha512-5cJ8CB4yAx7BH1oMvdU0Jh9lrEXyPkar6F9G/ERswkCuvP4KQZfZkSjcMbAICCpQTN4OuZn8tz0HiKv9TGZgrQ==", + "version": "0.16.8", + "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.8.tgz", + "integrity": "sha512-WZLiwShhwLRmeV6zH+GkbOFT6Z6VklCItrDioxUnv+u4Ll+8vKeFySoFyK/0ctcRpOmwAicELfmys1sDc/Rw+A==", "dev": true }, "@types/semver": { - "version": "7.5.3", - "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.3.tgz", - "integrity": "sha512-OxepLK9EuNEIPxWNME+C6WwbRAOOI2o2BaQEGzz5Lu2e4Z5eDnEo+/aVEDMIXywoJitJ7xWd641wrGLZdtwRyw==" + "version": "7.5.6", + "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.6.tgz", + "integrity": "sha512-dn1l8LaMea/IjDoHNd9J52uBbInB796CDffS6VdIxvqYCPSG0V0DzHp76GpaWnlhg88uYyPbXCDIowa86ybd5A==" }, "@types/validate-npm-package-name": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@types/validate-npm-package-name/-/validate-npm-package-name-4.0.0.tgz", - "integrity": "sha512-RpO62vB2lkjEkyLbwTheA2+uwYmtVMWTr/kWRI++UAgVdZqNqdAuIQl/SxBCGeMKfdjWaXPbyhZbiCc4PAj+KA==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@types/validate-npm-package-name/-/validate-npm-package-name-4.0.2.tgz", + "integrity": "sha512-lrpDziQipxCEeK5kWxvljWYhUvOiB2A9izZd9B2AFarYAkqZshb4lPbRs7zKEic6eGtH8V/2qJW+dPp9OtF6bw==", "dev": true }, "@types/yargs": { - "version": "17.0.26", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.26.tgz", - "integrity": "sha512-Y3vDy2X6zw/ZCumcwLpdhM5L7jmyGpmBCTYMHDLqT2IKVMYRRLdv6ZakA+wxhra6Z/3bwhNbNl9bDGXaFU+6rw==", + "version": "17.0.32", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.32.tgz", + "integrity": "sha512-xQ67Yc/laOG5uMfX/093MRlGGCIBzZMarVa+gfNKJxWAIgykYpVGkBdbqEzGDDfCrVUj6Hiff4mTZ5BA6TmAog==", "dev": true, "requires": { "@types/yargs-parser": "*" } }, "@types/yargs-parser": { - "version": "21.0.0", - "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.0.tgz", - "integrity": "sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA==", + "version": "21.0.3", + "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.3.tgz", + "integrity": "sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==", "dev": true }, "@typescript-eslint/eslint-plugin": { @@ -8468,6 +8640,11 @@ "eslint-visitor-keys": "^3.3.0" } }, + "@ungap/structured-clone": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz", + "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==" + }, "@vscode/l10n": { "version": "0.0.16", "resolved": "https://registry.npmjs.org/@vscode/l10n/-/l10n-0.0.16.tgz", @@ -8646,21 +8823,15 @@ "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz", "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==" }, - "abab": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.6.tgz", - "integrity": "sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==", - "dev": true - }, "abbrev": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", - "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==" + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-2.0.0.tgz", + "integrity": "sha512-6/mh1E2u2YgEsCHdY0Yx5oW+61gZU+1vXaoiHHrpKeuRNNgFvS+/jrwHiQhB5apAf5oB7UB7E19ol2R2LKH8hQ==" }, "acorn": { - "version": "8.10.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.10.0.tgz", - "integrity": "sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==" + "version": "8.11.3", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz", + "integrity": "sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==" }, "acorn-import-assertions": { "version": "1.9.0", @@ -8856,14 +9027,14 @@ "dev": true }, "browserslist": { - "version": "4.21.10", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.10.tgz", - "integrity": "sha512-bipEBdZfVH5/pwrvqc+Ub0kUPVfGUhlKxbvfD+z1BDnPEO/X98ruXGA1WP5ASpAFKan7Qr6j736IacbZQuAlKQ==", + "version": "4.22.2", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.22.2.tgz", + "integrity": "sha512-0UgcrvQmBDvZHFGdYUehrCNIazki7/lUP3kkoi/r3YB2amZbFM9J43ZRkJTXBUZK4gmx56+Sqk9+Vs9mwZx9+A==", "requires": { - "caniuse-lite": "^1.0.30001517", - "electron-to-chromium": "^1.4.477", - "node-releases": "^2.0.13", - "update-browserslist-db": "^1.0.11" + "caniuse-lite": "^1.0.30001565", + "electron-to-chromium": "^1.4.601", + "node-releases": "^2.0.14", + "update-browserslist-db": "^1.0.13" } }, "buffer-from": { @@ -8917,13 +9088,14 @@ } }, "call-bind": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", - "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.5.tgz", + "integrity": "sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ==", "dev": true, "requires": { - "function-bind": "^1.1.1", - "get-intrinsic": "^1.0.2" + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.1", + "set-function-length": "^1.1.1" } }, "callsite": { @@ -8958,9 +9130,9 @@ "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==" }, "caniuse-lite": { - "version": "1.0.30001546", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001546.tgz", - "integrity": "sha512-zvtSJwuQFpewSyRrI3AsftF6rM0X80mZkChIt1spBGEvRglCrjTniXvinc8JKRoqTwXAgvqTImaN9igfSMtUBw==" + "version": "1.0.30001572", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001572.tgz", + "integrity": "sha512-1Pbh5FLmn5y4+QhNyJE9j3/7dK44dGB83/ZMjv/qJk86TvDbjk0LosiZo0i0WB0Vx607qMX9jYrn1VLHCkN4rw==" }, "chai": { "version": "4.3.10", @@ -9032,9 +9204,9 @@ "integrity": "sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==" }, "clean-css": { - "version": "5.3.2", - "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.3.2.tgz", - "integrity": "sha512-JVJbM+f3d3Q704rF4bqQ5UUyTtuJ0JRKNbTKVEeujCCBoMdkEi+V+e8oktO9qGQNSvHrFTM6JZRXrUvGR1czww==", + "version": "5.3.3", + "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.3.3.tgz", + "integrity": "sha512-D5J+kHaVb/wKSFcyyV75uCn8fiY4sV38XJoe4CUyGQ+mOU/fMVYUdH1hJC+CJQ5uY3EnW27SbJYS4X8BiLrAFg==", "dev": true, "requires": { "source-map": "~0.6.0" @@ -9092,9 +9264,9 @@ } }, "convert-source-map": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz", - "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", "dev": true }, "create-listening-server": { @@ -9186,9 +9358,9 @@ } }, "csstype": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.2.tgz", - "integrity": "sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==", + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz", + "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==", "dev": true }, "debug": { @@ -9233,9 +9405,9 @@ "dev": true }, "define-data-property": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.0.tgz", - "integrity": "sha512-UzGwzcjyv3OtAvolTj1GoyNYzfFR+iqbGjcnBEENZVCpM4/Ng1yhGNvS3lR/xDS74Tb2wGG9WzNSNIOS9UVb2g==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.1.tgz", + "integrity": "sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ==", "dev": true, "requires": { "get-intrinsic": "^1.2.1", @@ -9377,9 +9549,9 @@ } }, "electron-to-chromium": { - "version": "1.4.520", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.520.tgz", - "integrity": "sha512-Frfus2VpYADsrh1lB3v/ft/WVFlVzOIm+Q0p7U7VqHI6qr7NWHYKe+Wif3W50n7JAFoBsWVsoU0+qDks6WQ60g==" + "version": "1.4.616", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.616.tgz", + "integrity": "sha512-1n7zWYh8eS0L9Uy+GskE0lkBUNK83cXTVJI0pU3mGprFsbfSdAc15VTFbo+A+Bq4pwstmL30AVcEU3Fo463lNg==" }, "emoji-regex": { "version": "8.0.0", @@ -9417,26 +9589,26 @@ } }, "es-abstract": { - "version": "1.22.1", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.22.1.tgz", - "integrity": "sha512-ioRRcXMO6OFyRpyzV3kE1IIBd4WG5/kltnzdxSCqoP8CMGs/Li+M1uF5o7lOkZVFjDs+NLesthnF66Pg/0q0Lw==", + "version": "1.22.3", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.22.3.tgz", + "integrity": "sha512-eiiY8HQeYfYH2Con2berK+To6GrK2RxbPawDkGq4UiCQQfZHb6wX9qQqkbpPqaxQFcl8d9QzZqo0tGE0VcrdwA==", "dev": true, "requires": { "array-buffer-byte-length": "^1.0.0", - "arraybuffer.prototype.slice": "^1.0.1", + "arraybuffer.prototype.slice": "^1.0.2", "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.2", + "call-bind": "^1.0.5", "es-set-tostringtag": "^2.0.1", "es-to-primitive": "^1.2.1", - "function.prototype.name": "^1.1.5", - "get-intrinsic": "^1.2.1", + "function.prototype.name": "^1.1.6", + "get-intrinsic": "^1.2.2", "get-symbol-description": "^1.0.0", "globalthis": "^1.0.3", "gopd": "^1.0.1", - "has": "^1.0.3", "has-property-descriptors": "^1.0.0", "has-proto": "^1.0.1", "has-symbols": "^1.0.3", + "hasown": "^2.0.0", "internal-slot": "^1.0.5", "is-array-buffer": "^3.0.2", "is-callable": "^1.2.7", @@ -9444,39 +9616,39 @@ "is-regex": "^1.1.4", "is-shared-array-buffer": "^1.0.2", "is-string": "^1.0.7", - "is-typed-array": "^1.1.10", + "is-typed-array": "^1.1.12", "is-weakref": "^1.0.2", - "object-inspect": "^1.12.3", + "object-inspect": "^1.13.1", "object-keys": "^1.1.1", "object.assign": "^4.1.4", - "regexp.prototype.flags": "^1.5.0", - "safe-array-concat": "^1.0.0", + "regexp.prototype.flags": "^1.5.1", + "safe-array-concat": "^1.0.1", "safe-regex-test": "^1.0.0", - "string.prototype.trim": "^1.2.7", - "string.prototype.trimend": "^1.0.6", - "string.prototype.trimstart": "^1.0.6", + "string.prototype.trim": "^1.2.8", + "string.prototype.trimend": "^1.0.7", + "string.prototype.trimstart": "^1.0.7", "typed-array-buffer": "^1.0.0", "typed-array-byte-length": "^1.0.0", "typed-array-byte-offset": "^1.0.0", "typed-array-length": "^1.0.4", "unbox-primitive": "^1.0.2", - "which-typed-array": "^1.1.10" + "which-typed-array": "^1.1.13" } }, "es-module-lexer": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.3.1.tgz", - "integrity": "sha512-JUFAyicQV9mXc3YRxPnDlrfBKpqt6hUYzz9/boprUJHs4e4KVr3XwOF70doO6gwXUor6EWZJAyWAfKki84t20Q==" + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.4.1.tgz", + "integrity": "sha512-cXLGjP0c4T3flZJKQSuziYoq7MlT+rnvfZjfp7h+I7K9BNX54kP9nyWvdbwjQ4u1iWbOL4u96fgeZLToQlZC7w==" }, "es-set-tostringtag": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.1.tgz", - "integrity": "sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.2.tgz", + "integrity": "sha512-BuDyupZt65P9D2D2vA/zqcI3G5xRsklm5N3xCwuiy+/vKy8i0ifdsQP1sLgO4tZDSCaQUSnmC48khknGMV3D2Q==", "dev": true, "requires": { - "get-intrinsic": "^1.1.3", - "has": "^1.0.3", - "has-tostringtag": "^1.0.0" + "get-intrinsic": "^1.2.2", + "has-tostringtag": "^1.0.0", + "hasown": "^2.0.0" } }, "es-to-primitive": { @@ -9491,33 +9663,34 @@ } }, "esbuild": { - "version": "0.19.3", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.19.3.tgz", - "integrity": "sha512-UlJ1qUUA2jL2nNib1JTSkifQTcYTroFqRjwCFW4QYEKEsixXD5Tik9xML7zh2gTxkYTBKGHNH9y7txMwVyPbjw==", + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.19.11.tgz", + "integrity": "sha512-HJ96Hev2hX/6i5cDVwcqiJBBtuo9+FeIJOtZ9W1kA5M6AMJRHUZlpYZ1/SbEwtO0ioNAW8rUooVpC/WehY2SfA==", "peer": true, "requires": { - "@esbuild/android-arm": "0.19.3", - "@esbuild/android-arm64": "0.19.3", - "@esbuild/android-x64": "0.19.3", - "@esbuild/darwin-arm64": "0.19.3", - "@esbuild/darwin-x64": "0.19.3", - "@esbuild/freebsd-arm64": "0.19.3", - "@esbuild/freebsd-x64": "0.19.3", - "@esbuild/linux-arm": "0.19.3", - "@esbuild/linux-arm64": "0.19.3", - "@esbuild/linux-ia32": "0.19.3", - "@esbuild/linux-loong64": "0.19.3", - "@esbuild/linux-mips64el": "0.19.3", - "@esbuild/linux-ppc64": "0.19.3", - "@esbuild/linux-riscv64": "0.19.3", - "@esbuild/linux-s390x": "0.19.3", - "@esbuild/linux-x64": "0.19.3", - "@esbuild/netbsd-x64": "0.19.3", - "@esbuild/openbsd-x64": "0.19.3", - "@esbuild/sunos-x64": "0.19.3", - "@esbuild/win32-arm64": "0.19.3", - "@esbuild/win32-ia32": "0.19.3", - "@esbuild/win32-x64": "0.19.3" + "@esbuild/aix-ppc64": "0.19.11", + "@esbuild/android-arm": "0.19.11", + "@esbuild/android-arm64": "0.19.11", + "@esbuild/android-x64": "0.19.11", + "@esbuild/darwin-arm64": "0.19.11", + "@esbuild/darwin-x64": "0.19.11", + "@esbuild/freebsd-arm64": "0.19.11", + "@esbuild/freebsd-x64": "0.19.11", + "@esbuild/linux-arm": "0.19.11", + "@esbuild/linux-arm64": "0.19.11", + "@esbuild/linux-ia32": "0.19.11", + "@esbuild/linux-loong64": "0.19.11", + "@esbuild/linux-mips64el": "0.19.11", + "@esbuild/linux-ppc64": "0.19.11", + "@esbuild/linux-riscv64": "0.19.11", + "@esbuild/linux-s390x": "0.19.11", + "@esbuild/linux-x64": "0.19.11", + "@esbuild/netbsd-x64": "0.19.11", + "@esbuild/openbsd-x64": "0.19.11", + "@esbuild/sunos-x64": "0.19.11", + "@esbuild/win32-arm64": "0.19.11", + "@esbuild/win32-ia32": "0.19.11", + "@esbuild/win32-x64": "0.19.11" } }, "escalade": { @@ -9531,17 +9704,18 @@ "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==" }, "eslint": { - "version": "8.50.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.50.0.tgz", - "integrity": "sha512-FOnOGSuFuFLv/Sa+FDVRZl4GGVAAFFi8LecRsI5a1tMO5HIE8nCm4ivAlzt4dT3ol/PaaGC0rJEEXQmHJBGoOg==", + "version": "8.56.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.56.0.tgz", + "integrity": "sha512-Go19xM6T9puCOWntie1/P997aXxFsOi37JIHRWI514Hc6ZnaHGKY9xFhrU65RT6CcBEzZoGG1e6Nq+DT04ZtZQ==", "requires": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", - "@eslint/eslintrc": "^2.1.2", - "@eslint/js": "8.50.0", - "@humanwhocodes/config-array": "^0.11.11", + "@eslint/eslintrc": "^2.1.4", + "@eslint/js": "8.56.0", + "@humanwhocodes/config-array": "^0.11.13", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", + "@ungap/structured-clone": "^1.2.0", "ajv": "^6.12.4", "chalk": "^4.0.0", "cross-spawn": "^7.0.2", @@ -9591,9 +9765,9 @@ } }, "eslint-config-prettier": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-9.0.0.tgz", - "integrity": "sha512-IcJsTkJae2S35pRsRAwoCE+925rJJStOdkKnLVgtE+tEpqU0EVVM7OqrwxqgptKdX29NUwC82I5pXsGFIgSevw==", + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-9.1.0.tgz", + "integrity": "sha512-NSWl5BFQWEPi1j4TjVNItzYV7dZXZ+wP6I6ZhrBGpChQhZRUaElihE9uRRkcbRnNb76UMKDF3r+WTmNcGPKsqw==", "dev": true, "requires": {} }, @@ -9685,9 +9859,9 @@ "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" }, "fast-glob": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.1.tgz", - "integrity": "sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==", + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", + "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", "requires": { "@nodelib/fs.stat": "^2.0.2", "@nodelib/fs.walk": "^1.2.3", @@ -9722,9 +9896,9 @@ "integrity": "sha512-483XLLxTVIwWK3QTrMGRqUfUpoOs/0hbQrl2oz4J0pAcm3A3bu84wxTFqGqkJzewCLdME38xJLJAxBABfQT8sQ==" }, "fastq": { - "version": "1.15.0", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz", - "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==", + "version": "1.16.0", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.16.0.tgz", + "integrity": "sha512-ifCoaXsDrsdkWTtiNJX5uzHDsrck5TzfKKDcuFFTIrrc/BS076qgEIfoIy1VeZqViznfKiysPYTh/QeHtnIsYA==", "requires": { "reusify": "^1.0.4" } @@ -9778,11 +9952,11 @@ "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==" }, "flat-cache": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.1.0.tgz", - "integrity": "sha512-OHx4Qwrrt0E4jEIcI5/Xb+f+QmJYNj2rrK8wiIdQOIrB9WrrJL8cjZvXdXuBTkkEwEqLycb5BeZDV1o2i9bTew==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz", + "integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==", "requires": { - "flatted": "^3.2.7", + "flatted": "^3.2.9", "keyv": "^4.5.3", "rimraf": "^3.0.2" }, @@ -9798,9 +9972,9 @@ } }, "flatted": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.7.tgz", - "integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==" + "version": "3.2.9", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.9.tgz", + "integrity": "sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ==" }, "for-each": { "version": "0.3.3", @@ -9822,9 +9996,9 @@ } }, "fraction.js": { - "version": "4.3.6", - "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.3.6.tgz", - "integrity": "sha512-n2aZ9tNfYDwaHhvFTkhFErqOMIb8uyzSQ+vGJBjZyanAKZVbGUQ1sngfk9FdkBw7G26O7AgNjLcecLffD1c7eg==", + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.3.7.tgz", + "integrity": "sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==", "dev": true }, "fs.realpath": { @@ -9839,9 +10013,9 @@ "optional": true }, "function-bind": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", "dev": true }, "function.prototype.name": { @@ -9873,15 +10047,15 @@ "integrity": "sha512-8vXOvuE167CtIc3OyItco7N/dpRtBbYOsPsXCz7X/PMnlGjYjSGuZJgM1Y7mmew7BKf9BqvLX2tnOVy1BBUsxQ==" }, "get-intrinsic": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.1.tgz", - "integrity": "sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw==", + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.2.tgz", + "integrity": "sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA==", "dev": true, "requires": { - "function-bind": "^1.1.1", - "has": "^1.0.3", + "function-bind": "^1.1.2", "has-proto": "^1.0.1", - "has-symbols": "^1.0.3" + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" } }, "get-symbol-description": { @@ -9921,9 +10095,9 @@ "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==" }, "globals": { - "version": "13.21.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.21.0.tgz", - "integrity": "sha512-ybyme3s4yy/t/3s35bewwXKOf7cvzfreG2lH0lZl0JB7I4GxRP2ghxOK/Nb9EkRXdbBXZLfq/p/0W2JUONB/Gg==", + "version": "13.24.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", + "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", "requires": { "type-fest": "^0.20.2" } @@ -9969,15 +10143,6 @@ "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==" }, - "has": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "dev": true, - "requires": { - "function-bind": "^1.1.1" - } - }, "has-bigints": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz", @@ -9990,12 +10155,12 @@ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" }, "has-property-descriptors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz", - "integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.1.tgz", + "integrity": "sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg==", "dev": true, "requires": { - "get-intrinsic": "^1.1.1" + "get-intrinsic": "^1.2.2" } }, "has-proto": { @@ -10019,6 +10184,15 @@ "has-symbols": "^1.0.2" } }, + "hasown": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.0.tgz", + "integrity": "sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==", + "dev": true, + "requires": { + "function-bind": "^1.1.2" + } + }, "he": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", @@ -10053,9 +10227,9 @@ } }, "html-webpack-plugin": { - "version": "5.5.3", - "resolved": "https://registry.npmjs.org/html-webpack-plugin/-/html-webpack-plugin-5.5.3.tgz", - "integrity": "sha512-6YrDKTuqaP/TquFH7h4srYWsZx+x6k6+FbsTm0ziCwGHDP78Unr1r9F/H4+sGmMbX08GQcJ+K64x55b+7VM/jg==", + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/html-webpack-plugin/-/html-webpack-plugin-5.6.0.tgz", + "integrity": "sha512-iwaY4wzbe48AfKLZ/Cc8k0L+FKG6oSNRaZ8x5A/T/IVDGyXcbHncM9TdDa93wn0FsSm82FhTKW7f3vS61thXAw==", "dev": true, "requires": { "@types/html-minifier-terser": "^6.0.0", @@ -10093,9 +10267,9 @@ "requires": {} }, "ignore": { - "version": "5.2.4", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", - "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==" + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.0.tgz", + "integrity": "sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg==" }, "import-fresh": { "version": "3.3.0", @@ -10131,13 +10305,13 @@ "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==" }, "internal-slot": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.5.tgz", - "integrity": "sha512-Y+R5hJrzs52QCG2laLn4udYVnxsfny9CpOhNhUvk/SSSVyF6T27FzRbF0sroPidSu3X8oEAkOn2K804mjpt6UQ==", + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.6.tgz", + "integrity": "sha512-Xj6dv+PsbtwyPpEflsejS+oIZxmMlV44zAhG479uYu89MsjcYOhCFnNyKrkJrihbsiasQyY0afoCl/9BLR65bg==", "dev": true, "requires": { - "get-intrinsic": "^1.2.0", - "has": "^1.0.3", + "get-intrinsic": "^1.2.2", + "hasown": "^2.0.0", "side-channel": "^1.0.4" } }, @@ -10202,12 +10376,12 @@ "dev": true }, "is-core-module": { - "version": "2.13.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.0.tgz", - "integrity": "sha512-Z7dk6Qo8pOCp3l4tsX2C5ZVas4V+UxwQodwZhLopL91TX8UyyHEXafPcyoeeWuLrwzHcr3igO78wNLwHJHsMCQ==", + "version": "2.13.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz", + "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==", "dev": true, "requires": { - "has": "^1.0.3" + "hasown": "^2.0.0" } }, "is-date-object": { @@ -10355,9 +10529,9 @@ "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==" }, "istanbul-lib-coverage": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz", - "integrity": "sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw==", + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz", + "integrity": "sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==", "dev": true }, "istanbul-lib-report": { @@ -10419,14 +10593,14 @@ } }, "js-beautify": { - "version": "1.14.9", - "resolved": "https://registry.npmjs.org/js-beautify/-/js-beautify-1.14.9.tgz", - "integrity": "sha512-coM7xq1syLcMyuVGyToxcj2AlzhkDjmfklL8r0JgJ7A76wyGMpJ1oA35mr4APdYNO/o/4YY8H54NQIJzhMbhBg==", + "version": "1.14.11", + "resolved": "https://registry.npmjs.org/js-beautify/-/js-beautify-1.14.11.tgz", + "integrity": "sha512-rPogWqAfoYh1Ryqqh2agUpVfbxAhbjuN1SmU86dskQUKouRiggUTCO4+2ym9UPXllc2WAp0J+T5qxn7Um3lCdw==", "requires": { "config-chain": "^1.1.13", "editorconfig": "^1.0.3", - "glob": "^8.1.0", - "nopt": "^6.0.0" + "glob": "^10.3.3", + "nopt": "^7.2.0" }, "dependencies": { "brace-expansion": { @@ -10437,25 +10611,39 @@ "balanced-match": "^1.0.0" } }, + "foreground-child": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz", + "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==", + "requires": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + } + }, "glob": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", - "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", + "version": "10.3.10", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz", + "integrity": "sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==", "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^5.0.1", - "once": "^1.3.0" + "foreground-child": "^3.1.0", + "jackspeak": "^2.3.5", + "minimatch": "^9.0.1", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", + "path-scurry": "^1.10.1" } }, "minimatch": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", - "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", "requires": { "brace-expansion": "^2.0.1" } + }, + "signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==" } } }, @@ -10506,9 +10694,9 @@ "dev": true }, "keyv": { - "version": "4.5.3", - "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.3.tgz", - "integrity": "sha512-QCiSav9WaX1PgETJ+SpNnx2PRRapJ/oRSXM4VO5OGYGSjrxbKPVFVhB3l2OCbLCk329N8qyAtsJjSjvVBWzEug==", + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", + "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", "requires": { "json-buffer": "3.0.1" } @@ -10609,11 +10797,11 @@ } }, "loupe": { - "version": "2.3.6", - "resolved": "https://registry.npmjs.org/loupe/-/loupe-2.3.6.tgz", - "integrity": "sha512-RaPMZKiMy8/JruncMU5Bt6na1eftNoo++R4Y+N2FrxkDVTrGvcyzFTsaGif4QTeKESheMGegbhw6iUAq+5A8zA==", + "version": "2.3.7", + "resolved": "https://registry.npmjs.org/loupe/-/loupe-2.3.7.tgz", + "integrity": "sha512-zSMINGVYkdpYSOBmLi0D1Uo7JU9nVdQKrHxC8eYlV+9YKK9WePqAlL7lSlorG/U2Fw1w0hTBmaa/jrQ3UbPHtA==", "requires": { - "get-func-name": "^2.0.0" + "get-func-name": "^2.0.1" } }, "lower-case": { @@ -10902,16 +11090,16 @@ } }, "node-releases": { - "version": "2.0.13", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.13.tgz", - "integrity": "sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ==" + "version": "2.0.14", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.14.tgz", + "integrity": "sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==" }, "nopt": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-6.0.0.tgz", - "integrity": "sha512-ZwLpbTgdhuZUnZzjd7nb1ZV+4DoiC6/sfiVKok72ym/4Tlf+DFdlHYmT2JPmcNNWV6Pi3SDf1kT+A4r9RTuT9g==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-7.2.0.tgz", + "integrity": "sha512-CVDtwCdhYIvnAzFoJ6NJ6dX3oga9/HyciQDnG1vQDjSLMeKLJ4A93ZqYKDrgYSr1FBY5/hMYC+2VCi24pgpkGA==", "requires": { - "abbrev": "^1.0.0" + "abbrev": "^2.0.0" } }, "normalize-package-data": { @@ -11080,9 +11268,9 @@ } }, "object-inspect": { - "version": "1.12.3", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz", - "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==", + "version": "1.13.1", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.1.tgz", + "integrity": "sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==", "dev": true }, "object-keys": { @@ -11092,13 +11280,13 @@ "dev": true }, "object.assign": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.4.tgz", - "integrity": "sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==", + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.5.tgz", + "integrity": "sha512-byy+U7gp+FVwmyzKPYhW2h5l3crpmGsxl7X2s8y43IgxvG4g3QZ6CffDtsNQy1WsmZpQbO+ybo0AlW7TY6DcBQ==", "dev": true, "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", + "call-bind": "^1.0.5", + "define-properties": "^1.2.1", "has-symbols": "^1.0.3", "object-keys": "^1.1.1" } @@ -11214,9 +11402,9 @@ }, "dependencies": { "lru-cache": { - "version": "10.0.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.0.1.tgz", - "integrity": "sha512-IJ4uwUTi2qCccrioU6g9g/5rvvVl13bsdczUUcqbciD9iLr095yj8DQKdObriEvuNSx325N1rV1O0sJFszx75g==" + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.1.0.tgz", + "integrity": "sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag==" } } }, @@ -11253,33 +11441,33 @@ "dev": true }, "playwright-chromium": { - "version": "1.38.1", - "resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.38.1.tgz", - "integrity": "sha512-97Y6+lN3yOETy/yPQK+LqSCBdldLu5Rkm+Tnj2oGQfcbC5P8R3eWund7GxWqiYFnq0GLwZZ8EnhiBShKnCiVjg==", + "version": "1.40.1", + "resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.40.1.tgz", + "integrity": "sha512-3atylP47OCTBW0siGI7LOEG/XKL/vnrFH8xdr4uaTnqMsc0Xq4gOLk2gGwniPJ76LSc++9ASc0w/nfqtLAmm3A==", "dev": true, "requires": { - "playwright-core": "1.38.1" + "playwright-core": "1.40.1" } }, "playwright-core": { - "version": "1.38.1", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.38.1.tgz", - "integrity": "sha512-tQqNFUKa3OfMf4b2jQ7aGLB8o9bS3bOY0yMEtldtC2+spf8QXG9zvXLTXUeRsoNuxEYMgLYR+NXfAa1rjKRcrg==" + "version": "1.40.1", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.40.1.tgz", + "integrity": "sha512-+hkOycxPiV534c4HhpfX6yrlawqVUzITRKwHAmYfmsVreltEl6fAZJ3DPfLMOODw0H3s1Itd6MDCWmP1fl/QvQ==" }, "postcss": { - "version": "8.4.31", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz", - "integrity": "sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==", + "version": "8.4.32", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.32.tgz", + "integrity": "sha512-D/kj5JNu6oo2EIy+XL/26JEDTlIbB8hw85G8StOE6L74RQAVVP5rej6wxCNqyMbR4RkPfqvezVbPw81Ngd6Kcw==", "requires": { - "nanoid": "^3.3.6", + "nanoid": "^3.3.7", "picocolors": "^1.0.0", "source-map-js": "^1.0.2" }, "dependencies": { "nanoid": { - "version": "3.3.6", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz", - "integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==" + "version": "3.3.7", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", + "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==" } } }, @@ -11308,9 +11496,9 @@ } }, "postcss-modules-scope": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/postcss-modules-scope/-/postcss-modules-scope-3.0.0.tgz", - "integrity": "sha512-hncihwFA2yPath8oZ15PZqvWGkWf+XUfQgUGamS4LqoP1anQLOsOJw0vr7J7IwLpoY9fatA2qiGUGmuZL0Iqlg==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/postcss-modules-scope/-/postcss-modules-scope-3.1.0.tgz", + "integrity": "sha512-SaIbK8XW+MZbd0xHPf7kdfA/3eOt7vxJ72IRecn3EzuZVLr1r0orzf0MX/pN8m+NMDoo6X/SQd8oeKqGZd8PXg==", "requires": { "postcss-selector-parser": "^6.0.4" } @@ -11338,9 +11526,9 @@ "requires": {} }, "postcss-selector-parser": { - "version": "6.0.13", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.13.tgz", - "integrity": "sha512-EaV1Gl4mUEV4ddhDnv/xtj7sxwrwxdetHdWUGnT4VJQf+4d05v6lHYZr8N573k5Z0BViss7BDhfWtKS3+sfAqQ==", + "version": "6.0.15", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.15.tgz", + "integrity": "sha512-rEYkQOMUCEMhsKbK66tbEU9QVIxbhN18YiniAwA7XQYTVBqrBy+P2p5JcdqsHgKM2zWylp8d7J6eszocfds5Sw==", "requires": { "cssesc": "^3.0.0", "util-deprecate": "^1.0.2" @@ -11378,9 +11566,9 @@ "integrity": "sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA==" }, "punycode": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", - "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==" + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==" }, "queue-microtask": { "version": "1.2.3", @@ -11497,9 +11685,9 @@ "dev": true }, "resolve": { - "version": "1.22.4", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.4.tgz", - "integrity": "sha512-PXNdCiPqDqeUou+w1C2eTQbNfxKSuMxqTCuvlmmMsk1NWHL5fRrhY6Pl0qEYYc6+QqGClco1Qj8XnjPego4wfg==", + "version": "1.22.8", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", + "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", "dev": true, "requires": { "is-core-module": "^2.13.0", @@ -11570,10 +11758,23 @@ } }, "rollup": { - "version": "3.29.4", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.29.4.tgz", - "integrity": "sha512-oWzmBZwvYrU0iJHtDmhsm662rC15FRXmcjCk1xD771dFDx5jJ02ufAQQTn0etB2emNk4J9EZg/yWKpsn9BWGRw==", - "requires": { + "version": "4.9.2", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.9.2.tgz", + "integrity": "sha512-66RB8OtFKUTozmVEh3qyNfH+b+z2RXBVloqO2KCC/pjFaGaHtxP9fVfOQKPSGXg2mElmjmxjW/fZ7iKrEpMH5Q==", + "requires": { + "@rollup/rollup-android-arm-eabi": "4.9.2", + "@rollup/rollup-android-arm64": "4.9.2", + "@rollup/rollup-darwin-arm64": "4.9.2", + "@rollup/rollup-darwin-x64": "4.9.2", + "@rollup/rollup-linux-arm-gnueabihf": "4.9.2", + "@rollup/rollup-linux-arm64-gnu": "4.9.2", + "@rollup/rollup-linux-arm64-musl": "4.9.2", + "@rollup/rollup-linux-riscv64-gnu": "4.9.2", + "@rollup/rollup-linux-x64-gnu": "4.9.2", + "@rollup/rollup-linux-x64-musl": "4.9.2", + "@rollup/rollup-win32-arm64-msvc": "4.9.2", + "@rollup/rollup-win32-ia32-msvc": "4.9.2", + "@rollup/rollup-win32-x64-msvc": "4.9.2", "fsevents": "~2.3.2" } }, @@ -11655,6 +11856,18 @@ "randombytes": "^2.1.0" } }, + "set-function-length": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.1.1.tgz", + "integrity": "sha512-VoaqjbBJKiWtg4yRcKBQ7g7wnGnLV3M8oLvVWwOk2PdYY6PEFegR1vezXR0tw6fZGF9csVakIRjrJiy2veSBFQ==", + "dev": true, + "requires": { + "define-data-property": "^1.1.1", + "get-intrinsic": "^1.2.1", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.0" + } + }, "set-function-name": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.1.tgz", @@ -11719,12 +11932,11 @@ "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==" }, "source-map-loader": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/source-map-loader/-/source-map-loader-4.0.1.tgz", - "integrity": "sha512-oqXpzDIByKONVY8g1NUPOTQhe0UTU5bWUl32GSkqK2LjJj0HmwTMVKxcUip0RgAYhY1mqgOxjbQM48a0mmeNfA==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/source-map-loader/-/source-map-loader-4.0.2.tgz", + "integrity": "sha512-oYwAqCuL0OZhBoSgmdrLa7mv9MjommVMiQIWgcztf+eS4+8BfcUee6nenFnDhKOhzAVnk5gpZdfnz1iiBv+5sg==", "dev": true, "requires": { - "abab": "^2.0.6", "iconv-lite": "^0.6.3", "source-map-js": "^1.0.2" } @@ -11772,9 +11984,9 @@ } }, "spdx-license-ids": { - "version": "3.0.13", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.13.tgz", - "integrity": "sha512-XkD+zwiqXHikFZm4AX/7JSCXA98U5Db4AFd5XUg/+9UNtnH75+Z9KxtpYiJZx36mUDVOwH83pl7yvCer6ewM3w==", + "version": "3.0.16", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.16.tgz", + "integrity": "sha512-eWN+LnM3GR6gPu35WxNgbGl8rmY1AEmoMDvL/QD6zYmPWgywxWqJWNdLGT+ke8dKNWrcYgYjPpG5gbTfghP8rw==", "dev": true }, "string-width": { @@ -11895,9 +12107,9 @@ "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==" }, "terser": { - "version": "5.19.4", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.19.4.tgz", - "integrity": "sha512-6p1DjHeuluwxDXcuT9VR8p64klWJKo1ILiy19s6C9+0Bh2+NWTX6nD9EPppiER4ICkHDVB1RkVpin/YW2nQn/g==", + "version": "5.26.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.26.0.tgz", + "integrity": "sha512-dytTGoE2oHgbNV9nTzgBEPaqAWvcJNl66VZ0BkJqlvp71IjO8CxdBx/ykCNb47cLnCmCvRZ6ZR0tLkqvZCdVBQ==", "requires": { "@jridgewell/source-map": "^0.3.3", "acorn": "^8.8.2", @@ -11913,15 +12125,15 @@ } }, "terser-webpack-plugin": { - "version": "5.3.9", - "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.9.tgz", - "integrity": "sha512-ZuXsqE07EcggTWQjXUj+Aot/OMcD0bMKGgF63f7UxYcu5/AJF53aIpK1YoP5xR9l6s/Hy2b+t1AM0bLNPRuhwA==", + "version": "5.3.10", + "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.10.tgz", + "integrity": "sha512-BKFPWlPDndPs+NGGCr1U59t0XScL5317Y0UReNrHaw9/FwhPENlq6bfgs+4yPfyP51vqC1bQ4rp1EfXW5ZSH9w==", "requires": { - "@jridgewell/trace-mapping": "^0.3.17", + "@jridgewell/trace-mapping": "^0.3.20", "jest-worker": "^27.4.5", "schema-utils": "^3.1.1", "serialize-javascript": "^6.0.1", - "terser": "^5.16.8" + "terser": "^5.26.0" }, "dependencies": { "serialize-javascript": { @@ -12090,9 +12302,9 @@ } }, "update-browserslist-db": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.11.tgz", - "integrity": "sha512-dCwEFf0/oT85M1fHBg4F0jtLwJrutGoHSQXCh7u4o2t1drG+c0a9Flnqww6XUKSfQMPpJBRjU8d4RXB09qtvaA==", + "version": "1.0.13", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz", + "integrity": "sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==", "requires": { "escalade": "^3.1.1", "picocolors": "^1.0.0" @@ -12137,14 +12349,14 @@ "dev": true }, "v8-to-istanbul": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.1.0.tgz", - "integrity": "sha512-6z3GW9x8G1gd+JIIgQQQxXuiJtCXeAjp6RaPEPLv62mH3iPHPxV6W3robxtCzNErRo6ZwTmzWhsbNvjyEBKzKA==", + "version": "9.2.0", + "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.2.0.tgz", + "integrity": "sha512-/EH/sDgxU2eGxajKdwLCDmQ4FWq+kpi3uCmBGpw1xJtnAxEjlD8j8PEiGWpCIMIs3ciNAgH0d3TTJiUkYzyZjA==", "dev": true, "requires": { "@jridgewell/trace-mapping": "^0.3.12", "@types/istanbul-lib-coverage": "^2.0.1", - "convert-source-map": "^1.6.0" + "convert-source-map": "^2.0.0" } }, "validate-npm-package-license": { @@ -12176,14 +12388,14 @@ "integrity": "sha512-aodjPa2wPQFkra1G8CzJBTHXhgk3EVSwxSWXNPr1fgdFLUb8kvLV1iEb6rFgasIsjP82HWI6dsb5Io26DDnasA==" }, "vscode-css-languageservice": { - "version": "6.2.9", - "resolved": "https://registry.npmjs.org/vscode-css-languageservice/-/vscode-css-languageservice-6.2.9.tgz", - "integrity": "sha512-9MsOvAi+VycKomQ7KEq4o/hLtjHHrtRLLl8lM9nMcH8cxfNI7/6jVXmsV/7pdbDWu9L3DZhsspN1eMXZwiOymw==", + "version": "6.2.11", + "resolved": "https://registry.npmjs.org/vscode-css-languageservice/-/vscode-css-languageservice-6.2.11.tgz", + "integrity": "sha512-qn49Wa6K94LnizpVxmlYrcPf1Cb36gq1nNueW0COhi4shylXBzET5wuDbH8ZWQlJD0HM5Mmnn7WE9vQVVs+ULA==", "requires": { "@vscode/l10n": "^0.0.16", - "vscode-languageserver-textdocument": "^1.0.8", - "vscode-languageserver-types": "3.17.3", - "vscode-uri": "^3.0.7" + "vscode-languageserver-textdocument": "^1.0.11", + "vscode-languageserver-types": "3.17.5", + "vscode-uri": "^3.0.8" } }, "vscode-jsonrpc": { @@ -12206,13 +12418,6 @@ "requires": { "vscode-jsonrpc": "8.2.0", "vscode-languageserver-types": "3.17.5" - }, - "dependencies": { - "vscode-languageserver-types": { - "version": "3.17.5", - "resolved": "https://registry.npmjs.org/vscode-languageserver-types/-/vscode-languageserver-types-3.17.5.tgz", - "integrity": "sha512-Ld1VelNuX9pdF39h2Hgaeb5hEZM2Z3jUrrMgWQAu82jMtZp7p3vJT3BzToKtZI7NgQssZje5o0zryOrhQvzQAg==" - } } }, "vscode-languageserver-textdocument": { @@ -12221,9 +12426,9 @@ "integrity": "sha512-X+8T3GoiwTVlJbicx/sIAF+yuJAqz8VvwJyoMVhwEMoEKE/fkDmrqUgDMyBECcM2A2frVZIUj5HI/ErRXCfOeA==" }, "vscode-languageserver-types": { - "version": "3.17.3", - "resolved": "https://registry.npmjs.org/vscode-languageserver-types/-/vscode-languageserver-types-3.17.3.tgz", - "integrity": "sha512-SYU4z1dL0PyIMd4Vj8YOqFvHu7Hz/enbWtpfnVbJHU4Nd1YNYx8u0ennumc6h48GQNeOLxmwySmnADouT/AuZA==" + "version": "3.17.5", + "resolved": "https://registry.npmjs.org/vscode-languageserver-types/-/vscode-languageserver-types-3.17.5.tgz", + "integrity": "sha512-Ld1VelNuX9pdF39h2Hgaeb5hEZM2Z3jUrrMgWQAu82jMtZp7p3vJT3BzToKtZI7NgQssZje5o0zryOrhQvzQAg==" }, "vscode-uri": { "version": "3.0.8", @@ -12240,9 +12445,9 @@ } }, "webpack": { - "version": "5.88.2", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.88.2.tgz", - "integrity": "sha512-JmcgNZ1iKj+aiR0OvTYtWQqJwq37Pf683dY9bVORwVbUrDhLhdn/PlO2sHsFHPkj7sHNQF3JwaAkp49V+Sq1tQ==", + "version": "5.89.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.89.0.tgz", + "integrity": "sha512-qyfIC10pOr70V+jkmud8tMfajraGCZMBWJtrmuBymQKCrLTRejBI8STDp1MCyZu/QTdZSeacCQYpYNQVOzX5kw==", "requires": { "@types/eslint-scope": "^3.7.3", "@types/estree": "^1.0.0", @@ -12297,13 +12502,13 @@ } }, "which-typed-array": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.11.tgz", - "integrity": "sha512-qe9UWWpkeG5yzZ0tNYxDmd7vo58HDBc39mZ0xWWpolAGADdFOzkfamWLDxkOWcvHQKVmdTyQdLD4NOfjLWTKew==", + "version": "1.1.13", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.13.tgz", + "integrity": "sha512-P5Nra0qjSncduVPEAr7xhoF5guty49ArDTwzJ/yNuPIbZppyRxFQsRCWrocxIY+CnMVG+qfbU2FmDKyvSGClow==", "dev": true, "requires": { "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.2", + "call-bind": "^1.0.4", "for-each": "^0.3.3", "gopd": "^1.0.1", "has-tostringtag": "^1.0.0" diff --git a/package.json b/package.json index 091a7c42d..c7d65204e 100644 --- a/package.json +++ b/package.json @@ -18,35 +18,35 @@ "prettify": "npx prettier . --write" }, "devDependencies": { - "@file-services/memory": "^8.3.1", - "@file-services/node": "^8.3.1", - "@rollup/plugin-html": "^1.0.2", - "@rollup/plugin-node-resolve": "^15.2.1", - "@types/balanced-match": "^1.0.4", - "@types/chai": "^4.3.6", - "@types/chai-subset": "^1.3.3", - "@types/css-selector-tokenizer": "^0.7.2", - "@types/cssesc": "^3.0.0", - "@types/csso": "^5.0.1", - "@types/find-config": "^1.0.2", - "@types/flat": "^5.0.3", - "@types/js-beautify": "^1.14.1", - "@types/json-schema": "^7.0.13", - "@types/lodash.camelcase": "^4.3.7", - "@types/lodash.clonedeep": "^4.5.7", - "@types/lodash.clonedeepwith": "^4.5.7", - "@types/lodash.findlast": "^4.6.7", - "@types/lodash.upperfirst": "^4.3.7", - "@types/memory-fs": "^0.3.4", - "@types/mime": "^3.0.2", - "@types/mocha": "^10.0.2", + "@file-services/memory": "^8.3.3", + "@file-services/node": "^8.3.3", + "@rollup/plugin-html": "^1.0.3", + "@rollup/plugin-node-resolve": "^15.2.3", + "@types/balanced-match": "^3.0.2", + "@types/chai": "^4.3.11", + "@types/chai-subset": "^1.3.5", + "@types/css-selector-tokenizer": "^0.7.4", + "@types/cssesc": "^3.0.2", + "@types/csso": "^5.0.4", + "@types/find-config": "^1.0.4", + "@types/flat": "^5.0.5", + "@types/js-beautify": "^1.14.3", + "@types/json-schema": "^7.0.15", + "@types/lodash.camelcase": "^4.3.9", + "@types/lodash.clonedeep": "^4.5.9", + "@types/lodash.clonedeepwith": "^4.5.9", + "@types/lodash.findlast": "^4.6.9", + "@types/lodash.upperfirst": "^4.3.9", + "@types/memory-fs": "^0.3.7", + "@types/mime": "^3.0.4", + "@types/mocha": "^10.0.6", "@types/node": "14", - "@types/postcss-safe-parser": "^5.0.2", - "@types/react": "^18.2.25", - "@types/react-dom": "^18.2.10", - "@types/semver": "^7.5.3", - "@types/validate-npm-package-name": "^4.0.0", - "@types/yargs": "^17.0.26", + "@types/postcss-safe-parser": "^5.0.4", + "@types/react": "^18.2.46", + "@types/react-dom": "^18.2.18", + "@types/semver": "^7.5.6", + "@types/validate-npm-package-name": "^4.0.2", + "@types/yargs": "^17.0.32", "@typescript-eslint/eslint-plugin": "^5.61.0", "@typescript-eslint/parser": "^5.61.0", "autoprefixer": "^10.4.16", @@ -54,30 +54,30 @@ "chai": "^4.3.10", "chai-subset": "^1.6.0", "create-listening-server": "^2.1.0", - "eslint": "^8.50.0", - "eslint-config-prettier": "^9.0.0", + "eslint": "^8.56.0", + "eslint-config-prettier": "^9.1.0", "file-loader": "^6.2.0", - "html-webpack-plugin": "^5.5.3", + "html-webpack-plugin": "^5.6.0", "mini-css-extract-plugin": "^2.7.6", "mocha": "^10.2.0", "node-eval": "^2.0.0", "npm-run-all": "^4.1.5", - "playwright-chromium": "^1.38.1", - "postcss": "^8.4.31", + "playwright-chromium": "^1.40.1", + "postcss": "^8.4.32", "promise-assist": "^2.0.1", "raw-loader": "^4.0.2", "react": "^18.2.0", "react-dom": "^18.2.0", "rimraf": "^5.0.5", - "rollup": "^4.1.4", + "rollup": "^4.9.2", "source-map": "^0.7.4", - "source-map-loader": "^4.0.1", + "source-map-loader": "^4.0.2", "style-loader": "^3.3.3", "ts-expect": "^1.3.0", "tsconfig-paths-webpack-plugin": "^4.1.0", "typescript": "~5.2.2", "url-loader": "^4.1.1", - "webpack": "^5.88.2", + "webpack": "^5.89.0", "yargs": "^17.7.2" }, "engines": { diff --git a/packages/cli/package.json b/packages/cli/package.json index c56607218..76e09ed3f 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -12,8 +12,8 @@ "test": "mocha \"./dist/test/**/*.spec.js\" --timeout 25000" }, "dependencies": { - "@file-services/node": "^8.3.1", - "@file-services/types": "^8.3.1", + "@file-services/node": "^8.3.3", + "@file-services/types": "^8.3.3", "@stylable/build-tools": "^5.17.0", "@stylable/code-formatter": "^5.17.0", "@stylable/core": "^5.17.0", diff --git a/packages/code-formatter/package.json b/packages/code-formatter/package.json index d612e817f..c36ef81b6 100644 --- a/packages/code-formatter/package.json +++ b/packages/code-formatter/package.json @@ -9,8 +9,8 @@ "dependencies": { "@stylable/core": "^5.17.0", "@tokey/css-value-parser": "^0.1.4", - "js-beautify": "^1.14.9", - "postcss": "^8.4.31" + "js-beautify": "^1.14.11", + "postcss": "^8.4.32" }, "files": [ "dist", diff --git a/packages/core-test-kit/package.json b/packages/core-test-kit/package.json index 04085be20..9b05018b1 100644 --- a/packages/core-test-kit/package.json +++ b/packages/core-test-kit/package.json @@ -7,11 +7,11 @@ "test": "mocha \"./dist/test/**/*.spec.js\"" }, "dependencies": { - "@file-services/memory": "^8.3.1", + "@file-services/memory": "^8.3.3", "@stylable/core": "^5.17.0", "chai": "^4.3.10", "flat": "^5.0.2", - "postcss": "^8.4.31" + "postcss": "^8.4.32" }, "files": [ "dist", diff --git a/packages/core/package.json b/packages/core/package.json index e57bbd5af..be3843813 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -20,7 +20,7 @@ "is-vendor-prefixed": "^4.0.0", "lodash.clonedeep": "^4.5.0", "lodash.clonedeepwith": "^4.5.0", - "postcss": "^8.4.31", + "postcss": "^8.4.32", "postcss-js": "^4.0.1", "postcss-nested": "^6.0.1", "postcss-safe-parser": "^6.0.0", diff --git a/packages/e2e-test-kit/package.json b/packages/e2e-test-kit/package.json index 824cf4ce5..bc4433d56 100644 --- a/packages/e2e-test-kit/package.json +++ b/packages/e2e-test-kit/package.json @@ -9,7 +9,7 @@ "dependencies": { "@stylable/runtime": "^5.17.0", "node-eval": "^2.0.0", - "playwright-core": "^1.38.1", + "playwright-core": "^1.40.1", "rimraf": "^5.0.5" }, "files": [ diff --git a/packages/language-service/package.json b/packages/language-service/package.json index 79ee58516..f6eacb9a9 100644 --- a/packages/language-service/package.json +++ b/packages/language-service/package.json @@ -11,17 +11,17 @@ "typescript": ">=3.8" }, "dependencies": { - "@file-services/types": "^8.3.1", - "@file-services/typescript": "^8.3.1", + "@file-services/types": "^8.3.3", + "@file-services/typescript": "^8.3.3", "@stylable/code-formatter": "^5.17.0", "@stylable/core": "^5.17.0", "@tokey/core": "^1.4.0", "@tokey/css-selector-parser": "^0.6.2", "@tokey/css-value-parser": "^0.1.4", "css-selector-tokenizer": "^0.8.0", - "postcss": "^8.4.31", + "postcss": "^8.4.32", "postcss-value-parser": "^4.2.0", - "vscode-css-languageservice": "^6.2.9", + "vscode-css-languageservice": "^6.2.11", "vscode-languageserver": "^9.0.1", "vscode-languageserver-textdocument": "^1.0.11", "vscode-uri": "^3.0.8" diff --git a/packages/optimizer/package.json b/packages/optimizer/package.json index 831fb0c77..9aaf4e97e 100644 --- a/packages/optimizer/package.json +++ b/packages/optimizer/package.json @@ -10,7 +10,7 @@ "@stylable/core": "^5.17.0", "@tokey/css-selector-parser": "^0.6.2", "csso": "^5.0.5", - "postcss": "^8.4.31" + "postcss": "^8.4.32" }, "files": [ "dist", diff --git a/packages/webpack-plugin/package.json b/packages/webpack-plugin/package.json index b70913f8c..9a3533656 100644 --- a/packages/webpack-plugin/package.json +++ b/packages/webpack-plugin/package.json @@ -19,7 +19,7 @@ "@stylable/runtime": "^5.17.0", "decache": "^4.6.2", "lodash.clonedeep": "^4.5.0", - "postcss": "^8.4.31" + "postcss": "^8.4.32" }, "files": [ "dist", diff --git a/pleb.config.mjs b/pleb.config.mjs index 3241b4c9d..4e994f196 100644 --- a/pleb.config.mjs +++ b/pleb.config.mjs @@ -24,5 +24,17 @@ export default { name: 'flat', reason: 'esm only', }, + { + name: 'chai', + reason: 'version 5 is esm only', + }, + { + name: 'postcss-safe-parser', + reason: 'version 7 removed support for node 16/14/12', + }, + { + name: 'mime', + reason: 'version 4 is esm only & removed support for node < 18', + }, ], }; diff --git a/tsconfig.base.json b/tsconfig.base.json index 341e3e11f..2133fd167 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -105,6 +105,6 @@ /* Completeness */ // "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */ - // "skipLibCheck": true /* Skip type checking all .d.ts files. */ + "skipLibCheck": true /* Skip type checking all .d.ts files. */ } } From 888c5c1c557354b8b4faa7890bfe6dd0231f5a11 Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Mon, 1 Jan 2024 13:38:54 +0200 Subject: [PATCH 81/81] infra: stop testing on node 14 - it breaks on newer dependencies syntax (rollup) and is widely unused anyway --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a56092330..bad4b665c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,7 +8,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: [18, 16, 14] + node-version: [18, 16] os: [ubuntu-latest, windows-latest, macOS-latest] steps: - uses: actions/checkout@v4