New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dir-uploader

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dir-uploader - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

2

package.json
{
"name": "dir-uploader",
"version": "1.1.1",
"version": "1.1.2",
"description": "An uploader module to upload all files in a directory or to upload files of a type. It sends a multipart request to the endpoint with all files attached to it",

@@ -5,0 +5,0 @@ "main": "dir-uploader.js",

@@ -46,12 +46,20 @@ # dir-uploader

From Command line you can either use send-data npm task or directly call export function sendData
From Command line you can either
- create and use send-data npm task
- or directly call export function sendData
Using send-data npm task:
**Using send-data npm task:**
package.json script line would look like this
```
npm run send-data -- url='http://localhost:3020/post' result-path='tests/e2e/sample-exports/browser-based-results' metadata-file='tests/e2e/sample-exports/test.json' export-xml-only=true delete-files=false
"send-data": "node -e 'require(\"dir-uploader\").sendData()'"
```
Using js exported function sendData:
At command prompt:
```
npm run send-data -- url='http://localhost:9456/resultmultipartupload' result-path='_test-reports/e2e-test-results/browser-based-results_2020-01-15T17_04' metadata-file='_test-reports/e2e-test-results/browser-based-results_2020-01-15T17_04/metadata.json' export-file-type=xml delete-files=false
```
**Using js exported function sendData:**
```

@@ -58,0 +66,0 @@ node -e 'require("./dir-uploader").sendData("http://localhost:3020/post","tests/e2e/sample-exports/browser-based-results","tests/e2e/sample-exports/test.json",false,true)'

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