mirror of
https://github.com/186526/handlers.js
synced 2024-10-13 00:29:43 +00:00
Compare commits
2 Commits
v0.1.1
...
fccf33d953
| Author | SHA1 | Date | |
|---|---|---|---|
|
fccf33d953
|
|||
|
f199ef7f33
|
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user