Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@webcomponents/url

Package Overview
Dependencies
Maintainers
3
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@webcomponents/url - npm Package Compare versions

Comparing version 0.7.2 to 0.7.3

2

package.json
{
"name": "@webcomponents/url",
"version": "0.7.2",
"version": "0.7.3",
"main": "url.js",

@@ -5,0 +5,0 @@ "repository": {

@@ -622,3 +622,3 @@ /* Any copyright is dedicated to the Public Domain.

if (OriginalURL) {
jURL.createObjectURL = function(blob) {
jURL['createObjectURL'] = function(blob) {
// IE extension allows a second optional options argument.

@@ -628,3 +628,3 @@ // http://msdn.microsoft.com/en-us/library/ie/hh772302(v=vs.85).aspx

};
jURL.revokeObjectURL = function(url) {
jURL['revokeObjectURL'] = function(url) {
OriginalURL.revokeObjectURL(url);

@@ -631,0 +631,0 @@ };

@@ -14,6 +14,6 @@ (function(){

":"},set protocol(b){this.c||g.call(this,b+":","scheme start")},get host(){return this.c?"":this.h?this.f+":"+this.h:this.f},set host(b){!this.c&&this.m&&g.call(this,b,"host")},get hostname(){return this.f},set hostname(b){!this.c&&this.m&&g.call(this,b,"hostname")},get port(){return this.h},set port(b){!this.c&&this.m&&g.call(this,b,"port")},get pathname(){return this.c?"":this.m?"/"+this.g.join("/"):this.o},set pathname(b){!this.c&&this.m&&(this.g=[],g.call(this,b,"relative path start"))},get search(){return this.c||
!this.i||"?"==this.i?"":this.i},set search(b){!this.c&&this.m&&(this.i="?","?"==b[0]&&(b=b.slice(1)),g.call(this,b,"query"))},get hash(){return this.c||!this.l||"#"==this.l?"":this.l},set hash(b){this.c||(b?(this.l="#","#"==b[0]&&(b=b.slice(1)),g.call(this,b,"fragment")):this.l="")},get origin(){var b;if(this.c||!this.b)return"";switch(this.b){case "data":case "file":case "javascript":case "mailto":return"null"}return(b=this.host)?this.b+"://"+b:""}};var n=r.URL;n&&(m.s=function(b){return n.createObjectURL.apply(n,
arguments)},m.u=function(b){n.revokeObjectURL(b)});r.URL=m}})(window);
!this.i||"?"==this.i?"":this.i},set search(b){!this.c&&this.m&&(this.i="?","?"==b[0]&&(b=b.slice(1)),g.call(this,b,"query"))},get hash(){return this.c||!this.l||"#"==this.l?"":this.l},set hash(b){this.c||(b?(this.l="#","#"==b[0]&&(b=b.slice(1)),g.call(this,b,"fragment")):this.l="")},get origin(){var b;if(this.c||!this.b)return"";switch(this.b){case "data":case "file":case "javascript":case "mailto":return"null"}return(b=this.host)?this.b+"://"+b:""}};var n=r.URL;n&&(m.createObjectURL=function(b){return n.createObjectURL.apply(n,
arguments)},m.revokeObjectURL=function(b){n.revokeObjectURL(b)});r.URL=m}})(window);
}).call(self);
//# sourceMappingURL=url.min.js.map

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc