Skip to content
Permalink
Browse files

chore(package): upgrade dependencies

  • Loading branch information...
devinus committed Nov 24, 2018
1 parent 527c28a commit 583858ecf255ec50fbd66e8f9c1ef07dbadc4a83
Showing with 903 additions and 645 deletions.
  1. +8 −0 .eslintrc.js
  2. +3 −0 .template-lintrc.js
  3. +1 −1 app/account/adapter.js
  4. +11 −11 app/account/model.js
  5. +5 −5 app/ajax/service.js
  6. +4 −4 app/application/route.js
  7. +2 −2 app/authenticators/wallet.js
  8. +1 −1 app/block/adapter.js
  9. +4 −4 app/block/model.js
  10. +7 −4 app/components/account-address/component.js
  11. +1 −2 app/components/account-amount/component.js
  12. +3 −4 app/components/account-card/component.js
  13. +6 −7 app/components/account-carousel/component.js
  14. +1 −0 app/components/account-carousel/template.hbs
  15. +1 −2 app/components/account-history-entry/component.js
  16. +1 −3 app/components/account-history/component.js
  17. +3 −5 app/components/account-label/component.js
  18. +1 −2 app/components/account-link/component.js
  19. +2 −4 app/components/account-overview/component.js
  20. +3 −4 app/components/account-send/component.js
  21. +12 −12 app/components/account-send/template.hbs
  22. +5 −6 app/components/account-settings/component.js
  23. +10 −10 app/components/account-settings/template.hbs
  24. +6 −7 app/components/balance-overview/component.js
  25. +4 −5 app/components/download-progress/component.js
  26. +2 −2 app/components/download-progress/template.hbs
  27. +2 −3 app/components/external-link/component.js
  28. +8 −9 app/components/legal-agreements/component.js
  29. +5 −5 app/components/legal-agreements/template.hbs
  30. +5 −6 app/components/navigation-bar/component.js
  31. +1 −1 app/components/notification-center/component.js
  32. +4 −5 app/components/password-toggle/component.js
  33. +3 −4 app/components/send-button/component.js
  34. +1 −1 app/components/send-button/styles.scss
  35. +3 −3 app/components/status-tooltip/component.js
  36. +20 −20 app/components/status-tooltip/template.hbs
  37. +7 −8 app/components/wallet-backup/component.js
  38. +1 −1 app/components/wallet-backup/template.hbs
  39. +3 −5 app/components/wallet-balance/component.js
  40. +8 −9 app/components/wallet-import/component.js
  41. +13 −13 app/components/wallet-import/template.hbs
  42. +5 −6 app/components/wallet-overview/component.js
  43. +6 −7 app/components/wallet-password/component.js
  44. +2 −2 app/components/wallet-password/template.hbs
  45. +7 −8 app/components/wallet-settings/component.js
  46. +5 −5 app/components/wallet-settings/template.hbs
  47. +3 −4 app/components/wallet-unlock/component.js
  48. +1 −1 app/components/wallet-unlock/template.hbs
  49. +1 −1 app/decorators.js
  50. +2 −2 app/electron/service.js
  51. +14 −0 app/helpers/-assert-implicit-component-helper-argument.js
  52. +1 −1 app/helpers/format-amount.js
  53. +1 −1 app/helpers/unformat-amount.js
  54. +1 −1 app/history/adapter.js
  55. +4 −4 app/history/model.js
  56. +3 −3 app/index/route.js
  57. +4 −4 app/login/route.js
  58. +1 −1 app/logout/route.js
  59. +1 −1 app/rpc/service.js
  60. +2 −2 app/settings/service.js
  61. +2 −2 app/setup/backup/route.js
  62. +1 −1 app/setup/download/route.js
  63. +1 −1 app/setup/import/route.js
  64. +2 −2 app/setup/index/route.js
  65. +2 −2 app/setup/legal/route.js
  66. +2 −2 app/setup/password/route.js
  67. +1 −1 app/setup/start-loading/template.hbs
  68. +1 −1 app/setup/start/route.js
  69. +2 −2 app/start/route.js
  70. +1 −1 app/status/service.js
  71. +103 −0 app/templates/components/power-select.hbs
  72. +1 −1 app/wallet/adapter.js
  73. +8 −8 app/wallet/model.js
  74. +2 −2 app/wallets/controller.js
  75. +7 −7 app/wallets/logout/template.hbs
  76. +2 −2 app/wallets/overview/accounts/send/controller.js
  77. +2 −2 app/wallets/overview/accounts/send/route.js
  78. +2 −2 app/wallets/overview/accounts/settings/route.js
  79. +1 −1 app/wallets/overview/controller.js
  80. +2 −2 app/wallets/overview/route.js
  81. +4 −4 app/wallets/overview/settings/template.hbs
  82. +5 −5 app/wallets/route.js
  83. +4 −2 config/deprecation-workflow.js
  84. +28 −0 config/environment.js
  85. +16 −9 config/targets.js
  86. +4 −5 ember-cli-build.js
  87. +12 −13 package.json
  88. +40 −0 patches/@ember-decorators/utils+3.1.0.patch
  89. +2 −1 patches/electron-forge+5.0.0.patch
  90. +5 −2 patches/electron-packager+10.1.2.patch
  91. +17 −0 patches/ember-concurrency-decorators+0.3.0.patch
  92. +0 −14 patches/patch-package+5.1.1.patch
  93. +12 −0 patches/patch-package+6.0.0-11.patch
  94. +3 −3 tests/helpers/start-app.js
  95. +351 −291 yarn.lock
