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

@jupiterone/cli

Package Overview
Dependencies
Maintainers
1
Versions
263
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jupiterone/cli - npm Package Compare versions

Comparing version 13.0.0 to 13.1.0

4

dist/src/commands/j1Export.js

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.j1Export = exports.DEFAULT_EXPORT_DIRECTORY = void 0;
exports.DEFAULT_EXPORT_DIRECTORY = void 0;
exports.j1Export = j1Export;
const commander_1 = require("commander");

@@ -66,3 +67,2 @@ const path_1 = __importDefault(require("path"));

}
exports.j1Export = j1Export;
//# sourceMappingURL=j1Export.js.map

@@ -29,3 +29,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.j1Import = void 0;
exports.j1Import = j1Import;
const commander_1 = require("commander");

@@ -64,3 +64,2 @@ const log = __importStar(require("../log"));

}
exports.j1Import = j1Import;
//# sourceMappingURL=j1Import.js.map

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.bulkDownloadToJson = exports.ASSET_DOWNLOAD_LIMIT = void 0;
exports.ASSET_DOWNLOAD_LIMIT = void 0;
exports.bulkDownloadToJson = bulkDownloadToJson;
const integration_sdk_runtime_1 = require("@jupiterone/integration-sdk-runtime");

@@ -63,3 +64,2 @@ const lodash_1 = __importDefault(require("lodash"));

}
exports.bulkDownloadToJson = bulkDownloadToJson;
//# sourceMappingURL=bulkDownloadToJson.js.map

@@ -26,2 +26,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.default = exportAssets;
const log = __importStar(require("../log"));

@@ -46,3 +47,2 @@ const fileSystem_1 = require("../fileSystem");

}
exports.default = exportAssets;
//# sourceMappingURL=exportAssets.js.map

@@ -29,3 +29,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.exportAssetsToJson = void 0;
exports.exportAssetsToJson = exportAssetsToJson;
const ora_1 = __importDefault(require("ora"));

@@ -81,3 +81,2 @@ const bulkDownloadToJson_1 = require("./bulkDownloadToJson");

}
exports.exportAssetsToJson = exportAssetsToJson;
//# sourceMappingURL=exportAssetsToJson.js.map

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.exportJsonAssetsToCsv = exports.exportJsonAssetTypeToCsv = void 0;
exports.exportJsonAssetTypeToCsv = exportJsonAssetTypeToCsv;
exports.exportJsonAssetsToCsv = exportJsonAssetsToCsv;
const ora_1 = __importDefault(require("ora"));

@@ -45,3 +46,2 @@ const path_1 = __importDefault(require("path"));

}
exports.exportJsonAssetTypeToCsv = exportJsonAssetTypeToCsv;
async function exportJsonAssetsToCsv(options) {

@@ -73,3 +73,2 @@ const spinner = (0, ora_1.default)('Exporting JSON Assets to CSV').start();

}
exports.exportJsonAssetsToCsv = exportJsonAssetsToCsv;
//# sourceMappingURL=exportJsonAssetsToCsv.js.map

@@ -6,3 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.groupJsonAssetsByType = void 0;
exports.groupJsonAssetsByType = groupJsonAssetsByType;
const globby_1 = __importDefault(require("globby"));

@@ -22,3 +22,2 @@ const upath_1 = __importDefault(require("upath"));

}
exports.groupJsonAssetsByType = groupJsonAssetsByType;
//# sourceMappingURL=groupJsonAssetsByType.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.sanitizeContent = void 0;
exports.sanitizeContent = sanitizeContent;
function sanitizeContent(content) {
return content.replace(/\\n/g, '\\\\n').replace(/\\r/g, '\\\\r');
}
exports.sanitizeContent = sanitizeContent;
//# sourceMappingURL=util.js.map

@@ -6,3 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.writeAssetsToCsv = void 0;
exports.writeAssetsToCsv = writeAssetsToCsv;
const path_1 = __importDefault(require("path"));

@@ -23,3 +23,2 @@ const jsonexport_1 = __importDefault(require("jsonexport"));

}
exports.writeAssetsToCsv = writeAssetsToCsv;
//# sourceMappingURL=writeAssetsToCsv.js.map

@@ -29,3 +29,9 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.getCsvAssetsDirectory = exports.getJsonAssetsDirectory = exports.deleteDirectory = exports.readJsonFromPath = exports.readFileFromPath = exports.writeFileToPath = exports.ensureDirectoryExists = void 0;
exports.ensureDirectoryExists = ensureDirectoryExists;
exports.writeFileToPath = writeFileToPath;
exports.readFileFromPath = readFileFromPath;
exports.readJsonFromPath = readJsonFromPath;
exports.deleteDirectory = deleteDirectory;
exports.getJsonAssetsDirectory = getJsonAssetsDirectory;
exports.getCsvAssetsDirectory = getCsvAssetsDirectory;
const path_1 = __importDefault(require("path"));

