Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
@contrast/fn-inspect
Advanced tools
Retrieve function name and line number from a function reference
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 423,659 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.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.