chore: update our required node version (#2204)

* feat: fix broken queue bench

* chore: update our required node version
This commit is contained in:
Daniel Salazar
2025-12-19 19:24:05 -08:00
committed by GitHub
parent 2c60faf516
commit f360cf17e6
8 changed files with 11 additions and 15 deletions

View File

@@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
node-version: [20.x, 22.x]
node-version: [24.x]
steps:
- uses: actions/checkout@v4
@@ -39,7 +39,7 @@ jobs:
retention-days: 5
- name: Publish backend coverage summary
if: ${{ always() && matrix.node-version == '22.x' }}
if: ${{ always() && matrix.node-version == '24.x' }}
uses: actions/github-script@v7
with:
script: |
@@ -86,7 +86,7 @@ jobs:
strategy:
matrix:
node-version: [22.x]
node-version: [24.x]
steps:
- uses: actions/checkout@v4
@@ -115,7 +115,7 @@ jobs:
strategy:
matrix:
node-version: [22.x]
node-version: [24.x]
steps:
- uses: actions/checkout@v4

View File

@@ -114,7 +114,7 @@ Puter is available as a hosted service at [**puter.com**](https://puter.com).
- **Operating Systems:** Linux, macOS, Windows
- **RAM:** 2GB minimum (4GB recommended)
- **Disk Space:** 1GB free space
- **Node.js:** Version 20.19.5+ (Version 23+ recommended)
- **Node.js:** Version 24+
- **npm:** Latest stable version
<br/>

View File

@@ -112,7 +112,7 @@ Puter [**puter.com**](https://puter.com) 'ਤੇ ਇੱਕ ਹੋਸਟ ਕੀ
- **Operating Systems:** Linux, macOS, Windows
- **RAM:** ਘੱਟੋ-ਘੱਟ 2GB (4GB ਸਿਫ਼ਾਰਸ਼ੀ)
- **Disk Space:** 1GB ਖਾਲੀ ਜਗ੍ਹਾ
- **Node.js:** Version 20.19.5+ (23+ ਸਿਫ਼ਾਰਸ਼ੀ)
- **Node.js:** Version 24+
- **npm:** ਨਵੀਨਤਮ ਸਥਿਰ ਵਰਜਨ
<br/>

View File

@@ -97,6 +97,6 @@
"sharp-ico": "^0.1.5"
},
"engines": {
"node": ">=20.19.5"
"node": ">=24.0.0"
}
}

View File

@@ -95,7 +95,7 @@
"yargs": "^17.7.2"
},
"devDependencies": {
"@types/node": "^20.5.3",
"@types/node": "^24.0.0",
"chai": "^4.3.7",
"jsdom": "^27.2.0",
"mocha": "^10.2.0",

View File

@@ -18,7 +18,7 @@
*/
import { bench, describe } from 'vitest';
const { CircularQueue } = require('./CircularQueue');
import { CircularQueue } from './CircularQueue';
/**
* Naive array-based implementation for comparison (no Map optimization).

View File

@@ -24,7 +24,7 @@
* Items expire when they are evicted from the queue (when the queue is full
* and a new item is pushed).
*/
class CircularQueue {
export class CircularQueue {
/**
* Creates a new CircularQueue instance with the specified size.
*
@@ -87,7 +87,3 @@ class CircularQueue {
return false;
}
}
module.exports = {
CircularQueue,
};

View File

@@ -30,7 +30,7 @@ def get_admin_password() -> str:
"""
Get the admin password from the backend server, throw an error if not found.
"""
for attempt in range(60): # wait up to 60 seconds (1 minute)
for attempt in range(90): # wait up to 60 seconds (1 minute)
time.sleep(1)
# read the log file