Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ember-resources

Package Overview
Dependencies
Maintainers
1
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-resources - npm Package Versions

1
810

3.1.0

Diff

Changelog

Source

3.1.0 (2021-07-31)

Features

  • resource: Resource without lifecycle hooks (ae0656f)
nullvoxpopuli
published 3.0.1 •

Changelog

Source

3.0.1 (2021-07-25)

Bug Fixes

  • readme: all code samples now include imports from ember-resources (d7941f4), closes #87
nullvoxpopuli
published 3.0.0 •

Changelog

Source

3.0.0 (2021-07-20)

Features

  • functions: all useFunction functions are now async (01c6ffd)

BREAKING CHANGES

  • functions: all functions async due to an issue that came up during production builds, where minification would optimize away the async/await when the function was a one liner, like:
async () => {
  return await ...
}

the async keyword was a clue to the FunctionRunner to go down a different code branch (before running the function), but when the above example function was minified, it became:

() => { return ... }

which then made the FunctionRunner go down the sync path, resulting in the value being a promise, rather than the resolved value of the promise.

nullvoxpopuli
published 2.0.1 •

Changelog

Source

2.0.1 (2021-07-14)

Bug Fixes

  • deps: update dependency @ember/test-waiters to ^2.4.5 (010dae3)
nullvoxpopuli
published 2.0.0 •

Changelog

Source

2.0.0 (2021-07-10)

Features

  • useFunction now supports an initialValue param (6ba9e26)

BREAKING CHANGES

  • useFunction is no longer an alias of useResource
nullvoxpopuli
published 1.3.1 •

Changelog

Source

1.3.1 (2021-07-09)

Bug Fixes

  • readme: Correct example import of useResource (5f99b22)
nullvoxpopuli
published 1.3.0 •

Changelog

Source

1.3.0 (2021-06-25)

Bug Fixes

  • readme: table of contents links now work (00a397f)

Features

  • types, docs: document types and how to test with resources (8545bb6)
nullvoxpopuli
published 1.2.5 •

Changelog

Source

1.2.5 (2021-06-24)

Bug Fixes

  • async functions: properly entangle for the value and prevent infinite re-rendering (ad268fe)
nullvoxpopuli
published 1.2.4 •

Changelog

Source

1.2.4 (2021-06-24)

Bug Fixes

  • types: add type visibility to the FunctionRunner to keep private (e051be9)
  • when an async function resolves, auto-tracking should do stuff (6504660)
nullvoxpopuli
published 1.2.3 •

Changelog

Source

1.2.3 (2021-06-23)

Bug Fixes

  • lifecycle: support resources without a setup method (d11e6fc)
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc