![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
canvas-data-cli
Advanced tools
A small CLI tool for syncing data from the Canvas Data API.
NOTE: this is currently in beta, please report any bugs or issues you find!
This tool should work on Linux, OSX, and Windows. The tool uses node.js runtime, which you will need to install before being able to use it.
npm install -g canvas-data-cli
git clone https://github.com/instructure/canvas-data-cli.git && cd canvas-data-cli && npm install -g .
The Canvas Data CLI requires a configuration file with a fields set. Canvas Data CLI uses a small javascript file as configuration file.
To generate a stub of this configuration run canvasDataCli sampleConfig
which will print out the sample configuration. Safe this to a file, like config.js
.
Edit the file to point to where you want to save the files as well as the file used to track the state of which data exports you have already downloaded. By default the sample config file
tries to pull your API key and secret from environment variables, CD_API_KEY
and CD_API_SECRET
, which is more secure, however, you can also hard code the credentials in the config file.
canvasDataCli sync -c path/to/config.js
will start the sync process. On the first sync, it will look through all the data exports and download only the latest version of any tables that are not
marked as partial
and will download any files from older exports to complete a partial table.
On subsequent executions, it will check for newest data exports after the last recorded export, delete any old tables if the table is NOT a partial
table and will append new files for partial tables.
Currently, for plus and pro customers, Canvas Data is updated daily, so running this in a daily cron job should keep your files up to date.
FAQs
A CLI tool for interacting with the Canvas Data API
The npm package canvas-data-cli receives a total of 0 weekly downloads. As such, canvas-data-cli popularity was classified as not popular.
We found that canvas-data-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.