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

@byu-oit/canvas-sdk

Package Overview
Dependencies
Maintainers
12
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@byu-oit/canvas-sdk - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

11

index.js

@@ -31,2 +31,3 @@ 'use strict';

canvas.getToken = function() {
shuffle(canvas.tokens);
let largestLimitRemainingToken;

@@ -156,2 +157,10 @@ for(const token of canvas.tokens) {

return canvas;
};
};
function shuffle(a) {
for (let i = a.length - 1; i > 0; i--) {
const j = Math.floor(Math.random() * (i + 1));
[a[i], a[j]] = [a[j], a[i]];
}
return a;
}

2

package.json
{
"name": "@byu-oit/canvas-sdk",
"version": "0.1.7",
"version": "0.1.8",
"description": "A wrapper around Instructure's Canvas API",

@@ -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