@paciolan/remote-module-loader
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -17,3 +17,3 @@ "use strict"; | ||
var _fetcher = fetcher || defaultFetcher; | ||
return memoize_1["default"](function (url) { | ||
return (0, memoize_1["default"])(function (url) { | ||
return _fetcher(url).then(function (data) { | ||
@@ -20,0 +20,0 @@ var exports = {}; |
"use strict"; | ||
var __spreadArrays = (this && this.__spreadArrays) || function () { | ||
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; | ||
for (var r = Array(s), k = 0, i = 0; i < il; i++) | ||
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) | ||
r[k] = a[j]; | ||
return r; | ||
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { | ||
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { | ||
if (ar || !(i in from)) { | ||
if (!ar) ar = Array.prototype.slice.call(from, 0, i); | ||
ar[i] = from[i]; | ||
} | ||
} | ||
return to.concat(ar || Array.prototype.slice.call(from)); | ||
}; | ||
@@ -29,3 +31,3 @@ exports.__esModule = true; | ||
return url.indexOf("https://") === 0 | ||
? https.get.apply(https, __spreadArrays([url], args)) : http.get.apply(http, __spreadArrays([url], args)); | ||
? https.get.apply(https, __spreadArray([url], args, false)) : http.get.apply(http, __spreadArray([url], args, false)); | ||
}; | ||
@@ -32,0 +34,0 @@ /** |
{ | ||
"name": "@paciolan/remote-module-loader", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "", | ||
@@ -37,3 +37,2 @@ "main": "dist/index.js", | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
@@ -44,11 +43,11 @@ "@babel/cli": "^7.12.8", | ||
"@babel/preset-typescript": "^7.12.7", | ||
"@commitlint/cli": "^11.0.0", | ||
"@commitlint/config-conventional": "^11.0.0", | ||
"@types/jest": "^26.0.16", | ||
"@types/node": "^14.14.10", | ||
"@commitlint/cli": "^14.1.0", | ||
"@commitlint/config-conventional": "^14.1.0", | ||
"@types/jest": "^27.0.2", | ||
"@types/node": "^16.11.7", | ||
"babel-loader": "^8.2.2", | ||
"cross-env": "^7.0.3", | ||
"eslint": "^7.14.0", | ||
"eslint-config-prettier": "^6.15.0", | ||
"eslint-plugin-prettier": "^3.2.0", | ||
"eslint": "^8.2.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-plugin-prettier": "^4.0.0", | ||
"git-cz": "^4.7.5", | ||
@@ -55,0 +54,0 @@ "husky": "^4.3.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
21878
32
266