@highlight-run/sourcemap-uploader
Advanced tools
Comparing version 0.0.11 to 0.0.12
12
index.js
@@ -26,3 +26,3 @@ #!/usr/bin/env node | ||
() => {}, | ||
async ({ organizationId, apiKey, version, path }) => { | ||
async ({ organizationId, apiKey, appVersion, path }) => { | ||
console.info(`Starting to upload source maps from ${path}`); | ||
@@ -42,3 +42,3 @@ | ||
fileList.map(({ path, name }) => | ||
uploadFile(organizationId, apiKey, version, path, name) | ||
uploadFile(organizationId, apiKey, appVersion, path, name) | ||
) | ||
@@ -54,4 +54,4 @@ ); | ||
}) | ||
.option("version", { | ||
alias: "v", | ||
.option("appVersion", { | ||
alias: "av", | ||
type: "string", | ||
@@ -106,3 +106,5 @@ describe: "The current version of your deploy", | ||
// Setting up S3 upload parameters | ||
if (version === null || version === undefined || version === "") { | ||
console.log("version: ", version) | ||
console.log("id: ", organizationId) | ||
if (version === null || version === undefined || version === "" || !version) { | ||
version = "unversioned"; | ||
@@ -109,0 +111,0 @@ } |
{ | ||
"name": "@highlight-run/sourcemap-uploader", | ||
"version": "0.0.11", | ||
"version": "0.0.12", | ||
"description": "Command line tool to upload source maps to Highlight", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
140897
105
0