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

@edx/edx-proctoring

Package Overview
Dependencies
Maintainers
11
Versions
232
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@edx/edx-proctoring - npm Package Compare versions

Comparing version 1.5.0-rc.1 to 1.5.0-rc.2

7

edx_proctoring/static/proctoring/js/views/proctored_exam_view.js

@@ -147,4 +147,7 @@ var edx = edx || {};

self.secondsLeft --;
if (self.timerTick % self.poll_interval === self.poll_interval / 2) {
edx.courseware.proctored_exam.pingApplication().catch(self.endExamForFailureState.bind(self));
if (
self.timerTick % self.poll_interval === self.poll_interval / 2 &&
edx.courseware.proctored_exam.configuredWorkerURL
) {
edx.courseware.proctored_exam.pingApplication().catch(self.endExamForFailureState.bind(self));
}

@@ -151,0 +154,0 @@ if (self.timerTick % self.poll_interval === 0) {

@@ -100,6 +100,8 @@ describe('ProctoredExamView', function () {

edx.courseware.proctored_exam.pingApplication = jasmine.createSpy().and.returnValue(Promise.resolve());
edx.courseware.proctored_exam.configuredWorkerURL = 'nonempty/string.html';
this.proctored_exam_view.timerTick = this.proctored_exam_view.poll_interval / 2 - 1;
this.proctored_exam_view.updateRemainingTime(this.proctored_exam_view);
expect(edx.courseware.proctored_exam.pingApplication).toHaveBeenCalled();
delete edx.courseware.proctored_exam.pingApplication
delete edx.courseware.proctored_exam.pingApplication;
delete edx.courseware.proctored_exam.configuredWorkerURL;
});

@@ -106,0 +108,0 @@ it("reloads the page after failure-state ajax call", function(done) {

{
"name": "@edx/edx-proctoring",
"//": "Be sure to update the version number in edx_proctoring/__init__.py",
"version": "1.5.0-rc.1",
"//": "Note that the version format is slightly different than that of the Python version when using prereleases.",
"version": "1.5.0-rc.2",
"main": "edx_proctoring/static/index.js",

@@ -6,0 +7,0 @@ "repository": {

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