Skip to content

Commit

Permalink
fix deps
Browse files Browse the repository at this point in the history
  • Loading branch information
vpalmisano committed Oct 31, 2024
1 parent 98c6431 commit bc3b4cc
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 18 deletions.
4 changes: 2 additions & 2 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import globals from 'globals'
import pluginJs from '@eslint/js'
import js from '@eslint/js'
import tseslint from 'typescript-eslint'
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended'

Expand All @@ -15,7 +15,7 @@ export default [
},
},
},
pluginJs.configs.recommended,
js.configs.recommended,
...tseslint.configs.recommended,
{
rules: {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@
"ws": "^8.18.0"
},
"devDependencies": {
"globals": "^15.11.0",
"@eslint/js": "^9.13.0",
"@types/compression": "^1.7.5",
"@types/convict": "^6.1.6",
Expand All @@ -101,6 +100,7 @@
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-unused-imports": "^4.1.4",
"globals": "^15.11.0",
"nexe": "^4.0.0-rc.6",
"prettier": "^3.3.3",
"terser-webpack-plugin": "^5.3.10",
Expand Down
6 changes: 3 additions & 3 deletions src/server.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import compression from 'compression'
import { timingSafeEqual } from 'crypto'
import express, { json } from 'express'
import basicAuth from 'express-basic-auth'
import fs from 'fs'
import { createServer, Server as HttpServer } from 'http'
import { createServer as _createServer, Server as HttpsServer } from 'https'
import basicAuth from 'express-basic-auth'
import { Server as HttpServer, createServer } from 'http'
import { Server as HttpsServer, createServer as _createServer } from 'https'
import os from 'os'
import path from 'path'
import tar from 'tar-fs'
Expand Down
8 changes: 4 additions & 4 deletions src/session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,18 @@ import puppeteer, {
Permission,
} from 'puppeteer-core'
import {
getUrlPatternRegExp,
type Interception,
RequestInterceptionManager,
getUrlPatternRegExp,
} from 'puppeteer-intercept-and-modify-requests'
import * as sdpTransform from 'sdp-transform'
import { gunzipSync } from 'zlib'

import { rtcStatKey, RtcStats, updateRtcStats } from './rtcstats'
import { RtcStats, rtcStatKey, updateRtcStats } from './rtcstats'
import { FastStats } from './stats'
import {
PeerConnectionExternal,
PeerConnectionExternalMethod,
checkChromeExecutable,
downloadUrl,
enabledForSession,
Expand All @@ -38,8 +40,6 @@ import {
hideAuth,
increaseKey,
logger,
PeerConnectionExternal,
PeerConnectionExternalMethod,
portForwarder,
resolveIP,
resolvePackagePath,
Expand Down
4 changes: 2 additions & 2 deletions src/stats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import { PrometheusContentType } from 'prom-client'
import { sprintf } from 'sprintf-js'
import * as zlib from 'zlib'

import { PageStatsNames, parseRtStatKey, RtcStatsMetricNames } from './rtcstats'
import { PageStatsNames, RtcStatsMetricNames, parseRtStatKey } from './rtcstats'
import { Session } from './session'
import { hideAuth, logger, Scheduler, toPrecision } from './utils'
import { Scheduler, hideAuth, logger, toPrecision } from './utils'

export { FastStats }

Expand Down
4 changes: 2 additions & 2 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ import {
getVersionComparator,
install,
} from '@puppeteer/browsers'
import axios from 'axios'
import { spawn } from 'child_process'
import axios from 'axios'
import { createHash } from 'crypto'
import * as dns from 'dns'
import FormData from 'form-data'
import fs, { createWriteStream, WriteStream } from 'fs'
import fs, { WriteStream, createWriteStream } from 'fs'
import { Agent } from 'https'
import * as ipaddrJs from 'ipaddr.js'
import net from 'net'
Expand Down
3 changes: 1 addition & 2 deletions src/visqol.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { getFiles, logger, runShellCommand } from './utils'
import fs from 'fs'
import path from 'path'

import { getFiles, logger, runShellCommand } from './utils'

const log = logger('webrtcperf:visqol')

interface VisqolConfig {
Expand Down
4 changes: 2 additions & 2 deletions src/vmaf.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import fs from 'fs'
import json5 from 'json5'
import os from 'os'
import path from 'path'
import os from 'os'

import { FFProbeProcess, analyzeColors, chunkedPromiseAll, ffprobe, getFiles, logger, runShellCommand } from './utils'
import { FastStats } from './stats'
import { analyzeColors, chunkedPromiseAll, ffprobe, FFProbeProcess, getFiles, logger, runShellCommand } from './utils'

const log = logger('webrtcperf:vmaf')

Expand Down

0 comments on commit bc3b4cc

Please sign in to comment.