
Research
/Security News
Popular Tinycolor npm Package Compromised in Supply Chain Attack Affecting 40+ Packages
Malicious update to @ctrl/tinycolor on npm is part of a supply-chain attack hitting 40+ packages across maintainers
@contrast/fn-inspect
Advanced tools
This module exposes some useful information about functions from the v8 engine, including:
Getting details about a function:
const { funcInfo } = require('@contrast/fn-inspect');
function testFn() {}
const results = funcInfo(testFn);
// => { lineNumber: 2, column: 15, file: 'example.js', method: 'testFn', type: 'Function' }
npm run build
will build the project for your current OS and architecture.
npm run download
will pull the most recent build artifacts from GitHub.
Simply run npm version
and then invoke the release
workflow. You can run
release
using the github UI or, if you have the github CLI installed, you
can run gh workflow run release.yml
(also available via npm run release
).
Note that upload-artifacts@v4
no longer works when there are multiple
artifacts with the same name. That's why the release
workflow has the
following section:
uses: actions/upload-artifact@v4
with:
name: prebuilds-${{ matrix.build-group }}
path: prebuilds/
FAQs
Retrieve function name and line number from a function reference
The npm package @contrast/fn-inspect receives a total of 547,540 weekly downloads. As such, @contrast/fn-inspect popularity was classified as popular.
We found that @contrast/fn-inspect demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 9 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
Malicious update to @ctrl/tinycolor on npm is part of a supply-chain attack hitting 40+ packages across maintainers
Security News
pnpm's new minimumReleaseAge setting delays package updates to prevent supply chain attacks, with other tools like Taze and NCU following suit.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.