Skip to content

Commit

Permalink
Fix length check (resolves #1)
Browse files Browse the repository at this point in the history
  • Loading branch information
kgryte committed Mar 29, 2016
1 parent 81fafeb commit 293c696
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 8 deletions.
9 changes: 6 additions & 3 deletions .travis.yml
@@ -1,10 +1,13 @@
language: node_js
node_js:
- 'stable'
- '5'
- '4'
- '3'
- '2'
- '1'
- '0.12'
- '0.11'
- '0.10'
- '0.8'
- 'iojs'
before_install:
- npm update -g npm
after_script:
Expand Down
4 changes: 2 additions & 2 deletions LICENSE
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2015 Athan Reines.
Copyright (c) 2015-2016 Athan Reines.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -116,7 +116,7 @@ $ make view-cov

## Copyright

Copyright © 2015. Athan Reines.
Copyright © 2015-2016. Athan Reines.


[npm-image]: http://img.shields.io/npm/v/validate.io-typed-array-like.svg
Expand Down
2 changes: 1 addition & 1 deletion lib/index.js
Expand Up @@ -7,7 +7,7 @@ var isInteger = require( 'validate.io-integer-primitive' );

// CONSTANTS //

var MAX = require( 'compute-const-max-safe-integer' );
var MAX = require( 'const-max-uint32' );


// IS TYPED-ARRAY-LIKE //
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -42,7 +42,7 @@
"url": "https://github.com/validate-io/typed-array-like/issues"
},
"dependencies": {
"compute-const-max-safe-integer": "^1.0.0",
"const-max-uint32": "^1.0.2",
"validate.io-integer-primitive": "^1.0.0"
},
"devDependencies": {
Expand Down

0 comments on commit 293c696

Please sign in to comment.