@uploadcare/upload-client 4.2.0 → 4.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/dist/index.browser.js +1 -1
- package/dist/index.node.js +1 -1
- package/dist/index.react-native.js +1 -1
- package/package.json +15 -8
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2019 Uploadcare Inc.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/dist/index.browser.js
CHANGED
|
@@ -248,7 +248,7 @@ const defaultSettings = {
|
|
|
248
248
|
const defaultContentType = 'application/octet-stream';
|
|
249
249
|
const defaultFilename = 'original';
|
|
250
250
|
|
|
251
|
-
var version = '4.2.
|
|
251
|
+
var version = '4.2.1';
|
|
252
252
|
|
|
253
253
|
function isObject(o) {
|
|
254
254
|
return Object.prototype.toString.call(o) === '[object Object]';
|
package/dist/index.node.js
CHANGED
|
@@ -282,7 +282,7 @@ const defaultSettings = {
|
|
|
282
282
|
const defaultContentType = 'application/octet-stream';
|
|
283
283
|
const defaultFilename = 'original';
|
|
284
284
|
|
|
285
|
-
var version = '4.2.
|
|
285
|
+
var version = '4.2.1';
|
|
286
286
|
|
|
287
287
|
function isObject(o) {
|
|
288
288
|
return Object.prototype.toString.call(o) === '[object Object]';
|
|
@@ -251,7 +251,7 @@ const defaultSettings = {
|
|
|
251
251
|
const defaultContentType = 'application/octet-stream';
|
|
252
252
|
const defaultFilename = 'original';
|
|
253
253
|
|
|
254
|
-
var version = '4.2.
|
|
254
|
+
var version = '4.2.1';
|
|
255
255
|
|
|
256
256
|
function isObject(o) {
|
|
257
257
|
return Object.prototype.toString.call(o) === '[object Object]';
|
package/package.json
CHANGED
|
@@ -1,19 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uploadcare/upload-client",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.1",
|
|
4
4
|
"description": "Library for work with Uploadcare Upload API",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"main": "dist/index.node.js",
|
|
7
|
-
"module": "dist/index.node.js",
|
|
8
|
-
"browser": "dist/index.browser.js",
|
|
9
|
-
"react-native": "dist/index.react-native.js",
|
|
10
|
-
"types": "dist/types.d.ts",
|
|
6
|
+
"main": "./dist/index.node.js",
|
|
7
|
+
"module": "./dist/index.node.js",
|
|
8
|
+
"browser": "./dist/index.browser.js",
|
|
9
|
+
"react-native": "./dist/index.react-native.js",
|
|
10
|
+
"types": "./dist/types.d.ts",
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"node": "./dist/index.node.js",
|
|
14
|
+
"browser": "./dist/index.browser.js"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
11
17
|
"sideEffects": false,
|
|
12
|
-
"files": ["dist/*"],
|
|
18
|
+
"files": ["dist/*", "README.md", "LICENSE"],
|
|
13
19
|
"engines": {
|
|
14
20
|
"node": ">=16"
|
|
15
21
|
},
|
|
16
22
|
"scripts": {
|
|
23
|
+
"prepack": "cp ../../LICENSE ./LICENSE",
|
|
17
24
|
"mock:start": "ts-node-esm --experimentalSpecifierResolution node ./mock-server/server.ts --silent",
|
|
18
25
|
"clean": "rimraf dist",
|
|
19
26
|
"test": "start-server-and-test mock:start :3000 test:jest",
|
|
@@ -58,7 +65,7 @@
|
|
|
58
65
|
"koa-body": "5.0.0",
|
|
59
66
|
"mock-socket": "9.0.3",
|
|
60
67
|
"start-server-and-test": "1.14.0",
|
|
61
|
-
"@uploadcare/api-client-utils": "^4.2.
|
|
68
|
+
"@uploadcare/api-client-utils": "^4.2.1",
|
|
62
69
|
"chalk": "^4.1.2"
|
|
63
70
|
},
|
|
64
71
|
"dependencies": {
|