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.0 to 1.0.1

6

index.js
const countryVat = require('country-vat')
const isEuropean = require('is-european')
const { euMember } = require('is-european')
const shippingCosts = require('./shippingCosts')

@@ -18,3 +18,3 @@ const allowedCountries = require('./allowedCountries')

if (!countryCode) return false
if (isEuropean(countryCode)) return true
if (euMember(countryCode)) return true
if (allowedCountries.includes(countryCode)) return true

@@ -28,3 +28,3 @@ return false

let currency = 'DOLLAR'
if (isEuropean(countryCode)) currency = 'EURO'
if (euMember(countryCode)) currency = 'EURO'
else if (countryCode === 'UK') currency = 'POUND'

@@ -31,0 +31,0 @@

{
"name": "kubesail-shipping",
"version": "1.0.0",
"version": "1.0.1",
"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