File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525 - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2626 - uses : actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
2727 with :
28- node-version : 24
28+ node-version : 26
2929 registry-url : https://registry.npmjs.org/
3030 package-manager-cache : false
3131
Original file line number Diff line number Diff line change 1010 strategy :
1111 matrix :
1212 os : [ubuntu-latest, macOS-latest]
13- node : [18, 20 ]
13+ node : [24, 26 ]
1414
1515 steps :
1616 - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
3333 - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
3434 - uses : actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
3535 with :
36- node-version : 20
36+ node-version : 26
3737 - run : |
3838 npm install
3939 npm test
Original file line number Diff line number Diff line change 33const path = require ( "path" )
44const fs = require ( "fs" )
55const http = require ( "http" )
6- // spdy allows http2, while waiting express to support the http2 module
7- const https = process . env . NODE_ENV === "production"
8- ? require ( "spdy" )
9- : require ( "https" )
6+ const https = require ( "https" )
107const express = require ( "express" )
118const cors = require ( "cors" )
129const getCerts = require ( path . resolve ( __dirname , "certs.js" ) ) . getCerts
Original file line number Diff line number Diff line change 33 "version" : " 4.7.2" ,
44 "description" : " HTTPS server running on localhost" ,
55 "main" : " index.js" ,
6+ "engines" : {
7+ "node" : " >=24"
8+ },
69 "scripts" : {
710 "pretest" : " eslint --ignore-path .gitignore ." ,
811 "test" : " node node_modules/nyc/bin/nyc.js node_modules/mocha/bin/_mocha --exit" ,
4649 "compression" : " ^1.7.4" ,
4750 "cors" : " ^2.8.5" ,
4851 "express" : " ^4.17.1" ,
49- "uglify-js" : " ^3.15.1" ,
50- "spdy" : " ^4.0.2"
52+ "uglify-js" : " ^3.15.1"
5153 },
5254 "devDependencies" : {
5355 "eslint" : " ^7.25.0" ,
You can’t perform that action at this time.
0 commit comments