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

@bedrock-ui/utils

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bedrock-ui/utils - npm Package Compare versions

Comparing version 0.3.4 to 0.4.0

18

lib/esm/index.d.ts

@@ -1,9 +0,9 @@

export { capitalize } from './utils/capitalize';
export { countBy } from './utils/countBy';
export { chunk } from './utils/chunk';
export { groupBy } from './utils/groupBy';
export { isEmptyObject } from './utils/isEmptyObject';
export { keyBy } from './utils/keyBy';
export { omit } from './utils/omit';
export { orderBy } from './utils/orderBy';
export { range } from './utils/range';
export { capitalize } from './utils/capitalize/index.js';
export { countBy } from './utils/countBy/index.js';
export { chunk } from './utils/chunk/index.js';
export { groupBy } from './utils/groupBy/index.js';
export { isEmptyObject } from './utils/isEmptyObject/index.js';
export { keyBy } from './utils/keyBy/index.js';
export { omit } from './utils/omit/index.js';
export { orderBy } from './utils/orderBy/index.js';
export { range } from './utils/range/index.js';

@@ -1,9 +0,9 @@

export { capitalize } from './utils/capitalize';
export { countBy } from './utils/countBy';
export { chunk } from './utils/chunk';
export { groupBy } from './utils/groupBy';
export { isEmptyObject } from './utils/isEmptyObject';
export { keyBy } from './utils/keyBy';
export { omit } from './utils/omit';
export { orderBy } from './utils/orderBy';
export { range } from './utils/range';
export { capitalize } from './utils/capitalize/index.js';
export { countBy } from './utils/countBy/index.js';
export { chunk } from './utils/chunk/index.js';
export { groupBy } from './utils/groupBy/index.js';
export { isEmptyObject } from './utils/isEmptyObject/index.js';
export { keyBy } from './utils/keyBy/index.js';
export { omit } from './utils/omit/index.js';
export { orderBy } from './utils/orderBy/index.js';
export { range } from './utils/range/index.js';

@@ -1,1 +0,1 @@

export { capitalize } from './capitalize';
export { capitalize } from './capitalize.js';

@@ -1,1 +0,1 @@

export { capitalize } from './capitalize';
export { capitalize } from './capitalize.js';

@@ -1,2 +0,2 @@

import type { TypeofArray } from '../../types/array';
import type { TypeofArray } from '../../types/array.js';
export declare function chunk<T extends TypeofArray<T>[]>(array: T, size: number): TypeofArray<T>[][];

@@ -1,1 +0,1 @@

export { chunk } from './chunk';
export { chunk } from './chunk.js';

@@ -1,1 +0,1 @@

export { chunk } from './chunk';
export { chunk } from './chunk.js';

@@ -1,2 +0,2 @@

import type { TypeofArray } from '../../types/array';
import type { TypeofArray } from '../../types/array.js';
export declare function countBy<T extends TypeofArray<T>[], P extends keyof TypeofArray<T>>(array: T, property: P): Map<TypeofArray<T>[P], number>;

@@ -1,1 +0,1 @@

export { countBy } from './countBy';
export { countBy } from './countBy.js';

@@ -1,1 +0,1 @@

export { countBy } from './countBy';
export { countBy } from './countBy.js';

@@ -1,2 +0,2 @@

import type { TypeofArray } from '../../types/array';
import type { TypeofArray } from '../../types/array.js';
export declare function groupBy<T extends TypeofArray<T>[], P extends keyof TypeofArray<T>>(array: T, property: P): Map<TypeofArray<T>[P], TypeofArray<T>[]>;

@@ -1,1 +0,1 @@

export { groupBy } from './groupBy';
export { groupBy } from './groupBy.js';

@@ -1,1 +0,1 @@

export { groupBy } from './groupBy';
export { groupBy } from './groupBy.js';

@@ -1,1 +0,1 @@

export { isEmptyObject } from './isEmptyObject';
export { isEmptyObject } from './isEmptyObject.js';

@@ -1,1 +0,1 @@

export { isEmptyObject } from './isEmptyObject';
export { isEmptyObject } from './isEmptyObject.js';

@@ -1,1 +0,1 @@

export { keyBy } from './keyBy';
export { keyBy } from './keyBy.js';

@@ -1,1 +0,1 @@

export { keyBy } from './keyBy';
export { keyBy } from './keyBy.js';

@@ -1,2 +0,2 @@

import type { TypeofArray } from '../../types/array';
import type { TypeofArray } from '../../types/array.js';
export declare function keyBy<T extends TypeofArray<T>[], P extends keyof TypeofArray<T>>(array: T, property: P): Map<TypeofArray<T>[P], TypeofArray<T>>;

@@ -1,1 +0,1 @@

export { omit } from './omit';
export { omit } from './omit.js';

@@ -1,1 +0,1 @@

export { omit } from './omit';
export { omit } from './omit.js';

@@ -1,1 +0,1 @@

export { orderBy } from './orderBy';
export { orderBy } from './orderBy.js';

@@ -1,1 +0,1 @@

export { orderBy } from './orderBy';
export { orderBy } from './orderBy.js';

@@ -1,4 +0,4 @@

import type { TypeofArray } from '../../types/array';
import type { TypeofArray } from '../../types/array.js';
type Order = 'asc' | 'desc';
export declare function orderBy<T extends TypeofArray<T>[], P extends keyof TypeofArray<T>>(array: T, properties: P[], orders: Order[]): T[number][];
export {};

@@ -1,1 +0,1 @@

export { range } from './range';
export { range } from './range.js';

@@ -1,1 +0,1 @@

export { range } from './range';
export { range } from './range.js';
{
"name": "@bedrock-ui/utils",
"version": "0.3.4",
"version": "0.4.0",
"description": "Bedrock UI Utils",

@@ -10,6 +10,14 @@ "author": "Matthew Wolfe",

],
"type": "module",
"sideEffects": false,
"types": "lib/esm/index.d.ts",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"main": "lib/cjs/index.js",
"types": "lib/cjs/index.d.ts",
"sideEffects": false,
"exports": {
".": {
"types": "./lib/esm/index.d.ts",
"import": "./lib/esm/index.js",
"default": "./lib/cjs/index.js"
}
},
"devDependencies": {

@@ -16,0 +24,0 @@ "@types/jest": "^29.5.1",

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