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

@radio-retail/api-client

Package Overview
Dependencies
Maintainers
3
Versions
217
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@radio-retail/api-client - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

9

dist/utils/crud.js

@@ -40,7 +40,6 @@ const getData = require('../utils/get-raw-data');

patch(id, body = {}, prevConfig = {}, extractNestedData = true) {
const config = {
headers: {
'Content-Type': 'application/merge-patch+json'
},
...prevConfig
const config = { ...prevConfig,
headers: { ...(prevConfig.headers || {}),
'Content-Type': prevConfig.type === 'json' ? 'application/json-patch+json' : 'application/merge-patch+json'
}
};

@@ -47,0 +46,0 @@ return instance.patch(`${baseRoute}/${id}`, body, config).then(getData(!extractNestedData));

{
"name": "@radio-retail/api-client",
"description": "Radio Retail API client",
"version": "2.0.1",
"version": "2.0.2",
"main": "dist/index.js",

@@ -6,0 +6,0 @@ "scripts": {

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