Gathering detailed insights and metrics for @embroider/addon-shim
Gathering detailed insights and metrics for @embroider/addon-shim
Gathering detailed insights and metrics for @embroider/addon-shim
Gathering detailed insights and metrics for @embroider/addon-shim
Compiling Ember apps into spec-compliant, modern Javascript.
npm install @embroider/addon-shim
Typescript
Module System
Min. Node Version
Node Version
NPM Version
91
Supply Chain
82.9
Quality
95
Maintenance
100
Vulnerability
97.9
License
v4.1.1-@embroider/core
Updated on Jun 24, 2025
v7.1.5-@embroider/addon-dev
Updated on Jun 18, 2025
v1.3.1-@embroider/template-tag-codemod
Updated on May 22, 2025
v1.1.5-@embroider/vite
Updated on May 20, 2025
v4.1.0-@embroider/compat
Updated on May 20, 2025
v4.0.4-@embroider/compat
Updated on May 20, 2025
TypeScript (93.82%)
JavaScript (5.44%)
HTML (0.69%)
CSS (0.03%)
Handlebars (0.02%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
351 Stars
5,847 Commits
152 Forks
27 Watchers
162 Branches
93 Contributors
Updated on Jul 07, 2025
Latest Version
1.10.0
Package Id
@embroider/addon-shim@1.10.0
Unpacked Size
40.52 kB
Size
9.76 kB
File Count
9
NPM Version
10.8.2
Node Version
20.14.0
Published on
Apr 03, 2025
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
Makes a v2 addon work like a v1 addon so it can be used in a classic (non-Embroider) app.
This allows addons to update to v2 without waiting for all their users to upgrade to Embroider.
ember install @embroider/addon-shim
To use it:
Be prepared to do a semver major release of your addon, because the shim demands that the app has ember-auto-import >= 2.
Create an addon-main.js
file that requires and invokes the shim:
1const { addonV1Shim } = require('@embroider/addon-shim'); 2module.exports = addonV1Shim(__dirname);
Update your package.json
to point at addon-main.js:
1{ 2 "ember-addon": { 3 "version": 2, 4 "type": "addon", 5 "main": "addon-main.js" 6 } 7}
disabled: this optional argument lets you control whether your shimmed addon will emit 'app-js'
and 'public-assets'
into non-embroider builds. Example:
1module.exports = addonV1Shim(__dirname, { 2 disabled(options) { 3 let welcomeConfig = options['ember-welcome-page'] || {}; 4 return process.env.EMBER_ENV === 'production' && !welcomeConfig.enabled; 5 }, 6});
This option only works in non-embroider builds. Under embroider, apps just won't import the parts of your addon they don't want.
See the top-level CONTRIBUTING.md in this monorepo.
This project is licensed under the MIT License.
No vulnerabilities found.
Reason
30 commit(s) and 13 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
packaging workflow detected
Details
Reason
Found 8/9 approved changesets -- score normalized to 8
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
20 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
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