youzanyun-oss-sdk
Advanced tools
Comparing version 3.0.2 to 3.0.3-beta.0
@@ -59,7 +59,7 @@ "use strict"; | ||
// 是否为可读的 stream 流 | ||
return exports.putStream(reqPath, file); | ||
return exports.putStream(reqPath, file, options); | ||
} | ||
else if (typeof (file) === 'string' && fs_1.default.existsSync(file)) { | ||
// 判断是否为文件路径 | ||
return exports.putStream(reqPath, file); | ||
return exports.putStream(reqPath, file, options); | ||
} | ||
@@ -66,0 +66,0 @@ else { |
{ | ||
"name": "youzanyun-oss-sdk", | ||
"version": "3.0.2", | ||
"version": "3.0.3-beta.0", | ||
"description": "有赞 node 端的 oss ", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
37577
2