@garoon/plugin-uploader
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -1,5 +0,5 @@ | ||
export declare type BasicAuth = { | ||
export type BasicAuth = { | ||
username: string; | ||
password: string; | ||
}; | ||
export declare const run: (baseUrl: string, username: string, password: string, pluginPath: string, pluginId: string | undefined, basicAuth: BasicAuth | null, proxy: string | undefined) => Promise<void>; | ||
export declare const run: (baseUrl: string | undefined, username: string | undefined, password: string | undefined, pluginPath: string, pluginId: string | undefined, basicAuth: BasicAuth | null, proxy: string | undefined) => Promise<void>; |
@@ -140,2 +140,11 @@ "use strict"; | ||
try { | ||
if (!baseUrl) { | ||
throw new Error("Required argument is undefined: base-url"); | ||
} | ||
if (!username) { | ||
throw new Error("Required argument is undefined: username"); | ||
} | ||
if (!password) { | ||
throw new Error("Required argument is undefined: password"); | ||
} | ||
const page = await login(baseUrl, browser, username, password, basicAuth); | ||
@@ -142,0 +151,0 @@ if (pluginId) { |
{ | ||
"name": "@garoon/plugin-uploader", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"main": "dist/main.js", | ||
@@ -32,7 +32,7 @@ "description": "plugin uploader for Garoon.", | ||
"chalk": "4.1.2", | ||
"puppeteer": "^16.1.1", | ||
"puppeteer": "^19.4.1", | ||
"yargs": "^17.4.1" | ||
}, | ||
"devDependencies": { | ||
"@cybozu/eslint-config": "^17.0.3", | ||
"@cybozu/eslint-config": "^18.0.0", | ||
"@types/yargs": "^17.0.11", | ||
@@ -39,0 +39,0 @@ "eslint": "^8.22.0", |
Sorry, the diff of this file is not supported yet
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
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
Mixed license
License(Experimental) Package contains multiple licenses.
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
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
39469
242
1
+ Added@babel/code-frame@7.26.2(transitive)
+ Added@babel/helper-validator-identifier@7.25.9(transitive)
+ Added@puppeteer/browsers@0.5.0(transitive)
+ Addedargparse@2.0.1(transitive)
+ Addedcallsites@3.1.0(transitive)
+ Addedchromium-bidi@0.4.7(transitive)
+ Addedcosmiconfig@8.1.3(transitive)
+ Addeddevtools-protocol@0.0.1107588(transitive)
+ Addederror-ex@1.3.2(transitive)
+ Addedimport-fresh@3.3.0(transitive)
+ Addedis-arrayish@0.2.1(transitive)
+ Addedjs-tokens@4.0.0(transitive)
+ Addedjs-yaml@4.1.0(transitive)
+ Addedjson-parse-even-better-errors@2.3.1(transitive)
+ Addedlines-and-columns@1.2.4(transitive)
+ Addedmitt@3.0.0(transitive)
+ Addedparent-module@1.0.1(transitive)
+ Addedparse-json@5.2.0(transitive)
+ Addedpath-type@4.0.0(transitive)
+ Addedpicocolors@1.1.1(transitive)
+ Addedpuppeteer@19.11.1(transitive)
+ Addedpuppeteer-core@19.11.1(transitive)
+ Addedresolve-from@4.0.0(transitive)
+ Addedws@8.13.0(transitive)
+ Addedyargs@17.7.1(transitive)
- Removedbalanced-match@1.0.2(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removeddevtools-protocol@0.0.1019158(transitive)
- Removedfs.realpath@1.0.0(transitive)
- Removedglob@7.2.3(transitive)
- Removedinflight@1.0.6(transitive)
- Removedminimatch@3.1.2(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedpuppeteer@16.2.0(transitive)
- Removedrimraf@3.0.2(transitive)
- Removedws@8.8.1(transitive)
Updatedpuppeteer@^19.4.1