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

awais

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

awais - npm Package Compare versions

Comparing version 2.5.0 to 2.6.0

16

changelog.md

@@ -35,2 +35,14 @@ # CHANGELOG

### RELEASE: [v2.6.0](https://github.com/ahmadawais/awais/compare/v2.5.0...v2.6.0)
![📦 NEW:](https://img.shields.io/badge/-NEW-gray.svg?colorB=3778FF)
> 📦 Error handler [`7c9292d`](https://github.com/ahmadawais/awais/commit/7c9292de3f431f75223005ca189d334320e66e1c) <br>
<br>
[![hr](https://raw.githubusercontent.com/ahmadawais/stuff/master/images/git/hr.png)](/)
<br>
### RELEASE: [v2.5.0](https://github.com/ahmadawais/awais/compare/v2.4.0...v2.5.0)

@@ -42,2 +54,6 @@

![📖 DOC:](https://img.shields.io/badge/-DOCS-gray.svg?colorB=978CD4)
> 📖 Changelog [`37d4657`](https://github.com/ahmadawais/awais/commit/37d46574bf388f71ff3da7e9193204b7ae74412b) <br>
<br>

@@ -44,0 +60,0 @@

13

index.js
#!/usr/bin/env node
const chalk = require('chalk');
const alert = require('cli-alerts');
const handleError = require('cli-handle-error');

@@ -17,3 +18,4 @@ const init = require('./utils/init');

console.log(`${italic(
`Award-winning open-source engineer and developer advocate. Author of various open-source dev-tools and software libraries used by millions of developers worldwide. Leading developers and publishing technical content for over a decade. Self-confessed tech comedian cracking silly jokes in the JavaScript web and cloud communities.`
`
Award-winning open-source engineer and developer advocate. Author of various open-source dev-tools and software libraries used by millions of developers worldwide. Leading developers and publishing technical content for over a decade. Self-confessed tech comedian cracking silly jokes in the JavaScript web and cloud communities.`
)}

@@ -24,5 +26,12 @@

${purple(` Blog `)} ${dim(`https://AhmadAwais.com`)}
`);
`);
alert({ type: 'info', msg: `Check out my NodeCLI.com course.` });
let err;
err = false;
// err = new Error(`Blog API`); // OR Error can be a real error.
if (err) {
handleError(`Blog API is down.`, err, true, false);
}
})();

3

package.json
{
"name": "awais",
"version": "2.5.0",
"version": "2.6.0",
"description": "Get to know Awais via `npx awais`.",

@@ -12,2 +12,3 @@ "bin": {

"cli-check-node": "^1.3.0",
"cli-handle-error": "^4.4.0",
"cli-handle-unhandled": "^1.1.0",

@@ -14,0 +15,0 @@ "cli-welcome": "^2.2.0"

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