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 3.21.0 to 3.22.0

12

edx_proctoring/static/proctoring/js/exam_action_handler.js

@@ -86,3 +86,3 @@ /* globals accessible_modal:false */

// Update the state of the attempt
function updateExamAttemptStatusPromise(actionUrl, action) {
function updateExamAttemptStatusPromise(actionUrl, action, isVerifiedNameEnabled) {
return function() {

@@ -93,3 +93,4 @@ return Promise.resolve($.ajax({

data: {
action: action
action: action,
is_verified_name_enabled: isVerifiedNameEnabled
}

@@ -128,3 +129,8 @@ }));

var action = $this.data('action');
updateExamAttemptStatusPromise(actionUrl, action)()
// Course waffle flag for verified name
var main = document.getElementById('main');
var isVerifiedNameEnabled = main.dataset.isVerifiedNameEnabled.toLowerCase() === 'true';
updateExamAttemptStatusPromise(actionUrl, action, isVerifiedNameEnabled)()
.then(reloadPage)

@@ -131,0 +137,0 @@ .catch(errorHandlerGivenMessage(

{
"name": "@edx/edx-proctoring",
"//": "Note that the version format is slightly different than that of the Python version when using prereleases.",
"version": "3.21.0",
"version": "3.22.0",
"main": "edx_proctoring/static/index.js",

@@ -6,0 +6,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

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