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

@nrfcloud/bdd-feature-runner-aws

Package Overview
Dependencies
Maintainers
10
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nrfcloud/bdd-feature-runner-aws - npm Package Compare versions

Comparing version 2.6.0 to 2.6.1

9

dist/lib/rest-client.js

@@ -35,2 +35,6 @@ "use strict";

: undefined;
headers['Content-Type'] =
body != null && !passBinary && typeof body !== 'string'
? 'application/json'
: 'text/plain';
// Uncomment for debug

@@ -51,2 +55,3 @@ /* console.log(

const contentType = res.headers.get('content-type') || '', mediaType = contentType.split(';')[0];
const text = await res.text();
if (headers.Accept.indexOf(mediaType) < 0) {

@@ -70,4 +75,4 @@ throw new Error(`The content-type "${contentType}" of the response does not match accepted media-type ${headers.Accept}`);

? isJson
? await res.json()
: await res.blob()
? JSON.parse(text)
: Buffer.from(text)
: undefined,

@@ -74,0 +79,0 @@ };

{
"name": "@nrfcloud/bdd-feature-runner-aws",
"version": "2.6.0",
"version": "2.6.1",
"description": "BDD Test Runner for cloud native applications made with AWS.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is too big to display

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