🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@sentry-internal/node-native-stacktrace

Package Overview
Dependencies
Maintainers
9
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sentry-internal/node-native-stacktrace - npm Package Compare versions

Comparing version
0.2.2
to
0.2.3
+4
-2
package.json
{
"name": "@sentry-internal/node-native-stacktrace",
"version": "0.2.2",
"version": "0.2.3",
"main": "lib/index.js",

@@ -35,3 +35,4 @@ "types": "lib/index.d.ts",

"clean": "node-gyp clean && rm -rf lib && rm -rf build",
"test": "node ./test/prepare.mjs && vitest run --silent=false --disable-console-intercept"
"test": "yarn test:install && node ./test/prepare.mjs && vitest run --silent=false --disable-console-intercept",
"test:install": "cross-env ALWAYS_THROW=true yarn install"
},

@@ -50,2 +51,3 @@ "engines": {

"clang-format": "^1.8.0",
"cross-env": "^7.0.3",
"eslint": "^7.0.0",

@@ -52,0 +54,0 @@ "node-gyp": "^11.2.0",

@@ -1,5 +0,8 @@

import fs from 'fs';
import child_process from 'child_process';
import * as child_process from 'node:child_process';
import * as fs from 'node:fs';
import { createRequire } from 'node:module';
import * as binaries from './binaries.mjs';
const require = createRequire(import.meta.url);
function clean(err) {

@@ -35,7 +38,11 @@ return err.toString().trim();

try {
await import(binaries.target);
require(binaries.target);
console.log('Precompiled binary found, skipping build from source.');
} catch (e) {
console.log('Precompiled binary found but failed loading');
console.log(e);
if (process.env.ALWAYS_THROW) {
throw e;
} else {
console.log(e);
}
try {

@@ -42,0 +49,0 @@ recompileFromSource();

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet