Comparing version 6.0.11 to 6.0.12
'use strict'; | ||
// Load modules | ||
const Fs = require('fs'); | ||
@@ -12,2 +10,3 @@ const Os = require('os'); | ||
const Boom = require('boom'); | ||
const Bourne = require('bourne'); | ||
const Content = require('content'); | ||
@@ -19,4 +18,2 @@ const Hoek = require('hoek'); | ||
// Declare internals | ||
const internals = { | ||
@@ -201,3 +198,3 @@ decoders: { | ||
try { | ||
return JSON.parse(payload.toString('utf8')); | ||
return Bourne.parse(payload.toString('utf8'), { protoAction: options.protoAction }); | ||
} | ||
@@ -204,0 +201,0 @@ catch (err) { |
{ | ||
"name": "subtext", | ||
"description": "HTTP payload parsing", | ||
"version": "6.0.11", | ||
"version": "6.0.12", | ||
"repository": "git://github.com/hapijs/subtext", | ||
@@ -16,2 +16,3 @@ "main": "lib/index.js", | ||
"boom": "7.x.x", | ||
"bourne": "1.x.x", | ||
"content": "4.x.x", | ||
@@ -25,3 +26,3 @@ "hoek": "6.x.x", | ||
"form-data": "2.1.x", | ||
"lab": "17.x.x" | ||
"lab": "18.x.x" | ||
}, | ||
@@ -28,0 +29,0 @@ "scripts": { |
@@ -7,3 +7,3 @@ # subtext | ||
Lead Maintainer: [John Brett](https://github.com/johnbrett) | ||
Lead Maintainer: [Eran Hammer](https://github.com/hueniverse) | ||
@@ -10,0 +10,0 @@ `subtext` parses the request body and returns it in a promise. |
Sorry, the diff of this file is not supported yet
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
14276
6
6
293
+ Addedbourne@1.x.x