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

@rh-support/utils

Package Overview
Dependencies
Maintainers
9
Versions
339
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rh-support/utils - npm Package Compare versions

Comparing version 2.1.20 to 2.1.21

2

lib/cjs/apiUtils.d.ts

@@ -16,3 +16,3 @@ import { IApiCreateState, IApiDeleteState, IApiResponseDetails, IApiUpdateState } from '@rh-support/types/shared';

export declare const getTrimmedCharacters: (description?: string, limit?: number) => string;
export declare const buildParams: (Obj: any) => string;
export declare const convertObjToEncodedQueryParams: (Obj: any) => string;
//# sourceMappingURL=apiUtils.d.ts.map

@@ -6,3 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.buildParams = exports.getTrimmedCharacters = exports.haventLoadedProductsMetadata = exports.haventLoadedMetadata = exports.getApiDeletionStatus = exports.getApiUpdationStatus = exports.getApiCreationStatus = exports.getApiResourceObject = void 0;
exports.convertObjToEncodedQueryParams = exports.getTrimmedCharacters = exports.haventLoadedProductsMetadata = exports.haventLoadedMetadata = exports.getApiDeletionStatus = exports.getApiUpdationStatus = exports.getApiCreationStatus = exports.getApiResourceObject = void 0;
const isEmpty_1 = __importDefault(require("lodash/isEmpty"));

@@ -51,3 +51,4 @@ const trim_1 = __importDefault(require("lodash/trim"));

exports.getTrimmedCharacters = getTrimmedCharacters;
const buildParams = (Obj) => {
// converts an obj to url query params and encodes value
const convertObjToEncodedQueryParams = (Obj) => {
const params = new URLSearchParams();

@@ -64,2 +65,2 @@ Object.entries(Obj).forEach(([key, value]) => {

};
exports.buildParams = buildParams;
exports.convertObjToEncodedQueryParams = convertObjToEncodedQueryParams;

@@ -16,3 +16,3 @@ import { IApiCreateState, IApiDeleteState, IApiResponseDetails, IApiUpdateState } from '@rh-support/types/shared';

export declare const getTrimmedCharacters: (description?: string, limit?: number) => string;
export declare const buildParams: (Obj: any) => string;
export declare const convertObjToEncodedQueryParams: (Obj: any) => string;
//# sourceMappingURL=apiUtils.d.ts.map

@@ -37,3 +37,4 @@ import isEmpty from 'lodash/isEmpty';

};
export const buildParams = (Obj) => {
// converts an obj to url query params and encodes value
export const convertObjToEncodedQueryParams = (Obj) => {
const params = new URLSearchParams();

@@ -40,0 +41,0 @@ Object.entries(Obj).forEach(([key, value]) => {

{
"name": "@rh-support/utils",
"version": "2.1.20",
"version": "2.1.21",
"description": "> TODO: description",

@@ -100,3 +100,3 @@ "author": "Vikas Rathee <vrathee@redhat.com>",

],
"gitHead": "0e07f257ebbb2d665193b3bf245666bf03df10cd"
"gitHead": "d86f205d22c0034bfa760f7e7f4e77e3cf907b0f"
}

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