Comparing version 3.10.0 to 3.11.0
{ | ||
"name": "envinfo", | ||
"version": "3.10.0", | ||
"version": "3.11.0", | ||
"description": "Info about your dev environment for debugging purposes", | ||
@@ -24,3 +24,3 @@ "repository": "https://github.com/tabrindle/envinfo", | ||
"dependencies": { | ||
"copy-paste": "^1.3.0", | ||
"clipboardy": "^1.2.2", | ||
"glob": "^7.1.2", | ||
@@ -27,0 +27,0 @@ "minimist": "^1.2.0", |
@@ -8,6 +8,10 @@ # envinfo | ||
`npm install -g envinfo` | ||
`envinfo` | ||
```sh | ||
npm install -g envinfo | ||
envinfo | ||
``` | ||
```bash | ||
# Outputs. | ||
Environment: | ||
@@ -14,0 +18,0 @@ OS: macOS High Sierra 10.13 |
@@ -6,3 +6,3 @@ #!/usr/bin/env node | ||
var helpers = require('./helpers'); | ||
var copypasta = require('copy-paste'); | ||
var copypasta = require('clipboardy'); | ||
@@ -111,3 +111,3 @@ module.exports.helpers = helpers; | ||
if (options.clipboard) { | ||
copypasta.copy(log); | ||
copypasta.writeSync(log); | ||
} | ||
@@ -114,0 +114,0 @@ } |
@@ -24,3 +24,11 @@ var childProcess = require('child_process'); | ||
function requireJson(filePath) { | ||
if (fs.existsSync(filePath)) return require(filePath); | ||
var packageJson; | ||
if (fs.existsSync(filePath)) { | ||
try { | ||
packageJson = require(filePath); | ||
} catch (e) { | ||
return false; | ||
} | ||
return packageJson; | ||
} | ||
return false; | ||
@@ -27,0 +35,0 @@ } |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
64947
352
119
+ Addedclipboardy@^1.2.2
+ Addedarch@2.2.0(transitive)
+ Addedclipboardy@1.2.3(transitive)
+ Addedcross-spawn@5.1.0(transitive)
+ Addedexeca@0.8.0(transitive)
+ Addedget-stream@3.0.0(transitive)
+ Addedis-stream@1.1.0(transitive)
+ Addedlru-cache@4.1.5(transitive)
+ Addednpm-run-path@2.0.2(transitive)
+ Addedp-finally@1.0.0(transitive)
+ Addedpath-key@2.0.1(transitive)
+ Addedpseudomap@1.0.2(transitive)
+ Addedshebang-command@1.2.0(transitive)
+ Addedshebang-regex@1.0.0(transitive)
+ Addedsignal-exit@3.0.7(transitive)
+ Addedstrip-eof@1.0.0(transitive)
+ Addedyallist@2.1.2(transitive)
- Removedcopy-paste@^1.3.0
- Removedcopy-paste@1.5.3(transitive)
- Removediconv-lite@0.4.24(transitive)
- Removedsafer-buffer@2.1.2(transitive)