@tussle/core
Advanced tools
Comparing version 0.5.0 to 0.5.2
@@ -75,5 +75,8 @@ "use strict"; | ||
getSupportedExtensions(ctx) { | ||
var _a; | ||
if ((_a = ctx.cfg.storage) === null || _a === void 0 ? void 0 : _a.extensionsSupported) { | ||
return ctx.cfg.storage.extensionsSupported.join(','); | ||
const storage = ctx.cfg.storage; | ||
if (storage) { | ||
const supported = storage.extensionsSupported; | ||
if (supported && supported.length) { | ||
return supported.join(','); | ||
} | ||
} | ||
@@ -80,0 +83,0 @@ return 'creation,checksum'; |
{ | ||
"name": "@tussle/core", | ||
"version": "0.5.0", | ||
"version": "0.5.2", | ||
"description": "Tussle tus daemon core module", | ||
@@ -36,3 +36,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "c4395f4d06c34c5648d708e0dc88e2255053b5d9" | ||
"gitHead": "7970cb40918e41b73b11893fd027524e96c19d63" | ||
} |
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
29480
677