Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump chai-as-promised from 7.1.2 to 8.0.1 #2308

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 26 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -39,7 +39,7 @@
"@alcalzone/release-script-plugin-manual-review": "^3.7.0",
"@iobroker/testing": "^5.0.0",
"chai": "^5.1.2",
"chai-as-promised": "^7.1.1",
"chai-as-promised": "^8.0.1",
"eslint": "^9.13.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",

Unchanged files with check annotations Beta

function loadSystemConfig(callback) {
socket.emit('getObject', 'system.config', function (err, res) {
if (!err && res && res.common) {
systemLang = res.common.language;

Check warning on line 58 in admin/adapter-settings.js

GitHub Actions / check-and-lint

Read-only global 'systemLang' should not be modified
systemConfig = res;
}
socket.emit('getObject', 'system.certificates', function (err, res) {
$('.card.flipable').toggleClass('flipped');
});
shuffleInstance = new Shuffle($('#devices'), {

Check warning on line 592 in admin/admin.js

GitHub Actions / check-and-lint

'Shuffle' is not defined
itemSelector: '.device',
sizer: '.js-shuffle-sizer',
});
}
function getIdleTime(value) {
return (value) ? moment(new Date(value)).fromNow(true) : '';

Check warning on line 2956 in admin/admin.js

GitHub Actions / check-and-lint

'moment' is not defined
}
function updateCardTimer() {
}
if (endpoint.supportsOutputCluster('genMultistateInput')||
endpoint.clusters.hasOwnProperty('genMultistateInput')
) {

Check failure on line 311 in lib/devices.js

GitHub Actions / check-and-lint

Expected indentation of 12 spaces but found 15
devstates.push({
id: `channel_${epID}.click`,
prop: 'action',
return;
}
if (this.checkDebugDevice(id))

Check failure on line 111 in lib/statescontroller.js

GitHub Actions / check-and-lint

Trailing spaces not allowed
this.warn(`ELEVATED O1: User state change of state ${id} with value ${state.val} (ack: ${state.ack}) from ${state.from}`);
this.debug(`User stateChange ${id} ${JSON.stringify(state)}`);
const value = state.val;
if (value === undefined || value === '') {
if (elevated)

Check failure on line 231 in lib/statescontroller.js

GitHub Actions / check-and-lint

Trailing spaces not allowed
this.error(`ELEVATED OE2: no value for device ${deviceId} type '${model}'`);
return;
}
if (!has_published && has_debug) {
this.error(`ELEVATED IE4: No value published for device ${devId}`);
}

Check failure on line 686 in lib/statescontroller.js

GitHub Actions / check-and-lint

Trailing spaces not allowed
}
else {
if (has_debug)
if (!converters.length) {
if (type !== 'readResponse') {
this.log.debug(`No converter available for '${mappedModel.model}' '${devId}' with cluster '${cluster}' and type '${type}'`);
if (has_elevated_debug)

Check failure on line 563 in main.js

GitHub Actions / check-and-lint

Trailing spaces not allowed
this.log.warn(`ELEVATED IE0: No converter available for '${mappedModel.model}' '${devId}' with cluster '${cluster}' and type '${type}'`);
}
return;
if (!c.hasOwnProperty('convertSet')) continue;
this.log.debug(`Type of toZigbee is '${typeof c}', Contains key ${(c.hasOwnProperty('key')?JSON.stringify(c.key):'false ')}`)
if (!c.hasOwnProperty('key'))

Check failure on line 722 in main.js

GitHub Actions / check-and-lint

Trailing spaces not allowed
{
if (c.hasOwnProperty('convertSet') && converter === undefined)

Check failure on line 724 in main.js

GitHub Actions / check-and-lint

Trailing spaces not allowed
{
converter = c;

Check failure on line 727 in main.js

GitHub Actions / check-and-lint

Trailing spaces not allowed
if (has_elevated_debug) this.log.warn(`ELEVATED O3A: Setting converter to keyless converter for ${deviceId} of type ${model}`)
this.log.debug('setting converter to keyless converter')
}

Check failure on line 730 in main.js

GitHub Actions / check-and-lint

Trailing spaces not allowed
else

Check failure on line 731 in main.js

GitHub Actions / check-and-lint

Trailing spaces not allowed
{
if (has_elevated_debug) this.log.warn(`ELEVATED O3B: ignoring keyless converter for ${deviceId} of type ${model}`)
this.log.debug('ignoring keyless converter')