@beauraines/rtm-cli 1.8.14 → 1.9.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/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [1.9.1](https://github.com/beauraines/rtm-cli/compare/v1.9.0...v1.9.1) (2025-08-10)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **deps:** bump copy-paste from 2.1.1 to 2.2.0 ([#143](https://github.com/beauraines/rtm-cli/issues/143)) ([06ee57b](https://github.com/beauraines/rtm-cli/commit/06ee57bc67a7b9cf96263fffb1cc27fca6bd1175))
11
+
12
+ ## [1.9.0](https://github.com/beauraines/rtm-cli/compare/v1.8.14...v1.9.0) (2025-08-10)
13
+
14
+
15
+ ### Features
16
+
17
+ * login workaround ([#145](https://github.com/beauraines/rtm-cli/issues/145)) ([7a308d4](https://github.com/beauraines/rtm-cli/commit/7a308d4d164fdd4ecac7507a4e2940d3a0b2d325)), closes [#68](https://github.com/beauraines/rtm-cli/issues/68) [#131](https://github.com/beauraines/rtm-cli/issues/131)
18
+
5
19
  ### [1.8.14](https://github.com/beauraines/rtm-cli/compare/v1.8.13...v1.8.14) (2025-07-05)
6
20
 
7
21
 
package/README.md CHANGED
@@ -4,6 +4,9 @@ Remember The Milk Command Line Interface
4
4
  **node module:** [rtm-cli](https://www.npmjs.com/package/@beauraines/rtm-cli)<br />
5
5
  **GitHub repo:** [beauraines/rtm-cli](https://github.com/beauraines/rtm-cli)
6
6
 
7
+
8
+ ❗❗ **Resolved login issue blocking new users** ❗❗
9
+
7
10
  ---
8
11
 
9
12
  This Node module provides a command line interface, written in JavaScript,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@beauraines/rtm-cli",
3
- "version": "1.8.14",
3
+ "version": "1.9.1",
4
4
  "description": "RTM CLI",
5
5
  "keywords": [
6
6
  "rtm",
@@ -54,8 +54,8 @@
54
54
  "devDependencies": {
55
55
  "archiver": "^5.3.1",
56
56
  "eslint": "^9.5.0",
57
- "eslint-plugin-jest": "^28.6.0",
58
- "jest": "^29.4.3",
57
+ "eslint-plugin-jest": "^29.0.1",
58
+ "jest": "^30.0.4",
59
59
  "pkg": "^5.8.0"
60
60
  },
61
61
  "pkg": {
@@ -3,6 +3,7 @@
3
3
  const cp = require('copy-paste');
4
4
  const log = require('./log.js');
5
5
  const finish = require('../utils/finish.js');
6
+ const readline = require("node:readline")
6
7
 
7
8
 
8
9
  /**
@@ -17,6 +18,9 @@ function login(callback) {
17
18
 
18
19
  log.info("Authorization Required:");
19
20
 
21
+
22
+
23
+
20
24
  // Get the Auth URL
21
25
  log.spinner.start('Getting Login URL...');
22
26
  client.auth.getAuthUrl(function(err, url, frob) {
@@ -35,8 +39,14 @@ function login(callback) {
35
39
  log.style(') and authorize RTM CLI:', true);
36
40
  log.style(url, 'blue.underline', true);
37
41
 
42
+
43
+ const rl = readline.createInterface({
44
+ input: process.stdin,
45
+ output: process.stdout
46
+ });
47
+
38
48
  // Wait for User Input
39
- global._rl.question('Press [enter] when done: ', function() {
49
+ rl.question('Press [enter] when done: ', function() {
40
50
  log.spinner.start('Logging In...');
41
51
 
42
52
  // Get the Authorized User