Comparing version 3.0.8 to 3.0.9
{ | ||
"name": "tal", | ||
"version": "3.0.8", | ||
"version": "3.0.9", | ||
"homepage": "http://fmtvp.github.io/tal/index.html", | ||
@@ -5,0 +5,0 @@ "description": "TAL was developed internally within the BBC as a way of vastly simplifying TV application development whilst increasing the reach of BBC TV applications such as iPlayer. Today all of the BBC’s HTML-based TV applications are built using TAL.", |
{ | ||
"name": "tal", | ||
"license": "Apache-2.0", | ||
"version": "3.0.8", | ||
"version": "3.0.9", | ||
"repository": { | ||
@@ -6,0 +6,0 @@ "type": "git", |
@@ -63,3 +63,3 @@ /** | ||
assertException("Broadcast API not available on this device.", function() { | ||
var broadcastSource = device.createBroadcastSource(); | ||
device.createBroadcastSource(); | ||
}); | ||
@@ -73,3 +73,3 @@ }, config); | ||
assertException("Abstract class constructor should not be called directly", function() { | ||
var broadcastSource = new BaseTvSource(); | ||
new BaseTvSource(); // jshint ignore:line | ||
}); | ||
@@ -140,14 +140,3 @@ }); | ||
assertException("Base implementation throws exception when not overridden", function(){ | ||
broadcastSource.getState(); | ||
}); | ||
}); | ||
}; | ||
this.baseTvSource.prototype.testBaseBroadcastSourceGetCurrentChannelThrowsExceptionWhenNotOverridden = function(queue) { | ||
expectAsserts(1); | ||
queuedApplicationInit(queue, 'lib/mockapplication', ["antie/devices/broadcastsource/basetvsource"], function(application, BaseTvSource) { | ||
extendBaseTvSourceWithNoOverriddenMethods(BaseTvSource); | ||
var broadcastSource = new BaseTvSource(); | ||
assertException("Device broadcast source does not override abstract method getCurrentChannel", function() { | ||
broadcastSource.getCurrentChannel(); | ||
broadcastSource.getState(); | ||
}); | ||
@@ -168,3 +157,3 @@ }); | ||
this.baseTvSource.prototype.testBaseBroadcastSourceGetChannelListThrowsExceptionWhenNotOverridden = function(queue) { | ||
this.baseTvSource.prototype.testBaseBroadcastSourceGetChannelNameListThrowsExceptionWhenNotOverridden = function(queue) { | ||
expectAsserts(1); | ||
@@ -175,3 +164,3 @@ queuedApplicationInit(queue, 'lib/mockapplication', ["antie/devices/broadcastsource/basetvsource"], function(application, BaseTvSource) { | ||
assertException("Device broadcast source does not override abstract method getChannelList", function() { | ||
broadcastSource.getChannelList(); | ||
broadcastSource.getChannelNameList(); | ||
}); | ||
@@ -183,2 +172,2 @@ }); | ||
})(); | ||
})(); |
@@ -1,2 +0,7 @@ | ||
require( | ||
/** | ||
* @preserve Copyright (c) 2015 British Broadcasting Corporation. All rights reserved. | ||
* @license See https://github.com/fmtvp/tal/blob/master/LICENSE for full licence | ||
*/ | ||
require( | ||
[ | ||
@@ -82,2 +87,2 @@ 'antie/devices/storage/xboxpls', | ||
} | ||
); | ||
); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
5197028
632
99841
4