![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
@figma/plugin-typings
Advanced tools
This repository contains the typings for the Figma Plugin API.
Installation
npm i --save-dev @figma/plugin-typings
# or
yarn add -D @figma/plugin-typings
Configure tsconfig.json
{
"compilerOptions": {
"typeRoots": [
"./node_modules/@types",
"./node_modules/@figma"
]
}
}
The configuration above is needed for the TypeScript compiler to use type definitions found in both ./node_modules/@types
and ./node_modules/@figma
. Normally, most external type definitions are from DefinitelyTyped and are installed in /@types
, which included by TypeScript by default. Since we host the plugin typings separately, they are installed outside in /@figma
instead.
Types should become globally available without needing to use import statements. We do it this way because the plugin API is part of the host environment, as opposed to being a package that a plugin includes.
Plugin API releases have the format "Version X, Update Y". Equivalent tags are created in this repository as v<x>.<y>
. Note that not all API releases include API changes, some are just bug fixes. Therefore, some typings versions are skipped.
FAQs
Typings for the Figma Plugin API
The npm package @figma/plugin-typings receives a total of 33,443 weekly downloads. As such, @figma/plugin-typings popularity was classified as popular.
We found that @figma/plugin-typings demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 48 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
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.