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

amzn-papi

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amzn-papi - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

10

lib/api/itemLookup.js

@@ -60,5 +60,13 @@ var request = require('request');

responseParser: function(response) {
return response.ItemLookupResponse.Items[0].Item[0];
var base = response.ItemLookupResponse.Items[0];
// Common single item case.
if (typeof base.Item[1] === 'undefined') {
return base.Item[0];
}
// Multiple items.
return base.Item;
}
};

2

package.json
{
"name": "amzn-papi",
"version": "0.1.0",
"version": "0.1.1",
"description": "README.md",

@@ -5,0 +5,0 @@ "main": "./lib/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