diff --git a/.github/pr-badge.yml b/.github/pr-badge.yml new file mode 100644 index 0000000..8d7dd80 --- /dev/null +++ b/.github/pr-badge.yml @@ -0,0 +1,19 @@ +# This file is used by https://pullrequestbadge.com/ + +- icon: visualstudio + label: 'GitHub.dev' + message: 'PR-$prNumber' + color: 'blue' + url: 'https://github.dev/$owner/$repo/pull/$prNumber' + +- icon: github + label: 'GitHub codespaces' + message: 'PR-$prNumber' + color: 'black' + url: 'https://codespaces.new/$owner/$repo/pull/$prNumber' + +- icon: git + label: 'GitPod.io' + message: 'PR-$prNumber' + color: 'orange' + url: 'https://gitpod.io/?autostart=true#https://github.com/$owner/$repo/pull/$prNumber' diff --git a/.github/settings.yml b/.github/settings.yml new file mode 100644 index 0000000..72e1ca6 --- /dev/null +++ b/.github/settings.yml @@ -0,0 +1,85 @@ +# These settings are synced to GitHub by https://probot.github.io/apps/settings/ + +repository: + allow_merge_commit: false + + delete_branch_on_merge: true + + enable_vulnerability_alerts: true + +labels: + - name: bug + color: '#d73a4a' + description: Something isn't working + + - name: documentation + color: '#0075ca' + description: Improvements or additions to documentation + + - name: duplicate + color: '#cfd3d7' + description: This issue or pull request already exists + + - name: enhancement + color: '#a2eeef' + description: Some improvements + + - name: feature + color: '#16b33f' + description: New feature or request + + - name: good first issue + color: '#7057ff' + description: Good for newcomers + + - name: help wanted + color: '#008672' + description: Extra attention is needed + + - name: invalid + color: '#e4e669' + description: This doesn't seem right + + - name: question + color: '#d876e3' + description: Further information is requested + + - name: wontfix + color: '#ffffff' + description: This will not be worked on + +branches: + - name: main + # https://docs.github.com/en/rest/reference/repos#update-branch-protection + protection: + # Required. Require at least one approving review on a pull request, before merging. Set to null to disable. + required_pull_request_reviews: + # The number of approvals required. (1-6) + required_approving_review_count: 1 + # Dismiss approved reviews automatically when a new commit is pushed. + dismiss_stale_reviews: true + # Blocks merge until code owners have reviewed. + require_code_owner_reviews: true + # Specify which users and teams can dismiss pull request reviews. + # Pass an empty dismissal_restrictions object to disable. + # User and team dismissal_restrictions are only available for organization-owned repositories. + # Omit this parameter for personal repositories. + dismissal_restrictions: + # users: [] + # teams: [] + # Required. Require status checks to pass before merging. Set to null to disable + required_status_checks: + # 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: [] + # 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: true + # Prevent merge commits from being pushed to matching branches + required_linear_history: true + # Required. Restrict who can push to this branch. + # Team and user restrictions are only available for organization-owned repositories. + # Set to null to disable. + restrictions: null diff --git a/package.json b/package.json index 3ba3f3a..e3379e1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cell-router", - "version": "3.0.0-rc.7", + "version": "3.0.0-rc.8", "license": "LGPL-3.0", "description": "Web Component Router based on WebCell & MobX", "keywords": [ @@ -25,7 +25,7 @@ "module": "dist/index.esm.js", "dependencies": { "@swc/helpers": "^0.5.11", - "dom-renderer": "^2.1.7", + "dom-renderer": "^2.1.8", "mobx": ">=6.11", "regenerator-runtime": "^0.14.1", "urlpattern-polyfill": "^10.0.0", @@ -49,11 +49,11 @@ "parcel": "~2.12.0", "prettier": "^3.3.2", "process": "^0.11.10", - "puppeteer-core": "^22.11.0", + "puppeteer-core": "^22.11.2", "rimraf": "^5.0.7", - "ts-jest": "^29.1.4", + "ts-jest": "^29.1.5", "typedoc": "^0.25.13", - "typedoc-plugin-mdn-links": "^3.1.29", + "typedoc-plugin-mdn-links": "^3.1.30", "typescript": "~5.4.5" }, "scripts": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3eb7e74..443e6e9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,8 +12,8 @@ importers: specifier: ^0.5.11 version: 0.5.11 dom-renderer: - specifier: ^2.1.7 - version: 2.1.7(typescript@5.4.5) + specifier: ^2.1.8 + version: 2.1.8(typescript@5.4.5) mobx: specifier: '>=6.11' version: 6.12.3 @@ -79,20 +79,20 @@ importers: specifier: ^0.11.10 version: 0.11.10 puppeteer-core: - specifier: ^22.11.0 - version: 22.11.0 + specifier: ^22.11.2 + version: 22.11.2 rimraf: specifier: ^5.0.7 version: 5.0.7 ts-jest: - specifier: ^29.1.4 - version: 29.1.4(@babel/core@7.24.5)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.24.5))(jest@29.7.0(@types/node@20.12.12))(typescript@5.4.5) + specifier: ^29.1.5 + version: 29.1.5(@babel/core@7.24.5)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.24.5))(jest@29.7.0(@types/node@20.12.12))(typescript@5.4.5) typedoc: specifier: ^0.25.13 version: 0.25.13(typescript@5.4.5) typedoc-plugin-mdn-links: - specifier: ^3.1.29 - version: 3.1.29(typedoc@0.25.13(typescript@5.4.5)) + specifier: ^3.1.30 + version: 3.1.30(typedoc@0.25.13(typescript@5.4.5)) typescript: specifier: ~5.4.5 version: 5.4.5 @@ -1456,8 +1456,8 @@ packages: resolution: {integrity: sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dom-renderer@2.1.7: - resolution: {integrity: sha512-RIqayT+FfjgEV/cZzyctkg1pvtsBfIcJBCPCvVozlCOXeXGustqJeU9oPAaWJ0eZJYxB7Baq43VY5gwiSxDD+A==} + dom-renderer@2.1.8: + resolution: {integrity: sha512-XciJAb8pAFAlpFOBO79njazvbfNzA16+045Uie5kZORSu+NY5X2cecjI4nyT4M4ji0nzRsF8P8KHH8xvKM1cdg==} dom-serializer@1.4.1: resolution: {integrity: sha512-VHwB3KfrcOOkelEG2ZOfxqLZdfkil8PtJi4P8N2MMXucZq2yLp75ClViUlOVwyoHEDjYU433Aq+5zWP61+RGag==} @@ -2702,8 +2702,8 @@ packages: resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==} engines: {node: '>=6'} - puppeteer-core@22.11.0: - resolution: {integrity: sha512-57YUjhRoSpZWg9lCssWsgzM1/X/1jQnkKbbspbeW0bhZTt3TD4WdNXEYI7KrFFnSvx21tyHhfWW0zlxzbwYSAA==} + puppeteer-core@22.11.2: + resolution: {integrity: sha512-vQo+YDuePyvj+92Z9cdtxi/HalKf+k/R4tE80nGtQqJRNqU81eHaHkbVfnLszdaLlvwFF5tipnnSCzqWlEddtw==} engines: {node: '>=18'} pure-rand@6.1.0: @@ -3038,8 +3038,8 @@ packages: resolution: {integrity: sha512-l7FvfAHlcmulp8kr+flpQZmVwtu7nfRV7NZujtN0OqES8EL4O4e0qqzL0DC5gAvx/ZC/9lk6rhcUwYvkBnBnYA==} engines: {node: '>=12'} - ts-jest@29.1.4: - resolution: {integrity: sha512-YiHwDhSvCiItoAgsKtoLFCuakDzDsJ1DLDnSouTaTmdOcOwIkSzbLXduaQ6M5DRVhuZC/NYaaZ/mtHbWMv/S6Q==} + ts-jest@29.1.5: + resolution: {integrity: sha512-UuClSYxM7byvvYfyWdFI+/2UxMmwNyJb0NPkZPQE2hew3RurV7l7zURgOHAd/1I1ZdPpe3GUsXNXAcN8TFKSIg==} engines: {node: ^14.15.0 || ^16.10.0 || ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: @@ -3088,8 +3088,8 @@ packages: resolution: {integrity: sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==} engines: {node: '>= 0.6'} - typedoc-plugin-mdn-links@3.1.29: - resolution: {integrity: sha512-dFKri2eYa+Owq+/3h3z/GvRQF5yM5kzbPqQWLo0LTIv5s78tFGq+yl8vNGf6CkJGakPBfdnHdfeo4bSsVZH0WQ==} + typedoc-plugin-mdn-links@3.1.30: + resolution: {integrity: sha512-aB3UqyRGdxYziOHKzE7AQPh+9xpqqHHrp23F+T6yshHeuSiauCL+zzgTRhi4Ad1x30/7rTkCtyQ5dfO/+1FDKA==} peerDependencies: typedoc: '>= 0.23.14 || 0.24.x || 0.25.x' @@ -3236,6 +3236,18 @@ packages: utf-8-validate: optional: true + ws@8.17.1: + resolution: {integrity: sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==} + engines: {node: '>=10.0.0'} + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: '>=5.0.2' + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + xml-name-validator@4.0.0: resolution: {integrity: sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==} engines: {node: '>=12'} @@ -3307,7 +3319,7 @@ snapshots: '@babel/traverse': 7.24.5 '@babel/types': 7.24.5 convert-source-map: 2.0.0 - debug: 4.3.4 + debug: 4.3.5 gensync: 1.0.0-beta.2 json5: 2.2.3 semver: 6.3.1 @@ -3474,7 +3486,7 @@ snapshots: '@babel/helper-split-export-declaration': 7.24.5 '@babel/parser': 7.24.5 '@babel/types': 7.24.5 - debug: 4.3.4 + debug: 4.3.5 globals: 11.12.0 transitivePeerDependencies: - supports-color @@ -4634,7 +4646,7 @@ snapshots: agent-base@6.0.2: dependencies: - debug: 4.3.4 + debug: 4.3.5 transitivePeerDependencies: - supports-color @@ -4683,7 +4695,7 @@ snapshots: ast-types@0.13.4: dependencies: - tslib: 2.6.2 + tslib: 2.6.3 asynckit@0.4.0: {} @@ -5075,7 +5087,7 @@ snapshots: diff-sequences@29.6.3: {} - dom-renderer@2.1.7(typescript@5.4.5): + dom-renderer@2.1.8(typescript@5.4.5): dependencies: tslib: 2.6.3 web-utility: 4.4.0(typescript@5.4.5) @@ -5437,7 +5449,7 @@ snapshots: dependencies: '@tootallnate/once': 2.0.0 agent-base: 6.0.2 - debug: 4.3.4 + debug: 4.3.5 transitivePeerDependencies: - supports-color @@ -5451,7 +5463,7 @@ snapshots: https-proxy-agent@5.0.1: dependencies: agent-base: 6.0.2 - debug: 4.3.4 + debug: 4.3.5 transitivePeerDependencies: - supports-color @@ -5602,7 +5614,7 @@ snapshots: istanbul-lib-source-maps@4.0.1: dependencies: - debug: 4.3.4 + debug: 4.3.5 istanbul-lib-coverage: 3.2.2 source-map: 0.6.1 transitivePeerDependencies: @@ -6033,7 +6045,7 @@ snapshots: koa-send@5.0.1: dependencies: - debug: 4.3.4 + debug: 4.3.5 http-errors: 1.8.1 resolve-path: 1.4.0 transitivePeerDependencies: @@ -6053,7 +6065,7 @@ snapshots: content-disposition: 0.5.4 content-type: 1.0.5 cookies: 0.9.1 - debug: 4.3.4 + debug: 4.3.5 delegates: 1.0.0 depd: 2.0.0 destroy: 1.2.0 @@ -6567,13 +6579,13 @@ snapshots: punycode@2.3.1: {} - puppeteer-core@22.11.0: + puppeteer-core@22.11.2: dependencies: '@puppeteer/browsers': 2.2.3 chromium-bidi: 0.5.23(devtools-protocol@0.0.1299070) debug: 4.3.5 devtools-protocol: 0.0.1299070 - ws: 8.17.0 + ws: 8.17.1 transitivePeerDependencies: - bufferutil - supports-color @@ -6898,7 +6910,7 @@ snapshots: dependencies: punycode: 2.3.1 - ts-jest@29.1.4(@babel/core@7.24.5)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.24.5))(jest@29.7.0(@types/node@20.12.12))(typescript@5.4.5): + ts-jest@29.1.5(@babel/core@7.24.5)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.24.5))(jest@29.7.0(@types/node@20.12.12))(typescript@5.4.5): dependencies: bs-logger: 0.2.6 fast-json-stable-stringify: 2.1.0 @@ -6933,7 +6945,7 @@ snapshots: media-typer: 0.3.0 mime-types: 2.1.35 - typedoc-plugin-mdn-links@3.1.29(typedoc@0.25.13(typescript@5.4.5)): + typedoc-plugin-mdn-links@3.1.30(typedoc@0.25.13(typescript@5.4.5)): dependencies: typedoc: 0.25.13(typescript@5.4.5) @@ -7004,7 +7016,7 @@ snapshots: web-cell@3.0.0-rc.16(element-internals-polyfill@1.3.11)(jsdom@20.0.3)(typescript@5.4.5): dependencies: '@swc/helpers': 0.5.11 - dom-renderer: 2.1.7(typescript@5.4.5) + dom-renderer: 2.1.8(typescript@5.4.5) element-internals-polyfill: 1.3.11 jsdom: 20.0.3 mobx: 6.12.3 @@ -7064,6 +7076,8 @@ snapshots: ws@8.17.0: {} + ws@8.17.1: {} + xml-name-validator@4.0.0: {} xmlchars@2.2.0: {}