Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cleaner node modules and node 0.10 recognition #100

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 4 additions & 2 deletions .npmignore
@@ -1,4 +1,6 @@
src/
todo
.git*
.project
.*
test
examples
scripts
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -31,15 +31,15 @@
"url": "git://github.com/pekim/tedious.git"
},
"engines": {
"node": "0.6 || 0.7 || 0.8 || 0.9"
"node": "0.6 || 0.7 || 0.8 || 0.9 || 0.10"
},
"dependencies": {
"async": "0.2.6",
"iconv-lite": "0.2.7",
"sprintf": "0.1.1"
},
"devDependencies": {
"coffee-script": "1.6.2",
"async": "0.2.6",
"nodeunit": "0.8.0"
},
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions src/data-type.coffee
Expand Up @@ -288,7 +288,7 @@ TYPE =
if parameter.length
length = parameter.length
else if parameter.value?
length = parameter.value.toString().length
length = parameter.value.toString().length || 1
else if parameter.value is null
length = 1
else
Expand Down Expand Up @@ -348,7 +348,7 @@ TYPE =
if parameter.length
length = parameter.length
else if parameter.value?
length = parameter.value.toString().length
length = parameter.value.toString().length || 1
else if parameter.value is null
length = 1
else
Expand Down