Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@spotfire/mods-api
Advanced tools
Spotfire Mods API (@spotfire/mods-api)
Documentation |
Getting started |
@spotfire/mods-sdk
The Spotfire Mods API contains the JSON schema for the mod manifest and the TypeScript typings for the Spotfire API.
Each mod type has its own schema and typings, available at <type>-mods/schema.json
and <type>-mods/api.d.ts
.
The schema and typings are automtically setup and configured if you create your mod using the @spotfire/mods-sdk tool.
This package is versioned in sync with the mods version.
So if your mod manifest declares version 2.0 then you should depend on @spotfire/mods-api@~2.0.0
.
If you change the version in your manifest, for instance to version 1.3 to support older versions of Spotfire, then you should update the package version accordingly.
To add typings manually:
npm add --save-dev @spotfire/mods-api
.env.d.ts
file and reference the relevant API:
// env.d.ts
/// <reference types="@spotfire/mods-api/visualization-mods/api.d.ts" />
allowUmdGlobalAccess
to true
in your tsconfig.json.To add schema manually follow the instructions given by your editor of choice, for instance if you're using Visual Studio Code see: https://code.visualstudio.com/docs/languages/json#_json-schemas-and-settings
FAQs
API typings and schemas for Spotfire® Mods
The npm package @spotfire/mods-api receives a total of 12 weekly downloads. As such, @spotfire/mods-api popularity was classified as not popular.
We found that @spotfire/mods-api demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.