Skip to content

Commit

Permalink
v0.95.0
Browse files Browse the repository at this point in the history
  • Loading branch information
siteimprove-builduser committed Nov 28, 2024
1 parent de60ce9 commit c9aff2e
Show file tree
Hide file tree
Showing 179 changed files with 1,915 additions and 1,427 deletions.
8 changes: 0 additions & 8 deletions .changeset/orange-points-rule.md

This file was deleted.

6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Alfa changelog

## [0.95.0](../../compare/v0.94.1...v0.95.0) (2024-11-28)

### Breaking

- [@siteimprove/alfa-test-deprecated](packages/alfa-test-deprecated/CHANGELOG.md#0950), [@siteimprove/alfa-test](packages/alfa-test/CHANGELOG.md#0950): The `alfa-test` package is now called `alfa-test-deprecated` and a new `alfa-test` package was added. ([#1692](https://github.com/Siteimprove/alfa/pull/1692))

## [0.94.1](../../compare/v0.94.0...v0.94.1) (2024-11-22)

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion docs/api/alfa-rules.alfaversion.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
**Signature:**

```typescript
alfaVersion = "0.94.1"
alfaVersion = "0.95.0"
```
26 changes: 26 additions & 0 deletions docs/api/alfa-test-deprecated.assertions.deepequal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@siteimprove/alfa-test-deprecated](./alfa-test-deprecated.md) &gt; [Assertions](./alfa-test-deprecated.assertions.md) &gt; [deepEqual](./alfa-test-deprecated.assertions.deepequal.md)

## Assertions.deepEqual() method

[https://nodejs.org/api/assert.html\#assert\_assert\_deepequal\_actual\_expected\_message](https://nodejs.org/api/assert.html#assert_assert_deepequal_actual_expected_message)

**Signature:**

```typescript
deepEqual<T>(actual: T, expected: T, message?: string): void;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| actual | T | |
| expected | T | |
| message | string | _(Optional)_ |

**Returns:**

void

26 changes: 26 additions & 0 deletions docs/api/alfa-test-deprecated.assertions.equal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@siteimprove/alfa-test-deprecated](./alfa-test-deprecated.md) &gt; [Assertions](./alfa-test-deprecated.assertions.md) &gt; [equal](./alfa-test-deprecated.assertions.equal.md)

## Assertions.equal() method

[https://nodejs.org/api/assert.html\#assert\_assert\_equal\_actual\_expected\_message](https://nodejs.org/api/assert.html#assert_assert_equal_actual_expected_message)

**Signature:**

```typescript
equal<T>(actual: T, expected: T, message?: string): void;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| actual | T | |
| expected | T | |
| message | string | _(Optional)_ |

**Returns:**

void

24 changes: 24 additions & 0 deletions docs/api/alfa-test-deprecated.assertions.fail.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@siteimprove/alfa-test-deprecated](./alfa-test-deprecated.md) &gt; [Assertions](./alfa-test-deprecated.assertions.md) &gt; [fail](./alfa-test-deprecated.assertions.fail.md)

## Assertions.fail() method

