Skip to content

Commit

Permalink
Merge pull request #103 from seegno/support/update-dependencies
Browse files Browse the repository at this point in the history
Update dependencies
  • Loading branch information
ruimarinho committed Apr 24, 2016
2 parents 8ef0abd + 19dda35 commit b787895
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,26 +49,26 @@
},
"devDependencies": {
"abavalidator": "^2.0.1",
"babel-cli": "^6.6.5",
"babel-eslint": "^6.0.2",
"babel-cli": "^6.7.7",
"babel-eslint": "^6.0.3",
"babel-plugin-add-module-exports": "^0.1.2",
"babel-preset-es2015-node4": "^2.1.0",
"babel-register": "^6.7.2",
"bignumber.js": "^2.3.0",
"creditcard": "^0.1.2",
"eslint": "^2.7.0",
"eslint": "^2.8.0",
"eslint-config-seegno": "^4.0.0",
"eslint-plugin-babel": "^3.0.0",
"eslint-plugin-sort-class-members": "^1.0.1",
"google-libphonenumber": "^1.0.16",
"google-libphonenumber": "^1.0.18",
"iban": "0.0.6",
"isoc": "0.0.1",
"isparta": "^4.0.0",
"jscs": "^2.11.0",
"jscs": "^3.0.3",
"jscs-config-seegno": "^2.0.0",
"mocha": "^2.3.4",
"moment": "^2.12.0",
"should": "^8.3.0",
"moment": "^2.13.0",
"should": "^8.3.1",
"sinon": "^1.15.4",
"tin-validator": "^1.0.0",
"uk-modulus-checking": "0.0.2",
Expand Down
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ import NullOrDate from './asserts/null-or-date-assert.js';
import NullOrString from './asserts/null-or-string-assert.js';
import Phone from './asserts/phone-assert.js';
import PlainObject from './asserts/plain-object-assert.js';
import UkModulusChecking from './asserts/uk-modulus-checking-assert.js';
import TaxpayerIdentificationNumber from './asserts/taxpayer-identification-number-assert.js';
import UkModulusChecking from './asserts/uk-modulus-checking-assert.js';
import Uri from './asserts/uri-assert.js';
import UsSubdivision from './asserts/us-subdivision-assert.js';
import UsZipCode from './asserts/us-zip-code-assert.js';
Expand Down Expand Up @@ -65,8 +65,8 @@ export default {
NullOrString,
Phone,
PlainObject,
UkModulusChecking,
TaxpayerIdentificationNumber,
UkModulusChecking,
Uri,
UsSubdivision,
UsZipCode,
Expand Down
4 changes: 2 additions & 2 deletions test/asserts/taxpayer-identification-number-assert_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
* Module dependencies.
*/

import { Assert as BaseAssert, Violation } from 'validator.js';
import TaxpayerIdentificationNumberAssert from '../../src/asserts/taxpayer-identification-number-assert';
import { Assert as BaseAssert, Violation } from 'validator.js';
import should from 'should';

/**
Expand All @@ -21,7 +21,7 @@ const Assert = BaseAssert.extend({

describe('TaxpayerIdentificationNumberAssert', () => {
it('should throw an error if the input value is not a string', () => {
[{}, []].forEach((choice) => {
[{}, []].forEach(choice => {
try {
new Assert().TaxpayerIdentificationNumber().validate(choice);

Expand Down
2 changes: 1 addition & 1 deletion test/index_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ describe('validator.js-asserts', () => {
'NullOrString',
'Phone',
'PlainObject',
'UkModulusChecking',
'TaxpayerIdentificationNumber',
'UkModulusChecking',
'Uri',
'UsSubdivision',
'UsZipCode',
Expand Down

0 comments on commit b787895

Please sign in to comment.