
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
ember-filter-image
Advanced tools
An ember-cli addon for cross-browser image filtering using SVG filters.
Just take me to the demo!
Just add the filter-image component to your template:
{{filter-image src="image.jpg" filters=filters}}
src should be pretty self-explanatory, and filters is an object containing the filter settings, e.g. (in your route):
setupController(controller) {
controller.set('filters', {
contrast: 1,
saturation: 1,
brightness: 0
})
}
By default, the rendered image will be scaled such that it is contained in the parent DOM element. If you'd prefer it to be cropped apply this:
{{filter-image src="image.jpg" filters=filters crop=true}}
If you don't want the aspect ratio to be locked, apply this:
{{filter-image src="image.jpg" filters=filters lockAspectRatio=false}}
| Name | Type | Default | Description |
|---|---|---|---|
| src | String | N/A | The source of the image |
| filters | Object | { saturation: 1, contrast: 1, brightness: 0 } | The values for the filters to apply |
| crop | Boolean | false | Whether to crop the image on scaling (this is obviously ignored if the aspect ratio is not locked) |
| lockAspectRatio | Boolean | true | Whether to lock the aspect ratio on scaling |
Because IE11 doesn't support them...
Adding more filters just a matter of implementing the respective filter function, though.
git clone <repository-url> this repositorycd ember-filter-imagenpm installbower installember servenpm test (Runs ember try:each to test your addon against multiple Ember versions)ember testember test --serverember buildFor more information on using ember-cli, visit http://ember-cli.com/.
FAQs
ember-cli addon for cross-browser image filtering
The npm package ember-filter-image receives a total of 0 weekly downloads. As such, ember-filter-image popularity was classified as not popular.
We found that ember-filter-image 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.

Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.

Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.