Comparing version 1.6.0 to 1.6.1
{ | ||
"author": "Florian Imdahl <git@ffflorian.de>", | ||
"bin": { | ||
"which-os": "cli.js" | ||
"which-os": "dist/cjs/cli.js" | ||
}, | ||
@@ -15,14 +15,12 @@ "dependencies": { | ||
"engines": { | ||
"node": ">= 10.9" | ||
"node": ">= 14.16" | ||
}, | ||
"exports": { | ||
".": { | ||
"import": "./dist/mjs/index.js", | ||
"require": "./dist/cjs/index.js" | ||
} | ||
}, | ||
"files": [ | ||
"cli.d.ts", | ||
"cli.js", | ||
"cli.js.map", | ||
"index.d.ts", | ||
"index.js", | ||
"index.js.map", | ||
"which-os.d.ts", | ||
"which-os.js", | ||
"which-os.js.map" | ||
"dist" | ||
], | ||
@@ -36,18 +34,19 @@ "keywords": [ | ||
"license": "GPL-3.0", | ||
"main": "index.js", | ||
"main": "dist/cjs/index.js", | ||
"module": "dist/mjs/index.js", | ||
"name": "which-os", | ||
"publishConfig": { | ||
"directory": "flattened" | ||
}, | ||
"repository": "https://github.com/ffflorian/node-packages/tree/main/packages/which-os", | ||
"scripts": { | ||
"build": "tsc", | ||
"build": "yarn build:cjs && yarn build:mjs && yarn generate:packagejson", | ||
"build:cjs": "tsc -p tsconfig.cjs.json", | ||
"build:mjs": "tsc -p tsconfig.json", | ||
"clean": "rimraf dist", | ||
"dist": "yarn clean && yarn build", | ||
"flatten": "node ../publish-flat/dist/cli.js -o flattened", | ||
"postversion": "node ../publish-flat/dist/cli-copy.js -o flattened/package.json version", | ||
"start": "ts-node src/cli.ts", | ||
"test": "ts-node -P tsconfig.jasmine.json ../../node_modules/jasmine/bin/jasmine.js" | ||
"generate:packagejson": "../../bin/generate-hybrid-package-json.sh", | ||
"start": "ts-node-esm src/cli.ts", | ||
"test": "ts-node-esm -P tsconfig.jasmine.json ../../node_modules/.bin/jasmine" | ||
}, | ||
"version": "1.6.0" | ||
"type": "module", | ||
"version": "1.6.1", | ||
"gitHead": "fee6dde4396255259028c1c723a95b9f6ec5b281" | ||
} |
# which-os [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) [![npm version](https://img.shields.io/npm/v/which-os.svg?style=flat)](https://www.npmjs.com/package/which-os) | ||
Get informations about your OS | ||
Get informations about your OS. | ||
## Prerequisites | ||
- [Node.js](https://nodejs.org) >= 14 | ||
- npm (preinstalled) or [yarn](https://classic.yarnpkg.com) < 2 | ||
## Installation | ||
ℹ️ This is a hybrid [CommonJS](https://nodejs.org/docs/latest/api/modules.html#modules-commonjs-modules) / [ESM](https://nodejs.org/api/esm.html#introduction) module. | ||
Run `yarn add which-os` or `npm i which-os`. | ||
Or simply run `npx which-os`. | ||
## Usage | ||
Just run `npx which-os`. | ||
``` | ||
@@ -10,0 +21,0 @@ Usage: which-os [options] |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Possible typosquat attack
Supply chain riskThere is a package with a similar name that is downloaded much more often.
Did you mean |
---|
which-pm |
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
55237
23
306
41
0
1
Yes
1