Socket
Socket
Sign inDemoInstall

@bizon/amazon-ids

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bizon/amazon-ids - npm Package Compare versions

Comparing version 1.1.1 to 1.2.0

2

index.js

@@ -12,3 +12,3 @@ const memoize = require('memoizee')

exports.getMarketplaceByCode = memoize(code => {
return marketplaces.find(marketplace => marketplace.code === code)
return marketplaces.find(marketplace => marketplace.code === code.toLowerCase())
})

@@ -15,0 +15,0 @@

{
"name": "@bizon/amazon-ids",
"version": "1.1.1",
"version": "1.2.0",
"description": "Collection of Amazon identifiers",

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

@@ -49,3 +49,3 @@ # amazon-ids [![CircleCI](https://circleci.com/gh/bizon/amazon-ids.svg?style=svg)](https://circleci.com/gh/bizon/amazon-ids)

console.log(getMarketplaceByCode('mx'))
console.log(getMarketplaceByCode('MX'))

@@ -63,3 +63,3 @@ /*

### `getMarketplaceById(id)`
### `getMarketplaceByDomain(domain)`

@@ -66,0 +66,0 @@ ```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