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

pactum

Package Overview
Dependencies
Maintainers
1
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pactum - npm Package Compare versions

Comparing version 3.2.0 to 3.2.1

4

package.json
{
"name": "pactum",
"version": "3.2.0",
"version": "3.2.1",
"description": "REST API Testing Tool for all levels in a Test Pyramid",

@@ -70,3 +70,3 @@ "main": "./src/index.js",

"openapi-fuzzer-core": "^1.0.6",
"pactum-matchers": "^1.1.2",
"pactum-matchers": "^1.1.3",
"parse-graphql": "^1.0.0",

@@ -73,0 +73,0 @@ "phin": "^3.6.0",

@@ -72,2 +72,8 @@ <span align="center">

or you can simply use
```bash
npx pactum-init
```
![----------](https://raw.githubusercontent.com/pactumjs/pactum/master/assets/rainbow.png)

@@ -74,0 +80,0 @@

@@ -106,3 +106,4 @@ const override = require('deep-override');

const handlerFun = handler.getDataFuncHandler(handlerName);
values.push(handlerFun({ args: _args.length > 0 ? _args[0].split(',') : _args }));
const handler_data = handlerFun({ args: _args.length > 0 ? _args[0].split(',') : _args });
values.push(this.processDataRefs(handler_data));
}

@@ -109,0 +110,0 @@ if (refType === 'S') {

@@ -404,2 +404,10 @@ import { RequestOptions, IncomingMessage } from 'http';

/**
* supports promise chaining and await syntax
*/
then(
onFulfilled: (value: any) => any,
onRejected: (reason: any) => any
): Promise<any>;
/**
* returns chai like assertions

@@ -406,0 +414,0 @@ * @see https://pactumjs.github.io/api/assertions/response.html

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