Skip to content

Commit 85cfd14

Browse files
committed
Prepare for release 1.2.28
1 parent 8c74adf commit 85cfd14

File tree

4 files changed

+5557
-5506
lines changed

4 files changed

+5557
-5506
lines changed

dist/netlicensing-client.js

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ module.exports["default"] = module.exports, module.exports.__esModule = true;
368368
/***/ 8585:
369369
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
370370

371-
var _typeof = (__webpack_require__(8)["default"]);
371+
var _typeof = __webpack_require__(8)["default"];
372372

373373
var assertThisInitialized = __webpack_require__(1506);
374374

@@ -823,7 +823,7 @@ axios.Axios = Axios;
823823
axios.Cancel = __webpack_require__(5263);
824824
axios.CancelToken = __webpack_require__(4972);
825825
axios.isCancel = __webpack_require__(6502);
826-
axios.VERSION = (__webpack_require__(7288).version);
826+
axios.VERSION = __webpack_require__(7288).version;
827827

828828
// Expose all/spread
829829
axios.all = function all(promises) {
@@ -1041,14 +1041,14 @@ function Axios(instanceConfig) {
10411041
*
10421042
* @param {Object} config The config specific for this request (merged with this.defaults)
10431043
*/
1044-
Axios.prototype.request = function request(config) {
1044+
Axios.prototype.request = function request(configOrUrl, config) {
10451045
/*eslint no-param-reassign:0*/
10461046
// Allow for axios('example/url'[, config]) a la fetch API
1047-
if (typeof config === 'string') {
1048-
config = arguments[1] || {};
1049-
config.url = arguments[0];
1050-
} else {
1047+
if (typeof configOrUrl === 'string') {
10511048
config = config || {};
1049+
config.url = configOrUrl;
1050+
} else {
1051+
config = configOrUrl || {};
10521052
}
10531053

10541054
config = mergeConfig(this.defaults, config);
@@ -1743,7 +1743,7 @@ module.exports = defaults;
17431743
/***/ ((module) => {
17441744

17451745
module.exports = {
1746-
"version": "0.24.0"
1746+
"version": "0.26.0"
17471747
};
17481748

17491749
/***/ }),
@@ -1944,26 +1944,28 @@ module.exports = function isAbsoluteURL(url) {
19441944
// A URL is considered absolute if it begins with "<scheme>://" or "//" (protocol-relative URL).
19451945
// RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed
19461946
// by any combination of letters, digits, plus, period, or hyphen.
1947-
return /^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(url);
1947+
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);
19481948
};
19491949

19501950

19511951
/***/ }),
19521952

19531953
/***/ 6268:
1954-
/***/ ((module) => {
1954+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
19551955

19561956
"use strict";
19571957

19581958

1959+
var utils = __webpack_require__(4867);
1960+
19591961
/**
19601962
* Determines whether the payload is an error thrown by Axios
19611963
*
19621964
* @param {*} payload The value to test
19631965
* @returns {boolean} True if the payload is an error thrown by Axios, otherwise false
19641966
*/
19651967
module.exports = function isAxiosError(payload) {
1966-
return (typeof payload === 'object') && (payload.isAxiosError === true);
1968+
return utils.isObject(payload) && (payload.isAxiosError === true);
19671969
};
19681970

19691971

@@ -2167,7 +2169,7 @@ module.exports = function spread(callback) {
21672169
"use strict";
21682170

21692171

2170-
var VERSION = (__webpack_require__(7288).version);
2172+
var VERSION = __webpack_require__(7288).version;
21712173

21722174
var validators = {};
21732175

@@ -2270,7 +2272,7 @@ var toString = Object.prototype.toString;
22702272
* @returns {boolean} True if value is an Array, otherwise false
22712273
*/
22722274
function isArray(val) {
2273-
return toString.call(val) === '[object Array]';
2275+
return Array.isArray(val);
22742276
}
22752277

22762278
/**
@@ -2311,7 +2313,7 @@ function isArrayBuffer(val) {
23112313
* @returns {boolean} True if value is an FormData, otherwise false
23122314
*/
23132315
function isFormData(val) {
2314-
return (typeof FormData !== 'undefined') && (val instanceof FormData);
2316+
return toString.call(val) === '[object FormData]';
23152317
}
23162318

23172319
/**
@@ -2325,7 +2327,7 @@ function isArrayBufferView(val) {
23252327
if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {
23262328
result = ArrayBuffer.isView(val);
23272329
} else {
2328-
result = (val) && (val.buffer) && (val.buffer instanceof ArrayBuffer);
2330+
result = (val) && (val.buffer) && (isArrayBuffer(val.buffer));
23292331
}
23302332
return result;
23312333
}
@@ -2432,7 +2434,7 @@ function isStream(val) {
24322434
* @returns {boolean} True if value is a URLSearchParams object, otherwise false
24332435
*/
24342436
function isURLSearchParams(val) {
2435-
return typeof URLSearchParams !== 'undefined' && val instanceof URLSearchParams;
2437+
return toString.call(val) === '[object URLSearchParams]';
24362438
}
24372439

24382440
/**
@@ -9742,7 +9744,7 @@ try {
97429744
/***/ ((module) => {
97439745

97449746
"use strict";
9745-
module.exports = JSON.parse('{"name":"netlicensing-client","version":"1.2.26","description":"JavaScript Wrapper for Labs64 NetLicensing RESTful API","keywords":["labs64","netlicensing","licensing","licensing-as-a-service","license","license-management","software-license","client","restful","restful-api","javascript","wrapper","api","client"],"license":"Apache-2.0","author":"Labs64 GmbH","homepage":"https://netlicensing.io","repository":{"type":"git","url":"https://github.com/Labs64/NetLicensingClient-javascript"},"bugs":{"url":"https://github.com/Labs64/NetLicensingClient-javascript/issues"},"contributors":[{"name":"Ready Brown","email":"ready.brown@hotmail.de","url":"https://github.com/r-brown"},{"name":"Viacheslav Rudkovskiy","email":"viachaslau.rudkovski@labs64.de","url":"https://github.com/v-rudkovskiy"},{"name":"Andrei Yushkevich","email":"yushkevich@me.com","url":"https://github.com/yushkevich"}],"main":"dist/netlicensing-client.js","files":["dist"],"scripts":{"build":"node build/build.js","release":"npm run build && npm run test","dev":"webpack --progress --watch --config build/webpack.dev.conf.js","test":"karma start test/karma.conf.js --single-run","test-mocha":"webpack --config build/webpack.test.conf.js","test-for-travis":"karma start test/karma.conf.js --single-run --browsers Firefox","lint":"eslint --ext .js,.vue src test"},"dependencies":{"axios":"^0.24.0","btoa":"^1.2.1","es6-promise":"^4.2.8"},"devDependencies":{"@babel/core":"^7.15.4","@babel/plugin-proposal-class-properties":"^7.14.5","@babel/plugin-proposal-decorators":"^7.15.4","@babel/plugin-proposal-export-namespace-from":"^7.14.5","@babel/plugin-proposal-function-sent":"^7.14.5","@babel/plugin-proposal-json-strings":"^7.14.5","@babel/plugin-proposal-numeric-separator":"^7.14.5","@babel/plugin-proposal-throw-expressions":"^7.14.5","@babel/plugin-syntax-dynamic-import":"^7.8.3","@babel/plugin-syntax-import-meta":"^7.10.4","@babel/plugin-transform-modules-commonjs":"^7.15.4","@babel/plugin-transform-runtime":"^7.15.0","@babel/preset-env":"^7.15.4","@babel/runtime":"^7.15.4","axios-mock-adapter":"^1.20.0","babel-eslint":"^10.1.0","babel-loader":"^8.2.2","chalk":"^4.1.2","eslint":"^7.32.0","eslint-config-airbnb-base":"^14.2.1","eslint-friendly-formatter":"^4.0.1","eslint-import-resolver-webpack":"^0.13.1","eslint-loader":"^4.0.2","eslint-plugin-import":"^2.24.2","eslint-plugin-jasmine":"^4.1.2","faker":"^5.5.3","is-docker":"^2.2.1","jasmine":"^3.9.0","jasmine-core":"^3.9.0","karma":"^6.3.4","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.1","karma-jasmine":"^4.0.1","karma-sourcemap-loader":"^0.3.7","karma-spec-reporter":"0.0.32","karma-webpack":"^5.0.0","lodash":"^4.17.21","ora":"^5.4.1","rimraf":"^3.0.2","terser-webpack-plugin":"^5.2.4","webpack":"^5.51.2","webpack-cli":"^4.8.0","webpack-merge":"^5.8.0"},"engines":{"node":">= 10.0.0","npm":">= 6.0.0"},"browserslist":["> 1%","last 2 versions","not ie <= 10"]}');
9747+
module.exports = JSON.parse('{"name":"netlicensing-client","version":"1.2.27","description":"JavaScript Wrapper for Labs64 NetLicensing RESTful API","keywords":["labs64","netlicensing","licensing","licensing-as-a-service","license","license-management","software-license","client","restful","restful-api","javascript","wrapper","api","client"],"license":"Apache-2.0","author":"Labs64 GmbH","homepage":"https://netlicensing.io","repository":{"type":"git","url":"https://github.com/Labs64/NetLicensingClient-javascript"},"bugs":{"url":"https://github.com/Labs64/NetLicensingClient-javascript/issues"},"contributors":[{"name":"Ready Brown","email":"ready.brown@hotmail.de","url":"https://github.com/r-brown"},{"name":"Viacheslav Rudkovskiy","email":"viachaslau.rudkovski@labs64.de","url":"https://github.com/v-rudkovskiy"},{"name":"Andrei Yushkevich","email":"yushkevich@me.com","url":"https://github.com/yushkevich"}],"main":"dist/netlicensing-client.js","files":["dist"],"scripts":{"build":"node build/build.js","release":"npm run build && npm run test","dev":"webpack --progress --watch --config build/webpack.dev.conf.js","test":"karma start test/karma.conf.js --single-run","test-mocha":"webpack --config build/webpack.test.conf.js","test-for-travis":"karma start test/karma.conf.js --single-run --browsers Firefox","lint":"eslint --ext .js,.vue src test"},"dependencies":{"axios":"^0.26.0","btoa":"^1.2.1","es6-promise":"^4.2.8"},"devDependencies":{"@babel/core":"^7.15.4","@babel/plugin-proposal-class-properties":"^7.14.5","@babel/plugin-proposal-decorators":"^7.15.4","@babel/plugin-proposal-export-namespace-from":"^7.14.5","@babel/plugin-proposal-function-sent":"^7.14.5","@babel/plugin-proposal-json-strings":"^7.14.5","@babel/plugin-proposal-numeric-separator":"^7.14.5","@babel/plugin-proposal-throw-expressions":"^7.14.5","@babel/plugin-syntax-dynamic-import":"^7.8.3","@babel/plugin-syntax-import-meta":"^7.10.4","@babel/plugin-transform-modules-commonjs":"^7.15.4","@babel/plugin-transform-runtime":"^7.15.0","@babel/preset-env":"^7.15.4","@babel/runtime":"^7.15.4","axios-mock-adapter":"^1.20.0","babel-eslint":"^10.1.0","babel-loader":"^8.2.2","chalk":"^4.1.2","eslint":"^7.32.0","eslint-config-airbnb-base":"^14.2.1","eslint-friendly-formatter":"^4.0.1","eslint-import-resolver-webpack":"^0.13.1","eslint-loader":"^4.0.2","eslint-plugin-import":"^2.24.2","eslint-plugin-jasmine":"^4.1.2","faker":"^5.5.3","is-docker":"^2.2.1","jasmine":"^3.9.0","jasmine-core":"^3.9.0","karma":"^6.3.17","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.2","karma-jasmine":"^4.0.1","karma-sourcemap-loader":"^0.3.7","karma-spec-reporter":"0.0.33","karma-webpack":"^5.0.0","lodash":"^4.17.21","ora":"^5.4.1","rimraf":"^3.0.2","terser-webpack-plugin":"^5.2.4","webpack":"^5.51.2","webpack-cli":"^4.8.0","webpack-merge":"^5.8.0"},"engines":{"node":">= 10.0.0","npm":">= 6.0.0"},"browserslist":["> 1%","last 2 versions","not ie <= 10"]}');
97469748

97479749
/***/ })
97489750

dist/netlicensing-client.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)