Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
@aller/external-id
Advanced tools
Library for creating an ID from an URL.
Code:
import getExternalId from "@aller/external-id";
const id = getExternalId(
"https://www.dagbladet.no/nyheter/sjokkerte-allierte-pa-flyet-til-singapore---kim-ma-ikke-fa-se-noen-amerikansk-svakhet/69887776"
);
console.log(id);
Output:›
dagbladet.no/69887776
yarn run test
Runs linter and testsyarn run test:eslint
Runs linteryarn run test:ava
Runs testsyarn run test:verbose
Runs tests with verbose outputyarn run test:watch
Automatically runs tests on saveyarn run test:coverage
Checks code coverageThis library used to transpile files on postinstall
, because it was not a npm package that could use prepare
to transpile. Now that the package is public on npm, we use prepare
to transpile files before publishing. This means that this library no longer has babel-cli
as a peer dependency.
FAQs
Library for creating an ID from an URL.
The npm package @aller/external-id receives a total of 217 weekly downloads. As such, @aller/external-id popularity was classified as not popular.
We found that @aller/external-id 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.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.