Update wordpress monorepo
This commit is contained in:
parent
d2476d650c
commit
7521b3770d
|
@ -5,7 +5,7 @@
|
|||
import classnames from 'classnames';
|
||||
import { cloneElement, Component } from '@wordpress/element';
|
||||
import Gridicon from 'gridicons';
|
||||
import { moment } from '@wordpress/date';
|
||||
import moment from 'moment';
|
||||
import PropTypes from 'prop-types';
|
||||
|
||||
/**
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
import { Button } from '@wordpress/components';
|
||||
import Gridicon from 'gridicons';
|
||||
import { shallow } from 'enzyme';
|
||||
import moment from 'moment';
|
||||
|
||||
/**
|
||||
* Internal dependencies
|
||||
|
@ -54,8 +55,7 @@ describe( 'ActivityCard', () => {
|
|||
|
||||
test( 'should render a timestamp on a card', () => {
|
||||
// We're generating this via moment to ensure it's always "3 days ago".
|
||||
const threeDaysAgo = wp.date
|
||||
.moment()
|
||||
const threeDaysAgo = moment()
|
||||
.subtract( 3, 'days' )
|
||||
.format();
|
||||
const card = shallow(
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -106,16 +106,16 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@fresh-data/framework": "^0.5.1",
|
||||
"@wordpress/api-fetch": "2.2.2",
|
||||
"@wordpress/api-fetch": "2.2.6",
|
||||
"@wordpress/components": "3.0.0",
|
||||
"@wordpress/data": "3.1.0",
|
||||
"@wordpress/date": "2.1.0",
|
||||
"@wordpress/element": "2.1.5",
|
||||
"@wordpress/data": "3.1.2",
|
||||
"@wordpress/date": "2.2.1",
|
||||
"@wordpress/element": "2.1.8",
|
||||
"@wordpress/hooks": "2.0.3",
|
||||
"@wordpress/html-entities": "2.0.2",
|
||||
"@wordpress/html-entities": "2.0.4",
|
||||
"@wordpress/i18n": "2.0.0",
|
||||
"@wordpress/keycodes": "2.0.3",
|
||||
"@wordpress/scripts": "2.4.1",
|
||||
"@wordpress/keycodes": "2.0.5",
|
||||
"@wordpress/scripts": "2.4.4",
|
||||
"@wordpress/viewport": "^2.0.7",
|
||||
"browser-filesaver": "^1.1.1",
|
||||
"classnames": "^2.2.5",
|
||||
|
|
|
@ -28,11 +28,11 @@
|
|||
"@woocommerce/navigation": "^1.1.0",
|
||||
"@wordpress/components": "3.0.0",
|
||||
"@wordpress/compose": "3.0.0",
|
||||
"@wordpress/date": "2.1.0",
|
||||
"@wordpress/element": "2.1.5",
|
||||
"@wordpress/html-entities": "2.0.2",
|
||||
"@wordpress/date": "2.2.1",
|
||||
"@wordpress/element": "2.1.8",
|
||||
"@wordpress/html-entities": "2.0.4",
|
||||
"@wordpress/i18n": "2.0.0",
|
||||
"@wordpress/keycodes": "2.0.2",
|
||||
"@wordpress/keycodes": "2.0.5",
|
||||
"@wordpress/viewport": "^2.0.7",
|
||||
"classnames": "^2.2.5",
|
||||
"core-js": "2.6.1",
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
"react-native": "src/index",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.0.0",
|
||||
"@wordpress/date": "2.1.0",
|
||||
"@wordpress/date": "2.2.1",
|
||||
"@wordpress/i18n": "2.0.0",
|
||||
"lodash": "^4.17.11",
|
||||
"moment": "^2.22.2"
|
||||
|
|
Loading…
Reference in New Issue