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

angular-crumble

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-crumble - npm Package Compare versions

Comparing version 0.2.3 to 0.3.0

2

bower.json
{
"name": "angular-crumble",
"description": "A highly customizable breadcrumb service for AngularJS with ngRoute. Gets you back home the way YOU want.",
"version": "0.2.3",
"version": "0.3.0",
"main": "crumble.js",

@@ -6,0 +6,0 @@ "license": "MIT",

{
"name": "angular-crumble",
"version": "0.3.0",
"description": "A highly customizable breadcrumb service for AngularJS with ngRoute. Gets you back home the way YOU want.",
"version": "0.2.3",
"main": "index.js",
"license": "MIT",
"author": "Raphael von der Grün <raphinesse@gmail.com>",
"peerDependencies": {
"angular": "^1.2"
},
"dependencies": {
"angular-route": "^1.2"
},
"repository": {
"type": "git",
"url": "git://github.com/raphinesse/angular-crumble.git"
},
"bugs": {
"url": "https://github.com/raphinesse/angular-crumble/issues"
},
"keywords": [

@@ -39,5 +23,21 @@ "angular",

],
"bugs": {
"url": "https://github.com/raphinesse/angular-crumble/issues"
},
"license": "MIT",
"author": "Raphael von der Grün <raphinesse@gmail.com>",
"main": "index.js",
"repository": {
"type": "git",
"url": "git://github.com/raphinesse/angular-crumble.git"
},
"scripts": {
"lint": "eslint .",
"test": "karma start",
"version": "sync-version bower.json && git add bower.json"
},
"devDependencies": {
"angular": "^1.2",
"angular-mocks": "^1.2",
"angular-route": "^1.2",
"eslint": "^3.19.0",

@@ -51,10 +51,9 @@ "jasmine-core": "^2.5.2",

"karma-verbose-reporter": "0.0.6",
"node-style-guide": "https://github.com/felixge/node-style-guide.git",
"node-style-guide": "felixge/node-style-guide",
"sync-version": "^1.0.1"
},
"scripts": {
"lint": "eslint .",
"test": "karma start",
"version": "sync-version bower.json && git add bower.json"
"peerDependencies": {
"angular": "^1.2",
"angular-route": "^1.2"
}
}

@@ -134,6 +134,8 @@ # crumble

// Put this in your run method
var getParent = crumble.getParent;
var getDefaultParent = crumble.getParent;
crumble.getParent = function (path) {
var route = crumble.getRoute(path);
return route && angular.isDefined(route.parent) ? route.parent : getParent(path);
return route && angular.isDefined(route.parent)
? route.parent
: getDefaultParent(path);
};

@@ -140,0 +142,0 @@ ~~~

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