New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

yuv-canvas

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yuv-canvas - npm Package Compare versions

Comparing version 1.2.3 to 1.2.4

8

docs/demo-bundled.js

@@ -1,2 +0,2 @@

(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
module.exports = {

@@ -557,5 +557,5 @@ vertex: "precision lowp float;\n\nattribute vec2 aPosition;\nattribute vec2 aLumaPosition;\nattribute vec2 aChromaPosition;\nvarying vec2 vLumaPosition;\nvarying vec2 vChromaPosition;\nvoid main() {\n gl_Position = vec4(aPosition, 0, 1);\n vLumaPosition = aLumaPosition;\n vChromaPosition = aChromaPosition;\n}\n",

drawContext.putImageData(imageData,
0, 0,
format.cropLeft, format.cropTop,
format.cropWidth, format.cropHeight);
-format.cropLeft, -format.cropTop, // must offset the offset
format.cropLeft, format.cropTop,
format.cropWidth, format.cropHeight);

@@ -562,0 +562,0 @@ if (resample) {

{
"name": "yuv-canvas",
"version": "1.2.3",
"version": "1.2.4",
"description": "Utility for drawing YUV image data to HTML5 canvas",

@@ -27,4 +27,4 @@ "main": "src/yuv-canvas.js",

"browserify": "^13.1.0",
"grunt": "^1.0.1",
"grunt-browserify": "^5.0.0",
"grunt": "^1.0.3",
"grunt-browserify": "^5.3.0",
"grunt-eslint": "^19.0.0",

@@ -31,0 +31,0 @@ "grunt-text-replace": "^0.4.0",

@@ -17,2 +17,5 @@ **YUVCanvas draws YUV video frames to an HTML 5 canvas element.**

1.2.4 - 2019-02-06
* fix software rendering path for crop offsets (Theora)
1.2.3 - 2019-02-04

@@ -19,0 +22,0 @@ * optimize software rendering path by a few percent

@@ -95,5 +95,5 @@ /*

drawContext.putImageData(imageData,
0, 0,
format.cropLeft, format.cropTop,
format.cropWidth, format.cropHeight);
-format.cropLeft, -format.cropTop, // must offset the offset
format.cropLeft, format.cropTop,
format.cropWidth, format.cropHeight);

@@ -100,0 +100,0 @@ if (resample) {

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