Skip to content

Commit

Permalink
build: upgrade deps to latest
Browse files Browse the repository at this point in the history
- Capitalize  endpoint method names from sveltejs/kit#5513
- Upgrade e2e Banananation from NASA-AMMOS/aerie#238
  • Loading branch information
camargo committed Jul 18, 2022
1 parent 5a2e54f commit f3ff4ee
Show file tree
Hide file tree
Showing 7 changed files with 103 additions and 103 deletions.
Binary file modified e2e-tests/data/banananation-develop.jar
Binary file not shown.
186 changes: 93 additions & 93 deletions package-lock.json

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@
"dependencies": {
"@nasa-jpl/stellar": "^1.0.3",
"@sveltejs/adapter-node": "1.0.0-next.81",
"@sveltejs/kit": "1.0.0-next.374",
"@sveltejs/kit": "1.0.0-next.377",
"bootstrap": "^5.1.3",
"bootstrap-icons": "^1.9.0",
"bootstrap-icons": "^1.9.1",
"cookie": "^0.5.0",
"d3-axis": "^3.0.0",
"d3-brush": "^3.0.0",
Expand All @@ -62,7 +62,7 @@
"toastify-js": "^1.11.2"
},
"devDependencies": {
"@playwright/test": "^1.23.3",
"@playwright/test": "^1.23.4",
"@testing-library/svelte": "^3.1.3",
"@types/cookie": "^0.5.1",
"@types/d3-axis": "^3.0.1",
Expand All @@ -78,7 +78,7 @@
"@typescript-eslint/eslint-plugin": "^5.30.6",
"@typescript-eslint/parser": "^5.30.6",
"cloc": "^2.10.0",
"eslint": "^8.19.0",
"eslint": "^8.20.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-svelte3": "^4.0.0",
"jsdom": "^20.0.0",
Expand All @@ -90,7 +90,7 @@
"tslib": "^2.4.0",
"typescript": "^4.7.4",
"unique-names-generator": "^4.7.1",
"vite": "^3.0.0",
"vitest": "^0.18.0"
"vite": "^3.0.2",
"vitest": "^0.18.1"
}
}
2 changes: 1 addition & 1 deletion src/routes/auth/login.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { RequestHandler } from '@sveltejs/kit';
import effects from '../../utilities/effects';

export const post: RequestHandler = async event => {
export const POST: RequestHandler = async event => {
const body: LoginRequestBody = await event.request.json();
const { password, username } = body;

Expand Down
2 changes: 1 addition & 1 deletion src/routes/auth/logout.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { RequestHandler } from '@sveltejs/kit';
import effects from '../../utilities/effects';

export const post: RequestHandler = async event => {
export const POST: RequestHandler = async event => {
const { locals } = event;
const { user } = locals;
const { ssoToken = '' } = user;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/env/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { defaultEnv } from '../../stores/app';

export async function get(): Promise<{ body: Env }> {
export async function GET(): Promise<{ body: Env }> {
const { env } = process;

const AUTH_TYPE = env['AUTH_TYPE'] ?? defaultEnv.AUTH_TYPE;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/health/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export async function get(): Promise<{ body: { success: boolean } }> {
export async function GET(): Promise<{ body: { success: boolean } }> {
return {
body: {
success: true,
Expand Down

0 comments on commit f3ff4ee

Please sign in to comment.