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

kubesail-shipping

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kubesail-shipping - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

2

allowedCountries.js
module.exports = [
// All EU countries are allowed - not in this list
'US',
'UK',
// 'GB', // Waiting on response from German distributor on how VAT in GB works
// TODO: North America
]

@@ -28,8 +28,8 @@ const countryVat = require('country-vat')

if (euMember(countryCode)) currency = 'EUR'
else if (countryCode === 'UK') currency = 'GBP'
else if (countryCode === 'GB') currency = 'GBP'
let shippingCost = 0
let shippingCost = [0]
if (['US', 'DE'].includes(countryCode)) {
// These countries get free shipping
shippingCost = 0
shippingCost = [0]
} else if (typeof shippingCosts[countryCode] !== 'undefined') {

@@ -36,0 +36,0 @@ shippingCost = shippingCostTable[shippingCosts[countryCode]]

{
"name": "kubesail-shipping",
"version": "1.0.7",
"version": "1.0.8",
"description": "KubeSail Shipping and Tax Cost logic",

@@ -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