Skip to content

Commit 52aad76

Browse files
files rename
1 parent a8927d8 commit 52aad76

File tree

8 files changed

+15
-15
lines changed

8 files changed

+15
-15
lines changed

package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tiny-server-essentials",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "A good utility toolkit to unify Express v5 and Socket.IO v4 into a seamless development experience with modular helpers, server wrappers, and WebSocket tools.",
55
"scripts": {
66
"test": "npm run test:mjs && npm run test:cjs && npm run test:js",
@@ -95,6 +95,6 @@
9595
"express": "^5.1.0",
9696
"http-errors": "^2.0.0",
9797
"socket.io": "^4.8.1",
98-
"tiny-essentials": "^1.9.2"
98+
"tiny-essentials": "^1.11.0"
9999
}
100100
}

src/Express.mjs renamed to src/TinyExpress.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { Server as HttpsServer } from 'https';
66
import express from 'express';
77
import createHttpError from 'http-errors';
88

9-
import TinyWebInstance from './Instance.mjs';
9+
import TinyWebInstance from './TinyWebInstance.mjs';
1010
import { extractIpList } from './Utils.mjs';
1111

1212
/** @typedef {import('express').Request} Request */

src/Io.mjs renamed to src/TinyIo.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Server as HttpServer } from 'http';
22
import { createServer, Server as HttpsServer } from 'https';
33
import { Server as SocketIOServer } from 'socket.io';
4-
import TinyWebInstance from './Instance.mjs';
4+
import TinyWebInstance from './TinyWebInstance.mjs';
55
import { extractIpList } from './Utils.mjs';
66

77
/** @typedef {import('socket.io').Socket} Socket */

src/index.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as Utils from './Utils.mjs';
2-
import TinyWebInstance from './Instance.mjs';
3-
import TinyExpress from './Express.mjs';
4-
import TinyIo from './Io.mjs';
2+
import TinyWebInstance from './TinyWebInstance.mjs';
3+
import TinyExpress from './TinyExpress.mjs';
4+
import TinyIo from './TinyIo.mjs';
55

66
/**
77
* Central access point for all essential modules provided by the TinyWeb toolkit.

test/servers/templates/express.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import cookieParser from 'cookie-parser';
44
import bodyParser from 'body-parser';
55
import helmet from 'helmet';
66

7-
import TinyExpress from '../../../dist/Express.mjs';
7+
import TinyExpress from '../../../dist/TinyExpress.mjs';
88

99
import { fileURLToPath } from 'url';
1010
import { dirname } from 'path';

test/servers/templates/socket.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import cookie from 'cookie';
2-
import TinyIo from '../../../dist/Io.mjs';
2+
import TinyIo from '../../../dist/TinyIo.mjs';
33

44
/**
55
* @param {TinyIo} webSocket

0 commit comments

Comments
 (0)