Upagrade react helmet

Signed-off-by: soupette <cyril.lpz@gmail.com>
This commit is contained in:
soupette 2020-04-22 10:04:11 +02:00
parent ec5f4e2e96
commit 71eec181fe
7 changed files with 458 additions and 270 deletions

View File

@ -2,7 +2,7 @@
"private": true,
"dependencies": {},
"devDependencies": {
"@babel/plugin-transform-modules-commonjs": "^7.8.3",
"@babel/plugin-transform-modules-commonjs": "^7.9.0",
"@testing-library/jest-dom": "^4.0.0",
"@testing-library/react": "^9.1.0",
"@testing-library/react-hooks": "^2.0.0",

View File

@ -1,14 +1,11 @@
import React, { memo } from 'react';
import Helmet from 'react-helmet';
import { Helmet } from 'react-helmet';
import PropTypes from 'prop-types';
import favicon from '../../favicon.ico';
const PageTitle = ({ title }) => (
<Helmet
title={title}
link={[{ rel: 'icon', type: 'image/png', href: favicon }]}
/>
<Helmet title={title} link={[{ rel: 'icon', type: 'image/png', href: favicon }]} />
);
PageTitle.propTypes = {

View File

@ -12,16 +12,16 @@
},
"main": "index.js",
"dependencies": {
"@babel/core": "^7.4.3",
"@babel/core": "^7.9.0",
"@babel/plugin-proposal-async-generator-functions": "^7.2.0",
"@babel/plugin-proposal-class-properties": "^7.4.0",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-transform-modules-commonjs": "^7.6.0",
"@babel/plugin-transform-runtime": "^7.4.3",
"@babel/polyfill": "^7.4.3",
"@babel/preset-env": "^7.4.3",
"@babel/preset-react": "^7.0.0",
"@babel/runtime": "^7.4.3",
"@babel/plugin-transform-modules-commonjs": "^7.9.0",
"@babel/plugin-transform-runtime": "^7.9.0",
"@babel/polyfill": "^7.8.7",
"@babel/preset-env": "^7.9.5",
"@babel/preset-react": "^7.9.4",
"@babel/runtime": "^7.9.2",
"@buffetjs/core": "3.0.5",
"@buffetjs/custom": "3.0.5",
"@buffetjs/hooks": "3.0.5",
@ -35,7 +35,7 @@
"@fortawesome/react-fontawesome": "^0.1.7",
"autoprefixer": "^9.5.1",
"axios": "^0.19.2",
"babel-loader": "^8.0.5",
"babel-loader": "^8.1.0",
"bcryptjs": "^2.4.3",
"bootstrap": "^4.3.1",
"chalk": "^2.4.2",
@ -67,7 +67,7 @@
"react-dnd": "^9.0.1",
"react-dnd-html5-backend": "^9.0.0",
"react-dom": "^16.9.0",
"react-helmet": "^5.2.0",
"react-helmet": "^6.0.0",
"react-intl": "^4.5.0",
"react-is": "^16.12.0",
"react-loadable": "^5.5.0",
@ -75,7 +75,7 @@
"react-router": "^5.0.0",
"react-router-dom": "^5.0.0",
"react-select": "^3.0.8",
"react-transition-group": "^2.9.0",
"react-transition-group": "^4.3.0",
"react-virtualized": "^9.21.2",
"reactstrap": "8.4.1",
"redux": "^4.0.1",

View File

@ -2,6 +2,7 @@ const alias = [
'object-assign',
'whatwg-fetch',
'@babel/polyfill',
'@buffetjs/core',
'@buffetjs/custom',
'@buffetjs/icons',

View File

@ -32,10 +32,10 @@
"test": "echo \"no tests yet\""
},
"devDependencies": {
"@babel/core": "^7.4.3",
"@babel/core": "^7.9.0",
"@babel/plugin-proposal-class-properties": "^7.4.0",
"@babel/preset-env": "^7.4.3",
"@babel/preset-react": "^7.0.0",
"@babel/preset-env": "^7.9.5",
"@babel/preset-react": "^7.9.4",
"enzyme": "^3.8.0",
"enzyme-adapter-react-16": "^1.8.0",
"rimraf": "3.0.0",

View File

@ -17,7 +17,6 @@
"strapi-utils": "3.0.0-beta.20"
},
"devDependencies": {
"react-copy-to-clipboard": "5.0.1",
"rimraf": "3.0.0",
"strapi-helper-plugin": "3.0.0-beta.20"
},

691
yarn.lock

File diff suppressed because it is too large Load Diff