Skip to content

Commit bed219b

Browse files
committed
Update to node 14.17.3, update all dependencies to latest minor version
1 parent e197984 commit bed219b

File tree

15 files changed

+10207
-8720
lines changed

15 files changed

+10207
-8720
lines changed

.babelrc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@
4040
],
4141
"@babel/plugin-proposal-nullish-coalescing-operator",
4242
"@babel/plugin-proposal-do-expressions",
43-
"@babel/plugin-proposal-function-bind"
43+
"@babel/plugin-proposal-function-bind",
44+
["@babel/plugin-proposal-private-methods", { "loose": true }]
4445
],
4546
"presets": [
4647
"@babel/preset-env",
@@ -85,6 +86,7 @@
8586
],
8687
"@babel/plugin-proposal-nullish-coalescing-operator",
8788
"@babel/plugin-proposal-do-expressions",
88-
"@babel/plugin-proposal-function-bind"
89+
"@babel/plugin-proposal-function-bind",
90+
["@babel/plugin-proposal-private-methods", { "loose": true }]
8991
]
9092
}

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
12.16.1
1+
14.17.3

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
sudo: required
22
language: node_js
33
node_js:
4-
- "12.16.1"
4+
- "14.17.3"
55

66
cache:
77
directories:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:12.16.1 as base
1+
FROM node:14.17.3 as base
22
ENV APP_HOME=/usr/src/app \
33
TERM=xterm
44
RUN mkdir -p $APP_HOME

client/index.integration.test.jsx

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,7 @@ import { rest } from 'msw';
33
import React from 'react';
44
import { Router, browserHistory } from 'react-router';
55

6-
import {
7-
reduxRender,
8-
act,
9-
waitFor,
10-
fireEvent,
11-
screen,
12-
within
13-
} from './test-utils';
6+
import { reduxRender, act, waitFor, screen, within } from './test-utils';
147
import configureStore from './store';
158
import routes from './routes';
169
import * as Actions from './modules/User/actions';

client/modules/IDE/components/Editor.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import PropTypes from 'prop-types';
22
import React from 'react';
33
import CodeMirror from 'codemirror';
44
import emmet from '@emmetio/codemirror-plugin';
5-
import prettier from 'prettier';
5+
import prettier from 'prettier/standalone';
66
import babelParser from 'prettier/parser-babel';
77
import htmlParser from 'prettier/parser-html';
88
import cssParser from 'prettier/parser-postcss';

client/utils/reduxFormUtils.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@ export const domOnlyProps = ({
1616
...domProps }) => domProps;
1717
/* eslint-enable */
1818

19-
// eslint-disable-next-line max-len
20-
const EMAIL_REGEX = /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/i;
19+
/* eslint-disable */
20+
const EMAIL_REGEX =
21+
/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/i;
22+
/* eslint-enable */
2123

2224
function validateNameEmail(formProps, errors) {
2325
if (!formProps.username) {

developer_docs/installation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ Follow these instructions to set up your development environment, which you need
66

77
_Note_: The installation steps assume you are using a Unix-like shell. If you are using Windows, you will need to use `copy` instead of `cp`.
88

9-
1. Install Node.js. The recommended way is to Node through [nvm](https://github.com/nvm-sh/nvm). You can also install [node.js](https://nodejs.org/download/release/v12.16.1/) version 12.16.1 directly from the Node.js website.
9+
1. Install Node.js. The recommended way is to Node through [nvm](https://github.com/nvm-sh/nvm). You can also install [node.js](https://nodejs.org/download/release/v14.17.3/) version 14.17.3 directly from the Node.js website.
1010
2. [Fork](https://help.github.com/articles/fork-a-repo) the [p5.js Web Editor repository](https://github.com/processing/p5.js-web-editor) into your own GitHub account.
1111
3. [Clone](https://help.github.com/articles/cloning-a-repository/) your new fork of the repository from GitHub onto your local computer.
1212

1313
```
1414
$ git clone https://github.com/YOUR_USERNAME/p5.js-web-editor.git
1515
```
1616

17-
4. If you are using nvm, run `$ nvm use` to set your Node version to 12.16.1
17+
4. If you are using nvm, run `$ nvm use` to set your Node version to 14.17.3
1818
5. Navigate into the project folder and install all its necessary dependencies with npm.
1919

2020
```

0 commit comments

Comments
 (0)