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.4.1 to 3.4.2

2

package.json
{
"name": "demrec",
"version": "3.4.1",
"version": "3.4.2",
"description": "Demo Recorder Renderer",

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

@@ -187,3 +187,3 @@ let fs = require('fs')

.replaceAll('%TIME%', util.getTickTime(a.ticks[1] - a.ticks[0]))
.replace(/%TIME\[(.*?)\]%/g, (_, b) => util.getTickTime(a.ticks[1] - a.ticks[0]) + Number(b))
.replace(/%TIME\[(.*?)\]%/g, (_, b) => util.getTickTime(a.ticks[1] - a.ticks[0], Number(b)))
.replaceAll('%TIME_START%', util.getTickTime(a.padding))

@@ -190,0 +190,0 @@ .replaceAll('%TIME_END%', util.getTickTime(a.ticks[1] - a.ticks[0] - a.padding))

@@ -121,4 +121,4 @@ let fs = require('fs')

},
getTickTime (ticks) {
return this.formatTime(ticks / (200 / 3) * 1000)
getTickTime (ticks, add = 0) {
return this.formatTime((ticks / (200 / 3) + add) * 1000)
},

@@ -125,0 +125,0 @@ formatTime (ms, decimals = 3) {

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