@@ -41,3 +47,2 @@ const nodeFs = __importStar(require("fs"));

}
exports.ensureDirectoryExists = ensureDirectoryExists;
async function writeFileToPath({ filePath, content, }) {

@@ -47,7 +52,5 @@ await ensureDirectoryExists(filePath);

}
exports.writeFileToPath = writeFileToPath;
function readFileFromPath(path) {
return fs.readFile(path, 'utf8');
}
exports.readFileFromPath = readFileFromPath;
async function readJsonFromPath(path) {

@@ -57,15 +60,11 @@ const jsonContent = await readFileFromPath(path);

}
exports.readJsonFromPath = readJsonFromPath;
function deleteDirectory(directory) {
return rimrafAsync(directory);
}
exports.deleteDirectory = deleteDirectory;
function getJsonAssetsDirectory(storageDirectory) {
return path_1.default.join(storageDirectory, 'json');
}
exports.getJsonAssetsDirectory = getJsonAssetsDirectory;
function getCsvAssetsDirectory(storageDirectory) {
return path_1.default.join(storageDirectory, 'csv');
}
exports.getCsvAssetsDirectory = getCsvAssetsDirectory;
//# sourceMappingURL=fileSystem.js.map

@@ -26,3 +26,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.importAssets = void 0;
exports.importAssets = importAssets;
const log = __importStar(require("../log"));

@@ -42,3 +42,2 @@ const importAssetsFromCsv_1 = require("./importAssetsFromCsv");

}
exports.importAssets = importAssets;
//# sourceMappingURL=importAssets.js.map

@@ -29,3 +29,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.importAssetsFromCsv = void 0;
exports.importAssetsFromCsv = importAssetsFromCsv;
const globby_1 = __importDefault(require("globby"));

@@ -132,3 +132,2 @@ const upath_1 = __importDefault(require("upath"));

}
exports.importAssetsFromCsv = importAssetsFromCsv;
//# sourceMappingURL=importAssetsFromCsv.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createCli = void 0;
exports.createCli = createCli;
const commander_1 = require("commander");

@@ -9,3 +9,2 @@ const commands_1 = require("./commands");

}
exports.createCli = createCli;
//# sourceMappingURL=index.js.map

@@ -6,3 +6,6 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.error = exports.warn = exports.info = exports.debug = void 0;
exports.debug = debug;
exports.info = info;
exports.warn = warn;
exports.error = error;
const chalk_1 = __importDefault(require("chalk"));

@@ -13,15 +16,11 @@ /* eslint-disable no-console */

}
exports.debug = debug;
function info(msg) {
console.log(`${chalk_1.default.white(msg)}`);
}
exports.info = info;
function warn(msg) {
console.log(`${chalk_1.default.yellow(msg)}`);
}
exports.warn = warn;
function error(msg) {
console.log(`${chalk_1.default.red(msg)}`);
}
exports.error = error;
//# sourceMappingURL=log.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.pause = void 0;
exports.pause = pause;
function pause(time) {
return new Promise((resolve) => setTimeout(resolve, time));
}
exports.pause = pause;
//# sourceMappingURL=pause.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.validateOption = void 0;
exports.validateOption = validateOption;
function validateOption(options) {

@@ -12,3 +12,2 @@ const { option, value: passedValue, defaultEnvironmentVariable } = options;

}
exports.validateOption = validateOption;
//# sourceMappingURL=validateOption.js.map
{
"name": "@jupiterone/cli",
"version": "13.0.0",
"version": "13.1.0",
"description": "The JupiterOne cli",

@@ -27,4 +27,4 @@ "main": "dist/src/index.js",

"dependencies": {
"@jupiterone/integration-sdk-core": "^13.0.0",
"@jupiterone/integration-sdk-runtime": "^13.0.0",
"@jupiterone/integration-sdk-core": "^13.1.0",
"@jupiterone/integration-sdk-runtime": "^13.1.0",
"@lifeomic/attempt": "^3.0.3",

@@ -46,3 +46,3 @@ "commander": "^5.0.0",

},
"gitHead": "787c4b95bee4222a5d58889e2407c3008143c0e1"
"gitHead": "74818985ff0c1fc0329f11458d164dd377338095"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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