parent
a135007f35
commit
9a7421c4af
8
index.js
8
index.js
|
@ -23,12 +23,14 @@ import Cors from './middleware/cors.js'
|
|||
function hideProperty(host, name, value) {
|
||||
Object.defineProperty(host, name, {
|
||||
value: value,
|
||||
writable: true,
|
||||
enumerable: false,
|
||||
configurable: true
|
||||
enumerable: false
|
||||
})
|
||||
}
|
||||
|
||||
process.on('uncaughtException', err => {
|
||||
console.error('UncaughtException: ', err)
|
||||
})
|
||||
|
||||
export default class Five {
|
||||
constructor() {
|
||||
hideProperty(this, '__FIVE__', config)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@gm5/core",
|
||||
"version": "1.1.2",
|
||||
"version": "1.1.3",
|
||||
"type": "module",
|
||||
"description": "Five.js, 一个轻量级的nodejs mvc框架 旨在简单易用, 5分钟即可上手",
|
||||
"author": "yutent <yutent.io@gmail.com>",
|
||||
|
|
Loading…
Reference in New Issue