mirror of
https://github.com/apache/superset.git
synced 2026-07-18 12:45:44 +00:00
Compare commits
3 Commits
dependabot
...
fix/export
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7a52c89a7f | ||
|
|
e495fd80f6 | ||
|
|
c77c709b79 |
8
superset-frontend/package-lock.json
generated
8
superset-frontend/package-lock.json
generated
@@ -227,7 +227,7 @@
|
||||
"copy-webpack-plugin": "^14.0.0",
|
||||
"cross-env": "^10.1.0",
|
||||
"css-loader": "^7.1.4",
|
||||
"eslint": "^10.6.0",
|
||||
"eslint": "^10.7.0",
|
||||
"eslint-config-prettier": "^10.1.8",
|
||||
"eslint-import-resolver-alias": "^1.1.2",
|
||||
"eslint-import-resolver-typescript": "^4.4.5",
|
||||
@@ -19418,9 +19418,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/eslint": {
|
||||
"version": "10.6.0",
|
||||
"resolved": "https://registry.npmjs.org/eslint/-/eslint-10.6.0.tgz",
|
||||
"integrity": "sha512-6lVbcqSodALYo+4ELD0heG6lFiFxnLMuLkiMi2qV8LMp54N8tE8FT1GMH+ev4Ti00nFjNze2+Su6DsV5OQW3Dg==",
|
||||
"version": "10.7.0",
|
||||
"resolved": "https://registry.npmjs.org/eslint/-/eslint-10.7.0.tgz",
|
||||
"integrity": "sha512-GVTD7s1vdIl6UYvAfriOPeY1Df8LIZjfofLvHwde+erDHGGuHyuM6xoxRxmHiebhYuD2p1vN4wWh0XzPARSGDQ==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"workspaces": [
|
||||
|
||||
@@ -312,7 +312,7 @@
|
||||
"copy-webpack-plugin": "^14.0.0",
|
||||
"cross-env": "^10.1.0",
|
||||
"css-loader": "^7.1.4",
|
||||
"eslint": "^10.6.0",
|
||||
"eslint": "^10.7.0",
|
||||
"eslint-config-prettier": "^10.1.8",
|
||||
"eslint-import-resolver-alias": "^1.1.2",
|
||||
"eslint-import-resolver-typescript": "^4.4.5",
|
||||
|
||||
@@ -1084,6 +1084,7 @@ class ChartRestApi(SoftDeleteApiMixin, BaseSupersetModelRestApi):
|
||||
mimetype="application/zip",
|
||||
as_attachment=True,
|
||||
download_name=filename,
|
||||
max_age=0,
|
||||
)
|
||||
if token := sanitize_cookie_token(request.args.get("token")):
|
||||
response.set_cookie(token, "done", max_age=600)
|
||||
|
||||
@@ -1478,6 +1478,7 @@ class DashboardRestApi(
|
||||
mimetype="application/zip",
|
||||
as_attachment=True,
|
||||
download_name=filename,
|
||||
max_age=0,
|
||||
)
|
||||
if token := sanitize_cookie_token(request.args.get("token")):
|
||||
response.set_cookie(token, "done", max_age=600)
|
||||
|
||||
@@ -747,6 +747,7 @@ class DatasetRestApi(SoftDeleteApiMixin, BaseSupersetModelRestApi):
|
||||
mimetype="application/zip",
|
||||
as_attachment=True,
|
||||
download_name=filename,
|
||||
max_age=0,
|
||||
)
|
||||
if token := sanitize_cookie_token(request.args.get("token")):
|
||||
response.set_cookie(token, "done", max_age=600)
|
||||
|
||||
@@ -89,6 +89,7 @@ class ImportExportRestApi(BaseSupersetApi):
|
||||
mimetype="application/zip",
|
||||
as_attachment=True,
|
||||
download_name=filename,
|
||||
max_age=0,
|
||||
)
|
||||
return response
|
||||
|
||||
|
||||
@@ -312,6 +312,7 @@ class SavedQueryRestApi(BaseSupersetModelRestApi):
|
||||
mimetype="application/zip",
|
||||
as_attachment=True,
|
||||
download_name=filename,
|
||||
max_age=0,
|
||||
)
|
||||
if token := sanitize_cookie_token(request.args.get("token")):
|
||||
response.set_cookie(token, "done", max_age=600)
|
||||
|
||||
@@ -489,6 +489,7 @@ class ThemeRestApi(BaseSupersetModelRestApi):
|
||||
mimetype="application/zip",
|
||||
as_attachment=True,
|
||||
download_name=filename,
|
||||
max_age=0,
|
||||
)
|
||||
if token := sanitize_cookie_token(request.args.get("token")):
|
||||
response.set_cookie(token, "done", max_age=600)
|
||||
|
||||
Reference in New Issue
Block a user