Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
ember-dataview
Advanced tools
Introduces a dataview object and service which are like controllers except they exclusively handle data loading
Introduces the concept of dataviews (inspired by what the couchdb guys are doing).
Dataviews have a store and can be composed of other dataviews
note: this is alpha software!
Because my route files were getting bloated
declare dataviews in their own directory dataviews/dashboard.coffee
DashboardDataview = Dataview.extend
childViews: ["someOtherView", "anotherView"]
loads:
user: (opts) ->
@store.findRecord "user", opts.id
fields: (opts) ->
# load fields
Use in the routes routes/dashboard.coffee
Route.extend
model: ->
@dataviews.eagerLoad "dashboard",
routeAction: @get "routeAction"
routeName: @get "routeName"
eagerLoad
forces your entire dataview tree, while the counterpart lazyLoad
just loads the head node
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
Introduces a dataview object and service which are like controllers except they exclusively handle data loading
We found that ember-dataview 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.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.