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

atem-state

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

atem-state - npm Package Compare versions

Comparing version 0.8.0 to 0.8.1

8

CHANGELOG.md

@@ -5,2 +5,10 @@ # Changelog

### [0.8.1](https://github.com/nrkno/tv-automation-atem-state/compare/0.8.0...0.8.1) (2019-11-21)
### Bug Fixes
* do not mutate input state objects ([43f6954](https://github.com/nrkno/tv-automation-atem-state/commit/43f6954dc21723520e3e172f2a6b4d621245a534))
* prevent falsy checks for input = 0 ([78ef630](https://github.com/nrkno/tv-automation-atem-state/commit/78ef630a27d3a05f239093c3569569fb4f95f2d1))
## [0.8.0](https://github.com/nrkno/tv-automation-atem-state/compare/0.7.1...0.8.0) (2019-10-24)

@@ -7,0 +15,0 @@

10

dist/resolvers/mixEffect.js

@@ -20,7 +20,7 @@ "use strict";

continue;
let oldMEInput = oldMixEffect.input;
if (typeof oldMEInput === 'undefined')
oldMEInput = oldMixEffect.programInput;
if (typeof newMixEffect.input !== 'undefined' && typeof newMixEffect.transition !== 'undefined') {
if (typeof oldMixEffect.input === 'undefined') {
oldMixEffect.input = oldMixEffect.programInput;
}
if (newMixEffect.input !== oldMixEffect.input || newMixEffect.transition === __1.Enums.TransitionStyle.DUMMY) {
if (newMixEffect.input !== oldMEInput || newMixEffect.transition === __1.Enums.TransitionStyle.DUMMY) {
const command = new atem_connection_1.Commands.PreviewInputCommand();

@@ -59,3 +59,3 @@ command.mixEffect = Number(mixEffectId);

}
if ((oldMixEffect.input || oldMixEffect.programInput) !== newMixEffect.programInput) {
if (oldMEInput !== newMixEffect.programInput) {
// @todo: check if we need to use the cut command?

@@ -62,0 +62,0 @@ // use cut command if:

{
"name": "atem-state",
"version": "0.8.0",
"version": "0.8.1",
"description": "Typescript Node.js library for comparing ATEM states",

@@ -80,2 +80,8 @@ "main": "dist/index.js",

},
"files": [
"/dist",
"/CHANGELOG.md",
"/README.md",
"/LICENSE"
],
"devDependencies": {

@@ -82,0 +88,0 @@ "@types/jest": "^24.0.11",

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