Socket
Socket
Sign inDemoInstall

ember-css-url

Package Overview
Dependencies
57
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ember-css-url

A helper for safely embedding URLs in style properties


Version published
Weekly downloads
2.1K
decreased by-1.73%
Maintainers
1
Install size
3.67 MB
Created
Weekly downloads
 

Changelog

Source

v1.0.0 (2022-07-06)

Breaking change is only due to:

  • dropping old Node versions
  • dropping old Ember versions (minimum is now 3.16)
  • requiring ember-auto-import 2 or Embroider
:house: Internal
  • #3 Updates to package publishing and metadata (@ef4)
Committers: 1
  • Edward Faulkner (@ef4)

Readme

Source

ember-css-url

A helper for safely embedding URLs in style properties. Avoids CSS XSS exposure and sanitizes user-provided URLs.

<div style={{css-url "background-image" @user.avatarURL}} ></div>
<div style='background-image: url("https://example.com/avatar.png")' ></div>

Compatibility

  • Ember.js v3.16 or above
  • Embroider or ember-auto-import v2
  • Node.js v14 or above

Installation

ember install ember-css-url

Usage

[Longer description of how to use the addon in apps.]

Contributing

See the Contributing guide for details.

License

This project is licensed under the MIT License.

Keywords

FAQs

Last updated on 06 Jul 2022

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc