Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jsvat

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsvat - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

8

package.json
{
"name": "jsvat",
"version": "1.1.0",
"version": "1.1.1",
"description": "Check the validity of the format of an EU VAT number",

@@ -52,10 +52,10 @@ "main": "./dist/jsvat.js",

"gulp-todo": "^4.1.0",
"gulp-uglify": "^1.5.3",
"gulp-uglify": "^2.0.0",
"gulp-watch": "^4.3.5",
"gulp-webstandards": "^0.1.1",
"gulp-wrap": "^0.11.0",
"gulp-wrap": "^0.13.0",
"jshint": "^2.9.2",
"jshint-stylish": "^2.1.0",
"minimist": "^1.2.0",
"mocha": "^2.4.5",
"mocha": "^3.0.0",
"require-dir": "^0.3.0",

@@ -62,0 +62,0 @@ "run-sequence": "^1.1.5"

@@ -33,3 +33,3 @@ [![Codacy Badge](https://api.codacy.com/project/badge/grade/874e7dce623149e18807bdc0a02671c2)](https://www.codacy.com/app/se-panfilov/jsvat)

```
```javascript
jsvat.checkVAT('BG131134023'); // {isValid: true, country: 'bulgaria', value: 'BG131134023'}

@@ -43,6 +43,6 @@ jsvat.checkVAT('BG0433170001'); //{isValid: false, country: null, value: 'BG0433170001'}

```
```javascript
jsvat.config = ['austria', 'belgium']; //All countries except 'austria' and 'belgium' would return false
jsvat.checkVAT('BG131134023'); //valid VAT, but result would be 'false'
```
```

@@ -73,3 +73,3 @@ To reset config just do `jsvat.config = [];`

```
```javascript
jsvat.chcekVat(vat); //returns Object

@@ -76,0 +76,0 @@ ```

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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