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

demrec

Package Overview
Dependencies
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

demrec - npm Package Compare versions

Comparing version 3.0.2 to 3.1.0

2

package.json
{
"name": "demrec",
"version": "3.0.2",
"version": "3.1.0",
"description": "Demo Recorder Renderer",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -108,5 +108,7 @@ let fs = require('fs')

if (!a.pre) a.pre = 0
if (!a.ticks[0] || a.ticks[0] < 0) a.ticks[0] = 0
if (!a.ticks[1] || a.ticks[1] > total) a.ticks[1] = total
if (a.ticks[1] - a.ticks[0] < 10) throw new Error('Invalid demo tick range!')
if (a.ticks[0] - a.pre < 0) throw new Error('Tick pre setting not possible!')
if (i !== 0 && a.ticks[0] <= arr[i - 1].ticks[1]) throw new Error(`Ticks of [${i}] & [${i + 1}] overlap!`)

@@ -222,3 +224,4 @@

let same = a.out === arr[i - 1]?.out
if (a.ticks[0] !== 0) vdm.add(last, [same ? '' : 'endmovie', 'volume 0', mark(a.out, 'Skipping'), `demo_gototick ${a.ticks[0]}`])
if (a.ticks[0] !== 0) vdm.add(last, [same ? '' : 'endmovie', 'volume 0', mark(a.out, 'Skipping'), `demo_gototick ${a.ticks[0] - a.pre}`])
if (a.pre) vdm.add(a.ticks[0] - a.pre, [a.cmd, 'volume 0'])
vdm.add(a.ticks[0], [a.cmd, `startmovie ${a.out + '.mp4'} ${this.game.token}`])

@@ -225,0 +228,0 @@ vdm.add(a.ticks, [mark(a.out, 'Rendering', '*')], '*')

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