Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ jobs:
strategy:
matrix:
node-version: [
20
20,
22,
24
]
steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
lts/iron
lts/krypton
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20-bookworm-slim
FROM node:24-bookworm-slim

EXPOSE 8080 4443

Expand Down
4 changes: 3 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ module.exports = {
}],
},
transformIgnorePatterns: [
'/node_modules/(?!(@exodus/bytes|@asamuzakjp|@bramus|@csstools|parse5|tough-cookie)/)',
'/node_modules/(?!(' +
'@exodus/bytes|@asamuzakjp|@bramus|@csstools|entities|jsdom|parse5|tough-cookie' +
')/)',
],
setupFilesAfterEnv: [
'<rootDir>/test/common.js',
Expand Down
3,704 changes: 1,631 additions & 2,073 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ parts:
source: .
after: [ python-deps ]
npm-include-node: true
npm-node-version: 20.18.0
npm-node-version: 24.22.2
build-environment:
- npm_config_unsafe_perm: "true"
- NODE_ENV: "dev"
Expand Down
18 changes: 7 additions & 11 deletions src/tunnel-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,17 +108,13 @@ class TunnelService {
let responseSent = false;
this.tunnelToken = token;
const endpoint = `${token.name}.${token.base}`;
this.pagekiteProcess = spawn(
config.get('ssltunnel.pagekite_cmd'),
[
'--clean',
`--frontend=${endpoint}:${config.get('ssltunnel.port')}`,
`--service_on=https:${endpoint}:localhost:${config.get('ports.https')}:${
this.tunnelToken!.token
}`,
],
{ shell: true }
);
this.pagekiteProcess = spawn(config.get('ssltunnel.pagekite_cmd'), [
'--clean',
`--frontend=${endpoint}:${config.get('ssltunnel.port')}`,
`--service_on=https:${endpoint}:localhost:${config.get('ports.https')}:${
this.tunnelToken!.token
}`,
]);

this.pagekiteProcess.stdout!.on('data', (data) => {
if (DEBUG) {
Expand Down
4 changes: 0 additions & 4 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,6 @@ const pluginsWeb = [
},
},
}),
new webpack.SourceMapDevToolPlugin({
test: /\.css$/,
filename: '[file].map',
}),
new MiniCssExtractPlugin({
filename: 'bundle/[contenthash]-[name].css',
}),
Expand Down
Loading