Gathering detailed insights and metrics for ember-factory-for-polyfill
Gathering detailed insights and metrics for ember-factory-for-polyfill
Gathering detailed insights and metrics for ember-factory-for-polyfill
Gathering detailed insights and metrics for ember-factory-for-polyfill
npm install ember-factory-for-polyfill
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
2 Stars
62 Commits
4 Forks
5 Watching
2 Branches
8 Contributors
Updated on 28 Jan 2023
Minified
Minified + Gzipped
JavaScript (88.4%)
HTML (11.6%)
Cumulative downloads
Total Downloads
Last day
-6.9%
6,611
Compared to previous day
Last week
-1.3%
35,752
Compared to previous week
Last month
2%
155,661
Compared to previous month
Last year
-12.3%
2,944,767
Compared to previous year
1
20
This addon provides a best effort polyfill for the ember-factory-for
feature added in Ember 2.12.
Please review emberjs/rfcs#150 for more details.
1ember install ember-factory-for-polyfill
1import Ember from 'ember'; 2 3export default Ember.Service.extend({ 4 someMethod() { 5 let owner = Ember.getOwner(this); 6 let ValidatorFactory = owner.factoryFor('validator:post'); 7 let validator = ValidatorFactory.create(); 8 } 9});
After you upgrade your application to Ember 2.12, you should remove ember-factory-for-polyfill
from
your package.json
.
Addons generally support many different Ember versions, so leaving ember-factory-for-polyfill
in
place for consumers of your addon is perfectly normal. When the addon no longer supports Ember
versions older than 2.12, we recommend removing ember-factory-for-polyfill
from your package.json
and doing a major version bump.
This addon is tested against quite a few past Ember versions. Check config/ember-try.js
for the current list, but
the list of supported Ember versions at the time of authoring was:
For compatibility with older Ember versions prior to 2.3, please use ember-getowner-polyfill instead.
git clone <repository-url>
this repositorycd ember-factory-for-polyfill
npm install
ember serve
npm test
(Runs ember try:each
to test your addon against multiple Ember versions)ember test
ember test --server
ember build
For more information on using ember-cli, visit https://ember-cli.com/.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 2/21 approved changesets -- score normalized to 0
Reason
project is archived
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
108 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-18
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More