Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@webpack-cli/info

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@webpack-cli/info - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

__tests__/.eslintrc

60

index.js
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
var __awaiter =
(this && this.__awaiter) ||
function(thisArg, _arguments, P, generator) {
return new (P || (P = Promise))(function(resolve, reject) {
function fulfilled(value) {
try {
step(generator.next(value));
} catch (e) {
reject(e);
}
}
function rejected(value) {
try {
step(generator["throw"](value));
} catch (e) {
reject(e);
}
}
function step(result) {
result.done
? resolve(result.value)
: new P(function(resolve) {
resolve(result.value);
}).then(fulfilled, rejected);
}
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
Object.defineProperty(exports, "__esModule", { value: true });
const envinfo = require("envinfo");
const process = require("process");
/**
* Prints debugging information for webpack issue reporting
*/
// eslint-disable-next-line
function information() {
return {
Binaries: ["Node", "Yarn", "npm"],
Browsers: ["Chrome", "Firefox", "Safari"],
System: ["OS", "CPU"],
npmGlobalPackages: ["webpack", "webpack-cli"],
npmPackages: "*webpack*",
};
return {
Binaries: ["Node", "Yarn", "npm"],
Browsers: ["Chrome", "Firefox", "Safari"],
System: ["OS", "CPU"],
npmGlobalPackages: ["webpack", "webpack-cli"],
npmPackages: "*webpack*"
};
}
exports.information = information;
function info() {
return __awaiter(this, void 0, void 0, function* () {
process.stdout.write(yield envinfo.run(information()));
});
return __awaiter(this, void 0, void 0, function*() {
process.stdout.write(yield envinfo.run(information()));
});
}
exports.default = info;
{
"name": "@webpack-cli/info",
"version": "0.1.5",
"version": "0.1.6",
"description": "Outputs env info for the ease of debug",

@@ -22,3 +22,3 @@ "main": "index.js",

},
"gitHead": "1630615841776fb39a0934459154cc5c55c0d12c"
"gitHead": "ace0d4a9d06b56652a99577a4ec96f9f706cf877"
}
# webpack-cli info
[![NPM Downloads][downloads]][downloads-url]
## Description
This pacakge returns a set of information related to the local enviroment.
This package returns a set of information related to the local environment.

@@ -23,4 +25,8 @@ ## Installation

### CLI (via `webpack-cli`)
```bash
npx webpack-cli info
```
[downloads]: https://img.shields.io/npm/dm/@webpack-cli/info.svg
[downloads-url]: https://www.npmjs.com/package/@webpack-cli/info
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc