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

emellib

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

emellib - npm Package Compare versions

Comparing version 0.0.9 to 0.0.10

4

motionDetector.js

@@ -20,3 +20,3 @@ import * as utils from './utils'

return () => {
return (decay=0.9) => {
args.canvasElementHelper.width = args.videoElement.offsetWidth;

@@ -81,3 +81,3 @@ args.canvasElementHelper.height = args.videoElement.offsetHeight;

// smooth using momentum
curMoment = ((1-0.9)*energyScore) + (0.9*curMoment)
curMoment = ((1-decay)*energyScore) + (decay*curMoment)
return curMoment

@@ -84,0 +84,0 @@

{
"name": "emellib",
"version": "0.0.9",
"version": "0.0.10",
"main": "index.js",

@@ -5,0 +5,0 @@ "homepage": "https://www.crejo.fun/",

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