Security News
JSR Working Group Kicks Off with Ambitious Roadmap and Plans for Open Governance
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
@fuel-ts/versions
Advanced tools
@fuel-ts/versions
@fuel-ts/versions is a sub-module for interacting with Fuel.
It automatically assembles all supported versions of the Fuel toolchain, including:
FUELS
— comes from /packages/fuels/package.json
FUEL_CORE
— comes from /packages/fuel-core/VERSION
FORC
— comes from /packages/forc/VERSION
There is a prebuild
script to ensure that the src/index.ts
file never goes outdated.
Aditionally, the library can be used as a CLI tool to help checking/validating user environments.
yarn add @fuel-ts/versions
# or
npm add @fuel-ts/versions
import { versions } from "@fuel-ts/versions";
console.log(versions);
// { FUELS: '0.21.2', FUEL_CORE: '0.14.0', FORC: '0.30.0' }
$ npx fuels-versions
You have all the right versions! ⚡
┌───────────┬───────────┬─────────────────┐
│ │ Supported │ Yours / Symstem │
├───────────┼───────────┼─────────────────┤
│ Forc │ 0.30.0 │ 0.30.0 │
├───────────┼───────────┼─────────────────┤
│ Fuel-Core │ 0.14.0 │ 0.14.0 │
└───────────┴───────────┴─────────────────┘
Alternatively, we recommend you install the complete SDK using the umbrella package:
yarn add fuels
# or
npm add fuels
In order to contribute to @fuel-ts/versions
, please see the main fuels-ts monorepo.
The @fuel-ts/versions
changelog can be found at CHANGELOG.
The primary license for @fuel-ts/versions
is Apache 2.0
, see LICENSE.
FAQs
Validates supported versions of the Fuel toolchain
The npm package @fuel-ts/versions receives a total of 4,824 weekly downloads. As such, @fuel-ts/versions popularity was classified as popular.
We found that @fuel-ts/versions demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
Security News
Research
An advanced npm supply chain attack is leveraging Ethereum smart contracts for decentralized, persistent malware control, evading traditional defenses.
Security News
Research
Attackers are impersonating Sindre Sorhus on npm with a fake 'chalk-node' package containing a malicious backdoor to compromise developers' projects.