Skip to content

Commit 94d8e97

Browse files
committed
Merge branch 'release-2.19.7' into release
2 parents 5962bd1 + 0c646ba commit 94d8e97

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

common/p5Versions.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ export const currentP5Version = '1.11.11'; // Don't update to 2.x until 2026
55
// JSON.stringify([...document.querySelectorAll('._132722c7')].map(n => n.innerText), null, 2)
66
// TODO: use their API for this to grab these at build time?
77
export const p5Versions = [
8-
{ version: '2.1.2', label: '(Beta)' },
8+
{ version: '2.2.0', label: '(Beta)' },
9+
'2.1.2',
910
'2.1.1',
1011
'2.0.5',
1112
'2.0.4',

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "p5.js-web-editor",
3-
"version": "2.19.6",
3+
"version": "2.19.7",
44
"description": "The web editor for p5.js.",
55
"scripts": {
66
"clean": "rimraf dist",

server/routes/project.routes.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,11 @@ router.get('/:username/projects', ProjectController.getProjectsForUser);
2626

2727
router.get('/projects/:project_id/zip', ProjectController.downloadProjectAsZip);
2828

29-
router.patch('/project/visibility', ProjectController.changeProjectVisibility);
29+
router.patch(
30+
'/project/visibility',
31+
isAuthenticated,
32+
ProjectController.changeProjectVisibility
33+
);
3034

3135
// eslint-disable-next-line import/no-default-export
3236
export default router;

0 commit comments

Comments
 (0)