Merge branch 'deno-v1.40.2' into 'main'
Upgrade Deno to v1.40.2 See merge request soapbox-pub/ditto!110
This commit is contained in:
commit
828aeec6dc
|
@ -1,4 +1,4 @@
|
|||
image: denoland/deno:1.39.0
|
||||
image: denoland/deno:1.40.2
|
||||
|
||||
default:
|
||||
interruptible: true
|
||||
|
|
|
@ -1 +1 @@
|
|||
deno 1.39.0
|
||||
deno 1.40.2
|
10
deno.json
10
deno.json
|
@ -2,12 +2,12 @@
|
|||
"$schema": "https://deno.land/x/deno@v1.32.3/cli/schemas/config-file.v1.json",
|
||||
"lock": false,
|
||||
"tasks": {
|
||||
"start": "deno run -A --unstable src/server.ts",
|
||||
"dev": "deno run -A --unstable --watch src/server.ts",
|
||||
"debug": "deno run -A --unstable --inspect src/server.ts",
|
||||
"test": "DB_PATH=\":memory:\" deno test -A --unstable",
|
||||
"start": "deno run -A --unstable-ffi src/server.ts",
|
||||
"dev": "deno run -A --unstable-ffi --watch src/server.ts",
|
||||
"debug": "deno run -A --unstable-ffi --inspect src/server.ts",
|
||||
"test": "DB_PATH=\":memory:\" deno test -A --unstable-ffi",
|
||||
"check": "deno check src/server.ts",
|
||||
"relays:sync": "deno run -A --unstable scripts/relays.ts sync"
|
||||
"relays:sync": "deno run -A --unstable-ffi scripts/relays.ts sync"
|
||||
},
|
||||
"exclude": ["./public"],
|
||||
"imports": {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { assertEquals } from '@/deps-test.ts';
|
||||
|
||||
import event0 from '~/fixtures/events/event-0.json' assert { type: 'json' };
|
||||
import event1 from '~/fixtures/events/event-1.json' assert { type: 'json' };
|
||||
import event0 from '~/fixtures/events/event-0.json' with { type: 'json' };
|
||||
import event1 from '~/fixtures/events/event-1.json' with { type: 'json' };
|
||||
|
||||
import { eventToMicroFilter, getFilterId, getFilterLimit, getMicroFilters, isMicrofilter } from './filter.ts';
|
||||
|
||||
|
|
|
@ -2,8 +2,8 @@ import { db } from '@/db.ts';
|
|||
import { buildUserEvent } from '@/db/users.ts';
|
||||
import { assertEquals, assertRejects } from '@/deps-test.ts';
|
||||
|
||||
import event0 from '~/fixtures/events/event-0.json' assert { type: 'json' };
|
||||
import event1 from '~/fixtures/events/event-1.json' assert { type: 'json' };
|
||||
import event0 from '~/fixtures/events/event-0.json' with { type: 'json' };
|
||||
import event1 from '~/fixtures/events/event-1.json' with { type: 'json' };
|
||||
|
||||
import { EventsDB } from './events-db.ts';
|
||||
|
||||
|
|
Loading…
Reference in New Issue