dgeni
Advanced tools
Comparing version 0.4.13 to 0.4.14
# ChangeLog | ||
## 0.4.14 5 March 2021 | ||
Chore release - updating dependencies | ||
## 0.4.13 11 January 2021 | ||
@@ -4,0 +8,0 @@ |
#!/usr/bin/env node | ||
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function(o, v) { | ||
o["default"] = v; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var Dgeni_1 = require("./Dgeni"); | ||
var yargs = __importStar(require("yargs")); | ||
var path = require('canonical-path'); | ||
var myArgs = require('optimist') | ||
var myArgs = yargs.option('l', { | ||
alias: 'log', | ||
describe: 'Output log messages for this level and above', | ||
type: 'string', | ||
choices: ['error', 'warn', 'info', 'http', 'verbose', 'debug', 'silly'] | ||
}) | ||
.usage('Usage: $0 path/to/mainPackage [path/to/other/packages ...] [--log level]') | ||
.demand(1) | ||
.demandCommand(1) | ||
.argv; | ||
@@ -10,0 +35,0 @@ // Extract the paths to the packages from the command line arguments |
{ | ||
"name": "dgeni", | ||
"version": "0.4.13", | ||
"version": "0.4.14", | ||
"description": "Flexible JavaScript documentation generator used by both AngularJS and Angular", | ||
@@ -36,5 +36,5 @@ "main": "lib/index.js", | ||
"objectdiff": "^1.1.0", | ||
"optimist": "~0.6.1", | ||
"validate.js": "^0.12.0", | ||
"winston": "^2.1.1" | ||
"winston": "^2.1.1", | ||
"yargs": "^16.2.0" | ||
}, | ||
@@ -45,6 +45,7 @@ "devDependencies": { | ||
"@types/node": "^10.3.1", | ||
"@types/yargs": "^16.0.0", | ||
"chai": "^4.1.2", | ||
"chai-spies": "^1.0.0", | ||
"dgeni-packages": "^0.28.4", | ||
"mocha": "^5.2.0", | ||
"mocha": "^8.3.0", | ||
"ts-node": "^6.1.0", | ||
@@ -51,0 +52,0 @@ "tslint": "^5.10.0", |
#!/usr/bin/env node | ||
import {Dgeni} from './Dgeni'; | ||
import * as yargs from 'yargs'; | ||
const path = require('canonical-path'); | ||
const myArgs = require('optimist') | ||
const myArgs = yargs.option('l', { | ||
alias: 'log', | ||
describe: 'Output log messages for this level and above', | ||
type: 'string', | ||
choices: ['error', 'warn', 'info', 'http','verbose', 'debug', 'silly'] | ||
}) | ||
.usage('Usage: $0 path/to/mainPackage [path/to/other/packages ...] [--log level]') | ||
.demand(1) | ||
.demandCommand(1) | ||
.argv; | ||
@@ -12,3 +18,3 @@ | ||
// Extract the paths to the packages from the command line arguments | ||
const packagePaths = myArgs._; | ||
const packagePaths = myArgs._ as string[]; | ||
@@ -15,0 +21,0 @@ // Require each of these packages and then create a new dgeni using them |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
150799
2531
0
11
+ Addedyargs@^16.2.0
+ Addedansi-regex@5.0.1(transitive)
+ Addedansi-styles@4.3.0(transitive)
+ Addedcliui@7.0.4(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedemoji-regex@8.0.0(transitive)
+ Addedescalade@3.1.2(transitive)
+ Addedget-caller-file@2.0.5(transitive)
+ Addedis-fullwidth-code-point@3.0.0(transitive)
+ Addedrequire-directory@2.1.1(transitive)
+ Addedstring-width@4.2.3(transitive)
+ Addedstrip-ansi@6.0.1(transitive)
+ Addedwrap-ansi@7.0.0(transitive)
+ Addedy18n@5.0.8(transitive)
+ Addedyargs@16.2.0(transitive)
+ Addedyargs-parser@20.2.9(transitive)
- Removedoptimist@~0.6.1
- Removedminimist@0.0.10(transitive)
- Removedoptimist@0.6.1(transitive)
- Removedwordwrap@0.0.3(transitive)