Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
ember-cli-reflect
Advanced tools
EmberCLI addon that provides a reflect-view
component for rendering Reflect views into your Ember app.
{{ reflect-view
token="API_TOKEN"
project="project"
filters=filters
parameters=parameters
view="view-name" }}
The addon can be configured through a reflect
object in config/environment.js
.
version
: Version of Reflect.js to source from Reflect's CDN. Will be overwritten by either of the following settings:css
: CSS file to load instead of the default.js
: JS file to load instead of the default.token
: (Required) A Reflect API token. Read-only tokens are suggested.tokens
A list of generated tokens.view
(Required) the slug of the view to embed.project
(Required) the slug of the project in which this view lives.filters
: An array containing filter objects for this view.dates
: An array of date ranges. Each date range should itself be an array.parameters
: An array containing filter objects for this view.events
: an object containing event callbacks for your components. See more below.overrides
: An array of objects that allow you to modify the Reflect view configuration at runtime.colors
: An object that allows you to define static colors for dimensional values.NOTE: You must supply either token
or tokens
.
Events allow you to tightly integrate your Reflect View with the app it's embedded within.
Through the Ember component, events are set up through an events
property that looks like this:
{
componentSlug: {
eventType: [
function(data) {}
]
}
}
The keys of the parent object are the slugs of the components you wish to add events to. The values are objects as well, where the keys are event types, and the values are an array of callbacks for that event. Refer to our Reflect.js documentation for more information on events. https://reflect.io/docs/reference/reflect-js.html
npm install ember-cli-reflect
FAQs
Ember CLI addon for embedding Reflect views.
The npm package ember-cli-reflect receives a total of 9 weekly downloads. As such, ember-cli-reflect popularity was classified as not popular.
We found that ember-cli-reflect demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 10 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
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.