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

@appnest/lit-util

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@appnest/lit-util - npm Package Compare versions

Comparing version 0.0.9 to 0.0.10

test/index.d.ts

1

index.d.ts

@@ -5,1 +5,2 @@ export * from "./decorator";

export * from "./constant";
export * from "./test";

@@ -5,2 +5,3 @@ export * from "./decorator";

export * from "./constant";
export * from "./test";
//# sourceMappingURL=index.js.map

2

package.json
{
"name": "@appnest/lit-util",
"version": "0.0.9",
"version": "0.0.10",
"license": "MIT",

@@ -5,0 +5,0 @@ "author": "Appnest",

/**
* Remove all children from a container.
* https://stackoverflow.com/questions/3955229/remove-all-child-elements-of-a-dom-node-in-javascript
* @param $container
*/
export declare function removeChildren($container: any): void;
export declare function removeChildren($container: HTMLElement): void;
/**
* Remove all children from a container.
* https://stackoverflow.com/questions/3955229/remove-all-child-elements-of-a-dom-node-in-javascript
* @param $container

@@ -5,0 +4,0 @@ */

@@ -5,3 +5,3 @@ /**

*/
export declare function camelToDash(text: any): any;
export declare function camelToDash(text: string): string;
/**

@@ -11,3 +11,3 @@ * Returns an array with unique items.

*/
export declare function uniqueArray(arr: any): any;
export declare function uniqueArray<T>(arr: T[]): T[];
/**

@@ -19,7 +19,7 @@ * Returns a value clamped in between a min and a max value (inclusive).

*/
export declare function clamp(value: any, min: any, max: any): number;
export declare function clamp(value: number, min: number, max: number): number;
/**
* Copies the array.
*/
export declare function copyArray(arr: any): any[];
export declare function copyArray<T>(arr: T[]): T[];
/**

@@ -29,2 +29,2 @@ * Waits a specifies amount of time.

*/
export declare function wait(ms: any): Promise<{}>;
export declare function wait(ms: number): Promise<void>;

Sorry, the diff of this file is not supported yet

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