mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 19:20:55 +00:00
update urllib to ^2.3.0 and python to v9
This commit is contained in:
parent
6707a79eb4
commit
35bfcccd23
@ -76,22 +76,11 @@ const makeConfig = ({
|
|||||||
input,
|
input,
|
||||||
plugins: [
|
plugins: [
|
||||||
externals(),
|
externals(),
|
||||||
modify(
|
modify({
|
||||||
{
|
|
||||||
// prettier-ignore
|
// prettier-ignore
|
||||||
find: /'__CITATIONS__'/g,
|
find: /'__CITATIONS__'/g,
|
||||||
replace: JSON.stringify(citationData, null, 2),
|
replace: JSON.stringify(citationData, null, 2),
|
||||||
},
|
}),
|
||||||
{
|
|
||||||
// Patch to mitigate DOM Clobbering vulnerability
|
|
||||||
find: /document\.currentScript/g,
|
|
||||||
replace: `(typeof document !== 'undefined' &&
|
|
||||||
document.currentScript &&
|
|
||||||
document.currentScript.tagName &&
|
|
||||||
document.currentScript.tagName.toUpperCase() === 'SCRIPT' &&
|
|
||||||
document.currentScript)`,
|
|
||||||
}
|
|
||||||
),
|
|
||||||
esbuild({ ...esBuildPluginOptions, target: "node18" }),
|
esbuild({ ...esBuildPluginOptions, target: "node18" }),
|
||||||
commonjs(commonjsPluginOptions),
|
commonjs(commonjsPluginOptions),
|
||||||
],
|
],
|
||||||
@ -117,22 +106,11 @@ const makeConfig = ({
|
|||||||
input,
|
input,
|
||||||
plugins: [
|
plugins: [
|
||||||
externals({ deps: false }),
|
externals({ deps: false }),
|
||||||
modify(
|
modify({
|
||||||
{
|
|
||||||
// prettier-ignore
|
// prettier-ignore
|
||||||
find: /'__CITATIONS__'/g,
|
find: /'__CITATIONS__'/g,
|
||||||
replace: JSON.stringify(citationData, null, 2),
|
replace: JSON.stringify(citationData, null, 2),
|
||||||
},
|
}),
|
||||||
{
|
|
||||||
// Patch to mitigate DOM Clobbering vulnerability
|
|
||||||
find: /document\.currentScript/g,
|
|
||||||
replace: `(typeof document !== 'undefined' &&
|
|
||||||
document.currentScript &&
|
|
||||||
document.currentScript.tagName &&
|
|
||||||
document.currentScript.tagName.toUpperCase() === 'SCRIPT' &&
|
|
||||||
document.currentScript)`,
|
|
||||||
}
|
|
||||||
),
|
|
||||||
resolve({ preferBuiltins: false }),
|
resolve({ preferBuiltins: false }),
|
||||||
esbuild({ ...esBuildPluginOptions, target: "esnext" }),
|
esbuild({ ...esBuildPluginOptions, target: "esnext" }),
|
||||||
commonjs(commonjsPluginOptions),
|
commonjs(commonjsPluginOptions),
|
||||||
@ -152,22 +130,11 @@ const makeConfig = ({
|
|||||||
input,
|
input,
|
||||||
plugins: [
|
plugins: [
|
||||||
externals({ deps: false }),
|
externals({ deps: false }),
|
||||||
modify(
|
modify({
|
||||||
{
|
|
||||||
// prettier-ignore
|
// prettier-ignore
|
||||||
find: /'__CITATIONS__'/g,
|
find: /'__CITATIONS__'/g,
|
||||||
replace: JSON.stringify(citationData, null, 2),
|
replace: JSON.stringify(citationData, null, 2),
|
||||||
},
|
}),
|
||||||
{
|
|
||||||
// Patch to mitigate DOM Clobbering vulnerability
|
|
||||||
find: /document\.currentScript/g,
|
|
||||||
replace: `(typeof document !== 'undefined' &&
|
|
||||||
document.currentScript &&
|
|
||||||
document.currentScript.tagName &&
|
|
||||||
document.currentScript.tagName.toUpperCase() === 'SCRIPT' &&
|
|
||||||
document.currentScript)`,
|
|
||||||
}
|
|
||||||
),
|
|
||||||
resolve({ preferBuiltins: false }),
|
resolve({ preferBuiltins: false }),
|
||||||
esbuild({ ...esBuildPluginOptions, target: "es2015", minify: true }),
|
esbuild({ ...esBuildPluginOptions, target: "es2015", minify: true }),
|
||||||
commonjs(commonjsPluginOptions),
|
commonjs(commonjsPluginOptions),
|
||||||
|
30
poetry.lock
generated
30
poetry.lock
generated
@ -12,9 +12,6 @@ files = [
|
|||||||
{file = "babel-2.15.0.tar.gz", hash = "sha256:8daf0e265d05768bc6c7a314cf1321e9a123afc328cc635c18622a2f30a04413"},
|
{file = "babel-2.15.0.tar.gz", hash = "sha256:8daf0e265d05768bc6c7a314cf1321e9a123afc328cc635c18622a2f30a04413"},
|
||||||
]
|
]
|
||||||
|
|
||||||
[package.dependencies]
|
|
||||||
pytz = {version = ">=2015.7", markers = "python_version < \"3.9\""}
|
|
||||||
|
|
||||||
[package.extras]
|
[package.extras]
|
||||||
dev = ["freezegun (>=1.0,<2.0)", "pytest (>=6.0)", "pytest-cov"]
|
dev = ["freezegun (>=1.0,<2.0)", "pytest (>=6.0)", "pytest-cov"]
|
||||||
|
|
||||||
@ -579,19 +576,6 @@ files = [
|
|||||||
[package.dependencies]
|
[package.dependencies]
|
||||||
six = ">=1.5"
|
six = ">=1.5"
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "pytz"
|
|
||||||
version = "2024.1"
|
|
||||||
description = "World timezone definitions, modern and historical"
|
|
||||||
optional = false
|
|
||||||
python-versions = "*"
|
|
||||||
groups = ["dev"]
|
|
||||||
markers = "python_version < \"3.9\""
|
|
||||||
files = [
|
|
||||||
{file = "pytz-2024.1-py2.py3-none-any.whl", hash = "sha256:328171f4e3623139da4983451950b28e95ac706e13f3f2630a879749e7a8b319"},
|
|
||||||
{file = "pytz-2024.1.tar.gz", hash = "sha256:2a29735ea9c18baf14b448846bde5a48030ed267578472d8955cd0e7443a9812"},
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "pyyaml"
|
name = "pyyaml"
|
||||||
version = "6.0.1"
|
version = "6.0.1"
|
||||||
@ -793,14 +777,14 @@ files = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "urllib3"
|
name = "urllib3"
|
||||||
version = "2.2.1"
|
version = "2.3.0"
|
||||||
description = "HTTP library with thread-safe connection pooling, file post, and more."
|
description = "HTTP library with thread-safe connection pooling, file post, and more."
|
||||||
optional = false
|
optional = false
|
||||||
python-versions = ">=3.8"
|
python-versions = ">=3.9"
|
||||||
groups = ["dev"]
|
groups = ["main", "dev"]
|
||||||
files = [
|
files = [
|
||||||
{file = "urllib3-2.2.1-py3-none-any.whl", hash = "sha256:450b20ec296a467077128bff42b73080516e71b56ff59a60a02bef2232c4fa9d"},
|
{file = "urllib3-2.3.0-py3-none-any.whl", hash = "sha256:1cee9ad369867bfdbbb48b7dd50374c0967a0bb7710050facf0dd6911440e3df"},
|
||||||
{file = "urllib3-2.2.1.tar.gz", hash = "sha256:d0570876c61ab9e520d776c38acbbb5b05a776d3f9ff98a5c8fd5162a444cf19"},
|
{file = "urllib3-2.3.0.tar.gz", hash = "sha256:f8c5449b3cf0861679ce7e0503c7b44b5ec981bec0d1d3795a07f1ba96f0204d"},
|
||||||
]
|
]
|
||||||
|
|
||||||
[package.extras]
|
[package.extras]
|
||||||
@ -887,5 +871,5 @@ test = ["big-O", "importlib-resources", "jaraco.functools", "jaraco.itertools",
|
|||||||
|
|
||||||
[metadata]
|
[metadata]
|
||||||
lock-version = "2.1"
|
lock-version = "2.1"
|
||||||
python-versions = "^3.8"
|
python-versions = "^3.9"
|
||||||
content-hash = "3e471d0087cf195180a8fd6f9932f44a6d8eec65d77bf2a86f14a883282c2a60"
|
content-hash = "84cf171967feb44b236ef0b65c6a0a70a9cf885b7e033b9ab7492d0911b8a933"
|
||||||
|
@ -2,8 +2,9 @@
|
|||||||
package-mode = false
|
package-mode = false
|
||||||
|
|
||||||
[tool.poetry.dependencies]
|
[tool.poetry.dependencies]
|
||||||
python = "^3.8"
|
python = "^3.9"
|
||||||
certifi = "^2024.07.04"
|
certifi = "^2024.07.04"
|
||||||
|
urllib3 = "^2.3.0"
|
||||||
|
|
||||||
[tool.poetry.dev-dependencies]
|
[tool.poetry.dev-dependencies]
|
||||||
mkdocs = "^1.6.0"
|
mkdocs = "^1.6.0"
|
||||||
|
Loading…
Reference in New Issue
Block a user