node-power-user 0.0.21 → 0.0.22

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
@@ -47,7 +47,7 @@ Note: you may have to run cli commands with `npx npu <command>` if you install t
47
47
  * `npu bump 1`: Bump the last number (`patch` version).
48
48
  * `npu bump 2`: Bump the middle number (`minor` version).
49
49
  * `npu bump 3`: Bump the first number (`major` version).
50
- * `npu match`: Compare the versions of installed modules to those in your package.json
50
+ * `npu outdated`: Compare the versions of installed modules to those in your package.json
51
51
 
52
52
  ## Final Words
53
53
  If you are still having difficulty, we would love for you to post a question to [the Node Power User issues page](https://github.com/itw-creative-works/node-power-user/issues). It is much easier to answer questions that include your code and relevant files! So if you can provide them, we'd be extremely grateful (and more likely to help you find the answer!)
package/dist/index.js CHANGED
@@ -98,7 +98,7 @@ const self = this;
98
98
  };
99
99
  }
100
100
 
101
- if (self.options.mm || self.options.matchmodules || self.options.match || self.options['-mm'] || self.options['--matchmodules'] || self.options['--match']) {
101
+ if (self.options.out || self.options.outdated || self.options.match || self.options['-o'] || self.options['--outdated'] || self.options['--match']) {
102
102
  self.log(chalk.blue.bold(`Match:`));
103
103
 
104
104
  const response = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-power-user",
3
- "version": "0.0.21",
3
+ "version": "0.0.22",
4
4
  "description": "Easy tools for every Node.js developer!",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -46,4 +46,4 @@
46
46
  "mocha": "^8.4.0",
47
47
  "prepare-package": "^0.0.13"
48
48
  }
49
- }
49
+ }
package/src/index.js CHANGED
@@ -98,7 +98,7 @@ const self = this;
98
98
  };
99
99
  }
100
100
 
101
- if (self.options.mm || self.options.matchmodules || self.options.match || self.options['-mm'] || self.options['--matchmodules'] || self.options['--match']) {
101
+ if (self.options.out || self.options.outdated || self.options.match || self.options['-o'] || self.options['--outdated'] || self.options['--match']) {
102
102
  self.log(chalk.blue.bold(`Match:`));
103
103
 
104
104
  const response = {};