Skip to content

Commit

Permalink
Update dependencies (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
smarr committed Apr 28, 2023
2 parents f3aafe4 + fcde5d2 commit cc2d3cf
Show file tree
Hide file tree
Showing 11 changed files with 766 additions and 5,626 deletions.
6,338 changes: 731 additions & 5,607 deletions package-lock.json

Large diffs are not rendered by default.

37 changes: 18 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,42 +13,41 @@
"@octokit/auth-app": "4.0.9",
"@octokit/rest": "19.0.7",
"decimal.js": "10.4.3",
"ejs": "3.1.8",
"koa": "2.14.1",
"ejs": "3.1.9",
"koa": "2.14.2",
"koa-body": "6.0.1",
"koa-router": "12.0.0",
"mustache": "4.2.0",
"pg": "8.9.0",
"pg": "8.10.0",
"promisify-child-process": "4.1.1",
"tslog": "4.7.1",
"tslog": "4.8.2",
"uplot": "1.6.24"
},
"engines": {
"node": ">=19.0.0"
},
"devDependencies": {
"@octokit/types": "9.0.0",
"@types/jest": "29.4.0",
"@octokit/types": "9.1.1",
"@types/jquery": "3.5.16",
"@types/ejs": "3.1.1",
"@types/koa": "2.13.5",
"@types/ejs": "3.1.2",
"@types/koa": "2.13.6",
"@types/koa-router": "7.4.4",
"@types/mustache": "4.2.2",
"@types/pg": "8.6.6",
"@typescript-eslint/eslint-plugin": "5.49.0",
"@typescript-eslint/parser": "5.49.0",
"@typescript-eslint/eslint-plugin": "5.59.1",
"@typescript-eslint/parser": "5.59.1",
"ajv": "8.12.0",
"eslint": "8.32.0",
"eslint-config-prettier": "8.6.0",
"eslint": "8.39.0",
"eslint-config-prettier": "8.8.0",
"eslint-plugin-jest": "27.2.1",
"eslint-plugin-prettier": "4.2.1",
"jest": "29.4.1",
"prettier": "2.8.3",
"jest": "29.5.0",
"prettier": "2.8.8",
"source-map-support": "0.5.21",
"terser": "5.16.1",
"ts-jest": "29.0.5",
"typescript": "4.9.4",
"typescript-json-schema": "0.55.0"
"terser": "5.17.1",
"ts-jest": "29.1.0",
"typescript": "5.0.4",
"typescript-json-schema": "0.56.0"
},
"jest": {
"preset": "ts-jest/presets/default-esm",
Expand Down Expand Up @@ -87,7 +86,7 @@
"compile": "tsc && npm run prep-reports && npm run prep-static",
"prep-static": "cp dist/src/views/*.js ./resources/",
"prep-reports": "mkdir -p tmp/interm tmp/knit resources/reports resources/exp-data",
"format": "prettier --config .prettierrc '{src,tests}/**/*.{ts}' --write",
"format": "prettier --config .prettierrc '{src,tests}/**/*.ts' --write",
"verify": "npm run lint",
"lint": "eslint . --ext .ts,.tsx",
"update": "git pull && npm install . && pm2 restart 0",
Expand Down
2 changes: 2 additions & 0 deletions tests/api.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { describe, expect, beforeAll, it } from '@jest/globals';

import { readFileSync } from 'fs';
import { ValidateFunction } from 'ajv';
import { createValidator } from '../src/api-validator.js';
Expand Down
1 change: 1 addition & 0 deletions tests/cache-validity.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from '@jest/globals';
import { TimedCacheValidity } from '../src/db.js';

async function delayOf(ms): Promise<void> {
Expand Down
1 change: 1 addition & 0 deletions tests/dashboard.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, beforeAll, afterAll, it } from '@jest/globals';
import {
TestDatabase,
createAndInitializeDB,
Expand Down
8 changes: 8 additions & 0 deletions tests/db-setup.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
import {
describe,
expect,
beforeAll,
afterAll,
afterEach,
it
} from '@jest/globals';
import { BenchmarkData, Criterion, DataPoint } from '../src/api.js';
import { loadScheme } from '../src/db.js';
import { readFileSync } from 'fs';
Expand Down
1 change: 1 addition & 0 deletions tests/db.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, beforeAll, afterAll, it } from '@jest/globals';
import {
TestDatabase,
createAndInitializeDB,
Expand Down
1 change: 1 addition & 0 deletions tests/report.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, afterAll, it } from '@jest/globals';
import { readFileSync, unlinkSync, rmSync, existsSync } from 'fs';
import {
startReportGeneration,
Expand Down
1 change: 1 addition & 0 deletions tests/single-requester.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from '@jest/globals';
import { SingleRequestOnly } from '../src/single-requester.js';

describe('Basic functionality of SingleRequestOnly', () => {
Expand Down
1 change: 1 addition & 0 deletions tests/stats.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from '@jest/globals';
import Decimal from 'decimal.js';
import {
basicSum,
Expand Down
1 change: 1 addition & 0 deletions tests/ui.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/* eslint-disable max-len */

import { describe, expect, it } from '@jest/globals';
import { simplifyCmdline } from '../src/views/util';

describe('Helper Functions for Rendering', () => {
Expand Down

0 comments on commit cc2d3cf

Please sign in to comment.