Skip to content

Commit 70fc722

Browse files
committed
chore: gritty: v8.1.0
1 parent 72e34e0 commit 70fc722

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2024.03.16, v8.1.0
2+
3+
feature:
4+
- 72e34e0 gritty: serve-once v3.0.0
5+
16
2024.03.12, v8.0.0
27

38
feature:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gritty",
3-
"version": "8.0.0",
3+
"version": "8.1.0",
44
"type": "commonjs",
55
"author": "coderaiser <[email protected]> (https://github.com/coderaiser)",
66
"description": "Web terminal emulator",

server/gritty.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ const Router = require('router');
99

1010
const currify = require('currify');
1111
const wraptile = require('wraptile');
12-
const _pty = require('node-pty');
12+
//const _pty = require('node-pty');
13+
const _pty = require('@lydell/node-pty');
14+
1315
const stringArgv = require('string-to-argv');
1416
const isBool = (a) => typeof a === 'boolean';
1517

test/server/gritty.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,11 +152,11 @@ test('gritty: server: socket: exit: custom cmd', async (t) => {
152152
t.end();
153153
});
154154

155-
test.skip('gritty: server: terminal: parse args', async (t) => {
155+
test('gritty: server: terminal: parse args', async (t) => {
156156
const {port, done} = await connect();
157157
const socket = io(`http://localhost:${port}/gritty`);
158158

159-
mockRequire('node-pty', {
159+
mockRequire('@lydell/node-pty', {
160160
spawn: stub(),
161161
});
162162

0 commit comments

Comments
 (0)