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

node-gyp-build-optional-packages

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-gyp-build-optional-packages - npm Package Compare versions

Comparing version 5.0.3 to 5.0.4

0

bin.js

@@ -0,0 +0,0 @@ #!/usr/bin/env node

3

index.js
var fs = require('fs')
var path = require('path')
var url = require('url')

@@ -47,3 +48,3 @@ // Workaround to fix webpack's build warnings: 'the request of a dependency is an expression'

try {
var prebuildPackage = path.dirname(require('module').createRequire(path.join(dir, 'package.json')).resolve(platformPackage))
var prebuildPackage = path.dirname(require('module').createRequire(url.pathToFileURL(path.join(dir, 'package.json'))).resolve(platformPackage))
return resolveFile(prebuildPackage)

@@ -50,0 +51,0 @@ } catch(error) {}

{
"name": "node-gyp-build-optional-packages",
"version": "5.0.3",
"version": "5.0.4",
"description": "Build tool and bindings loader for node-gyp that supports prebuilds",

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

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