Comparing version 2.7.3 to 2.7.7
@@ -44,2 +44,14 @@ 'use strict'; | ||
var updateResponse = function updateResponse(res) { | ||
var defaultBody = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; | ||
if (res.text) { | ||
try { | ||
res.body = JSON.parse(res.text); | ||
} catch (e) { | ||
res.body = defaultBody; | ||
} | ||
} | ||
}; | ||
var scheduleNext = function scheduleNext() { | ||
@@ -181,2 +193,3 @@ if (config._save) { | ||
} | ||
updateResponse(res, []); | ||
if (!res.ok) { | ||
@@ -231,2 +244,3 @@ console.error('Status: ' + res.status + ', ' + res.text); | ||
} | ||
updateResponse(res); | ||
if (!res.ok) { | ||
@@ -305,2 +319,2 @@ console.error('Status: ' + res.status + ', ' + res.text); | ||
exports.default = _module; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL2xpYi90YXNrLmpzIl0sIm5hbWVzIjpbIm1vZHVsZSIsIm9wdGlvbnMiLCJjb25maWciLCJkb3dubG9hZEVycm9yIiwiRVhJVF9DT0RFIiwic2NoZWR1bGVOZXh0IiwiX3NhdmUiLCJsYXN0IiwiX2xhc3QiLCJjZmdGaWxlIiwid3JpdGUiLCJjb25zb2xlIiwiaW5mbyIsInByb2Nlc3MiLCJleGl0Iiwic2V0VGltZW91dCIsInJ1biIsImludGVydmFsIiwibG9nUHJlZml4ZWQiLCJwcmVmaXgiLCJsb2dGbiIsImRhdGEiLCJ0b1N0cmluZyIsInNwbGl0Iiwic2xpY2UiLCJtYXAiLCJzIiwiam9pbiIsInN0YXJ0U2NyaXB0Iiwic2NyaXB0RmlsZSIsInBhdGgiLCJyZXNvbHZlIiwic2NyaXB0IiwiX3RhcmdldCIsImN3ZCIsImRpcm5hbWUiLCJzdGRvdXQiLCJvbiIsInN0ZGVyciIsIndhcm4iLCJlcnIiLCJlcnJvciIsIkpTT04iLCJzdHJpbmdpZnkiLCJjb2RlIiwiZSIsIm1lc3NhZ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XBvbmVudCh1cmwpICsgJ1wiLicpO1xuICAgIGNvbnN0IHN0YXJ0ID0gKG5ldyBEYXRlKCkpLmdldFRpbWUoKTtcbiAgICBkb3dubG9hZEVycm9yID0gZmFsc2U7XG4gICAgcmVxdWVzdFxuICAgICAgLmdldCh1cmwpXG4gICAgICAucXVlcnkoeyAnY2lyY2xlLXRva2VuJzogY29uZmlnLnRva2VuIH0pXG4gICAgICAudGltZW91dChjb25maWcudGltZW91dCAqIDEwMDApXG4gICAgICAub24oJ2Vycm9yJywgKGVycikgPT4ge1xuICAgICAgICBjb25zb2xlLmVycm9yKCdEb3dubG9hZCBmYWlsZWQ6ICcgKyBKU09OLnN0cmluZ2lmeShlcnIpICsgJy4nKTtcbiAgICAgICAgY29uc29sZS53YXJuKCdDQ0kgdGFzayBmaW5pc2hlZCB3aXRoIGZhaWx1cmUuJyk7XG4gICAgICAgIGRvd25sb2FkRXJyb3IgPSB0cnVlO1xuICAgICAgICBzY2hlZHVsZU5leHQoKTtcbiAgICAgIH0pXG4gICAgICAub24oJ2VuZCcsICgpID0+IHtcbiAgICAgICAgaWYgKGRvd25sb2FkRXJyb3IpIHsgcmV0dXJuOyB9XG4gICAgICAgIGxldCBkdXIgPSAobmV3IERhdGUoKSkuZ2V0VGltZSgpIC0gc3RhcnQ7XG4gICAgICAgIGlmIChkdXIgPiA5OTkpIHtcbiAgICAgICAgICBkdXIgPSAoJycgKyBkdXIpLnNwbGl0KCcnKTtcbiAgICAgICAgICBkdXIuc3BsaWNlKGR1ci5sZW5ndGggLSAzLCAwLCAnLicpO1xuICAgICAgICAgIGR1ciA9IGR1ci5qb2luKCcnKTtcbiAgICAgICAgfVxuICAgICAgICBjb25zb2xlLmluZm8oJ1NhdmVkIGFzIFwiJyArIHN0cmVhbU5hbWUgKyAnXCIgaW4gJyArIGR1ciArICcgbXMuJyk7XG4gICAgICAgIHByb2Nlc3MubmV4dFRpY2soY2NpRG93bmxvYWRPbmUpO1xuICAgICAgfSlcbiAgICAg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idWlsZCBvZiAnICsgY29uZmlnLl9uYW1lICsgJy4nKTtcbiAgcmVxdWVzdFxuICAgIC5nZXQoY29uZmlnLmNjaV91cmwgKyBhcGlQYXRoKVxuICAgIC5xdWVyeSh7ICdjaXJjbGUtdG9rZW4nOiBjb25maWcudG9rZW4sIGZpbHRlcjogJ3N1Y2Nlc3NmdWwnLCBsaW1pdDogMTAwIH0pXG4gICAgLnNldCgnQWNjZXB0JywgJ2FwcGxpY2F0aW9uL2pzb24nKVxuICAgIC50aW1lb3V0KGNvbmZpZy50aW1lb3V0ICogMTAwMClcbiAgICAuZW5kKGNjaUJ1aWxkSW5mb0hhbmRsZXIpO1xufTtcblxuZXhwb3J0IGRlZmF1bHQgbW9kdWxlO1xuIl19 |
@@ -7,3 +7,3 @@ 'use strict'; | ||
// generated code, please see package.json | ||
exports.default = '2.7.3'; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL2xpYi92ZXJzaW9uLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUE7a0JBQ2UsTyIsImZpbGUiOiJ2ZXJzaW9uLmpzIiwic291cmNlc0NvbnRlbnQiOlsiLy8gZ2VuZXJhdGVkIGNvZGUsIHBsZWFzZSBzZWUgcGFja2FnZS5qc29uXG5leHBvcnQgZGVmYXVsdCAnMi43LjMnO1xuIl19 | ||
exports.default = '2.7.7'; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL2xpYi92ZXJzaW9uLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUE7a0JBQ2UsTyIsImZpbGUiOiJ2ZXJzaW9uLmpzIiwic291cmNlc0NvbnRlbnQiOlsiLy8gZ2VuZXJhdGVkIGNvZGUsIHBsZWFzZSBzZWUgcGFja2FnZS5qc29uXG5leHBvcnQgZGVmYXVsdCAnMi43LjcnO1xuIl19 |
{ | ||
"name": "cci-pingu", | ||
"version": "2.7.3", | ||
"version": "2.7.7", | ||
"description": "Periodically check for new builds (artifacts) on CircleCI and install them in turn", | ||
@@ -38,9 +38,9 @@ "license": "MIT", | ||
"babel-preset-stage-0": "6.24.1", | ||
"eslint": "5.12.0", | ||
"eslint": "5.15.3", | ||
"eslint-config-standard": "12.0.0", | ||
"eslint-plugin-import": "2.14.0", | ||
"eslint-plugin-import": "2.16.0", | ||
"eslint-plugin-node": "8.0.1", | ||
"eslint-plugin-promise": "4.0.1", | ||
"eslint-plugin-standard": "4.0.0", | ||
"mocha": "5.2.0" | ||
"mocha": "6.0.2" | ||
}, | ||
@@ -47,0 +47,0 @@ "dependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
90778
664