@neo-one/http
Advanced tools
Comparing version 1.0.0-preview.2 to 1.0.0-preview.3
{ | ||
"name": "@neo-one/http", | ||
"version": "1.0.0-preview.2", | ||
"version": "1.0.0-preview.3", | ||
"author": "Alex DiCarlo <alexdicarlo@gmail.com>", | ||
@@ -22,10 +22,9 @@ "description": "NEO•ONE http utilities.", | ||
"dependencies": { | ||
"@neo-one/monitor": "^1.0.0-preview.2", | ||
"@neo-one/types": "^1.0.0-preview.2", | ||
"@neo-one/utils": "^1.0.0-preview.2", | ||
"@types/koa-better-body": "^3.0.0", | ||
"@neo-one/monitor": "^1.0.0-preview.3", | ||
"@neo-one/types": "^1.0.0-preview.3", | ||
"@neo-one/utils": "^1.0.0-preview.3", | ||
"@types/koa-convert": "^1.2.1", | ||
"@types/koa-cors": "^0.0.0", | ||
"koa": "^2.6.1", | ||
"koa-better-body": "^3.0.4", | ||
"koa-bodyparser": "^4.2.1", | ||
"koa-convert": "^1.2.0", | ||
@@ -32,0 +31,0 @@ "koa-cors": "^0.0.16", |
@@ -6,3 +6,3 @@ # NEO•ONE | ||
[![codecov](https://codecov.io/gh/neo-one-suite/neo-one/branch/master/graph/badge.svg)](https://codecov.io/gh/neo-one-suite/neo-one) | ||
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://neo-one.io/docs/en/contributing.html) | ||
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://neo-one.io/docs/how-to-contribute) | ||
[![DeepScan grade](https://deepscan.io/api/projects/1846/branches/8291/badge/grade.svg)](https://deepscan.io/dashboard#view=project&pid=1846&bid=8291) | ||
@@ -15,3 +15,3 @@ [![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/1639/badge)](https://bestpractices.coreinfrastructure.org/projects/1639) | ||
Welcome to the NEO•ONE community! We're always looking for more contributors and are happy to have you. Documentation on how to contribute can be found [here](https://neo-one.io/docs/en/contributing.html). | ||
Welcome to the NEO•ONE community! We're always looking for more contributors and are happy to have you. Documentation on how to contribute can be found [here](https://neo-one.io/docs/how-to-contribute). | ||
@@ -18,0 +18,0 @@ ## Contributors |
@@ -5,11 +5,10 @@ "use strict"; | ||
// tslint:disable-next-line:match-default-export-name | ||
const koa_better_body_1 = tslib_1.__importDefault(require("koa-better-body")); | ||
const koa_bodyparser_1 = tslib_1.__importDefault(require("koa-bodyparser")); | ||
const koa_convert_1 = tslib_1.__importDefault(require("koa-convert")); | ||
exports.bodyParser = () => koa_convert_1.default(koa_better_body_1.default({ | ||
exports.bodyParser = () => koa_convert_1.default(koa_bodyparser_1.default({ | ||
textLimit: '100mb', | ||
formLimit: '100mb', | ||
jsonLimit: '100mb', | ||
bufferLimit: '100mb', | ||
})); | ||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImJvZHlQYXJzZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEscURBQXFEO0FBQ3JELDhFQUFtQztBQUNuQyxzRUFBa0M7QUFFckIsUUFBQSxVQUFVLEdBQUcsR0FBRyxFQUFFLENBQzdCLHFCQUFPLENBQ0wseUJBQUksQ0FBQztJQUNILFNBQVMsRUFBRSxPQUFPO0lBQ2xCLFNBQVMsRUFBRSxPQUFPO0lBQ2xCLFNBQVMsRUFBRSxPQUFPO0lBQ2xCLFdBQVcsRUFBRSxPQUFPO0NBQ3JCLENBQUMsQ0FDSCxDQUFDIiwiZmlsZSI6Im5lby1vbmUtaHR0cC9zcmMvYm9keVBhcnNlci5qcyIsInNvdXJjZXNDb250ZW50IjpbIi8vIHRzbGludDpkaXNhYmxlLW5leHQtbGluZTptYXRjaC1kZWZhdWx0LWV4cG9ydC1uYW1lXG5pbXBvcnQgYm9keSBmcm9tICdrb2EtYmV0dGVyLWJvZHknO1xuaW1wb3J0IGNvbnZlcnQgZnJvbSAna29hLWNvbnZlcnQnO1xuXG5leHBvcnQgY29uc3QgYm9keVBhcnNlciA9ICgpID0+XG4gIGNvbnZlcnQoXG4gICAgYm9keSh7XG4gICAgICB0ZXh0TGltaXQ6ICcxMDBtYicsXG4gICAgICBmb3JtTGltaXQ6ICcxMDBtYicsXG4gICAgICBqc29uTGltaXQ6ICcxMDBtYicsXG4gICAgICBidWZmZXJMaW1pdDogJzEwMG1iJyxcbiAgICB9KSxcbiAgKTtcbiJdfQ== | ||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImJvZHlQYXJzZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEscURBQXFEO0FBQ3JELDRFQUFrQztBQUNsQyxzRUFBa0M7QUFFckIsUUFBQSxVQUFVLEdBQUcsR0FBRyxFQUFFLENBQzdCLHFCQUFPLENBQ0wsd0JBQUksQ0FBQztJQUNILFNBQVMsRUFBRSxPQUFPO0lBQ2xCLFNBQVMsRUFBRSxPQUFPO0lBQ2xCLFNBQVMsRUFBRSxPQUFPO0NBQ25CLENBQUMsQ0FDSCxDQUFDIiwiZmlsZSI6Im5lby1vbmUtaHR0cC9zcmMvYm9keVBhcnNlci5qcyIsInNvdXJjZXNDb250ZW50IjpbIi8vIHRzbGludDpkaXNhYmxlLW5leHQtbGluZTptYXRjaC1kZWZhdWx0LWV4cG9ydC1uYW1lXG5pbXBvcnQgYm9keSBmcm9tICdrb2EtYm9keXBhcnNlcic7XG5pbXBvcnQgY29udmVydCBmcm9tICdrb2EtY29udmVydCc7XG5cbmV4cG9ydCBjb25zdCBib2R5UGFyc2VyID0gKCkgPT5cbiAgY29udmVydChcbiAgICBib2R5KHtcbiAgICAgIHRleHRMaW1pdDogJzEwMG1iJyxcbiAgICAgIGZvcm1MaW1pdDogJzEwMG1iJyxcbiAgICAgIGpzb25MaW1pdDogJzEwMG1iJyxcbiAgICB9KSxcbiAgKTtcbiJdfQ== |
// tslint:disable-next-line:match-default-export-name | ||
import body from 'koa-better-body'; | ||
import body from 'koa-bodyparser'; | ||
import convert from 'koa-convert'; | ||
@@ -11,4 +11,3 @@ | ||
jsonLimit: '100mb', | ||
bufferLimit: '100mb', | ||
}), | ||
); |
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
11
34627
424
+ Addedkoa-bodyparser@^4.2.1
+ Added@hapi/bourne@3.0.0(transitive)
+ Addedbytes@3.1.2(transitive)
+ Addedcall-bind@1.0.7(transitive)
+ Addedco-body@6.2.0(transitive)
+ Addedcopy-to@2.0.1(transitive)
+ Addeddefine-data-property@1.1.4(transitive)
+ Addedes-define-property@1.0.0(transitive)
+ Addedes-errors@1.3.0(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedget-intrinsic@1.2.4(transitive)
+ Addedgopd@1.0.1(transitive)
+ Addedhas-property-descriptors@1.0.2(transitive)
+ Addedhas-proto@1.0.3(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedhttp-errors@2.0.0(transitive)
+ Addediconv-lite@0.4.24(transitive)
+ Addedinflation@2.1.0(transitive)
+ Addedkoa-bodyparser@4.4.1(transitive)
+ Addedobject-inspect@1.13.3(transitive)
+ Addedqs@6.13.1(transitive)
+ Addedraw-body@2.5.2(transitive)
+ Addedsafer-buffer@2.1.2(transitive)
+ Addedset-function-length@1.2.2(transitive)
+ Addedside-channel@1.0.6(transitive)
+ Addedstatuses@2.0.1(transitive)
+ Addedunpipe@1.0.0(transitive)
- Removed@types/koa-better-body@^3.0.0
- Removedkoa-better-body@^3.0.4
- Removed@types/formidable@3.4.5(transitive)
- Removed@types/koa-better-body@3.3.7(transitive)
- Removedassign-symbols@1.0.0(transitive)
- Removedextend-shallow@3.0.2(transitive)
- Removedformidable@1.2.6(transitive)
- Removedis-extendable@1.0.1(transitive)
- Removedis-plain-object@2.0.4(transitive)
- Removedisobject@3.0.1(transitive)
- Removedkoa-better-body@3.3.9(transitive)