diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9396558aad3..310d614bd83 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -157,8 +157,8 @@ importers: specifier: ^1.64.0 version: 1.84.0 globby: - specifier: ^11.1.0 - version: 11.1.0 + specifier: ^14.0.2 + version: 14.0.2 vsce: specifier: ^2.15.0 version: 2.15.0 @@ -173,8 +173,8 @@ importers: specifier: ^4.3.3 version: 4.3.3 globby: - specifier: ^11.1.0 - version: 11.1.0 + specifier: ^14.0.2 + version: 14.0.2 hast-util-select: specifier: ^3.0.0 version: 3.0.1 @@ -203,8 +203,8 @@ importers: specifier: ^4.1.0 version: 4.1.2 globby: - specifier: 11.0.1 - version: 11.0.1 + specifier: 14.0.2 + version: 14.0.2 is-git-clean: specifier: ^1.1.0 version: 1.1.0 @@ -364,8 +364,8 @@ importers: specifier: ^8.2.2 version: 8.2.2 globby: - specifier: ^11.1.0 - version: 11.1.0 + specifier: ^14.0.2 + version: 14.0.2 http-server: specifier: ^14.1.1 version: 14.1.1 @@ -626,8 +626,8 @@ importers: specifier: 3.0.0-alpha.1 version: 3.0.0-alpha.1 globby: - specifier: ^11.1.0 - version: 11.1.0 + specifier: ^14.0.2 + version: 14.0.2 inter-ui: specifier: 3.19.3 version: 3.19.3 @@ -664,9 +664,9 @@ importers: style-loader: specifier: ^3.3.1 version: 3.3.1(webpack@5.76.0) - ts-node: - specifier: ^10.7.0 - version: 10.7.0(@types/node@20.12.5)(typescript@4.9.3) + tsx: + specifier: 4.16.2 + version: 4.16.2 typescript: specifier: ^4.9.3 version: 4.9.3 @@ -3497,6 +3497,15 @@ packages: react: 18.2.0 dev: true + /@esbuild/aix-ppc64@0.21.5: + resolution: {integrity: sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [aix] + requiresBuild: true + dev: true + optional: true + /@esbuild/android-arm64@0.18.20: resolution: {integrity: sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ==} engines: {node: '>=12'} @@ -3506,6 +3515,15 @@ packages: dev: true optional: true + /@esbuild/android-arm64@0.21.5: + resolution: {integrity: sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: true + optional: true + /@esbuild/android-arm@0.18.20: resolution: {integrity: sha512-fyi7TDI/ijKKNZTUJAQqiG5T7YjJXgnzkURqmGj13C6dCqckZBLdl4h7bkhHt/t0WP+zO9/zwroDvANaOqO5Sw==} engines: {node: '>=12'} @@ -3515,6 +3533,15 @@ packages: dev: true optional: true + /@esbuild/android-arm@0.21.5: + resolution: {integrity: sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + requiresBuild: true + dev: true + optional: true + /@esbuild/android-x64@0.18.20: resolution: {integrity: sha512-8GDdlePJA8D6zlZYJV/jnrRAi6rOiNaCC/JclcXpB+KIuvfBN4owLtgzY2bsxnx666XjJx2kDPUmnTtR8qKQUg==} engines: {node: '>=12'} @@ -3524,6 +3551,15 @@ packages: dev: true optional: true + /@esbuild/android-x64@0.21.5: + resolution: {integrity: sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + requiresBuild: true + dev: true + optional: true + /@esbuild/darwin-arm64@0.18.20: resolution: {integrity: sha512-bxRHW5kHU38zS2lPTPOyuyTm+S+eobPUnTNkdJEfAddYgEcll4xkT8DB9d2008DtTbl7uJag2HuE5NZAZgnNEA==} engines: {node: '>=12'} @@ -3533,6 +3569,15 @@ packages: dev: true optional: true + /@esbuild/darwin-arm64@0.21.5: + resolution: {integrity: sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + /@esbuild/darwin-x64@0.18.20: resolution: {integrity: sha512-pc5gxlMDxzm513qPGbCbDukOdsGtKhfxD1zJKXjCCcU7ju50O7MeAZ8c4krSJcOIJGFR+qx21yMMVYwiQvyTyQ==} engines: {node: '>=12'} @@ -3542,6 +3587,15 @@ packages: dev: true optional: true + /@esbuild/darwin-x64@0.21.5: + resolution: {integrity: sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + /@esbuild/freebsd-arm64@0.18.20: resolution: {integrity: sha512-yqDQHy4QHevpMAaxhhIwYPMv1NECwOvIpGCZkECn8w2WFHXjEwrBn3CeNIYsibZ/iZEUemj++M26W3cNR5h+Tw==} engines: {node: '>=12'} @@ -3551,6 +3605,15 @@ packages: dev: true optional: true + /@esbuild/freebsd-arm64@0.21.5: + resolution: {integrity: sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + /@esbuild/freebsd-x64@0.18.20: resolution: {integrity: sha512-tgWRPPuQsd3RmBZwarGVHZQvtzfEBOreNuxEMKFcd5DaDn2PbBxfwLcj4+aenoh7ctXcbXmOQIn8HI6mCSw5MQ==} engines: {node: '>=12'} @@ -3560,6 +3623,15 @@ packages: dev: true optional: true + /@esbuild/freebsd-x64@0.21.5: + resolution: {integrity: sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-arm64@0.18.20: resolution: {integrity: sha512-2YbscF+UL7SQAVIpnWvYwM+3LskyDmPhe31pE7/aoTMFKKzIc9lLbyGUpmmb8a8AixOL61sQ/mFh3jEjHYFvdA==} engines: {node: '>=12'} @@ -3569,6 +3641,15 @@ packages: dev: true optional: true + /@esbuild/linux-arm64@0.21.5: + resolution: {integrity: sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-arm@0.18.20: resolution: {integrity: sha512-/5bHkMWnq1EgKr1V+Ybz3s1hWXok7mDFUMQ4cG10AfW3wL02PSZi5kFpYKrptDsgb2WAJIvRcDm+qIvXf/apvg==} engines: {node: '>=12'} @@ -3578,6 +3659,15 @@ packages: dev: true optional: true + /@esbuild/linux-arm@0.21.5: + resolution: {integrity: sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-ia32@0.18.20: resolution: {integrity: sha512-P4etWwq6IsReT0E1KHU40bOnzMHoH73aXp96Fs8TIT6z9Hu8G6+0SHSw9i2isWrD2nbx2qo5yUqACgdfVGx7TA==} engines: {node: '>=12'} @@ -3587,6 +3677,15 @@ packages: dev: true optional: true + /@esbuild/linux-ia32@0.21.5: + resolution: {integrity: sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-loong64@0.18.20: resolution: {integrity: sha512-nXW8nqBTrOpDLPgPY9uV+/1DjxoQ7DoB2N8eocyq8I9XuqJ7BiAMDMf9n1xZM9TgW0J8zrquIb/A7s3BJv7rjg==} engines: {node: '>=12'} @@ -3596,6 +3695,15 @@ packages: dev: true optional: true + /@esbuild/linux-loong64@0.21.5: + resolution: {integrity: sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-mips64el@0.18.20: resolution: {integrity: sha512-d5NeaXZcHp8PzYy5VnXV3VSd2D328Zb+9dEq5HE6bw6+N86JVPExrA6O68OPwobntbNJ0pzCpUFZTo3w0GyetQ==} engines: {node: '>=12'} @@ -3605,6 +3713,15 @@ packages: dev: true optional: true + /@esbuild/linux-mips64el@0.21.5: + resolution: {integrity: sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-ppc64@0.18.20: resolution: {integrity: sha512-WHPyeScRNcmANnLQkq6AfyXRFr5D6N2sKgkFo2FqguP44Nw2eyDlbTdZwd9GYk98DZG9QItIiTlFLHJHjxP3FA==} engines: {node: '>=12'} @@ -3614,6 +3731,15 @@ packages: dev: true optional: true + /@esbuild/linux-ppc64@0.21.5: + resolution: {integrity: sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-riscv64@0.18.20: resolution: {integrity: sha512-WSxo6h5ecI5XH34KC7w5veNnKkju3zBRLEQNY7mv5mtBmrP/MjNBCAlsM2u5hDBlS3NGcTQpoBvRzqBcRtpq1A==} engines: {node: '>=12'} @@ -3623,6 +3749,15 @@ packages: dev: true optional: true + /@esbuild/linux-riscv64@0.21.5: + resolution: {integrity: sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-s390x@0.18.20: resolution: {integrity: sha512-+8231GMs3mAEth6Ja1iK0a1sQ3ohfcpzpRLH8uuc5/KVDFneH6jtAJLFGafpzpMRO6DzJ6AvXKze9LfFMrIHVQ==} engines: {node: '>=12'} @@ -3632,6 +3767,15 @@ packages: dev: true optional: true + /@esbuild/linux-s390x@0.21.5: + resolution: {integrity: sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-x64@0.18.20: resolution: {integrity: sha512-UYqiqemphJcNsFEskc73jQ7B9jgwjWrSayxawS6UVFZGWrAAtkzjxSqnoclCXxWtfwLdzU+vTpcNYhpn43uP1w==} engines: {node: '>=12'} @@ -3641,6 +3785,15 @@ packages: dev: true optional: true + /@esbuild/linux-x64@0.21.5: + resolution: {integrity: sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/netbsd-x64@0.18.20: resolution: {integrity: sha512-iO1c++VP6xUBUmltHZoMtCUdPlnPGdBom6IrO4gyKPFFVBKioIImVooR5I83nTew5UOYrk3gIJhbZh8X44y06A==} engines: {node: '>=12'} @@ -3650,6 +3803,15 @@ packages: dev: true optional: true + /@esbuild/netbsd-x64@0.21.5: + resolution: {integrity: sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + requiresBuild: true + dev: true + optional: true + /@esbuild/openbsd-x64@0.18.20: resolution: {integrity: sha512-e5e4YSsuQfX4cxcygw/UCPIEP6wbIL+se3sxPdCiMbFLBWu0eiZOJ7WoD+ptCLrmjZBK1Wk7I6D/I3NglUGOxg==} engines: {node: '>=12'} @@ -3659,6 +3821,15 @@ packages: dev: true optional: true + /@esbuild/openbsd-x64@0.21.5: + resolution: {integrity: sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + requiresBuild: true + dev: true + optional: true + /@esbuild/sunos-x64@0.18.20: resolution: {integrity: sha512-kDbFRFp0YpTQVVrqUd5FTYmWo45zGaXe0X8E1G/LKFC0v8x0vWrhOWSLITcCn63lmZIxfOMXtCfti/RxN/0wnQ==} engines: {node: '>=12'} @@ -3668,6 +3839,15 @@ packages: dev: true optional: true + /@esbuild/sunos-x64@0.21.5: + resolution: {integrity: sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + requiresBuild: true + dev: true + optional: true + /@esbuild/win32-arm64@0.18.20: resolution: {integrity: sha512-ddYFR6ItYgoaq4v4JmQQaAI5s7npztfV4Ag6NrhiaW0RrnOXqBkgwZLofVTlq1daVTQNhtI5oieTvkRPfZrePg==} engines: {node: '>=12'} @@ -3677,6 +3857,15 @@ packages: dev: true optional: true + /@esbuild/win32-arm64@0.21.5: + resolution: {integrity: sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /@esbuild/win32-ia32@0.18.20: resolution: {integrity: sha512-Wv7QBi3ID/rROT08SABTS7eV4hX26sVduqDOTe1MvGMjNd3EjOz4b7zeexIR62GTIEKrfJXKL9LFxTYgkyeu7g==} engines: {node: '>=12'} @@ -3686,6 +3875,15 @@ packages: dev: true optional: true + /@esbuild/win32-ia32@0.21.5: + resolution: {integrity: sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true + optional: true + /@esbuild/win32-x64@0.18.20: resolution: {integrity: sha512-kTdfRcSiDfQca/y9QIkng02avJ+NCaQvrMejlsB3RRv5sE9rRoeBPISaZpKxHELzRxZyLvNts1P27W3wV+8geQ==} engines: {node: '>=12'} @@ -3695,6 +3893,15 @@ packages: dev: true optional: true + /@esbuild/win32-x64@0.21.5: + resolution: {integrity: sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /@eslint-community/eslint-utils@4.3.0(eslint@8.10.0): resolution: {integrity: sha512-v3oplH6FYCULtFuCeqyuTd9D2WKO937Dxdq+GmHOLL72TTRriLxz2VLlNfkZRsvj6PKnOPAtuT6dwrs/pA5DvA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -3718,7 +3925,7 @@ packages: debug: 4.3.4 espree: 9.3.1 globals: 13.13.0 - ignore: 5.2.0 + ignore: 5.3.1 import-fresh: 3.3.0 js-yaml: 4.1.0 minimatch: 3.1.2 @@ -5130,6 +5337,10 @@ packages: engines: {node: '>=14.16'} dev: true + /@sindresorhus/merge-streams@2.3.0: + resolution: {integrity: sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==} + engines: {node: '>=18'} + /@sinonjs/commons@1.8.3: resolution: {integrity: sha512-xkNcLAn/wZaX14RPlwizcKicDk9G3F8m2nU3L7Ukm5zBgTwiT0wsoFAHx9Jq56fJA1z/7uKGtCRu16sOUCLIHQ==} dependencies: @@ -6814,7 +7025,7 @@ packages: debug: 4.3.4 eslint: 8.10.0 grapheme-splitter: 1.0.4 - ignore: 5.2.0 + ignore: 5.3.1 natural-compare-lite: 1.4.0 semver: 7.5.4 tsutils: 3.21.0(typescript@4.9.3) @@ -11036,6 +11247,37 @@ packages: '@esbuild/win32-x64': 0.18.20 dev: true + /esbuild@0.21.5: + resolution: {integrity: sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==} + engines: {node: '>=12'} + hasBin: true + requiresBuild: true + optionalDependencies: + '@esbuild/aix-ppc64': 0.21.5 + '@esbuild/android-arm': 0.21.5 + '@esbuild/android-arm64': 0.21.5 + '@esbuild/android-x64': 0.21.5 + '@esbuild/darwin-arm64': 0.21.5 + '@esbuild/darwin-x64': 0.21.5 + '@esbuild/freebsd-arm64': 0.21.5 + '@esbuild/freebsd-x64': 0.21.5 + '@esbuild/linux-arm': 0.21.5 + '@esbuild/linux-arm64': 0.21.5 + '@esbuild/linux-ia32': 0.21.5 + '@esbuild/linux-loong64': 0.21.5 + '@esbuild/linux-mips64el': 0.21.5 + '@esbuild/linux-ppc64': 0.21.5 + '@esbuild/linux-riscv64': 0.21.5 + '@esbuild/linux-s390x': 0.21.5 + '@esbuild/linux-x64': 0.21.5 + '@esbuild/netbsd-x64': 0.21.5 + '@esbuild/openbsd-x64': 0.21.5 + '@esbuild/sunos-x64': 0.21.5 + '@esbuild/win32-arm64': 0.21.5 + '@esbuild/win32-ia32': 0.21.5 + '@esbuild/win32-x64': 0.21.5 + dev: true + /escalade@3.1.1: resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} engines: {node: '>=6'} @@ -11185,7 +11427,7 @@ packages: dependencies: escape-string-regexp: 1.0.5 eslint: 8.10.0 - ignore: 5.2.0 + ignore: 5.3.1 dev: true /eslint-plugin-import@2.27.5(@typescript-eslint/parser@5.56.0)(eslint-import-resolver-typescript@2.7.1)(eslint@8.10.0): @@ -11282,7 +11524,7 @@ packages: eslint: 8.10.0 eslint-plugin-es: 3.0.1(eslint@8.10.0) eslint-utils: 2.1.0 - ignore: 5.2.0 + ignore: 5.3.1 minimatch: 3.1.2 resolve: 1.22.8 semver: 6.3.1 @@ -11842,6 +12084,16 @@ packages: merge2: 1.4.1 micromatch: 4.0.5 + /fast-glob@3.3.2: + resolution: {integrity: sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==} + engines: {node: '>=8.6.0'} + dependencies: + '@nodelib/fs.stat': 2.0.5 + '@nodelib/fs.walk': 1.2.8 + glob-parent: 5.1.2 + merge2: 1.4.1 + micromatch: 4.0.5 + /fast-json-parse@1.0.3: resolution: {integrity: sha512-FRWsaZRWEJ1ESVNbDWmsAlqDk96gPQezzLghafp5J4GUKjbCz3OkAHuZs5TuPEtkbVQERysLp9xv6c24fBm8Aw==} dev: false @@ -12396,6 +12648,14 @@ packages: requiresBuild: true optional: true + /fsevents@2.3.3: + resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + requiresBuild: true + dev: true + optional: true + /function-bind@1.1.2: resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==} @@ -12535,6 +12795,12 @@ packages: get-intrinsic: 1.2.0 dev: true + /get-tsconfig@4.7.5: + resolution: {integrity: sha512-ZCuZCnlqNzjb4QprAzXKdpp/gh6KTxSJuw3IBsPnV/7fV4NxC9ckB+vPTt8w7fJA0TaSD7c55BR47JD6MEDyDw==} + dependencies: + resolve-pkg-maps: 1.0.0 + dev: true + /get-value@2.0.6: resolution: {integrity: sha512-Ln0UQDlxH1BapMu3GPtf7CuYNwRZf2gwCuPqbyG6pB8WfmFpzqcy4xtAaAMUhnNqjMKTiCPZG2oMT3YSx8U2NA==} engines: {node: '>=0.10.0'} @@ -12750,26 +13016,14 @@ packages: define-properties: 1.1.4 dev: true - /globby@11.0.1: - resolution: {integrity: sha512-iH9RmgwCmUJHi2z5o2l3eTtGBtXek1OYlHrbcxOYugyHLmAsZrPj43OtHThd62Buh/Vv6VyCBD2bdyWcGNQqoQ==} - engines: {node: '>=10'} - dependencies: - array-union: 2.1.0 - dir-glob: 3.0.1 - fast-glob: 3.2.12 - ignore: 5.2.0 - merge2: 1.4.1 - slash: 3.0.0 - dev: false - /globby@11.1.0: resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==} engines: {node: '>=10'} dependencies: array-union: 2.1.0 dir-glob: 3.0.1 - fast-glob: 3.2.12 - ignore: 5.2.0 + fast-glob: 3.3.2 + ignore: 5.3.1 merge2: 1.4.1 slash: 3.0.0 @@ -12778,12 +13032,23 @@ packages: engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} dependencies: dir-glob: 3.0.1 - fast-glob: 3.2.12 - ignore: 5.2.0 + fast-glob: 3.3.2 + ignore: 5.3.1 merge2: 1.4.1 slash: 4.0.0 dev: true + /globby@14.0.2: + resolution: {integrity: sha512-s3Fq41ZVh7vbbe2PN3nrW7yC7U7MFVc5c98/iTl9c2GawNMKx/J648KQRW6WKkuU8GIbbh2IXfIRQjOZnXcTnw==} + engines: {node: '>=18'} + dependencies: + '@sindresorhus/merge-streams': 2.3.0 + fast-glob: 3.3.2 + ignore: 5.3.1 + path-type: 5.0.0 + slash: 5.1.0 + unicorn-magic: 0.1.0 + /globjoin@0.1.4: resolution: {integrity: sha512-xYfnw62CKG8nLkZBfWbhWwDw02CHty86jfPcc2cr3ZfeuK9ysoVPPEUxf21bAD/rWAgk52SuBrLJlefNy8mvFg==} @@ -13463,6 +13728,10 @@ packages: resolution: {integrity: sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==} engines: {node: '>= 4'} + /ignore@5.3.1: + resolution: {integrity: sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==} + engines: {node: '>= 4'} + /image-size@0.8.3: resolution: {integrity: sha512-SMtq1AJ+aqHB45c3FsB4ERK0UCiA2d3H1uq8s+8T0Pf8A3W4teyBQyaFaktH6xvZqh+npwlKU7i4fJo0r7TYTg==} engines: {node: '>=6.9.0'} @@ -18309,6 +18578,10 @@ packages: resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} engines: {node: '>=8'} + /path-type@5.0.0: + resolution: {integrity: sha512-5HviZNaZcfqP95rwpv+1HDgUamezbqdSYTyzjTvwtJSnIH+3vnbmWsItli8OFEndS984VT55M3jduxZbX351gg==} + engines: {node: '>=12'} + /pathe@1.1.1: resolution: {integrity: sha512-d+RQGp0MAYTIaDBIMmOfMwz3E+LOZnxx1HZd5R18mmCZY0QBlK0LDZfPc8FW8Ed2DlvsuE6PRjroDY+wg4+j/Q==} dev: true @@ -20182,6 +20455,10 @@ packages: resolution: {integrity: sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==} engines: {node: '>=8'} + /resolve-pkg-maps@1.0.0: + resolution: {integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==} + dev: true + /resolve-url@0.2.1: resolution: {integrity: sha512-ZuF55hVUQaaczgOIwqWzkEcEidmlD/xl44x1UZnhOXcYuFN2S6+rcxpG+C1N3So0wvNI3DmJICUFfu2SxhBmvg==} deprecated: https://github.com/lydell/resolve-url#deprecated @@ -20845,7 +21122,6 @@ packages: /slash@5.1.0: resolution: {integrity: sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==} engines: {node: '>=14.16'} - dev: true /slice-ansi@4.0.0: resolution: {integrity: sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==} @@ -22223,6 +22499,17 @@ packages: typescript: 4.9.3 dev: true + /tsx@4.16.2: + resolution: {integrity: sha512-C1uWweJDgdtX2x600HjaFaucXTilT7tgUZHbOE4+ypskZ1OP8CRCSDkCxG6Vya9EwaFIVagWwpaVAn5wzypaqQ==} + engines: {node: '>=18.0.0'} + hasBin: true + dependencies: + esbuild: 0.21.5 + get-tsconfig: 4.7.5 + optionalDependencies: + fsevents: 2.3.3 + dev: true + /tty-browserify@0.0.0: resolution: {integrity: sha512-JVa5ijo+j/sOoHGjw0sxw734b1LhBkQ3bvUGNdxnVXDCX81Yx7TFgnZygxrIIWn23hbfTaMYLwRmAxFyDuFmIw==} dev: true @@ -22473,6 +22760,10 @@ packages: tiny-inflate: 1.0.3 dev: true + /unicorn-magic@0.1.0: + resolution: {integrity: sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==} + engines: {node: '>=18'} + /unified@10.1.2: resolution: {integrity: sha512-pUSWAi/RAnVy1Pif2kAoeWNBa3JVrx0MId2LASj8G+7AiHWoKZNTomq6LG326T68U7/e263X6fTdcXIy7XnF7Q==} dependencies: diff --git a/polaris-for-vscode/package.json b/polaris-for-vscode/package.json index 8bc8feeae82..24be76007e0 100644 --- a/polaris-for-vscode/package.json +++ b/polaris-for-vscode/package.json @@ -46,7 +46,7 @@ "devDependencies": { "@types/node": "^20.10.0", "@types/vscode": "^1.64.0", - "globby": "^11.1.0", + "globby": "^14.0.2", "vsce": "^2.15.0" } } diff --git a/polaris-icons/package.json b/polaris-icons/package.json index ed742a4cccf..12b006083fd 100644 --- a/polaris-icons/package.json +++ b/polaris-icons/package.json @@ -58,7 +58,7 @@ "homepage": "https://polaris.shopify.com/icons", "devDependencies": { "@svgr/core": "^4.3.3", - "globby": "^11.1.0", + "globby": "^14.0.2", "hast-util-select": "^3.0.0", "js-yaml": "^4.0.0", "rehype-parse": "^7.0.1", diff --git a/polaris-icons/rollup.config.mjs b/polaris-icons/rollup.config.mjs index f7a857c1495..b89018a5fe2 100644 --- a/polaris-icons/rollup.config.mjs +++ b/polaris-icons/rollup.config.mjs @@ -5,13 +5,13 @@ import * as path from 'path'; import {createFilter} from '@rollup/pluginutils'; import {babel} from '@rollup/plugin-babel'; import virtual from '@rollup/plugin-virtual'; -import globby from 'globby'; +import {globbySync} from 'globby'; import jsYaml from 'js-yaml'; import svgr from '@svgr/core'; const convert = svgr.default; const iconBasePath = new URL('./icons', import.meta.url).pathname; -const iconPaths = globby.sync(path.join(iconBasePath, '*.yml')); +const iconPaths = globbySync(path.join(iconBasePath, '*.yml')); const iconExports = []; const iconTypes = []; diff --git a/polaris-migrator/package.json b/polaris-migrator/package.json index cb886dfce76..0bf5cb04f05 100644 --- a/polaris-migrator/package.json +++ b/polaris-migrator/package.json @@ -39,7 +39,7 @@ "@shopify/polaris-tokens": "^9.2.0", "@shopify/stylelint-polaris": "^16.0.3", "chalk": "^4.1.0", - "globby": "11.0.1", + "globby": "14.0.2", "is-git-clean": "^1.1.0", "jscodeshift": "^0.13.1", "meow": "^9.0.0", diff --git a/polaris-migrator/rollup.config.mjs b/polaris-migrator/rollup.config.mjs index 5785b04448d..9ae64724583 100644 --- a/polaris-migrator/rollup.config.mjs +++ b/polaris-migrator/rollup.config.mjs @@ -6,14 +6,14 @@ import {babel} from '@rollup/plugin-babel'; import {nodeResolve} from '@rollup/plugin-node-resolve'; import commonjs from '@rollup/plugin-commonjs'; import json from '@rollup/plugin-json'; -import globby from 'globby'; +import {globbySync} from 'globby'; const __dirname = path.dirname(url.fileURLToPath(import.meta.url)); const pkg = JSON.parse(fs.readFileSync(path.join(__dirname, 'package.json'))); const extensions = ['.js', '.jsx', '.ts', '.tsx']; -const migrationPaths = globby.sync('./src/migrations/*!(tests)/*.ts'); +const migrationPaths = globbySync('./src/migrations/*!(tests)/*.ts'); /** @type {import('rollup').RollupOptions} */ export default { diff --git a/polaris-migrator/src/migrate.ts b/polaris-migrator/src/migrate.ts index 1970433bfd1..faf75cb1d7e 100644 --- a/polaris-migrator/src/migrate.ts +++ b/polaris-migrator/src/migrate.ts @@ -5,7 +5,7 @@ import path from 'path'; import * as jscodeshift from 'jscodeshift/src/Runner'; import chalk from 'chalk'; import isGitClean from 'is-git-clean'; -import globby from 'globby'; +import {globbySync} from 'globby'; export interface MigrateOptions { dry?: boolean; @@ -37,7 +37,7 @@ export async function migrate( checkGitStatus(options.force); } - const filepaths = globby.sync(files, {cwd: process.cwd()}); + const filepaths = globbySync(files, {cwd: process.cwd()}); if (filepaths.length === 0) { throw new Error(`No files found for ${files}`); } diff --git a/polaris-react/package.json b/polaris-react/package.json index c2f45c22739..9ad7ceddef0 100644 --- a/polaris-react/package.json +++ b/polaris-react/package.json @@ -98,7 +98,7 @@ "change-case": "^3.1.0", "chromatic": "^6.5.4", "concurrently": "^8.2.2", - "globby": "^11.1.0", + "globby": "^14.0.2", "http-server": "^14.1.1", "js-yaml": "^4.1.0", "postcss": "^8.3.1", diff --git a/polaris-react/scripts/build-validate.js b/polaris-react/scripts/build-validate.js index bea83191af0..32e8a9f7d01 100644 --- a/polaris-react/scripts/build-validate.js +++ b/polaris-react/scripts/build-validate.js @@ -1,18 +1,19 @@ const assert = require('assert').strict; const fs = require('fs'); -const globby = require('globby'); - +let globby; const packageJSON = require('../package.json'); // Validation to assert the output of the build. - -validateStandardBuild(); -validateEsNextBuild(); -validateAncillaryOutput(); -validateVersionReplacement(); - -function validateStandardBuild() { +(async () => { + globby = (await import('globby')).globby; + await validateStandardBuild(); + validateEsNextBuild(); + validateAncillaryOutput(); + await validateVersionReplacement(); +})(); + +async function validateStandardBuild() { // Standard build assert.ok(fs.existsSync('./build/cjs/index.js')); assert.ok(fs.existsSync('./build/esm/index.js')); @@ -21,7 +22,7 @@ function validateStandardBuild() { // Assert it uses named exports rather than properties from the React default // export to help tree-shaking. // React.createElement and React.Fragment are the allowed exceptions - const files = globby.sync('./build/cjs/**/*.js'); + const files = await globby('./build/cjs/**/*.js'); assert.notStrictEqual(files.length, 0); const filesContainingUnwantedReactUsage = []; files.forEach((file) => { @@ -93,8 +94,8 @@ function validateAncillaryOutput() { assert.ok(fs.existsSync('./build/ts/src/index.d.ts')); } -function validateVersionReplacement() { - const files = globby.sync('./build/**/*.{js,mjs,esnext,css}'); +async function validateVersionReplacement() { + const files = await globby('./build/**/*.{js,mjs,esnext,css}'); assert.notStrictEqual(files.length, 0); diff --git a/polaris.shopify.com/package.json b/polaris.shopify.com/package.json index be813e307c0..595c55ea105 100644 --- a/polaris.shopify.com/package.json +++ b/polaris.shopify.com/package.json @@ -19,9 +19,9 @@ "next-build": "next build", "create-component": "generact --root src/components src/components/Template/Template.tsx", "gen-sitemap": "pnpm next-sitemap", - "get-props": "./scripts/get-props/src/get-props.ts", - "gen-assets": "pnpm get-props && ts-node ./scripts/gen-assets.ts", - "gen-colors": "ts-node ./scripts/gen-colors.ts", + "get-props": "tsx ./scripts/get-props/src/get-props.ts", + "gen-assets": "pnpm get-props && tsx ./scripts/gen-assets.ts", + "gen-colors": "tsx ./scripts/gen-colors.ts", "test": "jest", "postinstall": "patch-package" }, @@ -90,7 +90,7 @@ "frontmatter": "^0.0.3", "generact": "^0.4.0", "get-site-urls": "3.0.0-alpha.1", - "globby": "^11.1.0", + "globby": "^14.0.2", "inter-ui": "3.19.3", "is-ci": "^3.0.1", "js-yaml": "^4.1.0", @@ -103,7 +103,7 @@ "sass": "^1.49.9", "satori": "^0.10.11", "style-loader": "^3.3.1", - "ts-node": "^10.7.0", + "tsx": "4.16.2", "typescript": "^4.9.3", "unified": "^10.1.2", "unist-util-visit": "^4.1.0" diff --git a/polaris.shopify.com/pages/[...slug].tsx b/polaris.shopify.com/pages/[...slug].tsx index 40bd8c348d4..13ac443a5f7 100644 --- a/polaris.shopify.com/pages/[...slug].tsx +++ b/polaris.shopify.com/pages/[...slug].tsx @@ -5,7 +5,7 @@ import type { } from 'next'; import Link from 'next/link'; import fs from 'fs'; -import globby from 'globby'; +import {globbySync} from 'globby'; import {metaThemeDefault as tokenGroups} from '@shopify/polaris-tokens'; import mapValues from 'lodash.mapvalues'; @@ -143,7 +143,7 @@ function makeSerializable = Record>( const getRichCards = async ( pathGlob: string, ): Promise => { - const markdownFiles = globby.sync(pathGlob, {onlyFiles: true}); + const markdownFiles = globbySync(pathGlob, {onlyFiles: true}); return ( ( @@ -380,10 +380,9 @@ function fileShouldNotBeRenderedWithCatchAllTemplate( } export const getStaticPaths: GetStaticPaths = async () => { - const paths = globby - // Recursive search for all markdown files (globby requires posix paths) - // Note: files prefixed with an underscore are ignored - .sync(`${contentDir}/**/!(_)*.mdx`) + // Recursive search for all markdown files (globby requires posix paths) + // Note: files prefixed with an underscore are ignored + const paths = globbySync(`${contentDir}/**/!(_)*.mdx`) .map(extractSlugFromPath) .filter(fileShouldNotBeRenderedWithCatchAllTemplate); diff --git a/polaris.shopify.com/pages/components/[group]/[component]/index.tsx b/polaris.shopify.com/pages/components/[group]/[component]/index.tsx index 2ccd07c5fc6..02e8c08e3e6 100644 --- a/polaris.shopify.com/pages/components/[group]/[component]/index.tsx +++ b/polaris.shopify.com/pages/components/[group]/[component]/index.tsx @@ -1,5 +1,5 @@ import fs from 'fs'; -import globby from 'globby'; +import {globbySync} from 'globby'; import path from 'path'; import {VFile} from 'vfile'; import type {GetStaticPaths, GetStaticProps} from 'next'; @@ -178,8 +178,7 @@ export const getStaticProps: GetStaticProps< export const getStaticPaths: GetStaticPaths = async () => { const globPath = path.resolve(process.cwd(), 'content/components/**/*.mdx'); - const paths = globby - .sync(globPath) + const paths = globbySync(globPath) .filter((path) => !path.endsWith('index.mdx')) .map((path) => path.replace(`${process.cwd()}/content`, '').replace('.mdx', ''), diff --git a/polaris.shopify.com/pages/tools/stylelint-polaris/rules/index.tsx b/polaris.shopify.com/pages/tools/stylelint-polaris/rules/index.tsx index 1d3972054b5..5aef9a840c0 100644 --- a/polaris.shopify.com/pages/tools/stylelint-polaris/rules/index.tsx +++ b/polaris.shopify.com/pages/tools/stylelint-polaris/rules/index.tsx @@ -1,7 +1,7 @@ import type {GetStaticProps} from 'next'; import fs from 'fs'; import path from 'path'; -import globby from 'globby'; +import {globbySync} from 'globby'; import Longform from '../../../../src/components/Longform'; import Markdown from '../../../../src/components/Markdown'; import Page from '../../../../src/components/Page'; @@ -64,9 +64,9 @@ function indexPageMetadata() { function ruleListMarkdown(directory: string): string { const globPath = [`${directory}/*.mdx`]; - const rulePagePaths = globby - .sync(globPath) - .filter((path) => !path.endsWith(`${rulesPath}/index.mdx`)); + const rulePagePaths = globbySync(globPath).filter( + (path) => !path.endsWith(`${rulesPath}/index.mdx`), + ); const content: {[key: string]: string[]} = {}; rulePagePaths.forEach((markdownFilePath) => { diff --git a/polaris.shopify.com/scripts/change-file-structure.mjs b/polaris.shopify.com/scripts/change-file-structure.mjs index 32cffb94ada..db6850fb9b9 100644 --- a/polaris.shopify.com/scripts/change-file-structure.mjs +++ b/polaris.shopify.com/scripts/change-file-structure.mjs @@ -1,10 +1,10 @@ import path from 'path'; import fs from 'fs'; -import globby from 'globby'; +import {globbySync} from 'globby'; const pathGlob = path.join(process.cwd(), 'content/**/index.mdx'); -const filePaths = globby.sync(pathGlob); +const filePaths = globbySync(pathGlob); filePaths.forEach((filePath) => { const segments = filePath.split('/'); diff --git a/polaris.shopify.com/scripts/gen-cache-json.ts b/polaris.shopify.com/scripts/gen-cache-json.ts index 009f6849f60..378f88ab5b8 100644 --- a/polaris.shopify.com/scripts/gen-cache-json.ts +++ b/polaris.shopify.com/scripts/gen-cache-json.ts @@ -1,5 +1,5 @@ import path from 'path'; -import globby from 'globby'; +import {globby} from 'globby'; import {existsSync} from 'fs'; import {mkdir, writeFile, readFile} from 'fs/promises'; import matter from 'gray-matter'; diff --git a/polaris.shopify.com/scripts/get-props/src/get-props.ts b/polaris.shopify.com/scripts/get-props/src/get-props.ts index b303ba6bb71..dc0ea63bc9a 100755 --- a/polaris.shopify.com/scripts/get-props/src/get-props.ts +++ b/polaris.shopify.com/scripts/get-props/src/get-props.ts @@ -3,7 +3,7 @@ import * as ts from 'typescript'; import * as fs from 'fs'; import path from 'path'; -import globby from 'globby'; +import {globby} from 'globby'; import {Type, FilteredTypes, AllTypes} from '../../../src/types'; type NodeParser = ( diff --git a/polaris.shopify.com/tsconfig.json b/polaris.shopify.com/tsconfig.json index bc5caac466b..366aacc9ea3 100644 --- a/polaris.shopify.com/tsconfig.json +++ b/polaris.shopify.com/tsconfig.json @@ -32,13 +32,5 @@ "constants.js", "../polaris-tokens/dist" ], - "exclude": ["node_modules", "scripts/get-props/testData"], - "ts-node": { - "transpileOnly": true, - "files": true, - "compilerOptions": { - "module": "CommonJS", - "jsx": "react" - } - } + "exclude": ["node_modules", "scripts/get-props/testData"] }