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

paraviewweb

Package Overview
Dependencies
Maintainers
2
Versions
346
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

paraviewweb - npm Package Compare versions

Comparing version 3.2.16 to 3.2.17

2

package.json
{
"name": "paraviewweb",
"version": "3.2.16",
"version": "3.2.17",
"description": "Web framework for building interactive visualization relying on VTK or ParaView to produce visualization data",

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

@@ -1,3 +0,1 @@

import { setImmediate } from 'paraviewweb/src/Common/Core';
// ----------------------------------------------------------------------------

@@ -116,3 +114,3 @@ // capitalize provided string

if (asynchrounous) {
setImmediate(processCallbacks);
setTimeout(processCallbacks, 0);
} else {

@@ -119,0 +117,0 @@ processCallbacks();

@@ -5,6 +5,2 @@ import CompositeClosureHelper from './CompositeClosureHelper';

export function setImmediate(fn) {
return setTimeout(fn, 0);
}
export default {

@@ -11,0 +7,0 @@ CompositeClosureHelper,

import Monologue from 'monologue.js';
import { setImmediate } from 'paraviewweb/src/Common/Core';
import LookupTable from 'paraviewweb/src/Common/Core/LookupTable';

@@ -60,5 +59,5 @@

updateActiveLookupTable(name) {
setImmediate(() => {
setTimeout(() => {
this.emit(TOPIC.ACTIVE_CHANGE, name);
});
}, 0);
this.activeField = name;

@@ -65,0 +64,0 @@ }

/* global document */
import { setImmediate } from 'paraviewweb/src/Common/Core';
import style from 'PVWStyle/ComponentNative/ToggleControl.mcss';

@@ -21,3 +20,3 @@

).style.display = this.controlVisible ? 'flex' : 'none';
setImmediate(() => this.resize());
setTimeout(() => this.resize(), 0);
}

@@ -24,0 +23,0 @@ };

import d3 from 'd3';
import style from 'PVWStyle/InfoVizNative/HistogramSelector.mcss';
import { setImmediate } from 'paraviewweb/src/Common/Core';
import CompositeClosureHelper from 'paraviewweb/src/Common/Core/CompositeClosureHelper';

@@ -840,3 +839,3 @@ import multiClicker from 'paraviewweb/src/InfoViz/Core/D3MultiClick';

setImmediate(scoreHelper.updateFieldAnnotations);
setTimeout(scoreHelper.updateFieldAnnotations, 0);
}

@@ -843,0 +842,0 @@ };

@@ -1,2 +0,1 @@

import { setImmediate } from 'paraviewweb/src/Common/Core';
import { dataToScreen } from 'paraviewweb/src/InfoViz/Native/ParallelCoordinates';

@@ -261,3 +260,3 @@ import Axis from 'paraviewweb/src/InfoViz/Native/ParallelCoordinates/Axis';

triggerSelectionChange(reset = true) {
setImmediate(() => {
setTimeout(() => {
if (reset) {

@@ -273,3 +272,3 @@ this.selection = null;

});
});
}, 0);
}

@@ -287,3 +286,3 @@

triggerAxisListChange() {
setImmediate(() => {
setTimeout(() => {
// Notify listeners

@@ -295,3 +294,3 @@ this.axisListChangeListeners.forEach((listener) => {

});
});
}, 0);
}

@@ -298,0 +297,0 @@

@@ -9,3 +9,2 @@ import hasOwn from 'mout/object/hasOwn';

import { setImmediate } from 'paraviewweb/src/Common/Core';
import DataManager from 'paraviewweb/src/IO/Core/DataManager';

@@ -140,5 +139,5 @@

// put the request back in the queue
setImmediate(() => {
setTimeout(() => {
this.requests.push(request);
});
}, 0);
} else if (!hasError) {

@@ -197,7 +196,7 @@ // We are good to go

// Handling requests after any re-queue
setImmediate(() => {
setTimeout(() => {
while (this.requests.length) {
processRequest(this.requests.pop());
}
});
}, 0);
}

@@ -266,3 +265,3 @@ };

if (this.exploreState.animate && this.exploreState.onDataReady) {
setImmediate((_) => this.nextExploration());
setTimeout((_) => this.nextExploration(), 0);
}

@@ -269,0 +268,0 @@ });

import React from 'react';
import PropTypes from 'prop-types';
import { setImmediate } from 'paraviewweb/src/Common/Core';
import style from 'PVWStyle/ReactCollapsibleControls/LightControl.mcss';

@@ -27,7 +26,7 @@

this.setState(newState);
setImmediate(() => {
setTimeout(() => {
this.props.light.setLightProperties({
lightTerms: newState,
});
});
}, 0);
}

@@ -34,0 +33,0 @@

import React from 'react';
import PropTypes from 'prop-types';
import { setImmediate } from 'paraviewweb/src/Common/Core';
import NumberSliderWidget from '../../Widgets/NumberSliderWidget';

@@ -79,3 +78,3 @@ import CollapsibleWidget from '../../Widgets/CollapsibleWidget';

setImmediate(() => {
setTimeout(() => {
if (this.props.imageBuilders) {

@@ -92,3 +91,3 @@ Object.keys(this.props.imageBuilders).forEach((key) => {

}
});
}, 0);
}

@@ -95,0 +94,0 @@

import React from 'react';
import PropTypes from 'prop-types';
import { setImmediate } from 'paraviewweb/src/Common/Core';
import style from 'PVWStyle/ReactContainers/OverlayWindow.mcss';

@@ -367,3 +366,3 @@

this.setState({ cursor: actionStruct.cursor, dragging: false });
setImmediate(() => this.props.onActive(false, this));
setTimeout(() => this.props.onActive(false, this), 0);
}

@@ -370,0 +369,0 @@

import React from 'react';
import PropTypes from 'prop-types';
import { setImmediate } from 'paraviewweb/src/Common/Core';
import style from 'PVWStyle/ReactWidgets/TextInputWidget.mcss';

@@ -58,6 +57,6 @@

// needs to happen at next idle so it happens after setState.
setImmediate(() => {
setTimeout(() => {
this.textInput.blur();
if (!this.props.blurEndsEdit) this.endEditing();
});
}, 0);
}

@@ -64,0 +63,0 @@ }

Sorry, the diff of this file is too big to display

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