const githubToken = "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"; //https://github.com/settings/tokens
const test = false;
const useTestAdapter = false;
const testAdapter = "ioBrokerChecker/testData";
const done = 0;
let issueTitle = "Compatibility check to js-controller 4.0";
const issueBody = "Dear Adapter developer,\r\n\r\nwith js-controller 4.0 object definitions are now also checked that min/max in only provided for number/mixed objects and that the type of the default value matches to the object type.\r\n\r\nIf something is not correct this is logged as 'warning' or 'info' log.\r\n\r\nPlease also make sure to update to the lastest @iobroker/testing dependency 2.5.4 or to accept the PR from Apollon77 for legacy testing!\r\n\r\nPlease spent some time to verify your adapter by ideally starting with a fresh instance and do some actions and verify the log. If you see a warn or info log there from these checks please adjust the adapter and fix the relevant cases.\r\n\r\nFor questions please refer to ioBroker/ioBroker.js-controller#1749\r\n\r\nPlease close the issue after you checked it.\r\n\r\nThank you very much for your support to get the best experience for the growing numbers of ioBroker users!";
let issuesCreated = [];
let issuesListFiltered = [];
const start = async function() {
adapterList = await getAdapterList();
if (adapterList && adapterList.alreadydone.length > 769) {
$('#listeSuccess').append("<li style='color: blue;'>Done last time: <span id='alreadydone'></span></li>");
$('#listeSuccess').append("<li style='color: blue;'>Total Repos: <span id='totalrepos'></span></li>");
$('#listeSuccess').append("<li style='color: blue;'>Done now: <span id='donenow'></span></li>");
await startFunc();
await delay(10000);
$('#donenow').text(issuesCreated.length);
console.log(JSON.stringify(issuesCreated));
} else {
$('#liste').append("<li style='color: red;'>ERROR - NO ADAPTER LIST " + (adapterList?" (" +...
Please Whitelist JSFiddle in your content blocker.
Help keep JSFiddle free for always by one of two ways:
Whitelist JSFiddle in your content blocker (two clicks)
Go PRO and get access to additional PRO features →
Join the 4+ million users, and keep the JSFiddle dream alive.
Ad-free
All ads in the editor and listing pages are turned completely off.
Use pre-released features
You get to try and use features (like the Palette Color Generator) months before everyone else.
Fiddle collections
Sort and categorize your Fiddles into multiple collections.
Private collections and fiddles
You can make as many Private Fiddles, and Private Collections as you wish!
Console
Debug your Fiddle with a minimal built-in JavaScript console.