Skip to content

Commit 2c9c0cb

Browse files
Cleanup (#99)
* Cleanup core unit tests * Cleanup ReplaySubject unit tests * Make ReplaySubject constructor more readible * Fixed examples and explination is repo README * Made publishing content consistent * Added cases and documentation for inherited properties * Added slightly earlier return for forAwaitOf * Remove extra parenthesis * Fix distinctUntilChanged examples * Fix incorrect AI prompt example
1 parent da4cd2a commit 2c9c0cb

112 files changed

Lines changed: 175 additions & 151 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ interface Example {
2929
}
3030

3131
interface ExampleConstructor {
32-
new (): A;
33-
readonly prototype: A;
32+
new (): Example;
33+
readonly prototype: Example;
3434
}
3535

3636
const Example: ExampleConstructor = class {
@@ -54,8 +54,8 @@ const Example: ExampleConstructor = class {
5454

5555
### Immutability
5656

57-
All object instances, constructors, and prototypes **must be frozen** to prevent runtime mutation.
58-
This ensures predictable behavior and guards against accidental modification.
57+
All **public/exported** object instances, constructors, and prototypes **must be frozen** to prevent
58+
runtime mutation. This ensures predictable behavior and guards against accidental modification.
5959

6060
```ts
6161
const Example: ExampleConstructor = class {

all/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Automated by [JSR](https://jsr.io/)
1414

1515
## Publishing
1616

17-
Automated by `.github\workflows\publish.yml`.
17+
Automated by `.github/workflows/publish.yml`.
1818

1919
## Running unit tests
2020

all/deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@observable/all",
3-
"version": "0.20.0",
3+
"version": "0.21.0",
44
"license": "MIT",
55
"exports": "./mod.ts",
66
"publish": { "exclude": ["*.test.ts"] }

async-await/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Automated by [JSR](https://jsr.io/)
1111

1212
## Publishing
1313

14-
Automated by `.github\workflows\publish.yml`.
14+
Automated by `.github/workflows/publish.yml`.
1515

1616
## Running unit tests
1717

async-await/deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@observable/async-await",
3-
"version": "0.6.0",
3+
"version": "0.7.0",
44
"license": "MIT",
55
"exports": "./mod.ts",
66
"publish": { "exclude": ["*.test.ts"] }

at/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Automated by [JSR](https://jsr.io/)
1212

1313
## Publishing
1414

15-
Automated by `.github\workflows\publish.yml`.
15+
Automated by `.github/workflows/publish.yml`.
1616

1717
## Running unit tests
1818

at/deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@observable/at",
3-
"version": "0.9.0",
3+
"version": "0.10.0",
44
"license": "MIT",
55
"exports": "./mod.ts",
66
"publish": { "exclude": ["*.test.ts"] }

audit/deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@observable/audit",
3-
"version": "0.2.0",
3+
"version": "0.3.0",
44
"license": "MIT",
55
"exports": "./mod.ts",
66
"publish": { "exclude": ["*.test.ts"] }

audit/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Automated by [JSR](https://jsr.io/)
1111

1212
## Publishing
1313

14-
Automated by `.github\workflows\publish.yml`.
14+
Automated by `.github/workflows/publish.yml`.
1515

1616
## Running unit tests
1717

behavior-subject/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Automated by [JSR](https://jsr.io/)
1010

1111
## Publishing
1212

13-
Automated by `.github\workflows\publish.yml`.
13+
Automated by `.github/workflows/publish.yml`.
1414

1515
## Running unit tests
1616

0 commit comments

Comments
 (0)