Socket
Socket
Sign inDemoInstall

delay-cli

Package Overview
Dependencies
59
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 2.0.0

10

cli.js
#!/usr/bin/env node
'use strict';
const meow = require('meow');
import process from 'node:process';
import meow from 'meow';

@@ -12,5 +12,6 @@ const cli = meow(`

`, {
importMeta: import.meta,
input: {
type: 'number'
}
type: 'number',
},
});

@@ -25,2 +26,3 @@

// TODO: Use `import {setTimeout} from 'node:timers/promises';` when targeting Node.js 16.
setTimeout(() => {}, seconds * 1000);

19

package.json
{
"name": "delay-cli",
"version": "1.1.0",
"version": "2.0.0",
"description": "Delay execution for a given amount of seconds",

@@ -10,9 +10,10 @@ "license": "MIT",

"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
"url": "https://sindresorhus.com"
},
"type": "module",
"bin": {
"delay": "cli.js"
"delay": "./cli.js"
},
"engines": {
"node": ">=8"
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
},

@@ -37,10 +38,10 @@ "scripts": {

"dependencies": {
"meow": "^4.0.0"
"meow": "^10.1.2"
},
"devDependencies": {
"ava": "*",
"execa": "^0.10.0",
"time-span": "^2.0.0",
"xo": "*"
"ava": "^4.0.1",
"execa": "^6.0.0",
"time-span": "^5.0.0",
"xo": "^0.47.0"
}
}

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

# delay-cli [![Build Status](https://travis-ci.org/sindresorhus/delay-cli.svg?branch=master)](https://travis-ci.org/sindresorhus/delay-cli)
# delay-cli

@@ -7,10 +7,8 @@ > Delay execution for a given amount of seconds

## Install
```sh
npm install --global delay-cli
```
$ npm install --global delay-cli
```
## Usage

@@ -28,10 +26,4 @@

## Related
- [delay](https://github.com/sindresorhus/delay) - API for this module
## License
MIT © [Sindre Sorhus](https://sindresorhus.com)

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc