@contrast/fn-inspect
Advanced tools
Comparing version 4.0.0 to 4.1.0
{ | ||
"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. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 6 instances in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
833871
22
33
7
Updatednode-gyp-build@^4.8.1