diff --git a/.github/settings.yml b/.github/settings.yml index 82a7ee0..2cff29c 100644 --- a/.github/settings.yml +++ b/.github/settings.yml @@ -60,7 +60,7 @@ branches: # Required. Require branches to be up to date before merging. strict: true # Required. The list of status checks to require in order to merge into this branch - contexts: ["test (18.x)", "license/cla"] + contexts: ["test (18.x)", "test (20.x)", "license/cla"] # Required. Enforce all configured restrictions for administrators. Set to true to enforce required status checks for repository administrators. Set to null to disable. enforce_admins: false # Required. Restrict who can push to this branch. Team and user restrictions are only available for organization-owned repositories. Set to null to disable. diff --git a/.github/workflows/testPublish.yml b/.github/workflows/testPublish.yml index 11156cd..e8bd23e 100644 --- a/.github/workflows/testPublish.yml +++ b/.github/workflows/testPublish.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: - node-version: [ 18.x ] + node-version: [18.x, 20.x] steps: - uses: actions/checkout@v4 @@ -37,7 +37,7 @@ jobs: persist-credentials: false - uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 20 - run: npm ci - run: npm run build - uses: cycjimmy/semantic-release-action@v4 diff --git a/.husky/_/husky.sh b/.husky/_/husky.sh index cec959a..e69de29 100644 --- a/.husky/_/husky.sh +++ b/.husky/_/husky.sh @@ -1,36 +0,0 @@ -#!/usr/bin/env sh -if [ -z "$husky_skip_init" ]; then - debug () { - if [ "$HUSKY_DEBUG" = "1" ]; then - echo "husky (debug) - $1" - fi - } - - readonly hook_name="$(basename -- "$0")" - debug "starting $hook_name..." - - if [ "$HUSKY" = "0" ]; then - debug "HUSKY env variable is set to 0, skipping hook" - exit 0 - fi - - if [ -f ~/.huskyrc ]; then - debug "sourcing ~/.huskyrc" - . ~/.huskyrc - fi - - readonly husky_skip_init=1 - export husky_skip_init - sh -e "$0" "$@" - exitCode="$?" - - if [ $exitCode != 0 ]; then - echo "husky - $hook_name hook exited with code $exitCode (error)" - fi - - if [ $exitCode = 127 ]; then - echo "husky - command not found in PATH=$PATH" - fi - - exit $exitCode -fi diff --git a/package-lock.json b/package-lock.json index ccffc8d..3378e6f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,10 +10,10 @@ "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { - "@aurodesignsystem/auro-accordion": "^3.1.6", - "@aurodesignsystem/auro-hyperlink": "^3.5.0", + "@aurodesignsystem/auro-accordion": "^3.1.8", + "@aurodesignsystem/auro-hyperlink": "^3.5.2", "chalk": "^5.3.0", - "lit": "^3.1.1" + "lit": "^3.1.2" }, "devDependencies": { "@aurodesignsystem/auro-library": "^2.2.6", @@ -37,7 +37,7 @@ "core-js": "^3.35.1", "eslint": "^8.56.0", "eslint-plugin-jsdoc": "^48.0.2", - "husky": "^8.0.3", + "husky": "^9.0.7", "lodash": "^4.17.21", "markdown-magic": "^2.6.1", "nodemon": "^3.0.3", @@ -170,9 +170,9 @@ } }, "node_modules/@aurodesignsystem/auro-accordion": { - "version": "3.1.7", - "resolved": "https://registry.npmjs.org/@aurodesignsystem/auro-accordion/-/auro-accordion-3.1.7.tgz", - "integrity": "sha512-IOx28DZXVt8XCA1N1PQLx/OUbxphzbzc2GyoaClK5Ki6mjt8q7FKILY5olujXloFM87//m4lhlsxiim6Y6IxJw==", + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/@aurodesignsystem/auro-accordion/-/auro-accordion-3.1.8.tgz", + "integrity": "sha512-ryBtxWucHthv1wxc6Q8P+qo5qKhhahQHYBh6r5N7VJ7th3PzJAABP+suPdDoZUINNaDdNPlpuW4KeBjVLt5k9w==", "hasInstallScript": true, "dependencies": { "@alaskaairux/icons": "^4.31.0", @@ -189,9 +189,9 @@ } }, "node_modules/@aurodesignsystem/auro-button": { - "version": "7.2.4", - "resolved": "https://registry.npmjs.org/@aurodesignsystem/auro-button/-/auro-button-7.2.4.tgz", - "integrity": "sha512-kXvuj2UHlrj7PEwray1078RVmbtxqIH9PGjmRKy0k1pnzcKUnbCgZcYeeEoWby7n9xs+GIUoYbYv8PT07l1B9w==", + "version": "7.2.5", + "resolved": "https://registry.npmjs.org/@aurodesignsystem/auro-button/-/auro-button-7.2.5.tgz", + "integrity": "sha512-W4UoCwzUEsVyPsinnxW6/1ZBv+f6MDRp9pXRez5nIzF+cH7R3e7qVy7KaL3/eAQU3KMdSxdtVp3bYmB9oPO3nA==", "hasInstallScript": true, "peer": true, "dependencies": { @@ -208,9 +208,9 @@ } }, "node_modules/@aurodesignsystem/auro-hyperlink": { - "version": "3.5.1", - "resolved": "https://registry.npmjs.org/@aurodesignsystem/auro-hyperlink/-/auro-hyperlink-3.5.1.tgz", - "integrity": "sha512-IXBfth4XafeE0TnEJYs6oGEZRcghdSOloBg29npAh09bGPe21GZVF5WeH2yOHN4OG1RO8HwOCDQ8LzdpbJE/4Q==", + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/@aurodesignsystem/auro-hyperlink/-/auro-hyperlink-3.5.2.tgz", + "integrity": "sha512-cdeUdb9T6j4OL7gc8fMtiAJF8jROXGqCPQ18u24lEPmqx2qc6AV0NVzaDJkkhBKUFmsJfiO3b7vjK90gUw9/Lg==", "hasInstallScript": true, "dependencies": { "chalk": "^5.3.0", @@ -241,9 +241,9 @@ } }, "node_modules/@aurodesignsystem/auro-loader": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@aurodesignsystem/auro-loader/-/auro-loader-2.0.2.tgz", - "integrity": "sha512-oAHZper5kSGvYRabp7FcPaJgw7p6lMfyIWyW/A0ZsbpA4Gr3iwxaCdbIPg40QqGTRAlrVq64o6ERxl3MAFxr0A==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@aurodesignsystem/auro-loader/-/auro-loader-2.0.3.tgz", + "integrity": "sha512-r/iUkNBrMaM7ssDcZSL69a3rrZ6lso4tHZcmrmb/I9X5faASeWSPJAb843tx7V2I3mtGHmB3n1dwJqnEmQTW9A==", "hasInstallScript": true, "peer": true, "dependencies": { @@ -1277,16 +1277,16 @@ } }, "node_modules/@lit-labs/ssr-dom-shim": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@lit-labs/ssr-dom-shim/-/ssr-dom-shim-1.1.2.tgz", - "integrity": "sha512-jnOD+/+dSrfTWYfSXBXlo5l5f0q1UuJo3tkbMDCYA2lKUYq79jaxqtGEvnRoh049nt1vdo1+45RinipU6FGY2g==" + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@lit-labs/ssr-dom-shim/-/ssr-dom-shim-1.2.0.tgz", + "integrity": "sha512-yWJKmpGE6lUURKAaIltoPIE/wrbY3TEkqQt+X0m+7fQNnAv0keydnYvbiJFP1PnMhizmIWRWOG5KLhYyc/xl+g==" }, "node_modules/@lit/reactive-element": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@lit/reactive-element/-/reactive-element-2.0.3.tgz", - "integrity": "sha512-e067EuTNNgOHm1tZcc0Ia7TCzD/9ZpoPegHKgesrGK6pSDRGkGDAQbYuQclqLPIoJ9eC8Kb9mYtGryWcM5AywA==", + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@lit/reactive-element/-/reactive-element-2.0.4.tgz", + "integrity": "sha512-GFn91inaUa2oHLak8awSIigYz0cU0Payr1rcFsrkf5OJ5eSPxElyZfKh0f2p9FsTiZWXQdWGJeXZICEfXXYSXQ==", "dependencies": { - "@lit-labs/ssr-dom-shim": "^1.1.2" + "@lit-labs/ssr-dom-shim": "^1.2.0" } }, "node_modules/@nodelib/fs.scandir": { @@ -1666,6 +1666,45 @@ } } }, + "node_modules/@rollup/rollup-android-arm-eabi": { + "version": "4.9.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.9.6.tgz", + "integrity": "sha512-MVNXSSYN6QXOulbHpLMKYi60ppyO13W9my1qogeiAqtjb2yR4LSmfU2+POvDkLzhjYLXz9Rf9+9a3zFHW1Lecg==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-android-arm64": { + "version": "4.9.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.9.6.tgz", + "integrity": "sha512-T14aNLpqJ5wzKNf5jEDpv5zgyIqcpn1MlwCrUXLrwoADr2RkWA0vOWP4XxbO9aiO3dvMCQICZdKeDrFl7UMClw==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-darwin-arm64": { + "version": "4.9.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.9.6.tgz", + "integrity": "sha512-CqNNAyhRkTbo8VVZ5R85X73H3R5NX9ONnKbXuHisGWC0qRbTTxnF1U4V9NafzJbgGM0sHZpdO83pLPzq8uOZFw==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ] + }, "node_modules/@rollup/rollup-darwin-x64": { "version": "4.9.6", "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.9.6.tgz", @@ -1679,6 +1718,123 @@ "darwin" ] }, + "node_modules/@rollup/rollup-linux-arm-gnueabihf": { + "version": "4.9.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.9.6.tgz", + "integrity": "sha512-oNk8YXDDnNyG4qlNb6is1ojTOGL/tRhbbKeE/YuccItzerEZT68Z9gHrY3ROh7axDc974+zYAPxK5SH0j/G+QQ==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-gnu": { + "version": "4.9.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.9.6.tgz", + "integrity": "sha512-Z3O60yxPtuCYobrtzjo0wlmvDdx2qZfeAWTyfOjEDqd08kthDKexLpV97KfAeUXPosENKd8uyJMRDfFMxcYkDQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-musl": { + "version": "4.9.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.9.6.tgz", + "integrity": "sha512-gpiG0qQJNdYEVad+1iAsGAbgAnZ8j07FapmnIAQgODKcOTjLEWM9sRb+MbQyVsYCnA0Im6M6QIq6ax7liws6eQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-riscv64-gnu": { + "version": "4.9.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.9.6.tgz", + "integrity": "sha512-+uCOcvVmFUYvVDr27aiyun9WgZk0tXe7ThuzoUTAukZJOwS5MrGbmSlNOhx1j80GdpqbOty05XqSl5w4dQvcOA==", + "cpu": [ + "riscv64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-gnu": { + "version": "4.9.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.9.6.tgz", + "integrity": "sha512-HUNqM32dGzfBKuaDUBqFB7tP6VMN74eLZ33Q9Y1TBqRDn+qDonkAUyKWwF9BR9unV7QUzffLnz9GrnKvMqC/fw==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-musl": { + "version": "4.9.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.9.6.tgz", + "integrity": "sha512-ch7M+9Tr5R4FK40FHQk8VnML0Szi2KRujUgHXd/HjuH9ifH72GUmw6lStZBo3c3GB82vHa0ZoUfjfcM7JiiMrQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-win32-arm64-msvc": { + "version": "4.9.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.9.6.tgz", + "integrity": "sha512-VD6qnR99dhmTQ1mJhIzXsRcTBvTjbfbGGwKAHcu+52cVl15AC/kplkhxzW/uT0Xl62Y/meBKDZvoJSJN+vTeGA==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-ia32-msvc": { + "version": "4.9.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.9.6.tgz", + "integrity": "sha512-J9AFDq/xiRI58eR2NIDfyVmTYGyIZmRcvcAoJ48oDld/NTR8wyiPUu2X/v1navJ+N/FGg68LEbX3Ejd6l8B7MQ==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-x64-msvc": { + "version": "4.9.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.9.6.tgz", + "integrity": "sha512-jqzNLhNDvIZOrt69Ce4UjGRpXJBzhUBzawMwnaDAwyHriki3XollsewxWzOzz+4yOFDkuJHtTsZFwMxhYJWmLQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ] + }, "node_modules/@semantic-release/changelog": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/@semantic-release/changelog/-/changelog-6.0.3.tgz", @@ -2493,9 +2649,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "20.11.12", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.12.tgz", - "integrity": "sha512-N/Az9BkJ6IWCJ3GeKea/vMQLfV37ci1fApx2x5UQvfa0N5OTjR/c17hEkt6Q0LSF6XSF7hcgrd/DOobibskPNw==", + "version": "20.11.14", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.14.tgz", + "integrity": "sha512-w3yWCcwULefjP9DmDDsgUskrMoOy5Z8MiwKHr1FvqGPtx7CvJzQvxD7eKpxNtklQxLruxSXWddyeRtyud0RcXQ==", "dev": true, "dependencies": { "undici-types": "~5.26.4" @@ -5071,9 +5227,9 @@ "dev": true }, "node_modules/electron-to-chromium": { - "version": "1.4.651", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.651.tgz", - "integrity": "sha512-jjks7Xx+4I7dslwsbaFocSwqBbGHQmuXBJUK9QBZTIrzPq3pzn6Uf2szFSP728FtLYE3ldiccmlkOM/zhGKCpA==", + "version": "1.4.653", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.653.tgz", + "integrity": "sha512-wA2A2LQCqnEwQAvwADQq3KpMpNwgAUBnRmrFgRzHnPhbQUFArTR32Ab46f4p0MovDLcg4uqd4nCsN2hTltslpA==", "dev": true }, "node_modules/emoji-regex": { @@ -7214,15 +7370,15 @@ } }, "node_modules/husky": { - "version": "8.0.3", - "resolved": "https://registry.npmjs.org/husky/-/husky-8.0.3.tgz", - "integrity": "sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==", + "version": "9.0.7", + "resolved": "https://registry.npmjs.org/husky/-/husky-9.0.7.tgz", + "integrity": "sha512-vWdusw+y12DUEeoZqW1kplOFqk3tedGV8qlga8/SF6a3lOiWLqGZZQvfWvY0fQYdfiRi/u1DFNpudTSV9l1aCg==", "dev": true, "bin": { - "husky": "lib/bin.js" + "husky": "bin.js" }, "engines": { - "node": ">=14" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/typicode" @@ -8306,29 +8462,29 @@ "dev": true }, "node_modules/lit": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/lit/-/lit-3.1.1.tgz", - "integrity": "sha512-hF1y4K58+Gqrz+aAPS0DNBwPqPrg6P04DuWK52eMkt/SM9Qe9keWLcFgRcEKOLuDlRZlDsDbNL37Vr7ew1VCuw==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/lit/-/lit-3.1.2.tgz", + "integrity": "sha512-VZx5iAyMtX7CV4K8iTLdCkMaYZ7ipjJZ0JcSdJ0zIdGxxyurjIn7yuuSxNBD7QmjvcNJwr0JS4cAdAtsy7gZ6w==", "dependencies": { - "@lit/reactive-element": "^2.0.0", - "lit-element": "^4.0.0", - "lit-html": "^3.1.0" + "@lit/reactive-element": "^2.0.4", + "lit-element": "^4.0.4", + "lit-html": "^3.1.2" } }, "node_modules/lit-element": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/lit-element/-/lit-element-4.0.3.tgz", - "integrity": "sha512-2vhidmC7gGLfnVx41P8UZpzyS0Fb8wYhS5RCm16cMW3oERO0Khd3EsKwtRpOnttuByI5rURjT2dfoA7NlInCNw==", + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/lit-element/-/lit-element-4.0.4.tgz", + "integrity": "sha512-98CvgulX6eCPs6TyAIQoJZBCQPo80rgXR+dVBs61cstJXqtI+USQZAbA4gFHh6L/mxBx9MrgPLHLsUgDUHAcCQ==", "dependencies": { - "@lit-labs/ssr-dom-shim": "^1.1.2", - "@lit/reactive-element": "^2.0.0", - "lit-html": "^3.1.0" + "@lit-labs/ssr-dom-shim": "^1.2.0", + "@lit/reactive-element": "^2.0.4", + "lit-html": "^3.1.2" } }, "node_modules/lit-html": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/lit-html/-/lit-html-3.1.1.tgz", - "integrity": "sha512-x/EwfGk2D/f4odSFM40hcGumzqoKv0/SUh6fBO+1Ragez81APrcAMPo1jIrCDd9Sn+Z4CT867HWKViByvkDZUA==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/lit-html/-/lit-html-3.1.2.tgz", + "integrity": "sha512-3OBZSUrPnAHoKJ9AMjRL/m01YJxQMf+TMHanNtTHG68ubjnZxK0RFl102DPzsw4mWnHibfZIBJm3LWCZ/LmMvg==", "dependencies": { "@types/trusted-types": "^2.0.2" } diff --git a/package.json b/package.json index 4bcc7d6..4b1877a 100644 --- a/package.json +++ b/package.json @@ -20,10 +20,10 @@ "node": "^18 || ^20" }, "dependencies": { - "@aurodesignsystem/auro-accordion": "^3.1.6", - "@aurodesignsystem/auro-hyperlink": "^3.5.0", + "@aurodesignsystem/auro-accordion": "^3.1.8", + "@aurodesignsystem/auro-hyperlink": "^3.5.2", "chalk": "^5.3.0", - "lit": "^3.1.1" + "lit": "^3.1.2" }, "peerDependencies": { "@aurodesignsystem/design-tokens": "^4.3.0", @@ -51,7 +51,7 @@ "core-js": "^3.35.1", "eslint": "^8.56.0", "eslint-plugin-jsdoc": "^48.0.2", - "husky": "^8.0.3", + "husky": "^9.0.7", "lodash": "^4.17.21", "markdown-magic": "^2.6.1", "nodemon": "^3.0.3",