@node-steam/vdf
Advanced tools
Comparing version 2.0.1 to 2.1.0
@@ -52,3 +52,3 @@ "use strict"; | ||
} | ||
if (!isNaN(val)) | ||
if (val !== '' && !isNaN(val)) | ||
val = +val; | ||
@@ -55,0 +55,0 @@ if (val === 'true') |
{ | ||
"name": "@node-steam/vdf", | ||
"version": "2.0.1", | ||
"version": "2.1.0", | ||
"description": "Module to convert Valve's KeyValue format to JSON and back", | ||
@@ -32,3 +32,3 @@ "main": "lib/index.js", | ||
"engines": { | ||
"node": ">=6.0.0" | ||
"node": ">=8.0.0" | ||
}, | ||
@@ -38,3 +38,3 @@ "license": "MIT", | ||
"compile": "tsc -p .", | ||
"test": "yarn compile && ava", | ||
"test": "yarn compile && TS_NODE_PROJECT=test/tsconfig.json ava", | ||
"lint": "tslint -c tslint.json 'src/**/*.ts'", | ||
@@ -46,9 +46,6 @@ "docs": "typedoc src/index.ts", | ||
"files": [ | ||
"test/*.js", | ||
"test/**/*.js" | ||
"test/*.ts", | ||
"test/**/*.ts" | ||
], | ||
"source": [ | ||
"lib/*.js" | ||
], | ||
"concurrency": 5, | ||
"concurrency": 10, | ||
"verbose": true, | ||
@@ -58,16 +55,18 @@ "failFast": true, | ||
"powerAssert": false, | ||
"compileEnhancements": false, | ||
"extensions": [ | ||
"ts" | ||
], | ||
"require": [ | ||
"babel-register", | ||
"babel-polyfill" | ||
"ts-node/register", | ||
"tsconfig-paths/register" | ||
] | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^8.0.53", | ||
"app-module-path": "^2.2.0", | ||
"ava": "^0.24.0", | ||
"babel-core": "^6.26.0", | ||
"babel-polyfill": "^6.26.0", | ||
"babel-register": "^6.26.0", | ||
"typescript": "^2.6.1" | ||
"@types/node": "^12", | ||
"ava": "^2", | ||
"ts-node": "^8", | ||
"tsconfig-paths": "^3", | ||
"typescript": "^3" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10727
5