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

ng-barrel

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng-barrel - npm Package Compare versions

Comparing version 1.2.0 to 1.3.0

21

ng-barrel.js

@@ -13,3 +13,4 @@ #!/usr/bin/env node

{
alias: {'c': 'create', 'b': 'barrel'},
alias: {'c': 'create', 'b': 'barrel', 'v': 'version', 'h': 'help'},
boolean: ['version', 'help'],
default: {barrel: 'index.ts'}

@@ -19,2 +20,20 @@ }

if (config.version) {
console.log("1.3.0");
process.exit(0);
}
if (config.help) {
console.log(`
Usage:
ng g c foo | ngb [options]
Options:
-h, --help print usage information
-v, --version show version info and exit
-c, --create define path to put index file
-b, --barrel define barrel file name`);
process.exit(0);
}
stdin.on('data', function (chunk) {

@@ -21,0 +40,0 @@ data += chunk;

2

package.json
{
"name": "ng-barrel",
"version": "1.2.0",
"version": "1.3.0",
"description": "CLI tool to add generated Angular files to barrel files",

@@ -5,0 +5,0 @@ "main": "ng-barrel.js",

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