Skip to content

Commit

Permalink
Merge branch 'main' into tuple
Browse files Browse the repository at this point in the history
* main: (21 commits)
  Implement SIA R76 (#910)
  Update CODEOWNERS
  Update `tar`
  Implement SIA-R109 (#901)
  Support `text-align` CSS property (#899)
  Implement SIA-R70 (#870)
  Implement SIA-R60 (#874)
  v0.21.2
  Update changelog
  Don't count invisible text as possibly wrapped in SIA-R83 (#898)
  Avoid test files being included by `yarn pack`
  v0.21.1
  Update changelog
  Reject empty text nodes in SIA-R75 (#896)
  Use separate concurrency groups for workflows
  Use `github.ref` instead of `github.head_ref`
  Limit concurrency of workflows
  Update API reviews
  Exclude `node_modules` in build scripts
  Mark `I` as `Readonly` in `Rule.Evaluate`
  ...
  • Loading branch information
kasperisager committed Sep 2, 2021
2 parents d4a7245 + d0a92f7 commit 5fafcb7
Show file tree
Hide file tree
Showing 128 changed files with 2,891 additions and 1,725 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# https://help.github.com/articles/about-codeowners/
* kki@siteimprove.com [email protected]
* @siteimprove/alfa-owners
3 changes: 3 additions & 0 deletions .github/workflows/integrate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
pull_request:
branches:
- "*"
concurrency:
group: integrate-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
- main
schedule:
- cron: "0 21 * * 1"
concurrency:
group: scan-${{ github.ref }}
cancel-in-progress: true
jobs:
analyze:
name: Analyze
Expand Down
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ Items that are related, such as breaking changes, new features, or changes to ex

## [Unreleased]

## [0.21.2](../../compare/v0.21.1...v0.21.2) (2021-08-23)

### Fixed

- [@siteimprove/alfa-rules](packages/alfa-rules): SIA-R83 no longer fails invisible text nodes, such as whitespace, that it might deem not to wrap properly. ([#898](../../pull/898))

## [0.21.1](../../compare/v0.21.0...v0.21.1) (2021-08-23)

### Changed

- [@siteimprove/alfa-aria](packages/alfa-aria): The role data has been updated based on the WAI-ARIA Editor's Draft of 3 August.
Expand All @@ -29,6 +37,12 @@ Items that are related, such as breaking changes, new features, or changes to ex

- [@siteimprove/alfa-wcag](packages/alfa-wcag): The technique and criteria data has been updated based on the WCAG Working Draft of 21 May.

### Fixed

- [@siteimprove/alfa-act](packages/alfa-act): A variance regression in `Rule.Evaluate` has been fixed.

- [@siteimprove/alfa-rules](packages/alfa-rules): SIA-R75 no longer counts empty text nodes as content affected by `font-size`. ([#896](../../pull/896))

## [0.21.0](../../compare/v0.20.0...v0.21.0) (2021-08-20)

### Breaking
Expand Down
2 changes: 1 addition & 1 deletion docs/review/api/alfa-act.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ export namespace Rule {
// (undocumented)
export interface Evaluate<I, T, Q, S> {
// (undocumented)
(input: I, oracle: Oracle<I, T, Q, S>, outcomes: Cache): Future<Iterable_2<Outcome<I, T, Q, S>>>;
(input: Readonly<I>, oracle: Oracle<I, T, Q, S>, outcomes: Cache): Future<Iterable_2<Outcome<I, T, Q, S>>>;
}
// (undocumented)
export type Input<R> = R extends Rule<infer I, any, any, any> ? I : never;
Expand Down
41 changes: 26 additions & 15 deletions docs/review/api/alfa-rules.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,10 +180,10 @@ const _default_55: Rule.Atomic<Page, Text, never, Text>;
const _default_56: Rule.Atomic<Page, Document, never, Document>;

// @public (undocumented)
const _default_57: Rule.Atomic<Page, Document, never, Document>;
const _default_57: Rule.Atomic<Page, Element, never, Element>;

// @public (undocumented)
const _default_58: Rule.Atomic<Page, Element, never, Element>;
const _default_58: Rule.Atomic<Page, Document, never, Document>;

// @public (undocumented)
const _default_59: Rule.Atomic<Page, Element, never, Element>;
Expand All @@ -195,25 +195,25 @@ const _default_6: Rule.Atomic<Page, Element, never, Element>;
const _default_60: Rule.Atomic<Page, Element, never, Element>;

// @public (undocumented)
const _default_61: Rule.Atomic<Page, Element, Question, Element>;
const _default_61: Rule.Atomic<Page, Element, never, Element>;

// @public (undocumented)
const _default_62: Rule.Atomic<Page, Text, Question, Text>;
const _default_62: Rule.Atomic<Page, Element, Question, Element>;

// @public (undocumented)
const _default_63: Rule.Atomic<Page, Element, never, Element>;
const _default_63: Rule.Atomic<Page, Text, Question, Text>;

// @public (undocumented)
const _default_64: Rule.Atomic<Page, Element, never, Element>;

// @public (undocumented)
const _default_65: Rule.Atomic<Page, Text, Question, Text>;
const _default_65: Rule.Atomic<Page, Element, never, Element>;

// @public (undocumented)
const _default_66: Rule.Atomic<Page, Element, never, Element>;
const _default_66: Rule.Atomic<Page, Text, Question, Text>;

// @public (undocumented)
const _default_67: Rule.Atomic<Page, Element, never, Element>;
const _default_67: Rule.Atomic<Page, Document, never, Document>;

// @public (undocumented)
const _default_68: Rule.Atomic<Page, Element, never, Element>;
Expand All @@ -234,25 +234,25 @@ const _default_71: Rule.Atomic<Page, Element, never, Element>;
const _default_72: Rule.Atomic<Page, Element, never, Element>;

// @public (undocumented)
const _default_73: Rule.Atomic<Page, Group<Element>, Question, Group<Element>>;
const _default_73: Rule.Atomic<Page, Element, never, Element>;

// @public (undocumented)
const _default_74: Rule.Atomic<Page, Element, Question, Node>;
const _default_74: Rule.Atomic<Page, Element, never, Element>;

// @public (undocumented)
const _default_75: Rule.Atomic<Page, Text, never, Text>;
const _default_75: Rule.Atomic<Page, Group<Element>, Question, Group<Element>>;

// @public (undocumented)
const _default_76: Rule.Atomic<Page, Element, never, Element>;
const _default_76: Rule.Atomic<Page, Element, Question, Node>;

// @public (undocumented)
const _default_77: Rule.Atomic<Page, Element, never, Element>;
const _default_77: Rule.Atomic<Page, Text, never, Text>;

// @public (undocumented)
const _default_78: Rule.Atomic<Page, Element, never, Element>;

// @public (undocumented)
const _default_79: Rule.Atomic<Page, Document, Question, Document>;
const _default_79: Rule.Atomic<Page, Element, never, Element>;

// @public (undocumented)
const _default_8: Rule.Atomic<Page, Element, never, Element>;
Expand All @@ -261,7 +261,7 @@ const _default_8: Rule.Atomic<Page, Element, never, Element>;
const _default_80: Rule.Atomic<Page, Element, never, Element>;

// @public (undocumented)
const _default_81: Rule.Atomic<Page, Element, never, Element>;
const _default_81: Rule.Atomic<Page, Document, Question, Document>;

// @public (undocumented)
const _default_82: Rule.Atomic<Page, Element, never, Element>;
Expand All @@ -278,6 +278,15 @@ const _default_85: Rule.Atomic<Page, Element, never, Element>;
// @public (undocumented)
const _default_86: Rule.Atomic<Page, Element, never, Element>;

// @public (undocumented)
const _default_87: Rule.Atomic<Page, Element, never, Element>;

// @public (undocumented)
const _default_88: Rule.Atomic<Page, Element, never, Element>;

// @public (undocumented)
const _default_89: Rule.Atomic<Page, Document, Question, Document>;

// @public (undocumented)
const _default_9: Rule.Atomic<Page, Element, never, Element>;

Expand Down Expand Up @@ -341,6 +350,8 @@ export interface Question {
color: Option<RGB>;
// (undocumented)
node: Option<Node>;
// (undocumented)
string: string;
}

// @public (undocumented)
Expand Down
40 changes: 20 additions & 20 deletions packages/alfa-act/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "http://json.schemastore.org/package",
"name": "@siteimprove/alfa-act",
"homepage": "https://alfa.siteimprove.com",
"version": "0.21.0",
"version": "0.21.2",
"license": "MIT",
"description": "Functionality for implementing rules specified in the ACT Rules Format",
"repository": {
Expand All @@ -18,27 +18,27 @@
"src/**/*.d.ts"
],
"dependencies": {
"@siteimprove/alfa-applicative": "workspace:^0.21.0",
"@siteimprove/alfa-earl": "workspace:^0.21.0",
"@siteimprove/alfa-equatable": "workspace:^0.21.0",
"@siteimprove/alfa-functor": "workspace:^0.21.0",
"@siteimprove/alfa-future": "workspace:^0.21.0",
"@siteimprove/alfa-iterable": "workspace:^0.21.0",
"@siteimprove/alfa-json": "workspace:^0.21.0",
"@siteimprove/alfa-list": "workspace:^0.21.0",
"@siteimprove/alfa-mapper": "workspace:^0.21.0",
"@siteimprove/alfa-monad": "workspace:^0.21.0",
"@siteimprove/alfa-option": "workspace:^0.21.0",
"@siteimprove/alfa-performance": "workspace:^0.21.0",
"@siteimprove/alfa-record": "workspace:^0.21.0",
"@siteimprove/alfa-result": "workspace:^0.21.0",
"@siteimprove/alfa-sarif": "workspace:^0.21.0",
"@siteimprove/alfa-sequence": "workspace:^0.21.0",
"@siteimprove/alfa-thunk": "workspace:^0.21.0",
"@siteimprove/alfa-trilean": "workspace:^0.21.0"
"@siteimprove/alfa-applicative": "workspace:^0.21.2",
"@siteimprove/alfa-earl": "workspace:^0.21.2",
"@siteimprove/alfa-equatable": "workspace:^0.21.2",
"@siteimprove/alfa-functor": "workspace:^0.21.2",
"@siteimprove/alfa-future": "workspace:^0.21.2",
"@siteimprove/alfa-iterable": "workspace:^0.21.2",
"@siteimprove/alfa-json": "workspace:^0.21.2",
"@siteimprove/alfa-list": "workspace:^0.21.2",
"@siteimprove/alfa-mapper": "workspace:^0.21.2",
"@siteimprove/alfa-monad": "workspace:^0.21.2",
"@siteimprove/alfa-option": "workspace:^0.21.2",
"@siteimprove/alfa-performance": "workspace:^0.21.2",
"@siteimprove/alfa-record": "workspace:^0.21.2",
"@siteimprove/alfa-result": "workspace:^0.21.2",
"@siteimprove/alfa-sarif": "workspace:^0.21.2",
"@siteimprove/alfa-sequence": "workspace:^0.21.2",
"@siteimprove/alfa-thunk": "workspace:^0.21.2",
"@siteimprove/alfa-trilean": "workspace:^0.21.2"
},
"devDependencies": {
"@siteimprove/alfa-test": "workspace:^0.21.0"
"@siteimprove/alfa-test": "workspace:^0.21.2"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/alfa-act/src/rule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export namespace Rule {
* rule evaluation procedures.
*/
export interface Evaluate<I, T, Q, S> {
(input: I, oracle: Oracle<I, T, Q, S>, outcomes: Cache): Future<
(input: Readonly<I>, oracle: Oracle<I, T, Q, S>, outcomes: Cache): Future<
Iterable<Outcome<I, T, Q, S>>
>;
}
Expand Down
12 changes: 6 additions & 6 deletions packages/alfa-affine/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "http://json.schemastore.org/package",
"name": "@siteimprove/alfa-affine",
"homepage": "https://alfa.siteimprove.com",
"version": "0.21.0",
"version": "0.21.2",
"license": "MIT",
"description": "Functionality for working with affine transformations",
"repository": {
Expand All @@ -18,13 +18,13 @@
"src/**/*.d.ts"
],
"dependencies": {
"@siteimprove/alfa-equatable": "workspace:^0.21.0",
"@siteimprove/alfa-json": "workspace:^0.21.0",
"@siteimprove/alfa-math": "workspace:^0.21.0",
"@siteimprove/alfa-option": "workspace:^0.21.0"
"@siteimprove/alfa-equatable": "workspace:^0.21.2",
"@siteimprove/alfa-json": "workspace:^0.21.2",
"@siteimprove/alfa-math": "workspace:^0.21.2",
"@siteimprove/alfa-option": "workspace:^0.21.2"
},
"devDependencies": {
"@siteimprove/alfa-test": "workspace:^0.21.0"
"@siteimprove/alfa-test": "workspace:^0.21.2"
},
"publishConfig": {
"access": "public",
Expand Down
14 changes: 7 additions & 7 deletions packages/alfa-angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "http://json.schemastore.org/package",
"name": "@siteimprove/alfa-angular",
"homepage": "https://alfa.siteimprove.com",
"version": "0.21.0",
"version": "0.21.2",
"license": "MIT",
"description": "Integrations and utilities for the Angular application framework",
"repository": {
Expand All @@ -19,16 +19,16 @@
],
"dependencies": {
"@angular/core": "^11.0.0",
"@siteimprove/alfa-device": "workspace:^0.21.0",
"@siteimprove/alfa-dom": "workspace:^0.21.0",
"@siteimprove/alfa-http": "workspace:^0.21.0",
"@siteimprove/alfa-option": "workspace:^0.21.0",
"@siteimprove/alfa-web": "workspace:^0.21.0",
"@siteimprove/alfa-device": "workspace:^0.21.2",
"@siteimprove/alfa-dom": "workspace:^0.21.2",
"@siteimprove/alfa-http": "workspace:^0.21.2",
"@siteimprove/alfa-option": "workspace:^0.21.2",
"@siteimprove/alfa-web": "workspace:^0.21.2",
"rxjs": "^7.1.0",
"zone.js": "^0.11.4"
},
"devDependencies": {
"@siteimprove/alfa-test": "workspace:^0.21.0"
"@siteimprove/alfa-test": "workspace:^0.21.2"
},
"publishConfig": {
"access": "public",
Expand Down
8 changes: 4 additions & 4 deletions packages/alfa-applicative/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "http://json.schemastore.org/package",
"name": "@siteimprove/alfa-applicative",
"homepage": "https://alfa.siteimprove.com",
"version": "0.21.0",
"version": "0.21.2",
"license": "MIT",
"description": "Types for modelling applicative functors",
"repository": {
Expand All @@ -18,11 +18,11 @@
"src/**/*.d.ts"
],
"dependencies": {
"@siteimprove/alfa-functor": "workspace:^0.21.0",
"@siteimprove/alfa-mapper": "workspace:^0.21.0"
"@siteimprove/alfa-functor": "workspace:^0.21.2",
"@siteimprove/alfa-mapper": "workspace:^0.21.2"
},
"devDependencies": {
"@siteimprove/alfa-test": "workspace:^0.21.0"
"@siteimprove/alfa-test": "workspace:^0.21.2"
},
"publishConfig": {
"access": "public",
Expand Down
48 changes: 24 additions & 24 deletions packages/alfa-aria/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "http://json.schemastore.org/package",
"name": "@siteimprove/alfa-aria",
"homepage": "https://alfa.siteimprove.com",
"version": "0.21.0",
"version": "0.21.2",
"license": "MIT",
"description": "Functionality for working with ARIA and the accessibility tree",
"repository": {
Expand All @@ -21,31 +21,31 @@
"generate": "node scripts/attributes.js && node scripts/roles.js"
},
"dependencies": {
"@siteimprove/alfa-array": "workspace:^0.21.0",
"@siteimprove/alfa-branched": "workspace:^0.21.0",
"@siteimprove/alfa-cache": "workspace:^0.21.0",
"@siteimprove/alfa-compatibility": "workspace:^0.21.0",
"@siteimprove/alfa-device": "workspace:^0.21.0",
"@siteimprove/alfa-dom": "workspace:^0.21.0",
"@siteimprove/alfa-equatable": "workspace:^0.21.0",
"@siteimprove/alfa-graph": "workspace:^0.21.0",
"@siteimprove/alfa-hash": "workspace:^0.21.0",
"@siteimprove/alfa-iterable": "workspace:^0.21.0",
"@siteimprove/alfa-json": "workspace:^0.21.0",
"@siteimprove/alfa-lazy": "workspace:^0.21.0",
"@siteimprove/alfa-map": "workspace:^0.21.0",
"@siteimprove/alfa-mapper": "workspace:^0.21.0",
"@siteimprove/alfa-option": "workspace:^0.21.0",
"@siteimprove/alfa-predicate": "workspace:^0.21.0",
"@siteimprove/alfa-refinement": "workspace:^0.21.0",
"@siteimprove/alfa-sequence": "workspace:^0.21.0",
"@siteimprove/alfa-set": "workspace:^0.21.0",
"@siteimprove/alfa-style": "workspace:^0.21.0",
"@siteimprove/alfa-table": "workspace:^0.21.0",
"@siteimprove/alfa-thunk": "workspace:^0.21.0"
"@siteimprove/alfa-array": "workspace:^0.21.2",
"@siteimprove/alfa-branched": "workspace:^0.21.2",
"@siteimprove/alfa-cache": "workspace:^0.21.2",
"@siteimprove/alfa-compatibility": "workspace:^0.21.2",
"@siteimprove/alfa-device": "workspace:^0.21.2",
"@siteimprove/alfa-dom": "workspace:^0.21.2",
"@siteimprove/alfa-equatable": "workspace:^0.21.2",
"@siteimprove/alfa-graph": "workspace:^0.21.2",
"@siteimprove/alfa-hash": "workspace:^0.21.2",
"@siteimprove/alfa-iterable": "workspace:^0.21.2",
"@siteimprove/alfa-json": "workspace:^0.21.2",
"@siteimprove/alfa-lazy": "workspace:^0.21.2",
"@siteimprove/alfa-map": "workspace:^0.21.2",
"@siteimprove/alfa-mapper": "workspace:^0.21.2",
"@siteimprove/alfa-option": "workspace:^0.21.2",
"@siteimprove/alfa-predicate": "workspace:^0.21.2",
"@siteimprove/alfa-refinement": "workspace:^0.21.2",
"@siteimprove/alfa-sequence": "workspace:^0.21.2",
"@siteimprove/alfa-set": "workspace:^0.21.2",
"@siteimprove/alfa-style": "workspace:^0.21.2",
"@siteimprove/alfa-table": "workspace:^0.21.2",
"@siteimprove/alfa-thunk": "workspace:^0.21.2"
},
"devDependencies": {
"@siteimprove/alfa-test": "workspace:^0.21.0"
"@siteimprove/alfa-test": "workspace:^0.21.2"
},
"publishConfig": {
"access": "public",
Expand Down
Loading

0 comments on commit 5fafcb7

Please sign in to comment.