mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-17 16:50:22 +00:00
meta: upgrade all dev dependencies (#3903)
This commit is contained in:
parent
9724392cd4
commit
5044230bf1
45 changed files with 8257 additions and 9941 deletions
|
|
@ -1,79 +0,0 @@
|
|||
diff --git a/cli.js b/cli.js
|
||||
index 43b59bb85665ccff53a62c86162093dd1d64ba6d..40bf4d43317a2ffb1dad0c2f7e1f02f4421469a3 100755
|
||||
--- a/cli.js
|
||||
+++ b/cli.js
|
||||
@@ -1,45 +1,43 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
-const program = require('commander');
|
||||
-const { version } = require('./package.json');
|
||||
-var RegClient = require('npm-registry-client');
|
||||
-const fs = require('fs');
|
||||
+"use strict";
|
||||
+
|
||||
+const program = require("commander");
|
||||
+const { version } = require("./package.json");
|
||||
+var RegClient = require("npm-registry-client");
|
||||
var client = new RegClient();
|
||||
let args = process.argv;
|
||||
|
||||
if (args.length === 3) {
|
||||
- args = [args[0], args[1]].concat(args[2].split(' '));
|
||||
+ args = [args[0], args[1]].concat(args[2].split(" "));
|
||||
}
|
||||
|
||||
program
|
||||
.version(version)
|
||||
- .option('-u, --username <username>', 'username')
|
||||
- .option('-p, --password <password>', 'password')
|
||||
- .option('-e, --email <email>', 'email')
|
||||
- .option('-r, --registry <registry>', 'registry', 'https://registry.npmjs.org/')
|
||||
+ .option("-u, --username <username>", "username")
|
||||
+ .option("-p, --password <password>", "password")
|
||||
+ .option("-e, --email <email>", "email")
|
||||
+ .option(
|
||||
+ "-r, --registry <registry>",
|
||||
+ "registry",
|
||||
+ "https://registry.npmjs.org/"
|
||||
+ )
|
||||
.parse(args);
|
||||
|
||||
-const {
|
||||
- username,
|
||||
- password,
|
||||
- email,
|
||||
- registry
|
||||
-} = program;
|
||||
+const { username, password, email, registry } = program;
|
||||
|
||||
-client.adduser(registry, {
|
||||
- auth: {
|
||||
- username,
|
||||
- password,
|
||||
- email,
|
||||
- alwaysAuth: true
|
||||
- }
|
||||
-}, (err, res) => {
|
||||
- if (err) throw err;
|
||||
- const path = `${process.cwd()}/.npmrc`;
|
||||
- let base = registry.substr(registry.indexOf('/'), registry.length);
|
||||
- if (base.lastIndexOf('/') !== registry.length - 1) {
|
||||
- base += '/';
|
||||
+client.adduser(
|
||||
+ registry,
|
||||
+ {
|
||||
+ auth: {
|
||||
+ username,
|
||||
+ password,
|
||||
+ email,
|
||||
+ alwaysAuth: true,
|
||||
+ },
|
||||
+ },
|
||||
+ (err, res) => {
|
||||
+ if (err) throw err;
|
||||
+ console.log(res.token);
|
||||
}
|
||||
- fs.writeFileSync(path, `registry=${registry}\n${base}:_authToken=${res.token}`);
|
||||
- console.log('Done');
|
||||
-});
|
||||
+);
|
||||
12
.yarn/patches/preact-npm-10.10.0-dd04de05e8.patch
Normal file
12
.yarn/patches/preact-npm-10.10.0-dd04de05e8.patch
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
diff --git a/package.json b/package.json
|
||||
index 60279c24a08b808ffbf7dc64a038272bddb6785d..71cb8aa038daeeb7edf43564ed78a219003a0c99 100644
|
||||
--- a/package.json
|
||||
+++ b/package.json
|
||||
@@ -9,6 +9,7 @@
|
||||
"umd:main": "dist/preact.umd.js",
|
||||
"unpkg": "dist/preact.min.js",
|
||||
"source": "src/index.js",
|
||||
+ "type": "module",
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./src/index.d.ts",
|
||||
|
|
@ -5,6 +5,7 @@ changesetBaseRefs:
|
|||
|
||||
initScope: uppy
|
||||
|
||||
enableGlobalCache: false
|
||||
nodeLinker: node-modules
|
||||
|
||||
plugins:
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ module.exports = (api) => {
|
|||
targets,
|
||||
useBuiltIns: false, // Don't add polyfills automatically.
|
||||
// We can uncomment the following line if we start adding polyfills to the non-legacy dist files.
|
||||
// corejs: { version: '3.15', proposals: true },
|
||||
// corejs: { version: '3.24', proposals: true },
|
||||
modules: false,
|
||||
}],
|
||||
],
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ const methods = [
|
|||
loose: false,
|
||||
targets: { ie:11 },
|
||||
useBuiltIns: 'entry',
|
||||
corejs: { version: '3.15', proposals: true },
|
||||
corejs: { version: '3.24', proposals: true },
|
||||
}]],
|
||||
},
|
||||
})],
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@ const autoprefixer = require('autoprefixer')
|
|||
const postcssLogical = require('postcss-logical')
|
||||
const postcssDirPseudoClass = require('postcss-dir-pseudo-class')
|
||||
const cssnano = require('cssnano')
|
||||
const chalk = require('chalk')
|
||||
const { promisify } = require('node:util')
|
||||
const fs = require('node:fs')
|
||||
const path = require('node:path')
|
||||
|
|
@ -15,12 +14,14 @@ const renderScss = promisify(sass.render)
|
|||
const { mkdir, writeFile } = fs.promises
|
||||
|
||||
const cwd = process.cwd()
|
||||
let chalk
|
||||
|
||||
function handleErr (err) {
|
||||
console.error(chalk.red('✗ Error:'), chalk.red(err.message))
|
||||
}
|
||||
|
||||
async function compileCSS () {
|
||||
({ default:chalk } = await import('chalk'))
|
||||
const files = await glob('packages/{,@uppy/}*/src/style.scss')
|
||||
|
||||
for (const file of files) {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
const chalk = require('chalk')
|
||||
const babel = require('@babel/core')
|
||||
const t = require('@babel/types')
|
||||
const { promisify } = require('node:util')
|
||||
|
|
@ -118,7 +117,8 @@ async function buildLib () {
|
|||
},
|
||||
}] : undefined
|
||||
const { code, map } = await babel.transformFileAsync(file, { sourceMaps: true, plugins })
|
||||
await Promise.all([
|
||||
const [{ default: chalk }] = await Promise.all([
|
||||
import('chalk'),
|
||||
writeFile(libFile, code),
|
||||
writeFile(`${libFile}.map`, JSON.stringify(map)),
|
||||
])
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@
|
|||
"prompts": "^2.4.2",
|
||||
"react": "^18.1.0",
|
||||
"react-dom": "^18.1.0",
|
||||
"typescript": "^4.5.4",
|
||||
"vue": "next"
|
||||
"typescript": "~4.7",
|
||||
"vue": "^3.2.33"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@
|
|||
"@typescript-eslint/parser": "^5.0.0",
|
||||
"eslint": "^8.0.0",
|
||||
"eslint-plugin-import": "^2.22.1",
|
||||
"eslint-plugin-jsdoc": "^38.0.0",
|
||||
"eslint-plugin-jsdoc": "^39.0.0",
|
||||
"eslint-plugin-prefer-arrow": "^1.2.3",
|
||||
"jasmine-core": "~3.6.0",
|
||||
"jasmine-spec-reporter": "~5.0.0",
|
||||
|
|
@ -56,6 +56,6 @@
|
|||
"karma-jasmine-html-reporter": "^1.5.0",
|
||||
"protractor": "~7.0.0",
|
||||
"ts-node": "~8.3.0",
|
||||
"typescript": "~4.4"
|
||||
"typescript": "~4.7"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
"express": "^4.18.1",
|
||||
"express-session": "^1.17.3",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"vite": "^2.7.1"
|
||||
"vite": "^3.0.0"
|
||||
},
|
||||
"private": true,
|
||||
"engines": {
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
"uppy": "workspace:*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"esbuild": "^0.14.1"
|
||||
"esbuild": "^0.15.1"
|
||||
},
|
||||
"private": true,
|
||||
"type": "module",
|
||||
|
|
|
|||
|
|
@ -12,8 +12,7 @@
|
|||
"cookie-parser": "^1.4.6",
|
||||
"cors": "^2.8.4",
|
||||
"formidable": "^1.2.1",
|
||||
"npm-run-all": "^4.1.3",
|
||||
"rimraf": "^2.6.2"
|
||||
"npm-run-all": "^4.1.3"
|
||||
},
|
||||
"private": true,
|
||||
"scripts": {
|
||||
|
|
|
|||
|
|
@ -12,8 +12,7 @@
|
|||
"cookie-parser": "^1.4.6",
|
||||
"cors": "^2.8.4",
|
||||
"formidable": "^1.2.1",
|
||||
"npm-run-all": "^4.1.3",
|
||||
"rimraf": "^2.6.2"
|
||||
"npm-run-all": "^4.1.3"
|
||||
},
|
||||
"private": true,
|
||||
"scripts": {
|
||||
|
|
|
|||
|
|
@ -12,8 +12,7 @@
|
|||
"cookie-parser": "^1.4.6",
|
||||
"cors": "^2.8.4",
|
||||
"formidable": "^1.2.1",
|
||||
"npm-run-all": "^4.1.3",
|
||||
"rimraf": "^2.6.2"
|
||||
"npm-run-all": "^4.1.3"
|
||||
},
|
||||
"private": true,
|
||||
"scripts": {
|
||||
|
|
|
|||
|
|
@ -8,10 +8,10 @@
|
|||
"validate": "svelte-check"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@rollup/plugin-commonjs": "^16.0.0",
|
||||
"@rollup/plugin-commonjs": "^22.0.0",
|
||||
"@rollup/plugin-json": "^4.1.0",
|
||||
"@rollup/plugin-node-resolve": "^10.0.0",
|
||||
"@rollup/plugin-typescript": "^6.0.0",
|
||||
"@rollup/plugin-node-resolve": "^13.0.0",
|
||||
"@rollup/plugin-typescript": "^8.0.0",
|
||||
"@tsconfig/svelte": "^1.0.0",
|
||||
"postcss": "^8.2.1",
|
||||
"postcss-import": "^13.0.0",
|
||||
|
|
@ -25,7 +25,7 @@
|
|||
"svelte-check": "^1.6.0",
|
||||
"svelte-preprocess": "^4.6.1",
|
||||
"tslib": "^2.0.0",
|
||||
"typescript": "~4.4"
|
||||
"typescript": "~4.7"
|
||||
},
|
||||
"dependencies": {
|
||||
"@uppy/core": "workspace:*",
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
"vue": "^3.2.33"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vitejs/plugin-vue": "^2.3.1",
|
||||
"@vitejs/plugin-vue": "^3.0.0",
|
||||
"vite": "^3.0.0"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
65
package.json
65
package.json
|
|
@ -28,7 +28,7 @@
|
|||
"node": "^16.15.0 || >=18.0.0",
|
||||
"yarn": "3.2.1"
|
||||
},
|
||||
"packageManager": "yarn@3.2.1",
|
||||
"packageManager": "yarn@3.2.2+sha224.634d0331703700cabfa9d9389835bd8f7426b0207ed6b74d8d34c81e",
|
||||
"workspaces": [
|
||||
"examples/*",
|
||||
"packages/@uppy/*",
|
||||
|
|
@ -51,10 +51,8 @@
|
|||
"@babel/preset-env": "^7.14.7",
|
||||
"@babel/register": "^7.10.5",
|
||||
"@babel/types": "^7.17.0",
|
||||
"@goto-bus-stop/envify": "^5.0.0",
|
||||
"@parcel/transformer-vue": "^2.2.1",
|
||||
"@size-limit/preset-big-lib": "7.0.5",
|
||||
"@size-limit/webpack-why": "^7.0.5",
|
||||
"@size-limit/preset-big-lib": "^8.0.0",
|
||||
"@size-limit/webpack-why": "^8.0.0",
|
||||
"@types/jasmine": "file:./private/@types/jasmine",
|
||||
"@types/jasminewd2": "file:./private/@types/jasmine",
|
||||
"@typescript-eslint/eslint-plugin": "^5.0.0",
|
||||
|
|
@ -63,14 +61,14 @@
|
|||
"adm-zip": "^0.5.5",
|
||||
"autoprefixer": "^10.2.6",
|
||||
"aws-sdk": "^2.1038.0",
|
||||
"babel-jest": "^27.0.6",
|
||||
"babel-jest": "^28.0.0",
|
||||
"babel-plugin-inline-package-json": "^2.0.0",
|
||||
"chalk": "^4.1.1",
|
||||
"chalk": "^5.0.0",
|
||||
"concat-stream": "^2.0.0",
|
||||
"core-js": "~3.19.3",
|
||||
"core-js": "~3.24.0",
|
||||
"cssnano": "^5.0.6",
|
||||
"dotenv": "^16.0.0",
|
||||
"esbuild": "^0.14.1",
|
||||
"esbuild": "^0.15.1",
|
||||
"esbuild-plugin-babel": "^0.2.3",
|
||||
"eslint": "^8.0.0",
|
||||
"eslint-config-transloadit": "^2.0.0",
|
||||
|
|
@ -78,51 +76,42 @@
|
|||
"eslint-plugin-cypress": "^2.12.1",
|
||||
"eslint-plugin-import": "^2.25.2",
|
||||
"eslint-plugin-jest": "^26.0.0",
|
||||
"eslint-plugin-jsdoc": "^38.0.0",
|
||||
"eslint-plugin-jsdoc": "^39.0.0",
|
||||
"eslint-plugin-jsx-a11y": "^6.4.1",
|
||||
"eslint-plugin-markdown": "^2.2.0",
|
||||
"eslint-plugin-markdown": "^3.0.0",
|
||||
"eslint-plugin-node": "^11.1.0",
|
||||
"eslint-plugin-prefer-import": "^0.0.1",
|
||||
"eslint-plugin-promise": "^6.0.0",
|
||||
"eslint-plugin-react": "^7.22.0",
|
||||
"eslint-plugin-react-hooks": "^4.2.0",
|
||||
"eslint-plugin-unicorn": "^43.0.0",
|
||||
"events.once": "^2.0.2",
|
||||
"exorcist": "^2.0.0",
|
||||
"fakefile": "^1.0.0",
|
||||
"github-contributors-list": "^1.2.4",
|
||||
"glob": "^7.2.0",
|
||||
"isomorphic-fetch": "^3.0.0",
|
||||
"jest": "^27.0.6",
|
||||
"lint-staged": "^12.1.2",
|
||||
"glob": "^8.0.0",
|
||||
"jest": "^28.0.0",
|
||||
"jest-environment-jsdom": "^28.1.3",
|
||||
"lint-staged": "^13.0.0",
|
||||
"mime-types": "^2.1.26",
|
||||
"minify-stream": "^2.0.1",
|
||||
"multi-glob": "^1.0.2",
|
||||
"nodemon": "^2.0.8",
|
||||
"npm-auth-to-token": "1.0.0",
|
||||
"npm-packlist": "^2.2.2",
|
||||
"npm-packlist": "^5.0.0",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"onchange": "^7.1.0",
|
||||
"pacote": "^11.3.4",
|
||||
"pacote": "^13.0.0",
|
||||
"postcss": "^8.2.10",
|
||||
"postcss-dir-pseudo-class": "^5.0.0",
|
||||
"postcss-logical": "^4.0.2",
|
||||
"postcss-dir-pseudo-class": "^6.0.0",
|
||||
"postcss-logical": "^5.0.0",
|
||||
"pre-commit": "^1.2.2",
|
||||
"remark-cli": "^10.0.0",
|
||||
"replacestream": "^4.0.3",
|
||||
"remark-cli": "^11.0.0",
|
||||
"resolve": "^1.17.0",
|
||||
"sass": "^1.29.0",
|
||||
"size-limit": "7.0.5",
|
||||
"size-limit": "^8.0.0",
|
||||
"start-server-and-test": "^1.14.0",
|
||||
"stylelint": "^13.13.1",
|
||||
"stylelint": "^14.0.0",
|
||||
"stylelint-config-rational-order": "^0.1.2",
|
||||
"stylelint-config-standard": "^22.0.0",
|
||||
"stylelint-scss": "^3.20.1",
|
||||
"stylelint-config-standard": "^27.0.0",
|
||||
"stylelint-scss": "^4.0.0",
|
||||
"tar": "^6.1.0",
|
||||
"temp-write": "^5.0.0",
|
||||
"tsd": "^0.17.0",
|
||||
"typescript": "~4.4",
|
||||
"verdaccio": "^5.1.1",
|
||||
"tsd": "^0.22.0",
|
||||
"typescript": "~4.7",
|
||||
"vue-template-compiler": "workspace:*"
|
||||
},
|
||||
"scripts": {
|
||||
|
|
@ -165,7 +154,7 @@
|
|||
"test:unit": "yarn run build:lib && NODE_OPTIONS=--experimental-vm-modules jest --env jsdom",
|
||||
"test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --env jsdom --watch --no-coverage",
|
||||
"test:size": "yarn build:lib && size-limit --why",
|
||||
"test": "npm-run-all lint test:locale-packs:unused test:locale-packs:warnings test:unit test:type test:companion",
|
||||
"test": "npm-run-all lint test:locale-packs:unused test:unit test:type test:companion",
|
||||
"uploadcdn": "yarn node ./bin/upload-to-cdn.js",
|
||||
"version": "yarn node ./bin/after-version-bump.js",
|
||||
"watch:css": "onchange 'packages/{@uppy/,}*/src/*.scss' --initial --verbose -- yarn run build:css",
|
||||
|
|
@ -204,7 +193,7 @@
|
|||
"@types/eslint@^7.2.13": "^8.2.0",
|
||||
"@types/react": "^17",
|
||||
"@types/webpack-dev-server": "^4",
|
||||
"npm-auth-to-token@1.0.0": "patch:npm-auth-to-token@npm:1.0.0#.yarn/patches/npm-auth-to-token-npm-1.0.0-c288ce201f",
|
||||
"exifr": "patch:exifr@npm:7.1.3#.yarn/patches/exifr-npm-7.1.3-e3f1c7a57d"
|
||||
"exifr": "patch:exifr@npm:7.1.3#.yarn/patches/exifr-npm-7.1.3-e3f1c7a57d",
|
||||
"preact": "patch:preact@npm:10.10.0#.yarn/patches/preact-npm-10.10.0-dd04de05e8.patch"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -35,5 +35,8 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"defaultProject": "@uppy/angular"
|
||||
"defaultProject": "@uppy/angular",
|
||||
"cli": {
|
||||
"analytics": false
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,14 +14,14 @@
|
|||
},
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@angular/animations": ">= 11",
|
||||
"@angular/common": ">= 11",
|
||||
"@angular/compiler": ">= 11",
|
||||
"@angular/core": ">= 11",
|
||||
"@angular/forms": ">= 11",
|
||||
"@angular/platform-browser": ">= 11",
|
||||
"@angular/platform-browser-dynamic": ">= 11",
|
||||
"@angular/router": ">= 11",
|
||||
"@angular/animations": ">= 11 < 14",
|
||||
"@angular/common": ">= 11 < 14",
|
||||
"@angular/compiler": ">= 11 < 14",
|
||||
"@angular/core": ">= 11 < 14",
|
||||
"@angular/forms": ">= 11 < 14",
|
||||
"@angular/platform-browser": ">= 11 < 14",
|
||||
"@angular/platform-browser-dynamic": ">= 11 < 14",
|
||||
"@angular/router": ">= 11 < 14",
|
||||
"@uppy/dashboard": "workspace:^",
|
||||
"@uppy/drag-drop": "workspace:^",
|
||||
"@uppy/progress-bar": "workspace:^",
|
||||
|
|
@ -35,9 +35,9 @@
|
|||
"@uppy/core": ">=1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@angular-devkit/build-angular": ">= 11",
|
||||
"@angular/cli": ">= 11",
|
||||
"@angular/compiler-cli": ">= 11",
|
||||
"@angular-devkit/build-angular": ">= 11 < 14",
|
||||
"@angular/cli": ">= 11 < 14",
|
||||
"@angular/compiler-cli": ">= 11 < 14",
|
||||
"@babel/core": "^7.17.5",
|
||||
"@compodoc/compodoc": "^1.1.19",
|
||||
"@storybook/addon-actions": "^6.5.0-alpha.42",
|
||||
|
|
@ -59,6 +59,6 @@
|
|||
"karma-jasmine": "~4.0.0",
|
||||
"karma-jasmine-html-reporter": "~1.7.0",
|
||||
"ng-packagr": "^13.0.0",
|
||||
"typescript": "~4.4.3"
|
||||
"typescript": "~4.7"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,8 +22,8 @@
|
|||
"prepublishOnly": "rm -fr * && cp -r ../../dist/angular .."
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@angular/common": ">= 11",
|
||||
"@angular/core": ">= 11",
|
||||
"@angular/common": ">= 11 < 14",
|
||||
"@angular/core": ">= 11 < 14",
|
||||
"@uppy/core": ">=1",
|
||||
"@uppy/dashboard": "workspace:^",
|
||||
"@uppy/drag-drop": "workspace:^",
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
"preact": "^10.5.13"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@jest/globals": "^27.4.2"
|
||||
"@jest/globals": "^28.1.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@uppy/core": "workspace:^"
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
"@uppy/utils": "workspace:^"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@jest/globals": "^27.4.2",
|
||||
"@jest/globals": "^28.0.0",
|
||||
"nock": "^13.1.0",
|
||||
"whatwg-fetch": "3.6.2"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
"nanoid": "^4.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@jest/globals": "^27.4.2",
|
||||
"@jest/globals": "^28.0.0",
|
||||
"whatwg-fetch": "3.6.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
|
|
|||
|
|
@ -30,19 +30,19 @@
|
|||
"dependencies": {
|
||||
"atob": "2.1.2",
|
||||
"aws-sdk": "^2.1038.0",
|
||||
"body-parser": "1.19.0",
|
||||
"chalk": "2.4.2",
|
||||
"common-tags": "1.8.0",
|
||||
"body-parser": "1.20.0",
|
||||
"chalk": "4.1.2",
|
||||
"common-tags": "1.8.2",
|
||||
"connect-redis": "6.1.3",
|
||||
"cookie-parser": "1.4.6",
|
||||
"cors": "^2.8.5",
|
||||
"escape-goat": "3.0.0",
|
||||
"escape-string-regexp": "2.0.0",
|
||||
"express": "4.17.1",
|
||||
"escape-string-regexp": "4.0.0",
|
||||
"express": "4.18.1",
|
||||
"express-interceptor": "1.2.0",
|
||||
"express-prom-bundle": "6.3.0",
|
||||
"express-prom-bundle": "6.5.0",
|
||||
"express-request-id": "1.4.1",
|
||||
"express-session": "1.17.1",
|
||||
"express-session": "1.17.3",
|
||||
"form-data": "^3.0.0",
|
||||
"got": "11",
|
||||
"grant": "4.7.0",
|
||||
|
|
@ -50,19 +50,19 @@
|
|||
"ipaddr.js": "^2.0.1",
|
||||
"jsonwebtoken": "8.5.1",
|
||||
"lodash.merge": "^4.6.2",
|
||||
"mime-types": "2.1.25",
|
||||
"mime-types": "2.1.35",
|
||||
"moment": "^2.29.2",
|
||||
"moment-timezone": "^0.5.31",
|
||||
"morgan": "1.10.0",
|
||||
"ms": "2.1.2",
|
||||
"node-schedule": "1.3.2",
|
||||
"prom-client": "12.0.0",
|
||||
"ms": "2.1.3",
|
||||
"node-schedule": "2.1.0",
|
||||
"prom-client": "14.0.1",
|
||||
"redis": "4.2.0",
|
||||
"semver": "6.3.0",
|
||||
"semver": "7.3.7",
|
||||
"serialize-error": "^2.1.0",
|
||||
"serialize-javascript": "^6.0.0",
|
||||
"tus-js-client": "^3.0.0",
|
||||
"validator": "^12.1.0",
|
||||
"validator": "^13.0.0",
|
||||
"ws": "8.8.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
@ -77,15 +77,15 @@
|
|||
"@types/morgan": "1.7.37",
|
||||
"@types/ms": "0.7.31",
|
||||
"@types/node": "^18.0.3",
|
||||
"@types/react": "^17.0.13",
|
||||
"@types/request": "2.48.4",
|
||||
"@types/react": "^18.0.0",
|
||||
"@types/request": "2.48.8",
|
||||
"@types/webpack": "^5.28.0",
|
||||
"@types/ws": "6.0.4",
|
||||
"@types/ws": "8.5.3",
|
||||
"into-stream": "^6.0.0",
|
||||
"jest": "^27.0.6",
|
||||
"jest": "^28.0.0",
|
||||
"nock": "^13.1.3",
|
||||
"supertest": "3.4.2",
|
||||
"typescript": "~4.4"
|
||||
"supertest": "6.2.4",
|
||||
"typescript": "~4.7"
|
||||
},
|
||||
"files": [
|
||||
"bin/",
|
||||
|
|
|
|||
|
|
@ -236,7 +236,7 @@ it('respects allowLocalUrls, localhost', async () => {
|
|||
res = await runUrlGetTest('http://localhost/')
|
||||
expect(res.statusCode).toBe(400)
|
||||
expect(res.body).toEqual({ error: 'Invalid request body' })
|
||||
}, 1000)
|
||||
})
|
||||
|
||||
it('respects allowLocalUrls, valid hostname that resolves to localhost', async () => {
|
||||
let res = await runUrlMetaTest(`http://${fakeLocalhost}/`)
|
||||
|
|
@ -246,4 +246,4 @@ it('respects allowLocalUrls, valid hostname that resolves to localhost', async (
|
|||
res = await runUrlGetTest(`http://${fakeLocalhost}/`)
|
||||
expect(res.statusCode).toBe(500)
|
||||
expect(res.body).toEqual({ message: 'failed to fetch URL metadata' })
|
||||
}, 1000)
|
||||
})
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
"url": "git+https://github.com/transloadit/uppy.git"
|
||||
},
|
||||
"dependencies": {
|
||||
"@transloadit/prettier-bytes": "0.0.7",
|
||||
"@transloadit/prettier-bytes": "0.0.9",
|
||||
"@uppy/store-default": "workspace:^",
|
||||
"@uppy/utils": "workspace:^",
|
||||
"lodash.throttle": "^4.1.1",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
/* eslint-disable @typescript-eslint/no-unused-vars */
|
||||
import { expectError, expectType } from 'tsd'
|
||||
import DefaultStore from '@uppy/store-default'
|
||||
// eslint-disable-next-line import/no-named-as-default
|
||||
import Uppy, { UIPlugin } from '..'
|
||||
import type { UploadedUppyFile, FailedUppyFile, PluginOptions, UppyFile, SuccessResponse } from '..'
|
||||
|
||||
|
|
|
|||
|
|
@ -32,12 +32,12 @@
|
|||
"classnames": "^2.2.6",
|
||||
"is-shallow-equal": "^1.0.1",
|
||||
"lodash.debounce": "^4.0.8",
|
||||
"memoize-one": "^5.0.4",
|
||||
"memoize-one": "^6.0.0",
|
||||
"nanoid": "^4.0.0",
|
||||
"preact": "^10.5.13"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@jest/globals": "^27.4.2",
|
||||
"@jest/globals": "^28.0.0",
|
||||
"@uppy/google-drive": "workspace:^",
|
||||
"@uppy/status-bar": "workspace:^",
|
||||
"resize-observer-polyfill": "^1.5.0"
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@uppy/utils": "workspace:^",
|
||||
"get-form-data": "^2.0.0"
|
||||
"get-form-data": "^3.0.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@uppy/core": "workspace:^"
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
"url": "git+https://github.com/transloadit/uppy.git"
|
||||
},
|
||||
"dependencies": {
|
||||
"@transloadit/prettier-bytes": "0.0.7",
|
||||
"@transloadit/prettier-bytes": "0.0.9",
|
||||
"@uppy/utils": "workspace:^",
|
||||
"lodash.throttle": "^4.1.1"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"abortcontroller-polyfill": "^1.7.3",
|
||||
"core-js": "~3.19.3",
|
||||
"core-js": "~3.24.0",
|
||||
"md-gum-polyfill": "^1.0.0",
|
||||
"resize-observer-polyfill": "^1.5.1",
|
||||
"whatwg-fetch": "^3.6.2"
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
"url": "git+https://github.com/transloadit/uppy.git"
|
||||
},
|
||||
"dependencies": {
|
||||
"@transloadit/prettier-bytes": "0.0.7",
|
||||
"@transloadit/prettier-bytes": "0.0.9",
|
||||
"@uppy/utils": "workspace:^",
|
||||
"classnames": "^2.2.6",
|
||||
"lodash.throttle": "^4.1.1",
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
"nanoid": "^4.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@jest/globals": "^27.4.2",
|
||||
"redux": "4.0.5"
|
||||
"@jest/globals": "^28.0.0",
|
||||
"redux": "^4.0.0"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
// eslint-disable-next-line import/no-extraneous-dependencies
|
||||
import { createStore, combineReducers } from 'redux'
|
||||
// eslint-disable-next-line import/no-named-as-default
|
||||
import ReduxStore, { reducer as uppy } from '..'
|
||||
|
||||
const reducer = combineReducers({ uppy })
|
||||
|
|
|
|||
|
|
@ -16,12 +16,12 @@
|
|||
"@uppy/status-bar": "workspace:^"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@rollup/plugin-node-resolve": "^11.0.1",
|
||||
"@tsconfig/svelte": "^1.0.10",
|
||||
"@rollup/plugin-node-resolve": "^13.0.0",
|
||||
"@tsconfig/svelte": "^3.0.0",
|
||||
"rollup": "^2.60.2",
|
||||
"rollup-plugin-svelte": "^7.0.0",
|
||||
"svelte": "^3.31.0",
|
||||
"svelte-check": "^1.6.0",
|
||||
"svelte-check": "^2.0.0",
|
||||
"svelte-preprocess": "^4.6.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
"exifr": "^7.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@jest/globals": "^27.4.2",
|
||||
"@jest/globals": "^28.0.0",
|
||||
"namespace-emitter": "2.0.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@
|
|||
"@uppy/core": "workspace:^"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@jest/globals": "^27.4.2",
|
||||
"@jest/globals": "^28.0.0",
|
||||
"whatwg-fetch": "^3.6.2"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
"tus-js-client": "^3.0.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@jest/globals": "^27.4.2",
|
||||
"@jest/globals": "^28.0.0",
|
||||
"@uppy/core": "workspace:^"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
"nanoid": "^4.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@jest/globals": "^27.4.2",
|
||||
"@jest/globals": "^28.0.0",
|
||||
"nock": "^13.1.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"abortcontroller-polyfill": "^1.7.3",
|
||||
"core-js": "~3.19.3",
|
||||
"core-js": "~3.24.0",
|
||||
"md-gum-polyfill": "^1.0.0",
|
||||
"regenerator-runtime": "0.13.9",
|
||||
"resize-observer-polyfill": "^1.5.1",
|
||||
|
|
|
|||
|
|
@ -11,8 +11,8 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"autoprefixer": "^10.2.6",
|
||||
"postcss-dir-pseudo-class": "^5.0.0",
|
||||
"postcss-logical": "^4.0.2",
|
||||
"postcss-dir-pseudo-class": "^6.0.0",
|
||||
"postcss-logical": "^5.0.0",
|
||||
"vite": "^3.0.0"
|
||||
},
|
||||
"private": true,
|
||||
|
|
|
|||
|
|
@ -9,9 +9,9 @@
|
|||
"test": "yarn node test.mjs"
|
||||
},
|
||||
"dependencies": {
|
||||
"chalk": "^4.1.2",
|
||||
"chalk": "^5.0.0",
|
||||
"dedent": "^0.7.0",
|
||||
"glob": "^7.2.0",
|
||||
"glob": "^8.0.0",
|
||||
"mdast-util-heading-range": "^3.1.0",
|
||||
"remark": "^14.0.1",
|
||||
"remark-frontmatter": "^4.0.1"
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
"private": true,
|
||||
"type": "module",
|
||||
"devDependencies": {
|
||||
"globby": "^12.0.2",
|
||||
"globby": "^13.0.0",
|
||||
"node-fetch": "^3.1.0",
|
||||
"prompts": "^2.4.2"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
"chalk": "2.4.2",
|
||||
"cssnano": "^5.0.6",
|
||||
"drag-drop": "^4.2.0",
|
||||
"esbuild": "^0.14.3",
|
||||
"esbuild": "^0.15.3",
|
||||
"esbuild-plugin-alias": "^0.2.1",
|
||||
"esbuild-plugin-babel": "^0.2.3",
|
||||
"glob": "^7.2.0",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue