
Product
Rust Support in Socket Is Now Generally Available
Socket’s Rust and Cargo support is now generally available, providing dependency analysis and supply chain visibility for Rust projects.
@map-colonies/mc-model-types
Advanced tools
this project is used to serve json schemas for input validation and generate matching types to use in typescript projects.
please note the node this was developed using node 12 and wont work with old versions of node.
the package can be installed with npm install @map-colonies/mc-model-types.
the schemas for the validation are in the package, in order to use it for validation the schema files must be accessed directly.
run npm install to install project dependencies.
to create local package tgz file run npm pack after the build
added schemas should be written according to the fallowing rule:
template property type can be overridden in generated ts type by adding "tsType" attribute (for typescript types that are not valid in json schema)
for template example see Schema/LayerMetadata.
all the yaml schemas can be validated by running npm run lint:openapi
note that due to the limitions of the linter configuration the lint will result in The field `paths` must be present on this level error for every schema file, any other error should be fixed
FAQs
json schemas for validations and generated ts models
The npm package @map-colonies/mc-model-types receives a total of 29 weekly downloads. As such, @map-colonies/mc-model-types popularity was classified as not popular.
We found that @map-colonies/mc-model-types demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 10 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 Rust and Cargo support is now generally available, providing dependency analysis and supply chain visibility for Rust projects.

Security News
Chrome 144 introduces the Temporal API, a modern approach to date and time handling designed to fix long-standing issues with JavaScript’s Date object.

Research
Five coordinated Chrome extensions enable session hijacking and block security controls across enterprise HR and ERP platforms.