Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade React 16.3.2 to React 16.4.1 #7393

Merged
merged 4 commits into from
Jun 20, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Changed hardcoded references in PHP from React 16.3.2 to React 16.4.1
  • Loading branch information
abotteram committed Jun 20, 2018
commit 9e34eb7fe106c895655f439132972698c015c964
4 changes: 2 additions & 2 deletions lib/client-assets.php
Original file line number Diff line number Diff line change
Expand Up @@ -592,11 +592,11 @@ function gutenberg_register_vendor_scripts() {

gutenberg_register_vendor_script(
'react',
'https://unpkg.com/react@16.3.2/umd/react' . $react_suffix . '.js'
'https://unpkg.com/react@16.4.1/umd/react' . $react_suffix . '.js'
);
gutenberg_register_vendor_script(
'react-dom',
'https://unpkg.com/react-dom@16.3.2/umd/react-dom' . $react_suffix . '.js',
'https://unpkg.com/react-dom@16.4.1/umd/react-dom' . $react_suffix . '.js',
array( 'react' )
);
$moment_script = SCRIPT_DEBUG ? 'moment.js' : 'min/moment.min.js';
Expand Down
8 changes: 4 additions & 4 deletions phpunit/class-vendor-script-filename-test.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ function vendor_script_filename_cases() {
return array(
// Development mode scripts.
array(
'https://unpkg.com/react@16.3.2/umd/react.development.js',
'https://unpkg.com/react@16.4.1/umd/react.development.js',
'react.HASH.js',
),
array(
'https://unpkg.com/react-dom@16.3.2/umd/react-dom.development.js',
'https://unpkg.com/react-dom@16.4.1/umd/react-dom.development.js',
'react-dom.HASH.js',
),
array(
Expand All @@ -27,11 +27,11 @@ function vendor_script_filename_cases() {
),
// Production mode scripts.
array(
'https://unpkg.com/react@16.3.2/umd/react.production.min.js',
'https://unpkg.com/react@16.4.1/umd/react.production.min.js',
'react.min.HASH.js',
),
array(
'https://unpkg.com/react-dom@16.3.2/umd/react-dom.production.min.js',
'https://unpkg.com/react-dom@16.4.1/umd/react-dom.production.min.js',
'react-dom.min.HASH.js',
),
array(
Expand Down