File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 9
9
"use strict" ;
10
10
11
11
12
- var fetch = require ( "node-fetch" ) . default ;
13
12
var check_fraud_eu_vat = require ( "validate-vat" ) ;
14
13
var validate_eu_vat = require ( "jsvat" ) ;
15
14
var validate_us_vat = require ( "ein-validator" ) ;
15
+ var fetch = require ( 'cross-fetch' ) ;
16
16
17
17
var regex_whitespace = / \s / g;
18
18
var regex_eu_vat = / ^ ( [ A - Z ] { 2 } ) ( .+ ) $ / ;
Original file line number Diff line number Diff line change 25
25
"main" : " lib/sales_tax.js" ,
26
26
"types" : " types/sales_tax.d.ts" ,
27
27
"engines" : {
28
- "node" : " >= 6.4.0 "
28
+ "node" : " >= 14 "
29
29
},
30
30
"scripts" : {
31
31
"test" : " check-build && tsc && istanbul cover _mocha"
32
32
},
33
33
"dependencies" : {
34
- "node -fetch" : " 2.6.12 " ,
34
+ "cross -fetch" : " 4.0.0 " ,
35
35
"validate-vat" : " 0.9.0" ,
36
36
"jsvat" : " 2.5.3" ,
37
37
"ein-validator" : " 1.0.1"
You can’t perform that action at this time.
0 commit comments