new license file version [CI SKIP]
This commit is contained in:
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"min.js","sources":["../../../src/internal/operators/min.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AA+ClC,MAAM,UAAU,GAAG,CAAI,QAAiC;IACtD,IAAM,GAAG,GAAsB,CAAC,OAAO,QAAQ,KAAK,UAAU,CAAC;QAC7D,CAAC,CAAC,UAAC,CAAC,EAAE,CAAC,IAAK,OAAA,QAAQ,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAA1B,CAA0B;QACtC,CAAC,CAAC,UAAC,CAAC,EAAE,CAAC,IAAK,OAAA,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAb,CAAa,CAAC;IAC5B,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC;AACrB,CAAC"}
|
||||
@@ -0,0 +1 @@
|
||||
{"name":"windows-release","version":"4.0.0","files":{"license":{"checkedAt":1678887829613,"integrity":"sha512-0fM2/ycrxrltyaBKfQ748Ck23VlPUUBgNAR47ldf4B1V/HoXTfWBSk+vcshGKwEpmOynu4mOP5o+hyBfuRNa8g==","mode":420,"size":1117},"index.js":{"checkedAt":1678887830211,"integrity":"sha512-51n44zn65MfnORI9IQYdCmQaOInI/ZhB2Q6aFZndkfn9XkehpjZKbeHczHOVVDzpZx2C5D/gjV7U7tVPvngLzw==","mode":420,"size":1597},"package.json":{"checkedAt":1678887830211,"integrity":"sha512-m2/NLdTKo53Wdcgc4zbdiPMp1Ev9GxNIxQEDiASy12bz08Q/KPgtByjJCDEYNYhGEMocNP/VdzH1qkF7tXMTCg==","mode":420,"size":789},"readme.md":{"checkedAt":1678887830211,"integrity":"sha512-RMueKTn7mDZIKDSk1mnECkhO6u8tgHxp0H9MnT9wKh6PwOTyFon+8vN8rA++AYlA182WaqmJVRrxaJXl+cB7Tg==","mode":420,"size":1744},"index.d.ts":{"checkedAt":1678887830211,"integrity":"sha512-KGf3guu4dTMU06X2U1PVQYbbJQwPGY/7YWHv5P2C6kB1U9Sebh15msaanDrbTXFh+R6xkOrNbEpkdx16w/hF0g==","mode":420,"size":869}}}
|
||||
@@ -0,0 +1 @@
|
||||
module.exports={A:{A:{"1":"G A B","2":"J E F BC"},B:{"1":"C K L H M N O P Q R S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t"},C:{"1":"0 1 2 3 4 5 6 7 8 9 CC tB I u J E F G A B C K L H M N O v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB uB ZB vB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R wB S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t xB yB DC EC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 I u J E F G A B C K L H M N O v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB uB ZB vB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t xB yB FC"},E:{"1":"J E F G A B C K L H HC IC JC KC 0B qB rB 1B LC MC 2B 3B 4B 5B sB 6B 7B 8B NC","2":"I GC zB","16":"u"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C H M N O v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R wB S T U V W X Y Z a b c d PC QC RC qB 9B SC rB","16":"G OC"},G:{"1":"F UC VC WC XC YC ZC aC bC cC dC eC fC gC hC iC jC kC lC mC 2B 3B 4B 5B sB 6B 7B 8B","16":"zB TC AC"},H:{"2":"nC"},I:{"1":"tB I D qC rC AC","16":"oC pC","132":"sC tC"},J:{"1":"E A"},K:{"1":"A B C e qB 9B rB"},L:{"132":"D"},M:{"132":"D"},N:{"1":"A B"},O:{"1":"uC"},P:{"2":"I","132":"vC wC xC yC zC 0B 0C 1C 2C 3C 4C sB 5C 6C 7C"},Q:{"1":"1B"},R:{"132":"8C"},S:{"1":"9C"}},B:7,C:"KeyboardEvent.which"};
|
||||
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"name": "http2-wrapper",
|
||||
"version": "1.0.3",
|
||||
"description": "HTTP2 client, just with the familiar `https` API",
|
||||
"main": "source",
|
||||
"engines": {
|
||||
"node": ">=10.19.0"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "xo && nyc --reporter=lcovonly --reporter=text --reporter=html ava"
|
||||
},
|
||||
"files": [
|
||||
"source"
|
||||
],
|
||||
"keywords": [
|
||||
"http2",
|
||||
"https",
|
||||
"http",
|
||||
"request"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/szmarczak/http2-wrapper.git"
|
||||
},
|
||||
"author": "Szymon Marczak",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/szmarczak/http2-wrapper/issues"
|
||||
},
|
||||
"homepage": "https://github.com/szmarczak/http2-wrapper#readme",
|
||||
"dependencies": {
|
||||
"quick-lru": "^5.1.1",
|
||||
"resolve-alpn": "^1.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@sindresorhus/is": "^3.0.0",
|
||||
"ava": "^3.10.1",
|
||||
"benchmark": "^2.1.4",
|
||||
"get-stream": "^5.1.0",
|
||||
"got": "^11.5.0",
|
||||
"http2-proxy": "^5.0.51",
|
||||
"lolex": "^6.0.0",
|
||||
"many-keys-map": "^1.0.2",
|
||||
"nyc": "^15.1.0",
|
||||
"p-event": "^4.2.0",
|
||||
"tempy": "^0.5.0",
|
||||
"to-readable-stream": "^2.1.0",
|
||||
"tsd": "^0.13.1",
|
||||
"xo": "^0.32.1"
|
||||
},
|
||||
"ava": {
|
||||
"timeout": "2m"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,92 @@
|
||||
import { Operator } from '../Operator';
|
||||
import { Observable } from '../Observable';
|
||||
import { Subscriber } from '../Subscriber';
|
||||
|
||||
import { MonoTypeOperatorFunction, TeardownLogic } from '../types';
|
||||
import { SimpleOuterSubscriber, innerSubscribe, SimpleInnerSubscriber } from '../innerSubscribe';
|
||||
|
||||
/**
|
||||
* Emits the most recently emitted value from the source Observable whenever
|
||||
* another Observable, the `notifier`, emits.
|
||||
*
|
||||
* <span class="informal">It's like {@link sampleTime}, but samples whenever
|
||||
* the `notifier` Observable emits something.</span>
|
||||
*
|
||||
* 
|
||||
*
|
||||
* Whenever the `notifier` Observable emits a value or completes, `sample`
|
||||
* looks at the source Observable and emits whichever value it has most recently
|
||||
* emitted since the previous sampling, unless the source has not emitted
|
||||
* anything since the previous sampling. The `notifier` is subscribed to as soon
|
||||
* as the output Observable is subscribed.
|
||||
*
|
||||
* ## Example
|
||||
* On every click, sample the most recent "seconds" timer
|
||||
* ```ts
|
||||
* import { fromEvent, interval } from 'rxjs';
|
||||
* import { sample } from 'rxjs/operators';
|
||||
*
|
||||
* const seconds = interval(1000);
|
||||
* const clicks = fromEvent(document, 'click');
|
||||
* const result = seconds.pipe(sample(clicks));
|
||||
* result.subscribe(x => console.log(x));
|
||||
* ```
|
||||
*
|
||||
* @see {@link audit}
|
||||
* @see {@link debounce}
|
||||
* @see {@link sampleTime}
|
||||
* @see {@link throttle}
|
||||
*
|
||||
* @param {Observable<any>} notifier The Observable to use for sampling the
|
||||
* source Observable.
|
||||
* @return {Observable<T>} An Observable that emits the results of sampling the
|
||||
* values emitted by the source Observable whenever the notifier Observable
|
||||
* emits value or completes.
|
||||
* @method sample
|
||||
* @owner Observable
|
||||
*/
|
||||
export function sample<T>(notifier: Observable<any>): MonoTypeOperatorFunction<T> {
|
||||
return (source: Observable<T>) => source.lift(new SampleOperator(notifier));
|
||||
}
|
||||
|
||||
class SampleOperator<T> implements Operator<T, T> {
|
||||
constructor(private notifier: Observable<any>) {
|
||||
}
|
||||
|
||||
call(subscriber: Subscriber<T>, source: any): TeardownLogic {
|
||||
const sampleSubscriber = new SampleSubscriber(subscriber);
|
||||
const subscription = source.subscribe(sampleSubscriber);
|
||||
subscription.add(innerSubscribe(this.notifier, new SimpleInnerSubscriber(sampleSubscriber)));
|
||||
return subscription;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* We need this JSDoc comment for affecting ESDoc.
|
||||
* @ignore
|
||||
* @extends {Ignored}
|
||||
*/
|
||||
class SampleSubscriber<T, R> extends SimpleOuterSubscriber<T, R> {
|
||||
private value?: T;
|
||||
private hasValue: boolean = false;
|
||||
|
||||
protected _next(value: T) {
|
||||
this.value = value;
|
||||
this.hasValue = true;
|
||||
}
|
||||
|
||||
notifyNext(): void {
|
||||
this.emitValue();
|
||||
}
|
||||
|
||||
notifyComplete(): void {
|
||||
this.emitValue();
|
||||
}
|
||||
|
||||
emitValue() {
|
||||
if (this.hasValue) {
|
||||
this.hasValue = false;
|
||||
this.destination.next!(this.value!);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,358 @@
|
||||
# Form-Data [](https://www.npmjs.com/package/form-data) [](https://gitter.im/form-data/form-data)
|
||||
|
||||
A library to create readable ```"multipart/form-data"``` streams. Can be used to submit forms and file uploads to other web applications.
|
||||
|
||||
The API of this library is inspired by the [XMLHttpRequest-2 FormData Interface][xhr2-fd].
|
||||
|
||||
[xhr2-fd]: http://dev.w3.org/2006/webapi/XMLHttpRequest-2/Overview.html#the-formdata-interface
|
||||
|
||||
[](https://travis-ci.org/form-data/form-data)
|
||||
[](https://travis-ci.org/form-data/form-data)
|
||||
[](https://travis-ci.org/form-data/form-data)
|
||||
|
||||
[](https://coveralls.io/github/form-data/form-data?branch=master)
|
||||
[](https://david-dm.org/form-data/form-data)
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
npm install --save form-data
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
In this example we are constructing a form with 3 fields that contain a string,
|
||||
a buffer and a file stream.
|
||||
|
||||
``` javascript
|
||||
var FormData = require('form-data');
|
||||
var fs = require('fs');
|
||||
|
||||
var form = new FormData();
|
||||
form.append('my_field', 'my value');
|
||||
form.append('my_buffer', new Buffer(10));
|
||||
form.append('my_file', fs.createReadStream('/foo/bar.jpg'));
|
||||
```
|
||||
|
||||
Also you can use http-response stream:
|
||||
|
||||
``` javascript
|
||||
var FormData = require('form-data');
|
||||
var http = require('http');
|
||||
|
||||
var form = new FormData();
|
||||
|
||||
http.request('http://nodejs.org/images/logo.png', function(response) {
|
||||
form.append('my_field', 'my value');
|
||||
form.append('my_buffer', new Buffer(10));
|
||||
form.append('my_logo', response);
|
||||
});
|
||||
```
|
||||
|
||||
Or @mikeal's [request](https://github.com/request/request) stream:
|
||||
|
||||
``` javascript
|
||||
var FormData = require('form-data');
|
||||
var request = require('request');
|
||||
|
||||
var form = new FormData();
|
||||
|
||||
form.append('my_field', 'my value');
|
||||
form.append('my_buffer', new Buffer(10));
|
||||
form.append('my_logo', request('http://nodejs.org/images/logo.png'));
|
||||
```
|
||||
|
||||
In order to submit this form to a web application, call ```submit(url, [callback])``` method:
|
||||
|
||||
``` javascript
|
||||
form.submit('http://example.org/', function(err, res) {
|
||||
// res – response object (http.IncomingMessage) //
|
||||
res.resume();
|
||||
});
|
||||
|
||||
```
|
||||
|
||||
For more advanced request manipulations ```submit()``` method returns ```http.ClientRequest``` object, or you can choose from one of the alternative submission methods.
|
||||
|
||||
### Custom options
|
||||
|
||||
You can provide custom options, such as `maxDataSize`:
|
||||
|
||||
``` javascript
|
||||
var FormData = require('form-data');
|
||||
|
||||
var form = new FormData({ maxDataSize: 20971520 });
|
||||
form.append('my_field', 'my value');
|
||||
form.append('my_buffer', /* something big */);
|
||||
```
|
||||
|
||||
List of available options could be found in [combined-stream](https://github.com/felixge/node-combined-stream/blob/master/lib/combined_stream.js#L7-L15)
|
||||
|
||||
### Alternative submission methods
|
||||
|
||||
You can use node's http client interface:
|
||||
|
||||
``` javascript
|
||||
var http = require('http');
|
||||
|
||||
var request = http.request({
|
||||
method: 'post',
|
||||
host: 'example.org',
|
||||
path: '/upload',
|
||||
headers: form.getHeaders()
|
||||
});
|
||||
|
||||
form.pipe(request);
|
||||
|
||||
request.on('response', function(res) {
|
||||
console.log(res.statusCode);
|
||||
});
|
||||
```
|
||||
|
||||
Or if you would prefer the `'Content-Length'` header to be set for you:
|
||||
|
||||
``` javascript
|
||||
form.submit('example.org/upload', function(err, res) {
|
||||
console.log(res.statusCode);
|
||||
});
|
||||
```
|
||||
|
||||
To use custom headers and pre-known length in parts:
|
||||
|
||||
``` javascript
|
||||
var CRLF = '\r\n';
|
||||
var form = new FormData();
|
||||
|
||||
var options = {
|
||||
header: CRLF + '--' + form.getBoundary() + CRLF + 'X-Custom-Header: 123' + CRLF + CRLF,
|
||||
knownLength: 1
|
||||
};
|
||||
|
||||
form.append('my_buffer', buffer, options);
|
||||
|
||||
form.submit('http://example.com/', function(err, res) {
|
||||
if (err) throw err;
|
||||
console.log('Done');
|
||||
});
|
||||
```
|
||||
|
||||
Form-Data can recognize and fetch all the required information from common types of streams (```fs.readStream```, ```http.response``` and ```mikeal's request```), for some other types of streams you'd need to provide "file"-related information manually:
|
||||
|
||||
``` javascript
|
||||
someModule.stream(function(err, stdout, stderr) {
|
||||
if (err) throw err;
|
||||
|
||||
var form = new FormData();
|
||||
|
||||
form.append('file', stdout, {
|
||||
filename: 'unicycle.jpg', // ... or:
|
||||
filepath: 'photos/toys/unicycle.jpg',
|
||||
contentType: 'image/jpeg',
|
||||
knownLength: 19806
|
||||
});
|
||||
|
||||
form.submit('http://example.com/', function(err, res) {
|
||||
if (err) throw err;
|
||||
console.log('Done');
|
||||
});
|
||||
});
|
||||
```
|
||||
|
||||
The `filepath` property overrides `filename` and may contain a relative path. This is typically used when uploading [multiple files from a directory](https://wicg.github.io/entries-api/#dom-htmlinputelement-webkitdirectory).
|
||||
|
||||
For edge cases, like POST request to URL with query string or to pass HTTP auth credentials, object can be passed to `form.submit()` as first parameter:
|
||||
|
||||
``` javascript
|
||||
form.submit({
|
||||
host: 'example.com',
|
||||
path: '/probably.php?extra=params',
|
||||
auth: 'username:password'
|
||||
}, function(err, res) {
|
||||
console.log(res.statusCode);
|
||||
});
|
||||
```
|
||||
|
||||
In case you need to also send custom HTTP headers with the POST request, you can use the `headers` key in first parameter of `form.submit()`:
|
||||
|
||||
``` javascript
|
||||
form.submit({
|
||||
host: 'example.com',
|
||||
path: '/surelynot.php',
|
||||
headers: {'x-test-header': 'test-header-value'}
|
||||
}, function(err, res) {
|
||||
console.log(res.statusCode);
|
||||
});
|
||||
```
|
||||
|
||||
### Methods
|
||||
|
||||
- [_Void_ append( **String** _field_, **Mixed** _value_ [, **Mixed** _options_] )](https://github.com/form-data/form-data#void-append-string-field-mixed-value--mixed-options-).
|
||||
- [_Headers_ getHeaders( [**Headers** _userHeaders_] )](https://github.com/form-data/form-data#array-getheaders-array-userheaders-)
|
||||
- [_String_ getBoundary()](https://github.com/form-data/form-data#string-getboundary)
|
||||
- [_Void_ setBoundary()](https://github.com/form-data/form-data#void-setboundary)
|
||||
- [_Buffer_ getBuffer()](https://github.com/form-data/form-data#buffer-getbuffer)
|
||||
- [_Integer_ getLengthSync()](https://github.com/form-data/form-data#integer-getlengthsync)
|
||||
- [_Integer_ getLength( **function** _callback_ )](https://github.com/form-data/form-data#integer-getlength-function-callback-)
|
||||
- [_Boolean_ hasKnownLength()](https://github.com/form-data/form-data#boolean-hasknownlength)
|
||||
- [_Request_ submit( _params_, **function** _callback_ )](https://github.com/form-data/form-data#request-submit-params-function-callback-)
|
||||
- [_String_ toString()](https://github.com/form-data/form-data#string-tostring)
|
||||
|
||||
#### _Void_ append( **String** _field_, **Mixed** _value_ [, **Mixed** _options_] )
|
||||
Append data to the form. You can submit about any format (string, integer, boolean, buffer, etc.). However, Arrays are not supported and need to be turned into strings by the user.
|
||||
```javascript
|
||||
var form = new FormData();
|
||||
form.append( 'my_string', 'my value' );
|
||||
form.append( 'my_integer', 1 );
|
||||
form.append( 'my_boolean', true );
|
||||
form.append( 'my_buffer', new Buffer(10) );
|
||||
form.append( 'my_array_as_json', JSON.stringify( ['bird','cute'] ) )
|
||||
```
|
||||
|
||||
You may provide a string for options, or an object.
|
||||
```javascript
|
||||
// Set filename by providing a string for options
|
||||
form.append( 'my_file', fs.createReadStream('/foo/bar.jpg'), 'bar.jpg' );
|
||||
|
||||
// provide an object.
|
||||
form.append( 'my_file', fs.createReadStream('/foo/bar.jpg'), {filename: 'bar.jpg', contentType: 'image/jpeg', knownLength: 19806} );
|
||||
```
|
||||
|
||||
#### _Headers_ getHeaders( [**Headers** _userHeaders_] )
|
||||
This method adds the correct `content-type` header to the provided array of `userHeaders`.
|
||||
|
||||
#### _String_ getBoundary()
|
||||
Return the boundary of the formData. By default, the boundary consists of 26 `-` followed by 24 numbers
|
||||
for example:
|
||||
```javascript
|
||||
--------------------------515890814546601021194782
|
||||
```
|
||||
|
||||
#### _Void_ setBoundary(String _boundary_)
|
||||
Set the boundary string, overriding the default behavior described above.
|
||||
|
||||
_Note: The boundary must be unique and may not appear in the data._
|
||||
|
||||
#### _Buffer_ getBuffer()
|
||||
Return the full formdata request package, as a Buffer. You can insert this Buffer in e.g. Axios to send multipart data.
|
||||
```javascript
|
||||
var form = new FormData();
|
||||
form.append( 'my_buffer', Buffer.from([0x4a,0x42,0x20,0x52,0x6f,0x63,0x6b,0x73]) );
|
||||
form.append( 'my_file', fs.readFileSync('/foo/bar.jpg') );
|
||||
|
||||
axios.post( 'https://example.com/path/to/api',
|
||||
form.getBuffer(),
|
||||
form.getHeaders()
|
||||
)
|
||||
```
|
||||
**Note:** Because the output is of type Buffer, you can only append types that are accepted by Buffer: *string, Buffer, ArrayBuffer, Array, or Array-like Object*. A ReadStream for example will result in an error.
|
||||
|
||||
#### _Integer_ getLengthSync()
|
||||
Same as `getLength` but synchronous.
|
||||
|
||||
_Note: getLengthSync __doesn't__ calculate streams length._
|
||||
|
||||
#### _Integer_ getLength( **function** _callback_ )
|
||||
Returns the `Content-Length` async. The callback is used to handle errors and continue once the length has been calculated
|
||||
```javascript
|
||||
this.getLength(function(err, length) {
|
||||
if (err) {
|
||||
this._error(err);
|
||||
return;
|
||||
}
|
||||
|
||||
// add content length
|
||||
request.setHeader('Content-Length', length);
|
||||
|
||||
...
|
||||
}.bind(this));
|
||||
```
|
||||
|
||||
#### _Boolean_ hasKnownLength()
|
||||
Checks if the length of added values is known.
|
||||
|
||||
#### _Request_ submit( _params_, **function** _callback_ )
|
||||
Submit the form to a web application.
|
||||
```javascript
|
||||
var form = new FormData();
|
||||
form.append( 'my_string', 'Hello World' );
|
||||
|
||||
form.submit( 'http://example.com/', function(err, res) {
|
||||
// res – response object (http.IncomingMessage) //
|
||||
res.resume();
|
||||
} );
|
||||
```
|
||||
|
||||
#### _String_ toString()
|
||||
Returns the form data as a string. Don't use this if you are sending files or buffers, use `getBuffer()` instead.
|
||||
|
||||
### Integration with other libraries
|
||||
|
||||
#### Request
|
||||
|
||||
Form submission using [request](https://github.com/request/request):
|
||||
|
||||
```javascript
|
||||
var formData = {
|
||||
my_field: 'my_value',
|
||||
my_file: fs.createReadStream(__dirname + '/unicycle.jpg'),
|
||||
};
|
||||
|
||||
request.post({url:'http://service.com/upload', formData: formData}, function(err, httpResponse, body) {
|
||||
if (err) {
|
||||
return console.error('upload failed:', err);
|
||||
}
|
||||
console.log('Upload successful! Server responded with:', body);
|
||||
});
|
||||
```
|
||||
|
||||
For more details see [request readme](https://github.com/request/request#multipartform-data-multipart-form-uploads).
|
||||
|
||||
#### node-fetch
|
||||
|
||||
You can also submit a form using [node-fetch](https://github.com/bitinn/node-fetch):
|
||||
|
||||
```javascript
|
||||
var form = new FormData();
|
||||
|
||||
form.append('a', 1);
|
||||
|
||||
fetch('http://example.com', { method: 'POST', body: form })
|
||||
.then(function(res) {
|
||||
return res.json();
|
||||
}).then(function(json) {
|
||||
console.log(json);
|
||||
});
|
||||
```
|
||||
|
||||
#### axios
|
||||
|
||||
In Node.js you can post a file using [axios](https://github.com/axios/axios):
|
||||
```javascript
|
||||
const form = new FormData();
|
||||
const stream = fs.createReadStream(PATH_TO_FILE);
|
||||
|
||||
form.append('image', stream);
|
||||
|
||||
// In Node.js environment you need to set boundary in the header field 'Content-Type' by calling method `getHeaders`
|
||||
const formHeaders = form.getHeaders();
|
||||
|
||||
axios.post('http://example.com', form, {
|
||||
headers: {
|
||||
...formHeaders,
|
||||
},
|
||||
})
|
||||
.then(response => response)
|
||||
.catch(error => error)
|
||||
```
|
||||
|
||||
## Notes
|
||||
|
||||
- ```getLengthSync()``` method DOESN'T calculate length for streams, use ```knownLength``` options as workaround.
|
||||
- ```getLength(cb)``` will send an error as first parameter of callback if stream length cannot be calculated (e.g. send in custom streams w/o using ```knownLength```).
|
||||
- ```submit``` will not add `content-length` if form length is unknown or not calculable.
|
||||
- Starting version `2.x` FormData has dropped support for `node@0.10.x`.
|
||||
- Starting version `3.x` FormData has dropped support for `node@4.x`.
|
||||
|
||||
## License
|
||||
|
||||
Form-Data is released under the [MIT](License) license.
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"isObject.js","sources":["../src/util/isObject.ts"],"names":[],"mappings":";;;;;AAAA,+CAA0C"}
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"windowToggle.js","sources":["../../src/internal/operators/windowToggle.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAGA,sCAAqC;AACrC,gDAA+C;AAC/C,sDAAqD;AAErD,+DAA8D;AAmD9D,SAAgB,YAAY,CAAO,QAAuB,EACvB,eAAkD;IACnF,OAAO,UAAC,MAAqB,IAAK,OAAA,MAAM,CAAC,IAAI,CAAC,IAAI,oBAAoB,CAAO,QAAQ,EAAE,eAAe,CAAC,CAAC,EAAtE,CAAsE,CAAC;AAC3G,CAAC;AAHD,oCAGC;AAED;IAEE,8BAAoB,QAAuB,EACvB,eAAkD;QADlD,aAAQ,GAAR,QAAQ,CAAe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EO,4CAAW,GAAnB,UAAoB,KAAa;QAC/B,IAAI,KAAK,KAAK,CAAC,CAAC,EAAE;YAChB,OAAO;SACR;QAEO,IAAA,wBAAQ,CAAU;QAC1B,IAAM,OAAO,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;QACxB,IAAA,uBAAM,EAAE,mCAAY,CAAa;QACzC,QAAQ,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;QAC1B,MAAM,CAAC,QAAQ,EAAE,CAAC;QAClB,YAAY,CAAC,WAAW,EAAE,CAAC;IAC7B,CAAC;IACH,6BAAC;AAAD,CAAC,AA5HD,CAA2C,iCAAe,GA4HzD"}
|
||||
@@ -0,0 +1 @@
|
||||
module.exports={A:{A:{"1":"G A B","2":"J E F BC"},B:{"1":"C K L H M N O P Q R S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t"},C:{"1":"0 1 2 3 4 5 6 7 8 9 w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB uB ZB vB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R wB S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t xB yB","2":"CC tB","260":"I u J E F G A B C K L H M N O v DC EC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 I u J E F G A B C K L H M N O v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB uB ZB vB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t xB yB FC"},E:{"1":"I u J E F G A HC IC JC KC 0B","2":"GC zB","513":"B C K L H qB rB 1B LC MC 2B 3B 4B 5B sB 6B 7B 8B NC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C H M N O v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R wB S T U V W X Y Z a b c d QC RC qB 9B SC rB","2":"G OC PC"},G:{"1":"F zB TC AC UC VC WC XC YC ZC aC bC","513":"cC dC eC fC gC hC iC jC kC lC mC 2B 3B 4B 5B sB 6B 7B 8B"},H:{"2":"nC"},I:{"1":"tB I D qC rC AC sC tC","132":"oC pC"},J:{"1":"E A"},K:{"1":"B C e qB 9B rB","2":"A"},L:{"1":"D"},M:{"1":"D"},N:{"1":"A B"},O:{"1":"uC"},P:{"1":"I vC wC xC yC zC 0B 0C 1C 2C 3C 4C sB 5C 6C 7C"},Q:{"1":"1B"},R:{"1":"8C"},S:{"1":"9C"}},B:1,C:"Video element"};
|
||||
@@ -0,0 +1,7 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
function isDate(value) {
|
||||
return value instanceof Date && !isNaN(+value);
|
||||
}
|
||||
exports.isDate = isDate;
|
||||
//# sourceMappingURL=isDate.js.map
|
||||
@@ -0,0 +1,75 @@
|
||||
/** PURE_IMPORTS_START tslib,_map,_observable_from,_innerSubscribe PURE_IMPORTS_END */
|
||||
import * as tslib_1 from "tslib";
|
||||
import { map } from './map';
|
||||
import { from } from '../observable/from';
|
||||
import { SimpleOuterSubscriber, SimpleInnerSubscriber, innerSubscribe } from '../innerSubscribe';
|
||||
export function switchMap(project, resultSelector) {
|
||||
if (typeof resultSelector === 'function') {
|
||||
return function (source) { return source.pipe(switchMap(function (a, i) { return from(project(a, i)).pipe(map(function (b, ii) { return resultSelector(a, b, i, ii); })); })); };
|
||||
}
|
||||
return function (source) { return source.lift(new SwitchMapOperator(project)); };
|
||||
}
|
||||
var SwitchMapOperator = /*@__PURE__*/ (function () {
|
||||
function SwitchMapOperator(project) {
|
||||
this.project = project;
|
||||
}
|
||||
SwitchMapOperator.prototype.call = function (subscriber, source) {
|
||||
return source.subscribe(new SwitchMapSubscriber(subscriber, this.project));
|
||||
};
|
||||
return SwitchMapOperator;
|
||||
}());
|
||||
var SwitchMapSubscriber = /*@__PURE__*/ (function (_super) {
|
||||
tslib_1.__extends(SwitchMapSubscriber, _super);
|
||||
function SwitchMapSubscriber(destination, project) {
|
||||
var _this = _super.call(this, destination) || this;
|
||||
_this.project = project;
|
||||
_this.index = 0;
|
||||
return _this;
|
||||
}
|
||||
SwitchMapSubscriber.prototype._next = function (value) {
|
||||
var result;
|
||||
var index = this.index++;
|
||||
try {
|
||||
result = this.project(value, index);
|
||||
}
|
||||
catch (error) {
|
||||
this.destination.error(error);
|
||||
return;
|
||||
}
|
||||
this._innerSub(result);
|
||||
};
|
||||
SwitchMapSubscriber.prototype._innerSub = function (result) {
|
||||
var innerSubscription = this.innerSubscription;
|
||||
if (innerSubscription) {
|
||||
innerSubscription.unsubscribe();
|
||||
}
|
||||
var innerSubscriber = new SimpleInnerSubscriber(this);
|
||||
var destination = this.destination;
|
||||
destination.add(innerSubscriber);
|
||||
this.innerSubscription = innerSubscribe(result, innerSubscriber);
|
||||
if (this.innerSubscription !== innerSubscriber) {
|
||||
destination.add(this.innerSubscription);
|
||||
}
|
||||
};
|
||||
SwitchMapSubscriber.prototype._complete = function () {
|
||||
var innerSubscription = this.innerSubscription;
|
||||
if (!innerSubscription || innerSubscription.closed) {
|
||||
_super.prototype._complete.call(this);
|
||||
}
|
||||
this.unsubscribe();
|
||||
};
|
||||
SwitchMapSubscriber.prototype._unsubscribe = function () {
|
||||
this.innerSubscription = undefined;
|
||||
};
|
||||
SwitchMapSubscriber.prototype.notifyComplete = function () {
|
||||
this.innerSubscription = undefined;
|
||||
if (this.isStopped) {
|
||||
_super.prototype._complete.call(this);
|
||||
}
|
||||
};
|
||||
SwitchMapSubscriber.prototype.notifyNext = function (innerValue) {
|
||||
this.destination.next(innerValue);
|
||||
};
|
||||
return SwitchMapSubscriber;
|
||||
}(SimpleOuterSubscriber));
|
||||
//# sourceMappingURL=switchMap.js.map
|
||||
@@ -0,0 +1,11 @@
|
||||
//By Shi Chuan
|
||||
//Part of Device Access aspect of HTML5, same category as geolocation
|
||||
//W3C Editor's Draft at http://dev.w3.org/geo/api/spec-source-orientation.html
|
||||
//Implementation by iOS Safari at http://goo.gl/fhce3 and http://goo.gl/rLKz8
|
||||
|
||||
|
||||
//test for Device Motion Event support, returns boolean value true/false
|
||||
Modernizr.addTest('devicemotion', ('DeviceMotionEvent' in window) );
|
||||
|
||||
//test for Device Orientation Event support, returns boolean value true/false
|
||||
Modernizr.addTest('deviceorientation', ('DeviceOrientationEvent' in window) );
|
||||
@@ -0,0 +1 @@
|
||||
module.exports={A:{A:{"2":"J E F G A B BC"},B:{"1":"T U V W X Y Z a b c d f g h i j k l m n o p q r s D t","33":"S","164":"P Q R","388":"C K L H M N O"},C:{"1":"Q R wB S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t xB yB","164":"BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB uB ZB vB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P","676":"0 1 2 3 4 5 6 7 8 9 CC tB I u J E F G A B C K L H M N O v w x y z AB DC EC"},D:{"1":"T U V W X Y Z a b c d f g h i j k l m n o p q r s D t xB yB FC","33":"S","164":"0 1 2 3 4 5 6 7 8 9 I u J E F G A B C K L H M N O v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB uB ZB vB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R"},E:{"1":"3B 4B 5B sB 6B 7B 8B NC","164":"I u J E F G A B C K L H GC zB HC IC JC KC 0B qB rB 1B LC MC 2B"},F:{"1":"e lB mB nB oB pB P Q R wB S T U V W X Y Z a b c d","2":"G B C OC PC QC RC qB 9B SC rB","33":"iB jB kB","164":"0 1 2 3 4 5 6 7 8 9 H M N O v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB"},G:{"1":"3B 4B 5B sB 6B 7B 8B","164":"F zB TC AC UC VC WC XC YC ZC aC bC cC dC eC fC gC hC iC jC kC lC mC 2B"},H:{"2":"nC"},I:{"1":"D","164":"tB I oC pC qC rC AC sC tC"},J:{"164":"E A"},K:{"1":"e","2":"A B C qB 9B rB"},L:{"1":"D"},M:{"1":"D"},N:{"2":"A","388":"B"},O:{"164":"uC"},P:{"164":"I vC wC xC yC zC 0B 0C 1C 2C 3C 4C sB 5C 6C 7C"},Q:{"164":"1B"},R:{"1":"8C"},S:{"164":"9C"}},B:5,C:"CSS Appearance"};
|
||||
@@ -0,0 +1 @@
|
||||
module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.0049,"49":0,"50":0,"51":0,"52":0.01471,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0.00981,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.0049,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0,"77":0,"78":0.01961,"79":0,"80":0,"81":0,"82":0,"83":0.0049,"84":0,"85":0,"86":0,"87":0.00981,"88":0,"89":0.00981,"90":0.01471,"91":0.0049,"92":0,"93":0,"94":0.00981,"95":0,"96":0,"97":0,"98":0,"99":0,"100":0.0049,"101":0.0049,"102":0.02452,"103":0.0049,"104":0.0049,"105":0.00981,"106":0.01471,"107":0.02452,"108":0.64229,"109":0.34321,"110":0,"111":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0.0049,"36":0,"37":0,"38":0.0049,"39":0,"40":0.10787,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.01471,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0.00981,"61":0,"62":0,"63":0,"64":0,"65":0.0049,"66":0.04413,"67":0.0049,"68":0.0049,"69":0.0049,"70":0.0049,"71":0.0049,"72":0.0049,"73":0,"74":0.00981,"75":0.0049,"76":0.01471,"77":0.00981,"78":0.0049,"79":0.01961,"80":0.02452,"81":0.01471,"83":0.01961,"84":0.01961,"85":0.01961,"86":0.01961,"87":0.02942,"88":0.00981,"89":0.01471,"90":0.00981,"91":0.01471,"92":0.01471,"93":0.04413,"94":0.00981,"95":0.00981,"96":0.04413,"97":0.01471,"98":0.00981,"99":0.00981,"100":0.01471,"101":0.01961,"102":0.01961,"103":0.18141,"104":0.06864,"105":0.06864,"106":0.08825,"107":0.24515,"108":6.35919,"109":5.15796,"110":0.0049,"111":0,"112":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0.0049,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0.0049,"74":0,"75":0,"76":0,"77":0,"78":0,"79":0,"80":0,"81":0,"82":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0.0049,"90":0,"91":0,"92":0.0049,"93":0.23534,"94":0.25496,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},B:{"12":0,"13":0,"14":0,"15":0.0049,"16":0,"17":0.0049,"18":0.01961,"79":0,"80":0,"81":0,"83":0,"84":0,"85":0.0049,"86":0.0049,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0.0049,"93":0,"94":0,"95":0,"96":0.0049,"97":0,"98":0,"99":0.0049,"100":0,"101":0.0049,"102":0,"103":0.0049,"104":0.0049,"105":0.0049,"106":0.00981,"107":0.13238,"108":2.21125,"109":2.00533},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0.01471,"14":0.07845,"15":0.01961,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0.01961,"10.1":0,"11.1":0.00981,"12.1":0.02452,"13.1":0.10787,"14.1":0.23534,"15.1":0.03432,"15.2-15.3":0.03432,"15.4":0.07355,"15.5":0.1569,"15.6":1.26988,"16.0":0.10296,"16.1":0.35302,"16.2":0.79429,"16.3":0.04903},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0,"5.0-5.1":0,"6.0-6.1":0.00414,"7.0-7.1":0.01655,"8.1-8.4":0.01241,"9.0-9.2":0.00414,"9.3":0.31851,"10.0-10.2":0.00414,"10.3":0.27715,"11.0-11.2":0.02482,"11.3-11.4":0.08273,"12.0-12.1":0.02896,"12.2-12.5":1.27406,"13.0-13.1":0.01655,"13.2":0.00827,"13.3":0.04137,"13.4-13.7":0.15719,"14.0-14.4":0.38056,"14.5-14.8":1.23269,"15.0-15.1":0.2151,"15.2-15.3":0.32679,"15.4":0.38056,"15.5":0.91004,"15.6":5.51403,"16.0":4.54607,"16.1":14.1346,"16.2":8.13246,"16.3":0.52948},P:{"4":0.08469,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0,"8.2":0,"9.2":0,"10.1":0,"11.1-11.2":0.01059,"12.0":0.01059,"13.0":0.04234,"14.0":0.02117,"15.0":0.01059,"16.0":0.03176,"17.0":0.05293,"18.0":0.11645,"19.0":3.47223},I:{"0":0,"3":0,"4":0.24111,"2.1":0,"2.2":0,"2.3":0,"4.1":0.02097,"4.2-4.3":0.11007,"4.4":0,"4.4.3-4.4.4":0.22538},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.00523,"9":0.01046,"10":0,"11":0.06276,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},R:{_:"0"},M:{"0":0.31601},Q:{"13.1":0},O:{"0":0.09175},H:{"0":0.18337},L:{"0":31.31933},S:{"2.5":0}};
|
||||
Reference in New Issue
Block a user