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

ember-cli-bundle-loader

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-bundle-loader - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

approvals/a_dev_build.contains_vendor_js.received.txt

14

addon/utils/get-owner.js

@@ -5,5 +5,3 @@ import Ember from 'ember';

export function getContainer (context) {
var hasGetOwner = typeof getOwner === "function";
var container = hasGetOwner ? getOwner(context) : context.container;
return container;
return context.container ? context.container : getOwner(context);
}

@@ -17,9 +15,9 @@ export function getFactory (context, factoryName){

var container = getContainer(context);
var hasGetOwner = typeof getOwner === "function";
if (hasGetOwner) {
var registry = container._registry || container.registry;
if (registry) {
// For 1.13 without using getOwner's "FakeContainer"
registry.register(fullName, factory);
} else {
container.base.register(fullName, factory);
return;
}
var registry = container._registry || container.registry;
registry.register(fullName, factory);
}
/* jshint node: true */
'use strict';
var VersionChecker = require('ember-cli-version-checker');
module.exports = {
name: 'ember-cli-bundle-loader',
// isDevelopingAddon: function () {
// return true;
// }
included: function (app) {
this._super.included(app);
var checker = new VersionChecker(this);
var emberChecker = checker.for('ember', 'bower');
if (emberChecker.lt('2.3.0')) {
checker.for('ember-getowner-polyfill', 'npm').assertAbove('1.2.1');
}
}
};
{
"name": "ember-cli-bundle-loader",
"version": "0.4.0",
"version": "0.4.1",
"private": false,

@@ -43,5 +43,7 @@ "description": "The default blueprint for ember-cli addons.",

"ember-cli-uglify": "^1.2.0",
"ember-cli-version-checker": "1.2.0",
"ember-disable-prototype-extensions": "^1.1.0",
"ember-disable-proxy-controllers": "^1.0.1",
"ember-export-application-global": "^1.0.4",
"ember-getowner-polyfill": "~1.2.2",
"ember-load-initializers": "^0.5.0",

@@ -48,0 +50,0 @@ "ember-qunit-nice-errors": "1.1.2",

Sorry, the diff of this file is too big to display

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