Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

alaska-field-datetime

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alaska-field-datetime - npm Package Compare versions

Comparing version 0.11.9 to 0.11.10

4

package.json
{
"name": "alaska-field-datetime",
"version": "0.11.9",
"version": "0.11.10",
"description": "Alaska datetime field",

@@ -15,4 +15,4 @@ "keywords": [

"moment": "^2.18.1",
"react-datetime": "^2.8.8"
"react-datetime": "^2.8.9"
}
}
// @flow
import React from 'react';
import PropTypes from 'prop-types';
import DateTime from 'react-datetime';
import moment from 'moment';
const { func } = React.PropTypes;
export default class DatetimeFieldFilter extends React.Component {
static contextTypes = {
t: func,
t: PropTypes.func,
};

@@ -14,0 +13,0 @@

// @flow
import React from 'react';
import PropTypes from 'prop-types';
import shallowEqualWithout from 'shallow-equal-without';

@@ -10,8 +11,6 @@ import DateTime from 'react-datetime';

const { object } = React.PropTypes;
export default class DatetimeFieldView extends React.Component {
static contextTypes = {
settings: object
settings: PropTypes.object
};

@@ -25,3 +24,3 @@

disabled: boolean,
value: any,
value: string,
onChange: Function,

@@ -31,3 +30,3 @@ };

state: {
value:moment;
value: Object;
};

@@ -78,3 +77,3 @@

timeFormat={field.timeFormat}
onChange={props.onChange}
onChange={(value)=>{props.onChange(value.format())}}
/>;

@@ -81,0 +80,0 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc