diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f87aa1385..d8b325936 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,6 +12,7 @@ jobs: node: - 16 - 18 + - 20 os: - macos-latest - windows-latest @@ -19,15 +20,13 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout Repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup pnpm uses: pnpm/action-setup@v2 - with: - version: latest - name: Setup Node.js ${{ matrix.node }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} cache: pnpm diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index c5b28a408..e4cf27cd8 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -1,10 +1,12 @@ -name: 'CodeQL' +name: CodeQL on: push: - branches: ['main'] + branches: + - main pull_request: - branches: ['main'] + branches: + - main schedule: - cron: '14 20 * * 2' @@ -20,11 +22,12 @@ jobs: strategy: fail-fast: false matrix: - language: [javascript] + language: + - javascript steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Initialize CodeQL uses: github/codeql-action/init@v2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6c3299033..6483b44b6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,20 +11,18 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits fetch-depth: 0 - name: Setup pnpm uses: pnpm/action-setup@v2 - with: - version: latest - - name: Setup Node.js 16 - uses: actions/setup-node@v3 + - name: Setup Node.js LTS + uses: actions/setup-node@v4 with: - node-version: 16 + node-version: lts/* cache: pnpm - name: Install Dependencies diff --git a/.github/workflows/size-limit.yml b/.github/workflows/size-limit.yml index e14908ab8..53c2280be 100644 --- a/.github/workflows/size-limit.yml +++ b/.github/workflows/size-limit.yml @@ -9,17 +9,15 @@ jobs: size-limit: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup pnpm uses: pnpm/action-setup@v2 - with: - version: latest - - name: Setup Node.js 16 + - name: Setup Node.js LTS uses: actions/setup-node@v3 with: - node-version: 16 + node-version: lts/* cache: pnpm - name: Install Dependencies diff --git a/package.json b/package.json index c5e19ff3e..4ff28f887 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "author": "JounQin (https://www.1stG.me) ", "funding": "https://opencollective.com/unts", "license": "MIT", - "packageManager": "pnpm@8.6.6", + "packageManager": "pnpm@8.11.0", "engines": { "node": ">=16.0.0" }, @@ -48,23 +48,23 @@ "wasm": "tinygo build -o main.wasm -target wasm --no-debug" }, "dependencies": { - "tslib": "^2.6.0" + "tslib": "^2.6.2" }, "devDependencies": { "@1stg/lib-config": "^12.0.0", "@changesets/changelog-github": "^0.4.8", "@changesets/cli": "^2.26.2", - "@types/golang-wasm-exec": "^1.15.0", - "@types/mvdan-sh": "^0.10.2", + "@types/golang-wasm-exec": "^1.15.2", + "@types/mvdan-sh": "^0.10.9", "@types/node": "^20.4.0", - "@types/web": "^0.0.103", + "@types/web": "^0.0.115", "@vitest/coverage-istanbul": "^0.32.4", "mitata": "^0.1.6", "mvdan-sh": "^0.10.1", "size-limit": "^8.2.6", "size-limit-preset-node-lib": "^0.2.0", "synckit": "^0.8.5", - "type-coverage": "^2.26.0", + "type-coverage": "^2.26.2", "typescript": "^5.1.6", "vitest": "^0.32.4" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f0268ca81..eeda76019 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -6,8 +6,8 @@ settings: dependencies: tslib: - specifier: ^2.6.0 - version: 2.6.0 + specifier: ^2.6.2 + version: 2.6.2 devDependencies: '@1stg/lib-config': @@ -20,17 +20,17 @@ devDependencies: specifier: ^2.26.2 version: 2.26.2 '@types/golang-wasm-exec': - specifier: ^1.15.0 - version: 1.15.0 + specifier: ^1.15.2 + version: 1.15.2 '@types/mvdan-sh': - specifier: ^0.10.2 - version: 0.10.2 + specifier: ^0.10.9 + version: 0.10.9 '@types/node': specifier: ^20.4.0 version: 20.4.0 '@types/web': - specifier: ^0.0.103 - version: 0.0.103 + specifier: ^0.0.115 + version: 0.0.115 '@vitest/coverage-istanbul': specifier: ^0.32.4 version: 0.32.4(vitest@0.32.4) @@ -50,8 +50,8 @@ devDependencies: specifier: ^0.8.5 version: 0.8.5 type-coverage: - specifier: ^2.26.0 - version: 2.26.0(typescript@5.1.6) + specifier: ^2.26.2 + version: 2.26.2(typescript@5.1.6) typescript: specifier: ^5.1.6 version: 5.1.6 @@ -124,7 +124,7 @@ packages: npm-run-all: 4.1.5 prettier: 2.8.8 simple-git-hooks: 2.8.1 - tslib: 2.6.0 + tslib: 2.6.2 transitivePeerDependencies: - '@babel/traverse' - '@markuplint/ml-core' @@ -3032,7 +3032,7 @@ packages: glob: 10.3.1 prettier: 2.8.8 ts-node: 10.9.1(@types/node@20.4.0)(typescript@5.1.6) - tslib: 2.6.0 + tslib: 2.6.2 typescript: 5.1.6 transitivePeerDependencies: - '@swc/core' @@ -3057,7 +3057,7 @@ packages: glob: 10.3.1 jsonc: 2.0.0 minimatch: 9.0.2 - tslib: 2.6.0 + tslib: 2.6.2 transitivePeerDependencies: - '@types/node' - supports-color @@ -3071,7 +3071,7 @@ packages: '@markuplint/ml-ast': 3.2.0 '@markuplint/parser-utils': 3.9.0 parse5: 7.1.2 - tslib: 2.6.0 + tslib: 2.6.2 type-fest: 3.12.0 transitivePeerDependencies: - supports-color @@ -3123,7 +3123,7 @@ packages: '@types/debug': 4.1.8 debug: 4.3.4 is-plain-object: 5.0.0 - tslib: 2.6.0 + tslib: 2.6.2 type-fest: 3.12.0 transitivePeerDependencies: - supports-color @@ -3136,7 +3136,7 @@ packages: '@markuplint/types': 3.8.0 dom-accessibility-api: 0.6.1 is-plain-object: 5.0.0 - tslib: 2.6.0 + tslib: 2.6.2 type-fest: 3.12.0 transitivePeerDependencies: - supports-color @@ -3148,7 +3148,7 @@ packages: '@markuplint/ml-ast': 3.2.0 '@markuplint/types': 3.8.0 '@types/uuid': 9.0.2 - tslib: 2.6.0 + tslib: 2.6.2 type-fest: 3.12.0 uuid: 9.0.0 transitivePeerDependencies: @@ -3169,7 +3169,7 @@ packages: ansi-colors: 4.1.3 chrono-node: 2.6.3 debug: 4.3.4 - tslib: 2.6.0 + tslib: 2.6.2 type-fest: 3.12.0 transitivePeerDependencies: - supports-color @@ -3182,7 +3182,7 @@ packages: '@types/debug': 4.1.8 debug: 4.3.4 postcss-selector-parser: 6.0.13 - tslib: 2.6.0 + tslib: 2.6.2 type-fest: 3.12.0 transitivePeerDependencies: - supports-color @@ -3201,7 +3201,7 @@ packages: '@markuplint/ml-ast': 3.2.0 '@markuplint/parser-utils': 3.9.0 svelte: 3.59.2 - tslib: 2.6.0 + tslib: 2.6.2 transitivePeerDependencies: - supports-color dev: true @@ -3229,7 +3229,7 @@ packages: '@markuplint/html-parser': 3.9.0 '@markuplint/ml-ast': 3.2.0 '@markuplint/parser-utils': 3.9.0 - tslib: 2.6.0 + tslib: 2.6.2 vue-eslint-parser: 9.3.1(eslint@8.44.0) transitivePeerDependencies: - eslint @@ -3347,7 +3347,7 @@ packages: rollup-plugin-unassert: 0.6.0 rollup-plugin-vue: 6.0.0(@vue/compiler-sfc@3.3.4) rollup-plugin-vue-jsx-compat: 0.0.6 - tslib: 2.6.0 + tslib: 2.6.2 unassert: 2.0.2 transitivePeerDependencies: - '@vue/compiler-sfc' @@ -3367,7 +3367,7 @@ packages: is-glob: 4.0.3 open: 9.1.0 picocolors: 1.0.0 - tslib: 2.6.0 + tslib: 2.6.2 dev: true /@prettier/plugin-pug@2.5.1(prettier@2.8.8): @@ -3610,8 +3610,8 @@ packages: '@types/node': 20.4.0 dev: true - /@types/golang-wasm-exec@1.15.0: - resolution: {integrity: sha512-FrL97mp7WW8LqNinVkzTVKOIQKuYjQqgucnh41+1vRQ+bf1LT8uh++KRf9otZPXsa6H1p8ruIGz1BmCGttOL6Q==} + /@types/golang-wasm-exec@1.15.2: + resolution: {integrity: sha512-NA77toY4yOiiV5foDVT/rfxmtoox7ASHqGs4Eek8xTMcKWwAhZLOD3SYfLQKq4P2jtOLQQkeISq3zSuQ1Y+apg==} dev: true /@types/has-yarn@1.0.1: @@ -3670,8 +3670,8 @@ packages: resolution: {integrity: sha512-MUSpfpW0yZbTgjekDbH0shMYBUD+X/uJJJMm9LXN1d5yjl5lCY1vN/eWKD6D1tOtjA6206K0zcIPnUaFMurdNA==} dev: true - /@types/mvdan-sh@0.10.2: - resolution: {integrity: sha512-tJhC8qnNA42oC9LQpYnFCzn5smKnTLSuK3n6v0TB5WICC1YxOuVZ5aGGrAGoe56dVw95Sm6WjnApe0Jc7kxe3Q==} + /@types/mvdan-sh@0.10.9: + resolution: {integrity: sha512-Ij8QpItwUelmWKFwrRs/kV3/RDS41YBTz3nlLiqOlRwPNtzjqILpngxE8mJb1zr9cE2L5c2O4rIou+hRjbLxSQ==} dependencies: '@types/node': 20.4.0 dev: true @@ -3716,8 +3716,8 @@ packages: resolution: {integrity: sha512-kNnC1GFBLuhImSnV7w4njQkUiJi0ZXUycu1rUaouPqiKlXkh77JKgdRnTAp1x5eBwcIwbtI+3otwzuIDEuDoxQ==} dev: true - /@types/web@0.0.103: - resolution: {integrity: sha512-raQBijW6LEI0yErxR/5S39xyOd+jW1qw8xNWvAjxjDwwu+Wt1baSztpAhZIndlKAlPHHrMcL3VRNKVXoH+rmVg==} + /@types/web@0.0.115: + resolution: {integrity: sha512-IBtUgtxnITC7WTCg4tv6kCnSP0T+fM+3PzQPIzLzJY1DDlhBFKM/9+uMURw14YweWPDiFNIZ94Gc1bJtwow97g==} dev: true /@types/whatwg-mimetype@3.0.0: @@ -4255,7 +4255,7 @@ packages: resolution: {integrity: sha512-x9SLf2jNNh3nG+haVIwKX/GVW8PcvSRmkeT9WqTDYSAVuwT9IzwEyVm09FCZpOo/dtFRxE9vaNXqcAf/MIxphg==} engines: {node: '>= 14'} dependencies: - tslib: 2.6.0 + tslib: 2.6.2 dev: true /ansi-colors@4.1.3: @@ -5735,7 +5735,7 @@ packages: remark-parse: 10.0.2 remark-stringify: 10.0.3 synckit: 0.8.5 - tslib: 2.6.0 + tslib: 2.6.2 unified: 10.1.2 unified-engine: 10.1.0 unist-util-visit: 4.1.2 @@ -5904,7 +5904,7 @@ packages: eslint-plugin-utils: 0.3.2(eslint@8.44.0) markuplint: 3.11.0(@types/node@20.4.0)(ts-node@10.9.1)(typescript@5.1.6) synckit: 0.8.5 - tslib: 2.6.0 + tslib: 2.6.2 transitivePeerDependencies: - '@swc/core' - '@swc/wasm' @@ -5927,7 +5927,7 @@ packages: remark-mdx: 2.3.0 remark-parse: 10.0.2 remark-stringify: 10.0.3 - tslib: 2.6.0 + tslib: 2.6.2 unified: 10.1.2 vfile: 5.3.7 transitivePeerDependencies: @@ -7948,7 +7948,7 @@ packages: '@markuplint/parser-utils': 3.9.0 angular-html-parser: 4.0.1 synckit: 0.8.5 - tslib: 2.6.0 + tslib: 2.6.2 transitivePeerDependencies: - supports-color dev: true @@ -7987,7 +7987,7 @@ packages: os-locale: 5.0.0 strict-event-emitter: 0.5.0 strip-ansi: 6.0.1 - tslib: 2.6.0 + tslib: 2.6.2 type-fest: 3.12.0 uuid: 9.0.0 transitivePeerDependencies: @@ -8863,7 +8863,7 @@ packages: engines: {node: '>=10'} dependencies: hosted-git-info: 3.0.8 - semver: 7.5.2 + semver: 7.5.3 validate-npm-package-name: 3.0.0 dev: true @@ -10609,7 +10609,7 @@ packages: /rxjs@7.8.1: resolution: {integrity: sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==} dependencies: - tslib: 2.6.0 + tslib: 2.6.2 dev: true /sade@1.8.1: @@ -10695,7 +10695,7 @@ packages: resolution: {integrity: sha512-xIB/uRniZ9urxAuXp1Ouh/BKSI1VK8RSqfwGj7cV57HvGrFo3vHdJfv8Tdp/cVcxJgXQTkmHr5mG5rqJW8r4wQ==} engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} dependencies: - tslib: 2.6.0 + tslib: 2.6.2 dev: true /shebang-command@1.2.0: @@ -10759,7 +10759,7 @@ packages: dependencies: '@size-limit/esbuild': 8.2.6(size-limit@8.2.6) nanoid: 3.3.6 - tslib: 2.6.0 + tslib: 2.6.2 transitivePeerDependencies: - size-limit dev: true @@ -10770,7 +10770,7 @@ packages: dependencies: '@size-limit/file': 8.2.6(size-limit@8.2.6) size-limit-node-esbuild: 0.2.0(size-limit@8.2.6) - tslib: 2.6.0 + tslib: 2.6.2 transitivePeerDependencies: - size-limit dev: true @@ -11180,7 +11180,7 @@ packages: engines: {node: ^14.18.0 || >=16.0.0} dependencies: '@pkgr/utils': 2.4.1 - tslib: 2.6.0 + tslib: 2.6.2 dev: true /tapable@2.2.1: @@ -11335,8 +11335,8 @@ packages: resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==} dev: true - /tslib@2.6.0: - resolution: {integrity: sha512-7At1WUettjcSRHXCyYtTselblcHl9PJFFVKiCAy/bY97+BPZXSQ2wbq0P9s8tK2G7dFQfNnlJnPAiArVBVBsfA==} + /tslib@2.6.2: + resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==} /tsutils@3.21.0(typescript@5.1.6): resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} @@ -11376,25 +11376,25 @@ packages: prelude-ls: 1.2.1 dev: true - /type-coverage-core@2.26.0(typescript@5.1.6): - resolution: {integrity: sha512-/9VQ0ySU1CKbWd/BNnbVYMJ67oOt7qdXXxm4W5VIM07AUB5eelcDjrWG7qdIj0ZafnNkpv+v5qcD68ExOVK+Sw==} + /type-coverage-core@2.26.2(typescript@5.1.6): + resolution: {integrity: sha512-hGpp16H1Zbh8vVOed1xzJC9ohIh8WsEsLTLfH1E4QTuAeBMV2fvnWopya5/J9wCeWzzJOG4TgkPtRcRTRJj2XQ==} peerDependencies: typescript: 2 || 3 || 4 || 5 dependencies: fast-glob: 3.3.0 minimatch: 9.0.2 normalize-path: 3.0.0 - tslib: 2.6.0 + tslib: 2.6.2 tsutils: 3.21.0(typescript@5.1.6) typescript: 5.1.6 dev: true - /type-coverage@2.26.0(typescript@5.1.6): - resolution: {integrity: sha512-ZYtfBoifzuyiZteZeqBiauugvgIVV0orMqo2jZuOGOBCndLWhQF3Iv9bbFXyyUf/1lC/+k/ZN6Noqbh2afX3LQ==} + /type-coverage@2.26.2(typescript@5.1.6): + resolution: {integrity: sha512-sA2gan2mx3kups4MgSX74lH6cZjCKmQp7o1kfYiGszcjKEt3+TfZnt4fZUAivXPuYm2PbxGDJU4f9d688WuIew==} hasBin: true dependencies: minimist: 1.2.8 - type-coverage-core: 2.26.0(typescript@5.1.6) + type-coverage-core: 2.26.2(typescript@5.1.6) transitivePeerDependencies: - typescript dev: true