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

@gedit/utils

Package Overview
Dependencies
Maintainers
3
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gedit/utils - npm Package Compare versions

Comparing version 0.1.61 to 0.1.62

1

lib/common/uri.d.ts

@@ -64,2 +64,3 @@ /********************************************************************************

}): URI;
removeQueryObject(key: string): URI;
/**

@@ -66,0 +67,0 @@ * return this URI without a query

@@ -206,2 +206,9 @@ "use strict";

};
URI.prototype.removeQueryObject = function (key) {
var queryObj = __assign({}, this.queryObject);
if (key in queryObj) {
delete queryObj[key];
}
return this.withQuery(URI.objectToQueryString(queryObj));
};
/**

@@ -208,0 +215,0 @@ * return this URI without a query

2

package.json
{
"name": "@gedit/utils",
"version": "0.1.61",
"version": "0.1.62",
"license": "MIT",

@@ -5,0 +5,0 @@ "main": "lib/common/index",

@@ -178,2 +178,10 @@ /********************************************************************************

removeQueryObject(key: string): URI {
const queryObj = { ...this.queryObject } as { [key: string]: string };
if (key in queryObj) {
delete queryObj[key];
}
return this.withQuery(URI.objectToQueryString(queryObj));
}
/**

@@ -180,0 +188,0 @@ * return this URI without a query

Sorry, the diff of this file is not supported yet

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