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

@bfwk/utils

Package Overview
Dependencies
Maintainers
2
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bfwk/utils - npm Package Compare versions

Comparing version 0.10.0 to 0.10.1

dist/index.cjs

6

dist/index.lwc.js

@@ -211,2 +211,3 @@ import { ValueChangedEvent } from '@lwc/wire-service';

// @ts-ignore
class CustomURLSearchParams {

@@ -281,3 +282,5 @@ constructor(init) {

forEach(callbackfn, thisArg) {
this.map.forEach((values, key, parent) => values.forEach(value => callbackfn(value, key, this)));
this.map.forEach((values, key, parent) =>
// @ts-ignore
values.forEach(value => callbackfn(value, key, this)));
}

@@ -291,2 +294,3 @@ toString() {

if (typeof window !== 'undefined' && !window.URLSearchParams) {
// @ts-ignore
window.URLSearchParams = CustomURLSearchParams;

@@ -293,0 +297,0 @@ }

export declare type FullyQualifiedName = string;
export interface MetadataError {
errorCode: string;
message: string;
}
export interface MetadataResult<T = any> {
errors?: MetadataError[];
data?: T;
}

2

dist/types/index.d.ts

@@ -14,3 +14,3 @@ export { Comparator, stringPropertyComparator, labelComparator, nameComparator, multiComparatorGenerator, } from './sortLib';

export { Observable, Observer, Subscription } from './observable';
export { FullyQualifiedName } from './common-types';
export { FullyQualifiedName, MetadataError, MetadataResult, } from './common-types';
export { ObservableCreator } from './observable-creator';

@@ -17,0 +17,0 @@ export { throttle } from './throttle';

@@ -12,3 +12,3 @@ export declare type Comparator<T> = (a: T, b: T) => number;

*/
export declare const stringPropertyComparator: (field: string, reverse?: boolean | undefined) => Comparator<any>;
export declare const stringPropertyComparator: (field: string, reverse?: boolean) => Comparator<any>;
/**

@@ -15,0 +15,0 @@ * A case-insensitive comparison function used to sort arrays of objects by

{
"name": "@bfwk/utils",
"version": "0.10.0",
"version": "0.10.1",
"description": "LBF Pub Sub",

@@ -11,3 +11,8 @@ "repository": {

"type": "module",
"main": "dist/index.js",
"main": "dist/index.cjs",
"browser": "dist/index.mjs",
"exports": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"typings": "dist/types/index.d.ts",

@@ -14,0 +19,0 @@ "files": [

# Utils
[![npm](https://img.shields.io/npm/v/@bfwk/utils)](https://www.npmjs.com/package/@bfwk/utils)

@@ -3,0 +4,0 @@

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