
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
ember-router-dsl
Advanced tools
Exposes the following methods
{namespace, children, child, collection, model, view, form} = DSL.import @
Use in your router.coffee
or router.js
file like so:
import DSL from 'ember-router-dsl'
Router.map ->
{namespace, children, child, collection, model, view, form} = DSL.import @
namespace "dashboard", ->
collection "projects", ->
form "new"
view "search"
model "project", ->
form "edit"
children "cad-files", as: "file"
children "versions"
child "owner", as: "user"
Then, you can access the expected metadata using the routeData
service like so:
Route.extend
routeData: service "route-data"
model: ->
@routeData.routeOptions "dashboard.projects"
@routeData.routeModel "dashboard.project" # project
@routeData.routeType "dashboard.project" # model
@routeData.routeAction "dashboard.project.index" # model#index
@routeData.parentNodeRoute "dashboard.project.cad-files.index" # dashboard.project
@routeData.modelRoute "project" # dashboard.project
@routeData.collectionRoute "project" # dashboard.projects
@routeData.childRoute()
@routeData.childrenRoute()
@routeData.modelRoutes()
@routeData.collectionRoutes()
@routeData.childRoutes()
@routeData.childrenRoutes()
in the router.js
file as well as a routerData
service that holds meta data for the routes
git clone
this repositorynpm install
bower install
ember server
npm test
(Runs ember try:testall
to test your addon against multiple Ember versions)ember test
ember test --server
ember build
For more information on using ember-cli, visit http://ember-cli.com/.
FAQs
router dsl for more descriptive routes and easier automation
We found that ember-router-dsl demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.