ember-inflector
Advanced tools
Comparing version 1.3.1 to 1.5.0
{ | ||
"name": "ember-inflector", | ||
"version": "1.3.1", | ||
"keywords": [ | ||
"ember-addon" | ||
], | ||
"devDependencies": { | ||
"bower": "^1.3.8", | ||
"broccoli": "^0.12.3", | ||
"broccoli-concat": "0.0.7", | ||
"broccoli-env": "0.0.1", | ||
"broccoli-es3-safe-recast": "0.0.8", | ||
"broccoli-es6-module-transpiler": "^0.5.0", | ||
"broccoli-file-mover": "^0.4.0", | ||
"broccoli-file-remover": "^0.2.2", | ||
"broccoli-jshint": "^0.5.3", | ||
"broccoli-merge-trees": "^0.1.4", | ||
"broccoli-static-compiler": "^0.2.1", | ||
"broccoli-transform": "^0.1.1", | ||
"broccoli-uglify-js": "^0.1.3", | ||
"broccoli-wrap": "0.0.2", | ||
"ember-cli": "^0.1.3", | ||
"es6-module-transpiler": "^0.9.5", | ||
"es6-module-transpiler-package-resolver": "^1.0.1", | ||
"matchdep": "^0.3.0", | ||
"testem": "^0.6.17" | ||
"version": "1.5.0", | ||
"description": "ember-inflector goal is to be rails compatible.", | ||
"directories": { | ||
"doc": "doc", | ||
"test": "tests" | ||
}, | ||
"scripts": { | ||
"start": "ember s", | ||
"bower": "bower install", | ||
"start": "ember server", | ||
"build": "ember build", | ||
"test": "testem ci -R dot" | ||
"test": "ember test" | ||
}, | ||
"repository": "", | ||
"engines": { | ||
"node": ">= 0.10.0" | ||
}, | ||
"author": "Stefan Penner, Manuel Wiedenmann and Trace Wax", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"broccoli-asset-rev": "^2.0.0", | ||
"ember-cli": "0.2.0", | ||
"ember-cli-app-version": "0.3.2", | ||
"ember-cli-babel": "^4.0.0", | ||
"ember-cli-content-security-policy": "0.3.0", | ||
"ember-cli-dependency-checker": "0.0.8", | ||
"ember-cli-htmlbars": "0.7.4", | ||
"ember-cli-ic-ajax": "0.1.1", | ||
"ember-cli-inject-live-reload": "^1.3.0", | ||
"ember-cli-qunit": "0.3.9", | ||
"ember-cli-uglify": "1.0.1", | ||
"ember-data": "1.0.0-beta.15", | ||
"ember-export-application-global": "^1.0.2" | ||
}, | ||
"keywords": [ | ||
"ember-addon" | ||
], | ||
"main": "addon/index.js", | ||
"ember-addon": { | ||
"main": "lib/ember-addon/index.js" | ||
"configPath": "tests/dummy/config" | ||
} | ||
} |
# Ember Inflector [![Build Status](https://travis-ci.org/stefanpenner/ember-inflector.png?branch=master)](https://travis-ci.org/stefanpenner/ember-inflector) | ||
Ember Inflector is a library for inflecting words between plural and singular forms. Ember Inflector aims to be compatible with [ActiveSupport::Inflector](http://api.rubyonrails.org/classes/ActiveSupport/Inflector.htm) from Ruby on Rails, including the ability to add your own inflections in your app. | ||
Ember Inflector is a library for inflecting words between plural and singular forms. Ember Inflector aims to be compatible with [ActiveSupport::Inflector](http://api.rubyonrails.org/classes/ActiveSupport/Inflector.html) from Ruby on Rails, including the ability to add your own inflections in your app. | ||
@@ -9,8 +9,6 @@ ## Installation | ||
`npm install --save ember-inflector` | ||
``` | ||
npm install --save ember-inflector | ||
``` | ||
Bower: | ||
`bower install --save ember-inflector` | ||
## Usage | ||
@@ -24,2 +22,5 @@ | ||
Inflector.inflector.singularize("tacos"); // taco | ||
Inflector.inflector.pluralize("taco"); // tacos | ||
singularize("tacos"); // taco | ||
@@ -29,3 +30,3 @@ pluralize("taco"); // tacos | ||
// or if not using Ember CLI/ES6 | ||
Ember.Inflector.pluralize("taco"); // taco | ||
Ember.Inflector.inflector.pluralize("taco"); // tacos | ||
``` |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
13
1
30
1
17089
14
481
2