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

ember-maybe-import-regenerator

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-maybe-import-regenerator

The default blueprint for ember-cli addons.

  • 0.1.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
48K
decreased by-0.45%
Maintainers
1
Weekly downloads
 
Created
Source

ember-maybe-import-regenerator

Uncaught TypeError: regeneratorRuntime is not a function

It is now.

This is an addon that'll import the Regenerator Runtime in your Ember app, but only if you didn't already set babel.includePolyfill to true. This is useful for:

  1. Apps that want to use ES6 generator functions but don't want to import the large Babel polyfill
  2. Addons that depend on generator functions (or other addons that depend on generator functions) but don't want to force users to have to add babel.includePolyfill: true to their config files (like ember-concurrency, ember-power-select), but shouldn't double import regenerator-runtime if the user already has includePolyfill: true

Installation

  • git clone this repository
  • npm install
  • bower install

Running

Running Tests

  • npm test (Runs ember try:testall to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit http://ember-cli.com/.

Keywords

FAQs

Package last updated on 13 Jun 2016

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc