
Product
Introducing Pull Request Stories to Help Security Teams Track Supply Chain Risks
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
@withfig/api-bindings
Advanced tools
The Typescript definitions for the Fig API.
Note: The protobuf definitions are updated automatically whenever withfig/proto-api is changed.
We use TSDocs to comment the exported namespaces of the API.
See
docs-generators/fig-api
folder inpublic-site-nextjs
repo for reference.
@param <name of the param> <some description>
. It can be provided multiple times for different params.
/**
* @param notification some description for the notification param
*/
export function subscribe(notification) { }
Discussion
section.@prop <name of the property> - <some description>
. It can be provided multiple times for different properties.
/**
* @prop subscribe - a description
* @prop unsubscribe - a description
*/
export const didChange = {
subscribe: (notification) => { },
unsubscribe: (notification) => { }
}
/**
* @deprecated This message is optional
*/
export const didChange = {
subscribe: (notification) => { },
}
Our API bindings export a list of named namespace objects each one exporting a group of Symbols. In our docs file we document each of the exported symbols grouped according to their namespace.
This package will be published automatically when pushed to any branch of this repo.
FAQs
The Typescript definitions for the Fig API.
The npm package @withfig/api-bindings receives a total of 54 weekly downloads. As such, @withfig/api-bindings popularity was classified as not popular.
We found that @withfig/api-bindings demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.