
Research
PyPI Package Impersonates SymPy to Deliver Cryptomining Malware
Malicious PyPI package sympy-dev targets SymPy users, a Python symbolic math library with 85 million monthly downloads.
Pret is a simple human language translation package for Node.js.
It can be used either as a translation module in any Node.js program or as a standalone command line translation tool. It supports not only single word translation but also butch mode which provides word by word translation. For now it uses Collins Cobuild explanatory dictionary which of course not translation dictionary, therefore, Pret returns word explanation. Other dsl dictionaries can be added manually.
const pret = require('pret');
cosole.log(pret.translate('help'));
const pret = require('pret');
var text = 'There is no word which is impossible to explain.'
cosole.log(pret.translateBatch(text));
as simple command
pret saw
[sɔ͟ː]
saws, sawing, sawed, sawn
1) Saw is the past tense of see.
2) N-COUNT A saw is a tool for cutting wood, which has a blade with sharp
teeth along one edge. Some saws are pushed backwards and forwards by hand,
and others are powered by electricity.
→ See also chain saw
3) VERB If you saw something, you cut it with a saw.
[V prep/adv] He escaped by sawing through the bars of his cell...
[V n] Your father is sawing wood.
or as a pipe
echo 'saw mock' | pret
saw
[sɔ͟ː]
saws, sawing, sawed, sawn
1) Saw is the past tense of see.
2) N-COUNT A saw is a tool for cutting wood, which has a blade with sharp
teeth along one edge. Some saws are pushed backwards and forwards by hand,
and others are powered by electricity.
→ See also chain saw
3) VERB If you saw something, you cut it with a saw.
[V prep/adv] He escaped by sawing through the bars of his cell...
[V n] Your father is sawing wood.
mock
[mɒ̱k]
mocks, mocking, mocked
1) VERB If someone mocks you, they show or pretend that they think you are
foolish or inferior, for example by saying something funny about you, or
by imitating your behaviour.
[V n] I thought you were mocking me...
[V n] I distinctly remember mocking the idea...
[V with quote] `I'm astonished, Benjamin,' she mocked.
2) ADJ: ADJ n You use mock to describe something which is not real or
genuine, but which is intended to be very similar to the real thing.
`It's tragic!' swoons Jeffrey in mock horror...
One of them was subjected to a mock execution.
...a mock Tudor mansion.
3) N-COUNT: usu pl Mocks are practice exams that you take as part of your
preparation for real exams. [BRIT, INFORMAL]
She went from a D in her mocks to a B in the real thing.
pret.translate('word');
pret.translateBatch('word help go');
pret.translateBatch(['word', 'help', 'go']);
const fs = require('fs');
var dict = fs.readFileSync('./OxfordEnglish.dsl', 'UTF8');
pret.setDictionary(dict);
var dict = pret.getDictionary();
FAQs
Simple translation package for Node.js
The npm package pret receives a total of 6 weekly downloads. As such, pret popularity was classified as not popular.
We found that pret demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Malicious PyPI package sympy-dev targets SymPy users, a Python symbolic math library with 85 million monthly downloads.

Product
Create and share saved alert views with custom tabs on the org alerts page, making it easier for teams to return to consistent, named filter sets.

Product
Socket’s Rust and Cargo support is now generally available, providing dependency analysis and supply chain visibility for Rust projects.