Skip to content

Commit

Permalink
Framework: Update package dependencies after deprecation removals
Browse files Browse the repository at this point in the history
  • Loading branch information
aduth authored and gziolo committed Aug 8, 2018
1 parent 63dbe9a commit f396173
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
4 changes: 2 additions & 2 deletions lib/client-assets.php
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ function gutenberg_register_scripts_and_styles() {
wp_register_script(
'wp-utils',
gutenberg_url( 'build/utils/index.js' ),
array( 'lodash', 'wp-api-fetch', 'wp-deprecated', 'wp-html-entities', 'wp-i18n', 'wp-editor' ),
array( 'lodash', 'wp-api-fetch', 'wp-data', 'wp-deprecated', 'wp-i18n', 'wp-editor' ),
filemtime( gutenberg_dir_path() . 'build/utils/index.js' ),
true
);
Expand Down Expand Up @@ -322,7 +322,7 @@ function gutenberg_register_scripts_and_styles() {
wp_register_script(
'wp-element',
gutenberg_url( 'build/element/index.js' ),
array( 'react', 'react-dom', 'wp-is-shallow-equal', 'lodash', 'wp-deprecated' ),
array( 'react', 'react-dom', 'lodash' ),
filemtime( gutenberg_dir_path() . 'build/element/index.js' ),
true
);
Expand Down
2 changes: 0 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions packages/element/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@
"react-native": "src/index",
"dependencies": {
"@babel/runtime-corejs2": "7.0.0-beta.56",
"@wordpress/deprecated": "file:../deprecated",
"@wordpress/is-shallow-equal": "file:../is-shallow-equal",
"lodash": "^4.17.10",
"react": "^16.4.1",
"react-dom": "^16.4.1"
Expand Down

0 comments on commit f396173

Please sign in to comment.