Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

edx-db

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

edx-db - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

CHANGELOG.md

24

lib/courseware/student-module.js

@@ -70,14 +70,14 @@ 'use strict';

return this.db.connection.transaction(transaction => {
return this.db.models.Courseware.StudentModule
.findAll(query)
.then(rows => {
const ids = rows.map(row => row.get('id'));
return this.db.models.Courseware.StudentModule
.findAll(query)
.then(rows => {
const ids = rows.map(row => row.get('id'));
if (!ids.length) {
debug('nothing was found, nor destroyed');
if (!ids.length) {
debug('nothing was found, nor destroyed');
return;
}
return;
}
return this.db.connection.transaction(transaction => {
return this.db.models.Courseware.StudentModuleHistory

@@ -113,5 +113,5 @@ .destroy({

});
})
.thenReturn(result);
});
});
})
.thenReturn(result);
}

@@ -118,0 +118,0 @@ };

{
"name": "edx-db",
"version": "1.0.0",
"version": "1.0.1",
"description": "Open edX database library",

@@ -5,0 +5,0 @@ "main": "index.js",

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