diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7fe396947b8..6a74d136c14 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: ['16.13.0', '18.12.0'] + node-version: ['16.17.0', '18.12.0'] steps: - name: Checkout branch uses: actions/checkout@v3 diff --git a/documentation/Nodejs support.md b/documentation/Nodejs support.md index ba456d27d16..dfe4e9dc591 100644 --- a/documentation/Nodejs support.md +++ b/documentation/Nodejs support.md @@ -16,14 +16,14 @@ The `package.json` engines. This should match the `.github/workflows/ci.yml` and ```json "engines": { - "node": "^16.13.0 || >=18.12.0" + "node": "^16.17.0 || >=18.12.0" }, ``` The GitHub actions `.github/workflows/ci.yml` file. This should match the `package.json` and list all supported versions. ```yml -node-version: ['16.13.0', '18.12.0'] +node-version: ['16.17.0', '18.12.0'] ``` The `dev.yml` file which creates a local development environment. This should match the `.nvmrc` file. @@ -43,12 +43,12 @@ The `shipit.yml` files. This should point towards the GitHub Actions the package ```yml ci: require: - - 'Validate with Node v16.13.0' + - 'Validate with Node v16.17.0' - 'Validate with Node v18.12.0' merge: require: - - 'Validate with Node v16.13.0' + - 'Validate with Node v16.17.0' - 'Validate with Node v18.12.0' ``` diff --git a/package.json b/package.json index af5605df5b9..8ae8b40c605 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "0.0.0", "private": true, "engines": { - "node": "^16.13.0 || >=18.12.0" + "node": "^16.17.0 || >=18.12.0" }, "workspaces": { "packages": [ diff --git a/polaris-cli/package.json b/polaris-cli/package.json index 97a4beb2a7c..c5c26e2d3e8 100644 --- a/polaris-cli/package.json +++ b/polaris-cli/package.json @@ -31,7 +31,7 @@ }, "engine-strict": true, "engines": { - "node": "^16.13.0 || >=18.12.0" + "node": "^16.17.0 || >=18.12.0" }, "os": [ "darwin", diff --git a/polaris-for-vscode/package.json b/polaris-for-vscode/package.json index 238958519bb..2867c5e070e 100644 --- a/polaris-for-vscode/package.json +++ b/polaris-for-vscode/package.json @@ -21,7 +21,7 @@ ], "engines": { "vscode": "^1.64.0", - "node": "^16.13.0 || >=18.12.0" + "node": "^16.17.0 || >=18.12.0" }, "categories": [ "Other" diff --git a/polaris-icons/package.json b/polaris-icons/package.json index e1d4cb393c0..f4f92593a30 100644 --- a/polaris-icons/package.json +++ b/polaris-icons/package.json @@ -14,7 +14,7 @@ } }, "engines": { - "node": "^16.13.0 || >=18.12.0" + "node": "^16.17.0 || >=18.12.0" }, "scripts": { "build": "rollup -c", diff --git a/polaris-migrator/package.json b/polaris-migrator/package.json index 60153bbc59e..96838ca10fc 100644 --- a/polaris-migrator/package.json +++ b/polaris-migrator/package.json @@ -7,7 +7,7 @@ "homepage": "https://polaris.shopify.com", "repository": "https://github.com/Shopify/polaris", "engines": { - "node": "^16.13.0 || >=18.12.0" + "node": "^16.17.0 || >=18.12.0" }, "bugs": { "url": "https://github.com/Shopify/polaris/issues" diff --git a/polaris-migrator/rollup.config.mjs b/polaris-migrator/rollup.config.mjs index cca342166c8..5785b04448d 100644 --- a/polaris-migrator/rollup.config.mjs +++ b/polaris-migrator/rollup.config.mjs @@ -45,7 +45,7 @@ export default { include: ['src/**/*'], babelHelpers: 'bundled', envName: 'production', - targets: 'node 16.13.0', + targets: 'node 16.17.0', }), json({compact: true}), ], diff --git a/polaris-react/package.json b/polaris-react/package.json index 0e688785098..e9799cbf34e 100644 --- a/polaris-react/package.json +++ b/polaris-react/package.json @@ -11,7 +11,7 @@ "url": "https://github.com/Shopify/polaris/issues" }, "engines": { - "node": "^16.13.0 || >=18.12.0" + "node": "^16.17.0 || >=18.12.0" }, "publishConfig": { "access": "public", diff --git a/polaris-react/rollup.config.mjs b/polaris-react/rollup.config.mjs index 72be19f0499..d4c67eb25f9 100644 --- a/polaris-react/rollup.config.mjs +++ b/polaris-react/rollup.config.mjs @@ -54,7 +54,7 @@ function generateConfig({output, targets, stylesConfig}) { /** @type {import('rollup').RollupOptions} */ export default [ generateConfig({ - targets: 'extends @shopify/browserslist-config, node 16.13.0', + targets: 'extends @shopify/browserslist-config, node 16.17.0', stylesConfig: { mode: 'standalone', output: 'styles.css', diff --git a/polaris-tokens/package.json b/polaris-tokens/package.json index 87f8ad45aac..797ef3e4136 100644 --- a/polaris-tokens/package.json +++ b/polaris-tokens/package.json @@ -6,7 +6,7 @@ "module": "dist/esm/build/index.mjs", "types": "dist/types/build/index.d.ts", "engines": { - "node": "^16.13.0 || >=18.12.0" + "node": "^16.17.0 || >=18.12.0" }, "exports": { ".": { diff --git a/polaris.shopify.com/package.json b/polaris.shopify.com/package.json index e16fbe54ffa..11e08d09996 100644 --- a/polaris.shopify.com/package.json +++ b/polaris.shopify.com/package.json @@ -3,7 +3,7 @@ "version": "0.30.1", "private": true, "engines": { - "node": "^16.13.0 || >=18.12.0" + "node": "^16.17.0 || >=18.12.0" }, "scripts": { "build": "yarn gen-assets && playroom build && next build && cp -r public ./.next/standalone/polaris.shopify.com/ && mkdirp ./.next/standalone/polaris.shopify.com/.next && cp -r .next/static ./.next/standalone/polaris.shopify.com/.next/", diff --git a/stylelint-polaris/package.json b/stylelint-polaris/package.json index 36db453701b..fc4d60c1511 100644 --- a/stylelint-polaris/package.json +++ b/stylelint-polaris/package.json @@ -14,7 +14,7 @@ "@shopify:registry": "https://registry.npmjs.org" }, "engines": { - "node": "^16.13.0 || >=18.12.0" + "node": "^16.17.0 || >=18.12.0" }, "files": [ "index.js", diff --git a/yarn.lock b/yarn.lock index 3987e7475a3..5b7fc039188 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7002,26 +7002,15 @@ browserify-zlib@^0.2.0: dependencies: pako "~1.0.5" -browserslist@^4.0.0, browserslist@^4.12.0, browserslist@^4.14.5, browserslist@^4.16.6, browserslist@^4.20.2, browserslist@^4.20.3: - version "4.20.3" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.20.3.tgz#eb7572f49ec430e054f56d52ff0ebe9be915f8bf" - integrity sha512-NBhymBQl1zM0Y5dQT/O+xiLP9/rzOIQdKM/eMJBAq7yBgaB6krIYLGejrwVYnSHZdqjscB1SPuAjHwxjvN6Wdg== +browserslist@^4.0.0, browserslist@^4.12.0, browserslist@^4.14.5, browserslist@^4.16.6, browserslist@^4.20.2, browserslist@^4.20.3, browserslist@^4.21.3, browserslist@^4.21.4: + version "4.21.5" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.21.5.tgz#75c5dae60063ee641f977e00edd3cfb2fb7af6a7" + integrity sha512-tUkiguQGW7S3IhB7N+c2MV/HZPSCPAAiYBZXLsBhFB/PCy6ZKKsZrmBayHV9fdGV/ARIfJ14NkxKzRDjvp7L6w== dependencies: - caniuse-lite "^1.0.30001332" - electron-to-chromium "^1.4.118" - escalade "^3.1.1" - node-releases "^2.0.3" - picocolors "^1.0.0" - -browserslist@^4.21.3, browserslist@^4.21.4: - version "4.21.4" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.21.4.tgz#e7496bbc67b9e39dd0f98565feccdcb0d4ff6987" - integrity sha512-CBHJJdDmgjl3daYjN5Cp5kbTf1mUhZoS+beLklHIvkOWscs83YAhLlF3Wsh/lciQYAcbBJgTOD44VtG31ZM4Hw== - dependencies: - caniuse-lite "^1.0.30001400" - electron-to-chromium "^1.4.251" - node-releases "^2.0.6" - update-browserslist-db "^1.0.9" + caniuse-lite "^1.0.30001449" + electron-to-chromium "^1.4.284" + node-releases "^2.0.8" + update-browserslist-db "^1.0.10" bser@2.1.1: version "2.1.1" @@ -7400,16 +7389,16 @@ caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.30001332: resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001334.tgz#892e9965b35285033fc2b8a8eff499fe02f13d8b" integrity sha512-kbaCEBRRVSoeNs74sCuq92MJyGrMtjWVfhltoHUCW4t4pXFvGjUBrfo47weBRViHkiV3eBYyIsfl956NtHGazw== -caniuse-lite@^1.0.30001400: - version "1.0.30001418" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001418.tgz#5f459215192a024c99e3e3a53aac310fc7cf24e6" - integrity sha512-oIs7+JL3K9JRQ3jPZjlH6qyYDp+nBTCais7hjh0s+fuBwufc7uZ7hPYMXrDOJhV360KGMTcczMRObk0/iMqZRg== - caniuse-lite@^1.0.30001406: version "1.0.30001426" resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001426.tgz#58da20446ccd0cb1dfebd11d2350c907ee7c2eaa" integrity sha512-n7cosrHLl8AWt0wwZw/PJZgUg3lV0gk9LMI7ikGJwhyhgsd2Nb65vKvmSexCqq/J7rbH3mFG6yZZiPR5dLPW5A== +caniuse-lite@^1.0.30001449: + version "1.0.30001449" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001449.tgz#a8d11f6a814c75c9ce9d851dc53eb1d1dfbcd657" + integrity sha512-CPB+UL9XMT/Av+pJxCKGhdx+yg1hzplvFJQlJ2n68PyQGMz9L/E2zCyLdOL8uasbouTUgnPl+y0tccI/se+BEw== + capital-case@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/capital-case/-/capital-case-1.0.4.tgz#9d130292353c9249f6b00fa5852bee38a717e669" @@ -9349,15 +9338,10 @@ ejs@^3.1.6: dependencies: jake "^10.8.5" -electron-to-chromium@^1.4.118: - version "1.4.124" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.124.tgz#e9015e234d8632920dcdf5480351da9e845ed220" - integrity sha512-VhaE9VUYU6d2eIb+4xf83CATD+T+3bTzvxvlADkQE+c2hisiw3sZmvEDtsW704+Zky9WZGhBuQXijDVqSriQLA== - -electron-to-chromium@^1.4.251: - version "1.4.276" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.276.tgz#17837b19dafcc43aba885c4689358b298c19b520" - integrity sha512-EpuHPqu8YhonqLBXHoU6hDJCD98FCe6KDoet3/gY1qsQ6usjJoHqBH2YIVs8FXaAtHwVL8Uqa/fsYao/vq9VWQ== +electron-to-chromium@^1.4.284: + version "1.4.284" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.284.tgz#61046d1e4cab3a25238f6bf7413795270f125592" + integrity sha512-M8WEXFuKXMYMVr45fo8mq0wUrrJHheiKZf6BArTKk9ZBYCKJEOU5H8cdWgDT+qCVZf7Na4lVUaZsA+h6uA9+PA== element-resize-detector@^1.2.2: version "1.2.4" @@ -16235,15 +16219,10 @@ node-plop@^0.31.0: title-case "^3.0.3" upper-case "^2.0.2" -node-releases@^2.0.3: - version "2.0.4" - resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.4.tgz#f38252370c43854dc48aa431c766c6c398f40476" - integrity sha512-gbMzqQtTtDz/00jQzZ21PQzdI9PyLYqUSvD0p3naOhX4odFji0ZxYdnVwPTxmSwkmxhcFImpozceidSG+AgoPQ== - -node-releases@^2.0.6: - version "2.0.6" - resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.6.tgz#8a7088c63a55e493845683ebf3c828d8c51c5503" - integrity sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg== +node-releases@^2.0.8: + version "2.0.8" + resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.8.tgz#0f349cdc8fcfa39a92ac0be9bc48b7706292b9ae" + integrity sha512-dFSmB8fFHEH/s81Xi+Y/15DQY6VHW81nXRj86EMSL3lmuTmK1e+aT4wrFCkTbm+gSwkw4KpX+rT/pMM2c1mF+A== node-sass@^7.0.1: version "7.0.1" @@ -22059,7 +22038,7 @@ upath@^1.1.1: resolved "https://registry.yarnpkg.com/upath/-/upath-1.2.0.tgz#8f66dbcd55a883acdae4408af8b035a5044c1894" integrity sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg== -update-browserslist-db@^1.0.9: +update-browserslist-db@^1.0.10: version "1.0.10" resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.10.tgz#0f54b876545726f17d00cd9a2561e6dade943ff3" integrity sha512-OztqDenkfFkbSG+tRxBeAnCVPckDBcvibKd35yDONx6OU8N7sqgwc7rCbkJ/WcYtVRZ4ba68d6byhC21GFh7sQ==