Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@lichtblick/rosmsg2-serialization
Advanced tools
ROS 2 (Robot Operating System) message serialization, for reading and writing bags and network messages
ROS 2 (Robot Operating System) message serialization, for reading and writing bags and network messages
Message reader deserializes ROS 2 CDR messages into plain objects. The messages are fully deserialized.
import { MessageReader } from "@lichtblick/rosmsg2-serialization";
// message definition comes from `parse()` in @lichtblick/rosmsg
const reader = new MessageReader(messageDefinition);
// deserialize a buffer into an object
const message = reader.readMessage([0x00, 0x01, ...]);
// access message fields
message.header.stamp;
Convert an object, array, or primitive value into binary data using ROS 2 CDR message serialization.
import { MessageWriter } from "@lichtblick/rosmsg2-serialization";
// message definition comes from `parse()` in @lichtblick/rosmsg
const writer = new MessageWriter(pointStampedMessageDefinition);
// serialize the passed in object to a Uint8Array as a geometry_msgs/PointStamped message
const uint8Array = writer.writeMessage({
header: {
stamp: { sec: 0, nanosec: 0 },
frame_id: ""
},
x: 1,
y: 0,
z: 0
});
yarn test
@lichtblick/rosmsg2-serialization is licensed under the MIT License.
yarn version --[major|minor|patch]
to bump versiongit push && git push --tags
to push new tagFAQs
ROS 2 (Robot Operating System) message serialization, for reading and writing bags and network messages
The npm package @lichtblick/rosmsg2-serialization receives a total of 176 weekly downloads. As such, @lichtblick/rosmsg2-serialization popularity was classified as not popular.
We found that @lichtblick/rosmsg2-serialization 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.