[https://nodejs.org/api/assert.html\#assert\_assert\_fail\_message](https://nodejs.org/api/assert.html#assert_assert_fail_message)

**Signature:**

```typescript
fail(message?: string): never;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| message | string | _(Optional)_ |

**Returns:**

never

25 changes: 25 additions & 0 deletions docs/api/alfa-test-deprecated.assertions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@siteimprove/alfa-test-deprecated](./alfa-test-deprecated.md) &gt; [Assertions](./alfa-test-deprecated.assertions.md)

## Assertions interface


**Signature:**

```typescript
export interface Assertions
```

## Methods

| Method | Description |
| --- | --- |
| [deepEqual(actual, expected, message)](./alfa-test-deprecated.assertions.deepequal.md) | [https://nodejs.org/api/assert.html\#assert\_assert\_deepequal\_actual\_expected\_message](https://nodejs.org/api/assert.html#assert_assert_deepequal_actual_expected_message) |
| [equal(actual, expected, message)](./alfa-test-deprecated.assertions.equal.md) | [https://nodejs.org/api/assert.html\#assert\_assert\_equal\_actual\_expected\_message](https://nodejs.org/api/assert.html#assert_assert_equal_actual_expected_message) |
| [fail(message)](./alfa-test-deprecated.assertions.fail.md) | [https://nodejs.org/api/assert.html\#assert\_assert\_fail\_message](https://nodejs.org/api/assert.html#assert_assert_fail_message) |
| [notDeepEqual(actual, expected, message)](./alfa-test-deprecated.assertions.notdeepequal.md) | [https://nodejs.org/api/assert.html\#assert\_assert\_notdeepequal\_actual\_expected\_message](https://nodejs.org/api/assert.html#assert_assert_notdeepequal_actual_expected_message) |
| [notEqual(actual, expected, message)](./alfa-test-deprecated.assertions.notequal.md) | [https://nodejs.org/api/assert.html\#assert\_assert\_notequal\_actual\_expected\_message](https://nodejs.org/api/assert.html#assert_assert_notequal_actual_expected_message) |
| [rejects(block, error, message)](./alfa-test-deprecated.assertions.rejects.md) | [https://nodejs.org/api/assert.html\#assert\_assert\_rejects\_block\_error\_message](https://nodejs.org/api/assert.html#assert_assert_rejects_block_error_message) |
| [throws(block, error, message)](./alfa-test-deprecated.assertions.throws.md) | [https://nodejs.org/api/assert.html\#assert\_assert\_throws\_block\_error\_message](https://nodejs.org/api/assert.html#assert_assert_throws_block_error_message) |

26 changes: 26 additions & 0 deletions docs/api/alfa-test-deprecated.assertions.notdeepequal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@siteimprove/alfa-test-deprecated](./alfa-test-deprecated.md) &gt; [Assertions](./alfa-test-deprecated.assertions.md) &gt; [notDeepEqual](./alfa-test-deprecated.assertions.notdeepequal.md)

## Assertions.notDeepEqual() method

[https://nodejs.org/api/assert.html\#assert\_assert\_notdeepequal\_actual\_expected\_message](https://nodejs.org/api/assert.html#assert_assert_notdeepequal_actual_expected_message)

**Signature:**

```typescript
notDeepEqual<T>(actual: T, expected: T, message?: string): void;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| actual | T | |
| expected | T | |
| message | string | _(Optional)_ |

**Returns:**

void

26 changes: 26 additions & 0 deletions docs/api/alfa-test-deprecated.assertions.notequal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@siteimprove/alfa-test-deprecated](./alfa-test-deprecated.md) &gt; [Assertions](./alfa-test-deprecated.assertions.md) &gt; [notEqual](./alfa-test-deprecated.assertions.notequal.md)

## Assertions.notEqual() method

[https://nodejs.org/api/assert.html\#assert\_assert\_notequal\_actual\_expected\_message](https://nodejs.org/api/assert.html#assert_assert_notequal_actual_expected_message)

**Signature:**

```typescript
notEqual<T>(actual: T, expected: T, message?: string): void;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| actual | T | |
| expected | T | |
| message | string | _(Optional)_ |

**Returns:**

void

26 changes: 26 additions & 0 deletions docs/api/alfa-test-deprecated.assertions.rejects.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@siteimprove/alfa-test-deprecated](./alfa-test-deprecated.md) &gt; [Assertions](./alfa-test-deprecated.assertions.md) &gt; [rejects](./alfa-test-deprecated.assertions.rejects.md)

## Assertions.rejects() method

[https://nodejs.org/api/assert.html\#assert\_assert\_rejects\_block\_error\_message](https://nodejs.org/api/assert.html#assert_assert_rejects_block_error_message)

**Signature:**

```typescript
rejects<T>(block: Function | Promise<T>, error?: RegExp | Function | Object | Error, message?: string): void;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| block | Function \| Promise&lt;T&gt; | |
| error | RegExp \| Function \| Object \| Error | _(Optional)_ |
| message | string | _(Optional)_ |

**Returns:**

void

26 changes: 26 additions & 0 deletions docs/api/alfa-test-deprecated.assertions.throws.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@siteimprove/alfa-test-deprecated](./alfa-test-deprecated.md) &gt; [Assertions](./alfa-test-deprecated.assertions.md) &gt; [throws](./alfa-test-deprecated.assertions.throws.md)

## Assertions.throws() method

[https://nodejs.org/api/assert.html\#assert\_assert\_throws\_block\_error\_message](https://nodejs.org/api/assert.html#assert_assert_throws_block_error_message)

**Signature:**

```typescript
throws(block: Function, error?: RegExp | Function | Object | Error, message?: string): void;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| block | Function | |
| error | RegExp \| Function \| Object \| Error | _(Optional)_ |
| message | string | _(Optional)_ |

**Returns:**

void

11 changes: 11 additions & 0 deletions docs/api/alfa-test-deprecated.controller.iterations.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@siteimprove/alfa-test-deprecated](./alfa-test-deprecated.md) &gt; [Controller](./alfa-test-deprecated.controller.md) &gt; [iterations](./alfa-test-deprecated.controller.iterations.md)

## Controller.iterations property

**Signature:**

```typescript
iterations: number;
```
21 changes: 21 additions & 0 deletions docs/api/alfa-test-deprecated.controller.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@siteimprove/alfa-test-deprecated](./alfa-test-deprecated.md) &gt; [Controller](./alfa-test-deprecated.controller.md)

## Controller interface


**Signature:**

```typescript
export interface Controller<T = number>
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [iterations](./alfa-test-deprecated.controller.iterations.md) | | number | |
| [seed?](./alfa-test-deprecated.controller.seed.md) | | number | _(Optional)_ |
| [wrapper](./alfa-test-deprecated.controller.wrapper.md) | | (rng: [RNG](./alfa-test-deprecated.rng.md)<!-- -->&lt;number&gt;, iteration: number) =&gt; [RNG](./alfa-test-deprecated.rng.md)<!-- -->&lt;T&gt; | |

11 changes: 11 additions & 0 deletions docs/api/alfa-test-deprecated.controller.seed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@siteimprove/alfa-test-deprecated](./alfa-test-deprecated.md) &gt; [Controller](./alfa-test-deprecated.controller.md) &gt; [seed](./alfa-test-deprecated.controller.seed.md)

