Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
data-update-github
Advanced tools
A remote data change triggers the issue of a pull request to a specified Github repo.
Readme
A remote data change triggers the issue of a pull request to a specified Github repository.
Run npm ci
to install all dependencies.
Run npm run lint
to lint.
Run npm run test
to run tests.
Note that tests for Git operation API (tests/gitOpsApiTests.js
) is not included in npm run test
command. This test
requires a personal access token that has the privilege to operate
inclusive-design/data-update-github.
This access token can be supplied by defining an environment variable named "ACCESS_TOKEN" or passed as an argument
when running the script node tests/gitOpsApiTests.js {access_token}
.
Create a .env
at the root directory with a content:
ACCESS_TOKEN={String}
Script: scripts/fetchODCDataFiles.js
Goal: Check if a new version of the open dataset documenting COVID-19 assessment centre locations has been published on the Ontario Data Catalogue API. If the dataset has been updated, this script downloads the file, updates the corresponding latest.json, and commits them into COVID assessment centres data repository.
Prerequisites: Tasks below need to complete before running the script:
ACCESS_TOKEN
: The personal access token of a Github account that commits will be
issued on behalf. Refer to the Github documentation
about how to create a Github personal access token.How to run:
node scripts/fetchODCDataFiles.js
Includes API for operating remote Github branches and files. All API functions return a promise. Refer to the JSDoc in the script for the detail of parameters.
FAQs
A remote data change triggers the issue of a pull request to a specified Github repo.
The npm package data-update-github receives a total of 1 weekly downloads. As such, data-update-github popularity was classified as not popular.
We found that data-update-github demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.