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

@neon-rs/load

Package Overview
Dependencies
Maintainers
1
Versions
197
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@neon-rs/load - npm Package Compare versions

Comparing version 0.0.22 to 0.0.23

9

dist/index.js

@@ -98,5 +98,8 @@ "use strict";

}
function debug(dirname) {
const m = path.join(dirname, "index.node");
return fs.existsSync(m) ? require(m) : null;
function debug(...components) {
if (components.length === 0 || !components[components.length - 1].endsWith(".node")) {
components.push("index.node");
}
const pathSpec = path.join(...components);
return fs.existsSync(pathSpec) ? require(pathSpec) : null;
}

@@ -103,0 +106,0 @@ exports.debug = debug;

{
"name": "@neon-rs/load",
"version": "0.0.22",
"version": "0.0.23",
"description": "Utilities for loading Neon modules.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

export declare function currentTarget(): string;
export declare function debug(dirname: string): any;
export declare function debug(...components: string[]): any;
export declare function scope(scope: string): any;
export declare function custom(toRequireSpec: (target: string) => string): any;
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