@orangemug/oops 0.2.0 → 0.2.2

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
@@ -8,9 +8,9 @@ Find out with `oops`
8
8
 
9
9
  ```bash
10
10
  npx @orangemug/oops --help
11
- # ./oops <dangerous_package_versions>
12
- #
13
- # Example: npx @orangemug/oops @ctrl/tinycolor:4.1.1 @ctrl/tinycolor:4.1.2
11
+ # npx @orangemug/oops <dangerous_package_versions>
12
+ #
13
+ # Example: npx @orangemug/oops '@ctrl/tinycolor:4.1.1' '@ctrl/tinycolor:4.1.2'
14
14
  ```
15
15
 
16
16
  You can attach this command to a bug tracker ticket somewhere in your company/organisation
@@ -19,8 +19,8 @@ You can attach this command to a bug tracker ticket somewhere in your company/or
19
19
  >
20
20
  > ```bash
21
21
  > npx @orangemug/oops \
22
- > @ctrl/tinycolor:4.1.1 \
23
- > @ctrl/tinycolor:4.1.2
22
+ > '@ctrl/tinycolor:4.1.1' \
23
+ > '@ctrl/tinycolor:4.1.2'
24
24
  > ```
25
25
 
26
26
  The examples are from <https://orca.security/resources/blog/npm-malware-campaign-tinycolor/>
@@ -93,9 +93,9 @@ async function run(packages) {
93
93
  process.exit(hasErrors ? 1 : 0);
94
94
  }
95
95
  const HELP_TEXT = `
96
- ./oops <dangerous_package_versions>
96
+ npx @orangemug/oops <dangerous_package_versions>
97
97
 
98
- Example: ./oops @ctrl/tinycolor:4.1.1 @ctrl/tinycolor:4.1.2
98
+ Example: npx @orangemug/oops '@ctrl/tinycolor:4.1.1' '@ctrl/tinycolor:4.1.2'
99
99
  `.trim();
100
100
  const argv = minimist(process.argv.slice(2));
101
101
  if (argv._.length < 1 || argv.help || argv.h) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangemug/oops",
3
3
  "description": "Have I got a compromised pacakge in my cache?",
4
- "version": "0.2.0",
4
+ "version": "0.2.2",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/orangemug/oops"