Socket
Socket
Sign inDemoInstall

@soundworks/core

Package Overview
Dependencies
19
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.1.0-beta.3 to 3.1.0-beta.4

7

common/ParameterBag.js

@@ -491,9 +491,4 @@ "use strict";

const updated = !(0, _fastDeepEqual.default)(currentValue, value);
this._values[name] = value;
this._values[name] = value; // return tuple so that the state manager can handle the `filterChange` option
if (def.event === true) {
this._values[name] = null;
} // return tuple so that the state manager can handle the `filterChange` option
return [value, updated];

@@ -500,0 +495,0 @@ }

15

common/SharedState.js

@@ -190,3 +190,14 @@ "use strict";

await Promise.all(promises);
await Promise.all(promises); // reset events to null after propagation of all listeners
for (let name in newValues) {
const {
event
} = this._parameters.getSchema(name);
if (event) {
this._parameters.set(name, null);
}
}
return newValues;

@@ -259,3 +270,3 @@ }

if (changed || filterChange === false) {
if (changed || filterChange === false || event) {
immediateOldValues[name] = oldValue;

@@ -262,0 +273,0 @@ immediateNewValues[name] = newValue;

@@ -84,5 +84,11 @@ "use strict";

const {
event,
filterChange
} = this._parameters.getSchema(name);
} = this._parameters.getSchema(name); // if event type reset internal value to null
if (event) {
this._parameters.set(name, null);
}
if (filterChange && changed || !filterChange) {

@@ -89,0 +95,0 @@ filteredUpdates[name] = newValue;

{
"name": "@soundworks/core",
"version": "3.1.0-beta.3",
"version": "3.1.0-beta.4",
"description": "full-stack javascript framework for distributed audio visual experiences on the web",

@@ -5,0 +5,0 @@ "authors": [

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc