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

@vodafoneuk/aim-mocking

Package Overview
Dependencies
Maintainers
6
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vodafoneuk/aim-mocking - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

6

dist/index.js

@@ -10,2 +10,4 @@ import bodyParser from 'body-parser';

import isEmpty from 'lodash/isEmpty.js';
import get from 'lodash/get.js';
import unset from 'lodash/unset.js';
import md5 from 'blueimp-md5';

@@ -299,5 +301,5 @@ import fs from 'fs';

for (const ignoredKey of hashIgnoredReqBodyKeys) {
if (typeof req.body[ignoredKey] !== "undefined") {
if (typeof get(req.body, ignoredKey) !== "undefined") {
logger.debug("cache").yarn.whisper(`delete body key: ${ignoredKey}`);
delete req.body[ignoredKey];
unset(req.body, ignoredKey);
}

@@ -304,0 +306,0 @@ }

{
"name": "@vodafoneuk/aim-mocking",
"version": "1.1.0",
"version": "1.1.1",
"description": "Api Interceptor Middleware - localized cache lib and middleware for dalmatian and other api calls",

@@ -73,3 +73,3 @@ "author": "Radoslaw Swiat",

},
"gitHead": "02ef0c30c69ae8aab7536a58852e03e4db56f9c7"
"gitHead": "69924bf80b42cbf414b89681a408fcfb5a9a2ab3"
}

@@ -186,3 +186,3 @@ <img width="165" height="45" src="https://upload.wikimedia.org/wikipedia/en/thumb/c/cc/Vodafone_2017_logo.svg/1280px-Vodafone_2017_logo.svg.png" alt="Vodafone">

ignoredPaths: [],
hashIgnoredReqBodyKeys: ['customerId', 'time'],
hashIgnoredReqBodyKeys: ['customerId', 'time', 'customer.name', 'customer.type'],
hashIgnoredReqQueryKeys: ['perpage'],

@@ -189,0 +189,0 @@ hashIgnoredReqPathPatterns: [],

Sorry, the diff of this file is not supported yet

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