
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
tinacms-gitprovider-github
Advanced tools
The Github Git Provider handles saving and deleting content to GitHub. It can be used as a prop to the `createDatabase` function.
The Github Git Provider handles saving and deleting content to GitHub. It can be used as a prop to the createDatabase
function.
import { GithubProvider } from 'tinacms-gitprovider-github'
// database.{ts,js}
//...
export default isLocal ? createLocalDatabase() ? createDatabase({
gitProvider: new GitHubProvider({
branch: process.env.GITHUB_BRANCH,
owner: process.env.GITHUB_OWNER,
repo: process.env.GITHUB_REPO,
token: process.env.GITHUB_PERSONAL_ACCESS_TOKEN,
}),,
// ...
})
Option | Description |
---|---|
branch | The branch to save content to. |
owner | The owner of the repo. |
repo | The repo to save content to. |
token | A Github Personal Access Token. |
Option | Description |
---|---|
commitMessage | The commit message to use when saving content. Defaults to Edited with TinaCMS . |
rootPath | This path will be prefixed to all paths (good for monorepos) |
octokitOptions | Options passed to the Octokit constructor |
FAQs
The Github Git Provider handles saving and deleting content to GitHub. It can be used as a prop to the `createDatabase` function.
The npm package tinacms-gitprovider-github receives a total of 1,014 weekly downloads. As such, tinacms-gitprovider-github popularity was classified as popular.
We found that tinacms-gitprovider-github demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.