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

universalviewer

Package Overview
Dependencies
Maintainers
1
Versions
191
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

universalviewer - npm Package Compare versions

Comparing version 3.0.11 to 3.0.12

2

package.json
{
"name": "universalviewer",
"version": "3.0.11",
"version": "3.0.12",
"description": "The Universal Viewer is a community-developed open source project on a mission to help you share your content with the world.",

@@ -5,0 +5,0 @@ "repository": {

@@ -57,2 +57,6 @@ function createUV(selector, data, dataProvider) {

uv.on('rangeChanged', function(rangeId) {
dataProvider.set('rid', rangeId);
}, false);
uv.on('openseadragonExtension.rotationChanged', function(rotation) {

@@ -59,0 +63,0 @@ dataProvider.set('r', rotation);

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

{ "version": "3.0.11" }
{ "version": "3.0.12" }

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

// iiif-av-component v0.0.6 https://github.com/iiif-commons/iiif-av-component#readme
// iiif-av-component v0.0.8 https://github.com/iiif-commons/iiif-av-component#readme
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.iiifAvComponent = f()}})(function(){var define,module,exports;return (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){

@@ -149,3 +149,3 @@ (function (global){

var that = this;
canvasInstance.$playerElement[0].addEventListener('loadedmetadata', function () {
canvasInstance.on('canvasready', function () {
canvasInstance.setCurrentTime(0);

@@ -157,2 +157,3 @@ if (that.options.data.autoPlay) {

that._logMessage('CREATED CANVAS: ' + canvasInstance.canvasClockDuration + ' seconds, ' + canvasInstance.canvasWidth + ' x ' + canvasInstance.canvasHeight + ' px.');
that.fire(AVComponent.Events.CANVASREADY);
}, false);

@@ -231,2 +232,3 @@ };

}
Events.CANVASREADY = 'canvasready';
Events.PLAYCANVAS = 'play';

@@ -266,2 +268,3 @@ Events.PAUSECANVAS = 'pause';

this.isStalled = false;
this.readyCanvasesCount = 0;
this.stallRequestedBy = []; //todo: type

@@ -413,2 +416,3 @@ this.wasPlaying = false;

if (data.type == 'Video' || data.type == 'Audio') {
var that_2 = this;
var self_1 = data;

@@ -427,2 +431,8 @@ $mediaElement.on('loadstart', function () {

});
$mediaElement.on('loadedmetadata', function () {
that_2.readyCanvasesCount++;
if (that_2.readyCanvasesCount === that_2._mediaElements.length) {
that_2.fire(IIIFComponents.AVComponent.Events.CANVASREADY);
}
});
$mediaElement.attr('preload', 'auto');

@@ -429,0 +439,0 @@ $mediaElement.get(0).load(); // todo: type

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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