Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

subtext

Package Overview
Dependencies
Maintainers
5
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

subtext - npm Package Compare versions

Comparing version 6.0.11 to 6.0.12

CHANGELOG.md

7

lib/index.js
'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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc