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

localstorage-ttl

Package Overview
Dependencies
Maintainers
0
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

localstorage-ttl - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

4

index.ts

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

interface StoredData<T> {
type StoredData<T> = {
value: T;
expires_at?: number;
}
};

@@ -6,0 +6,0 @@ function set<T>(variable: string, value: T, ttl_ms?: number): void {

{
"name": "localstorage-ttl",
"version": "2.0.2",
"version": "2.0.3",
"description": "TS module to save data to localstorage with time to live. Data will expire after set time.",

@@ -5,0 +5,0 @@ "main": "index.ts",

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