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

angular-jsvat

Package Overview
Dependencies
Maintainers
0
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-jsvat - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

.idea/material_theme_project_new.xml

1

build/tasks/gzip.js

@@ -10,3 +10,2 @@ "use strict";

gulp.task('gzip', function () {

@@ -13,0 +12,0 @@ return gulp.src(config.dest + '/**/*.min.js')

@@ -9,3 +9,2 @@ "use strict";

gulp.task('lint', function () {

@@ -12,0 +11,0 @@

@@ -8,3 +8,2 @@ "use strict";

gulp.task('magic_numbers', function () {

@@ -11,0 +10,0 @@

@@ -12,8 +12,6 @@ "use strict";

const beautify = require('gulp-beautify');
const ngWrap = require('../../src/template/wrap.js');
gulp.task('ng', function () {
const ngWrap = require('../../src/template/wrap.js');
return gulp.src(config.libs + '/jsvat/dist/jsvat.js')

@@ -20,0 +18,0 @@ .pipe(plumber({

"use strict";
const gulp = require('gulp');
const size = require('gulp-size');
gulp.task('sizes', function () {

@@ -9,0 +7,0 @@ return gulp.src([

{
"name": "angular-jsvat",
"version": "1.1.0",
"version": "1.1.1",
"description": "Check the validity of the format of an EU VAT number specified",

@@ -5,0 +5,0 @@ "main": "./dist/angular-jsvat.js",

@@ -0,3 +1,3 @@

# DEPRECATED: Please do not use
[![Codacy Badge](https://api.codacy.com/project/badge/grade/6e444e53a23c4b32aeaff09864446989)](https://www.codacy.com/app/se-panfilov/angular-jsvat)

@@ -17,3 +17,3 @@ [![bitHound Overall Score](https://www.bithound.io/github/se-panfilov/jsvat/badges/score.svg)](https://www.bithound.io/github/se-panfilov/angular-jsvat) [![bitHound Code](https://www.bithound.io/github/se-panfilov/jsvat/badges/code.svg)](https://www.bithound.io/github/se-panfilov/angular-jsvat)

Check the validity of the format of an EU VAT number. No dependencies.(except angularjs of course).
Check the validity of the format of an EU VAT number. No dependencies(except angularjs of course).

@@ -23,3 +23,3 @@ What is it?

Angular-js wrapper for [jsvat][2] (jsvat it's a core-logic for vat validation)
Angular-js wrapper for [jsvat][5] (jsvat it's a core-logic for vat validation)

@@ -31,3 +31,3 @@ angular-jsvat is a small library to check validity of European (and few non-eu) VAT number. ([learn more][1] about VAT)

For more details check [jsvat][2] repo.
For more details check [jsvat][5] repo.

@@ -37,7 +37,7 @@ What angular-jsvat do?

1. Provide `JsVatFactory` fcatory (just an angularjs wrapper for [jsvat][2])
1. Provide `JsVatFactory` facatory (just an angularjs wrapper for [jsvat][5])
Just check is VAT number valid or not and which country this VAT is:
```
```javascript
JsVatFactory.checkVAT('BG131134023'); // {isValid: true, country: 'bulgaria', value: 'BG131134023'}

@@ -51,3 +51,3 @@ JsVatFactory.checkVAT('BG0433170001'); //{isValid: false, country: null, value: 'BG0433170001'}

```
```javascript
JsVatFactory.config = ['austria', 'belgium']; //All countries except 'austria' and 'belgium' would return false

@@ -62,3 +62,3 @@ JsVatFactory.checkVAT('BG131134023'); //valid VAT, but result would be 'false'

```
```html
<input jsvat="result" type="text" ng-model="model">

@@ -84,3 +84,3 @@ ```

```
```javascript
angular.module('app', ['angular-jsvat'])

@@ -155,2 +155,13 @@ ```

## Legal Disclaimer
This project is provided "as is", without warranty of any kind. The authors and contributors disclaim all liability for any damages arising from its use, inability to use, or performance. Users are responsible for ensuring compliance with applicable laws and regulations in their jurisdiction, including but not limited to:
- European Union: Cyber Resilience Act (CRA) and Artificial Intelligence Act (AI Act)
- United States: Uniform Commercial Code (UCC) and Export Administration Regulations (EAR)
- China: Cybersecurity Law
- India: Information Technology Act
For details, see the full [DISCLAIMER.md](DISCLAIMER.md) file.
[1]: https://en.wikipedia.org/wiki/VAT_identification_number

@@ -157,0 +168,0 @@ [2]: https://se-panfilov.github.io/angular-jsvat

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