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

@devexpress/dx-react-core

Package Overview
Dependencies
Maintainers
1
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@devexpress/dx-react-core - npm Package Compare versions

Comparing version 1.0.0-alpha.1 to 1.0.0-alpha.2

16

dist/dx-react-core.es.js
/**
* Bundle of @devexpress/dx-react-core
* Generated: 2017-05-15
* Generated: 2017-05-26
* Version: 1.0.0-alpha.1

@@ -174,3 +174,3 @@ * License: https://js.devexpress.com/Licensing

function getterMemoize(func, onChange) {
function getterMemoize(func) {
var lastArg = null;

@@ -185,3 +185,2 @@ var lastResult = null;

lastResult = func.apply(undefined, args);
onChange(lastResult);
}

@@ -195,4 +194,2 @@ lastArg = args;

var noop = function noop() {};
var Getter = function (_React$PureComponent) {

@@ -214,8 +211,5 @@ inherits(Getter, _React$PureComponent);

name = _props.name,
pureComputed = _props.pureComputed,
onChange = _props.onChange;
pureComputed = _props.pureComputed;
var pureComputedMemoized = getterMemoize(pureComputed, function (result) {
return onChange(result);
});
var pureComputedMemoized = getterMemoize(pureComputed);

@@ -274,3 +268,2 @@ this.plugin = defineProperty({

Getter.defaultProps = {
onChange: noop,
value: null,

@@ -286,3 +279,2 @@ pureComputed: null,

name: PropTypes.string.isRequired,
onChange: PropTypes.func,
value: PropTypes.any, // eslint-disable-line react/forbid-prop-types

@@ -289,0 +281,0 @@ pureComputed: PropTypes.func,

/**
* Bundle of @devexpress/dx-react-core
* Generated: 2017-05-15
* Generated: 2017-05-26
* Version: 1.0.0-alpha.1

@@ -179,3 +179,3 @@ * License: https://js.devexpress.com/Licensing

function getterMemoize(func, onChange) {
function getterMemoize(func) {
var lastArg = null;

@@ -190,3 +190,2 @@ var lastResult = null;

lastResult = func.apply(undefined, args);
onChange(lastResult);
}

@@ -200,4 +199,2 @@ lastArg = args;

var noop = function noop() {};
var Getter = function (_React$PureComponent) {

@@ -219,8 +216,5 @@ inherits(Getter, _React$PureComponent);

name = _props.name,
pureComputed = _props.pureComputed,
onChange = _props.onChange;
pureComputed = _props.pureComputed;
var pureComputedMemoized = getterMemoize(pureComputed, function (result) {
return onChange(result);
});
var pureComputedMemoized = getterMemoize(pureComputed);

@@ -279,3 +273,2 @@ this.plugin = defineProperty({

Getter.defaultProps = {
onChange: noop,
value: null,

@@ -291,3 +284,2 @@ pureComputed: null,

name: PropTypes.string.isRequired,
onChange: PropTypes.func,
value: PropTypes.any, // eslint-disable-line react/forbid-prop-types

@@ -294,0 +286,0 @@ pureComputed: PropTypes.func,

{
"name": "@devexpress/dx-react-core",
"version": "1.0.0-alpha.1",
"version": "1.0.0-alpha.2",
"description": "Core library for DevExtreme React Components",

@@ -5,0 +5,0 @@ "author": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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