Comparing version 0.11.2 to 0.11.3
{ | ||
"name": "url", | ||
"description": "The core `url` packaged standalone for use with Browserify.", | ||
"version": "0.11.2", | ||
"version": "0.11.3", | ||
"author": "defunctzombie", | ||
@@ -6,0 +6,0 @@ "dependencies": { |
@@ -1167,2 +1167,15 @@ 'use strict'; | ||
pathname: '/fooA100%mBr' | ||
}, | ||
// colons in keys | ||
'https://cdpn.io/test?custom%3Aid=12': { | ||
href: 'https://cdpn.io/test?custom%3Aid=12', | ||
protocol: 'https:', | ||
hostname: 'cdpn.io', | ||
hash: '', | ||
search: '?custom%3Aid=12', | ||
pathname: '/test', | ||
query: { | ||
'custom:id': '12' | ||
} | ||
} | ||
@@ -2033,3 +2046,3 @@ }; | ||
test('format with querystring', function () { | ||
var obj = { protocol: 'https:', host: 'google.com', pathname: 'test', query: { message: ['value1', 'value2'] } }; | ||
var obj = { protocol: 'https:', host: 'google.com', pathname: 'test', query: { message: ['value1', 'value2'], 'custom:id': 12 } }; | ||
@@ -2036,0 +2049,0 @@ var actual = url.format(obj); |
@@ -439,3 +439,2 @@ /* | ||
arrayFormat: 'repeat', | ||
encodeValuesOnly: true, | ||
addQueryPrefix: false | ||
@@ -442,0 +441,0 @@ }); |
78276
2644