Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⬆️ Upgrade Deno #313

Merged
merged 1 commit into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .changes/deno-2-1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
"@interactors/core": patch
---
Update to Deno 2.1 which includes new version of typescript
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: setup deno
uses: denoland/setup-deno@v1
uses: denoland/setup-deno@v2
with:
deno-version: v1.x
deno-version: v2.x
- uses: volta-cli/action@v4
with:
registry-url: https://registry.npmjs.org
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ jobs:
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: denoland/setup-deno@v1
- uses: denoland/setup-deno@v2
with:
deno-version: v1.x
deno-version: v2.x
- run: deno test -A
8 changes: 4 additions & 4 deletions packages/core/src/errors.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
export class NoSuchElementError extends Error {
name = "NoSuchElementError";
override name = "NoSuchElementError";
}

export class AmbiguousElementError extends Error {
name = "AmbiguousElementError";
override name = "AmbiguousElementError";
}

export class NotAbsentError extends Error {
name = "NotAbsentError";
override name = "NotAbsentError";
}

export class FilterNotMatchingError extends Error {
name = "FilterNotMatchingError";
override name = "FilterNotMatchingError";
}
Loading