heroku-cli-addons
Advanced tools
Comparing version 1.2.4 to 1.2.5
@@ -15,2 +15,7 @@ 'use strict' | ||
let addons = yield context.args.map(name => resolve.addon(heroku, context.app, name)) | ||
for (let addon of addons) { | ||
// prevent deletion of app when context.app is set but the addon is attached to a different app | ||
let app = addon.app.name | ||
if (context.app && app !== context.app) throw new Error(`${cli.color.addon(addon.name)} is on ${cli.color.app(app)} not ${cli.color.app(context.app)}`) | ||
} | ||
for (let app of toPairs(groupBy(addons, 'app.name'))) { | ||
@@ -17,0 +22,0 @@ addons = app[1] |
{ | ||
"name": "heroku-cli-addons", | ||
"description": "`heroku addons:*` commands", | ||
"version": "1.2.4", | ||
"version": "1.2.5", | ||
"author": "Bo Jeanes @bjeanes", | ||
@@ -12,11 +12,11 @@ "bugs": { | ||
"co-wait": "0.0.0", | ||
"heroku-cli-util": "6.0.15", | ||
"lodash.flatten": "4.3.0", | ||
"lodash.groupby": "4.5.1", | ||
"lodash.memoize": "4.1.1", | ||
"lodash.merge": "4.5.1", | ||
"lodash.some": "4.5.1", | ||
"lodash.sortby": "4.6.1", | ||
"lodash.topairs": "4.2.0", | ||
"lodash.values": "4.2.0", | ||
"heroku-cli-util": "6.1.2", | ||
"lodash.flatten": "4.4.0", | ||
"lodash.groupby": "4.6.0", | ||
"lodash.memoize": "4.1.2", | ||
"lodash.merge": "4.6.0", | ||
"lodash.some": "4.6.0", | ||
"lodash.sortby": "4.7.0", | ||
"lodash.topairs": "4.3.0", | ||
"lodash.values": "4.3.0", | ||
"printf": "0.2.5" | ||
@@ -26,9 +26,9 @@ }, | ||
"chai": "^3.2.0", | ||
"lolex": "1.5.1", | ||
"mocha": "3.0.2", | ||
"nock": "8.0.0", | ||
"nyc": "7.1.0", | ||
"standard": "7.1.2", | ||
"lolex": "1.5.2", | ||
"mocha": "3.2.0", | ||
"nock": "9.0.4", | ||
"nyc": "10.1.2", | ||
"standard": "8.6.0", | ||
"time-require": "0.1.2", | ||
"unexpected": "10.15.1" | ||
"unexpected": "10.25.0" | ||
}, | ||
@@ -35,0 +35,0 @@ "homepage": "https://github.com/heroku/heroku-cli-addons", |
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
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
46213
1174
+ Addedcardinal@1.0.0(transitive)
+ Addeddebug@2.6.9(transitive)
+ Addedesprima@3.0.0(transitive)
+ Addedheroku-cli-util@6.1.2(transitive)
+ Addedheroku-client@3.0.0(transitive)
+ Addedlodash.ary@4.1.1(transitive)
+ Addedlodash.defaults@4.2.0(transitive)
+ Addedlodash.flatten@4.4.0(transitive)
+ Addedlodash.get@4.4.2(transitive)
+ Addedlodash.groupby@4.6.0(transitive)
+ Addedlodash.keys@4.2.0(transitive)
+ Addedlodash.mapvalues@4.6.0(transitive)
+ Addedlodash.memoize@4.1.2(transitive)
+ Addedlodash.merge@4.6.0(transitive)
+ Addedlodash.partial@4.2.1(transitive)
+ Addedlodash.pickby@4.6.0(transitive)
+ Addedlodash.property@4.4.2(transitive)
+ Addedlodash.repeat@4.1.0(transitive)
+ Addedlodash.result@4.5.2(transitive)
+ Addedlodash.some@4.6.0(transitive)
+ Addedlodash.sortby@4.7.0(transitive)
+ Addedlodash.topairs@4.3.0(transitive)
+ Addedlodash.values@4.3.0(transitive)
+ Addedms@2.0.0(transitive)
+ Addedredeyed@1.0.1(transitive)
- Removedcardinal@0.7.1(transitive)
- Removedesprima@2.7.3(transitive)
- Removedheroku-cli-util@6.0.15(transitive)
- Removedheroku-client@3.0.0-beta3(transitive)
- Removedlodash.ary@4.1.0(transitive)
- Removedlodash.defaults@4.1.0(transitive)
- Removedlodash.flatten@4.3.0(transitive)
- Removedlodash.get@4.4.0(transitive)
- Removedlodash.groupby@4.5.1(transitive)
- Removedlodash.keys@4.0.8(transitive)
- Removedlodash.mapvalues@4.5.0(transitive)
- Removedlodash.memoize@4.1.1(transitive)
- Removedlodash.merge@4.5.1(transitive)
- Removedlodash.partial@4.2.0(transitive)
- Removedlodash.pickby@4.5.0(transitive)
- Removedlodash.property@4.4.0(transitive)
- Removedlodash.repeat@4.0.4(transitive)
- Removedlodash.result@4.5.0(transitive)
- Removedlodash.some@4.5.1(transitive)
- Removedlodash.sortby@4.6.1(transitive)
- Removedlodash.topairs@4.2.0(transitive)
- Removedlodash.values@4.2.0(transitive)
- Removedredeyed@0.6.0(transitive)
Updatedheroku-cli-util@6.1.2
Updatedlodash.flatten@4.4.0
Updatedlodash.groupby@4.6.0
Updatedlodash.memoize@4.1.2
Updatedlodash.merge@4.6.0
Updatedlodash.some@4.6.0
Updatedlodash.sortby@4.7.0
Updatedlodash.topairs@4.3.0
Updatedlodash.values@4.3.0