Comparing version 4.4.3 to 4.4.4
4.4.4 / 2016-06-04 | ||
================== | ||
* deps: use ^ | ||
* Fix isGeneratorFunction and Date format problems in IE10 (#118) | ||
* chore(package): update humanize-ms to version 1.2.0 | ||
4.4.3 / 2016-05-17 | ||
@@ -3,0 +10,0 @@ ================== |
@@ -31,2 +31,3 @@ /** | ||
var pkg = require('../package.json'); | ||
var dateFormat = require('dateformat'); | ||
@@ -219,5 +220,3 @@ /** | ||
var headers = { | ||
// For compatibility with IE10 | ||
// Also MDN says `toGMTString()` is deprecated | ||
'x-oss-date': new Date().toUTCString().replace('UTC', 'GMT'), | ||
'x-oss-date': dateFormat(new Date(), 'UTC:ddd, dd mmm yyyy HH:MM:ss \'GMT\''), | ||
'x-oss-user-agent': userAgent, | ||
@@ -224,0 +223,0 @@ 'User-Agent': userAgent |
@@ -21,3 +21,3 @@ /** | ||
function isGenerator(obj) { | ||
return 'function' == typeof obj.next && 'function' == typeof obj.throw; | ||
return obj && 'function' == typeof obj.next && 'function' == typeof obj.throw; | ||
} | ||
@@ -29,3 +29,3 @@ | ||
if ('GeneratorFunction' === constructor.name || 'GeneratorFunction' === constructor.displayName) return true; | ||
return isGenerator(constructor.prototype); | ||
return isGenerator(constructor.prototype) || isGenerator(obj.prototype); | ||
} | ||
@@ -32,0 +32,0 @@ |
{ | ||
"name": "ali-oss", | ||
"version": "4.4.3", | ||
"version": "4.4.4", | ||
"description": "aliyun oss(open storage service) node client", | ||
@@ -45,9 +45,9 @@ "main": "lib/client.js", | ||
"aliasify": "^2.0.0", | ||
"autod": "^2.4.2", | ||
"autod": "^2.6.1", | ||
"babel-plugin-transform-runtime": "^6.8.0", | ||
"babel-preset-es2015": "^6.3.13", | ||
"babel-runtime": "^6.6.1", | ||
"babelify": "^7.2.0", | ||
"babelify": "^7.3.0", | ||
"bluebird": "^3.1.5", | ||
"browserify": "^13.0.0", | ||
"browserify": "^13.0.1", | ||
"co-fs": "^1.2.0", | ||
@@ -57,29 +57,30 @@ "crypto-browserify": "^1.0.9", | ||
"git-pre-hooks": "^1.2.0", | ||
"istanbul": "^0.4.2", | ||
"istanbul": "^0.4.3", | ||
"mm": "^1.3.5", | ||
"mocha": "^2.4.2", | ||
"should": "^8.2.0", | ||
"thunk-mocha": "^1.0.2", | ||
"mocha": "^2.5.3", | ||
"should": "^9.0.0", | ||
"thunk-mocha": "^1.0.3", | ||
"uglify-js": "^2.6.2" | ||
}, | ||
"dependencies": { | ||
"address": "~1.0.0", | ||
"agentkeepalive": "~2.1.1", | ||
"co": "~4.6.0", | ||
"co-defer": "~1.0.0", | ||
"copy-to": "~2.0.1", | ||
"debug": "~2.2.0", | ||
"destroy": "~1.0.4", | ||
"end-or-error": "~1.0.1", | ||
"get-ready": "~1.0.0", | ||
"humanize-ms": "~1.0.2", | ||
"is-type-of": "~1.0.0", | ||
"merge-descriptors": "~1.0.1", | ||
"mime": "~1.3.4", | ||
"platform": "~1.3.1", | ||
"sdk-base": "~2.0.1", | ||
"urllib": "~2.9.1", | ||
"utility": "~1.8.0", | ||
"xml2js": "~0.4.16" | ||
"address": "^1.0.0", | ||
"agentkeepalive": "^2.1.1", | ||
"co": "^4.6.0", | ||
"co-defer": "^1.0.0", | ||
"copy-to": "^2.0.1", | ||
"dateformat": "^1.0.12", | ||
"debug": "^2.2.0", | ||
"destroy": "^1.0.4", | ||
"end-or-error": "^1.0.1", | ||
"get-ready": "^1.0.0", | ||
"humanize-ms": "^1.2.0", | ||
"is-type-of": "^1.0.0", | ||
"merge-descriptors": "^1.0.1", | ||
"mime": "^1.3.4", | ||
"platform": "^1.3.1", | ||
"sdk-base": "^2.0.1", | ||
"urllib": "^2.9.1", | ||
"utility": "^1.8.0", | ||
"xml2js": "^0.4.16" | ||
} | ||
} |
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
133169
19
2018
+ Addeddateformat@^1.0.12
+ Addedaddress@1.2.2(transitive)
+ Addedagentkeepalive@2.2.0(transitive)
+ Addedany-promise@1.3.0(transitive)
+ Addedarray-find-index@1.0.2(transitive)
+ Addedcall-bind@1.0.7(transitive)
+ Addedcamelcase@2.1.1(transitive)
+ Addedcamelcase-keys@2.1.0(transitive)
+ Addedcontent-type@1.0.5(transitive)
+ Addedcurrently-unhandled@0.4.1(transitive)
+ Addeddateformat@1.0.12(transitive)
+ Addeddebug@2.6.9(transitive)
+ Addeddecamelize@1.2.0(transitive)
+ Addeddefine-data-property@1.1.4(transitive)
+ Addeddestroy@1.2.0(transitive)
+ Addeddigest-header@1.1.0(transitive)
+ Addedee-first@1.1.1(transitive)
+ Addedend-of-stream@1.4.4(transitive)
+ Addederror-ex@1.3.2(transitive)
+ Addedes-define-property@1.0.0(transitive)
+ Addedes-errors@1.3.0(transitive)
+ Addedextend-shallow@2.0.1(transitive)
+ Addedfind-up@1.1.2(transitive)
+ Addedformstream@1.5.1(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedget-intrinsic@1.2.4(transitive)
+ Addedget-stdin@4.0.1(transitive)
+ Addedgopd@1.0.1(transitive)
+ Addedgraceful-fs@4.2.11(transitive)
+ Addedhas-property-descriptors@1.0.2(transitive)
+ Addedhas-proto@1.0.3(transitive)
+ Addedhas-symbols@1.0.3(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedhosted-git-info@2.8.9(transitive)
+ Addedhumanize-ms@1.2.1(transitive)
+ Addediconv-lite@0.6.3(transitive)
+ Addedindent-string@2.1.0(transitive)
+ Addedis-arrayish@0.2.1(transitive)
+ Addedis-class-hotfix@0.0.6(transitive)
+ Addedis-core-module@2.15.1(transitive)
+ Addedis-extendable@0.1.1(transitive)
+ Addedis-finite@1.1.0(transitive)
+ Addedis-type-of@1.4.0(transitive)
+ Addedis-utf8@0.2.1(transitive)
+ Addedload-json-file@1.1.0(transitive)
+ Addedloud-rejection@1.6.0(transitive)
+ Addedmap-obj@1.0.1(transitive)
+ Addedmeow@3.7.0(transitive)
+ Addedmime@1.6.02.6.0(transitive)
+ Addedmkdirp@0.5.6(transitive)
+ Addedms@2.0.0(transitive)
+ Addedmz@2.7.0(transitive)
+ Addednode-hex@1.0.1(transitive)
+ Addednormalize-package-data@2.5.0(transitive)
+ Addedobject-assign@4.1.1(transitive)
+ Addedobject-inspect@1.13.3(transitive)
+ Addedonce@1.4.0(transitive)
+ Addedparse-json@2.2.0(transitive)
+ Addedpath-exists@2.1.0(transitive)
+ Addedpath-parse@1.0.7(transitive)
+ Addedpath-type@1.1.0(transitive)
+ Addedpause-stream@0.0.11(transitive)
+ Addedpify@2.3.0(transitive)
+ Addedpinkie@2.0.4(transitive)
+ Addedpinkie-promise@2.0.1(transitive)
+ Addedpump@3.0.2(transitive)
+ Addedqs@6.13.1(transitive)
+ Addedread-pkg@1.1.0(transitive)
+ Addedread-pkg-up@1.0.1(transitive)
+ Addedredent@1.0.0(transitive)
+ Addedrepeating@2.0.1(transitive)
+ Addedresolve@1.22.8(transitive)
+ Addedset-function-length@1.2.2(transitive)
+ Addedside-channel@1.0.6(transitive)
+ Addedsignal-exit@3.0.7(transitive)
+ Addedspdx-correct@3.2.0(transitive)
+ Addedspdx-exceptions@2.5.0(transitive)
+ Addedspdx-expression-parse@3.0.1(transitive)
+ Addedspdx-license-ids@3.0.20(transitive)
+ Addedstatuses@1.5.0(transitive)
+ Addedstrip-bom@2.0.0(transitive)
+ Addedstrip-indent@1.0.1(transitive)
+ Addedsupports-preserve-symlinks-flag@1.0.0(transitive)
+ Addedthenify@3.3.1(transitive)
+ Addedthenify-all@1.6.0(transitive)
+ Addedthrough@2.3.8(transitive)
+ Addedtrim-newlines@1.0.0(transitive)
+ Addedunescape@1.0.1(transitive)
+ Addedurllib@2.44.0(transitive)
+ Addedutility@1.18.0(transitive)
+ Addedvalidate-npm-package-license@3.0.4(transitive)
+ Addedwrappy@1.0.2(transitive)
- Removedaddress@1.0.3(transitive)
- Removedagentkeepalive@2.1.1(transitive)
- Removedany-promise@1.2.0(transitive)
- Removeddebug@2.2.0(transitive)
- Removeddestroy@1.0.4(transitive)
- Removeddigest-header@0.0.1(transitive)
- Removedhumanize-ms@1.0.2(transitive)
- Removediconv-lite@0.4.24(transitive)
- Removedis-class@0.0.9(transitive)
- Removedis-type-of@1.0.0(transitive)
- Removedmedia-typer@0.3.0(transitive)
- Removedmime@1.3.6(transitive)
- Removedms@0.7.1(transitive)
- Removedstatuses@1.2.1(transitive)
- Removedurllib@2.9.1(transitive)
- Removedutility@0.1.111.8.0(transitive)
Updatedaddress@^1.0.0
Updatedagentkeepalive@^2.1.1
Updatedco@^4.6.0
Updatedco-defer@^1.0.0
Updatedcopy-to@^2.0.1
Updateddebug@^2.2.0
Updateddestroy@^1.0.4
Updatedend-or-error@^1.0.1
Updatedget-ready@^1.0.0
Updatedhumanize-ms@^1.2.0
Updatedis-type-of@^1.0.0
Updatedmerge-descriptors@^1.0.1
Updatedmime@^1.3.4
Updatedplatform@^1.3.1
Updatedsdk-base@^2.0.1
Updatedurllib@^2.9.1
Updatedutility@^1.8.0
Updatedxml2js@^0.4.16