rest-easy-loki
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -29,2 +29,3 @@ "use strict"; | ||
const fs = __importStar(require("fs")); | ||
const zlib = __importStar(require("zlib")); | ||
const koa_1 = __importDefault(require("koa")); | ||
@@ -59,3 +60,9 @@ const koa_body_1 = __importDefault(require("koa-body")); | ||
// api.use(cors({ credentials: true })); | ||
api.use(koa_compress_1.default()); | ||
api.use(koa_compress_1.default({ | ||
br: { | ||
params: { | ||
[zlib.constants.BROTLI_PARAM_QUALITY]: 3, | ||
}, | ||
}, | ||
})); | ||
} | ||
@@ -62,0 +69,0 @@ const ss = config.io ? socket_service_1.createSocketService(api) : undefined; |
{ | ||
"name": "rest-easy-loki", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "A REST interface for lokijs supporting CRUD operations and automatic creation of new collections.", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
58032
1146