canvas-client
Advanced tools
@@ -1,4 +0,4 @@ | ||
| import { CanvasEnrollmentShortType, SpecialTermID, CanvasID, SISCourseID, UserDisplay, CanvasEnrollmentDisplay } from '.'; | ||
| import { CanvasSection } from './section'; | ||
| import { CanvasEnrollmentTerm } from './term'; | ||
| import { type CanvasEnrollmentShortType, type SpecialTermID, type CanvasID, type SISCourseID, type UserDisplay, type CanvasEnrollmentDisplay } from '.'; | ||
| import { type CanvasSection } from './section'; | ||
| import { type CanvasEnrollmentTerm } from './term'; | ||
| export interface ICanvasCourseNew { | ||
@@ -5,0 +5,0 @@ name?: string; |
@@ -31,2 +31,4 @@ export class CanvasCourseNew { | ||
| this.start_at = course.start_at; | ||
| if (course.end_at) | ||
| this.end_at = course.start_at; | ||
| } | ||
@@ -33,0 +35,0 @@ } |
@@ -1,4 +0,4 @@ | ||
| import { CanvasEnrollmentShortType, SpecialTermID, CanvasID, SISCourseID, UserDisplay, CanvasEnrollmentDisplay } from '.'; | ||
| import { CanvasSection } from './section'; | ||
| import { CanvasEnrollmentTerm } from './term'; | ||
| import { type CanvasEnrollmentShortType, type SpecialTermID, type CanvasID, type SISCourseID, type UserDisplay, type CanvasEnrollmentDisplay } from '.'; | ||
| import { type CanvasSection } from './section'; | ||
| import { type CanvasEnrollmentTerm } from './term'; | ||
| export interface ICanvasCourseNew { | ||
@@ -5,0 +5,0 @@ name?: string; |
@@ -34,2 +34,4 @@ "use strict"; | ||
| this.start_at = course.start_at; | ||
| if (course.end_at) | ||
| this.end_at = course.start_at; | ||
| } | ||
@@ -36,0 +38,0 @@ } |
+1
-1
| { | ||
| "name": "canvas-client", | ||
| "version": "2.0.4", | ||
| "version": "2.0.5", | ||
| "description": "Typescript library to make accessing the Canvas API more convenient.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 3 instances in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 3 instances in 1 package
133785
0.16%3099
0.13%