mirror of https://github.com/186526/handlers.js
Compare commits
2 Commits
b1558bd9fa
...
fccf33d953
Author | SHA1 | Date |
---|---|---|
186526 | fccf33d953 | |
186526 | f199ef7f33 |
|
@ -8,7 +8,7 @@ jobs:
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [14.x, 16.x, 18.x]
|
node-version: [18.x, 20.x]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "handlers.js",
|
"name": "handlers.js",
|
||||||
"description": "Handlers.js is a unified and lightweight web application framework for multiple platforms.",
|
"description": "Handlers.js is a unified and lightweight web application framework for multiple platforms.",
|
||||||
"version": "0.1.1",
|
"version": "0.1.1-2",
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"webpack": "./dist/index.js",
|
"webpack": "./dist/index.js",
|
||||||
"browser": "./dist/main.serviceworker.js",
|
"browser": "./dist/main.serviceworker.js",
|
||||||
|
@ -62,7 +62,7 @@
|
||||||
"prepublish": "env NODE_ENV=production yarn build && yarn tsc"
|
"prepublish": "env NODE_ENV=production yarn build && yarn tsc"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=14.0.0"
|
"node": ">=18.0.0"
|
||||||
},
|
},
|
||||||
"type": "module"
|
"type": "module"
|
||||||
}
|
}
|
|
@ -35,6 +35,7 @@ export class handler<RequestCustomType, ResponseCustomType> {
|
||||||
responseMessage = thisResponse;
|
responseMessage = thisResponse;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return responseMessage;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue