Socket
Socket
Sign inDemoInstall

ember-welcome-page

Package Overview
Dependencies
Maintainers
4
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-welcome-page - npm Package Compare versions

Comparing version 3.0.0 to 3.1.0

13

index.js

@@ -9,4 +9,5 @@ /* jshint node: true */

this._super.included(app);
this._welcomeConfig = app.options['ember-welcome-page'] || {};
if (this._isProduction()) { return; }
if (this._isDisabled()) { return; }

@@ -17,3 +18,3 @@ app.import('vendor/welcome-page.css');

treeForPublic: function() {
if (this._isProduction()) { return false; }
if (this._isDisabled()) { return false; }

@@ -26,3 +27,3 @@ var tree = this._super.treeForPublic.apply(this, arguments);

treeForAddon: function() {
if (this._isProduction()) { return false; }
if (this._isDisabled()) { return false; }

@@ -35,3 +36,3 @@ var tree = this._super.treeForAddon.apply(this, arguments);

treeForApp: function() {
if (this._isProduction()) { return false; }
if (this._isDisabled()) { return false; }

@@ -43,5 +44,5 @@ var tree = this._super.treeForApp.apply(this, arguments);

_isProduction: function() {
return process.env.EMBER_ENV === 'production';
_isDisabled: function() {
return process.env.EMBER_ENV === 'production' && !this._welcomeConfig.enabled;
}
};
{
"name": "ember-welcome-page",
"version": "3.0.0",
"version": "3.1.0",
"description": "Welcome page for Ember CLI applications",

@@ -5,0 +5,0 @@ "directories": {

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