
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@atb-as/config-specs
Advanced tools
Shared types and validation for configs
Collects documentation, JSON Specifications and types for configs. Ensures consistent types and mapping for all fare product configs across projects and organisations.
import {ZoneSelectionMode} from '@atb-as/config-specs';
const selectedZone: ZoneSelectionMode =
ZoneSelectionMode.parse('multiple-stop');
//> Throws error if not multiple-stop is valid.
const selectedZone2: ZoneSelectionMode =
ZoneSelectionMode.safeParse('multiple-stop');
//> selectedZone2.success = true | false
# yaml-language-server: $schema=https://raw.githubusercontent.com/AtB-AS/config-specs/refs/heads/main/schema-definitions/other.json
enableTokenToggleRestrictions: true
tokenToggleMaxLimit: 3
defaultTariffZone: NOR:TariffZone:8040
defaultFareZone: NOR:FareZone:8040
vatPercent: 12
Usage: npx @atb-as/config-specs -s [schema] -f [file]
Options:
--version Show version number [boolean]
-f, --file file to validate [required]
-s, --schema choose a schema
[required] [choices: "fareProductTypeConfigs", "other", "paymentTypes",
"travelSearchFilters", "url"]
-h, --help Show help [boolean]
Examples:
npx @atb-as/config-specs -s other -f other.json Validate other.json with position specification
npx @atb-as/config-specs -s other -f other.yaml Validate other.yaml with position specification
yarn add @atb-as/config-specs
Note contract/fixture tests in src/tests/contract-fixtures-tests. These tests should never fail unless it is very intentional. These are ment to ensure backwards compatibility with older apps.
If they fail you need to ensure that the change is intentional and that older apps refering to the data that is the cause of change is no longer in use.
Goal of this package is to ensure data quality and consistent data across remote configuration and usage over time for multiple consumers.
This package should collect specification and validation (incl. types) for data stored in Firestore. This should ensure easier consistent validation and data quality across Firestore, Webshop and App for all organisations involved.
yarn build
.release-please-action
will create a PR to update the package version and changelog.
feat
will be a minor release.fix
will be a patch release.!
after the prefix (e.g. feat!
) means it is a breaking change, and will be a major release. This includes any changes to the public API that requires users of the package to update any code.chore
or refactor
will not trigger a release.[!NOTE] In case you want to create a release with a different version number than the one suggested by release-please, you can make an empty commit on master with commit message on this format:
chore: release v1.2.3 release-as: 1.2.3
For more details, see release-please-action.
EUPL-1.2
FAQs
Shared types and validation for fare product type configs
The npm package @atb-as/config-specs receives a total of 272 weekly downloads. As such, @atb-as/config-specs popularity was classified as not popular.
We found that @atb-as/config-specs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 16 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.