formdata-node
Advanced tools
Comparing version 0.3.3 to 0.3.4
@@ -56,4 +56,3 @@ "use strict"; | ||
* Bult over Readable stream and async generators. | ||
* Can be useful for universavl (isomorphic) applications | ||
* or in Node.js HTTP client that sending a data in multipart/form-data format. | ||
* Can be used to communicate between servers with multipart/form-data format. | ||
* | ||
@@ -212,3 +211,3 @@ * @api public | ||
// The regular values shouldn't have "filename" property | ||
filename = void 0; | ||
filename = undefined; | ||
} | ||
@@ -433,3 +432,3 @@ | ||
if (!field) { | ||
return void 0; | ||
return undefined; | ||
} | ||
@@ -436,0 +435,0 @@ |
@@ -105,3 +105,3 @@ "use strict"; | ||
return { | ||
value: void 0, | ||
value: undefined, | ||
done: true | ||
@@ -108,0 +108,0 @@ }; |
{ | ||
"name": "formdata-node", | ||
"version": "0.3.3", | ||
"description": "FormData implementation for Node.js. Built over Readable stream and async generators.", | ||
"version": "0.3.4", | ||
"description": "FormData implementation for Node.js. Built over Readable stream and async generators. Can be used to communicate between servers with multipart/form-data format.", | ||
"repository": "octet-stream/form-data", | ||
"keywords": [ | ||
"form-data", | ||
"node", | ||
"async-iterator", | ||
"stream" | ||
], | ||
"author": "Nick K. <nick.kruchinin@gmail.com>", | ||
@@ -14,2 +20,3 @@ "license": "MIT", | ||
"lint": "node_modules/.bin/eslint src", | ||
"staged": "node_modules/.bin/lint-staged", | ||
"make": "node_modules/.bin/babel src -d .", | ||
@@ -25,3 +32,3 @@ "watch": "node_modules/.bin/babel src -w -d .", | ||
"ci": "yarn make:ci && node_modules/.bin/nyc yarn test && node_modules/.bin/nyc report --reporter=lcov yarn test && node_modules/.bin/codecov && yarn cleanup && yarn make", | ||
"precommit": "yarn lint", | ||
"precommit": "yarn staged", | ||
"prepush": "yarn report" | ||
@@ -36,16 +43,17 @@ }, | ||
"devDependencies": { | ||
"@babel/cli": "^7.0.0-beta.37", | ||
"@babel/core": "^7.0.0-beta.37", | ||
"@babel/plugin-proposal-async-generator-functions": "^7.0.0-beta.37", | ||
"@babel/plugin-proposal-class-properties": "^7.0.0-beta.37", | ||
"@babel/plugin-proposal-decorators": "^7.0.0-beta.37", | ||
"@babel/plugin-transform-async-to-generator": "^7.0.0-beta.37", | ||
"@babel/plugin-transform-modules-commonjs": "^7.0.0-beta.37", | ||
"@babel/plugin-transform-runtime": "^7.0.0-beta.37", | ||
"@babel/cli": "7.0.0-beta.40", | ||
"@babel/core": "7.0.0-beta.40", | ||
"@babel/plugin-proposal-async-generator-functions": "7.0.0-beta.40", | ||
"@babel/plugin-proposal-class-properties": "7.0.0-beta.40", | ||
"@babel/plugin-proposal-decorators": "7.0.0-beta.40", | ||
"@babel/plugin-transform-async-to-generator": "7.0.0-beta.40", | ||
"@babel/plugin-transform-modules-commonjs": "7.0.0-beta.40", | ||
"@babel/plugin-transform-runtime": "7.0.0-beta.40", | ||
"@octetstream/eslint-config": "2.1.0", | ||
"ava": "0.24.0", | ||
"ava": "0.25.0", | ||
"codecov": "3.0.0", | ||
"eslint": "4.15.0", | ||
"eslint-plugin-ava": "4.4.0", | ||
"eslint": "4.18.1", | ||
"eslint-plugin-ava": "4.5.1", | ||
"husky": "0.14.3", | ||
"lint-staged": "^7.0.0", | ||
"lodash.isplainobject": "4.0.6", | ||
@@ -56,3 +64,3 @@ "nyc": "11.4.1", | ||
"rimraf": "2.6.2", | ||
"sinon": "4.1.5", | ||
"sinon": "4.4.1", | ||
"supertest": "3.0.0", | ||
@@ -62,7 +70,7 @@ "then-busboy": "2.1.4" | ||
"dependencies": { | ||
"@babel/runtime": "7.0.0-beta.40", | ||
"@octetstream/invariant": "1.1.0", | ||
"@babel/runtime": "^7.0.0-beta.37", | ||
"mime-types": "2.1.17", | ||
"nanoid": "1.0.1" | ||
"mime-types": "2.1.18", | ||
"nanoid": "1.0.2" | ||
} | ||
} |
# FormData | ||
FormData implementation for Node.js. Built over Readable stream and async generators. | ||
Can be used to communicate between servers with multipart/form-data format. | ||
@@ -125,6 +126,8 @@ [![dependencies Status](https://david-dm.org/octet-stream/form-data/status.svg)](https://david-dm.org/octet-stream/form-data) | ||
## Related packages | ||
## Related links | ||
- [then-busboy](https://github.com/octet-stream/then-busboy) – Promise-based wrapper around Busboy. | ||
Process multipart/form-data content and returns it as a single object. | ||
Will be helpful to handle your data on the server-side applications. | ||
- [then-busboy](https://github.com/octet-stream/then-busboy) is a promise-based wrapper around Busboy. | ||
Process multipart/form-data content and returns it as a single object. | ||
Will be helpful to handle your data on the server-side applications. | ||
- [@octetstream/object-to-form-data](https://github.com/octet-stream/object-to-form-data) converts JavaScript object to FormData. | ||
- [FormData](https://developer.mozilla.org/en-US/docs/Web/API/FormData) interface documentation on MDN |
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
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
29769
15
133
23
618
+ Added@babel/runtime@7.0.0-beta.40(transitive)
+ Addedcore-js@2.6.12(transitive)
+ Addedmime-db@1.33.0(transitive)
+ Addedmime-types@2.1.18(transitive)
+ Addednanoid@1.0.2(transitive)
+ Addedregenerator-runtime@0.11.1(transitive)
- Removed@babel/runtime@7.25.6(transitive)
- Removedmime-db@1.30.0(transitive)
- Removedmime-types@2.1.17(transitive)
- Removednanoid@1.0.1(transitive)
- Removedregenerator-runtime@0.14.1(transitive)
Updated@babel/runtime@7.0.0-beta.40
Updatedmime-types@2.1.18
Updatednanoid@1.0.2