+14
| language: node_js | ||
| node_js: | ||
| - "0.11" | ||
| - "0.10" | ||
| - "0.8" | ||
| branches: | ||
| only: | ||
| - master | ||
| notifications: | ||
| email: | ||
| - joaquim.serafim@gmail.com | ||
| script: npm test | ||
| before_install: | ||
| - npm install -g npm@~1.4.6 |
+2
-2
| var is = require('core-util-is'); | ||
| is.isJSON = require('is-json'); | ||
| is.isJSON = require('is-json').strict; | ||
@@ -18,6 +18,6 @@ | ||
| return this.isNull(op) ? 'null' : | ||
| this.isJSON(op) ? 'json' : | ||
| this.isBoolean(op) ? 'boolean' : | ||
| this.isNumber(op) ? 'number' : | ||
| this.isSymbol(op) ? 'symbol' : | ||
| this.isJSON(op) ? 'json' : | ||
| this.isString(op) ? 'string' : | ||
@@ -24,0 +24,0 @@ this.isUndefined(op) ? 'undefined' : 'unknown'; |
+2
-2
| { | ||
| "name": "get-type", | ||
| "version": "1.0.0", | ||
| "version": "1.1.0", | ||
| "description": "Get the type of a variable or one unevaluated operand", | ||
@@ -20,3 +20,3 @@ "main": "index.js", | ||
| "core-util-is": "^1.0.1", | ||
| "is-json": "^1.1.3" | ||
| "is-json": "^1.2.5" | ||
| }, | ||
@@ -23,0 +23,0 @@ "devDependencies": { |
5401
4.27%6
20%Updated