
Security News
Next.js Patches Critical Middleware Vulnerability (CVE-2025-29927)
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
fromfrom is a LINQ inspired library to transform sequences of data.
npm install --save fromfrom
Find it here.
The library exports only a single function, from
. from
wraps the given source data into a Sequence
. Sequence
has a wide range of chainable methods to operate and transform the sequence. The sequence can then be converted into a JS type.
For example
import { from } from "fromfrom";
// Transform an array of users
const users = [
{ id: 1, name: "John", age: 31, active: true },
{ id: 2, name: "Jane", age: 32, active: false },
{ id: 3, name: "Luke", age: 33, active: false },
{ id: 4, name: "Mary", age: 34, active: true },
];
from(users)
.filter(user => user.active)
.sortByDescending(user => user.age)
.toArray();
// Returns
// [
// { id: 4, name: "Mary", age: 34, active: true },
// { id: 1, name: "John", age: 31, active: true }
// ]
See "how does it work" section from the initial release blog post.
npm t
: Run test suitenpm start
: Run npm run build
in watch modenpm run test:watch
: Run test suite in interactive watch modenpm run test:prod
: Run linting and generate coveragenpm run build
: Generate bundles and typings, create docsnpm run lint
: Lints codenpm run commit
: Commit using conventional commit style (husky will tell you to use it if you haven't :wink:)Made with :heart: by @TomiTurtiainen.
This project is a grateful recipient of the Futurice Open Source sponsorship program. :heart:
Forked from TypeScript library starter
Thanks goes to these wonderful people (emoji key):
Tomi Turtiainen 💻 📖 🚇 ⚠️ | jtenner 💻 ⚠️ 📖 | Ville Vaarala 🚧 | Theo 💻 | Rudolf Poels 📖 | Andrew Ross 🐛 |
This project follows the all-contributors specification. Contributions of any kind welcome!
FAQs
LINQ inspired library to transform sequences of data
The npm package fromfrom receives a total of 327 weekly downloads. As such, fromfrom popularity was classified as not popular.
We found that fromfrom 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.
Security News
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
Security News
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
Product
Socket, the leader in open source security, is now available on Google Cloud Marketplace for simplified procurement and enhanced protection against supply chain attacks.