From 3d78001edff46c5ba086f82982a22bbf5e08a61d Mon Sep 17 00:00:00 2001 From: ale Date: Mon, 23 Sep 2024 05:11:56 +0200 Subject: [PATCH] download index --- lib/apiswagger.js | 4 ---- package.json | 1 - 2 files changed, 5 deletions(-) diff --git a/lib/apiswagger.js b/lib/apiswagger.js index a888580..315b571 100644 --- a/lib/apiswagger.js +++ b/lib/apiswagger.js @@ -3,10 +3,6 @@ const nodeinfo = require('activitypub-express/pub/nodeinfo') module.exports = (app, client) => { const constant = require('./constant'), 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 => { return str.replace(/[\/\\^$+?()`'¡¿¨!"·%&=;,\|\[\]{}]+/gmi, '') } diff --git a/package.json b/package.json index fc2dfd4..0d05a9b 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,6 @@ "node-schedule": "^2.1.1", "parcel": "^2.12.0", "rotating-file-stream": "^3.2.5", - "stream-json": "^1.8.0", "swagger-jsdoc": "^6.2.8", "swagger-ui-express": "^5.0.1" }