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

@esy-nightly/esy

Package Overview
Dependencies
Maintainers
3
Versions
581
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@esy-nightly/esy - npm Package Compare versions

Comparing version 0.7.2-10-gfec49115 to 0.7.2-101-g9d34038f

platform-darwin/_export/esy-532c00bc.tar.gz

2

package.json
{
"name": "@esy-nightly/esy",
"version": "0.7.2-10-gfec49115",
"version": "0.7.2-101-g9d34038f",
"license": "BSD-2-Clause",

@@ -5,0 +5,0 @@ "description": "Package builder for esy.",

@@ -19,8 +19,2 @@ /**

var packageJson = require('./package.json');
var binariesToCopy = Object.keys(packageJson.bin)
.map(function (name) {
return packageJson.bin[name];
})
.concat(['esyInstallRelease.js']);
var foldersToCopy = ['bin', '_export'];

@@ -133,6 +127,19 @@ function copyRecursive(srcDir, dstDir) {

let foldersToCopy, binariesToCopy;
binariesToCopy = Object.keys(packageJson.bin).map(function (name) {
return packageJson.bin[name];
});
if (platformPath === 'linux') {
fs.mkdirSync(path.join(__dirname, 'lib'));
foldersToCopy = ['bin', 'lib'];
} else {
foldersToCopy = ['bin', '_export'];
binariesToCopy = binariesToCopy.concat(['esyInstallRelease.js']);
}
foldersToCopy.forEach((folderPath) => {
var sourcePath = path.join(platformBuildPath, folderPath);
var destPath = path.join(__dirname, folderPath);
copyRecursive(sourcePath, destPath);

@@ -149,2 +156,8 @@ });

});
if (platformPath === 'linux') {
fs.chmodSync(path.join(__dirname, 'lib', 'esy', 'esyBuildPackageCommand'), 0755);
fs.chmodSync(path.join(__dirname, 'lib', 'esy', 'esySolveCudfCommand'), 0755);
fs.chmodSync(path.join(__dirname, 'lib', 'esy', 'esyRewritePrefixCommand'), 0755);
}
};

@@ -171,7 +184,11 @@

console.log('Native compiler toolchain installed successfully.');
require('./esyInstallRelease');
break;
case 'linux':
copyPlatformBinaries(platform);
// Statically linked binaries dont need postinstall scripts
break;
case 'linux':
case 'darwin':
copyPlatformBinaries(platform + (process.arch === 'x64' ? '' : '-arm64'));
require('./esyInstallRelease');
break;

@@ -182,3 +199,1 @@ default:

}
require('./esyInstallRelease');

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

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