u2a 3.2.4 → 3.2.6

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +3 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "u2a",
3
- "version": "3.2.4",
3
+ "version": "3.2.6",
4
4
  "description": "URL to App - Turn any URL into a desktop application",
5
5
  "main": "src/index.js",
6
6
  "bin": {
package/src/index.js CHANGED
@@ -1,13 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- const Logger = require('./utils/logger');
4
- const logger = new Logger('create');
5
-
6
-
7
- ver = process.version.node;
3
+ ver = process.versions.node;
8
4
 
9
5
  if (ver < '22.0.0') {
10
- logger.error("You need a nodejs installation equal or superior to 22.0.0. Please upgrade your node installation and retry.")
6
+ console.error("You need a nodejs installation equal or superior to 22.0.0. Please upgrade your node installation and retry.");
7
+ process.exit(1);
11
8
  }
12
9
 
13
10