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

tiny-updater

Package Overview
Dependencies
Maintainers
0
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tiny-updater - npm Package Compare versions

Comparing version 3.5.2 to 3.5.3

2

dist/index.d.ts

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

import type { Options } from './types';
import type { Options } from './types.js';
declare const updater: ({ name, version, ttl }: Options) => Promise<boolean>;
export default updater;
export type { Options };

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

import type { StoreRecord } from './types';
import type { StoreRecord } from './types.js';
declare class Store {

@@ -3,0 +3,0 @@ private store;

@@ -5,3 +5,4 @@ {

"description": "A small update notifier for NPM packages, useful for CLI apps.",
"version": "3.5.2",
"license": "MIT",
"version": "3.5.3",
"type": "module",

@@ -29,11 +30,11 @@ "main": "dist/index.js",

"dependencies": {
"ionstore": "^1.0.0",
"tiny-colors": "^2.0.2",
"when-exit": "^2.1.1"
"ionstore": "^1.0.1",
"tiny-colors": "^2.2.2",
"when-exit": "^2.1.4"
},
"devDependencies": {
"fava": "^0.2.0",
"tsex": "^3.0.0",
"typescript": "^5.1.6"
"fava": "^0.3.4",
"tsex": "^4.0.2",
"typescript": "^5.7.3"
}
}

@@ -18,3 +18,3 @@ # Tiny Updater

```sh
npm install --save tiny-updater
npm install tiny-updater
```

@@ -28,2 +28,4 @@

// Let's check for updates
await updater ({ name, version, ttl: 86_400_000 });

@@ -37,3 +39,3 @@

// 1. `true` is returned
// 2. At most once a day, right before the process exists, a message like the following is logged to the console:
// 2. At most once a day, right before the process exits, a message like the following is logged to the console:
// 📦 Update available for example-package: 0.1.0 → 1.0.0

@@ -40,0 +42,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