underscore.inflection
Advanced tools
Comparing version 1.2.0 to 1.3.0
{ | ||
"name": "underscore.inflection", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"dependencies": { | ||
"underscore": "~1.7.0" | ||
"underscore": "~1.8.3" | ||
}, | ||
"main" : "lib/underscore.inflection.js", | ||
"ignore" : [ | ||
"spec" | ||
"lib-cov", | ||
"test" | ||
] | ||
} |
@@ -11,6 +11,4 @@ // Underscore.inflection.js | ||
define(['underscore'], factory); | ||
} else if (typeof exports === 'object') { | ||
// Node. Does not work with strict CommonJS, but | ||
// only CommonJS-like environments that support module.exports, | ||
// like Node. | ||
} else if (typeof require === 'function' && typeof exports === 'object') { | ||
// CommonJS | ||
module.exports = factory(require('underscore')); | ||
@@ -66,5 +64,3 @@ } else { | ||
result = (includeNumber) ? [count, result].join(' ') : result; | ||
} | ||
else | ||
{ | ||
} else { | ||
if (_(uncountables).include(word)) { | ||
@@ -71,0 +67,0 @@ return word; |
{ | ||
"name": "underscore.inflection", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "ActiveSupport::Inflector, for underscore!", | ||
@@ -37,14 +37,14 @@ "main": "index.js", | ||
"devDependencies": { | ||
"chai": "~1.9.1", | ||
"coveralls": "~2.11.1", | ||
"gulp": "~3.8.6", | ||
"gulp-contribs": "0.0.2", | ||
"chai": "~2.3.0", | ||
"coveralls": "~2.11.2", | ||
"gulp": "~3.8.11", | ||
"gulp-contribs": "~0.0.2", | ||
"gulp-jscoverage": "~0.1.0", | ||
"gulp-jscs": "~0.6.0", | ||
"jscoverage": "~0.5.5", | ||
"mocha": "^1.21.4", | ||
"mocha-lcov-reporter": "0.0.1", | ||
"underscore": "~1.7.0" | ||
"gulp-jscs": "~1.6.0", | ||
"jscoverage": "~0.5.9", | ||
"mocha": "~2.2.5", | ||
"mocha-lcov-reporter": "~0.0.2", | ||
"underscore": "~1.8.3" | ||
}, | ||
"dependencies": {} | ||
} |
@@ -174,11 +174,14 @@ ## underscore.inflection | ||
``` | ||
45 Jeremy Ruppel | ||
54 Jeremy Ruppel | ||
7 Landon Schropp | ||
2 Johnathon Sanders | ||
2 Seggy Umboh | ||
2 Johnathon Sanders | ||
1 Shane Riley | ||
1 bramski | ||
1 maratfakhreev | ||
1 Dayton Nolan | ||
1 trevor | ||
1 Joseph Spens | ||
1 Shane Riley | ||
1 bramski | ||
1 Kris Neuharth | ||
1 Sam Dornan | ||
``` | ||
@@ -185,0 +188,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
31281
26
559
203