grailed-angular-engine
Advanced tools
Comparing version 0.0.2 to 1.0.0
{ | ||
"name": "grailed-angular-engine", | ||
"standalone": "grailedAngularEngine", | ||
"version": "0.0.2", | ||
"version": "1.0.0", | ||
"description": "", | ||
@@ -6,0 +6,0 @@ "main": "src/index.js", |
@@ -8,3 +8,5 @@ if (typeof angular === 'undefined') { | ||
exports = module.exports = function (_grail) { | ||
var grail = _grail; | ||
var grail = _grail, | ||
angularConfig = grail.config('angular') || {}, | ||
modules = Array.isArray(angularConfig.modules) ? angularConfig.modules : []; | ||
@@ -77,5 +79,7 @@ grail.angular = { | ||
modules.unshift('ngRoute'); | ||
grail.angular.controller.$inject = ['$scope', '$route', '$routeParams', '$location']; | ||
grail.angular.routes.$inject = ['$routeProvider', '$locationProvider']; | ||
grail.angular.module = angular.module('app', ['ngRoute']).config(grail.angular.routes); | ||
grail.angular.module = angular.module('app', modules).config(grail.angular.routes); | ||
@@ -82,0 +86,0 @@ }; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
2
5
14561
10
331
2
0