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

@usebruno/js

Package Overview
Dependencies
Maintainers
0
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@usebruno/js - npm Package Compare versions

Comparing version 0.16.0 to 0.17.0

2

package.json
{
"name": "@usebruno/js",
"version": "0.16.0",
"version": "0.17.0",
"license": "MIT",

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

@@ -30,4 +30,13 @@ class BrunoResponse {

}
setBody(data) {
if (!this.res) {
return;
}
this.body = data;
this.res.data = data;
}
}
module.exports = BrunoResponse;

@@ -108,2 +108,8 @@ const { marshallToVm } = require('../utils');

let disableParsingResponseJson = vm.newFunction('disableParsingResponseJson', function () {
req.disableParsingResponseJson();
});
vm.setProp(reqObject, 'disableParsingResponseJson', disableParsingResponseJson);
disableParsingResponseJson.dispose();
vm.setProp(vm.global, 'req', reqObject);

@@ -110,0 +116,0 @@ reqObject.dispose();

@@ -28,2 +28,4 @@ const marshallToVm = (value, vm) => {

}
} else if (typeof value === 'function') {
return vm.newString('[Function (anonymous)]');
}

@@ -30,0 +32,0 @@ };

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