Skip to content

Commit

Permalink
Update Alfa (#75)
Browse files Browse the repository at this point in the history
* Update Alfa

* Update peerDependencies

* Add missing lib option where needed

* Clean up

* Add changeset

* Extract API

* Preserve important reference

* Preserve important reference

* Place directive back where it belongs

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
Jym77 and github-actions[bot] authored Sep 3, 2024
1 parent 4a756ea commit b5da2b5
Show file tree
Hide file tree
Showing 41 changed files with 1,908 additions and 1,810 deletions.
30 changes: 30 additions & 0 deletions .changeset/rude-flowers-sleep.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
"@siteimprove/alfa-formatter-sarif": patch
"@siteimprove/alfa-formatter-earl": patch
"@siteimprove/alfa-formatter-json": patch
"@siteimprove/alfa-interviewer": patch
"@siteimprove/alfa-playwright": patch
"@siteimprove/alfa-test-utils": patch
"@siteimprove/alfa-unexpected": patch
"@siteimprove/alfa-formatter": patch
"@siteimprove/alfa-puppeteer": patch
"@siteimprove/alfa-webdriver": patch
"@siteimprove/alfa-frontier": patch
"@siteimprove/alfa-angular": patch
"@siteimprove/alfa-cheerio": patch
"@siteimprove/alfa-command": patch
"@siteimprove/alfa-crawler": patch
"@siteimprove/alfa-cypress": patch
"@siteimprove/alfa-jasmine": patch
"@siteimprove/alfa-scraper": patch
"@siteimprove/alfa-assert": patch
"@siteimprove/alfa-enzyme": patch
"@siteimprove/alfa-jquery": patch
"@siteimprove/alfa-react": patch
"@siteimprove/alfa-chai": patch
"@siteimprove/alfa-jest": patch
"@siteimprove/alfa-cli": patch
"@siteimprove/alfa-vue": patch
---

**Changed:** Update Alfa
2 changes: 0 additions & 2 deletions docs/review/api/alfa-test-utils.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
```ts

/// <reference types="node" />

import type { Agent } from 'https';
import { alfaVersion } from '@siteimprove/alfa-rules';
import { Array as Array_2 } from '@siteimprove/alfa-array';
Expand Down
2 changes: 2 additions & 0 deletions docs/review/api/alfa-unexpected.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
```ts

/// <reference types="../types/unexpected.d.ts" />

import { Asserter } from '@siteimprove/alfa-assert';
import type { Future } from '@siteimprove/alfa-future';
import type { Handler } from '@siteimprove/alfa-assert';
Expand Down
2 changes: 0 additions & 2 deletions docs/review/api/alfa-vue.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
```ts

/// <reference lib="dom" />

import { Cheerio } from '@siteimprove/alfa-cheerio';
import type { ComponentPublicInstance } from 'vue';
import { Page } from '@siteimprove/alfa-web';
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,17 @@
"@changesets/cli": "^2.26.1",
"@microsoft/api-documenter": "^7.25.3",
"@microsoft/api-extractor": "^7.47.0",
"@siteimprove/alfa-cli": "workspace:^0.70.0",
"@siteimprove/alfa-toolchain": "^0.89.0",
"@siteimprove/alfa-cli": "workspace:^",
"@siteimprove/alfa-toolchain": "^0.90.1",
"@types/async": "^3.2.5",
"@types/node": "^20.14.9",
"async": "^3.2.1",
"execa": "^9.1.0",
"knip": "^5.23.3",
"minimist": "^1.2.6",
"package-dependency-graph": "^1.14.4",
"prettier": "^2.7.1"
"prettier": "^2.7.1",
"typescript": "^5.5.2"
},
"packageManager": "[email protected]"
}
16 changes: 8 additions & 8 deletions packages/alfa-angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,18 @@
],
"dependencies": {
"@angular/core": "^11.0.0",
"@siteimprove/alfa-device": "^0.89.0",
"@siteimprove/alfa-dom": "^0.89.0",
"@siteimprove/alfa-http": "^0.89.0",
"@siteimprove/alfa-web": "^0.89.0",
"@siteimprove/alfa-device": "^0.90.1",
"@siteimprove/alfa-dom": "^0.90.1",
"@siteimprove/alfa-http": "^0.90.1",
"@siteimprove/alfa-web": "^0.90.1",
"rxjs": "^7.3.0",
"zone.js": "^0.11.4"
},
"peerDependencies": {
"@siteimprove/alfa-device": "^0.89.0",
"@siteimprove/alfa-dom": "^0.89.0",
"@siteimprove/alfa-http": "^0.89.0",
"@siteimprove/alfa-web": "^0.89.0"
"@siteimprove/alfa-device": "^0.90.1",
"@siteimprove/alfa-dom": "^0.90.1",
"@siteimprove/alfa-http": "^0.90.1",
"@siteimprove/alfa-web": "^0.90.1"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/alfa-angular/src/angular.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference lib="dom" />
/// <reference lib="dom" preserve="true" />

import { Device } from "@siteimprove/alfa-device";
import { Document, Node } from "@siteimprove/alfa-dom";
Expand Down
34 changes: 17 additions & 17 deletions packages/alfa-assert/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,27 +22,27 @@
"dist/**/*.d.ts"
],
"dependencies": {
"@siteimprove/alfa-act": "^0.89.0",
"@siteimprove/alfa-future": "^0.89.0",
"@siteimprove/alfa-hash": "^0.89.0",
"@siteimprove/alfa-option": "^0.89.0",
"@siteimprove/alfa-performance": "^0.89.0",
"@siteimprove/alfa-predicate": "^0.89.0",
"@siteimprove/alfa-result": "^0.89.0",
"@siteimprove/alfa-sequence": "^0.89.0"
"@siteimprove/alfa-act": "^0.90.1",
"@siteimprove/alfa-future": "^0.90.1",
"@siteimprove/alfa-hash": "^0.90.1",
"@siteimprove/alfa-option": "^0.90.1",
"@siteimprove/alfa-performance": "^0.90.1",
"@siteimprove/alfa-predicate": "^0.90.1",
"@siteimprove/alfa-result": "^0.90.1",
"@siteimprove/alfa-sequence": "^0.90.1"
},
"devDependencies": {
"@siteimprove/alfa-test": "^0.89.0"
"@siteimprove/alfa-test": "^0.90.1"
},
"peerDependencies": {
"@siteimprove/alfa-act": "^0.89.0",
"@siteimprove/alfa-future": "^0.89.0",
"@siteimprove/alfa-hash": "^0.89.0",
"@siteimprove/alfa-option": "^0.89.0",
"@siteimprove/alfa-performance": "^0.89.0",
"@siteimprove/alfa-predicate": "^0.89.0",
"@siteimprove/alfa-result": "^0.89.0",
"@siteimprove/alfa-sequence": "^0.89.0"
"@siteimprove/alfa-act": "^0.90.1",
"@siteimprove/alfa-future": "^0.90.1",
"@siteimprove/alfa-hash": "^0.90.1",
"@siteimprove/alfa-option": "^0.90.1",
"@siteimprove/alfa-performance": "^0.90.1",
"@siteimprove/alfa-predicate": "^0.90.1",
"@siteimprove/alfa-result": "^0.90.1",
"@siteimprove/alfa-sequence": "^0.90.1"
},
"publishConfig": {
"access": "public",
Expand Down
16 changes: 8 additions & 8 deletions packages/alfa-chai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,19 @@
"dist/**/*.d.ts"
],
"dependencies": {
"@siteimprove/alfa-act": "^0.89.0",
"@siteimprove/alfa-act": "^0.90.1",
"@siteimprove/alfa-assert": "workspace:^",
"@siteimprove/alfa-future": "^0.89.0",
"@siteimprove/alfa-hash": "^0.89.0",
"@siteimprove/alfa-mapper": "^0.89.0",
"@siteimprove/alfa-future": "^0.90.1",
"@siteimprove/alfa-hash": "^0.90.1",
"@siteimprove/alfa-mapper": "^0.90.1",
"@types/chai": "^4.1.7",
"chai": "^4.3.10"
},
"peerDependencies": {
"@siteimprove/alfa-act": "^0.89.0",
"@siteimprove/alfa-future": "^0.89.0",
"@siteimprove/alfa-hash": "^0.89.0",
"@siteimprove/alfa-mapper": "^0.89.0"
"@siteimprove/alfa-act": "^0.90.1",
"@siteimprove/alfa-future": "^0.90.1",
"@siteimprove/alfa-hash": "^0.90.1",
"@siteimprove/alfa-mapper": "^0.90.1"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/alfa-chai/src/chai.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference types="chai" />
/// <reference types="chai" preserve="true" />

import type { Question, Rule } from "@siteimprove/alfa-act";
import type { Assertion, Handler } from "@siteimprove/alfa-assert";
Expand Down
16 changes: 8 additions & 8 deletions packages/alfa-cheerio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,18 @@
"dist/**/*.d.ts"
],
"dependencies": {
"@siteimprove/alfa-device": "^0.89.0",
"@siteimprove/alfa-dom": "^0.89.0",
"@siteimprove/alfa-http": "^0.89.0",
"@siteimprove/alfa-web": "^0.89.0",
"@siteimprove/alfa-device": "^0.90.1",
"@siteimprove/alfa-dom": "^0.90.1",
"@siteimprove/alfa-http": "^0.90.1",
"@siteimprove/alfa-web": "^0.90.1",
"cheerio": "^1.0.0-rc.12",
"domhandler": "^4.2.2"
},
"peerDependencies": {
"@siteimprove/alfa-device": "^0.89.0",
"@siteimprove/alfa-dom": "^0.89.0",
"@siteimprove/alfa-http": "^0.89.0",
"@siteimprove/alfa-web": "^0.89.0"
"@siteimprove/alfa-device": "^0.90.1",
"@siteimprove/alfa-dom": "^0.90.1",
"@siteimprove/alfa-http": "^0.90.1",
"@siteimprove/alfa-web": "^0.90.1"
},
"publishConfig": {
"access": "public",
Expand Down
40 changes: 20 additions & 20 deletions packages/alfa-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,32 +34,32 @@
"packages/alfa-cli": "echo workaround https://github.com/webpro-nl/knip/issues/739"
},
"dependencies": {
"@siteimprove/alfa-act": "^0.89.0",
"@siteimprove/alfa-act": "^0.90.1",
"@siteimprove/alfa-command": "workspace:^",
"@siteimprove/alfa-device": "^0.89.0",
"@siteimprove/alfa-device": "^0.90.1",
"@siteimprove/alfa-formatter": "workspace:^",
"@siteimprove/alfa-http": "^0.89.0",
"@siteimprove/alfa-http": "^0.90.1",
"@siteimprove/alfa-interviewer": "workspace:^",
"@siteimprove/alfa-iterable": "^0.89.0",
"@siteimprove/alfa-option": "^0.89.0",
"@siteimprove/alfa-result": "^0.89.0",
"@siteimprove/alfa-rules": "^0.89.0",
"@siteimprove/alfa-iterable": "^0.90.1",
"@siteimprove/alfa-option": "^0.90.1",
"@siteimprove/alfa-result": "^0.90.1",
"@siteimprove/alfa-rules": "^0.90.1",
"@siteimprove/alfa-scraper": "workspace:^",
"@siteimprove/alfa-time": "^0.89.0",
"@siteimprove/alfa-url": "^0.89.0",
"@siteimprove/alfa-web": "^0.89.0"
"@siteimprove/alfa-time": "^0.90.1",
"@siteimprove/alfa-url": "^0.90.1",
"@siteimprove/alfa-web": "^0.90.1"
},
"peerDependencies": {
"@siteimprove/alfa-act": "^0.89.0",
"@siteimprove/alfa-device": "^0.89.0",
"@siteimprove/alfa-http": "^0.89.0",
"@siteimprove/alfa-iterable": "^0.89.0",
"@siteimprove/alfa-option": "^0.89.0",
"@siteimprove/alfa-result": "^0.89.0",
"@siteimprove/alfa-rules": "^0.89.0",
"@siteimprove/alfa-time": "^0.89.0",
"@siteimprove/alfa-url": "^0.89.0",
"@siteimprove/alfa-web": "^0.89.0"
"@siteimprove/alfa-act": "^0.90.1",
"@siteimprove/alfa-device": "^0.90.1",
"@siteimprove/alfa-http": "^0.90.1",
"@siteimprove/alfa-iterable": "^0.90.1",
"@siteimprove/alfa-option": "^0.90.1",
"@siteimprove/alfa-result": "^0.90.1",
"@siteimprove/alfa-rules": "^0.90.1",
"@siteimprove/alfa-time": "^0.90.1",
"@siteimprove/alfa-url": "^0.90.1",
"@siteimprove/alfa-web": "^0.90.1"
},
"publishConfig": {
"access": "public",
Expand Down
4 changes: 1 addition & 3 deletions packages/alfa-cli/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"$schema": "http://json.schemastore.org/tsconfig",
"extends": "../tsconfig.json",
"compilerOptions": {
"resolveJsonModule": true
},
"compilerOptions": { "resolveJsonModule": true },
"files": [],
"references": [{ "path": "src" }]
}
38 changes: 19 additions & 19 deletions packages/alfa-command/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,30 +22,30 @@
"dist/**/*.d.ts"
],
"dependencies": {
"@siteimprove/alfa-functor": "^0.89.0",
"@siteimprove/alfa-json": "^0.89.0",
"@siteimprove/alfa-mapper": "^0.89.0",
"@siteimprove/alfa-option": "^0.89.0",
"@siteimprove/alfa-parser": "^0.89.0",
"@siteimprove/alfa-predicate": "^0.89.0",
"@siteimprove/alfa-refinement": "^0.89.0",
"@siteimprove/alfa-result": "^0.89.0",
"@siteimprove/alfa-thunk": "^0.89.0",
"@siteimprove/alfa-functor": "^0.90.1",
"@siteimprove/alfa-json": "^0.90.1",
"@siteimprove/alfa-mapper": "^0.90.1",
"@siteimprove/alfa-option": "^0.90.1",
"@siteimprove/alfa-parser": "^0.90.1",
"@siteimprove/alfa-predicate": "^0.90.1",
"@siteimprove/alfa-refinement": "^0.90.1",
"@siteimprove/alfa-result": "^0.90.1",
"@siteimprove/alfa-thunk": "^0.90.1",
"chalk": "^5.3.0"
},
"devDependencies": {
"@siteimprove/alfa-test": "^0.89.0"
"@siteimprove/alfa-test": "^0.90.1"
},
"peerDependencies": {
"@siteimprove/alfa-functor": "^0.89.0",
"@siteimprove/alfa-json": "^0.89.0",
"@siteimprove/alfa-mapper": "^0.89.0",
"@siteimprove/alfa-option": "^0.89.0",
"@siteimprove/alfa-parser": "^0.89.0",
"@siteimprove/alfa-predicate": "^0.89.0",
"@siteimprove/alfa-refinement": "^0.89.0",
"@siteimprove/alfa-result": "^0.89.0",
"@siteimprove/alfa-thunk": "^0.89.0"
"@siteimprove/alfa-functor": "^0.90.1",
"@siteimprove/alfa-json": "^0.90.1",
"@siteimprove/alfa-mapper": "^0.90.1",
"@siteimprove/alfa-option": "^0.90.1",
"@siteimprove/alfa-parser": "^0.90.1",
"@siteimprove/alfa-predicate": "^0.90.1",
"@siteimprove/alfa-refinement": "^0.90.1",
"@siteimprove/alfa-result": "^0.90.1",
"@siteimprove/alfa-thunk": "^0.90.1"
},
"publishConfig": {
"access": "public",
Expand Down
22 changes: 11 additions & 11 deletions packages/alfa-crawler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,23 @@
"dist/**/*.d.ts"
],
"dependencies": {
"@siteimprove/alfa-dom": "^0.89.0",
"@siteimprove/alfa-dom": "^0.90.1",
"@siteimprove/alfa-frontier": "workspace:^",
"@siteimprove/alfa-mapper": "^0.89.0",
"@siteimprove/alfa-result": "^0.89.0",
"@siteimprove/alfa-mapper": "^0.90.1",
"@siteimprove/alfa-result": "^0.90.1",
"@siteimprove/alfa-scraper": "workspace:^",
"@siteimprove/alfa-url": "^0.89.0",
"@siteimprove/alfa-web": "^0.89.0"
"@siteimprove/alfa-url": "^0.90.1",
"@siteimprove/alfa-web": "^0.90.1"
},
"devDependencies": {
"@siteimprove/alfa-test": "^0.89.0"
"@siteimprove/alfa-test": "^0.90.1"
},
"peerDependencies": {
"@siteimprove/alfa-dom": "^0.89.0",
"@siteimprove/alfa-mapper": "^0.89.0",
"@siteimprove/alfa-result": "^0.89.0",
"@siteimprove/alfa-url": "^0.89.0",
"@siteimprove/alfa-web": "^0.89.0"
"@siteimprove/alfa-dom": "^0.90.1",
"@siteimprove/alfa-mapper": "^0.90.1",
"@siteimprove/alfa-result": "^0.90.1",
"@siteimprove/alfa-url": "^0.90.1",
"@siteimprove/alfa-web": "^0.90.1"
},
"publishConfig": {
"access": "public",
Expand Down
Loading

0 comments on commit b5da2b5

Please sign in to comment.