This commit is contained in:
parent
30cea142d1
commit
3d78001edf
@ -3,10 +3,6 @@ const nodeinfo = require('activitypub-express/pub/nodeinfo')
|
|||||||
module.exports = (app, client) => {
|
module.exports = (app, client) => {
|
||||||
const constant = require('./constant'),
|
const constant = require('./constant'),
|
||||||
zlib = require('zlib'),
|
zlib = require('zlib'),
|
||||||
{ chain } = require('stream-chain'),
|
|
||||||
{ parser } = require('stream-json'),
|
|
||||||
{ stringer } = require('stream-json/jsonl/Stringer'),
|
|
||||||
{ streamArray } = require('stream-json/streamers/StreamArray'),
|
|
||||||
clean = str => {
|
clean = str => {
|
||||||
return str.replace(/[\/\\^$+?()`'¡¿¨!"·%&=;,\|\[\]{}]+/gmi, '')
|
return str.replace(/[\/\\^$+?()`'¡¿¨!"·%&=;,\|\[\]{}]+/gmi, '')
|
||||||
}
|
}
|
||||||
|
@ -25,7 +25,6 @@
|
|||||||
"node-schedule": "^2.1.1",
|
"node-schedule": "^2.1.1",
|
||||||
"parcel": "^2.12.0",
|
"parcel": "^2.12.0",
|
||||||
"rotating-file-stream": "^3.2.5",
|
"rotating-file-stream": "^3.2.5",
|
||||||
"stream-json": "^1.8.0",
|
|
||||||
"swagger-jsdoc": "^6.2.8",
|
"swagger-jsdoc": "^6.2.8",
|
||||||
"swagger-ui-express": "^5.0.1"
|
"swagger-ui-express": "^5.0.1"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user