netlicensing-client 1.2.27 → 1.2.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -368,7 +368,7 @@ module.exports["default"] = module.exports, module.exports.__esModule = true;
368
368
  /***/ 8585:
369
369
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
370
370
 
371
- var _typeof = (__webpack_require__(8)["default"]);
371
+ var _typeof = __webpack_require__(8)["default"];
372
372
 
373
373
  var assertThisInitialized = __webpack_require__(1506);
374
374
 
@@ -823,7 +823,7 @@ axios.Axios = Axios;
823
823
  axios.Cancel = __webpack_require__(5263);
824
824
  axios.CancelToken = __webpack_require__(4972);
825
825
  axios.isCancel = __webpack_require__(6502);
826
- axios.VERSION = (__webpack_require__(7288).version);
826
+ axios.VERSION = __webpack_require__(7288).version;
827
827
 
828
828
  // Expose all/spread
829
829
  axios.all = function all(promises) {
@@ -1041,14 +1041,14 @@ function Axios(instanceConfig) {
1041
1041
  *
1042
1042
  * @param {Object} config The config specific for this request (merged with this.defaults)
1043
1043
  */
1044
- Axios.prototype.request = function request(config) {
1044
+ Axios.prototype.request = function request(configOrUrl, config) {
1045
1045
  /*eslint no-param-reassign:0*/
1046
1046
  // 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') {
1051
1048
  config = config || {};
1049
+ config.url = configOrUrl;
1050
+ } else {
1051
+ config = configOrUrl || {};
1052
1052
  }
1053
1053
 
1054
1054
  config = mergeConfig(this.defaults, config);
@@ -1743,7 +1743,7 @@ module.exports = defaults;
1743
1743
  /***/ ((module) => {
1744
1744
 
1745
1745
  module.exports = {
1746
- "version": "0.24.0"
1746
+ "version": "0.26.0"
1747
1747
  };
1748
1748
 
1749
1749
  /***/ }),
@@ -1944,18 +1944,20 @@ module.exports = function isAbsoluteURL(url) {
1944
1944
  // A URL is considered absolute if it begins with "<scheme>://" or "//" (protocol-relative URL).
1945
1945
  // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed
1946
1946
  // 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);
1948
1948
  };
1949
1949
 
1950
1950
 
1951
1951
  /***/ }),
1952
1952
 
1953
1953
  /***/ 6268:
1954
- /***/ ((module) => {
1954
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1955
1955
 
1956
1956
  "use strict";
1957
1957
 
1958
1958
 
1959
+ var utils = __webpack_require__(4867);
1960
+
1959
1961
  /**
1960
1962
  * Determines whether the payload is an error thrown by Axios
1961
1963
  *
@@ -1963,7 +1965,7 @@ module.exports = function isAbsoluteURL(url) {
1963
1965
  * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false
1964
1966
  */
1965
1967
  module.exports = function isAxiosError(payload) {
1966
- return (typeof payload === 'object') && (payload.isAxiosError === true);
1968
+ return utils.isObject(payload) && (payload.isAxiosError === true);
1967
1969
  };
1968
1970
 
1969
1971
 
@@ -2167,7 +2169,7 @@ module.exports = function spread(callback) {
2167
2169
  "use strict";
2168
2170
 
2169
2171
 
2170
- var VERSION = (__webpack_require__(7288).version);
2172
+ var VERSION = __webpack_require__(7288).version;
2171
2173
 
2172
2174
  var validators = {};
2173
2175
 
@@ -2270,7 +2272,7 @@ var toString = Object.prototype.toString;
2270
2272
  * @returns {boolean} True if value is an Array, otherwise false
2271
2273
  */
2272
2274
  function isArray(val) {
2273
- return toString.call(val) === '[object Array]';
2275
+ return Array.isArray(val);
2274
2276
  }
2275
2277
 
2276
2278
  /**
@@ -2311,7 +2313,7 @@ function isArrayBuffer(val) {
2311
2313
  * @returns {boolean} True if value is an FormData, otherwise false
2312
2314
  */
2313
2315
  function isFormData(val) {
2314
- return (typeof FormData !== 'undefined') && (val instanceof FormData);
2316
+ return toString.call(val) === '[object FormData]';
2315
2317
  }
2316
2318
 
2317
2319
  /**
@@ -2325,7 +2327,7 @@ function isArrayBufferView(val) {
2325
2327
  if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {
2326
2328
  result = ArrayBuffer.isView(val);
2327
2329
  } else {
2328
- result = (val) && (val.buffer) && (val.buffer instanceof ArrayBuffer);
2330
+ result = (val) && (val.buffer) && (isArrayBuffer(val.buffer));
2329
2331
  }
2330
2332
  return result;
2331
2333
  }
@@ -2432,7 +2434,7 @@ function isStream(val) {
2432
2434
  * @returns {boolean} True if value is a URLSearchParams object, otherwise false
2433
2435
  */
2434
2436
  function isURLSearchParams(val) {
2435
- return typeof URLSearchParams !== 'undefined' && val instanceof URLSearchParams;
2437
+ return toString.call(val) === '[object URLSearchParams]';
2436
2438
  }
2437
2439
 
2438
2440
  /**
@@ -9742,7 +9744,7 @@ try {
9742
9744
  /***/ ((module) => {
9743
9745
 
9744
9746
  "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"]}');
9746
9748
 
9747
9749
  /***/ })
9748
9750