mirror of
https://github.com/bcomnes/deploy-to-neocities.git
synced 2026-01-16 22:56:28 +00:00
fixes
This commit is contained in:
parent
343d3ef96a
commit
037cb6bf38
5
node_modules/async-neocities-tmp/index.js
generated
vendored
5
node_modules/async-neocities-tmp/index.js
generated
vendored
@ -3,7 +3,6 @@ const fetch = require('node-fetch')
|
||||
const { URL } = require('url')
|
||||
const qs = require('qs')
|
||||
const os = require('os')
|
||||
const path = require('path')
|
||||
const { createReadStream } = require('fs')
|
||||
const FormData = require('form-data')
|
||||
const { handleResponse } = require('fetch-errors')
|
||||
@ -100,9 +99,11 @@ class NeocitiesAPIClient {
|
||||
*/
|
||||
upload (files) {
|
||||
const formEntries = files.map(({ name, path }) => {
|
||||
const streamCtor = (next) => next(createReadStream(path))
|
||||
streamCtor.path = path
|
||||
return {
|
||||
name,
|
||||
value: createReadStream(path)
|
||||
value: streamCtor
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
20
node_modules/async-neocities-tmp/package.json
generated
vendored
20
node_modules/async-neocities-tmp/package.json
generated
vendored
@ -1,26 +1,26 @@
|
||||
{
|
||||
"_from": "async-neocities-tmp@0.0.8",
|
||||
"_id": "async-neocities-tmp@0.0.8",
|
||||
"_from": "async-neocities-tmp@0.0.9",
|
||||
"_id": "async-neocities-tmp@0.0.9",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-7WRDMN4/h+OkOiTzX7NC9pmx8OJL2e/bwwAH6EUHAQLhled7a9NrIXw1hV+sZMVWH3NhmpPxWr6nfGEqmtE2GA==",
|
||||
"_integrity": "sha512-UsiA33DKOX5ZwoxiAveXpua+RDPI8TXoxZOcHpLnb7tTGvXDvcwcEUIF5kPfhD7wT1tnISyUT+rVh0cER0gxIA==",
|
||||
"_location": "/async-neocities-tmp",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "async-neocities-tmp@0.0.8",
|
||||
"raw": "async-neocities-tmp@0.0.9",
|
||||
"name": "async-neocities-tmp",
|
||||
"escapedName": "async-neocities-tmp",
|
||||
"rawSpec": "0.0.8",
|
||||
"rawSpec": "0.0.9",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "0.0.8"
|
||||
"fetchSpec": "0.0.9"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/async-neocities-tmp/-/async-neocities-tmp-0.0.8.tgz",
|
||||
"_shasum": "9b7a2a7bd8df8fc1c868f5a69013b4125b247b5d",
|
||||
"_spec": "async-neocities-tmp@0.0.8",
|
||||
"_resolved": "https://registry.npmjs.org/async-neocities-tmp/-/async-neocities-tmp-0.0.9.tgz",
|
||||
"_shasum": "9039cc16e7185cd9861ba4a1a881d0e99bc91995",
|
||||
"_spec": "async-neocities-tmp@0.0.9",
|
||||
"_where": "/Users/bret/repos/deploy-to-neocities",
|
||||
"author": {
|
||||
"name": "Bret Comnes",
|
||||
@ -68,5 +68,5 @@
|
||||
"dist"
|
||||
]
|
||||
},
|
||||
"version": "0.0.8"
|
||||
"version": "0.0.9"
|
||||
}
|
||||
|
||||
@ -32,7 +32,7 @@
|
||||
"dependencies": {
|
||||
"@actions/core": "1.2.2",
|
||||
"@actions/github": "2.1.0",
|
||||
"async-neocities-tmp": "0.0.8"
|
||||
"async-neocities-tmp": "0.0.9"
|
||||
},
|
||||
"standard": {
|
||||
"ignore": [
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user