@ionic/cli-framework
Advanced tools
Comparing version 0.1.0 to 0.2.0-alpha.553524db
{ | ||
"name": "@ionic/cli-framework", | ||
"version": "0.1.0", | ||
"version": "0.2.0-alpha.553524db", | ||
"description": "The foundation framework of the Ionic CLI", | ||
@@ -5,0 +5,0 @@ "homepage": "http://ionicframework.com/", |
@@ -17,3 +17,3 @@ /// <reference types="node" /> | ||
export declare const fsAccess: (arg1: string, arg2: number) => Promise<void>; | ||
export declare const fsMkdir: (arg1: string, arg2: number | undefined) => Promise<void>; | ||
export declare const fsMkdir: (arg1: string, arg2: number) => Promise<void>; | ||
export declare const fsOpen: (arg1: string, arg2: string) => Promise<number>; | ||
@@ -20,0 +20,0 @@ export declare const fsStat: (arg1: string) => Promise<fs.Stats>; |
@@ -70,3 +70,3 @@ "use strict"; | ||
exports.fileToString = fileToString; | ||
function fsMkdirp(p, mode) { | ||
function fsMkdirp(p, mode = 0o777) { | ||
return tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
@@ -92,3 +92,3 @@ const absPath = path.resolve(p); | ||
return tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
const crypto = yield Promise.resolve().then(function () { return require('crypto'); }); | ||
const crypto = yield Promise.resolve().then(() => require('crypto')); | ||
return new Promise((resolve, reject) => { | ||
@@ -161,3 +161,3 @@ const hash = crypto.createHash('md5'); | ||
return tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
const ncp = yield Promise.resolve().then(function () { return require('ncp'); }); | ||
const ncp = yield Promise.resolve().then(() => require('ncp')); | ||
return new Promise((resolve, reject) => { | ||
@@ -176,3 +176,3 @@ ncp.ncp(source, destination, options, err => { | ||
return tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
const rimraf = yield Promise.resolve().then(function () { return require('rimraf'); }); | ||
const rimraf = yield Promise.resolve().then(() => require('rimraf')); | ||
const rimrafp = promise_1.promisify(rimraf); | ||
@@ -179,0 +179,0 @@ yield rimrafp(dir); |
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
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
24870
24
625