## Controller.seed property

**Signature:**

```typescript
seed?: number;
```
11 changes: 11 additions & 0 deletions docs/api/alfa-test-deprecated.controller.wrapper.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@siteimprove/alfa-test-deprecated](./alfa-test-deprecated.md) &gt; [Controller](./alfa-test-deprecated.controller.md) &gt; [wrapper](./alfa-test-deprecated.controller.wrapper.md)

## Controller.wrapper property

**Signature:**

```typescript
wrapper: (rng: RNG<number>, iteration: number) => RNG<T>;
```
25 changes: 25 additions & 0 deletions docs/api/alfa-test-deprecated.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@siteimprove/alfa-test-deprecated](./alfa-test-deprecated.md)

## alfa-test-deprecated package

## Functions

| Function | Description |
| --- | --- |
| [test(name, assertion, controller)](./alfa-test-deprecated.test.md) | |

## Interfaces

| Interface | Description |
| --- | --- |
| [Assertions](./alfa-test-deprecated.assertions.md) | |
| [Controller](./alfa-test-deprecated.controller.md) | |

## Type Aliases

| Type Alias | Description |
| --- | --- |
| [RNG](./alfa-test-deprecated.rng.md) | |

12 changes: 12 additions & 0 deletions docs/api/alfa-test-deprecated.rng.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@siteimprove/alfa-test-deprecated](./alfa-test-deprecated.md) &gt; [RNG](./alfa-test-deprecated.rng.md)

## RNG type


**Signature:**

```typescript
export type RNG<T = number> = () => T;
```
25 changes: 25 additions & 0 deletions docs/api/alfa-test-deprecated.test.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@siteimprove/alfa-test-deprecated](./alfa-test-deprecated.md) &gt; [test](./alfa-test-deprecated.test.md)

## test() function


**Signature:**

```typescript
export declare function test<T = number>(name: string, assertion: (assert: Assertions, rng: RNG<T>, seed: number) => void | Promise<void>, controller?: Partial<Controller<T>>): Promise<void>;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| name | string | |
| assertion | (assert: [Assertions](./alfa-test-deprecated.assertions.md)<!-- -->, rng: [RNG](./alfa-test-deprecated.rng.md)<!-- -->&lt;T&gt;, seed: number) =&gt; void \| Promise&lt;void&gt; | |
| controller | Partial&lt;[Controller](./alfa-test-deprecated.controller.md)<!-- -->&lt;T&gt;&gt; | _(Optional)_ |

**Returns:**

Promise&lt;void&gt;

1 change: 1 addition & 0 deletions docs/api/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
| [@siteimprove/alfa-string](./alfa-string.md) | |
| [@siteimprove/alfa-style](./alfa-style.md) | |
| [@siteimprove/alfa-table](./alfa-table.md) | |
| [@siteimprove/alfa-test-deprecated](./alfa-test-deprecated.md) | |
| [@siteimprove/alfa-thenable](./alfa-thenable.md) | |
| [@siteimprove/alfa-thunk](./alfa-thunk.md) | |
| [@siteimprove/alfa-time](./alfa-time.md) | |
Expand Down
2 changes: 1 addition & 1 deletion docs/review/api/alfa-rules.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import { Tag } from '@siteimprove/alfa-act';
import { Text } from '@siteimprove/alfa-dom';

// @public (undocumented)
export const alfaVersion = "0.94.1";
export const alfaVersion = "0.95.0";

// @public (undocumented)
export class ARIA extends Requirement<"ARIA"> {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@changesets/cli": "^2.26.2",
"@microsoft/api-documenter": "^7.19.9",
"@microsoft/api-extractor": "^7.29.5",
"@siteimprove/alfa-toolchain": "workspace:^0.94.1",
"@siteimprove/alfa-toolchain": "workspace:^0.95.0",
"@types/node": "^22.0.0",
"knip": "^5.23.1",
"minimist": "^1.2.6",
Expand Down
2 changes: 2 additions & 0 deletions packages/alfa-act/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @siteimprove/alfa-act

## 0.95.0

## 0.94.1

## 0.94.0
Expand Down
Loading

0 comments on commit c9aff2e

Please sign in to comment.