Skip to content

Commit c9c0e6f

Browse files
committed
more changes
1 parent 6750b26 commit c9c0e6f

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"autocannon": "^7.15.0",
7575
"autocannon-compare": "^0.4.0",
7676
"eslint": "^8.57.0",
77-
"eslint-config-standard-ext": "^0.0.27",
77+
"eslint-config-standard-ext": "^2.0.0",
7878
"execa": "^8.0.1",
7979
"fastify": "^4.28.1",
8080
"require-inject": "^1.4.4",

src/server.js

+8-8
Original file line numberDiff line numberDiff line change
@@ -290,22 +290,22 @@ export const getUws = (fastify) => {
290290
export { WebSocketStream } from './websocket-server.js'
291291

292292
export {
293-
DEDICATED_COMPRESSOR_128KB,
294-
DEDICATED_COMPRESSOR_16KB,
295-
DEDICATED_COMPRESSOR_256KB,
296-
DEDICATED_COMPRESSOR_32KB,
297293
DEDICATED_COMPRESSOR_3KB,
298294
DEDICATED_COMPRESSOR_4KB,
299-
DEDICATED_COMPRESSOR_64KB,
300295
DEDICATED_COMPRESSOR_8KB,
296+
DEDICATED_COMPRESSOR_16KB,
297+
DEDICATED_COMPRESSOR_32KB,
298+
DEDICATED_COMPRESSOR_64KB,
299+
DEDICATED_COMPRESSOR_128KB,
300+
DEDICATED_COMPRESSOR_256KB,
301301
DEDICATED_DECOMPRESSOR,
302-
DEDICATED_DECOMPRESSOR_16KB,
303302
DEDICATED_DECOMPRESSOR_1KB,
304303
DEDICATED_DECOMPRESSOR_2KB,
305-
DEDICATED_DECOMPRESSOR_32KB,
306304
DEDICATED_DECOMPRESSOR_4KB,
307-
DEDICATED_DECOMPRESSOR_512B,
308305
DEDICATED_DECOMPRESSOR_8KB,
306+
DEDICATED_DECOMPRESSOR_16KB,
307+
DEDICATED_DECOMPRESSOR_32KB,
308+
DEDICATED_DECOMPRESSOR_512B,
309309
DISABLED,
310310
SHARED_COMPRESSOR,
311311
SHARED_DECOMPRESSOR,

tests/fastify/index.cjs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
const { Readable } = require('node:stream')
2-
const path = require('node:path')
31
const { once } = require('node:events')
2+
const path = require('node:path')
3+
const { Readable } = require('node:stream')
44
const requireInject = require('require-inject')
55
const _sget = require('simple-get').concat
66

tests/plugin.test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { once } from 'node:events'
2-
import WebSocket from 'ws'
3-
42
import fastify from 'fastify'
3+
54
import sget from 'simple-get'
65
import { test } from 'uvu'
76
import * as assert from 'uvu/assert'
7+
import WebSocket from 'ws'
88

99
import fastifyUwsPlugin from '../src/plugin.js'
1010
import { serverFactory } from '../src/server.js'

0 commit comments

Comments
 (0)