
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
ember-cli-addon-aware-resolver
Advanced tools
Resolve paths within dependent packages, with additional awareness of:
Resolve paths within dependent packages, with additional awareness of:
yard add ember-cli-addon-aware-resolver
const resolveCliAware = require('ember-cli-addon-aware-resolver');
resolveCliAware('../foo', {
basedir: '/some/absolute/path'
}) // => /some/absolute/foo
// for an ember app at /some/absolute/path
resolveCliAware('my-ember-app-name/foo', {
basedir: '/some/absolute/path'
}) // => /some/absolute/path/app/foo
// with a v1 ember-addon configured as follows
{
"ember-addon": {
paths: ["./lib/my-in-repo-addon"]
}
}
resolveCliAware('my-in-repo-addon/some/path/in/addon', {
basedir: '/some/absolute/path'
}) // => /some/absolute/path/lib/my-in-repo-addon/addon/some/path/in/addon
resolveCliAware('my-dependency/some/path', {
basedir: '/path/to/project/some/nested/path',
// you can optionally pass pkg and pkgRoot for resolving package dependencies
// if these are absent, package.json will be found by walking up the tree
// from basedir
pkg: myAlreadyReadPackageJson,
pkgRoot: '/path/to/project'
}) // => /some/absolute/foo
try {
resolveCliAware('non-existant-package', {
basedir: '/some/absolute/path'
});
} catch (e) {
e.code // => "MODULE_NOT_FOUND"
}
Non-ember npm dependencies are not supported. It is assumed all resolutions one of:
No support for app namespace merging: so files in an addon's app directory will not be resolved. Similarly, ${my-addon}/test-support will not be resolved as being merged to ${my-app}/tests.
No support for path conflict resolution. This is unlikely to affect anybody, but if you have an Ember app with my-app/app/tests/foo, my-app/tests/foo will not resolve to this file, but instead only look for my-app/tests/foo
No support for customized this.treePaths in addons.
"main" imports are not supported (i.e. imports without paths)
FAQs
Resolve paths within dependent packages, with additional awareness of:
The npm package ember-cli-addon-aware-resolver receives a total of 2 weekly downloads. As such, ember-cli-addon-aware-resolver popularity was classified as not popular.
We found that ember-cli-addon-aware-resolver demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.