@@ -7,6 +7,9 @@ module.exports = {
parserOptions: {
ecmaVersion: 2019,
sourceType: 'module',
ecmaFeatures: {
impliedStrict: true,
},
},
plugins: [
'babel',
@@ -27,5 +30,10 @@ module.exports = {
'import/no-unresolved': 'off',
'hbs/check-hbs-template-literals': 'error',
'ember-suave/no-const-outside-module-scope': 'off',
'generator-star-spacing': ['error', {
before: false,
after: true,
method: { before: true, after: true },
}]
},
};
@@ -1,6 +1,9 @@
module.exports = {
extends: 'recommended',
rules: {
'attribute-indentation': false,
'no-bare-strings': true,
'no-unnecessary-concat': false,
quotes: false,
},
};
@@ -5,7 +5,7 @@ import { service } from '@ember-decorators/service';
const { Adapter } = DS;

export default class AccountAdapter extends Adapter {
@service rpc = null;
@service rpc;

shouldReloadRecord() {
return true;
@@ -5,25 +5,25 @@ import { attr, hasMany, belongsTo } from '@ember-decorators/data';
const { Model } = DS;

export default class AccountModel extends Model {
@belongsTo({ async: true }) wallet = null;
@belongsTo({ async: true }) wallet;

@belongsTo('block', { async: true, inverse: null }) frontier = null;
@belongsTo('block', { async: true, inverse: null }) frontier;

@belongsTo('block', { async: true, inverse: null }) openBlock = null;
@belongsTo('block', { async: true, inverse: null }) openBlock;

@belongsTo('block', { async: true, inverse: null }) representativeBlock = null;
@belongsTo('block', { async: true, inverse: null }) representativeBlock;

@hasMany({ async: true, inverse: 'source' }) blocks = null;
@hasMany({ async: true, inverse: 'source' }) blocks;

@hasMany({ async: true, inverse: 'source' }) history = null;
@hasMany({ async: true, inverse: 'source' }) history;

@attr('big-number', { defaultValue: 0 }) balance = null;
@attr('big-number', { defaultValue: 0 }) balance;

@attr('big-number', { defaultValue: 0 }) pending = null;
@attr('big-number', { defaultValue: 0 }) pending;

@attr('string') representative = null;
@attr('string') representative;

@attr('number') blockCount = null;
@attr('number', { defaultValue: 0 }) blockCount;

@attr('timestamp', { defaultValue: () => new Date() }) modifiedTimestamp = null;
@attr('timestamp', { defaultValue: () => new Date() }) modifiedTimestamp;
}
@@ -34,15 +34,15 @@ export default class ApplicationAjaxService extends AjaxService.extend({
}
}), backoffPolicy).enqueue().maxConcurrency(20),
}) {
@service session = null;
@service session;

@service hostManager = null;
@service hostManager;

@service electron = null;
@service electron;

@overridableReads('hostManager.host.rpcHost') host = null;
@overridableReads('hostManager.host.rpcHost') host;

@overridableReads('hostManager.host.rpcNamespace') namespace = null;
@overridableReads('hostManager.host.rpcNamespace') namespace;

contentType = 'application/json'

@@ -19,13 +19,13 @@ export default class ApplicationRoute extends Route.extend(
ApplicationRouteMixin,
DisposableMixin,
) {
@service intl = null;
@service intl;

@service config = null;
@service config;

@service settings = null;
@service settings;

@service electron = null;
@service electron;

async beforeModel(...args) {
const electron = this.get('electron');
@@ -46,9 +46,9 @@ export const WalletLockedError = defineError({
});

export default class WalletAuthenticator extends Base {
@service rpc = null;
@service rpc;

@service electron = null;
@service electron;

async authenticate({ wallet, password }) {
try {
@@ -4,7 +4,7 @@ import { service } from '@ember-decorators/service';
const { Adapter } = DS;

export default class BlockAdapter extends Adapter {
@service rpc = null;
@service rpc;

shouldReloadRecord() {
return true;
@@ -5,11 +5,11 @@ import { attr, belongsTo } from '@ember-decorators/data';
const { Model } = DS;

export default class BlockModel extends Model {
@belongsTo({ async: true, inverse: null }) wallet = null;
@belongsTo({ async: true, inverse: null }) wallet;

@belongsTo('account', { async: true, inverse: 'blocks' }) source = null;
@belongsTo('account', { async: true, inverse: 'blocks' }) source;

@attr() destination = null;
@attr() destination;

@attr('big-number') amount = null;
@attr('big-number', { defaultValue: 0 }) amount;
}
@@ -3,23 +3,22 @@ import Component from '@ember/component';
import { on, observes } from '@ember-decorators/object';
import { bool } from '@ember-decorators/object/computed';
import { tagName, attribute } from '@ember-decorators/component';
import { argument } from '@ember-decorators/argument';

import toNanoPrefix from '../../utils/to-nano-prefix';

export const MINIMUM_LENGTH = 65;

@tagName('span')
class AccountAddressComponent extends Component {
@bool('value') isVisible = false;
@bool('value') isVisible;

@attribute title = null;

@attribute translate = false;

@argument value = null;
value = null;

@argument truncate = 0;
truncate = 0;

head = null;

@@ -28,6 +27,10 @@ class AccountAddressComponent extends Component {
tail = null;

@on('didInsertElement')
setupParts() {
this.valueDidChange();
}

@observes('value')
valueDidChange() {
const value = this.get('value');
@@ -1,11 +1,10 @@
import Component from '@ember/component';

import { classNames } from '@ember-decorators/component';
import { argument } from '@ember-decorators/argument';

@classNames('text-truncate')
class AccountAmountCompoennt extends Component {
@argument value = null;
value = null;
}

export default AccountAmountCompoennt;
@@ -2,16 +2,15 @@ import Component from '@ember/component';

import { service } from '@ember-decorators/service';
import { action } from '@ember-decorators/object';
import { argument } from '@ember-decorators/argument';

import toNanoPrefix from '../../utils/to-nano-prefix';

export default class AccountCardComponent extends Component {
@service intl = null;
@service intl;

@service flashMessages = null;
@service flashMessages;

@argument account = null;
account = null;

@action
copyAddress(value) {
@@ -5,17 +5,16 @@ import { keepLatestTask } from 'ember-concurrency-decorators';
import { ContextBoundTasksMixin, ContextBoundEventListenersMixin } from 'ember-lifeline';

import { on, observes } from '@ember-decorators/object';
import { argument } from '@ember-decorators/argument';

export default class AccountCarouselComponent extends Component.extend(
ContextBoundTasksMixin,
ContextBoundEventListenersMixin,
) {
@argument accounts = null;
accounts = null;

@argument currentSlide = 0;
currentSlide = 0;

@argument onChangeSlide = null;
onChangeSlide = null;

slickInstance = null;

@@ -53,7 +52,7 @@ export default class AccountCarouselComponent extends Component.extend(
}

@keepLatestTask
setupSlider = function* setupSliderTask() {
* setupSlider() {
if (!this.slickInstance && !this.isDestroying) {
yield waitForQueue('afterRender');

@@ -83,7 +82,7 @@ export default class AccountCarouselComponent extends Component.extend(
}

@keepLatestTask
teardownSlider = function* teardownSliderTask() {
* teardownSlider() {
if (this.slickInstance && !this.isDestroyed) {
this.slickInstance.slick('unslick');
this.slickInstance = null;
@@ -98,7 +97,7 @@ export default class AccountCarouselComponent extends Component.extend(
}

@keepLatestTask
refreshSlider = function* refreshSlideTask() {
* refreshSlider() {
yield this.get('teardownSlider').perform();
yield this.get('setupSlider').perform();
return yield this.slickInstance;
@@ -1,3 +1,4 @@
{{! template-lint-disable no-inline-styles }}
{{#each accounts as |account|}}
<div style="display: none">
{{account-card hideHistory=hideHistory account=account}}
@@ -1,11 +1,10 @@
import Component from '@ember/component';

import { classNames } from '@ember-decorators/component';
import { argument } from '@ember-decorators/argument';

@classNames('row', 'no-gutters', 'justify-content-center')
class AccountHistoryEntryComponent extends Component {
@argument entry = null;
entry = null;
}

export default AccountHistoryEntryComponent;
@@ -1,7 +1,5 @@
import Component from '@ember/component';

import { argument } from '@ember-decorators/argument';

export default class AccountHistoryComponent extends Component {
@argument history = null;
history = null;
}
@@ -1,13 +1,11 @@
import Component from '@ember/component';

import { argument } from '@ember-decorators/argument';

import { storage } from '../../decorators';

export default class AccountLabelComponent extends Component {
@storage('account') settings = null;
@storage('account') settings;

@argument account = null;
account = null;

@argument truncate = false;
truncate = false;
}
@@ -1,11 +1,10 @@
import Component from '@ember/component';

import { classNames } from '@ember-decorators/component';
import { argument } from '@ember-decorators/argument';

@classNames('text-truncate')
class AccountLinkComponent extends Component {
@argument value = null;
value = null;
}

export default AccountLinkComponent;
@@ -1,9 +1,7 @@
import Component from '@ember/component';

import { argument } from '@ember-decorators/argument';

export default class AccountOverviewComponent extends Component {
@argument account = null;
account = null;

@argument onDelete = null;
onDelete = null;
}
@@ -3,22 +3,21 @@ import { set } from '@ember/object';

import { service } from '@ember-decorators/service';
import { action } from '@ember-decorators/object';
import { argument } from '@ember-decorators/argument';

import SendValidations from '../../validations/send';
import ChangeAmountValidations from '../../validations/change-amount';
import unformatAmount from '../../utils/unformat-amount';

export default class AccountSendComponent extends Component {
@service intl = null;
@service intl;

SendValidations = SendValidations;

ChangeAmountValidations = ChangeAmountValidations;

@argument accounts = null;
accounts = null;

@argument block = null;
block = null;

@action
async changeAmount(model, value, changeset) {

0 comments on commit 583858e

Please sign in to comment.
You can’t perform that action at this time.