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

openapi-fuzzer-core

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openapi-fuzzer-core - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

2

package.json
{
"name": "openapi-fuzzer-core",
"version": "1.0.5",
"version": "1.0.6",
"description": "A library to generate random requests based on open-api specifications.",

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

@@ -204,6 +204,10 @@ const { klona } = require("klona");

fuzzStringParam(parameter, nonPrimitives) {
let values = [];
if (nonPrimitives) {
return [10, true, {}, null, []];
values = values.concat([10, true, {}, null, []]);
}
return [];
if (parameter.minLength > 0) {
values.push('');
}
return values;
}

@@ -210,0 +214,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