node-gyp-build-optional-packages
Advanced tools
Comparing version 5.0.3 to 5.0.4
@@ -0,0 +0,0 @@ #!/usr/bin/env node |
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", |
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
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
13349
259