Comparing version
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 @@ |
@@ -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", |
74058
0.34%+ Added
+ Added
+ Added
- Removed
- Removed