New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@frui.ts/apiclient

Package Overview
Dependencies
Maintainers
5
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@frui.ts/apiclient - npm Package Compare versions

Comparing version 0.16.2 to 0.16.3

4

dist/restRequestBuilder.d.ts

@@ -34,4 +34,4 @@ import { IApiConnector } from "./types";

withBaseUrl(url: string): this;
getQueryString(query: any): string;
appendQuery(url: string, query?: any): string;
getQueryString(query: any, queryStringOptions?: StringifyOptions): string;
appendQuery(url: string, query?: any, queryStringOptions?: StringifyOptions): string;
}

@@ -115,8 +115,12 @@ "use strict";

};
RestRequestBuilder.prototype.getQueryString = function (query) {
RestRequestBuilder.prototype.getQueryString = function (query, queryStringOptions) {
var _a;
return query_string_1.stringify(query, (_a = this.queryStringOptions) !== null && _a !== void 0 ? _a : RestRequestBuilder.DefaultQueryStringOptions);
return query_string_1.stringify(query, (_a = queryStringOptions !== null && queryStringOptions !== void 0 ? queryStringOptions : this.queryStringOptions) !== null && _a !== void 0 ? _a : RestRequestBuilder.DefaultQueryStringOptions);
};
RestRequestBuilder.prototype.appendQuery = function (url, query) {
return query ? url + "?" + this.getQueryString(query) : url;
RestRequestBuilder.prototype.appendQuery = function (url, query, queryStringOptions) {
if (!query) {
return url;
}
var queryString = typeof query === "string" ? query : this.getQueryString(query, queryStringOptions);
return url + "?" + queryString;
};

@@ -123,0 +127,0 @@ RestRequestBuilder.DefaultQueryStringOptions = { skipNull: true };

@@ -6,3 +6,3 @@ {

},
"version": "0.16.2",
"version": "0.16.3",
"description": "Frui.ts helpers for HTTP communication",

@@ -36,6 +36,6 @@ "keywords": [

"dependencies": {
"@frui.ts/helpers": "^0.16.2",
"@frui.ts/helpers": "^0.16.3",
"query-string": "^6.9.0"
},
"gitHead": "4e9a698e964a13779157b1fe4a2dbb52cd7a64af"
"gitHead": "fc58a17e18bea299f6aeb6f1090569443eccaafc"
}

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