age-install 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -27,7 +27,7 @@ npx age-install install react
27
27
  ## Quick Start
28
28
 
29
29
  ```bash
30
- # Install with age check (default: 60 min minimum)
30
+ # Install with age check (default: 1440 min minimum)
31
31
  age-install install react lodash
32
32
 
33
33
  # Check packages WITHOUT installing (generate report)
@@ -57,7 +57,7 @@ age-install install react --force
57
57
 
58
58
  | Flag | What it does | Default |
59
59
  |------|-------------|---------|
60
- | `-m, --minimum-age <min>` | Minimum age in minutes before installing | 60 |
60
+ | `-m, --minimum-age <min>` | Minimum age in minutes before installing | 1440 |
61
61
  | `-e, --exclude <pkg>` | Skip age check for these | none |
62
62
  | `-v, --verbose` | See what age-install is thinking | false |
63
63
  | `-f, --force` | Install without asking | false |
@@ -348,7 +348,7 @@ Commands:
348
348
  cache Manage timestamp cache
349
349
 
350
350
  Options:
351
- -m, --minimum-age <minutes> Minimum age before installing (default: 60)
351
+ -m, --minimum-age <minutes> Minimum age before installing (default: 1440)
352
352
  -e, --exclude <packages> Packages to exclude from checks
353
353
  -v, --verbose Show detailed output
354
354
  -f, --force Skip all safety checks
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "age-install",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Delay npm package installations until they reach a minimum age, protecting against supply chain attacks",
5
5
  "bin": {
6
6
  "age-install": "./bin/age-install.js"
package/src/config.js CHANGED
@@ -1,7 +1,7 @@
1
1
  const fs = require('fs');
2
2
  const path = require('path');
3
3
 
4
- const DEFAULT_MIN_AGE = 60;
4
+ const DEFAULT_MIN_AGE = 1440;
5
5
 
6
6
  function loadConfig(cwd = process.cwd()) {
7
7
  const config = {