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

appium-support

Package Overview
Dependencies
Maintainers
6
Versions
145
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

appium-support - npm Package Compare versions

Comparing version 2.0.0-beta18 to 2.0.0-beta19

build/lib/mkdirp.js

6

build/index.js

@@ -35,6 +35,8 @@ 'use strict';

var _libMkdirp = require('./lib/mkdirp');
// can't add to other exports `as default`
// until JSHint figures out how to parse that pattern
exports['default'] = { tempDir: tempDir, system: system, util: util, fs: _libFs2['default'], rimraf: _libRimraf2['default'], cancellableDelay: _libUtil.cancellableDelay, plist: plist };
exports['default'] = { tempDir: tempDir, system: system, util: util, fs: _libFs2['default'], rimraf: _libRimraf2['default'], cancellableDelay: _libUtil.cancellableDelay, plist: plist, mkdirp: _libMkdirp.mkdirp };
module.exports = exports['default'];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7MEJBQXlCLGVBQWU7O0lBQTVCLE9BQU87O3lCQUNLLGNBQWM7O0lBQTFCLE1BQU07O3VCQUNJLFlBQVk7O0lBQXRCLElBQUk7O3FCQUVELFVBQVU7Ozs7eUJBQ04sY0FBYzs7Ozt3QkFDVixhQUFhOztJQUF4QixLQUFLOzs7O3FCQUtGLEVBQUUsT0FBTyxFQUFQLE9BQU8sRUFBRSxNQUFNLEVBQU4sTUFBTSxFQUFFLElBQUksRUFBSixJQUFJLEVBQUUsRUFBRSxvQkFBQSxFQUFFLE1BQU0sd0JBQUEsRUFBRSxnQkFBZ0IsMkJBQUEsRUFBRSxLQUFLLEVBQUwsS0FBSyxFQUFFIiwiZmlsZSI6ImluZGV4LmpzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0ICogYXMgdGVtcERpciBmcm9tICcuL2xpYi90ZW1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xNQUFNLG1CQUFBLEVBQUUiLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgKiBhcyB0ZW1wRGlyIGZyb20gJy4vbGliL3RlbXBkaXInO1xuaW1wb3J0ICogYXMgc3lzdGVtIGZyb20gJy4vbGliL3N5c3RlbSc7XG5pbXBvcnQgKiBhcyB1dGlsIGZyb20gJy4vbGliL3V0aWwnO1xuaW1wb3J0IHsgY2FuY2VsbGFibGVEZWxheSB9IGZyb20gJy4vbGliL3V0aWwnO1xuaW1wb3J0IGZzIGZyb20gJy4vbGliL2ZzJztcbmltcG9ydCByaW1yYWYgZnJvbSAnLi9saWIvcmltcmFmJztcbmltcG9ydCAqIGFzIHBsaXN0IGZyb20gJy4vbGliL3BsaXN0JztcbmltcG9ydCB7IG1rZGlycCB9IGZyb20gJy4vbGliL21rZGlycCc7XG5cbi8vIGNhbid0IGFkZCB0byBvdGhlciBleHBvcnRzIGBhcyBkZWZhdWx0YFxuLy8gdW50aWwgSlNIaW50IGZpZ3VyZXMgb3V0IGhvdyB0byBwYXJzZSB0aGF0IHBhdHRlcm5cbmV4cG9ydCBkZWZhdWx0IHsgdGVtcERpciwgc3lzdGVtLCB1dGlsLCBmcywgcmltcmFmLCBjYW5jZWxsYWJsZURlbGF5LCBwbGlzdCwgbWtkaXJwIH07XG4iXX0=

@@ -28,2 +28,6 @@ 'use strict';

var _path = require('path');
var _path2 = _interopRequireDefault(_path);
function hasContent(val) {

@@ -119,2 +123,12 @@ return _lodash2['default'].isString(val) && val !== "";

function multiResolve(roots) {
for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
args[_key - 1] = arguments[_key];
}
return roots.map(function (root) {
return _path2['default'].resolve.apply(_path2['default'], [root].concat(args));
});
}
exports.hasValue = hasValue;

@@ -126,4 +140,5 @@ exports.escapeSpace = escapeSpace;

exports.cancellableDelay = cancellableDelay;
exports.multiResolve = multiResolve;
// TODO: de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3MsIG1rZGlyLCBsb2NhbElwLCBjYW5jZWxsYWJsZURlbGF5LCBtdWx0aVJlc29sdmUgfTtcbiJdfQ==

@@ -8,6 +8,6 @@ import * as tempDir from './lib/tempdir';

import * as plist from './lib/plist';
import { mkdirp } from './lib/mkdirp';
// can't add to other exports `as default`
// until JSHint figures out how to parse that pattern
export default { tempDir, system, util, fs, rimraf, cancellableDelay, plist };
export default { tempDir, system, util, fs, rimraf, cancellableDelay, plist, mkdirp };

@@ -5,2 +5,3 @@ import B from 'bluebird';

import fs from './fs';
import path from 'path';

@@ -77,2 +78,8 @@ export function hasContent (val) {

export { hasValue, escapeSpace, hasAccess, mkdir, localIp, cancellableDelay };
function multiResolve (roots, ...args) {
return roots.map((root) => {
return path.resolve(root, ...args);
});
}
export { hasValue, escapeSpace, hasAccess, mkdir, localIp, cancellableDelay, multiResolve };

@@ -7,3 +7,3 @@ {

],
"version": "2.0.0-beta18",
"version": "2.0.0-beta19",
"author": "appium",

@@ -27,2 +27,3 @@ "license": "Apache-2.0",

"dependencies": {
"MD5": "^1.3.0",
"appium-logger": "^1.0.0",

@@ -34,3 +35,3 @@ "babel-runtime": "=5.6.16",

"lodash": "^3.10.0",
"MD5": "^1.3.0",
"mkdirp": "^0.5.1",
"ncp": "^2.0.0",

@@ -37,0 +38,0 @@ "plist": "^1.1.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