@siteimprove/alfa-iana 0.97.0 → 0.99.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @siteimprove/alfa-iana
2
2
 
3
+ ## 0.99.0
4
+
5
+ ## 0.98.0
6
+
7
+ ### Patch Changes
8
+
9
+ - **Changed:** Classes that do not implement the Singleton pattern now have `protected` constructor and can be extended. ([#1735](https://github.com/Siteimprove/alfa/pull/1735))
10
+
3
11
  ## 0.97.0
4
12
 
5
13
  ## 0.96.0
@@ -72,7 +72,7 @@ export declare namespace Language {
72
72
  */
73
73
  class Primary extends Subtag<"primary", Primary.Name> {
74
74
  static of(name: Primary.Name): Primary;
75
- private constructor();
75
+ protected constructor(name: Primary.Name);
76
76
  get type(): "primary";
77
77
  /**
78
78
  * {@link https://tools.ietf.org/html/bcp47#section-3.1.11}
@@ -96,7 +96,7 @@ export declare namespace Language {
96
96
  */
97
97
  class Extended extends Subtag<"extended", Extended.Name> {
98
98
  static of(name: Extended.Name): Extended;
99
- private constructor();
99
+ protected constructor(name: Extended.Name);
100
100
  get type(): "extended";
101
101
  /**
102
102
  * {@link https://tools.ietf.org/html/bcp47#section-3.1.8}
@@ -120,7 +120,7 @@ export declare namespace Language {
120
120
  */
121
121
  class Script extends Subtag<"script", Script.Name> {
122
122
  static of(name: Script.Name): Script;
123
- private constructor();
123
+ protected constructor(name: Script.Name);
124
124
  get type(): "script";
125
125
  equals(value: Script): boolean;
126
126
  equals(value: unknown): value is this;
@@ -139,7 +139,7 @@ export declare namespace Language {
139
139
  */
140
140
  class Region extends Subtag<"region", Region.Name> {
141
141
  static of(name: Region.Name): Region;
142
- private constructor();
142
+ protected constructor(name: Region.Name);
143
143
  get type(): "region";
144
144
  equals(value: Region): boolean;
145
145
  equals(value: unknown): value is this;
@@ -158,7 +158,7 @@ export declare namespace Language {
158
158
  */
159
159
  class Variant extends Subtag<"variant", Variant.Name> {
160
160
  static of(name: Variant.Name): Variant;
161
- private constructor();
161
+ protected constructor(name: Variant.Name);
162
162
  get type(): "variant";
163
163
  /**
164
164
  * {@link https://tools.ietf.org/html/bcp47#section-3.1.8}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "$schema": "http://json.schemastore.org/package",
3
3
  "name": "@siteimprove/alfa-iana",
4
4
  "homepage": "https://alfa.siteimprove.com",
5
- "version": "0.97.0",
5
+ "version": "0.99.0",
6
6
  "license": "MIT",
7
7
  "description": "Functionality for working with the different IANA registries, such as the language subtag registry",
8
8
  "repository": {
@@ -25,14 +25,14 @@
25
25
  "generate": "node scripts/languages.js"
26
26
  },
27
27
  "dependencies": {
28
- "@siteimprove/alfa-equatable": "^0.97.0",
29
- "@siteimprove/alfa-json": "^0.97.0",
30
- "@siteimprove/alfa-option": "^0.97.0",
31
- "@siteimprove/alfa-result": "^0.97.0",
32
- "@siteimprove/alfa-slice": "^0.97.0"
28
+ "@siteimprove/alfa-equatable": "^0.99.0",
29
+ "@siteimprove/alfa-json": "^0.99.0",
30
+ "@siteimprove/alfa-option": "^0.99.0",
31
+ "@siteimprove/alfa-result": "^0.99.0",
32
+ "@siteimprove/alfa-slice": "^0.99.0"
33
33
  },
34
34
  "devDependencies": {
35
- "@siteimprove/alfa-test": "^0.97.0",
35
+ "@siteimprove/alfa-test": "^0.99.0",
36
36
  "axios": "^1.7.4",
37
37
  "prettier": "^3.0.0"
38
38
  },