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

sales-tax

Package Overview
Dependencies
Maintainers
0
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sales-tax - npm Package Compare versions

Comparing version

to
2.16.0

6

CHANGELOG.md
Changelog
=========
## 2.16.0 (2024-09-18)
### Bug Fixes
* Switched from `node-fetch` to `cross-fetch` to address an incompatible dependency issue starting in NodeJS 22 [[@mlecoq](https://github.com/mlecoq), [#67](https://github.com/valeriansaliou/node-sales-tax/pull/67)].
## 2.15.0 (2024-09-02)

@@ -5,0 +11,0 @@

2

lib/sales_tax.js

@@ -12,3 +12,3 @@ /*

var fetch = require("node-fetch").default;
var fetch = require('cross-fetch');
var check_fraud_eu_vat = require("validate-vat");

@@ -15,0 +15,0 @@ var validate_eu_vat = require("jsvat");

{
"name": "sales-tax",
"description": "International sales tax calculator for Node (offline, but provides optional online VAT number fraud check). Tax rates are kept up-to-date.",
"version": "2.15.0",
"version": "2.16.0",
"homepage": "https://github.com/valeriansaliou/node-sales-tax",

@@ -34,3 +34,3 @@ "license": "MIT",

"dependencies": {
"node-fetch": "2.6.12",
"cross-fetch": "4.0.0",
"validate-vat": "0.9.0",

@@ -37,0 +37,0 @@ "jsvat": "2.5.3",