Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@contrast/fn-inspect

Package Overview
Dependencies
Maintainers
9
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contrast/fn-inspect - npm Package Compare versions

Comparing version 4.0.0 to 4.1.0

prebuilds/darwin-x64+arm64/@contrast+fn-inspect.abi108.node

14

package.json
{
"name": "@contrast/fn-inspect",
"version": "4.0.0",
"version": "4.1.0",
"description": "Retrieve function name and line number from a function reference",

@@ -31,4 +31,4 @@ "keywords": [

"prebuild": "npm run clean",
"build": "prebuildify -t 12.13.0 -t 14.15.0 -t 16.9.1 -t 18.7.0 -t 20.5.0 --strip",
"build:linux": "prebuildify-cross -i centos7-devtoolset7 -i alpine -i linux-arm64 -t 12.13.0 -t 14.15.0 -t 16.9.1 -t 18.7.0 -t 20.5.0 --strip",
"build": "prebuildify -t 16.9.1 -t 18.7.0 -t 20.5.0 --strip --napi false",
"build:linux": "prebuildify-cross -i centos7-devtoolset7 -i alpine -i linux-arm64 -t 16.9.1 -t 18.7.0 -t 20.5.0 --strip --napi false",
"build:darwin": "npm run build -- --arch x64+arm64",

@@ -42,7 +42,7 @@ "build:win32": "npm run build",

"engines": {
"node": ">=12.13.0"
"node": ">=16.9.1"
},
"dependencies": {
"nan": "^2.17.0",
"node-gyp-build": "^4.6.0"
"node-gyp-build": "^4.8.1"
},

@@ -58,4 +58,4 @@ "devDependencies": {

"mocha": "^10.2.0",
"node-gyp": "^9.4.1",
"prebuildify": "^5.0.1",
"node-gyp": "^10.1.0",
"prebuildify": "^6.0.1",
"prebuildify-cross": "^5.0.0",

@@ -62,0 +62,0 @@ "rimraf": "^5.0.1",

@@ -5,7 +5,6 @@ # @contrast/fn-inspect

This module exposes some useful information from the underlying v8 engine,
This module exposes some useful information about functions from the v8 engine,
including:
- file and line number given a function reference
- code events (i.e. `'LAZY_COMPILE'`)

@@ -25,12 +24,2 @@ ## Usage

Registering a listener for code events:
```js
const { setCodeEventListener } = require('@contrast/fn-inspect');
setCodeEventListener((event) => {
console.log(event);
});
```
## Building locally

@@ -45,2 +34,2 @@

Simply run `npm version` and `git push && git push --tags`. CI will take care of
releasing on taggedcommits.
releasing.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc