Skip to content

Commit

Permalink
chore: gritty: v8.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
coderaiser committed Mar 16, 2024
1 parent 72e34e0 commit 70fc722
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2024.03.16, v8.1.0

feature:
- 72e34e0 gritty: serve-once v3.0.0

2024.03.12, v8.0.0

feature:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gritty",
"version": "8.0.0",
"version": "8.1.0",
"type": "commonjs",
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
"description": "Web terminal emulator",
Expand Down
4 changes: 3 additions & 1 deletion server/gritty.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ const Router = require('router');

const currify = require('currify');
const wraptile = require('wraptile');
const _pty = require('node-pty');
//const _pty = require('node-pty');
const _pty = require('@lydell/node-pty');

const stringArgv = require('string-to-argv');
const isBool = (a) => typeof a === 'boolean';

Expand Down
4 changes: 2 additions & 2 deletions test/server/gritty.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,11 @@ test('gritty: server: socket: exit: custom cmd', async (t) => {
t.end();
});

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

mockRequire('node-pty', {
mockRequire('@lydell/node-pty', {
spawn: stub(),
});

Expand Down

0 comments on commit 70fc722

Please sign in to comment.