New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

api-testing

Package Overview
Dependencies
Maintainers
23
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

api-testing - npm Package Compare versions

Comparing version 1.5.0 to 1.5.1

10

lib/REST.js

@@ -44,3 +44,3 @@ 'use strict';

*/
async request(endpoint, method, params = {}, headers = {}) {
request(endpoint, method, params = {}, headers = {}) {
let req;

@@ -92,3 +92,3 @@ endpoint = this.pathPrefix + endpoint;

*/
async get(endpoint, params = {}, headers = {}) {
get(endpoint, params = {}, headers = {}) {
return this.request(endpoint, 'GET', params, headers);

@@ -106,3 +106,3 @@ }

*/
async post(endpoint, params = {}, headers = {}) {
post(endpoint, params = {}, headers = {}) {
const updatedHeaders = this._objectKeysToLowerCase(headers);

@@ -121,3 +121,3 @@ return this.request(endpoint, 'POST', params, Object.assign({ 'content-type': 'application/json' }, updatedHeaders));

*/
async put(endpoint, params = {}, headers = {}) {
put(endpoint, params = {}, headers = {}) {
const updatedHeaders = this._objectKeysToLowerCase(headers);

@@ -136,3 +136,3 @@ return this.request(endpoint, 'PUT', params, Object.assign({ 'content-type': 'application/json' }, updatedHeaders));

*/
async del(endpoint, params = {}, headers = {}) {
del(endpoint, params = {}, headers = {}) {
return this.request(endpoint, 'DELETE', params, headers);

@@ -139,0 +139,0 @@ }

{
"name": "api-testing",
"version": "1.5.0",
"version": "1.5.1",
"description": "",

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

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