Socket
Socket
Sign inDemoInstall

url

Package Overview
Dependencies
16
Maintainers
3
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.11.2 to 0.11.3

2

package.json
{
"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 @@ });

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc