Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@nteract/commutable
Advanced tools
Commutable is a package to represent a Jupyter notebook document, as well as operations on the notebook, as a series of immutable notebooks, each one with its own state at a point in time.
This package follows the principles below, based on Tom MacWright's outline for practical undo.
$ yarn add @nteract/commutable
$ npm install --save @nteract/commutable
The example below shows how we can create an empty Markdown cell in our
nteract notebook application. We use the emptyMarkdownCell
immutable object
exported from this package to represent a new empty Markdown cell in a
notebook document.
import { emptyMarkdownCell } from "@nteract/commutable";
export default () => (
<MarkdownPreview
id="a-random-cell-id"
cell={emptyMarkdownCell}
editorFocused={false}
/>
);
You can view the reference documentation for @nteract/commutable
in the
package docs.
If you experience an issue while using this package or have a feature request,
please file an issue on the issue board
and, if possible, add the pkg:commutable
label.
FAQs
library for immutable notebook operations
The npm package @nteract/commutable receives a total of 15,113 weekly downloads. As such, @nteract/commutable popularity was classified as popular.
We found that @nteract/commutable demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 18 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.