1
0
mirror of https://github.com/psychopy/psychojs.git synced 2025-05-10 18:50:54 +00:00

Merge branch '2022.2.0' of https://github.com/lightest/psychojs into 22ybvdr_textbox_parity

This commit is contained in:
lgtst 2022-04-12 14:31:59 +03:00
commit fb89db2b6c
3 changed files with 40 additions and 8 deletions

42
package-lock.json generated
View File

@ -1,14 +1,16 @@
{ {
"name": "psychojs", "name": "psychojs",
"version": "2021.2.x", "version": "2022.1.1",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "psychojs", "name": "psychojs",
"version": "2021.2.x", "version": "2022.1.1",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@pixi/filter-adjustment": "^4.1.3",
"esbuild-plugin-glsl": "^1.0.5",
"howler": "^2.2.1", "howler": "^2.2.1",
"log4javascript": "github:Ritzlgrmft/log4javascript", "log4javascript": "github:Ritzlgrmft/log4javascript",
"pako": "^1.0.10", "pako": "^1.0.10",
@ -337,6 +339,15 @@
"@pixi/utils": "6.0.4" "@pixi/utils": "6.0.4"
} }
}, },
"node_modules/@pixi/filter-adjustment": {
"version": "4.1.3",
"resolved": "https://registry.npmjs.org/@pixi/filter-adjustment/-/filter-adjustment-4.1.3.tgz",
"integrity": "sha512-W+NhPiZRYKoRToa5+tkU95eOw8gnS5dfIp3ZP+pLv2mdER9RI+4xHxp1uLHMqUYZViTaMdZIIoVOuCgHFPYCbQ==",
"peerDependencies": {
"@pixi/constants": "^6.0.0",
"@pixi/core": "^6.0.0"
}
},
"node_modules/@pixi/filter-alpha": { "node_modules/@pixi/filter-alpha": {
"version": "6.0.4", "version": "6.0.4",
"resolved": "https://registry.npmjs.org/@pixi/filter-alpha/-/filter-alpha-6.0.4.tgz", "resolved": "https://registry.npmjs.org/@pixi/filter-alpha/-/filter-alpha-6.0.4.tgz",
@ -957,12 +968,22 @@
"version": "0.12.5", "version": "0.12.5",
"resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.12.5.tgz", "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.12.5.tgz",
"integrity": "sha512-vcuP53pA5XiwUU4FnlXM+2PnVjTfHGthM7uP1gtp+9yfheGvFFbq/KyuESThmtoHPUrfZH5JpxGVJIFDVD1Egw==", "integrity": "sha512-vcuP53pA5XiwUU4FnlXM+2PnVjTfHGthM7uP1gtp+9yfheGvFFbq/KyuESThmtoHPUrfZH5JpxGVJIFDVD1Egw==",
"dev": true,
"hasInstallScript": true, "hasInstallScript": true,
"bin": { "bin": {
"esbuild": "bin/esbuild" "esbuild": "bin/esbuild"
} }
}, },
"node_modules/esbuild-plugin-glsl": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/esbuild-plugin-glsl/-/esbuild-plugin-glsl-1.1.0.tgz",
"integrity": "sha512-OBzCa/nRy/Vbm62DBzBnV25p1BfTpvFf2SP2Vv9Ls38sdEEuHzhYT5xTOh3Ghu+77VI4iZsOam19cmjwq5RcJQ==",
"engines": {
"node": ">= 0.10.18"
},
"peerDependencies": {
"esbuild": "0.x.x"
}
},
"node_modules/escape-string-regexp": { "node_modules/escape-string-regexp": {
"version": "1.0.5", "version": "1.0.5",
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
@ -2690,6 +2711,12 @@
"@pixi/utils": "6.0.4" "@pixi/utils": "6.0.4"
} }
}, },
"@pixi/filter-adjustment": {
"version": "4.1.3",
"resolved": "https://registry.npmjs.org/@pixi/filter-adjustment/-/filter-adjustment-4.1.3.tgz",
"integrity": "sha512-W+NhPiZRYKoRToa5+tkU95eOw8gnS5dfIp3ZP+pLv2mdER9RI+4xHxp1uLHMqUYZViTaMdZIIoVOuCgHFPYCbQ==",
"requires": {}
},
"@pixi/filter-alpha": { "@pixi/filter-alpha": {
"version": "6.0.4", "version": "6.0.4",
"resolved": "https://registry.npmjs.org/@pixi/filter-alpha/-/filter-alpha-6.0.4.tgz", "resolved": "https://registry.npmjs.org/@pixi/filter-alpha/-/filter-alpha-6.0.4.tgz",
@ -3230,8 +3257,13 @@
"esbuild": { "esbuild": {
"version": "0.12.5", "version": "0.12.5",
"resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.12.5.tgz", "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.12.5.tgz",
"integrity": "sha512-vcuP53pA5XiwUU4FnlXM+2PnVjTfHGthM7uP1gtp+9yfheGvFFbq/KyuESThmtoHPUrfZH5JpxGVJIFDVD1Egw==", "integrity": "sha512-vcuP53pA5XiwUU4FnlXM+2PnVjTfHGthM7uP1gtp+9yfheGvFFbq/KyuESThmtoHPUrfZH5JpxGVJIFDVD1Egw=="
"dev": true },
"esbuild-plugin-glsl": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/esbuild-plugin-glsl/-/esbuild-plugin-glsl-1.1.0.tgz",
"integrity": "sha512-OBzCa/nRy/Vbm62DBzBnV25p1BfTpvFf2SP2Vv9Ls38sdEEuHzhYT5xTOh3Ghu+77VI4iZsOam19cmjwq5RcJQ==",
"requires": {}
}, },
"escape-string-regexp": { "escape-string-regexp": {
"version": "1.0.5", "version": "1.0.5",

View File

@ -176,7 +176,7 @@ export class PsychoJS
} }
this.logger.info("[PsychoJS] Initialised."); this.logger.info("[PsychoJS] Initialised.");
this.logger.info("[PsychoJS] @version 2022.1.1"); this.logger.info("[PsychoJS] @version 2022.1.2");
// hide the initialisation message: // hide the initialisation message:
jQuery("#root").addClass("is-ready"); jQuery("#root").addClass("is-ready");

View File

@ -338,14 +338,14 @@ export class ExperimentHandler extends PsychObject
else if (this._psychoJS.config.experiment.saveFormat === ExperimentHandler.SaveFormat.DATABASE) else if (this._psychoJS.config.experiment.saveFormat === ExperimentHandler.SaveFormat.DATABASE)
{ {
const gitlabConfig = this._psychoJS.config.gitlab; const gitlabConfig = this._psychoJS.config.gitlab;
const projectId = (typeof gitlabConfig !== "undefined" && typeof gitlabConfig.projectId !== "undefined") ? gitlabConfig.projectId : undefined; const __projectId = (typeof gitlabConfig !== "undefined" && typeof gitlabConfig.projectId !== "undefined") ? gitlabConfig.projectId : undefined;
let documents = []; let documents = [];
for (let r = 0; r < data.length; r++) for (let r = 0; r < data.length; r++)
{ {
let doc = { let doc = {
projectId, __projectId,
__experimentName: this._experimentName, __experimentName: this._experimentName,
__participant: this._participant, __participant: this._participant,
__session: this._session, __session: this._session,