parse-s3-url
Advanced tools
Comparing version 1.0.4 to 1.0.5
{ | ||
"name": "parse-s3-url", | ||
"description": "Re-sign potentially already signed S3 urls.", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"author": "Tim Allen <tim@noblesamurai.com>", | ||
@@ -31,6 +31,6 @@ "license": "BSD", | ||
"dirty-chai": "^1.2.2", | ||
"jsdoc-to-markdown": "^5.0.3", | ||
"mocha": "~3.3.0", | ||
"nyc": "^10.1.2", | ||
"semistandard": "*", | ||
"jsdoc-to-markdown": "~3.0.0" | ||
"nyc": "^15.0.0", | ||
"semistandard": "*" | ||
}, | ||
@@ -37,0 +37,0 @@ "keywords": [], |
@@ -10,3 +10,3 @@ const { URL } = require('url'); | ||
if (!match) return false; | ||
const [ , bucket, key ] = match; | ||
const [, bucket, key] = match; | ||
return { bucket, key: decodeURIComponent(key) }; | ||
@@ -13,0 +13,0 @@ } catch (_err) { |
6837