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

@layerstack/utils

Package Overview
Dependencies
Maintainers
0
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@layerstack/utils - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

2

dist/index.d.ts
export { formatDate, getDateFuncsByPeriodType } from './date.js';
export { PeriodType, DayOfWeek, DateToken } from './date_types.js';
export * from './date_types.js';
export * from './dom.js';
export { getDuration, humanizeDuration, DurationUnits } from './duration.js';

@@ -17,3 +18,2 @@ export * from './file.js';

export * as dateRange from './dateRange.js';
export * as dom from './dom.js';
export * as duration from './duration.js';

@@ -20,0 +20,0 @@ export * as env from './env.js';

@@ -5,2 +5,3 @@ // top-level exports

export * from './date_types.js';
export * from './dom.js';
export { getDuration, humanizeDuration, DurationUnits } from './duration.js';

@@ -20,3 +21,2 @@ export * from './file.js';

export * as dateRange from './dateRange.js';
export * as dom from './dom.js';
export * as duration from './duration.js';

@@ -23,0 +23,0 @@ export * as env from './env.js';

@@ -7,5 +7,2 @@ /**

}): string;
/**
* Wrapper around `tailwind-merge` and `clsx`
*/
//# sourceMappingURL=styles.d.ts.map

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

// import clsx, { type ClassValue } from 'clsx';
// import { extendTailwindMerge } from 'tailwind-merge';
// import { range } from 'd3-array';
import { entries } from './typeHelpers.js';
// import { mergeWith } from 'lodash-es';
/**

@@ -24,29 +20,1 @@ * Convert object to style string

}
/**
* Wrapper around `tailwind-merge` and `clsx`
*/
// const twMerge = extendTailwindMerge({
// extend: {
// classGroups: {
// shadow: [
// 'shadow-border-l',
// 'shadow-border-r',
// 'shadow-border-t',
// 'shadow-border-b',
// 'elevation-none',
// ...range(1, 25).map((x) => `elevation-${x}`),
// ],
// },
// },
// });
// type ClassFalsyValues = undefined | null | false;
// type AnyClassValue = ClassValue | ClassFalsyValues;
// type AnyClassCollection = Record<string | number | symbol, AnyClassValue> | ClassFalsyValues;
// export const cls = (...inputs: AnyClassValue[]) => twMerge(clsx(...inputs));
// export const clsMerge = <T extends AnyClassCollection>(
// ...inputs: T[]
// ): Exclude<T, false | undefined> =>
// mergeWith({}, ...inputs.filter(Boolean), (a: string, b: string) => twMerge(a, b));
// export const normalizeClasses = <T extends object>(classes: string | ClassFalsyValues | T): T => {
// return classes && typeof classes === 'object' ? classes : ({ root: classes } as T);
// };

@@ -7,5 +7,5 @@ {

"repository": "techniq/layerstack",
"version": "0.0.2",
"version": "0.0.3",
"devDependencies": {
"@sveltejs/package": "^2.3.2",
"@sveltejs/package": "^2.3.4",
"@sveltejs/vite-plugin-svelte": "^3.1.1",

@@ -12,0 +12,0 @@ "@types/d3-array": "^3.2.1",

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