Socket
Socket
Sign inDemoInstall

@ionic/cli-framework

Package Overview
Dependencies
Maintainers
19
Versions
203
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ionic/cli-framework - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

## [3.0.2](https://github.com/ionic-team/ionic-cli/compare/@ionic/cli-framework@3.0.1...@ionic/cli-framework@3.0.2) (2019-11-22)
### Bug Fixes
* fix parsing of command line options ([060f67c](https://github.com/ionic-team/ionic-cli/commit/060f67cf63d37662ae44c4ae952161464a5d553c))
## [3.0.1](https://github.com/ionic-team/ionic-cli/compare/@ionic/cli-framework@3.0.0...@ionic/cli-framework@3.0.1) (2019-11-21)

@@ -8,0 +19,0 @@

2

definitions.d.ts

@@ -116,3 +116,3 @@ /// <reference types="node" />

readonly namespace: N;
locate(argv: readonly string[], options?: NamespaceLocateOptions): Promise<NamespaceLocateResult<C, N, M, I, O>>;
locate(argv: readonly string[]): Promise<NamespaceLocateResult<C, N, M, I, O>>;
execute(location: NamespaceLocateResult<C, N, M, I, O>): Promise<void>;

@@ -119,0 +119,0 @@ execute(argv: readonly string[], env: NodeJS.ProcessEnv): Promise<void>;

/// <reference types="node" />
import { EventEmitter } from 'events';
import { CommandInstanceInfo, CommandMetadata, CommandMetadataInput, CommandMetadataOption, ICommand, IExecutor, INamespace, NamespaceLocateOptions, NamespaceLocateResult } from '../definitions';
import { CommandInstanceInfo, CommandMetadata, CommandMetadataInput, CommandMetadataOption, ICommand, IExecutor, INamespace, NamespaceLocateResult } from '../definitions';
import { Colors } from './colors';

@@ -15,3 +15,3 @@ import { Command, Namespace } from './command';

abstract readonly namespace: N;
abstract locate(argv: readonly string[], options?: NamespaceLocateOptions): Promise<NamespaceLocateResult<C, N, M, I, O>>;
abstract locate(argv: readonly string[]): Promise<NamespaceLocateResult<C, N, M, I, O>>;
abstract execute(location: NamespaceLocateResult<C, N, M, I, O>): Promise<void>;

@@ -18,0 +18,0 @@ abstract execute(argv: readonly string[], env: NodeJS.ProcessEnv): Promise<void>;

@@ -43,3 +43,4 @@ "use strict";

const location = await this.namespace.locate(parsedArgs);
return location;
const args = lodash.drop(argv, location.path.length - 1);
return { ...location, args };
}

@@ -46,0 +47,0 @@ /**

{
"name": "@ionic/cli-framework",
"version": "3.0.1",
"version": "3.0.2",
"description": "The foundation framework of the Ionic CLI",

@@ -60,3 +60,3 @@ "homepage": "https://ionicframework.com/",

},
"gitHead": "ee75e428a55704c61c621a3df427b378cf041078"
"gitHead": "52e4f988e8410ee86fa0280c68ecb9e37fe63ebc"
}
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