mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-15 13:26:34 +00:00
Upgrade eslint to 4.8.0 (#445)
* Upgrade eslint * Fix post-merge errors
This commit is contained in:
parent
121c0d0879
commit
bc0d44ca81
@ -40,6 +40,9 @@
|
|||||||
"no-multi-assign": 0,
|
"no-multi-assign": 0,
|
||||||
"radix": 0,
|
"radix": 0,
|
||||||
"no-alert": 0,
|
"no-alert": 0,
|
||||||
|
"prefer-destructuring": 0,
|
||||||
|
"no-restricted-globals": 0,
|
||||||
|
"prefer-promise-reject-errors": 0,
|
||||||
"import/prefer-default-export": 0,
|
"import/prefer-default-export": 0,
|
||||||
"react/jsx-no-bind": [2, { "ignoreRefs": true }],
|
"react/jsx-no-bind": [2, { "ignoreRefs": true }],
|
||||||
"react/jsx-no-duplicate-props": 2,
|
"react/jsx-no-duplicate-props": 2,
|
||||||
|
@ -43,7 +43,9 @@ export default class Automation extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
render({ automation, isWide }) {
|
render({ automation, isWide }) {
|
||||||
const { alias, trigger, condition, action } = automation;
|
const {
|
||||||
|
alias, trigger, condition, action
|
||||||
|
} = automation;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
|
@ -11,7 +11,9 @@ export default class NumericStateTrigger extends Component {
|
|||||||
|
|
||||||
/* eslint-disable camelcase */
|
/* eslint-disable camelcase */
|
||||||
render({ trigger }) {
|
render({ trigger }) {
|
||||||
const { value_template, entity_id, below, above } = trigger;
|
const {
|
||||||
|
value_template, entity_id, below, above
|
||||||
|
} = trigger;
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<paper-input
|
<paper-input
|
||||||
|
@ -11,7 +11,9 @@ export default class NumericStateCondition extends Component {
|
|||||||
|
|
||||||
/* eslint-disable camelcase */
|
/* eslint-disable camelcase */
|
||||||
render({ condition }) {
|
render({ condition }) {
|
||||||
const { value_template, entity_id, below, above } = condition;
|
const {
|
||||||
|
value_template, entity_id, below, above
|
||||||
|
} = condition;
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<paper-input
|
<paper-input
|
||||||
|
@ -25,7 +25,9 @@ export default class SunCondition extends Component {
|
|||||||
|
|
||||||
render({ condition }) {
|
render({ condition }) {
|
||||||
/* eslint-disable camelcase */
|
/* eslint-disable camelcase */
|
||||||
const { after, after_offset, before, before_offset } = condition;
|
const {
|
||||||
|
after, after_offset, before, before_offset
|
||||||
|
} = condition;
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<label id="beforelabel">Before:</label>
|
<label id="beforelabel">Before:</label>
|
||||||
|
@ -74,5 +74,4 @@ export default class Action extends Component {
|
|||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -42,5 +42,4 @@ export default class Action extends Component {
|
|||||||
</paper-card>
|
</paper-card>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -34,9 +34,9 @@
|
|||||||
"bower": "^1.8.2",
|
"bower": "^1.8.2",
|
||||||
"css-slam": "^2.0.2",
|
"css-slam": "^2.0.2",
|
||||||
"del": "^3.0.0",
|
"del": "^3.0.0",
|
||||||
"eslint": "^3.19.0",
|
"eslint": "^4.8.0",
|
||||||
"eslint-config-airbnb-base": "^11.1.3",
|
"eslint-config-airbnb-base": "^12.0.2",
|
||||||
"eslint-plugin-html": "^2.0.1",
|
"eslint-plugin-html": "^3.2.2",
|
||||||
"eslint-plugin-import": "^2.2.0",
|
"eslint-plugin-import": "^2.2.0",
|
||||||
"eslint-plugin-react": "^7.0.0",
|
"eslint-plugin-react": "^7.0.0",
|
||||||
"gulp": "^3.9.1",
|
"gulp": "^3.9.1",
|
||||||
|
@ -239,8 +239,7 @@ Polymer({
|
|||||||
},
|
},
|
||||||
|
|
||||||
_updateComponent: function () {
|
_updateComponent: function () {
|
||||||
this._rendered = window.AutomationEditor(
|
this._rendered = window.AutomationEditor(this.$.root, {
|
||||||
this.$.root, {
|
|
||||||
automation: this.config,
|
automation: this.config,
|
||||||
onChange: this.configChanged,
|
onChange: this.configChanged,
|
||||||
isWide: this.isWide,
|
isWide: this.isWide,
|
||||||
@ -249,8 +248,7 @@ Polymer({
|
|||||||
|
|
||||||
saveAutomation: function () {
|
saveAutomation: function () {
|
||||||
var id = this.creatingNew ? '' + Date.now() : this.automation.attributes.id;
|
var id = this.creatingNew ? '' + Date.now() : this.automation.attributes.id;
|
||||||
this.hass.callApi(
|
this.hass.callApi('post', 'config/automation/config/' + id, this.config).then(function () {
|
||||||
'post', 'config/automation/config/' + id, this.config).then(function () {
|
|
||||||
this.dirty = false;
|
this.dirty = false;
|
||||||
|
|
||||||
if (this.creatingNew) {
|
if (this.creatingNew) {
|
||||||
|
@ -119,8 +119,7 @@ Polymer({
|
|||||||
},
|
},
|
||||||
|
|
||||||
automationTapped: function (ev) {
|
automationTapped: function (ev) {
|
||||||
history.pushState(
|
history.pushState(null, null, '/config/automation/edit/' + this.automations[ev.model.index].attributes.id);
|
||||||
null, null, '/config/automation/edit/' + this.automations[ev.model.index].attributes.id);
|
|
||||||
this.fire('location-changed');
|
this.fire('location-changed');
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -74,8 +74,7 @@ class HaConfigCloudAccount extends window.hassMixins.EventsMixin(Polymer.Element
|
|||||||
}
|
}
|
||||||
|
|
||||||
handleLogout() {
|
handleLogout() {
|
||||||
this.hass.callApi('post', 'cloud/logout').then(
|
this.hass.callApi('post', 'cloud/logout').then(() => this.fire('ha-account-refreshed', { account: null }));
|
||||||
() => this.fire('ha-account-refreshed', { account: null }));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -113,8 +113,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
class HaConfigCloudForgotPassword extends
|
class HaConfigCloudForgotPassword extends
|
||||||
window.hassMixins.NavigateMixin(
|
window.hassMixins.NavigateMixin(window.hassMixins.EventsMixin(Polymer.Element)) {
|
||||||
window.hassMixins.EventsMixin(Polymer.Element)) {
|
|
||||||
static get is() { return 'ha-config-cloud-forgot-password'; }
|
static get is() { return 'ha-config-cloud-forgot-password'; }
|
||||||
|
|
||||||
static get properties() {
|
static get properties() {
|
||||||
@ -180,8 +179,7 @@ class HaConfigCloudForgotPassword extends
|
|||||||
|
|
||||||
this.hass.callApi('post', 'cloud/forgot_password', {
|
this.hass.callApi('post', 'cloud/forgot_password', {
|
||||||
email: this.email,
|
email: this.email,
|
||||||
}).then(
|
}).then(() => {
|
||||||
() => {
|
|
||||||
this._hasToken = true;
|
this._hasToken = true;
|
||||||
this._requestInProgress = false;
|
this._requestInProgress = false;
|
||||||
}, (err) => {
|
}, (err) => {
|
||||||
@ -219,8 +217,7 @@ class HaConfigCloudForgotPassword extends
|
|||||||
email: this.email,
|
email: this.email,
|
||||||
confirmation_code: this._confirmationCode,
|
confirmation_code: this._confirmationCode,
|
||||||
new_password: this._newPassword,
|
new_password: this._newPassword,
|
||||||
}).then(
|
}).then(() => {
|
||||||
() => {
|
|
||||||
// eslint-disable-next-line
|
// eslint-disable-next-line
|
||||||
alert('Password reset successful! You can now login.');
|
alert('Password reset successful! You can now login.');
|
||||||
this.navigate('config/cloud/login');
|
this.navigate('config/cloud/login');
|
||||||
|
@ -101,8 +101,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
class HaConfigCloudLogin extends
|
class HaConfigCloudLogin extends
|
||||||
window.hassMixins.NavigateMixin(
|
window.hassMixins.NavigateMixin(window.hassMixins.EventsMixin(Polymer.Element)) {
|
||||||
window.hassMixins.EventsMixin(Polymer.Element)) {
|
|
||||||
static get is() { return 'ha-config-cloud-login'; }
|
static get is() { return 'ha-config-cloud-login'; }
|
||||||
|
|
||||||
static get properties() {
|
static get properties() {
|
||||||
@ -156,8 +155,7 @@ class HaConfigCloudLogin extends
|
|||||||
this.hass.callApi('post', 'cloud/login', {
|
this.hass.callApi('post', 'cloud/login', {
|
||||||
email: this.email,
|
email: this.email,
|
||||||
password: this._password,
|
password: this._password,
|
||||||
}).then(
|
}).then((account) => {
|
||||||
(account) => {
|
|
||||||
this.fire('ha-account-refreshed', { account: account });
|
this.fire('ha-account-refreshed', { account: account });
|
||||||
this.email = '';
|
this.email = '';
|
||||||
this._password = '';
|
this._password = '';
|
||||||
|
@ -134,8 +134,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
class HaConfigCloudRegister extends
|
class HaConfigCloudRegister extends
|
||||||
window.hassMixins.NavigateMixin(
|
window.hassMixins.NavigateMixin(window.hassMixins.EventsMixin(Polymer.Element)) {
|
||||||
window.hassMixins.EventsMixin(Polymer.Element)) {
|
|
||||||
static get is() { return 'ha-config-cloud-register'; }
|
static get is() { return 'ha-config-cloud-register'; }
|
||||||
|
|
||||||
static get properties() {
|
static get properties() {
|
||||||
@ -202,8 +201,7 @@ class HaConfigCloudRegister extends
|
|||||||
this.hass.callApi('post', 'cloud/register', {
|
this.hass.callApi('post', 'cloud/register', {
|
||||||
email: this.email,
|
email: this.email,
|
||||||
password: this._password,
|
password: this._password,
|
||||||
}).then(
|
}).then(() => {
|
||||||
() => {
|
|
||||||
this._requestInProgress = false;
|
this._requestInProgress = false;
|
||||||
this._hasConfirmationCode = true;
|
this._hasConfirmationCode = true;
|
||||||
}, (err) => {
|
}, (err) => {
|
||||||
@ -234,8 +232,7 @@ class HaConfigCloudRegister extends
|
|||||||
this.hass.callApi('post', 'cloud/confirm_register', {
|
this.hass.callApi('post', 'cloud/confirm_register', {
|
||||||
email: this.email,
|
email: this.email,
|
||||||
confirmation_code: this._confirmationCode,
|
confirmation_code: this._confirmationCode,
|
||||||
}).then(
|
}).then(() => {
|
||||||
() => {
|
|
||||||
// eslint-disable-next-line
|
// eslint-disable-next-line
|
||||||
alert('Confirmation successful. You can now login.');
|
alert('Confirmation successful. You can now login.');
|
||||||
this.navigate('config/cloud/login');
|
this.navigate('config/cloud/login');
|
||||||
|
@ -75,7 +75,6 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
class HaConfigCore extends Polymer.Element {
|
class HaConfigCore extends Polymer.Element {
|
||||||
|
|
||||||
static get is() { return 'ha-config-core'; }
|
static get is() { return 'ha-config-core'; }
|
||||||
|
|
||||||
static get properties() {
|
static get properties() {
|
||||||
|
@ -130,7 +130,6 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
class HaConfigSectionCore extends Polymer.Element {
|
class HaConfigSectionCore extends Polymer.Element {
|
||||||
|
|
||||||
static get is() { return 'ha-config-section-core'; }
|
static get is() { return 'ha-config-section-core'; }
|
||||||
|
|
||||||
static get properties() {
|
static get properties() {
|
||||||
|
@ -36,7 +36,6 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
class HaConfigSectionGroup extends Polymer.Element {
|
class HaConfigSectionGroup extends Polymer.Element {
|
||||||
|
|
||||||
static get is() { return 'ha-config-section-group'; }
|
static get is() { return 'ha-config-section-group'; }
|
||||||
|
|
||||||
static get properties() {
|
static get properties() {
|
||||||
|
@ -66,7 +66,6 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
class HaConfigSectionHassbian extends Polymer.Element {
|
class HaConfigSectionHassbian extends Polymer.Element {
|
||||||
|
|
||||||
static get is() { return 'ha-config-section-hassbian'; }
|
static get is() { return 'ha-config-section-hassbian'; }
|
||||||
|
|
||||||
static get properties() {
|
static get properties() {
|
||||||
|
@ -35,7 +35,6 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
class HaConfigSectionThemes extends window.hassMixins.EventsMixin(Polymer.Element) {
|
class HaConfigSectionThemes extends window.hassMixins.EventsMixin(Polymer.Element) {
|
||||||
|
|
||||||
static get is() { return 'ha-config-section-themes'; }
|
static get is() { return 'ha-config-section-themes'; }
|
||||||
|
|
||||||
static get properties() {
|
static get properties() {
|
||||||
|
@ -132,7 +132,6 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
class HaFormGroup extends Polymer.Element {
|
class HaFormGroup extends Polymer.Element {
|
||||||
|
|
||||||
static get is() { return 'ha-form-group'; }
|
static get is() { return 'ha-form-group'; }
|
||||||
|
|
||||||
static get properties() {
|
static get properties() {
|
||||||
|
@ -33,7 +33,6 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
class HaCustomizeAttribute extends Polymer.Element {
|
class HaCustomizeAttribute extends Polymer.Element {
|
||||||
|
|
||||||
static get is() { return 'ha-customize-attribute'; }
|
static get is() { return 'ha-customize-attribute'; }
|
||||||
|
|
||||||
static get properties() {
|
static get properties() {
|
||||||
|
@ -21,7 +21,6 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
class HaFormCustomizeAttributes extends Polymer.MutableData(Polymer.Element) {
|
class HaFormCustomizeAttributes extends Polymer.MutableData(Polymer.Element) {
|
||||||
|
|
||||||
static get is() { return 'ha-form-customize-attributes'; }
|
static get is() { return 'ha-form-customize-attributes'; }
|
||||||
|
|
||||||
static get properties() {
|
static get properties() {
|
||||||
|
@ -72,7 +72,6 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
class HaFormCustomize extends Polymer.Element {
|
class HaFormCustomize extends Polymer.Element {
|
||||||
|
|
||||||
static get is() { return 'ha-form-customize'; }
|
static get is() { return 'ha-form-customize'; }
|
||||||
|
|
||||||
static get properties() {
|
static get properties() {
|
||||||
@ -148,8 +147,8 @@ class HaFormCustomize extends Polymer.Element {
|
|||||||
|
|
||||||
saveEntity() {
|
saveEntity() {
|
||||||
const data = {};
|
const data = {};
|
||||||
const attrs = this.localAttributes.concat(
|
const attrs = this.localAttributes
|
||||||
this.globalAttributes, this.existingAttributes, this.newAttributes);
|
.concat(this.globalAttributes, this.existingAttributes, this.newAttributes);
|
||||||
attrs.forEach((attr) => {
|
attrs.forEach((attr) => {
|
||||||
if (attr.closed || attr.secondary || !attr.attribute || !attr.value) return;
|
if (attr.closed || attr.secondary || !attr.attribute || !attr.value) return;
|
||||||
const value = attr.type === 'json' ? JSON.parse(attr.value) : attr.value;
|
const value = attr.type === 'json' ? JSON.parse(attr.value) : attr.value;
|
||||||
@ -196,8 +195,8 @@ class HaFormCustomize extends Polymer.Element {
|
|||||||
|
|
||||||
computeShowWarning(localConfig, globalConfig) {
|
computeShowWarning(localConfig, globalConfig) {
|
||||||
if (!localConfig || !globalConfig) return false;
|
if (!localConfig || !globalConfig) return false;
|
||||||
return Object.keys(localConfig).some(
|
return Object.keys(localConfig)
|
||||||
key => JSON.stringify(globalConfig[key]) !== JSON.stringify(localConfig[key]));
|
.some(key => JSON.stringify(globalConfig[key]) !== JSON.stringify(localConfig[key]));
|
||||||
}
|
}
|
||||||
|
|
||||||
filterFromAttributes(attributes) {
|
filterFromAttributes(attributes) {
|
||||||
@ -268,7 +267,11 @@ class HaFormCustomize extends Polymer.Element {
|
|||||||
this.hasNewAttributes =
|
this.hasNewAttributes =
|
||||||
this.newAttributes && this.newAttributes.some(attr => !attr.closed);
|
this.newAttributes && this.newAttributes.some(attr => !attr.closed);
|
||||||
this.newAttributesOptions = this.getNewAttributesOptions(
|
this.newAttributesOptions = this.getNewAttributesOptions(
|
||||||
this.localAttributes, this.globalAttributes, this.existingAttributes, this.newAttributes);
|
this.localAttributes,
|
||||||
|
this.globalAttributes,
|
||||||
|
this.existingAttributes,
|
||||||
|
this.newAttributes
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
customElements.define(HaFormCustomize.is, HaFormCustomize);
|
customElements.define(HaFormCustomize.is, HaFormCustomize);
|
||||||
|
@ -31,7 +31,6 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
class HaCustomizeArray extends window.hassMixins.EventsMixin(Polymer.Element) {
|
class HaCustomizeArray extends window.hassMixins.EventsMixin(Polymer.Element) {
|
||||||
|
|
||||||
static get is() { return 'ha-customize-array'; }
|
static get is() { return 'ha-customize-array'; }
|
||||||
|
|
||||||
static get properties() {
|
static get properties() {
|
||||||
@ -58,7 +57,6 @@ class HaCustomizeArray extends window.hassMixins.EventsMixin(Polymer.Element) {
|
|||||||
const options = this.getOptions(item);
|
const options = this.getOptions(item);
|
||||||
return options.indexOf(item.value);
|
return options.indexOf(item.value);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
customElements.define(HaCustomizeArray.is, HaCustomizeArray);
|
customElements.define(HaCustomizeArray.is, HaCustomizeArray);
|
||||||
</script>
|
</script>
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
class HaCustomizeBoolean extends Polymer.Element {
|
class HaCustomizeBoolean extends Polymer.Element {
|
||||||
|
|
||||||
static get is() { return 'ha-customize-boolean'; }
|
static get is() { return 'ha-customize-boolean'; }
|
||||||
|
|
||||||
static get properties() {
|
static get properties() {
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
class HaCustomizeIcon extends Polymer.Element {
|
class HaCustomizeIcon extends Polymer.Element {
|
||||||
|
|
||||||
static get is() { return 'ha-customize-icon'; }
|
static get is() { return 'ha-customize-icon'; }
|
||||||
|
|
||||||
static get properties() {
|
static get properties() {
|
||||||
|
@ -30,7 +30,6 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
class HaCustomizeKeyValue extends Polymer.Element {
|
class HaCustomizeKeyValue extends Polymer.Element {
|
||||||
|
|
||||||
static get is() { return 'ha-customize-key-value'; }
|
static get is() { return 'ha-customize-key-value'; }
|
||||||
|
|
||||||
static get properties() {
|
static get properties() {
|
||||||
|
@ -13,7 +13,6 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
class HaCustomizeString extends Polymer.Element {
|
class HaCustomizeString extends Polymer.Element {
|
||||||
|
|
||||||
static get is() { return 'ha-customize-string'; }
|
static get is() { return 'ha-customize-string'; }
|
||||||
|
|
||||||
static get properties() {
|
static get properties() {
|
||||||
|
@ -74,8 +74,7 @@ Polymer({
|
|||||||
},
|
},
|
||||||
|
|
||||||
_computeLoaded: function (hass, component) {
|
_computeLoaded: function (hass, component) {
|
||||||
return component.loaded || window.hassUtil.isComponentLoaded(
|
return component.loaded || window.hassUtil.isComponentLoaded(hass, component.domain);
|
||||||
hass, component.domain);
|
|
||||||
},
|
},
|
||||||
|
|
||||||
_computeCaption: function (component) {
|
_computeCaption: function (component) {
|
||||||
@ -87,8 +86,7 @@ Polymer({
|
|||||||
},
|
},
|
||||||
|
|
||||||
_navigate: function (ev) {
|
_navigate: function (ev) {
|
||||||
history.pushState(
|
history.pushState(null, null, '/config/' + ev.model.item.domain);
|
||||||
null, null, '/config/' + ev.model.item.domain);
|
|
||||||
this.fire('location-changed');
|
this.fire('location-changed');
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
@ -132,9 +132,7 @@ class HaPanelConfig extends window.hassMixins.EventsMixin(Polymer.Element) {
|
|||||||
ready() {
|
ready() {
|
||||||
super.ready();
|
super.ready();
|
||||||
if (window.hassUtil.isComponentLoaded(this.hass, 'cloud')) {
|
if (window.hassUtil.isComponentLoaded(this.hass, 'cloud')) {
|
||||||
this.hass.callApi('get', 'cloud/account').then(
|
this.hass.callApi('get', 'cloud/account').then((account) => { this.account = account; });
|
||||||
(account) => { this.account = account; }
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
this.addEventListener('ha-account-refreshed', (ev) => {
|
this.addEventListener('ha-account-refreshed', (ev) => {
|
||||||
this.account = ev.detail.account;
|
this.account = ev.detail.account;
|
||||||
|
@ -234,8 +234,7 @@ Polymer({
|
|||||||
},
|
},
|
||||||
|
|
||||||
_updateComponent: function () {
|
_updateComponent: function () {
|
||||||
this._rendered = window.ScriptEditor(
|
this._rendered = window.ScriptEditor(this.$.root, {
|
||||||
this.$.root, {
|
|
||||||
script: this.config,
|
script: this.config,
|
||||||
onChange: this.configChanged,
|
onChange: this.configChanged,
|
||||||
isWide: this.isWide,
|
isWide: this.isWide,
|
||||||
@ -244,8 +243,7 @@ Polymer({
|
|||||||
|
|
||||||
saveScript: function () {
|
saveScript: function () {
|
||||||
var id = this.creatingNew ? '' + Date.now() : window.hassUtil.computeObjectId(this.script);
|
var id = this.creatingNew ? '' + Date.now() : window.hassUtil.computeObjectId(this.script);
|
||||||
this.hass.callApi(
|
this.hass.callApi('post', 'config/script/config/' + id, this.config).then(function () {
|
||||||
'post', 'config/script/config/' + id, this.config).then(function () {
|
|
||||||
this.dirty = false;
|
this.dirty = false;
|
||||||
|
|
||||||
if (this.creatingNew) {
|
if (this.creatingNew) {
|
||||||
|
@ -115,8 +115,7 @@ Polymer({
|
|||||||
},
|
},
|
||||||
|
|
||||||
scriptTapped: function (ev) {
|
scriptTapped: function (ev) {
|
||||||
history.pushState(
|
history.pushState(null, null, '/config/script/edit/' + this.scripts[ev.model.index].entity_id);
|
||||||
null, null, '/config/script/edit/' + this.scripts[ev.model.index].entity_id);
|
|
||||||
this.fire('location-changed');
|
this.fire('location-changed');
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -449,25 +449,21 @@ Polymer({
|
|||||||
this.selectedConfigParameterValue = -1;
|
this.selectedConfigParameterValue = -1;
|
||||||
this.selectedGroup = -1;
|
this.selectedGroup = -1;
|
||||||
|
|
||||||
this.hass.callApi('GET', 'zwave/config/' + this.nodes[selectedNode].attributes.node_id).then(
|
this.hass.callApi('GET', 'zwave/config/' + this.nodes[selectedNode].attributes.node_id).then((configs) => {
|
||||||
(configs) => {
|
|
||||||
this.config = this._objToArray(configs);
|
this.config = this._objToArray(configs);
|
||||||
});
|
});
|
||||||
|
|
||||||
this.hass.callApi('GET', 'zwave/values/' + this.nodes[selectedNode].attributes.node_id).then(
|
this.hass.callApi('GET', 'zwave/values/' + this.nodes[selectedNode].attributes.node_id).then((values) => {
|
||||||
(values) => {
|
|
||||||
this.values = this._objToArray(values);
|
this.values = this._objToArray(values);
|
||||||
});
|
});
|
||||||
|
|
||||||
this.hass.callApi('GET', 'zwave/groups/' + this.nodes[selectedNode].attributes.node_id).then(
|
this.hass.callApi('GET', 'zwave/groups/' + this.nodes[selectedNode].attributes.node_id).then((groups) => {
|
||||||
(groups) => {
|
|
||||||
this.groups = this._objToArray(groups);
|
this.groups = this._objToArray(groups);
|
||||||
});
|
});
|
||||||
|
|
||||||
this.hasNodeUserCodes = false;
|
this.hasNodeUserCodes = false;
|
||||||
this.notifyPath('hasNodeUserCodes');
|
this.notifyPath('hasNodeUserCodes');
|
||||||
this.hass.callApi('GET', 'zwave/usercodes/' + this.nodes[selectedNode].attributes.node_id).then(
|
this.hass.callApi('GET', 'zwave/usercodes/' + this.nodes[selectedNode].attributes.node_id).then((usercodes) => {
|
||||||
(usercodes) => {
|
|
||||||
this.userCodes = this._objToArray(usercodes);
|
this.userCodes = this._objToArray(usercodes);
|
||||||
this.hasNodeUserCodes = this.userCodes.length > 0;
|
this.hasNodeUserCodes = this.userCodes.length > 0;
|
||||||
this.notifyPath('hasNodeUserCodes');
|
this.notifyPath('hasNodeUserCodes');
|
||||||
@ -477,8 +473,7 @@ Polymer({
|
|||||||
selectedEntityChanged: function (selectedEntity) {
|
selectedEntityChanged: function (selectedEntity) {
|
||||||
if (selectedEntity === -1) return;
|
if (selectedEntity === -1) return;
|
||||||
var el = this;
|
var el = this;
|
||||||
el.hass.callApi('GET', 'zwave/values/' + el.nodes[el.selectedNode].attributes.node_id).then(
|
el.hass.callApi('GET', 'zwave/values/' + el.nodes[el.selectedNode].attributes.node_id).then((values) => {
|
||||||
(values) => {
|
|
||||||
el.values = el._objToArray(values);
|
el.values = el._objToArray(values);
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -532,8 +527,10 @@ Polymer({
|
|||||||
},
|
},
|
||||||
|
|
||||||
computeNodeNameServiceData: function (newNodeNameInput) {
|
computeNodeNameServiceData: function (newNodeNameInput) {
|
||||||
return { node_id: this.nodes[this.selectedNode].attributes.node_id,
|
return {
|
||||||
name: newNodeNameInput };
|
node_id: this.nodes[this.selectedNode].attributes.node_id,
|
||||||
|
name: newNodeNameInput
|
||||||
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
computeRefreshEntityServiceData: function (selectedEntity) {
|
computeRefreshEntityServiceData: function (selectedEntity) {
|
||||||
@ -555,8 +552,7 @@ Polymer({
|
|||||||
ignored: this.entityIgnored,
|
ignored: this.entityIgnored,
|
||||||
polling_intensity: parseInt(this.entityPollingIntensity),
|
polling_intensity: parseInt(this.entityPollingIntensity),
|
||||||
};
|
};
|
||||||
return this.hass.callApi(
|
return this.hass.callApi('POST', 'config/zwave/device_config/' + this.entities[this.selectedEntity].entity_id, data);
|
||||||
'POST', 'config/zwave/device_config/' + this.entities[this.selectedEntity].entity_id, data);
|
|
||||||
},
|
},
|
||||||
|
|
||||||
toggleHelp: function () {
|
toggleHelp: function () {
|
||||||
|
@ -220,16 +220,17 @@ Polymer({
|
|||||||
|
|
||||||
computeAssocServiceData: function (selectedGroup, type) {
|
computeAssocServiceData: function (selectedGroup, type) {
|
||||||
if (!this.groups === -1 || selectedGroup === -1 || this.selectedNode === -1) return -1;
|
if (!this.groups === -1 || selectedGroup === -1 || this.selectedNode === -1) return -1;
|
||||||
return { node_id: this.nodes[this.selectedNode].attributes.node_id,
|
return {
|
||||||
|
node_id: this.nodes[this.selectedNode].attributes.node_id,
|
||||||
association: type,
|
association: type,
|
||||||
target_node_id: this.nodes[this.selectedTargetNode].attributes.node_id,
|
target_node_id: this.nodes[this.selectedTargetNode].attributes.node_id,
|
||||||
group: this.groups[selectedGroup].key };
|
group: this.groups[selectedGroup].key
|
||||||
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
refreshGroups: function (selectedNode) {
|
refreshGroups: function (selectedNode) {
|
||||||
var groupData = [];
|
var groupData = [];
|
||||||
this.hass.callApi('GET', 'zwave/groups/' + this.nodes[selectedNode].attributes.node_id).then(
|
this.hass.callApi('GET', 'zwave/groups/' + this.nodes[selectedNode].attributes.node_id).then(function (groups) {
|
||||||
function (groups) {
|
|
||||||
Object.keys(groups).forEach(function (key) {
|
Object.keys(groups).forEach(function (key) {
|
||||||
groupData.push({
|
groupData.push({
|
||||||
key: key,
|
key: key,
|
||||||
|
@ -236,8 +236,10 @@ Polymer({
|
|||||||
},
|
},
|
||||||
|
|
||||||
computeWakeupServiceData: function (wakeupInput) {
|
computeWakeupServiceData: function (wakeupInput) {
|
||||||
return { node_id: this.nodes[this.selectedNode].attributes.node_id,
|
return {
|
||||||
value: wakeupInput };
|
node_id: this.nodes[this.selectedNode].attributes.node_id,
|
||||||
|
value: wakeupInput
|
||||||
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
computeConfigValueHelp: function (selectedConfigParameter) {
|
computeConfigValueHelp: function (selectedConfigParameter) {
|
||||||
@ -257,9 +259,11 @@ Polymer({
|
|||||||
} if (this.selectedConfigParameterType === 'List') {
|
} if (this.selectedConfigParameterType === 'List') {
|
||||||
valueData = this.selectedConfigParameterValues[selectedConfigValue];
|
valueData = this.selectedConfigParameterValues[selectedConfigValue];
|
||||||
}
|
}
|
||||||
return { node_id: this.nodes[this.selectedNode].attributes.node_id,
|
return {
|
||||||
|
node_id: this.nodes[this.selectedNode].attributes.node_id,
|
||||||
parameter: this.config[this.selectedConfigParameter].key,
|
parameter: this.config[this.selectedConfigParameter].key,
|
||||||
value: valueData };
|
value: valueData
|
||||||
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
selectedConfigParameterChanged: function (selectedConfigParameter) {
|
selectedConfigParameterChanged: function (selectedConfigParameter) {
|
||||||
@ -300,8 +304,7 @@ Polymer({
|
|||||||
|
|
||||||
refreshConfig: function (selectedNode) {
|
refreshConfig: function (selectedNode) {
|
||||||
var configData = [];
|
var configData = [];
|
||||||
this.hass.callApi('GET', 'zwave/config/' + this.nodes[selectedNode].attributes.node_id).then(
|
this.hass.callApi('GET', 'zwave/config/' + this.nodes[selectedNode].attributes.node_id).then(function (config) {
|
||||||
function (config) {
|
|
||||||
Object.keys(config).forEach(function (key) {
|
Object.keys(config).forEach(function (key) {
|
||||||
configData.push({
|
configData.push({
|
||||||
key: key,
|
key: key,
|
||||||
|
@ -145,13 +145,17 @@ Polymer({
|
|||||||
var valueData = null;
|
var valueData = null;
|
||||||
if (type === 'Add') {
|
if (type === 'Add') {
|
||||||
valueData = selectedUserCodeValue;
|
valueData = selectedUserCodeValue;
|
||||||
serviceData = { node_id: this.nodes[this.selectedNode].attributes.node_id,
|
serviceData = {
|
||||||
|
node_id: this.nodes[this.selectedNode].attributes.node_id,
|
||||||
code_slot: this.selectedUserCode,
|
code_slot: this.selectedUserCode,
|
||||||
usercode: valueData };
|
usercode: valueData
|
||||||
|
};
|
||||||
}
|
}
|
||||||
if (type === 'Delete') {
|
if (type === 'Delete') {
|
||||||
serviceData = { node_id: this.nodes[this.selectedNode].attributes.node_id,
|
serviceData = {
|
||||||
code_slot: this.selectedUserCode };
|
node_id: this.nodes[this.selectedNode].attributes.node_id,
|
||||||
|
code_slot: this.selectedUserCode
|
||||||
|
};
|
||||||
}
|
}
|
||||||
return serviceData;
|
return serviceData;
|
||||||
},
|
},
|
||||||
@ -159,8 +163,7 @@ Polymer({
|
|||||||
refreshUserCodes: function (selectedNode) {
|
refreshUserCodes: function (selectedNode) {
|
||||||
this.selectedUserCodeValue = '';
|
this.selectedUserCodeValue = '';
|
||||||
var userCodes = [];
|
var userCodes = [];
|
||||||
this.hass.callApi('GET', 'zwave/usercodes/' + this.nodes[selectedNode].attributes.node_id).then(
|
this.hass.callApi('GET', 'zwave/usercodes/' + this.nodes[selectedNode].attributes.node_id).then(function (usercodes) {
|
||||||
function (usercodes) {
|
|
||||||
Object.keys(usercodes).forEach(function (key) {
|
Object.keys(usercodes).forEach(function (key) {
|
||||||
userCodes.push({
|
userCodes.push({
|
||||||
key: key,
|
key: key,
|
||||||
|
@ -122,8 +122,7 @@ Polymer({
|
|||||||
|
|
||||||
refreshValues: function (selectedNode) {
|
refreshValues: function (selectedNode) {
|
||||||
var valueData = [];
|
var valueData = [];
|
||||||
this.hass.callApi('GET', 'zwave/values/' + this.nodes[selectedNode].attributes.node_id).then(
|
this.hass.callApi('GET', 'zwave/values/' + this.nodes[selectedNode].attributes.node_id).then(function (values) {
|
||||||
function (values) {
|
|
||||||
Object.keys(values).forEach(function (key) {
|
Object.keys(values).forEach(function (key) {
|
||||||
valueData.push({
|
valueData.push({
|
||||||
key: key,
|
key: key,
|
||||||
|
@ -141,8 +141,7 @@ Polymer({
|
|||||||
|
|
||||||
this.errorLog = 'Loading error log…';
|
this.errorLog = 'Loading error log…';
|
||||||
|
|
||||||
this.hass.callApi('GET', 'error_log').then(
|
this.hass.callApi('GET', 'error_log').then(function (log) {
|
||||||
function (log) {
|
|
||||||
this.errorLog = log || 'No errors have been reported.';
|
this.errorLog = log || 'No errors have been reported.';
|
||||||
}.bind(this));
|
}.bind(this));
|
||||||
},
|
},
|
||||||
|
@ -177,8 +177,7 @@ Polymer({
|
|||||||
_computeEndTime: function (_currentDate, periodIndex) {
|
_computeEndTime: function (_currentDate, periodIndex) {
|
||||||
var startTime = this._computeStartTime(_currentDate);
|
var startTime = this._computeStartTime(_currentDate);
|
||||||
var endTime = new Date(startTime);
|
var endTime = new Date(startTime);
|
||||||
endTime.setDate(
|
endTime.setDate(startTime.getDate() + this._computeFilterDays(periodIndex));
|
||||||
startTime.getDate() + this._computeFilterDays(periodIndex));
|
|
||||||
return endTime;
|
return endTime;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -79,10 +79,10 @@ Polymer({
|
|||||||
if (this._mapItems.length === 0) {
|
if (this._mapItems.length === 0) {
|
||||||
this._map.setView(
|
this._map.setView(
|
||||||
new window.L.LatLng(this.hass.config.core.latitude, this.hass.config.core.longitude),
|
new window.L.LatLng(this.hass.config.core.latitude, this.hass.config.core.longitude),
|
||||||
14);
|
14
|
||||||
|
);
|
||||||
} else {
|
} else {
|
||||||
bounds = new window.L.latLngBounds(
|
bounds = new window.L.latLngBounds(this._mapItems.map(item => item.getLatLng()));
|
||||||
this._mapItems.map(function (item) { return item.getLatLng(); }));
|
|
||||||
this._map.fitBounds(bounds.pad(0.5));
|
this._map.fitBounds(bounds.pad(0.5));
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -91,7 +91,8 @@ Polymer({
|
|||||||
function () {
|
function () {
|
||||||
this.updateCameraFeedSrc(this.stateObj);
|
this.updateCameraFeedSrc(this.stateObj);
|
||||||
}.bind(this),
|
}.bind(this),
|
||||||
this.UPDATE_INTERVAL);
|
this.UPDATE_INTERVAL
|
||||||
|
);
|
||||||
},
|
},
|
||||||
|
|
||||||
detached: function () {
|
detached: function () {
|
||||||
|
@ -22,8 +22,10 @@ Polymer({
|
|||||||
cardDataChanged: function (newData) {
|
cardDataChanged: function (newData) {
|
||||||
if (!newData) return;
|
if (!newData) return;
|
||||||
|
|
||||||
window.hassUtil.dynamicContentUpdater(this, 'HA-' + newData.cardType.toUpperCase() + '-CARD',
|
window.hassUtil.dynamicContentUpdater(
|
||||||
newData);
|
this, 'HA-' + newData.cardType.toUpperCase() + '-CARD',
|
||||||
|
newData
|
||||||
|
);
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
@ -153,8 +153,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!this.chartEngine) {
|
if (!this.chartEngine) {
|
||||||
this.chartEngine = new window.google.visualization.LineChart(
|
this.chartEngine = new window.google.visualization.LineChart(this.$.chart_id);
|
||||||
this.$.chart_id);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!this.attr.forecast) {
|
if (!this.attr.forecast) {
|
||||||
|
@ -129,7 +129,8 @@ Polymer({
|
|||||||
currentState = this.stateObj;
|
currentState = this.stateObj;
|
||||||
this.hass.callService(
|
this.hass.callService(
|
||||||
serviceDomain, service,
|
serviceDomain, service,
|
||||||
{ entity_id: this.stateObj.entity_id })
|
{ entity_id: this.stateObj.entity_id }
|
||||||
|
)
|
||||||
.then(function () {
|
.then(function () {
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
// If after 2 seconds we have not received a state update
|
// If after 2 seconds we have not received a state update
|
||||||
|
@ -57,8 +57,7 @@
|
|||||||
if (!stateObj) {
|
if (!stateObj) {
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
return Object.keys(stateObj.attributes).filter(
|
return Object.keys(stateObj.attributes).filter(function (key) {
|
||||||
function (key) {
|
|
||||||
return filtersArray.indexOf(key) === -1;
|
return filtersArray.indexOf(key) === -1;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
@ -189,14 +189,18 @@
|
|||||||
'updateCards(columns, states, showIntroduction, panelVisible, viewVisible, orderedGroups)',
|
'updateCards(columns, states, showIntroduction, panelVisible, viewVisible, orderedGroups)',
|
||||||
],
|
],
|
||||||
|
|
||||||
updateCards: function (columns, states, showIntroduction, panelVisible, viewVisible,
|
updateCards: function (
|
||||||
orderedGroups) {
|
columns,
|
||||||
/* eslint-disable no-console */
|
states,
|
||||||
|
showIntroduction,
|
||||||
|
panelVisible,
|
||||||
|
viewVisible,
|
||||||
|
orderedGroups
|
||||||
|
) {
|
||||||
if (!panelVisible || !viewVisible) {
|
if (!panelVisible || !viewVisible) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.debounce(
|
this.debounce('updateCards', function () {
|
||||||
'updateCards', function () {
|
|
||||||
// Things might have changed since it got scheduled.
|
// Things might have changed since it got scheduled.
|
||||||
if (this.panelVisible && this.viewVisible) {
|
if (this.panelVisible && this.viewVisible) {
|
||||||
this.cards = this.computeCards(columns, states, showIntroduction, orderedGroups);
|
this.cards = this.computeCards(columns, states, showIntroduction, orderedGroups);
|
||||||
|
@ -99,8 +99,7 @@
|
|||||||
}, 2010, this);
|
}, 2010, this);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
});
|
||||||
);
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</dom-module>
|
</dom-module>
|
||||||
|
@ -52,7 +52,8 @@ Polymer({
|
|||||||
function () {
|
function () {
|
||||||
// no service worker.
|
// no service worker.
|
||||||
el._setPushSupported(false);
|
el._setPushSupported(false);
|
||||||
});
|
}
|
||||||
|
);
|
||||||
},
|
},
|
||||||
handlePushChange: function (ev) {
|
handlePushChange: function (ev) {
|
||||||
if (ev.target.checked) {
|
if (ev.target.checked) {
|
||||||
|
@ -172,7 +172,6 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
class HaSidebar extends window.hassMixins.EventsMixin(Polymer.Element) {
|
class HaSidebar extends window.hassMixins.EventsMixin(Polymer.Element) {
|
||||||
|
|
||||||
static get is() { return 'ha-sidebar'; }
|
static get is() { return 'ha-sidebar'; }
|
||||||
|
|
||||||
static get properties() {
|
static get properties() {
|
||||||
|
@ -123,8 +123,7 @@
|
|||||||
|
|
||||||
endTime = this.endTime ||
|
endTime = this.endTime ||
|
||||||
new Date(Math.max.apply(null, deviceStates.map(states =>
|
new Date(Math.max.apply(null, deviceStates.map(states =>
|
||||||
new Date(states.states[states.states.length - 1].last_changed)
|
new Date(states.states[states.states.length - 1].last_changed))));
|
||||||
)));
|
|
||||||
if (endTime > new Date()) {
|
if (endTime > new Date()) {
|
||||||
endTime = new Date();
|
endTime = new Date();
|
||||||
}
|
}
|
||||||
@ -162,8 +161,7 @@
|
|||||||
// if we have to prevent interpolation, we add an old value for each
|
// if we have to prevent interpolation, we add an old value for each
|
||||||
// value that should not be interpolated at the same time that our new
|
// value that should not be interpolated at the same time that our new
|
||||||
// line will be published.
|
// line will be published.
|
||||||
data.push([timestamp].concat(prevValues.slice(1).map(
|
data.push([timestamp].concat(prevValues.slice(1).map(function (val, index) {
|
||||||
function (val, index) {
|
|
||||||
return noInterpolationValues[index] ? val : null;
|
return noInterpolationValues[index] ? val : null;
|
||||||
})));
|
})));
|
||||||
}
|
}
|
||||||
@ -174,8 +172,7 @@
|
|||||||
if (domain === 'thermostat' || domain === 'climate') {
|
if (domain === 'thermostat' || domain === 'climate') {
|
||||||
// We differentiate between thermostats that have a target temperature
|
// We differentiate between thermostats that have a target temperature
|
||||||
// range versus ones that have just a target temperature
|
// range versus ones that have just a target temperature
|
||||||
hasTargetRange = states.states.reduce(
|
hasTargetRange = states.states.reduce(function (cum, cur) {
|
||||||
function (cum, cur) {
|
|
||||||
return cum || cur.attributes.target_temp_high !== cur.attributes.target_temp_low;
|
return cum || cur.attributes.target_temp_high !== cur.attributes.target_temp_low;
|
||||||
}, false);
|
}, false);
|
||||||
|
|
||||||
@ -193,7 +190,8 @@
|
|||||||
var targetLow = saveParseFloat(state.attributes.target_temp_low);
|
var targetLow = saveParseFloat(state.attributes.target_temp_low);
|
||||||
pushData(
|
pushData(
|
||||||
[new Date(state.last_changed), curTemp, targetHigh, targetLow],
|
[new Date(state.last_changed), curTemp, targetHigh, targetLow],
|
||||||
noInterpolations);
|
noInterpolations
|
||||||
|
);
|
||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
dataTable.addColumn('number', name + ' target temperature');
|
dataTable.addColumn('number', name + ' target temperature');
|
||||||
@ -235,9 +233,11 @@
|
|||||||
return window.google.visualization.data.join(
|
return window.google.visualization.data.join(
|
||||||
tot, cur, 'full', [[0, 0]],
|
tot, cur, 'full', [[0, 0]],
|
||||||
range(1, tot.getNumberOfColumns()),
|
range(1, tot.getNumberOfColumns()),
|
||||||
range(1, cur.getNumberOfColumns()));
|
range(1, cur.getNumberOfColumns())
|
||||||
|
);
|
||||||
},
|
},
|
||||||
dataTables[0]);
|
dataTables[0]
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.chartEngine.draw(finalDataTable, options);
|
this.chartEngine.draw(finalDataTable, options);
|
||||||
|
@ -67,18 +67,17 @@ class StateHistoryChartTimeline extends
|
|||||||
dataTable.addRow([entityDisplay, stateDisplay, start, end]);
|
dataTable.addRow([entityDisplay, stateDisplay, start, end]);
|
||||||
}
|
}
|
||||||
|
|
||||||
startTime = new Date(
|
startTime = new Date(stateHistory.reduce(function (minTime, stateInfo) {
|
||||||
stateHistory.reduce(
|
|
||||||
function (minTime, stateInfo) {
|
|
||||||
return Math.min(minTime, new Date(stateInfo.data[0].last_changed));
|
return Math.min(minTime, new Date(stateInfo.data[0].last_changed));
|
||||||
}, new Date()));
|
}, new Date()));
|
||||||
|
|
||||||
// end time is Math.max(startTime, last_event)
|
// end time is Math.max(startTime, last_event)
|
||||||
endTime = this.endTime ||
|
endTime = this.endTime ||
|
||||||
new Date(stateHistory.reduce(
|
new Date(stateHistory.reduce(function (maxTime, stateInfo) {
|
||||||
function (maxTime, stateInfo) {
|
return Math.max(
|
||||||
return Math.max(maxTime,
|
maxTime,
|
||||||
new Date(stateInfo.data[stateInfo.data.length - 1].last_changed));
|
new Date(stateInfo.data[stateInfo.data.length - 1].last_changed)
|
||||||
|
);
|
||||||
}, startTime));
|
}, startTime));
|
||||||
|
|
||||||
if (endTime > new Date()) {
|
if (endTime > new Date()) {
|
||||||
|
@ -21,8 +21,7 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const stateWithUnit = stateInfo.find(
|
const stateWithUnit = stateInfo.find(state => 'unit_of_measurement' in state.attributes);
|
||||||
state => 'unit_of_measurement' in state.attributes);
|
|
||||||
|
|
||||||
const unit = stateWithUnit ?
|
const unit = stateWithUnit ?
|
||||||
stateWithUnit.attributes.unit_of_measurement : false;
|
stateWithUnit.attributes.unit_of_measurement : false;
|
||||||
@ -45,8 +44,7 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
const unitStates = Object.keys(lineChartDevices).map(
|
const unitStates = Object.keys(lineChartDevices).map(unit => ({
|
||||||
unit => ({
|
|
||||||
unit: unit,
|
unit: unit,
|
||||||
data: lineChartDevices[unit].map((states) => {
|
data: lineChartDevices[unit].map((states) => {
|
||||||
const last = states[states.length - 1];
|
const last = states[states.length - 1];
|
||||||
@ -75,8 +73,7 @@
|
|||||||
}),
|
}),
|
||||||
}));
|
}));
|
||||||
|
|
||||||
return {
|
return { line: unitStates, timeline: timelineDevices };
|
||||||
line: unitStates, timeline: timelineDevices };
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class HaStateHistoryData extends Polymer.Element {
|
class HaStateHistoryData extends Polymer.Element {
|
||||||
@ -129,8 +126,10 @@
|
|||||||
|
|
||||||
hassChanged(newHass, oldHass) {
|
hassChanged(newHass, oldHass) {
|
||||||
if (!oldHass && !this._madeFirstCall) {
|
if (!oldHass && !this._madeFirstCall) {
|
||||||
this.filterChanged(this.filterType, this.entityId, this.startTime, this.endTime,
|
this.filterChanged(
|
||||||
this.cacheConfig);
|
this.filterType, this.entityId, this.startTime, this.endTime,
|
||||||
|
this.cacheConfig
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -299,7 +298,8 @@
|
|||||||
() => {
|
() => {
|
||||||
RECENT_CACHE[entityId] = false;
|
RECENT_CACHE[entityId] = false;
|
||||||
return null;
|
return null;
|
||||||
});
|
}
|
||||||
|
);
|
||||||
|
|
||||||
RECENT_CACHE[cacheKey] = {
|
RECENT_CACHE[cacheKey] = {
|
||||||
created: Date.now(),
|
created: Date.now(),
|
||||||
@ -329,7 +329,8 @@
|
|||||||
|
|
||||||
const prom = this.hass.callApi('GET', 'history/period/' + filter).then(
|
const prom = this.hass.callApi('GET', 'history/period/' + filter).then(
|
||||||
stateHistory => computeHistory(stateHistory),
|
stateHistory => computeHistory(stateHistory),
|
||||||
() => null);
|
() => null
|
||||||
|
);
|
||||||
|
|
||||||
return prom;
|
return prom;
|
||||||
}
|
}
|
||||||
|
@ -183,8 +183,8 @@ class MoreInfoDialog extends window.hassMixins.EventsMixin(Polymer.Element) {
|
|||||||
|
|
||||||
computeShowHistoryComponent(hasHistoryComponent, stateObj) {
|
computeShowHistoryComponent(hasHistoryComponent, stateObj) {
|
||||||
return this.hasHistoryComponent && stateObj &&
|
return this.hasHistoryComponent && stateObj &&
|
||||||
window.hassUtil.DOMAINS_WITH_NO_HISTORY.indexOf(
|
window.hassUtil.DOMAINS_WITH_NO_HISTORY
|
||||||
window.hassUtil.computeDomain(stateObj)) === -1;
|
.indexOf(window.hassUtil.computeDomain(stateObj)) === -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
stateObjChanged(newVal) {
|
stateObjChanged(newVal) {
|
||||||
|
@ -49,7 +49,6 @@ window.removeInitMsg = function () {
|
|||||||
};
|
};
|
||||||
|
|
||||||
class HomeAssistant extends Polymer.Element {
|
class HomeAssistant extends Polymer.Element {
|
||||||
|
|
||||||
static get is() { return 'home-assistant'; }
|
static get is() { return 'home-assistant'; }
|
||||||
|
|
||||||
static get properties() {
|
static get properties() {
|
||||||
@ -105,10 +104,12 @@ class HomeAssistant extends Polymer.Element {
|
|||||||
this.iconsLoaded = true;
|
this.iconsLoaded = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
Polymer.importHref('/static/mdi-' + this.icons + '.html',
|
Polymer.importHref(
|
||||||
|
'/static/mdi-' + this.icons + '.html',
|
||||||
success,
|
success,
|
||||||
() => Polymer.importHref('/static/mdi.html', success, success),
|
() => Polymer.importHref('/static/mdi.html', success, success),
|
||||||
true /* true for async */);
|
true /* true for async */
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
connectionChanged(conn, oldConn) {
|
connectionChanged(conn, oldConn) {
|
||||||
@ -131,7 +132,8 @@ class HomeAssistant extends Polymer.Element {
|
|||||||
moreInfoEntityId: null,
|
moreInfoEntityId: null,
|
||||||
callService: (domain, service, serviceData) =>
|
callService: (domain, service, serviceData) =>
|
||||||
conn.callService(domain, service, serviceData || {})
|
conn.callService(domain, service, serviceData || {})
|
||||||
.then(() => {
|
.then(
|
||||||
|
() => {
|
||||||
var message;
|
var message;
|
||||||
var name;
|
var name;
|
||||||
if (serviceData.entity_id && this.hass.states &&
|
if (serviceData.entity_id && this.hass.states &&
|
||||||
@ -148,10 +150,10 @@ class HomeAssistant extends Polymer.Element {
|
|||||||
notifications.showNotification(message);
|
notifications.showNotification(message);
|
||||||
},
|
},
|
||||||
function () {
|
function () {
|
||||||
notifications.showNotification(
|
notifications.showNotification('Failed to call service ' + domain + '/' + service);
|
||||||
'Failed to call service ' + domain + '/' + service);
|
|
||||||
return Promise.reject();
|
return Promise.reject();
|
||||||
}),
|
}
|
||||||
|
),
|
||||||
callApi: (method, path, parameters) => {
|
callApi: (method, path, parameters) => {
|
||||||
var host = window.location.protocol + '//' + window.location.host;
|
var host = window.location.protocol + '//' + window.location.host;
|
||||||
var auth = conn.options.authToken ? conn.options : {};
|
var auth = conn.options.authToken ? conn.options : {};
|
||||||
|
@ -368,8 +368,7 @@ Polymer({
|
|||||||
if (currentView) {
|
if (currentView) {
|
||||||
states = window.HAWS.getViewEntities(hass.states, hass.states[currentView]);
|
states = window.HAWS.getViewEntities(hass.states, hass.states[currentView]);
|
||||||
} else {
|
} else {
|
||||||
states = window.HAWS.getViewEntities(
|
states = window.HAWS.getViewEntities(hass.states, hass.states[this.DEFAULT_VIEW_ENTITY_ID]);
|
||||||
hass.states, hass.states[this.DEFAULT_VIEW_ENTITY_ID]);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Make sure certain domains are always shown.
|
// Make sure certain domains are always shown.
|
||||||
|
@ -95,8 +95,7 @@ Polymer({
|
|||||||
panel.url,
|
panel.url,
|
||||||
|
|
||||||
function success() {
|
function success() {
|
||||||
window.hassUtil.dynamicContentUpdater(
|
window.hassUtil.dynamicContentUpdater(this.$.panel, 'ha-panel-' + panel.component_name, {
|
||||||
this.$.panel, 'ha-panel-' + panel.component_name, {
|
|
||||||
hass: this.hass,
|
hass: this.hass,
|
||||||
narrow: this.narrow,
|
narrow: this.narrow,
|
||||||
showMenu: this.showMenu,
|
showMenu: this.showMenu,
|
||||||
@ -110,7 +109,8 @@ Polymer({
|
|||||||
this.errorLoading = true;
|
this.errorLoading = true;
|
||||||
}.bind(this),
|
}.bind(this),
|
||||||
|
|
||||||
true /* async */);
|
true /* async */
|
||||||
|
);
|
||||||
},
|
},
|
||||||
|
|
||||||
updateAttributes: function () {
|
updateAttributes: function () {
|
||||||
|
@ -224,22 +224,20 @@ Polymer({
|
|||||||
this.auxToggleChecked = newVal.attributes.aux_heat === 'on';
|
this.auxToggleChecked = newVal.attributes.aux_heat === 'on';
|
||||||
|
|
||||||
if (newVal.attributes.fan_list) {
|
if (newVal.attributes.fan_list) {
|
||||||
this.fanIndex = newVal.attributes.fan_list.indexOf(
|
this.fanIndex = newVal.attributes.fan_list.indexOf(newVal.attributes.fan_mode);
|
||||||
newVal.attributes.fan_mode);
|
|
||||||
} else {
|
} else {
|
||||||
this.fanIndex = -1;
|
this.fanIndex = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (newVal.attributes.operation_list) {
|
if (newVal.attributes.operation_list) {
|
||||||
this.operationIndex = newVal.attributes.operation_list.indexOf(
|
this.operationIndex =
|
||||||
newVal.attributes.operation_mode);
|
newVal.attributes.operation_list.indexOf(newVal.attributes.operation_mode);
|
||||||
} else {
|
} else {
|
||||||
this.operationIndex = -1;
|
this.operationIndex = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (newVal.attributes.swing_list) {
|
if (newVal.attributes.swing_list) {
|
||||||
this.swingIndex = newVal.attributes.swing_list.indexOf(
|
this.swingIndex = newVal.attributes.swing_list.indexOf(newVal.attributes.swing_mode);
|
||||||
newVal.attributes.swing_mode);
|
|
||||||
} else {
|
} else {
|
||||||
this.swingIndex = -1;
|
this.swingIndex = -1;
|
||||||
}
|
}
|
||||||
@ -276,12 +274,10 @@ Polymer({
|
|||||||
},
|
},
|
||||||
|
|
||||||
computeClassNames: function (stateObj) {
|
computeClassNames: function (stateObj) {
|
||||||
return 'more-info-climate ' + window.hassUtil.attributeClassNames(
|
return 'more-info-climate ' + window.hassUtil.attributeClassNames(stateObj, [
|
||||||
stateObj, [
|
|
||||||
'away_mode', 'aux_heat', 'temperature', 'humidity', 'operation_list',
|
'away_mode', 'aux_heat', 'temperature', 'humidity', 'operation_list',
|
||||||
'fan_list', 'swing_list',
|
'fan_list', 'swing_list',
|
||||||
]
|
]);
|
||||||
);
|
|
||||||
},
|
},
|
||||||
|
|
||||||
targetTemperatureChanged: function (ev) {
|
targetTemperatureChanged: function (ev) {
|
||||||
@ -298,12 +294,10 @@ Polymer({
|
|||||||
|
|
||||||
if (targetTempLow === this.stateObj.attributes.target_temp_low &&
|
if (targetTempLow === this.stateObj.attributes.target_temp_low &&
|
||||||
targetTempHigh === this.stateObj.attributes.target_temp_high) return;
|
targetTempHigh === this.stateObj.attributes.target_temp_high) return;
|
||||||
this.callServiceHelper(
|
this.callServiceHelper('set_temperature', {
|
||||||
'set_temperature', {
|
|
||||||
target_temp_low: targetTempLow,
|
target_temp_low: targetTempLow,
|
||||||
target_temp_high: targetTempHigh,
|
target_temp_high: targetTempHigh,
|
||||||
}
|
});
|
||||||
);
|
|
||||||
},
|
},
|
||||||
|
|
||||||
targetHumiditySliderChanged: function (ev) {
|
targetHumiditySliderChanged: function (ev) {
|
||||||
|
@ -48,7 +48,8 @@ Polymer({
|
|||||||
} else {
|
} else {
|
||||||
window.hassUtil.dynamicContentUpdater(
|
window.hassUtil.dynamicContentUpdater(
|
||||||
this, 'MORE-INFO-' + window.hassUtil.stateMoreInfoType(stateObj).toUpperCase(),
|
this, 'MORE-INFO-' + window.hassUtil.stateMoreInfoType(stateObj).toUpperCase(),
|
||||||
{ hass: this.hass, stateObj: stateObj, isVisible: true });
|
{ hass: this.hass, stateObj: stateObj, isVisible: true }
|
||||||
|
);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
@ -95,8 +95,7 @@ Polymer({
|
|||||||
this.oscillationToggleChecked = newVal.attributes.oscillating;
|
this.oscillationToggleChecked = newVal.attributes.oscillating;
|
||||||
|
|
||||||
if (newVal.attributes.speed_list) {
|
if (newVal.attributes.speed_list) {
|
||||||
this.speedIndex = newVal.attributes.speed_list.indexOf(
|
this.speedIndex = newVal.attributes.speed_list.indexOf(newVal.attributes.speed);
|
||||||
newVal.attributes.speed);
|
|
||||||
} else {
|
} else {
|
||||||
this.speedIndex = -1;
|
this.speedIndex = -1;
|
||||||
}
|
}
|
||||||
@ -109,9 +108,7 @@ Polymer({
|
|||||||
},
|
},
|
||||||
|
|
||||||
computeClassNames: function (stateObj) {
|
computeClassNames: function (stateObj) {
|
||||||
return 'more-info-fan ' + window.hassUtil.attributeClassNames(
|
return 'more-info-fan ' + window.hassUtil.attributeClassNames(stateObj, ['oscillating', 'speed_list', 'direction']);
|
||||||
stateObj, ['oscillating', 'speed_list', 'direction']
|
|
||||||
);
|
|
||||||
},
|
},
|
||||||
|
|
||||||
speedChanged: function (speedIndex) {
|
speedChanged: function (speedIndex) {
|
||||||
|
@ -96,7 +96,8 @@ Polymer({
|
|||||||
window.hassUtil.dynamicContentUpdater(
|
window.hassUtil.dynamicContentUpdater(
|
||||||
this.$.groupedControlDetails,
|
this.$.groupedControlDetails,
|
||||||
'MORE-INFO-' + window.hassUtil.stateMoreInfoType(groupDomainStateObj).toUpperCase(),
|
'MORE-INFO-' + window.hassUtil.stateMoreInfoType(groupDomainStateObj).toUpperCase(),
|
||||||
{ stateObj: groupDomainStateObj, hass: this.hass });
|
{ stateObj: groupDomainStateObj, hass: this.hass }
|
||||||
|
);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
@ -138,8 +138,7 @@ Polymer({
|
|||||||
this.wvSliderValue = newVal.attributes.white_value;
|
this.wvSliderValue = newVal.attributes.white_value;
|
||||||
|
|
||||||
if (newVal.attributes.effect_list) {
|
if (newVal.attributes.effect_list) {
|
||||||
this.effectIndex = newVal.attributes.effect_list.indexOf(
|
this.effectIndex = newVal.attributes.effect_list.indexOf(newVal.attributes.effect);
|
||||||
newVal.attributes.effect);
|
|
||||||
} else {
|
} else {
|
||||||
this.effectIndex = -1;
|
this.effectIndex = -1;
|
||||||
}
|
}
|
||||||
@ -160,8 +159,7 @@ Polymer({
|
|||||||
|
|
||||||
computeClassNames: function (stateObj) {
|
computeClassNames: function (stateObj) {
|
||||||
var classes = [
|
var classes = [
|
||||||
window.hassUtil.attributeClassNames(
|
window.hassUtil.attributeClassNames(stateObj, ['color_temp', 'white_value', 'effect_list']),
|
||||||
stateObj, ['color_temp', 'white_value', 'effect_list']),
|
|
||||||
window.hassUtil.featureClassNames(stateObj, this.featureClassNames),
|
window.hassUtil.featureClassNames(stateObj, this.featureClassNames),
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
class StateCardContent extends Polymer.Element {
|
class StateCardContent extends Polymer.Element {
|
||||||
|
|
||||||
static get is() { return 'state-card-content'; }
|
static get is() { return 'state-card-content'; }
|
||||||
|
|
||||||
static get properties() {
|
static get properties() {
|
||||||
@ -54,7 +53,8 @@ class StateCardContent extends Polymer.Element {
|
|||||||
hass: hass,
|
hass: hass,
|
||||||
stateObj: stateObj,
|
stateObj: stateObj,
|
||||||
inDialog: inDialog,
|
inDialog: inDialog,
|
||||||
});
|
}
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
customElements.define(StateCardContent.is, StateCardContent);
|
customElements.define(StateCardContent.is, StateCardContent);
|
||||||
|
@ -44,7 +44,6 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
class StateCardInputNumber extends Polymer.Element {
|
class StateCardInputNumber extends Polymer.Element {
|
||||||
|
|
||||||
static get is() { return 'state-card-input_number'; }
|
static get is() { return 'state-card-input_number'; }
|
||||||
|
|
||||||
static get properties() {
|
static get properties() {
|
||||||
|
@ -37,7 +37,6 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
class StateCardInputText extends Polymer.Element {
|
class StateCardInputText extends Polymer.Element {
|
||||||
|
|
||||||
static get is() { return 'state-card-input_text'; }
|
static get is() { return 'state-card-input_text'; }
|
||||||
|
|
||||||
static get properties() {
|
static get properties() {
|
||||||
|
@ -49,7 +49,8 @@ Polymer({
|
|||||||
ev.stopPropagation();
|
ev.stopPropagation();
|
||||||
this.hass.callService(
|
this.hass.callService(
|
||||||
'scene', 'turn_on',
|
'scene', 'turn_on',
|
||||||
{ entity_id: this.stateObj.entity_id });
|
{ entity_id: this.stateObj.entity_id }
|
||||||
|
);
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
@ -55,7 +55,8 @@ Polymer({
|
|||||||
ev.stopPropagation();
|
ev.stopPropagation();
|
||||||
this.hass.callService(
|
this.hass.callService(
|
||||||
'script', 'turn_on',
|
'script', 'turn_on',
|
||||||
{ entity_id: this.stateObj.entity_id });
|
{ entity_id: this.stateObj.entity_id }
|
||||||
|
);
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
@ -6,8 +6,10 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
function addGetter(name, getter) {
|
function addGetter(name, getter) {
|
||||||
Object.defineProperty(window.CoverEntity.prototype, name,
|
Object.defineProperty(
|
||||||
{ get: getter });
|
window.CoverEntity.prototype, name,
|
||||||
|
{ get: getter }
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
addGetter('isFullyOpen', function () {
|
addGetter('isFullyOpen', function () {
|
||||||
|
@ -32,10 +32,12 @@ window.hassAttributeUtil.LOGIC_STATE_ATTRIBUTES =
|
|||||||
icon: { type: 'icon' },
|
icon: { type: 'icon' },
|
||||||
emulated_hue: {
|
emulated_hue: {
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
domains: ['emulated_hue'] },
|
domains: ['emulated_hue']
|
||||||
|
},
|
||||||
emulated_hue_name: {
|
emulated_hue_name: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
domains: ['emulated_hue'] },
|
domains: ['emulated_hue']
|
||||||
|
},
|
||||||
haaska_hidden: undefined,
|
haaska_hidden: undefined,
|
||||||
haaska_name: undefined,
|
haaska_name: undefined,
|
||||||
homebridge_hidden: { type: 'boolean' },
|
homebridge_hidden: { type: 'boolean' },
|
||||||
@ -47,14 +49,17 @@ window.hassAttributeUtil.LOGIC_STATE_ATTRIBUTES =
|
|||||||
type: 'array',
|
type: 'array',
|
||||||
options: window.hassAttributeUtil.DOMAIN_DEVICE_CLASS,
|
options: window.hassAttributeUtil.DOMAIN_DEVICE_CLASS,
|
||||||
description: 'Device class',
|
description: 'Device class',
|
||||||
domains: ['binary_sensor', 'cover'] },
|
domains: ['binary_sensor', 'cover']
|
||||||
|
},
|
||||||
hidden: { type: 'boolean', description: 'Hide from UI' },
|
hidden: { type: 'boolean', description: 'Hide from UI' },
|
||||||
assumed_state: {
|
assumed_state: {
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
domains: ['switch', 'light', 'cover', 'climate', 'fan', 'group'] },
|
domains: ['switch', 'light', 'cover', 'climate', 'fan', 'group']
|
||||||
|
},
|
||||||
initial_state: {
|
initial_state: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
domains: ['automation'] },
|
domains: ['automation']
|
||||||
|
},
|
||||||
unit_of_measurement: { type: 'string' },
|
unit_of_measurement: { type: 'string' },
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
@ -22,7 +22,7 @@ window.hassCallApi = function (host, auth, method, path, parameters) {
|
|||||||
if (data) {
|
if (data) {
|
||||||
resolve(data);
|
resolve(data);
|
||||||
} else {
|
} else {
|
||||||
reject('Request not allowed in demo mode.');
|
reject(new Error('Request not allowed in demo mode.'));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -33,9 +33,7 @@
|
|||||||
window.hassMixins = window.hassMixins || {};
|
window.hassMixins = window.hassMixins || {};
|
||||||
|
|
||||||
/* @polymerMixin */
|
/* @polymerMixin */
|
||||||
window.hassMixins.EventsMixin = Polymer.dedupingMixin(
|
window.hassMixins.EventsMixin = Polymer.dedupingMixin(superClass => class extends superClass {
|
||||||
superClass => class extends superClass {
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Dispatches a custom event with an optional detail value.
|
* Dispatches a custom event with an optional detail value.
|
||||||
*
|
*
|
||||||
@ -64,12 +62,11 @@ window.hassMixins.EventsMixin = Polymer.dedupingMixin(
|
|||||||
node.dispatchEvent(event);
|
node.dispatchEvent(event);
|
||||||
return event;
|
return event;
|
||||||
}
|
}
|
||||||
}
|
});
|
||||||
);
|
|
||||||
|
|
||||||
/* @polymerMixin */
|
/* @polymerMixin */
|
||||||
window.hassMixins.NavigateMixin = Polymer.dedupingMixin(
|
window.hassMixins.NavigateMixin = Polymer.dedupingMixin(superClass =>
|
||||||
superClass => class extends window.hassMixins.EventsMixin(superClass) {
|
class extends window.hassMixins.EventsMixin(superClass) {
|
||||||
navigate(path, replace = false) {
|
navigate(path, replace = false) {
|
||||||
if (replace) {
|
if (replace) {
|
||||||
history.replaceState(null, null, path);
|
history.replaceState(null, null, path);
|
||||||
@ -78,6 +75,6 @@ window.hassMixins.NavigateMixin = Polymer.dedupingMixin(
|
|||||||
}
|
}
|
||||||
this.fire('location-changed');
|
this.fire('location-changed');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
@ -40,11 +40,9 @@ window.hassUtil.LANGUAGE = navigator.languages ?
|
|||||||
|
|
||||||
window.hassUtil.attributeClassNames = function (stateObj, attributes) {
|
window.hassUtil.attributeClassNames = function (stateObj, attributes) {
|
||||||
if (!stateObj) return '';
|
if (!stateObj) return '';
|
||||||
return attributes.map(
|
return attributes.map(function (attribute) {
|
||||||
function (attribute) {
|
|
||||||
return attribute in stateObj.attributes ? 'has-' + attribute : '';
|
return attribute in stateObj.attributes ? 'has-' + attribute : '';
|
||||||
}
|
}).join(' ');
|
||||||
).join(' ');
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// Expects featureClassNames to be an object mapping feature-bit -> className
|
// Expects featureClassNames to be an object mapping feature-bit -> className
|
||||||
@ -53,11 +51,9 @@ window.hassUtil.featureClassNames = function (stateObj, featureClassNames) {
|
|||||||
|
|
||||||
var features = stateObj.attributes.supported_features;
|
var features = stateObj.attributes.supported_features;
|
||||||
|
|
||||||
return Object.keys(featureClassNames).map(
|
return Object.keys(featureClassNames).map(function (feature) {
|
||||||
function (feature) {
|
|
||||||
return (features & feature) !== 0 ? featureClassNames[feature] : '';
|
return (features & feature) !== 0 ? featureClassNames[feature] : '';
|
||||||
}
|
}).join(' ');
|
||||||
).join(' ');
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@ -164,8 +160,10 @@ if (toLocaleStringSupportsOptions()) {
|
|||||||
|
|
||||||
if (toLocaleDateStringSupportsOptions()) {
|
if (toLocaleDateStringSupportsOptions()) {
|
||||||
window.hassUtil.formatDate = function (dateObj) {
|
window.hassUtil.formatDate = function (dateObj) {
|
||||||
return dateObj.toLocaleDateString(window.hassUtil.LANGUAGE,
|
return dateObj.toLocaleDateString(
|
||||||
{ year: 'numeric', month: 'long', day: 'numeric' });
|
window.hassUtil.LANGUAGE,
|
||||||
|
{ year: 'numeric', month: 'long', day: 'numeric' }
|
||||||
|
);
|
||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
window.hassUtil.formatDate = function (dateObj) {
|
window.hassUtil.formatDate = function (dateObj) {
|
||||||
@ -175,8 +173,10 @@ if (toLocaleDateStringSupportsOptions()) {
|
|||||||
|
|
||||||
if (toLocaleTimeStringSupportsOptions()) {
|
if (toLocaleTimeStringSupportsOptions()) {
|
||||||
window.hassUtil.formatTime = function (dateObj) {
|
window.hassUtil.formatTime = function (dateObj) {
|
||||||
return dateObj.toLocaleTimeString(window.hassUtil.LANGUAGE,
|
return dateObj.toLocaleTimeString(
|
||||||
{ hour: 'numeric', minute: '2-digit' });
|
window.hassUtil.LANGUAGE,
|
||||||
|
{ hour: 'numeric', minute: '2-digit' }
|
||||||
|
);
|
||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
window.hassUtil.formatTime = function (dateObj) {
|
window.hassUtil.formatTime = function (dateObj) {
|
||||||
@ -193,8 +193,10 @@ window.hassUtil.relativeTime = function (dateObj) {
|
|||||||
for (i = 0; i < tests.length; i += 2) {
|
for (i = 0; i < tests.length; i += 2) {
|
||||||
if (delta < tests[i]) {
|
if (delta < tests[i]) {
|
||||||
delta = Math.floor(delta);
|
delta = Math.floor(delta);
|
||||||
return format.replace('%s',
|
return format.replace(
|
||||||
delta === 1 ? '1 ' + tests[i + 1] : delta + ' ' + tests[i + 1] + 's');
|
'%s',
|
||||||
|
delta === 1 ? '1 ' + tests[i + 1] : delta + ' ' + tests[i + 1] + 's'
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
delta /= tests[i];
|
delta /= tests[i];
|
||||||
@ -353,8 +355,7 @@ window.hassUtil.domainIcon = function (domain, state) {
|
|||||||
|
|
||||||
default:
|
default:
|
||||||
/* eslint-disable no-console */
|
/* eslint-disable no-console */
|
||||||
console.warn(
|
console.warn('Unable to find icon for domain ' + domain + ' (' + state + ')');
|
||||||
'Unable to find icon for domain ' + domain + ' (' + state + ')');
|
|
||||||
/* eslint-enable no-console */
|
/* eslint-enable no-console */
|
||||||
return window.hassUtil.DEFAULT_ICON;
|
return window.hassUtil.DEFAULT_ICON;
|
||||||
}
|
}
|
||||||
|
@ -6,8 +6,10 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
function addGetter(name, getter) {
|
function addGetter(name, getter) {
|
||||||
Object.defineProperty(window.MediaPlayerEntity.prototype, name,
|
Object.defineProperty(
|
||||||
{ get: getter });
|
window.MediaPlayerEntity.prototype, name,
|
||||||
|
{ get: getter }
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
addGetter('isOff', function () {
|
addGetter('isOff', function () {
|
||||||
@ -39,8 +41,7 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
addGetter('hasMediaControl', function () {
|
addGetter('hasMediaControl', function () {
|
||||||
return ['playing', 'paused', 'unknown'].indexOf(
|
return ['playing', 'paused', 'unknown'].indexOf(this.stateObj.state) !== -1;
|
||||||
this.stateObj.state) !== -1;
|
|
||||||
});
|
});
|
||||||
|
|
||||||
addGetter('volumeSliderValue', function () {
|
addGetter('volumeSliderValue', function () {
|
||||||
|
398
yarn.lock
398
yarn.lock
@ -511,18 +511,18 @@ agent-base@2:
|
|||||||
extend "~3.0.0"
|
extend "~3.0.0"
|
||||||
semver "~5.0.1"
|
semver "~5.0.1"
|
||||||
|
|
||||||
ajv-keywords@^1.0.0:
|
ajv-keywords@^2.1.0:
|
||||||
version "1.5.1"
|
version "2.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-1.5.1.tgz#314dd0a4b3368fad3dfcdc54ede6171b886daf3c"
|
resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-2.1.0.tgz#a296e17f7bfae7c1ce4f7e0de53d29cb32162df0"
|
||||||
|
|
||||||
ajv@^4.7.0, ajv@^4.9.1:
|
ajv@^4.9.1:
|
||||||
version "4.11.8"
|
version "4.11.8"
|
||||||
resolved "https://registry.yarnpkg.com/ajv/-/ajv-4.11.8.tgz#82ffb02b29e662ae53bdc20af15947706739c536"
|
resolved "https://registry.yarnpkg.com/ajv/-/ajv-4.11.8.tgz#82ffb02b29e662ae53bdc20af15947706739c536"
|
||||||
dependencies:
|
dependencies:
|
||||||
co "^4.6.0"
|
co "^4.6.0"
|
||||||
json-stable-stringify "^1.0.1"
|
json-stable-stringify "^1.0.1"
|
||||||
|
|
||||||
ajv@^5.1.0:
|
ajv@^5.1.0, ajv@^5.2.0, ajv@^5.2.3:
|
||||||
version "5.2.3"
|
version "5.2.3"
|
||||||
resolved "https://registry.yarnpkg.com/ajv/-/ajv-5.2.3.tgz#c06f598778c44c6b161abafe3466b81ad1814ed2"
|
resolved "https://registry.yarnpkg.com/ajv/-/ajv-5.2.3.tgz#c06f598778c44c6b161abafe3466b81ad1814ed2"
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -559,6 +559,10 @@ ansi-escapes@^1.1.0:
|
|||||||
version "1.4.0"
|
version "1.4.0"
|
||||||
resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-1.4.0.tgz#d3a8a83b319aa67793662b13e761c7911422306e"
|
resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-1.4.0.tgz#d3a8a83b319aa67793662b13e761c7911422306e"
|
||||||
|
|
||||||
|
ansi-escapes@^3.0.0:
|
||||||
|
version "3.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-3.0.0.tgz#ec3e8b4e9f8064fc02c3ac9b65f1c275bda8ef92"
|
||||||
|
|
||||||
ansi-regex@^0.2.0, ansi-regex@^0.2.1:
|
ansi-regex@^0.2.0, ansi-regex@^0.2.1:
|
||||||
version "0.2.1"
|
version "0.2.1"
|
||||||
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-0.2.1.tgz#0d8e946967a3d8143f93e24e298525fc1b2235f9"
|
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-0.2.1.tgz#0d8e946967a3d8143f93e24e298525fc1b2235f9"
|
||||||
@ -579,6 +583,12 @@ ansi-styles@^2.2.1:
|
|||||||
version "2.2.1"
|
version "2.2.1"
|
||||||
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe"
|
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe"
|
||||||
|
|
||||||
|
ansi-styles@^3.1.0:
|
||||||
|
version "3.2.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.0.tgz#c159b8d5be0f9e5a6f346dab94f16ce022161b88"
|
||||||
|
dependencies:
|
||||||
|
color-convert "^1.9.0"
|
||||||
|
|
||||||
ansi-styles@~1.0.0:
|
ansi-styles@~1.0.0:
|
||||||
version "1.0.0"
|
version "1.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-1.0.0.tgz#cb102df1c56f5123eab8b67cd7b98027a0279178"
|
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-1.0.0.tgz#cb102df1c56f5123eab8b67cd7b98027a0279178"
|
||||||
@ -781,7 +791,7 @@ aws4@^1.2.1, aws4@^1.6.0:
|
|||||||
version "1.6.0"
|
version "1.6.0"
|
||||||
resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.6.0.tgz#83ef5ca860b2b32e4a0deedee8c771b9db57471e"
|
resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.6.0.tgz#83ef5ca860b2b32e4a0deedee8c771b9db57471e"
|
||||||
|
|
||||||
babel-code-frame@^6.16.0, babel-code-frame@^6.26.0:
|
babel-code-frame@^6.22.0, babel-code-frame@^6.26.0:
|
||||||
version "6.26.0"
|
version "6.26.0"
|
||||||
resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b"
|
resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b"
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -1808,6 +1818,14 @@ chalk@^1.0.0, chalk@^1.1.1, chalk@^1.1.3:
|
|||||||
strip-ansi "^3.0.0"
|
strip-ansi "^3.0.0"
|
||||||
supports-color "^2.0.0"
|
supports-color "^2.0.0"
|
||||||
|
|
||||||
|
chalk@^2.0.0, chalk@^2.1.0:
|
||||||
|
version "2.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.1.0.tgz#ac5becf14fa21b99c6c92ca7a7d7cfd5b17e743e"
|
||||||
|
dependencies:
|
||||||
|
ansi-styles "^3.1.0"
|
||||||
|
escape-string-regexp "^1.0.5"
|
||||||
|
supports-color "^4.0.0"
|
||||||
|
|
||||||
chalk@~0.4.0:
|
chalk@~0.4.0:
|
||||||
version "0.4.0"
|
version "0.4.0"
|
||||||
resolved "https://registry.yarnpkg.com/chalk/-/chalk-0.4.0.tgz#5199a3ddcd0c1efe23bc08c1b027b06176e0c64f"
|
resolved "https://registry.yarnpkg.com/chalk/-/chalk-0.4.0.tgz#5199a3ddcd0c1efe23bc08c1b027b06176e0c64f"
|
||||||
@ -1897,6 +1915,12 @@ cli-cursor@^1.0.1:
|
|||||||
dependencies:
|
dependencies:
|
||||||
restore-cursor "^1.0.1"
|
restore-cursor "^1.0.1"
|
||||||
|
|
||||||
|
cli-cursor@^2.1.0:
|
||||||
|
version "2.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-2.1.0.tgz#b35dac376479facc3e94747d41d0d0f5238ffcb5"
|
||||||
|
dependencies:
|
||||||
|
restore-cursor "^2.0.0"
|
||||||
|
|
||||||
cli-table@^0.3.1:
|
cli-table@^0.3.1:
|
||||||
version "0.3.1"
|
version "0.3.1"
|
||||||
resolved "https://registry.yarnpkg.com/cli-table/-/cli-table-0.3.1.tgz#f53b05266a8b1a0b934b3d0821e6e2dc5914ae23"
|
resolved "https://registry.yarnpkg.com/cli-table/-/cli-table-0.3.1.tgz#f53b05266a8b1a0b934b3d0821e6e2dc5914ae23"
|
||||||
@ -1955,6 +1979,16 @@ code-point-at@^1.0.0:
|
|||||||
version "1.1.0"
|
version "1.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77"
|
resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77"
|
||||||
|
|
||||||
|
color-convert@^1.9.0:
|
||||||
|
version "1.9.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.0.tgz#1accf97dd739b983bf994d56fec8f95853641b7a"
|
||||||
|
dependencies:
|
||||||
|
color-name "^1.1.1"
|
||||||
|
|
||||||
|
color-name@^1.1.1:
|
||||||
|
version "1.1.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25"
|
||||||
|
|
||||||
colors@1.0.3, colors@1.0.x:
|
colors@1.0.3, colors@1.0.x:
|
||||||
version "1.0.3"
|
version "1.0.3"
|
||||||
resolved "https://registry.yarnpkg.com/colors/-/colors-1.0.3.tgz#0433f44d809680fdeb60ed260f1b0c262e82a40b"
|
resolved "https://registry.yarnpkg.com/colors/-/colors-1.0.3.tgz#0433f44d809680fdeb60ed260f1b0c262e82a40b"
|
||||||
@ -2070,7 +2104,7 @@ concat-stream@1.5.x:
|
|||||||
readable-stream "~2.0.0"
|
readable-stream "~2.0.0"
|
||||||
typedarray "~0.0.5"
|
typedarray "~0.0.5"
|
||||||
|
|
||||||
concat-stream@^1.4.7, concat-stream@^1.5.0, concat-stream@^1.5.2:
|
concat-stream@^1.4.7, concat-stream@^1.5.0, concat-stream@^1.6.0:
|
||||||
version "1.6.0"
|
version "1.6.0"
|
||||||
resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.6.0.tgz#0aac662fd52be78964d5532f694784e70110acf7"
|
resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.6.0.tgz#0aac662fd52be78964d5532f694784e70110acf7"
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -2160,7 +2194,7 @@ create-error-class@^3.0.0, create-error-class@^3.0.1:
|
|||||||
dependencies:
|
dependencies:
|
||||||
capture-stack-trace "^1.0.0"
|
capture-stack-trace "^1.0.0"
|
||||||
|
|
||||||
cross-spawn@^5.0.1:
|
cross-spawn@^5.0.1, cross-spawn@^5.1.0:
|
||||||
version "5.1.0"
|
version "5.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449"
|
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449"
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -2217,12 +2251,6 @@ cycle@1.0.x:
|
|||||||
version "1.0.3"
|
version "1.0.3"
|
||||||
resolved "https://registry.yarnpkg.com/cycle/-/cycle-1.0.3.tgz#21e80b2be8580f98b468f379430662b046c34ad2"
|
resolved "https://registry.yarnpkg.com/cycle/-/cycle-1.0.3.tgz#21e80b2be8580f98b468f379430662b046c34ad2"
|
||||||
|
|
||||||
d@1:
|
|
||||||
version "1.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/d/-/d-1.0.0.tgz#754bb5bfe55451da69a58b94d45f4c5b0462d58f"
|
|
||||||
dependencies:
|
|
||||||
es5-ext "^0.10.9"
|
|
||||||
|
|
||||||
dargs@^5.1.0:
|
dargs@^5.1.0:
|
||||||
version "5.1.0"
|
version "5.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/dargs/-/dargs-5.1.0.tgz#ec7ea50c78564cd36c9d5ec18f66329fade27829"
|
resolved "https://registry.yarnpkg.com/dargs/-/dargs-5.1.0.tgz#ec7ea50c78564cd36c9d5ec18f66329fade27829"
|
||||||
@ -2244,7 +2272,7 @@ dateformat@^2.0.0:
|
|||||||
version "2.0.0"
|
version "2.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/dateformat/-/dateformat-2.0.0.tgz#2743e3abb5c3fc2462e527dca445e04e9f4dee17"
|
resolved "https://registry.yarnpkg.com/dateformat/-/dateformat-2.0.0.tgz#2743e3abb5c3fc2462e527dca445e04e9f4dee17"
|
||||||
|
|
||||||
debug@2, debug@2.6.9, debug@^2.0.0, debug@^2.1.0, debug@^2.1.1:
|
debug@2, debug@2.6.9, debug@^2.0.0, debug@^2.1.0:
|
||||||
version "2.6.9"
|
version "2.6.9"
|
||||||
resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f"
|
resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f"
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -2268,6 +2296,12 @@ debug@2.6.8, debug@^2.2.0, debug@^2.6.8:
|
|||||||
dependencies:
|
dependencies:
|
||||||
ms "2.0.0"
|
ms "2.0.0"
|
||||||
|
|
||||||
|
debug@^3.0.1:
|
||||||
|
version "3.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261"
|
||||||
|
dependencies:
|
||||||
|
ms "2.0.0"
|
||||||
|
|
||||||
debug@~2.1.1:
|
debug@~2.1.1:
|
||||||
version "2.1.3"
|
version "2.1.3"
|
||||||
resolved "https://registry.yarnpkg.com/debug/-/debug-2.1.3.tgz#ce8ab1b5ee8fbee2bfa3b633cab93d366b63418e"
|
resolved "https://registry.yarnpkg.com/debug/-/debug-2.1.3.tgz#ce8ab1b5ee8fbee2bfa3b633cab93d366b63418e"
|
||||||
@ -2635,32 +2669,6 @@ es-to-primitive@^1.1.1:
|
|||||||
is-date-object "^1.0.1"
|
is-date-object "^1.0.1"
|
||||||
is-symbol "^1.0.1"
|
is-symbol "^1.0.1"
|
||||||
|
|
||||||
es5-ext@^0.10.14, es5-ext@^0.10.9, es5-ext@~0.10.14:
|
|
||||||
version "0.10.30"
|
|
||||||
resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.30.tgz#7141a16836697dbabfaaaeee41495ce29f52c939"
|
|
||||||
dependencies:
|
|
||||||
es6-iterator "2"
|
|
||||||
es6-symbol "~3.1"
|
|
||||||
|
|
||||||
es6-iterator@2, es6-iterator@^2.0.1, es6-iterator@~2.0.1:
|
|
||||||
version "2.0.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/es6-iterator/-/es6-iterator-2.0.1.tgz#8e319c9f0453bf575d374940a655920e59ca5512"
|
|
||||||
dependencies:
|
|
||||||
d "1"
|
|
||||||
es5-ext "^0.10.14"
|
|
||||||
es6-symbol "^3.1"
|
|
||||||
|
|
||||||
es6-map@^0.1.3:
|
|
||||||
version "0.1.5"
|
|
||||||
resolved "https://registry.yarnpkg.com/es6-map/-/es6-map-0.1.5.tgz#9136e0503dcc06a301690f0bb14ff4e364e949f0"
|
|
||||||
dependencies:
|
|
||||||
d "1"
|
|
||||||
es5-ext "~0.10.14"
|
|
||||||
es6-iterator "~2.0.1"
|
|
||||||
es6-set "~0.1.5"
|
|
||||||
es6-symbol "~3.1.1"
|
|
||||||
event-emitter "~0.3.5"
|
|
||||||
|
|
||||||
es6-object-assign@^1.1.0:
|
es6-object-assign@^1.1.0:
|
||||||
version "1.1.0"
|
version "1.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/es6-object-assign/-/es6-object-assign-1.1.0.tgz#c2c3582656247c39ea107cb1e6652b6f9f24523c"
|
resolved "https://registry.yarnpkg.com/es6-object-assign/-/es6-object-assign-1.1.0.tgz#c2c3582656247c39ea107cb1e6652b6f9f24523c"
|
||||||
@ -2673,32 +2681,6 @@ es6-promise@^4.0.5:
|
|||||||
version "4.1.1"
|
version "4.1.1"
|
||||||
resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-4.1.1.tgz#8811e90915d9a0dba36274f0b242dbda78f9c92a"
|
resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-4.1.1.tgz#8811e90915d9a0dba36274f0b242dbda78f9c92a"
|
||||||
|
|
||||||
es6-set@~0.1.5:
|
|
||||||
version "0.1.5"
|
|
||||||
resolved "https://registry.yarnpkg.com/es6-set/-/es6-set-0.1.5.tgz#d2b3ec5d4d800ced818db538d28974db0a73ccb1"
|
|
||||||
dependencies:
|
|
||||||
d "1"
|
|
||||||
es5-ext "~0.10.14"
|
|
||||||
es6-iterator "~2.0.1"
|
|
||||||
es6-symbol "3.1.1"
|
|
||||||
event-emitter "~0.3.5"
|
|
||||||
|
|
||||||
es6-symbol@3.1.1, es6-symbol@^3.1, es6-symbol@^3.1.1, es6-symbol@~3.1, es6-symbol@~3.1.1:
|
|
||||||
version "3.1.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/es6-symbol/-/es6-symbol-3.1.1.tgz#bf00ef4fdab6ba1b46ecb7b629b4c7ed5715cc77"
|
|
||||||
dependencies:
|
|
||||||
d "1"
|
|
||||||
es5-ext "~0.10.14"
|
|
||||||
|
|
||||||
es6-weak-map@^2.0.1:
|
|
||||||
version "2.0.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/es6-weak-map/-/es6-weak-map-2.0.2.tgz#5e3ab32251ffd1538a1f8e5ffa1357772f92d96f"
|
|
||||||
dependencies:
|
|
||||||
d "1"
|
|
||||||
es5-ext "^0.10.14"
|
|
||||||
es6-iterator "^2.0.1"
|
|
||||||
es6-symbol "^3.1.1"
|
|
||||||
|
|
||||||
escape-html@1.0.1:
|
escape-html@1.0.1:
|
||||||
version "1.0.1"
|
version "1.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.1.tgz#181a286ead397a39a92857cfb1d43052e356bff0"
|
resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.1.tgz#181a286ead397a39a92857cfb1d43052e356bff0"
|
||||||
@ -2722,18 +2704,9 @@ escodegen@^1.7.0:
|
|||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
source-map "~0.2.0"
|
source-map "~0.2.0"
|
||||||
|
|
||||||
escope@^3.6.0:
|
eslint-config-airbnb-base@^12.0.2:
|
||||||
version "3.6.0"
|
version "12.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/escope/-/escope-3.6.0.tgz#e01975e812781a163a6dadfdd80398dc64c889c3"
|
resolved "https://registry.yarnpkg.com/eslint-config-airbnb-base/-/eslint-config-airbnb-base-12.0.2.tgz#45fea317d71b8f1da323c730f3a8471988757793"
|
||||||
dependencies:
|
|
||||||
es6-map "^0.1.3"
|
|
||||||
es6-weak-map "^2.0.1"
|
|
||||||
esrecurse "^4.1.0"
|
|
||||||
estraverse "^4.1.1"
|
|
||||||
|
|
||||||
eslint-config-airbnb-base@^11.1.3:
|
|
||||||
version "11.3.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/eslint-config-airbnb-base/-/eslint-config-airbnb-base-11.3.2.tgz#8703b11abe3c88ac7ec2b745b7fdf52e00ae680a"
|
|
||||||
dependencies:
|
dependencies:
|
||||||
eslint-restricted-globals "^0.1.1"
|
eslint-restricted-globals "^0.1.1"
|
||||||
|
|
||||||
@ -2751,11 +2724,12 @@ eslint-module-utils@^2.1.1:
|
|||||||
debug "^2.6.8"
|
debug "^2.6.8"
|
||||||
pkg-dir "^1.0.0"
|
pkg-dir "^1.0.0"
|
||||||
|
|
||||||
eslint-plugin-html@^2.0.1:
|
eslint-plugin-html@^3.2.2:
|
||||||
version "2.0.3"
|
version "3.2.2"
|
||||||
resolved "https://registry.yarnpkg.com/eslint-plugin-html/-/eslint-plugin-html-2.0.3.tgz#7c89883ab0c85fa5d28b666a14a4e906aa90b897"
|
resolved "https://registry.yarnpkg.com/eslint-plugin-html/-/eslint-plugin-html-3.2.2.tgz#ef7093621d3a93de3206fd1f92f347ea9a1a4dfa"
|
||||||
dependencies:
|
dependencies:
|
||||||
htmlparser2 "^3.8.2"
|
htmlparser2 "^3.8.2"
|
||||||
|
semver "^5.4.1"
|
||||||
|
|
||||||
eslint-plugin-import@^2.2.0:
|
eslint-plugin-import@^2.2.0:
|
||||||
version "2.7.0"
|
version "2.7.0"
|
||||||
@ -2785,45 +2759,54 @@ eslint-restricted-globals@^0.1.1:
|
|||||||
version "0.1.1"
|
version "0.1.1"
|
||||||
resolved "https://registry.yarnpkg.com/eslint-restricted-globals/-/eslint-restricted-globals-0.1.1.tgz#35f0d5cbc64c2e3ed62e93b4b1a7af05ba7ed4d7"
|
resolved "https://registry.yarnpkg.com/eslint-restricted-globals/-/eslint-restricted-globals-0.1.1.tgz#35f0d5cbc64c2e3ed62e93b4b1a7af05ba7ed4d7"
|
||||||
|
|
||||||
eslint@^3.19.0:
|
eslint-scope@^3.7.1:
|
||||||
version "3.19.0"
|
version "3.7.1"
|
||||||
resolved "https://registry.yarnpkg.com/eslint/-/eslint-3.19.0.tgz#c8fc6201c7f40dd08941b87c085767386a679acc"
|
resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-3.7.1.tgz#3d63c3edfda02e06e01a452ad88caacc7cdcb6e8"
|
||||||
dependencies:
|
dependencies:
|
||||||
babel-code-frame "^6.16.0"
|
esrecurse "^4.1.0"
|
||||||
chalk "^1.1.3"
|
estraverse "^4.1.1"
|
||||||
concat-stream "^1.5.2"
|
|
||||||
debug "^2.1.1"
|
eslint@^4.8.0:
|
||||||
|
version "4.8.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/eslint/-/eslint-4.8.0.tgz#229ef0e354e0e61d837c7a80fdfba825e199815e"
|
||||||
|
dependencies:
|
||||||
|
ajv "^5.2.0"
|
||||||
|
babel-code-frame "^6.22.0"
|
||||||
|
chalk "^2.1.0"
|
||||||
|
concat-stream "^1.6.0"
|
||||||
|
cross-spawn "^5.1.0"
|
||||||
|
debug "^3.0.1"
|
||||||
doctrine "^2.0.0"
|
doctrine "^2.0.0"
|
||||||
escope "^3.6.0"
|
eslint-scope "^3.7.1"
|
||||||
espree "^3.4.0"
|
espree "^3.5.1"
|
||||||
esquery "^1.0.0"
|
esquery "^1.0.0"
|
||||||
estraverse "^4.2.0"
|
estraverse "^4.2.0"
|
||||||
esutils "^2.0.2"
|
esutils "^2.0.2"
|
||||||
file-entry-cache "^2.0.0"
|
file-entry-cache "^2.0.0"
|
||||||
glob "^7.0.3"
|
functional-red-black-tree "^1.0.1"
|
||||||
globals "^9.14.0"
|
glob "^7.1.2"
|
||||||
ignore "^3.2.0"
|
globals "^9.17.0"
|
||||||
|
ignore "^3.3.3"
|
||||||
imurmurhash "^0.1.4"
|
imurmurhash "^0.1.4"
|
||||||
inquirer "^0.12.0"
|
inquirer "^3.0.6"
|
||||||
is-my-json-valid "^2.10.0"
|
|
||||||
is-resolvable "^1.0.0"
|
is-resolvable "^1.0.0"
|
||||||
js-yaml "^3.5.1"
|
js-yaml "^3.9.1"
|
||||||
json-stable-stringify "^1.0.0"
|
json-stable-stringify "^1.0.1"
|
||||||
levn "^0.3.0"
|
levn "^0.3.0"
|
||||||
lodash "^4.0.0"
|
lodash "^4.17.4"
|
||||||
mkdirp "^0.5.0"
|
minimatch "^3.0.2"
|
||||||
|
mkdirp "^0.5.1"
|
||||||
natural-compare "^1.4.0"
|
natural-compare "^1.4.0"
|
||||||
optionator "^0.8.2"
|
optionator "^0.8.2"
|
||||||
path-is-inside "^1.0.1"
|
path-is-inside "^1.0.2"
|
||||||
pluralize "^1.2.1"
|
pluralize "^7.0.0"
|
||||||
progress "^1.1.8"
|
progress "^2.0.0"
|
||||||
require-uncached "^1.0.2"
|
require-uncached "^1.0.3"
|
||||||
shelljs "^0.7.5"
|
semver "^5.3.0"
|
||||||
strip-bom "^3.0.0"
|
strip-ansi "^4.0.0"
|
||||||
strip-json-comments "~2.0.1"
|
strip-json-comments "~2.0.1"
|
||||||
table "^3.7.8"
|
table "^4.0.1"
|
||||||
text-table "~0.2.0"
|
text-table "~0.2.0"
|
||||||
user-home "^2.0.0"
|
|
||||||
|
|
||||||
espree@^3.1.3:
|
espree@^3.1.3:
|
||||||
version "3.5.0"
|
version "3.5.0"
|
||||||
@ -2832,7 +2815,7 @@ espree@^3.1.3:
|
|||||||
acorn "^5.1.1"
|
acorn "^5.1.1"
|
||||||
acorn-jsx "^3.0.0"
|
acorn-jsx "^3.0.0"
|
||||||
|
|
||||||
espree@^3.1.7, espree@^3.4.0:
|
espree@^3.1.7, espree@^3.4.0, espree@^3.5.1:
|
||||||
version "3.5.1"
|
version "3.5.1"
|
||||||
resolved "https://registry.yarnpkg.com/espree/-/espree-3.5.1.tgz#0c988b8ab46db53100a1954ae4ba995ddd27d87e"
|
resolved "https://registry.yarnpkg.com/espree/-/espree-3.5.1.tgz#0c988b8ab46db53100a1954ae4ba995ddd27d87e"
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -2906,13 +2889,6 @@ etag@~1.8.1:
|
|||||||
version "1.8.1"
|
version "1.8.1"
|
||||||
resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887"
|
resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887"
|
||||||
|
|
||||||
event-emitter@~0.3.5:
|
|
||||||
version "0.3.5"
|
|
||||||
resolved "https://registry.yarnpkg.com/event-emitter/-/event-emitter-0.3.5.tgz#df8c69eef1647923c7157b9ce83840610b02cc39"
|
|
||||||
dependencies:
|
|
||||||
d "1"
|
|
||||||
es5-ext "~0.10.14"
|
|
||||||
|
|
||||||
event-stream@^3.0.20:
|
event-stream@^3.0.20:
|
||||||
version "3.3.4"
|
version "3.3.4"
|
||||||
resolved "https://registry.yarnpkg.com/event-stream/-/event-stream-3.3.4.tgz#4ab4c9a0f5a54db9338b4c34d86bfce8f4b35571"
|
resolved "https://registry.yarnpkg.com/event-stream/-/event-stream-3.3.4.tgz#4ab4c9a0f5a54db9338b4c34d86bfce8f4b35571"
|
||||||
@ -3025,6 +3001,14 @@ external-editor@^1.1.0:
|
|||||||
spawn-sync "^1.0.15"
|
spawn-sync "^1.0.15"
|
||||||
tmp "^0.0.29"
|
tmp "^0.0.29"
|
||||||
|
|
||||||
|
external-editor@^2.0.4:
|
||||||
|
version "2.0.5"
|
||||||
|
resolved "https://registry.yarnpkg.com/external-editor/-/external-editor-2.0.5.tgz#52c249a3981b9ba187c7cacf5beb50bf1d91a6bc"
|
||||||
|
dependencies:
|
||||||
|
iconv-lite "^0.4.17"
|
||||||
|
jschardet "^1.4.2"
|
||||||
|
tmp "^0.0.33"
|
||||||
|
|
||||||
extglob@^0.3.1:
|
extglob@^0.3.1:
|
||||||
version "0.3.2"
|
version "0.3.2"
|
||||||
resolved "https://registry.yarnpkg.com/extglob/-/extglob-0.3.2.tgz#2e18ff3d2f49ab2765cec9023f011daa8d8349a1"
|
resolved "https://registry.yarnpkg.com/extglob/-/extglob-0.3.2.tgz#2e18ff3d2f49ab2765cec9023f011daa8d8349a1"
|
||||||
@ -3085,6 +3069,12 @@ figures@^1.3.5:
|
|||||||
escape-string-regexp "^1.0.5"
|
escape-string-regexp "^1.0.5"
|
||||||
object-assign "^4.1.0"
|
object-assign "^4.1.0"
|
||||||
|
|
||||||
|
figures@^2.0.0:
|
||||||
|
version "2.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/figures/-/figures-2.0.0.tgz#3ab1a2d2a62c8bfb431a0c94cb797a2fce27c962"
|
||||||
|
dependencies:
|
||||||
|
escape-string-regexp "^1.0.5"
|
||||||
|
|
||||||
file-entry-cache@^2.0.0:
|
file-entry-cache@^2.0.0:
|
||||||
version "2.0.0"
|
version "2.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-2.0.0.tgz#c392990c3e684783d838b8c84a45d8a048458361"
|
resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-2.0.0.tgz#c392990c3e684783d838b8c84a45d8a048458361"
|
||||||
@ -3311,6 +3301,10 @@ function-bind@^1.0.2, function-bind@^1.1.1:
|
|||||||
version "1.1.1"
|
version "1.1.1"
|
||||||
resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d"
|
resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d"
|
||||||
|
|
||||||
|
functional-red-black-tree@^1.0.1:
|
||||||
|
version "1.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz#1b0ab3bd553b2a0d6399d29c0e3ea0b252078327"
|
||||||
|
|
||||||
gauge@~2.7.3:
|
gauge@~2.7.3:
|
||||||
version "2.7.4"
|
version "2.7.4"
|
||||||
resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.7.4.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7"
|
resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.7.4.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7"
|
||||||
@ -3514,7 +3508,7 @@ global-prefix@^0.1.4:
|
|||||||
is-windows "^0.2.0"
|
is-windows "^0.2.0"
|
||||||
which "^1.2.12"
|
which "^1.2.12"
|
||||||
|
|
||||||
globals@^9.14.0, globals@^9.18.0:
|
globals@^9.17.0, globals@^9.18.0:
|
||||||
version "9.18.0"
|
version "9.18.0"
|
||||||
resolved "https://registry.yarnpkg.com/globals/-/globals-9.18.0.tgz#aa3896b3e69b487f17e31ed2143d69a8e30c2d8a"
|
resolved "https://registry.yarnpkg.com/globals/-/globals-9.18.0.tgz#aa3896b3e69b487f17e31ed2143d69a8e30c2d8a"
|
||||||
|
|
||||||
@ -3838,6 +3832,10 @@ has-flag@^1.0.0:
|
|||||||
version "1.0.0"
|
version "1.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-1.0.0.tgz#9d9e793165ce017a00f00418c43f942a7b1d11fa"
|
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-1.0.0.tgz#9d9e793165ce017a00f00418c43f942a7b1d11fa"
|
||||||
|
|
||||||
|
has-flag@^2.0.0:
|
||||||
|
version "2.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-2.0.0.tgz#e8207af1cc7b30d446cc70b734b5e8be18f88d51"
|
||||||
|
|
||||||
has-gulplog@^0.1.0:
|
has-gulplog@^0.1.0:
|
||||||
version "0.1.0"
|
version "0.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/has-gulplog/-/has-gulplog-0.1.0.tgz#6414c82913697da51590397dafb12f22967811ce"
|
resolved "https://registry.yarnpkg.com/has-gulplog/-/has-gulplog-0.1.0.tgz#6414c82913697da51590397dafb12f22967811ce"
|
||||||
@ -4038,11 +4036,11 @@ hydrolysis@^1.19.1:
|
|||||||
estraverse "^3.1.0"
|
estraverse "^3.1.0"
|
||||||
path-is-absolute "^1.0.0"
|
path-is-absolute "^1.0.0"
|
||||||
|
|
||||||
iconv-lite@0.4.19, iconv-lite@~0.4.13:
|
iconv-lite@0.4.19, iconv-lite@^0.4.17, iconv-lite@~0.4.13:
|
||||||
version "0.4.19"
|
version "0.4.19"
|
||||||
resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.19.tgz#f7468f60135f5e5dad3399c0a81be9a1603a082b"
|
resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.19.tgz#f7468f60135f5e5dad3399c0a81be9a1603a082b"
|
||||||
|
|
||||||
ignore@^3.2.0:
|
ignore@^3.3.3:
|
||||||
version "3.3.5"
|
version "3.3.5"
|
||||||
resolved "https://registry.yarnpkg.com/ignore/-/ignore-3.3.5.tgz#c4e715455f6073a8d7e5dae72d2fc9d71663dba6"
|
resolved "https://registry.yarnpkg.com/ignore/-/ignore-3.3.5.tgz#c4e715455f6073a8d7e5dae72d2fc9d71663dba6"
|
||||||
|
|
||||||
@ -4083,24 +4081,6 @@ ini@^1.3.4, ini@~1.3.0:
|
|||||||
version "1.3.4"
|
version "1.3.4"
|
||||||
resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.4.tgz#0537cb79daf59b59a1a517dff706c86ec039162e"
|
resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.4.tgz#0537cb79daf59b59a1a517dff706c86ec039162e"
|
||||||
|
|
||||||
inquirer@^0.12.0:
|
|
||||||
version "0.12.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-0.12.0.tgz#1ef2bfd63504df0bc75785fff8c2c41df12f077e"
|
|
||||||
dependencies:
|
|
||||||
ansi-escapes "^1.1.0"
|
|
||||||
ansi-regex "^2.0.0"
|
|
||||||
chalk "^1.0.0"
|
|
||||||
cli-cursor "^1.0.1"
|
|
||||||
cli-width "^2.0.0"
|
|
||||||
figures "^1.3.5"
|
|
||||||
lodash "^4.3.0"
|
|
||||||
readline2 "^1.0.1"
|
|
||||||
run-async "^0.1.0"
|
|
||||||
rx-lite "^3.1.2"
|
|
||||||
string-width "^1.0.1"
|
|
||||||
strip-ansi "^3.0.0"
|
|
||||||
through "^2.3.6"
|
|
||||||
|
|
||||||
inquirer@^1.0.2:
|
inquirer@^1.0.2:
|
||||||
version "1.2.3"
|
version "1.2.3"
|
||||||
resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-1.2.3.tgz#4dec6f32f37ef7bb0b2ed3f1d1a5c3f545074918"
|
resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-1.2.3.tgz#4dec6f32f37ef7bb0b2ed3f1d1a5c3f545074918"
|
||||||
@ -4120,6 +4100,25 @@ inquirer@^1.0.2:
|
|||||||
strip-ansi "^3.0.0"
|
strip-ansi "^3.0.0"
|
||||||
through "^2.3.6"
|
through "^2.3.6"
|
||||||
|
|
||||||
|
inquirer@^3.0.6:
|
||||||
|
version "3.3.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-3.3.0.tgz#9dd2f2ad765dcab1ff0443b491442a20ba227dc9"
|
||||||
|
dependencies:
|
||||||
|
ansi-escapes "^3.0.0"
|
||||||
|
chalk "^2.0.0"
|
||||||
|
cli-cursor "^2.1.0"
|
||||||
|
cli-width "^2.0.0"
|
||||||
|
external-editor "^2.0.4"
|
||||||
|
figures "^2.0.0"
|
||||||
|
lodash "^4.3.0"
|
||||||
|
mute-stream "0.0.7"
|
||||||
|
run-async "^2.2.0"
|
||||||
|
rx-lite "^4.0.8"
|
||||||
|
rx-lite-aggregates "^4.0.8"
|
||||||
|
string-width "^2.1.0"
|
||||||
|
strip-ansi "^4.0.0"
|
||||||
|
through "^2.3.6"
|
||||||
|
|
||||||
interpret@^1.0.0:
|
interpret@^1.0.0:
|
||||||
version "1.0.3"
|
version "1.0.3"
|
||||||
resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.0.3.tgz#cbc35c62eeee73f19ab7b10a801511401afc0f90"
|
resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.0.3.tgz#cbc35c62eeee73f19ab7b10a801511401afc0f90"
|
||||||
@ -4247,7 +4246,7 @@ is-module@^1.0.0:
|
|||||||
version "1.0.0"
|
version "1.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/is-module/-/is-module-1.0.0.tgz#3258fb69f78c14d5b815d664336b4cffb6441591"
|
resolved "https://registry.yarnpkg.com/is-module/-/is-module-1.0.0.tgz#3258fb69f78c14d5b815d664336b4cffb6441591"
|
||||||
|
|
||||||
is-my-json-valid@^2.10.0, is-my-json-valid@^2.12.4:
|
is-my-json-valid@^2.12.4:
|
||||||
version "2.16.1"
|
version "2.16.1"
|
||||||
resolved "https://registry.yarnpkg.com/is-my-json-valid/-/is-my-json-valid-2.16.1.tgz#5a846777e2c2620d1e69104e5d3a03b1f6088f11"
|
resolved "https://registry.yarnpkg.com/is-my-json-valid/-/is-my-json-valid-2.16.1.tgz#5a846777e2c2620d1e69104e5d3a03b1f6088f11"
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -4429,7 +4428,7 @@ js-tokens@^3.0.0, js-tokens@^3.0.2:
|
|||||||
version "3.0.2"
|
version "3.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b"
|
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b"
|
||||||
|
|
||||||
js-yaml@^3.5.1:
|
js-yaml@^3.9.1:
|
||||||
version "3.10.0"
|
version "3.10.0"
|
||||||
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.10.0.tgz#2e78441646bd4682e963f22b6e92823c309c62dc"
|
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.10.0.tgz#2e78441646bd4682e963f22b6e92823c309c62dc"
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -4440,6 +4439,10 @@ jsbn@~0.1.0:
|
|||||||
version "0.1.1"
|
version "0.1.1"
|
||||||
resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513"
|
resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513"
|
||||||
|
|
||||||
|
jschardet@^1.4.2:
|
||||||
|
version "1.5.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/jschardet/-/jschardet-1.5.1.tgz#c519f629f86b3a5bedba58a88d311309eec097f9"
|
||||||
|
|
||||||
jsesc@^1.3.0:
|
jsesc@^1.3.0:
|
||||||
version "1.3.0"
|
version "1.3.0"
|
||||||
resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-1.3.0.tgz#46c3fec8c1892b12b0833db9bc7622176dbab34b"
|
resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-1.3.0.tgz#46c3fec8c1892b12b0833db9bc7622176dbab34b"
|
||||||
@ -4843,7 +4846,7 @@ lodash@^3.0.0, lodash@^3.0.1, lodash@^3.10.1:
|
|||||||
version "3.10.1"
|
version "3.10.1"
|
||||||
resolved "https://registry.yarnpkg.com/lodash/-/lodash-3.10.1.tgz#5bf45e8e49ba4189e17d482789dfd15bd140b7b6"
|
resolved "https://registry.yarnpkg.com/lodash/-/lodash-3.10.1.tgz#5bf45e8e49ba4189e17d482789dfd15bd140b7b6"
|
||||||
|
|
||||||
lodash@^4.0.0, lodash@^4.11.1, lodash@^4.13.1, lodash@^4.14.0, lodash@^4.16.6, lodash@^4.17.2, lodash@^4.17.4, lodash@^4.3.0, lodash@^4.8.0:
|
lodash@^4.11.1, lodash@^4.13.1, lodash@^4.14.0, lodash@^4.16.6, lodash@^4.17.2, lodash@^4.17.4, lodash@^4.3.0, lodash@^4.8.0:
|
||||||
version "4.17.4"
|
version "4.17.4"
|
||||||
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae"
|
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae"
|
||||||
|
|
||||||
@ -5045,6 +5048,10 @@ mime@1.4.1, mime@^1.2.11, mime@^1.3.4:
|
|||||||
version "1.4.1"
|
version "1.4.1"
|
||||||
resolved "https://registry.yarnpkg.com/mime/-/mime-1.4.1.tgz#121f9ebc49e3766f311a76e1fa1c8003c4b03aa6"
|
resolved "https://registry.yarnpkg.com/mime/-/mime-1.4.1.tgz#121f9ebc49e3766f311a76e1fa1c8003c4b03aa6"
|
||||||
|
|
||||||
|
mimic-fn@^1.0.0:
|
||||||
|
version "1.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.1.0.tgz#e667783d92e89dbd342818b5230b9d62a672ad18"
|
||||||
|
|
||||||
minimalistic-assert@^1.0.0:
|
minimalistic-assert@^1.0.0:
|
||||||
version "1.0.0"
|
version "1.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.0.tgz#702be2dda6b37f4836bcb3f5db56641b64a1d3d3"
|
resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.0.tgz#702be2dda6b37f4836bcb3f5db56641b64a1d3d3"
|
||||||
@ -5177,14 +5184,14 @@ multipipe@^1.0.2:
|
|||||||
duplexer2 "^0.1.2"
|
duplexer2 "^0.1.2"
|
||||||
object-assign "^4.1.0"
|
object-assign "^4.1.0"
|
||||||
|
|
||||||
mute-stream@0.0.5:
|
|
||||||
version "0.0.5"
|
|
||||||
resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.5.tgz#8fbfabb0a98a253d3184331f9e8deb7372fac6c0"
|
|
||||||
|
|
||||||
mute-stream@0.0.6:
|
mute-stream@0.0.6:
|
||||||
version "0.0.6"
|
version "0.0.6"
|
||||||
resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.6.tgz#48962b19e169fd1dfc240b3f1e7317627bbc47db"
|
resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.6.tgz#48962b19e169fd1dfc240b3f1e7317627bbc47db"
|
||||||
|
|
||||||
|
mute-stream@0.0.7:
|
||||||
|
version "0.0.7"
|
||||||
|
resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab"
|
||||||
|
|
||||||
mz@^2.4.0, mz@^2.6.0:
|
mz@^2.4.0, mz@^2.6.0:
|
||||||
version "2.7.0"
|
version "2.7.0"
|
||||||
resolved "https://registry.yarnpkg.com/mz/-/mz-2.7.0.tgz#95008057a56cafadc2bc63dde7f9ff6955948e32"
|
resolved "https://registry.yarnpkg.com/mz/-/mz-2.7.0.tgz#95008057a56cafadc2bc63dde7f9ff6955948e32"
|
||||||
@ -5390,6 +5397,12 @@ onetime@^1.0.0:
|
|||||||
version "1.1.0"
|
version "1.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/onetime/-/onetime-1.1.0.tgz#a1f7838f8314c516f05ecefcbc4ccfe04b4ed789"
|
resolved "https://registry.yarnpkg.com/onetime/-/onetime-1.1.0.tgz#a1f7838f8314c516f05ecefcbc4ccfe04b4ed789"
|
||||||
|
|
||||||
|
onetime@^2.0.0:
|
||||||
|
version "2.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/onetime/-/onetime-2.0.1.tgz#067428230fd67443b2794b22bba528b6867962d4"
|
||||||
|
dependencies:
|
||||||
|
mimic-fn "^1.0.0"
|
||||||
|
|
||||||
opn@^3.0.2:
|
opn@^3.0.2:
|
||||||
version "3.0.3"
|
version "3.0.3"
|
||||||
resolved "https://registry.yarnpkg.com/opn/-/opn-3.0.3.tgz#b6d99e7399f78d65c3baaffef1fb288e9b85243a"
|
resolved "https://registry.yarnpkg.com/opn/-/opn-3.0.3.tgz#b6d99e7399f78d65c3baaffef1fb288e9b85243a"
|
||||||
@ -5438,7 +5451,7 @@ os-shim@^0.1.2:
|
|||||||
version "0.1.3"
|
version "0.1.3"
|
||||||
resolved "https://registry.yarnpkg.com/os-shim/-/os-shim-0.1.3.tgz#6b62c3791cf7909ea35ed46e17658bb417cb3917"
|
resolved "https://registry.yarnpkg.com/os-shim/-/os-shim-0.1.3.tgz#6b62c3791cf7909ea35ed46e17658bb417cb3917"
|
||||||
|
|
||||||
os-tmpdir@^1.0.0, os-tmpdir@^1.0.1, os-tmpdir@~1.0.1:
|
os-tmpdir@^1.0.0, os-tmpdir@^1.0.1, os-tmpdir@~1.0.1, os-tmpdir@~1.0.2:
|
||||||
version "1.0.2"
|
version "1.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274"
|
resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274"
|
||||||
|
|
||||||
@ -5582,7 +5595,7 @@ path-is-absolute@^1.0.0, path-is-absolute@^1.0.1:
|
|||||||
version "1.0.1"
|
version "1.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"
|
resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"
|
||||||
|
|
||||||
path-is-inside@^1.0.1:
|
path-is-inside@^1.0.1, path-is-inside@^1.0.2:
|
||||||
version "1.0.2"
|
version "1.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53"
|
resolved "https://registry.yarnpkg.com/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53"
|
||||||
|
|
||||||
@ -5694,9 +5707,9 @@ plist@^2.0.1:
|
|||||||
xmlbuilder "8.2.2"
|
xmlbuilder "8.2.2"
|
||||||
xmldom "0.1.x"
|
xmldom "0.1.x"
|
||||||
|
|
||||||
pluralize@^1.2.1:
|
pluralize@^7.0.0:
|
||||||
version "1.2.1"
|
version "7.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/pluralize/-/pluralize-1.2.1.tgz#d1a21483fd22bb41e58a12fa3421823140897c45"
|
resolved "https://registry.yarnpkg.com/pluralize/-/pluralize-7.0.0.tgz#298b89df8b93b0221dbf421ad2b1b1ea23fc6777"
|
||||||
|
|
||||||
plylog@^0.4.0:
|
plylog@^0.4.0:
|
||||||
version "0.4.0"
|
version "0.4.0"
|
||||||
@ -5953,10 +5966,14 @@ process-nextick-args@^1.0.6, process-nextick-args@~1.0.6:
|
|||||||
version "1.0.7"
|
version "1.0.7"
|
||||||
resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-1.0.7.tgz#150e20b756590ad3f91093f25a4f2ad8bff30ba3"
|
resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-1.0.7.tgz#150e20b756590ad3f91093f25a4f2ad8bff30ba3"
|
||||||
|
|
||||||
progress@1.1.8, progress@^1.1.8:
|
progress@1.1.8:
|
||||||
version "1.1.8"
|
version "1.1.8"
|
||||||
resolved "https://registry.yarnpkg.com/progress/-/progress-1.1.8.tgz#e260c78f6161cdd9b0e56cc3e0a85de17c7a57be"
|
resolved "https://registry.yarnpkg.com/progress/-/progress-1.1.8.tgz#e260c78f6161cdd9b0e56cc3e0a85de17c7a57be"
|
||||||
|
|
||||||
|
progress@^2.0.0:
|
||||||
|
version "2.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.0.tgz#8a1be366bf8fc23db2bd23f10c6fe920b4389d1f"
|
||||||
|
|
||||||
promise@^6.0.1:
|
promise@^6.0.1:
|
||||||
version "6.1.0"
|
version "6.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/promise/-/promise-6.1.0.tgz#2ce729f6b94b45c26891ad0602c5c90e04c6eef6"
|
resolved "https://registry.yarnpkg.com/promise/-/promise-6.1.0.tgz#2ce729f6b94b45c26891ad0602c5c90e04c6eef6"
|
||||||
@ -6161,14 +6178,6 @@ readdirp@^2.0.0:
|
|||||||
readable-stream "^2.0.2"
|
readable-stream "^2.0.2"
|
||||||
set-immediate-shim "^1.0.1"
|
set-immediate-shim "^1.0.1"
|
||||||
|
|
||||||
readline2@^1.0.1:
|
|
||||||
version "1.0.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/readline2/-/readline2-1.0.1.tgz#41059608ffc154757b715d9989d199ffbf372e35"
|
|
||||||
dependencies:
|
|
||||||
code-point-at "^1.0.0"
|
|
||||||
is-fullwidth-code-point "^1.0.0"
|
|
||||||
mute-stream "0.0.5"
|
|
||||||
|
|
||||||
rechoir@^0.6.2:
|
rechoir@^0.6.2:
|
||||||
version "0.6.2"
|
version "0.6.2"
|
||||||
resolved "https://registry.yarnpkg.com/rechoir/-/rechoir-0.6.2.tgz#85204b54dba82d5742e28c96756ef43af50e3384"
|
resolved "https://registry.yarnpkg.com/rechoir/-/rechoir-0.6.2.tgz#85204b54dba82d5742e28c96756ef43af50e3384"
|
||||||
@ -6361,7 +6370,7 @@ require-relative@0.8.7:
|
|||||||
version "0.8.7"
|
version "0.8.7"
|
||||||
resolved "https://registry.yarnpkg.com/require-relative/-/require-relative-0.8.7.tgz#7999539fc9e047a37928fa196f8e1563dabd36de"
|
resolved "https://registry.yarnpkg.com/require-relative/-/require-relative-0.8.7.tgz#7999539fc9e047a37928fa196f8e1563dabd36de"
|
||||||
|
|
||||||
require-uncached@^1.0.2:
|
require-uncached@^1.0.3:
|
||||||
version "1.0.3"
|
version "1.0.3"
|
||||||
resolved "https://registry.yarnpkg.com/require-uncached/-/require-uncached-1.0.3.tgz#4e0d56d6c9662fd31e43011c4b95aa49955421d3"
|
resolved "https://registry.yarnpkg.com/require-uncached/-/require-uncached-1.0.3.tgz#4e0d56d6c9662fd31e43011c4b95aa49955421d3"
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -6404,6 +6413,13 @@ restore-cursor@^1.0.1:
|
|||||||
exit-hook "^1.0.0"
|
exit-hook "^1.0.0"
|
||||||
onetime "^1.0.0"
|
onetime "^1.0.0"
|
||||||
|
|
||||||
|
restore-cursor@^2.0.0:
|
||||||
|
version "2.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-2.0.0.tgz#9f7ee287f82fd326d4fd162923d62129eee0dfaf"
|
||||||
|
dependencies:
|
||||||
|
onetime "^2.0.0"
|
||||||
|
signal-exit "^3.0.2"
|
||||||
|
|
||||||
right-align@^0.1.1:
|
right-align@^0.1.1:
|
||||||
version "0.1.3"
|
version "0.1.3"
|
||||||
resolved "https://registry.yarnpkg.com/right-align/-/right-align-0.1.3.tgz#61339b722fe6a3515689210d24e14c96148613ef"
|
resolved "https://registry.yarnpkg.com/right-align/-/right-align-0.1.3.tgz#61339b722fe6a3515689210d24e14c96148613ef"
|
||||||
@ -6495,12 +6511,6 @@ rollup@^0.50.0:
|
|||||||
version "0.50.0"
|
version "0.50.0"
|
||||||
resolved "https://registry.yarnpkg.com/rollup/-/rollup-0.50.0.tgz#4c158f4e780e6cb33ff0dbfc184a52cc58cd5f3b"
|
resolved "https://registry.yarnpkg.com/rollup/-/rollup-0.50.0.tgz#4c158f4e780e6cb33ff0dbfc184a52cc58cd5f3b"
|
||||||
|
|
||||||
run-async@^0.1.0:
|
|
||||||
version "0.1.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/run-async/-/run-async-0.1.0.tgz#c8ad4a5e110661e402a7d21b530e009f25f8e389"
|
|
||||||
dependencies:
|
|
||||||
once "^1.3.0"
|
|
||||||
|
|
||||||
run-async@^2.0.0, run-async@^2.2.0:
|
run-async@^2.0.0, run-async@^2.2.0:
|
||||||
version "2.3.0"
|
version "2.3.0"
|
||||||
resolved "https://registry.yarnpkg.com/run-async/-/run-async-2.3.0.tgz#0371ab4ae0bdd720d4166d7dfda64ff7a445a6c0"
|
resolved "https://registry.yarnpkg.com/run-async/-/run-async-2.3.0.tgz#0371ab4ae0bdd720d4166d7dfda64ff7a445a6c0"
|
||||||
@ -6514,9 +6524,15 @@ run-sequence@^2.2.0:
|
|||||||
chalk "^1.1.3"
|
chalk "^1.1.3"
|
||||||
gulp-util "^3.0.8"
|
gulp-util "^3.0.8"
|
||||||
|
|
||||||
rx-lite@^3.1.2:
|
rx-lite-aggregates@^4.0.8:
|
||||||
version "3.1.2"
|
version "4.0.8"
|
||||||
resolved "https://registry.yarnpkg.com/rx-lite/-/rx-lite-3.1.2.tgz#19ce502ca572665f3b647b10939f97fd1615f102"
|
resolved "https://registry.yarnpkg.com/rx-lite-aggregates/-/rx-lite-aggregates-4.0.8.tgz#753b87a89a11c95467c4ac1626c4efc4e05c67be"
|
||||||
|
dependencies:
|
||||||
|
rx-lite "*"
|
||||||
|
|
||||||
|
rx-lite@*, rx-lite@^4.0.8:
|
||||||
|
version "4.0.8"
|
||||||
|
resolved "https://registry.yarnpkg.com/rx-lite/-/rx-lite-4.0.8.tgz#0b1e11af8bc44836f04a6407e92da42467b79444"
|
||||||
|
|
||||||
rx@^4.1.0:
|
rx@^4.1.0:
|
||||||
version "4.1.0"
|
version "4.1.0"
|
||||||
@ -6570,7 +6586,7 @@ semver-diff@^2.0.0:
|
|||||||
dependencies:
|
dependencies:
|
||||||
semver "^5.0.3"
|
semver "^5.0.3"
|
||||||
|
|
||||||
"semver@2 || 3 || 4 || 5", semver@^5.0.3, semver@^5.1.0, semver@^5.3.0:
|
"semver@2 || 3 || 4 || 5", semver@^5.0.3, semver@^5.1.0, semver@^5.3.0, semver@^5.4.1:
|
||||||
version "5.4.1"
|
version "5.4.1"
|
||||||
resolved "https://registry.yarnpkg.com/semver/-/semver-5.4.1.tgz#e059c09d8571f0540823733433505d3a2f00b18e"
|
resolved "https://registry.yarnpkg.com/semver/-/semver-5.4.1.tgz#e059c09d8571f0540823733433505d3a2f00b18e"
|
||||||
|
|
||||||
@ -6702,7 +6718,7 @@ shebang-regex@^1.0.0:
|
|||||||
version "1.0.0"
|
version "1.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3"
|
resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3"
|
||||||
|
|
||||||
shelljs@^0.7.0, shelljs@^0.7.5:
|
shelljs@^0.7.0:
|
||||||
version "0.7.8"
|
version "0.7.8"
|
||||||
resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.7.8.tgz#decbcf874b0d1e5fb72e14b164a9683048e9acb3"
|
resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.7.8.tgz#decbcf874b0d1e5fb72e14b164a9683048e9acb3"
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -6714,7 +6730,7 @@ sigmund@~1.0.0:
|
|||||||
version "1.0.1"
|
version "1.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/sigmund/-/sigmund-1.0.1.tgz#3ff21f198cad2175f9f3b781853fd94d0d19b590"
|
resolved "https://registry.yarnpkg.com/sigmund/-/sigmund-1.0.1.tgz#3ff21f198cad2175f9f3b781853fd94d0d19b590"
|
||||||
|
|
||||||
signal-exit@^3.0.0:
|
signal-exit@^3.0.0, signal-exit@^3.0.2:
|
||||||
version "3.0.2"
|
version "3.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d"
|
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d"
|
||||||
|
|
||||||
@ -6735,9 +6751,11 @@ slash@^1.0.0:
|
|||||||
version "1.0.0"
|
version "1.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/slash/-/slash-1.0.0.tgz#c41f2f6c39fc16d1cd17ad4b5d896114ae470d55"
|
resolved "https://registry.yarnpkg.com/slash/-/slash-1.0.0.tgz#c41f2f6c39fc16d1cd17ad4b5d896114ae470d55"
|
||||||
|
|
||||||
slice-ansi@0.0.4:
|
slice-ansi@1.0.0:
|
||||||
version "0.0.4"
|
version "1.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-0.0.4.tgz#edbf8903f66f7ce2f8eafd6ceed65e264c831b35"
|
resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-1.0.0.tgz#044f1a49d8842ff307aad6b505ed178bd950134d"
|
||||||
|
dependencies:
|
||||||
|
is-fullwidth-code-point "^2.0.0"
|
||||||
|
|
||||||
slide@^1.1.5:
|
slide@^1.1.5:
|
||||||
version "1.1.6"
|
version "1.1.6"
|
||||||
@ -6966,7 +6984,7 @@ string-width@^1.0.1, string-width@^1.0.2:
|
|||||||
is-fullwidth-code-point "^1.0.0"
|
is-fullwidth-code-point "^1.0.0"
|
||||||
strip-ansi "^3.0.0"
|
strip-ansi "^3.0.0"
|
||||||
|
|
||||||
string-width@^2.0.0:
|
string-width@^2.1.0, string-width@^2.1.1:
|
||||||
version "2.1.1"
|
version "2.1.1"
|
||||||
resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e"
|
resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e"
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -7068,6 +7086,12 @@ supports-color@^2.0.0:
|
|||||||
version "2.0.0"
|
version "2.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7"
|
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7"
|
||||||
|
|
||||||
|
supports-color@^4.0.0:
|
||||||
|
version "4.4.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-4.4.0.tgz#883f7ddabc165142b2a61427f3352ded195d1a3e"
|
||||||
|
dependencies:
|
||||||
|
has-flag "^2.0.0"
|
||||||
|
|
||||||
sw-precache@^5.1.1, sw-precache@^5.2.0:
|
sw-precache@^5.1.1, sw-precache@^5.2.0:
|
||||||
version "5.2.0"
|
version "5.2.0"
|
||||||
resolved "https://registry.yarnpkg.com/sw-precache/-/sw-precache-5.2.0.tgz#eb6225ce580ceaae148194578a0ad01ab7ea199c"
|
resolved "https://registry.yarnpkg.com/sw-precache/-/sw-precache-5.2.0.tgz#eb6225ce580ceaae148194578a0ad01ab7ea199c"
|
||||||
@ -7108,16 +7132,16 @@ table-layout@^0.3.0:
|
|||||||
typical "^2.6.0"
|
typical "^2.6.0"
|
||||||
wordwrapjs "^2.0.0-0"
|
wordwrapjs "^2.0.0-0"
|
||||||
|
|
||||||
table@^3.7.8:
|
table@^4.0.1:
|
||||||
version "3.8.3"
|
version "4.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/table/-/table-3.8.3.tgz#2bbc542f0fda9861a755d3947fefd8b3f513855f"
|
resolved "https://registry.yarnpkg.com/table/-/table-4.0.2.tgz#a33447375391e766ad34d3486e6e2aedc84d2e36"
|
||||||
dependencies:
|
dependencies:
|
||||||
ajv "^4.7.0"
|
ajv "^5.2.3"
|
||||||
ajv-keywords "^1.0.0"
|
ajv-keywords "^2.1.0"
|
||||||
chalk "^1.1.1"
|
chalk "^2.1.0"
|
||||||
lodash "^4.0.0"
|
lodash "^4.17.4"
|
||||||
slice-ansi "0.0.4"
|
slice-ansi "1.0.0"
|
||||||
string-width "^2.0.0"
|
string-width "^2.1.1"
|
||||||
|
|
||||||
tar-fs@^1.12.0:
|
tar-fs@^1.12.0:
|
||||||
version "1.16.0"
|
version "1.16.0"
|
||||||
@ -7273,6 +7297,12 @@ tmp@^0.0.29:
|
|||||||
dependencies:
|
dependencies:
|
||||||
os-tmpdir "~1.0.1"
|
os-tmpdir "~1.0.1"
|
||||||
|
|
||||||
|
tmp@^0.0.33:
|
||||||
|
version "0.0.33"
|
||||||
|
resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9"
|
||||||
|
dependencies:
|
||||||
|
os-tmpdir "~1.0.2"
|
||||||
|
|
||||||
to-absolute-glob@^0.1.1:
|
to-absolute-glob@^0.1.1:
|
||||||
version "0.1.1"
|
version "0.1.1"
|
||||||
resolved "https://registry.yarnpkg.com/to-absolute-glob/-/to-absolute-glob-0.1.1.tgz#1cdfa472a9ef50c239ee66999b662ca0eb39937f"
|
resolved "https://registry.yarnpkg.com/to-absolute-glob/-/to-absolute-glob-0.1.1.tgz#1cdfa472a9ef50c239ee66999b662ca0eb39937f"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user